diff --git a/wp/wp-content/plugins/gravityformshubspot/change_log.txt b/wp/wp-content/plugins/gravityformshubspot/change_log.txt new file mode 100644 index 00000000..a707f169 --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/change_log.txt @@ -0,0 +1,72 @@ +### 2.1.0 | 2024-03-14 +- Updated the additional contact field settings to use the generic field map instead of the deprecated dynamic field map field type. +- Updated to use the v3 Owners API before v2 is sunset in August 2024. +- Updated the minimum Gravity Forms version to 2.7.1. +- Fixed a JavaScript error on the feed configuration page with Gravity Forms 2.8+. + +### 2.0.0 | 2023-11-01 +- Fixed a bug where feeds can't be created or edited due to an invalid_lifecycle_stage error. + + +### 1.9 | 2023-04-06 +- Added support for async (background) feed processing to improve form submission performance. +- Fixed an issue where auth token refresh requests continue to occur after the app is uninstalled from within the connected HubSpot account. +- Fixed an issue where unnecessary auth token refresh requests can occur during feed processing. +- Fixed an issue where the connect button is displayed on the settings page when API requests are being rate limited. +- Fixed an issue that causes the API to initialize on all front-end pages containing forms and all admin pages. +- Fixed an issue where multiple auth token refresh requests can occur around the same time. +- Fixed an issue where HubSpot forms are recreated when reconnecting to the same HubSpot account. +- Fixed a fatal error that can occur when attempting to reconnect the add-on during an API outage. + + +### 1.8 | 2022-11-3 +- Fixed an issue with lifecycle stages which causes feeds to error when being saved or updated. +- Fixed a typo in the "clear cache" setting description. + + +### 1.7 | 2021-11-10 +- Updated the styling for the disconnect alert messaging. +- Fixed an issue where the disconnect from HubSpot button doesn't show when used with Gravity Forms 2.4. +- Fixed an issue where the lead status and lifecycle stage fields are missing from the feed configuration page. +- Fixed an issue where the add-on is disconnected after HubSpot reduced auth token lifespan from 6 hours to 30 minutes. + + +### 1.6 | 2021-10-12 +- Added a button in the add-on settings page to manually clear the contact custom properties cache. +- Added support for mapping single checkbox, multiple checkboxes, dropdown select, and radio select type HubSpot properties. +- Added security enhancements. +- Fixed an issue where a notice appears on the feed settings edit page. +- Fixed fatal errors that can occur when the Hubspot API returns an error while updating feed settings. +- Fixed an issue where authentication may not complete after attempting a connection with HubSpot. +- Fixed issue where conditional Contact Owner feed settings are not getting saved. + + +### 1.5 | 2020-09-23 +- Added support for Gravity Forms 2.5. +- Fixed PHP warnings and notices which occur when the request to the HubSpot API to get the contact properties fails. + + +### 1.4 | 2020-07-14 +- Added security enhancements. + + +### 1.3 | 2020-05-18 +- Added translations for Hebrew, Hindi, Japanese, and Turkish. +- Added support for feed duplication. +- Fixed a PHP 7.4 notice which can occur when generating the HubSpot form for a feed outside the Form Settings area. +- Fixed an issue with the position in the Form Settings menu when multiple add-ons are installed. + + +### 1.2 | 2019-10-23 +- Updated the text in the add-on settings. +- Updated the submission process to always send the IP address to Hubspot unless saving of the submitter IP is disabled in a form's personal data settings. +- Fixed an issue where references to the add-on would appear as "Gravity Forms HubSpot Add-On Add-On." +- Fixed an issue where HubSpot users without names display as empty labels when assigning contact owner(s) for a feed. + + +### 1.1 | 2019-08-07 +- Added security enhancements. + + +### 1.0 | 2019-07-18 +- All new! diff --git a/wp/wp-content/plugins/gravityformshubspot/class-gf-hubspot.php b/wp/wp-content/plugins/gravityformshubspot/class-gf-hubspot.php new file mode 100644 index 00000000..ec1b4a72 --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/class-gf-hubspot.php @@ -0,0 +1,2424 @@ +test_api_connection(); + + } + + /** + * Displays an appropriate message when feeds can't be configured. + * + * @since 1.9 + * + * @return string + */ + public function configure_addon_message() { + if ( is_null( $this->initialize_api() ) ) { + return parent::configure_addon_message(); + } + + return $this->comms_error_message(); + } + + /** + * Indicates if the feed can be duplicated. + * + * @since 1.0 + * @since 1.3 Enabled feed duplication. + * + * @param int $id Feed ID requesting duplication. + * + * @return bool + */ + public function can_duplicate_feed( $id ) { + + return true; + } + + /** + * Duplicates the feed and triggers creation of a corresponding form in HubSpot. + * + * @since 1.3 + * + * @param array|int $id The ID of the feed to be duplicated or the feed object when duplicating a form. + * @param bool|int $new_form_id False when using feed actions or the ID of the new form when duplicating a form. + * + * @return int + */ + public function duplicate_feed( $id, $new_form_id = false ) { + $new_feed_id = parent::duplicate_feed( $id, $new_form_id ); + + if ( $new_feed_id && $feed = $this->get_feed( $new_feed_id ) ) { + $delimiter = '. FID: '; + $items = explode( $delimiter, $feed['meta']['_hs_form'] ); + $feed['meta']['_hs_form'] = $items[0] . $delimiter . $feed['id']; + $this->recreate_hubspot_form( $feed, false ); + } + + return $new_feed_id; + } + + /** + * Setup columns for feed list table. + * + * @since 1.0 + * + * @return array + */ + public function feed_list_columns() { + + return array( + 'feed_name' => esc_html__( 'Name', 'gravityformshubspot' ), + ); + + } + + /** + * Performs any early initialization tasks. + * + * @since 1.9 + */ + public function pre_init() { + parent::pre_init(); + + if ( $this->is_gravityforms_supported( '2.7.0.2' ) ) { + // Only enabling for GF versions that call `delay_feed()` when adding the feed to the queue. + $this->_async_feed_processing = true; + } + } + + /** + * Plugin starting point. Adds PayPal delayed payment support. + * + * @since 1.0 + */ + public function init() { + + parent::init(); + + $this->add_delayed_payment_support( + array( + 'option_label' => esc_html__( 'Create record in HubSpot only when payment is received.', 'gravityformshubspot' ), + ) + ); + + add_filter( 'gform_settings_header_buttons', array( $this, 'filter_gform_settings_header_buttons' ), 99 ); + + add_action( 'wp_footer', array( $this, 'action_wp_footer' ) ); + + } + + /** + * Add AJAX callbacks. + * + * @since 1.0 + */ + public function init_ajax() { + parent::init_ajax(); + + // Add AJAX callback for de-authorizing with HubSpot. + add_action( 'wp_ajax_gfhubspot_deauthorize', array( $this, 'ajax_deauthorize' ) ); + add_action( 'wp_ajax_gf_hubspot_clear_cache', array( $this, 'clear_custom_contact_properties_cache' ) ); + } + + /** + * Enqueue admin scripts. + * + * @since 1.0 + * + * @return array + */ + public function scripts() { + + $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG || isset( $_GET['gform_debug'] ) ? '' : '.min'; + $form_id = absint( rgget( 'id' ) ); + $form = GFAPI::get_form( $form_id ); + + $routing_fields = ! empty( $form ) ? GFCommon::get_field_filter_settings( $form ) : array(); + $hubspot_owners = $this->get_hubspot_owners(); + + $scripts = array( + array( + 'handle' => 'gform_hubspot_pluginsettings', + 'deps' => array( 'jquery' ), + 'src' => $this->get_base_url() . "/js/plugin_settings{$min}.js", + 'version' => $this->_version, + 'enqueue' => array( + array( + 'admin_page' => array( 'plugin_settings' ), + 'tab' => $this->_slug, + ), + ), + 'strings' => array( + 'disconnect' => array( + 'site' => wp_strip_all_tags( __( 'Are you sure you want to disconnect from HubSpot for this website?', 'gravityformshubspot' ) ), + 'account' => wp_strip_all_tags( __( 'Are you sure you want to disconnect all Gravity Forms sites connected to this HubSpot account?', 'gravityformshubspot' ) ), + ), + 'settings_url' => admin_url( 'admin.php?page=gf_settings&subview=' . $this->get_slug() ), + 'deauth_nonce' => wp_create_nonce( 'gf_hubspot_deauth' ), + 'clear_cache_nonce' => wp_create_nonce( 'gf_hubspot_clear_cache' ), + ), + ), + array( + 'handle' => 'gform_hubspot_owner_settings', + 'deps' => array( 'jquery' ), + 'src' => $this->get_base_url() . "/js/contact_owner_setting{$min}.js", + 'version' => $this->_version, + 'enqueue' => array( + array( 'query' => "page=gf_edit_forms&view=settings&subview={$this->_slug}&fid=_notempty_" ), + array( 'query' => "page=gf_edit_forms&view=settings&subview={$this->_slug}&fid=0" ), + ), + 'strings' => array( + 'legacy_ui' => version_compare( GFForms::$version, '2.5-dev-1', '<' ) ? true : false, + 'fields' => $routing_fields, + 'owners' => $hubspot_owners, + 'assign_to' => wp_strip_all_tags( __( 'Assign To', 'gravityfromshubspot' ) ), + 'condition' => wp_strip_all_tags( __( 'Condition', 'gravityfromshubspot' ) ), + ), + ), + ); + + return array_merge( parent::scripts(), $scripts ); + + } + + /** + * Register needed styles. + * + * @since 1.0 + * + * @return array $styles + */ + public function styles() { + + $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG || isset( $_GET['gform_debug'] ) ? '' : '.min'; + + $styles = array( + array( + 'handle' => 'gform_hubspot_pluginsettings', + 'src' => $this->get_base_url() . "/css/plugin_settings{$min}.css", + 'version' => $this->_version, + 'enqueue' => array( + array( + 'admin_page' => array( 'plugin_settings' ), + 'tab' => $this->_slug, + ), + ), + ), + array( + 'handle' => 'gform_hubspot_formsettings', + 'src' => $this->get_base_url() . "/css/form_settings{$min}.css", + 'version' => $this->_version, + 'enqueue' => array( + array( + 'admin_page' => array( 'form_settings' ), + 'tab' => $this->_slug, + ), + ), + ), + ); + + return array_merge( parent::styles(), $styles ); + + } + + /** + * Return the plugin's icon for the plugin/form settings menu. + * + * @since 1.3 + * + * @return string + */ + public function get_menu_icon() { + + return file_get_contents( $this->get_base_path() . '/images/menu-icon.svg' ); + + } + + /** + * Updates the auth token before initializing the settings. + * + * @since 1.9 + */ + public function plugin_settings_init() { + + $this->maybe_update_auth_tokens(); + + parent::plugin_settings_init(); + + } + + /** + * Get the authorization payload data. + * + * Returns the auth POST request if it's present, otherwise attempts to return a recent transient cache. + * + * @since 1.6 + * + * @return array + */ + private function get_oauth_payload() { + $payload = array_filter( + array( + 'auth_payload' => rgpost( 'auth_payload' ), + 'auth_error' => rgpost( 'auth_error' ), + 'state' => rgpost( 'state' ), + ) + ); + + if ( count( $payload ) === 2 || isset( $payload['auth_error'] ) ) { + return $payload; + } + + $payload = get_transient( "gravityapi_response_{$this->_slug}" ); + + if ( rgar( $payload, 'state' ) !== get_transient( "gravityapi_request_{$this->_slug}" ) ) { + return array(); + } + + delete_transient( "gravityapi_response_{$this->_slug}" ); + + return is_array( $payload ) ? $payload : array(); + } + + /** + * Store auth tokens when we get auth payload from HubSpot. + * + * @since 1.0 + */ + public function maybe_update_auth_tokens() { + $payload = $this->get_oauth_payload(); + + if ( ! $payload ) { + return; + } + + $auth_payload = json_decode( base64_decode( rgar( $payload, 'auth_payload' ) ), true ); + + // Verify state. + if ( rgpost( 'state' ) && ! wp_verify_nonce( rgar( $payload, 'state' ), $this->get_authentication_state_action() ) ) { + GFCommon::add_error_message( esc_html__( 'Unable to connect your HubSpot account due to mismatched state.', 'gravityformshubspot' ) ); + return; + } + + // Get the authentication token. + $auth_token = $this->get_plugin_setting( 'auth_token' ); + $settings = array(); + + if ( empty( $auth_token ) || $auth_token['access_token'] !== $auth_payload['access_token'] ) { + // Add token info to plugin settings. + $settings['auth_token'] = array( + 'access_token' => $auth_payload['access_token'], + 'refresh_token' => $auth_payload['refresh_token'], + 'date_created' => time(), + 'expires_in' => $auth_payload['expires_in'], + ); + + // Save plugin settings. + $this->update_plugin_settings( $settings ); + + GFCommon::add_message( esc_html__( 'HubSpot settings have been updated.', 'gravityformshubspot' ) ); + + // Force the API to re-init using the new token. + $this->api = null; + + // Maybe recreate HubSpot Forms after having updated auth token. + $this->maybe_recreate_hubspot_forms(); + } + + // If error is provided, display message. + if ( rgpost( 'auth_error' ) || isset( $payload['auth_error'] ) ) { + // Add error message. + GFCommon::add_error_message( esc_html__( 'Unable to connect your HubSpot account.', 'gravityformshubspot' ) ); + } + } + + /** + * Recreate HubSpot forms for any existing HubSpot feed. It will go through all the feeds and + * recreates the associated HubSpot Form for each. + * + * @since 1.0 + * @since 1.3 Updated to use recreate_hubspot_form(). + */ + public function maybe_recreate_hubspot_forms() { + $feeds = $this->get_feeds_by_slug( $this->_slug ); + if ( empty( $feeds ) || ! $this->initialize_api() ) { + return; + } + + $this->log_debug( __METHOD__ . '(): Starting.' ); + + foreach ( $feeds as $feed ) { + if ( $this->hubspot_form_exists( rgars( $feed, 'meta/_hs_form_guid' ) ) ) { + $this->log_debug( __METHOD__ . sprintf( '(): Skipping feed (#%d); HubSpot form still exists. Name: %s; GUID: %s.', $feed['id'], $feed['meta']['_hs_form'], $feed['meta']['_hs_form_guid'] ) ); + + continue; + } + + $this->recreate_hubspot_form( $feed ); + } + + $this->log_debug( __METHOD__ . '(): Completed.' ); + } + + /** + * Determines if a form exists in the connected HubSpot account with the given GUID. + * + * @since 1.9 + * + * @param string $guid The HubSpot form GUID. + * + * @return bool + */ + public function hubspot_form_exists( $guid ) { + if ( empty( $guid ) ) { + return false; + } + + static $guids; + + if ( ! is_array( $guids ) ) { + $forms = $this->api->get_forms(); + $guids = is_wp_error( $forms ) || empty( $forms ) ? array() : wp_list_pluck( $forms, 'guid' ); + } + + if ( empty( $guids ) ) { + return false; + } + + return in_array( $guid, $guids ); + } + + /** + * Recreates the HubSpot form for the given feed. + * + * @since 1.3 + * + * @param array $feed The feed the HubSpot form is to be created for. + * @param bool $reset_owner Indicates if the contact owner should be set to none. + */ + public function recreate_hubspot_form( $feed, $reset_owner = true ) { + $result = $this->create_hubspot_form( $feed['meta'], $feed['form_id'] ); + if ( ! $result ) { + // If form could not be created, try again with a unique name. + $feed['meta']['_hs_form'] .= '.' . uniqid(); + + $result = $this->create_hubspot_form( $feed['meta'], $feed['form_id'] ); + } + + if ( $result ) { + $feed['meta']['_hs_form'] = $this->get_hubspot_formname_without_warning( $result['name'] ); + $feed['meta']['_hs_form_guid'] = $result['guid']; + $feed['meta']['_hs_portal_id'] = $result['portal_id']; + $this->log_debug( __METHOD__ . sprintf( '(): HubSpot form created for feed (#%d). Name: %s; GUID: %s.', $feed['id'], $feed['meta']['_hs_form'], $feed['meta']['_hs_form_guid'] ) ); + + if ( $reset_owner ) { + $feed['meta']['contact_owner'] = 'none'; + } + + $this->update_feed_meta( $feed['id'], $feed['meta'] ); + } + } + + /** + * Setup plugin settings fields. + * + * @since 1.0 + * + * @return array + */ + public function plugin_settings_fields() { + // Prepare plugin description. + $description = '

'; + $description .= esc_html__( 'HubSpot is an all-in-one CRM, Sales, Marketing, and Customer Service platform.', 'gravityformshubspot' ); + $description .= '

'; + $description .= '

'; + $description .= esc_html__( 'The Gravity Forms HubSpot Add-On connects the power of the world’s leading growth platform - HubSpot - with Gravity Forms so your business can grow better.', 'gravityformshubspot' ); + $description .= '

'; + $description .= '

'; + $description .= sprintf( + /* translators: 1: Open link tag 2: Close link tag */ + esc_html__( 'If you don\'t have a HubSpot account, you can %1$ssign up for your free HubSpot account here%2$s.', 'gravityformshubspot' ), + '', '' + ); + $description .= '

'; + + $settings = array( + array( + 'title' => '', + 'description' => $description, + 'fields' => array( + array( + 'name' => 'auth_token', + 'type' => 'auth_token_button', + 'feedback_callback' => array( $this, 'initialize_api' ), + ), + ), + ), + ); + + if ( $this->initialize_api() ) { + $settings[] = array( + 'title' => esc_html__( 'Clear Custom Contact Properties Cache', 'gravityformshubspot' ), + 'fields' => array( + array( + 'name' => 'clear_cache', + 'label' => '', + 'type' => 'clear_cache', + ), + ), + ); + } + + return $settings; + + } + + /** + * Hide submit button on plugin settings page. + * + * @since 1.3 + * + * @param string $html + * + * @return string + */ + public function filter_gform_settings_header_buttons( $html = '' ) { + + // If this is not the plugin settings page, return. + if ( ! $this->is_plugin_settings( $this->get_slug() ) ) { + return $html; + } + + // Hide button. + $html = str_replace( 'initialize_api() ) { + return false; + } + + $this->log_debug( __METHOD__ . '(): Validating API credentials.' ); + $contacts = $this->api->get_contacts(); + + if ( is_wp_error( $contacts ) ) { + // Display the connect button for an auth error or the comms message for rate limit & timeout errors. + $this->api = rgar( $contacts->get_error_data(), 'status' ) === 401 ? null : false; + } + + return (bool) $this->api; + } + + /** + * Returns the message to display when API requests are being rate limited or timing out. + * + * @since 1.9 + * + * @return string + */ + public function comms_error_message() { + if ( method_exists( 'GFCommon', 'get_support_url' ) ) { + $support_url = GFCommon::get_support_url(); + } else { + $support_url = 'https://www.gravityforms.com/open-support-ticket/'; + } + + /* translators: 1: Open link tag 2: Close link tag */ + return sprintf( esc_html__( 'There is a problem communicating with HubSpot right now, please check back later. If this issue persists for more than a day, please %1$sopen a support ticket%2$s.', 'gravityformshubspot' ), "", '' ); + } + + /** + * Create Generate Auth Token settings field. + * + * @since 1.0 + * + * @param array $field Field properties. + * @param bool $echo Display field contents. Defaults to true. + * + * @return string + */ + public function settings_auth_token_button( $field, $echo = true ) { + $html = ''; + + $this->test_api_connection(); + + if ( $this->api === null || rgget( 'gf_display_connect_button' ) ) { + // If SSL is available, display custom app settings. + if ( is_ssl() ) { + $license_key = GFCommon::get_key(); + $settings_url = urlencode( admin_url( 'admin.php?page=gf_settings&subview=' . $this->_slug ) ); + $nonce = wp_create_nonce( $this->get_authentication_state_action() ); + $auth_url = add_query_arg( + array( + 'redirect_to' => $settings_url, + 'license' => $license_key, + 'state' => $nonce, + ), + $this->get_gravity_api_url( '/auth/hubspot' ) + ); + + if ( get_transient( "gravityapi_request_{$this->_slug}" ) ) { + delete_transient( "gravityapi_request_{$this->_slug}" ); + } + + set_transient( "gravityapi_request_{$this->_slug}", $nonce, 10 * MINUTE_IN_SECONDS ); + + $html = sprintf( + '%s', + esc_html__( 'Click here to connect your HubSpot account', 'gravityformshubspot' ), + $auth_url + ); + } else { + $html = '
'; + $html .= '

' . esc_html__( 'SSL Certificate Required', 'gravityformshubspot' ) . '

'; + /* translators: 1: Open link tag 2: Close link tag */ + $html .= sprintf( esc_html__( 'Make sure you have an SSL certificate installed and enabled, then %1$sclick here to continue%2$s.', 'gravityformshubspot' ), '', '' ); + $html .= '
'; + } + } elseif ( $this->api === false ) { + $html = '
+
+ +
+

' . $this->comms_error_message() . '

+
+
+
'; + } else { + $html = '

' . esc_html__( 'Signed into HubSpot.', 'gravityformshubspot' ); + $html .= '

'; + $html .= sprintf( + ' %1$s', + esc_html__( 'Disconnect your HubSpot account', 'gravityformshubspot' ) + ); + + $html .= '
'; + $html .= '

'; + $html .= '

'; + $html .= '

' . sprintf( ' %1$s', esc_html__( 'Disconnect your HubSpot account', 'gravityformshubspot' ) ) . '

'; + $html .= '
'; + } + + if ( $echo ) { + echo $html; + } + + return $html; + + } + + /** + * Generates clear custom fields cache button field markup. + * + * @param array $field Field properties. + * @param bool $echo Display field contents. Defaults to true. + * + * @since 1.6 + * + * @return string + */ + public function settings_clear_cache( $field, $echo = true ) { + + $html =' + + '; + + $html .= '

' . esc_html__( 'Due to HubSpot\'s daily API usage limits, Gravity Forms stores HubSpot custom contact properties data for one hour. If you added new custom properties or made a change to them, you might not see it reflected immediately due to this data caching. To manually clear the custom contact properties cache, click the button below.', 'gravityformshubspot' ) . '

'; + + $html .= '

' . esc_html__( 'Clear Custom Fields Cache', 'gravityformshubspot' ) . '

'; + + $settings = $this->get_plugin_settings(); + $last_cache_clearance = rgar( $settings, 'last_cache_clearance' ); + + $readable_time = $last_cache_clearance ? date( "Y-m-d H:i:s", $last_cache_clearance ) : esc_html__( 'never cleared manually before', 'gravityformshubspot' ); + $html .= '

' . esc_html__( 'Last time the cache was cleared manually: ', 'gravityformshubspot' ) . '' . $readable_time . '

'; + + if ( $echo ) { + echo html_entity_decode( $html ); + } + + return $html; + } + + /** + * Handles the ajax request to clear the custom properties cache. + * + * @since 1.6 + */ + public function clear_custom_contact_properties_cache() { + + if ( ! check_ajax_referer( 'gf_hubspot_clear_cache', 'nonce' ) ) { + wp_send_json_error(); + } + + if ( ! GFCache::delete( self::CUSTOM_PROPERTIES_CACHE_KEY ) ) { + $this->log_debug( __METHOD__ . '() : failed to clear cache' ); + } + + $this->log_debug( __METHOD__ . '() : cache cleared successfully' ); + + $settings = $this->get_plugin_settings(); + $settings['last_cache_clearance'] = time(); + + $this->update_plugin_settings( $settings ); + + wp_send_json_success( + array( + 'last_clearance' => date( 'Y-m-d H:i:s', $settings['last_cache_clearance'] ), + ) + ); + } + + /** + * Get Gravity API URL. + * + * @since 1.0 + * + * @param string $path Path. + * + * @return string + */ + public function get_gravity_api_url( $path = '' ) { + return ( defined( 'GRAVITY_API_URL' ) ? GRAVITY_API_URL : 'https://gravityapi.com/wp-json/gravityapi/v1' ) . $path; + } + + /** + * Initializes the HubSpot API if credentials are valid. + * + * @since 1.0 + * @since 1.9 Added the optional $refresh_token param. + * + * @param bool $refresh_token Indicates if the auth token should be refreshed. + * + * @return bool|null API initialization state. Returns null if no authentication token is provided. + */ + public function initialize_api( $refresh_token = true ) { + + // If API initialization has already been attempted return result. + if ( ! is_null( $this->api ) ) { + return is_object( $this->api ); + } + + // Initialize HubSpot API library. + if ( ! class_exists( 'GF_HubSpot_API' ) ) { + require_once 'includes/class-gf-hubspot-api.php'; + } + + // Get the authentication token. + $auth_token = $this->get_plugin_setting( 'auth_token' ); + + // If the authentication token is not set, return null. + if ( rgblank( $auth_token ) ) { + return null; + } + + // Initialize a new HubSpot API instance. + $this->api = new GF_HubSpot_API( $auth_token ); + + if ( ! $refresh_token ) { + return true; + } + + // From 2021-11-08 HubSpot reduced the token lifespan from 6 hours to 30 minutes. + if ( time() > ( $auth_token['date_created'] + rgar( $auth_token, 'expires_in', 1800 ) ) ) { + // Log that authentication test failed. + $this->log_debug( __METHOD__ . '(): API tokens expired, start refreshing.' ); + + $lock_cache_key = $this->get_slug() . '_refresh_lock'; + + $locked = GFCache::get( $lock_cache_key, $found ); + if ( $found && $locked ) { + $this->api = false; + $this->log_debug( __METHOD__ . '(): Aborting; refresh already in progress.' ); + + return false; + } + + GFCache::set( $lock_cache_key, true, true, MINUTE_IN_SECONDS ); + + // refresh token. + $auth_token = $this->api->refresh_token(); + if ( ! is_wp_error( $auth_token ) ) { + $settings['auth_token'] = array( + 'access_token' => $auth_token['access_token'], + 'refresh_token' => $auth_token['refresh_token'], + 'date_created' => time(), + 'expires_in' => $auth_token['expires_in'], + ); + + // Save plugin settings. + $this->update_plugin_settings( $settings ); + $this->log_debug( __METHOD__ . '(): API access token has been refreshed.' ); + GFCache::delete( $lock_cache_key ); + + } else { + $message = $auth_token->get_error_message(); + $this->api = false; + $this->log_debug( __METHOD__ . '(): API access token failed to be refreshed; ' . $message ); + GFCache::delete( $lock_cache_key ); + + if ( $message === 'BAD_REFRESH_TOKEN' ) { + delete_option( 'gravityformsaddon_' . $this->_slug . '_settings' ); + $this->log_debug( __METHOD__ . '(): This website has been disconnected from HubSpot.' ); + $this->api = null; + } + + return $this->api; + } + } + + return true; + + } + + /** + * Revoke token and remove them from Settings. + * + * Note we cannot revoke refresh token ($this->api->revoke_token()) because the refresh token is shared across + * all sites authenticated under the same accounts. + * + * @since 1.0 + */ + public function ajax_deauthorize() { + check_ajax_referer( 'gf_hubspot_deauth', 'nonce' ); + $scope = sanitize_text_field( $_POST['scope'] ); + + // If user is not authorized, exit. + if ( ! GFCommon::current_user_can_any( $this->_capabilities_settings_page ) ) { + wp_send_json_error( array( 'message' => esc_html__( 'Access denied.', 'gravityformshubspot' ) ) ); + } + + // If API instance is not initialized, return error. + if ( ! $this->initialize_api() ) { + $this->log_error( __METHOD__ . '(): Unable to de-authorize because API is not initialized.' ); + + wp_send_json_error(); + } + + // Delete all HubSpot forms associated with existing HubSpot feeds. + $this->delete_hubspot_forms(); + + if ( $scope === 'account' ) { + $result = $this->api->revoke_token(); + + if ( is_wp_error( $result ) ) { + $this->log_error( __METHOD__ . '(): Unable to revoke token; ' . $result->get_error_message() ); + + wp_send_json_error( array( 'message' => $result->get_error_message() ) ); + } + + $this->log_error( __METHOD__ . '(): All Gravity Forms sites connected to this HubSpot account have been disconnected.' ); + } + + // Remove access token from settings. + delete_option( 'gravityformsaddon_' . $this->_slug . '_settings' ); + + // Log that we revoked the access token. + $this->log_debug( __METHOD__ . '(): This website has been disconnected from HubSpot.' ); + + // Return success response. + wp_send_json_success(); + } + + /** + * Deletes all HubSpot forms associated with feeds. This function is called during the process of de-authorizing a HubSpot account + * and serves as a clean up routine so that Gravity Forms created forms aren't lingering around on a disconnected HubSpot account. + * + * @since 1.0 + */ + public function delete_hubspot_forms() { + + //Getting all HubSpot feeds across all forms + $feeds = $this->get_feeds_by_slug( $this->_slug ); + + //Deleting all associated HubSpot forms + foreach ( $feeds as $feed ) { + $this->delete_hubspot_form( $feed ); + } + } + + + /** + * Deletes the HubSpot form associated with the specified feed + * @since 1.0 + * + * @param array $feed Feed object that is associated with HubSpot Form + */ + public function delete_hubspot_form( $feed ) { + + if ( $this->initialize_api() ) { + + $guid = $feed['meta']['_hs_form_guid']; + $this->api->delete_form( $guid ); + } + } + + /** + * Setup fields for feed settings. + * + * @since 1.0 + * + * @return array + */ + public function feed_settings_fields() { + + if ( ! $this->initialize_api() ) { + return array(); + } + + $form = $this->get_current_form(); + + // Prepare base feed settings section. + $basic_section = array( + 'title' => '', + 'fields' => array( + array( + 'name' => 'feed_name', + 'label' => esc_html__( 'Name', 'gravityformshubspot' ), + 'type' => 'text', + 'class' => 'medium', + 'required' => true, + 'default_value' => $this->get_default_feed_name(), + 'tooltip' => '
' . esc_html__( 'Name', 'gravityformshubspot' ) . '
' . esc_html__( 'Enter a feed name to uniquely identify this feed.', 'gravityformshubspot' ), + ), + array( + 'name' => 'feed_type', + 'label' => esc_html__( 'Feed Type', 'gravityformshubspot' ), + 'type' => 'select', + 'choices' => array( + array( + 'label' => __( 'Create Contact', 'gravityformshubspot' ), + 'value' => 'create_contact', + ), + ), + 'default_value' => 'create_contact', + 'hidden' => true, + ), + array( + 'name' => '_hs_form', + 'label' => esc_html__( 'HubSpot Form Name', 'gravityformshubspot' ), + 'type' => 'hubspotform', + 'class' => 'medium', + 'required' => true, + 'tooltip' => sprintf( + '
%s
%s', + esc_html__( 'HubSpot Form Name', 'gravityformshubspot' ), + esc_html__( 'Enter the name for the form that will be automatically created in your HubSpot account to work in conjunction with this feed. This HubSpot form will be configured to match your mapped fields below and is required. Once created, please don\'t remove or edit it.', 'gravityformshubspot' ) + ), + 'default_value' => 'Gravity Forms - ' . $form['title'], + 'validation_callback' => array( $this, 'validate_hubspot_form' ), + ), + ), + ); + + $contact_properties = $this->get_hubspot_contact_properties(); + + if ( ! empty( $contact_properties['selection'] ) ) { + foreach ( $contact_properties['selection'] as $property ) { + $basic_section['fields'][] = array( + 'name' => $property['name'], + 'label' => $property['label'], + 'type' => 'select', + 'default_value' => rgar( $property, 'default_value' ), + 'tooltip' => rgar( $property, 'tooltip' ), + 'choices' => $property['choices'], + ); + } + } + + $basic_section['fields'][] = array( + 'name' => 'contact_owner', + 'label' => esc_html__( 'Contact Owner', 'gravityformshubspot' ), + 'type' => 'radio', + 'horizontal' => true, + 'default_value' => 'none', + 'choices' => array( + array( + 'label' => __( 'None  ', 'gravityformshubspot' ), + 'value' => 'none', + ), + array( + 'label' => __( 'Select Owner  ', 'gravityformshubspot' ), + 'value' => 'select', + ), + array( + 'label' => __( 'Assign Conditionally', 'gravityformshubspot' ), + 'value' => 'conditional', + ), + ), + 'tooltip' => '
' . esc_html__( 'Contact Owner', 'gravityforms' ) . '
' . esc_html__( 'Select a HubSpot user that will be assigned as the owner of the newly created Contact.', 'gravityformshubspot' ), + ); + + $contact_owner_section = array( + 'id' => 'contact_owner_section', + 'title' => esc_html__( 'Contact Owner', 'gravityformshubspot' ), + 'class' => 'contact_owner_section', + 'dependency' => version_compare( GFForms::$version, '2.5-dev-1', '<' ) ? null : array( + 'live' => true, + 'fields' => array( + array( + 'field' => 'contact_owner', + 'values' => array( 'select', 'conditional' ), + ), + ), + ), + 'fields' => array( + array( + 'name' => 'contact_owner_select', + 'label' => esc_html__( 'Select Owner', 'gravityformshubspot' ), + 'type' => 'select', + 'choices' => $this->get_hubspot_owners(), + 'dependency' => version_compare( GFForms::$version, '2.5-dev-1', '<' ) ? null : array( + 'live' => true, + 'fields' => array( + array( + 'field' => 'contact_owner', + 'values' => array( 'select' ), + ), + ), + ), + ), + array( + 'name' => 'contact_owner_conditional', + 'label' => '', + 'class' => 'large', + 'type' => 'conditions', + 'dependency' => version_compare( GFForms::$version, '2.5-dev-1', '<' ) ? null : array( + 'live' => true, + 'fields' => array( + array( + 'field' => 'contact_owner', + 'values' => array( 'conditional' ), + ), + ), + ), + ), + ), + ); + + $field_map_section = array( + 'title' => 'Map Contact Fields', + 'fields' => rgar( $contact_properties, 'basic', array() ), + ); + + $additional_fields_section = array( + 'title' => esc_html__( 'Add Additional Contact Fields', 'gravityformshubspot' ), + 'fields' => array( + array( + 'name' => 'additional_fields', + 'label' => '', + 'type' => 'generic_map', + 'key_field' => array( + 'title' => 'HubSpot', + 'allow_custom' => false, + 'choices' => rgar( $contact_properties, 'grouped', array() ), + ), + 'value_field' => array( + 'title' => 'Gravity Forms', + 'allow_custom' => false, + ), + ), + ), + ); + + $other_fields_section = array( + 'title' => esc_html__( 'Additional Options', 'gravityformshubspot' ), + 'fields' => array( + array( + 'name' => 'conditionalLogic', + 'label' => esc_html__( 'Conditional Logic', 'gravityforms' ), + 'type' => 'feed_condition', + 'tooltip' => '
' . esc_html__( 'Conditional Logic', 'gravityforms' ) . '
' . esc_html__( 'When conditions are enabled, HubSpot contacts will only be created when the conditions are met. When disabled, a HubSpot contact will be created for every form submission.', 'gravityforms' ), + ), + ), + ); + + $settings_fields = array( $basic_section, $contact_owner_section, $field_map_section, $additional_fields_section, $other_fields_section ); + + return $settings_fields; + } + + /*** + * Overrides the parent field to remove the Street Address (Line 2) field from the field map options + * + * @since 1.0 + * + * @param int $form_id Current Form Id + * @param array|string|null $field_type Current field type + * @param array|string|null $exclude_field_types Field types to be excluded from drop down + * + * @return array + */ + public static function get_field_map_choices( $form_id, $field_type = null, $exclude_field_types = null ) { + + $choices = parent::get_field_map_choices( $form_id, $field_type, $exclude_field_types ); + $form = GFAPI::get_form( $form_id ); + $address_fields = GFAPI::get_fields_by_type( $form, array( 'address' ) ); + if ( ! is_array( $address_fields ) ) { + return $choices; + } + + $address_line2_ids = array(); + foreach ( $address_fields as $address_field ) { + $address_line2_ids[] = $address_field->id . '.2'; + } + + $new_choices = array(); + foreach ( $choices as $choice ) { + if ( ! in_array( $choice['value'], $address_line2_ids ) ) { + $new_choices[] = $choice; + } + } + + return $new_choices; + } + + /** + * Displays the currently configured HubSpot Form. + * + * @since 1.0 + * + * @param array $field Field object. + * @param bool $echo True if HTML should be printed on screen. + * + * @return string + */ + public function settings_hubspotform( $field, $echo = true ) { + + $field['type'] = 'text'; + $html = $this->settings_text( $field, false ); + + $guid = $this->get_setting( $field['name'] . '_guid' ); + $html .= ''; + + if ( $echo ) { + echo $html; + } + + return $html; + } + + /** + * Validates that the HubSpot form name is unique and the form can be created or edited. + * + * @since unknown + * @since 1.6 Moved the HubSpot form update/creation to the validate callback. + * + * @param array $field Field array containing the configuration options of this field. + * @param string $field_value Submitted value. + */ + public function validate_hubspot_form( $field, $field_value = '' ) { + + global $_gaddon_posted_settings; + + // Get settings. + $settings = $this->get_current_settings(); + + if ( ! $this->initialize_api() ) { + $this->set_field_error( $field, esc_html__( 'There was an error connecting to Hubspot.', 'gravityformshubspot' ) ); + return; + } + + $forms = $this->api->get_forms(); + + if ( is_wp_error( $forms ) ) { + $this->set_field_error( $field, esc_html__( 'There was an error validating the form name. Please try saving again', 'gravityformshubspot' ) ); + } + + // Validate the form name is unique. + if ( ! $this->is_form_name_unique( $field_value, $forms, $settings ) ) { + $this->set_field_error( $field, esc_html__( 'This form name is already in use in HubSpot. Please enter a unique form name.', 'gravityformshubspot' ) ); + return; + } + + // Validate if the form can be updated or created on HubSpot. + $feed_id = $this->get_current_feed_id(); + $result = $this->is_form_editable( $settings, $feed_id ); + + if ( ! $result ) { + $action = $feed_id ? esc_html__( 'edit', 'gravityformshubspot' ) : esc_html__( 'add', 'gravityformshubspot' ); + /* translators: Action to perform on the form. */ + $this->set_field_error( $field, sprintf( esc_html__( 'Could not %s HubSpot form. Please try again later.', 'gravityformshubspot' ), $action ) ); + + return; + } + + // Update the HubSpot form data. + $_gaddon_posted_settings['_hs_form_guid'] = $result['guid']; + $_gaddon_posted_settings['_hs_portal_id'] = $result['portal_id']; + + } + + /** + * Validates that the HubSpot form name is unique. + * + * @since 1.6 + * + * @param string $field_value Submitted value. + * @param array $forms The array of forms retrieved from Hubspot. + * @param array $settings The array of plugin settings. + * + * @return bool Whether or not the form name is unique. + */ + private function is_form_name_unique( $field_value, $forms, $settings ) { + $form_name = $field_value . $this->get_hubspot_formname_warning(); + $unique = true; + foreach ( $forms as $form ) { + if ( $form['name'] === $form_name && $settings['_hs_form_guid'] !== $form['guid'] ) { + $unique = false; + } + } + return $unique; + } + + /** + * Validates that the HubSpot form is able to be created. + * + * @since 1.6 + * + * @param array $settings The plugin settings. + * @param string $feed_id The feed id. + * + * @return array|bool Returns an array with the newly updated form name and form GUID if updated successfully. Otherwise return false. + */ + private function is_form_editable( $settings, $feed_id ) { + $form_id = rgget( 'id' ); + if ( $feed_id ) { + return $this->update_hubspot_form( rgar( $settings, '_hs_form_guid' ), $settings, $form_id ); + } + + return $this->create_hubspot_form( $settings, $form_id ); + } + + /*** + * Renders the HTML for the Contact Owner conditions setting. + * + * @since 1.0 + * + * @param array|\Rocketgenius\Gravity_Forms\Settings\Fields\Base $field Field object. + * @param bool $echo True if HTML should be printed on screen. + * + * @return string + */ + public function settings_conditions( $field, $echo = true ) { + $html = '
'; + + // Setup hidden field. + $hidden_field = is_object( $field ) ? clone $field : $field; + $hidden_field['name'] = 'conditions'; + $hidden_field['type'] = 'hidden'; + unset( $hidden_field['callback'] ); + + $html .= $this->settings_hidden( $hidden_field, false ); + + if ( $echo ) { + echo $html; + } + + return $html; + } + + /** + * Overrides parent class to create/update HubSpot form when feed is saved. + * + * @since 1.0 + * @since 1.6 Updated to get HubSpot form data from $_gaddon_posted_settings. + * + * @param int $feed_id Feed ID. + * @param int $form_id Form ID. + * @param array $settings Feed settings. + * + * @return array|bool + */ + public function save_feed_settings( $feed_id, $form_id, $settings ) { + global $_gaddon_posted_settings; + + $settings['_hs_form_guid'] = $_gaddon_posted_settings['_hs_form_guid']; + $settings['_hs_portal_id'] = $_gaddon_posted_settings['_hs_portal_id']; + + // Saving feed. + return parent::save_feed_settings( $feed_id, $form_id, $settings ); + } + + /** + * Delete associated HubSpot form and then deletes feed. + * + * @since 1.0 + * + * @param int $id Id of feed to be deleted. + */ + public function delete_feed( $id ) { + + $feed = $this->get_feed( $id ); + $this->delete_hubspot_form( $feed ); + + parent::delete_feed( $id ); + } + + + /** + * Creates a HubSpot form based on the provided feed settings + * + * @since 1.0 + * + * @param array $feed_meta Current feed meta. + * @param int $form_id The ID of the form the feed belongs to. + * + * @return array|bool Returns the auto-generated form data from HubSpot if successful. Otherwise returns false. + */ + public function create_hubspot_form( $feed_meta, $form_id ) { + + $this->initialize_api(); + + $hs_form = $this->generate_hubspot_form_object( $feed_meta, $form_id ); + + $api_result = $this->api->create_form( $hs_form ); + + if ( is_wp_error( $api_result ) ) { + return false; + } + + return array( + 'name' => $api_result['name'], + 'guid' => $api_result['guid'], + 'portal_id' => $api_result['portalId'], + ); + } + + /** + * Updates an existing HubSpot form to match the provided feed $settings, or creates a new one if GUID doesn't match any form in HubSpot. + * + * @since 1.0 + * + * @param string $guid GUID of HubSpot form to be updated. + * @param array $settings Current feed settings. + * @param int $form_id The ID of the form the feed belongs to. + * + * @return array|bool Returns an array with the newly updated form name and form GUID if updated successfully. Otherwise return false. + */ + public function update_hubspot_form( $guid, $settings, $form_id ) { + + // 1- Get HubSpot form. + $existing_form = $this->api->get_form( $guid ); + if ( is_wp_error( $existing_form ) ) { + + $error_data = $existing_form->get_error_data(); + if ( $error_data['status'] == 404 ) { + + // Form doesn't exist. Create a new one. + return $this->create_hubspot_form( $settings, $form_id ); + } else { + // Error when getting existing form. Abort to throw validation error. + return false; + } + } else { + + // Form exists. Update it. + $form = $this->generate_hubspot_form_object( $settings, $form_id ); + $api_result = $this->api->update_form( $guid, $form ); + + if ( is_wp_error( $api_result ) ) { + return false; + } + + return array( + 'name' => $api_result['name'], + 'guid' => $api_result['guid'], + 'portal_id' => $api_result['portalId'], + ); + } + } + + /** + * Based on the fields mapped in the feed settings ( i.e. $settings variable ), creates a HubSpot form object to create or update a HubSpot form. + * + * @since 1.0 + * + * @param array $feed_meta Current feed settings. + * @param int $form_id The ID of the form the feed belongs to. + * + * @return array Returns a HubSpot form object based on specified settings. + */ + public function generate_hubspot_form_object( $feed_meta, $form_id ) { + + $fields = array(); + $properties = $this->get_hubspot_contact_properties(); + $settings_fields = array_merge( + rgar( $properties, 'basic', array() ), + rgar( $properties, 'additional', array() ), + rgar( $properties, 'selection', array() ) + ); + $external_options = array(); + + // Build basic fields. + foreach ( $feed_meta as $setting_name => $setting_value ) { + + $field_name = $this->get_hubspot_contact_property_name( $setting_name ); + if ( empty( $setting_value ) || ! $field_name ) { + continue; + } + + $setting_field = $this->find_setting_field( $setting_name, $settings_fields ); + if ( ! $setting_field ) { + continue; + } + + // Lifecycle stages don't work as fields; add them as external_options instead. + // Lifecycle stage has to be set for both contacts and companies. + if ( $field_name === 'lifecyclestage' ) { + // Set the lifescycle state for contact. + $opt = array( + 'referenceType' => 'PIPELINE_STAGE', + 'objectTypeId' => '0-1', + 'propertyName' => 'lifecyclestage', + 'id' => $setting_value, + ); + + $external_options[] = $opt; + + // Set the lifescycle state for company. + $opt['objectTypeId'] = '0-2'; + $external_options[] = $opt; + continue; + } + + $field_arr = array( + 'name' => $field_name, + 'label' => $setting_field['label'], + 'type' => $setting_field['_hs_type'], + 'fieldType' => $setting_field['_hs_field_type'], + ); + + // Choice-based fields should use the options available in Hubspot + if ( ! empty( $setting_field['choices'] ) ) { + $field_arr['options'] = $setting_field['choices']; + $field_arr['selectedOptions'] = array( $setting_value ); + } + + $fields[] = $field_arr; + } + + + // Adding Contact Owner field. + $fields[] = array( + 'name' => 'hubspot_owner_id', + 'label' => 'Contact Owner', + 'type' => 'enumeration', + 'fieldType' => 'hidden', + ); + + // Build additional fields. + if ( is_array( $feed_meta['additional_fields'] ) ) { + foreach ( $feed_meta['additional_fields'] as $setting ) { + if ( rgar( $setting, 'custom_key' ) !== '' ) { + $setting['key'] = $setting['custom_key']; + } + + $setting_field = $this->find_setting_field( $setting['key'], $settings_fields ); + if ( ! $setting_field ) { + continue; + } + + $field_name = $this->get_hubspot_contact_property_name( $setting_field['name'] ); + if ( ! $field_name ) { + continue; + } + + // Ensures File upload fields aren't named the same as the contact property. + // Gets around strange HubSpot behavior that causes file URL to be wiped out when form field and contact property have the same label. + $field_label = $setting_field['_hs_field_type'] == 'file' ? $setting_field['label'] . ' - ' . uniqid() : $setting_field['label']; + + $fields[] = array( + 'name' => $field_name, + 'label' => $field_label, + 'type' => $setting_field['_hs_type'], + 'fieldType' => $setting_field['_hs_field_type'], + ); + } + } + + $form_name = $feed_meta['_hs_form'] . $this->get_hubspot_formname_warning(); + $hs_form = array( + 'name' => $form_name, + 'formFieldGroups' => array( + array( + 'fields' => $fields, + ), + ), + ); + + // Field has externalOptions (lifecyclestage, probably). Add to form. + if ( ! empty( $external_options ) ) { + $hs_form['selectedExternalOptions'] = $external_options; + } + + // Only available when run from the form settings area. + $form = $this->get_current_form(); + + if ( empty( $form ) ) { + $form = GFAPI::get_form( $form_id ); + } + + /** + * Allows the HubSpot form object to be filtered before saving the feed. + * + * @since 1.0 + * + * @param array $hs_form The HubSpot form object to be filtered. + * @param array $feed_meta The current feed settings object. + * @param array $form The current Gravity Form Object. + */ + return gf_apply_filters( array( 'gform_hubspot_form_object_pre_save_feed', $form_id ), $hs_form, $feed_meta, $form ); + + } + + /** + * Generates the form submission object to be sent to HubSpot when the form is submitted. + * + * @since 1.0 + * + * @param array $feed Current Feed Object. + * @param array $entry Current Entry Object. + * @param array $form Current Form Object. + * + * @return array Returns a submission object in the format accepted by HubSpot's Submit Form endpoint. + */ + public function generate_form_submission_object( $feed, $entry, $form ) { + + $fields = array(); + $properties = $this->get_hubspot_contact_properties(); + + if ( empty( $properties ) ) { + $this->log_debug( __METHOD__ . '(): Aborting; no contact properties.' ); + + return array(); + } + + $settings_fields = array_merge( + rgar( $properties, 'basic', array() ), + rgar( $properties, 'additional', array() ) + ); + + $enum_properties = $this->get_enumeration_properties( $form ); + + // Build basic fields. + foreach ( $feed['meta'] as $key => $field_id ) { + + $property_name = $this->get_hubspot_contact_property_name( $key ); + $is_field_mapped = ! empty( $field_id ) && $property_name; + + if ( ! $is_field_mapped ) { + continue; + } + + $fields[] = array( + 'name' => $property_name, + 'value' => isset( $enum_properties[ $property_name ] ) ? trim( $field_id ) : $this->get_field_value( $form, $entry, $field_id ), + ); + } + + $owner_id = $this->get_contact_owner( $feed, $entry, $form ); + if ( $owner_id ) { + $fields[] = array( + 'name' => 'hubspot_owner_id', + 'value' => $owner_id, + ); + } + + // Build additional fields. + if ( is_array( $feed['meta']['additional_fields'] ) ) { + foreach ( $feed['meta']['additional_fields'] as $setting ) { + if ( rgar( $setting, 'custom_key' ) !== '' ) { + $setting['key'] = $setting['custom_key']; + } + + $setting_field = $this->find_setting_field( $setting['key'], $settings_fields ); + if ( ! $setting_field ) { + continue; + } + + $property_name = $this->get_hubspot_contact_property_name( $setting_field['name'] ); + $field_id = $setting['value']; + $is_field_mapped = ! empty( $field_id ) && $property_name; + if ( ! $is_field_mapped ) { + continue; + } + + $fields[] = array( + 'name' => $property_name, + 'value' => $this->get_prepared_field_value( $field_id, rgar( $setting_field, '_hs_field_type' ), $form, $entry ), + ); + } + } + + $context = array( + 'pageUri' => $this->get_page_uri( rgar( $entry, 'source_url' ) ), + 'pageName' => $form['title'], + ); + + $hutk = $this->get_hutk_cookie_value( rgar( $entry, 'id' ) ); + if ( ! empty( $hutk ) ) { + $context['hutk'] = $hutk; + } + + // Pass entry IP to HubSpot unless personal data settings for a form are set to not save the submitter's IP address. + if ( rgars( $form, 'personalData/preventIP' ) !== true ) { + $context['ipAddress'] = $entry['ip']; + } + + $submission_data = array( + 'fields' => $fields, + 'context' => $context, + ); + + /** + * Allows the HubSpot submission data to be filtered before being sent to HubSpot + * + * @since 1.0 + * + * @param array $submission_data The HubSpot submission data to be filtered. + * @param array $feed The current feed settings object. + * @param array $entry The current Entry Object. + * @param array $form The current Form Object. + */ + return gf_apply_filters( array( 'gform_hubspot_submission_data', $form['id'] ), $submission_data, $feed, $entry, $form ); + + } + + /** + * Returns the value to be used for the pageUri context property. + * + * @since 1.9 + * + * @param string $entry_source_url The value of the entry source_url property. + * + * @return string + */ + public function get_page_uri( $entry_source_url ) { + if ( + ! empty( $entry_source_url ) && ( + ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || + ( defined( 'DOING_CRON' ) && DOING_CRON ) || + ( defined( 'REST_REQUEST' ) && REST_REQUEST ) + ) + ) { + // Using the entry value instead of the Ajax/cron/REST request endpoint. + + return $entry_source_url; + } + + return GFFormsModel::get_current_page_url(); + } + + /** + * Gets the mapped field value in the format required for the specified HubSpot field type. + * + * @since 1.6 + * + * @param string $field_id The ID of the mapped form/entry field. + * @param string $hs_field_type The HubSpot field type. + * @param array $form The form currently being processed. + * @param array $entry The entry currently being processed. + * + * @return mixed + */ + public function get_prepared_field_value( $field_id, $hs_field_type, $form, $entry ) { + switch ( $hs_field_type ) { + case 'booleancheckbox': + return $this->prepare_boolean_field_value( $form, $entry, $field_id ); + + case 'checkbox': + return $this->prepare_checkbox_field_value( $form, $entry, $field_id ); + + case 'radio': + case 'select': + return $this->prepare_radio_select_field_value( $form, $entry, $field_id ); + } + + return $this->get_field_value( $form, $entry, $field_id ); + } + + /** + * Returns the value for a booleancheckbox HubSpot field. + * + * @since 1.6 + * + * @param array $form The form currently being processed. + * @param array $entry The entry currently being processed. + * @param string $field_id The ID of the mapped form/entry field. + * + * @return bool + */ + public function prepare_boolean_field_value( $form, $entry, $field_id ) { + $value = $this->get_field_value( $form, $entry, $field_id ); + $field = GFAPI::get_field( $form, $field_id ); + + if ( $field instanceof GF_Field_Consent && esc_html__( 'Not Checked', 'gravityforms' ) === $value ) { + return false; + } + + return ! ( empty( $value ) || ( is_string( $value ) && strtolower( $value ) === 'false' ) ); + } + + /** + * Returns the value for a checkbox HubSpot field. + * + * @since 1.6 + * + * @param array $form The form currently being processed. + * @param array $entry The entry currently being processed. + * @param string $field_id The ID of the mapped form/entry field. + * + * @return string + */ + public function prepare_checkbox_field_value( $form, $entry, $field_id ) { + $field = GFAPI::get_field( $form, $field_id ); + + if ( $field instanceof GF_Field_Checkbox ) { + $values = array(); + foreach ( $field->inputs as $input ) { + $value = rgar( $entry, (string) $input['id'] ); + if ( ! rgblank( $value ) ) { + if ( $field->enablePrice ) { + $items = explode( '|', $value ); + $value = $items[0]; + } + $values[] = $value; + } + } + + return $this->maybe_override_field_value( implode( ';', $values ), $form, $entry, $field_id ); + } elseif ( $field instanceof GF_Field_MultiSelect ) { + return $this->maybe_override_field_value( implode( ';', $field->to_array( rgar( $entry, $field_id ) ) ), $form, $entry, $field_id ); + } + + return $this->get_field_value( $form, $entry, $field_id ); + } + + /** + * Returns the value for radio and select HubSpot fields. + * + * @since 1.6 + * + * @param array $form The form currently being processed. + * @param array $entry The entry currently being processed. + * @param string $field_id The ID of the mapped form/entry field. + * + * @return string + */ + public function prepare_radio_select_field_value( $form, $entry, $field_id ) { + $field = GFAPI::get_field( $form, $field_id ); + + if ( $field instanceof GF_Field_Radio || $field instanceof GF_Field_Select ) { + $value = rgar( $entry, $field_id ); + if ( ! rgblank( $value ) && $field->enablePrice ) { + $items = explode( '|', $value ); + $value = $items[0]; + } + + return $this->maybe_override_field_value( $value, $form, $entry, $field_id ); + } + + return $this->get_field_value( $form, $entry, $field_id ); + } + + /** + * Returns the value of the selected field. Overrides the parent function to include Address Line 2 with Street Address + * + * @param array $form Current Form Object + * @param array $entry Current Entry Object + * @param string $field_id Current Field ID + * + * @return string The value of the current field specified in $field_id + */ + public function get_field_value( $form, $entry, $field_id ) { + + $field_value = parent::get_field_value( $form, $entry, $field_id ); + $field = GFFormsModel::get_field( $form, $field_id ); + + //Appending Line 2 to Street Address + if ( rgobj( $field, 'type' ) == 'address' && (string) $field_id == (string) $field->id . '.1' ) { + $field_value .= ' ' . parent::get_field_value( $form, $entry, $field['id'] . '.2' ); + } + return $field_value; + } + + /*** + * Searches for a field named or labeled $name in the list of settings fields specified by the $settings_fields array. Returns the field if it finds it, or false if not. + * + * @since 1.0 + * + * @param string $name Name of the field to look for. + * @param array $settings_fields Array of all settings fields. + * + * @return array|bool Returns the field whose name matches the specified $name variable + */ + public function find_setting_field( $name, $settings_fields ) { + + foreach ( $settings_fields as $field ) { + if ( $field['name'] === $name || $field['label'] === $name ) { + return $field; + } + } + return false; + } + + /** + * Gets a list of HubSpot owners + * + * @since 1.0 + * + * @return array|null Return a list of available Contact Owners configured in HubSpot + */ + public function get_hubspot_owners() { + if ( rgget( 'subview' ) !== $this->_slug || rgget( 'fid' ) === '' || ! $this->initialize_api() ) { + return null; + } + + global $_owner_choices; + + if ( ! $_owner_choices ) { + + $owners = $this->api->get_owners(); + + if ( is_wp_error( $owners ) ) { + return array( + array( + 'label' => esc_html__( 'Error retrieving HubSpot owners', 'gravityformshubspot' ), + 'value' => '', + ), + ); + } + + $_owner_choices = array(); + foreach ( $owners as $owner ) { + + if ( empty( $owner['id'] ) ) { + continue; + } + + if ( ! empty( $owner['firstName'] ) && ! empty( $owner['lastName'] ) ) { + $owner_label = "{$owner['firstName']} {$owner['lastName']}"; + } else { + $owner_label = rgar( $owner, 'email', esc_html__( 'No Name', 'gravityformshubspot' ) ); + } + + $_owner_choices[] = array( + 'label' => $owner_label, + 'value' => $owner['id'], + ); + } + + $_owner_choices = wp_list_sort( $_owner_choices, 'label' ); + } + + return $_owner_choices; + } + + /** + * Gets a list of contact properties, split into two arrays. "basic" contains basic contact properties and "additional" contains all others. + * + * @since 1.0 + * + * @return array Returns an associative array with two keys. The "basic" key contains an array with basic contact properties. The "additional" key contains an array with all other contact properties. + */ + public function get_hubspot_contact_properties() { + + $contact_properties = GFCache::get( self::CUSTOM_PROPERTIES_CACHE_KEY ); + + if ( ! empty( $contact_properties ) ) { + return $contact_properties; + } + + if ( ! $this->initialize_api() ) { + $this->log_debug( __METHOD__ . '(): Aborting; API not initialized.' ); + + return array(); + } + + $basic_field_names = array( 'firstname', 'lastname', 'email' ); + + // Only the following supported property types will be supported for mapping. + $supported_property_types = array( 'string', 'number', 'date', 'enumeration' ); + + $enum_properties = $this->get_enumeration_properties(); + + // Property names that are not supported for mapping to be ignored. + $ignore_property_names = array( 'hubspot_owner_id' ); + + $basic_fields = array(); + $additional_fields = array(); + $selection_fields = array(); + + $empty_choice = array( + 'label' => esc_html__( 'Select a Contact Property', 'gravityformshubspot' ), + 'value' => '', + ); + $groups = array( $empty_choice ); + + $labels = array(); + + $property_groups = $this->api->get_contact_properties(); + $is_props_wp_error = is_wp_error( $property_groups ); + + if ( $is_props_wp_error ) { + $this->log_debug( __METHOD__ . '(): Unable to get contact properties; ' . $property_groups->get_error_message() ); + } else { + foreach ( $property_groups as $property_group ) { + $group = array( 'label' => $property_group['displayName'], 'choices' => array() ); + + foreach ( $property_group['properties'] as $property ) { + + $field = array( + 'type' => 'field_select', + 'class' => 'medium', + 'label' => $property['label'], + 'name' => '_hs_customer_' . $property['name'], + 'value' => '_hs_customer_' . $property['name'], + '_hs_type' => $property['type'], + '_hs_field_type' => $property['fieldType'], + 'required' => $property['name'] == 'email', + ); + + $labels[ $property['label'] ][] = $property; + + $supported_in_additional_fields = ! in_array( $property['name'], $ignore_property_names ) && in_array( $property['type'], $supported_property_types ); + + if ( in_array( $property['name'], $basic_field_names, true ) ) { + + $basic_fields[] = $field; + + } elseif ( isset( $enum_properties[ $property['name'] ] ) ) { + $prop = $enum_properties[ $property['name'] ]; + $field['default_value'] = rgar( $prop, 'default_value' ); + $field['tooltip'] = rgar( $prop, 'tooltip' ); + $field['choices'] = $prop['allows_blank'] ? array( + array( + 'value' => '', + 'label' => esc_html__( 'Select an Option', 'gravityformshubspot' ), + ), + array( 'value' => ' ', 'label' => '' ), + ) : array(); + $field['choices'] = array_merge( $field['choices'], $property['options'] ); + + $selection_fields[] = $field; + } elseif ( $supported_in_additional_fields && $property['readOnlyValue'] === false ) { + + $additional_fields[] = $field; + $group['choices'][] = $field; + + } + } + + if ( ! empty( $group['choices'] ) ) { + usort( $group['choices'], array( $this, 'sort_properties' ) ); + $groups[] = $group; + } + } + + ksort( $labels ); + usort( $basic_fields, array( $this, 'sort_properties' ) ); + usort( $additional_fields, array( $this, 'sort_properties' ) ); + } + + $contact_properties = array( + 'basic' => $basic_fields, + 'additional' => $additional_fields, + 'selection' => $selection_fields, + 'grouped' => $groups + ); + + if ( ! $is_props_wp_error ) { + GFCache::set( self::CUSTOM_PROPERTIES_CACHE_KEY , $contact_properties, true, HOUR_IN_SECONDS ); + } + + return $contact_properties; + } + + /** + * Returns an array of enumeration field names to be displayed for mapping + * + * @since 1.0 + * + * @param array $form The current Form Object + * + * @return array Returns an array of enumeration fields to be mapped + */ + public function get_enumeration_properties( $form = null ) { + + if ( ! $form ) { + $form = $this->get_current_form(); + } + + /** + * Allows the list of selection properties settings to be changed dynamically. Useful when drop down or radio button custom fields are added in HubSpot and there is a need specify one + * of the options when creating the contact + */ + return apply_filters( 'gform_hubspot_custom_settings', + array( + 'hs_lead_status' => array( 'allows_blank' => true, 'tooltip' => esc_html__( '
Lead Status
Select the lead status value the newly added contact should be set to.', 'gravityformshubspot' ) ), + 'lifecyclestage' => array( 'allows_blank' => false, 'default_value' => 'lead', 'tooltip' => esc_html__( '
Lifecycle Stage
Select the lifecycle stage value the newly added contact should be set to.', 'gravityformshubspot' ) ), + ), + $form + ); + } + + /** + * Saves the hubspotutk cookie to the entry meta so it is available when the feed is processed in another request. + * + * @since 1.9 + * + * @param array $feed The feed being delayed. + * @param array $entry The entry currently being processed. + * @param array $form The form currently being processed. + */ + public function delay_feed( $feed, $entry, $form ) { + $value = $this->get_hutk_cookie_value(); + if ( empty( $value ) ) { + return; + } + + $entry_id = absint( rgar( $entry, 'id' ) ); + $form_id = absint( rgar( $form, 'id' ) ); + if ( empty( $entry_id ) || empty( $form_id ) ) { + return; + } + + gform_update_meta( $entry_id, self::HUTK_COOKIE_META_KEY, $value, $form_id ); + } + + /** + * Returns the hubspotutk value from $_COOKIE or the entry meta. + * + * @since 1.9 + * + * @param null|int $entry_id Null or the ID of the entry currently being processed. + * + * @return string|false + */ + public function get_hutk_cookie_value( $entry_id = null ) { + $value = rgar( $_COOKIE, 'hubspotutk', false ); + + if ( ! empty( $value ) ) { + return $value; + } + + $entry_id = absint( $entry_id ); + if ( empty( $entry_id ) ) { + return $value; + } + + return gform_get_meta( $entry_id, self::HUTK_COOKIE_META_KEY ); + } + + /** + * Process the HubSpot feed. + * + * @since 1.0 + * + * @param array $feed Feed object. + * @param array $entry Entry object. + * @param array $form Form object. + */ + public function process_feed( $feed, $entry, $form ) { + + // Create HubSpot submission object. + $submission_data = $this->generate_form_submission_object( $feed, $entry, $form ); + if ( empty( $submission_data ) ) { + $this->add_feed_error( esc_html__( 'Feed was not processed because the submission object was empty.', 'gravityformshubspot' ), $feed, $entry, $form ); + + return new WP_Error( 'empty_submission_object', 'The submission object was empty.' ); + } + + // If API instance is not initialized, exit. + if ( ! $this->initialize_api( false ) ) { + + // Log that we cannot process the feed. + $this->add_feed_error( esc_html__( 'Feed was not processed because API was not initialized.', 'gravityformshubspot' ), $feed, $entry, $form ); + + return new WP_Error( 'api_not_initialized', 'API not initialized.' ); + } + + $response = $this->api->submit_form( $feed['meta']['_hs_portal_id'], $feed['meta']['_hs_form_guid'], $submission_data ); + + if ( is_wp_error( $response ) ) { + $this->add_feed_error( sprintf( esc_html__( 'There was an error when creating the contact in HubSpot. %s', 'gravityformshubspot' ), $response->get_error_message() ), $feed, $entry, $form ); + $this->log_error( __METHOD__ . '(): Unable to create the contact; error data: ' . print_r( $response->get_error_data(), true ) ); + } + } + + /** + * Given a settings key, converts it into a Contact Property Name (if applicable). If specified settings key is not a Contact Property, returns false + * + * @since 1.0 + * + * @param string $settings_key Settings key to be transformed into a Contact Property Name. + * + * @return bool|mixed Returns the proper HubSpot Contact Property name based on the specified settings key. If the specified settings key is not a Contact Property, return false. + */ + public function get_hubspot_contact_property_name( $settings_key ) { + if ( strpos( $settings_key, '_hs_customer_' ) === 0 ) { + return str_replace( '_hs_customer_', '', $settings_key ); + } + return false; + } + + /** + * Used for usort() function to sort customer properties. + * + * @since 1.0 + * + * @param array $a Array. + * @param array $b Array. + * + * @return int + */ + public function sort_properties( $a, $b ) { + return strcmp( $a['label'], $b['label'] ); + } + + /** + * Evaluates who the Contact Owner is supposed to be (based on feed settings), and return the owner id. + * + * @since 1.0 + * + * @param array $feed Current Feed Object + * @param array $entry Current Entry Object + * @param array $form Current Form Object + * + * @return false|int Returns the Contact Owner's ID if one is supposed to be assigned to the contact. Otherwise returns false. + */ + public function get_contact_owner( $feed, $entry, $form ) { + + $owner_id = false; + + // Set contact owner. + if ( rgar( $feed['meta'], 'contact_owner' ) === 'select' && rgar( $feed['meta'], 'contact_owner_select' ) !== '' ) { + + $owner_id = rgar( $feed['meta'], 'contact_owner_select' ); + + } elseif ( rgar( $feed['meta'], 'contact_owner' ) === 'conditional' && ! rgar( $feed['meta'], 'conditions' ) !== '' ) { + + $conditions = rgar( $feed['meta'], 'conditions' ); + $entry_meta_keys = array_keys( GFFormsModel::get_entry_meta( $form['id'] ) ); + foreach ( $conditions as $rule ) { + if ( in_array( $rule['fieldId'], $entry_meta_keys ) ) { + + $is_value_match = GFFormsModel::is_value_match( rgar( $entry, $rule['fieldId'] ), $rule['value'], $rule['operator'], null, $rule, $form ); + + } else { + + $source_field = GFFormsModel::get_field( $form, $rule['fieldId'] ); + $field_value = empty( $entry ) ? GFFormsModel::get_field_value( $source_field, array() ) : GFFormsModel::get_lead_field_value( $entry, $source_field ); + $is_value_match = GFFormsModel::is_value_match( $field_value, $rule['value'], $rule['operator'], $source_field, $rule, $form ); + } + + if ( isset( $is_value_match ) && $is_value_match ) { + $owner_id = rgar( $rule, 'owner' ); + + break; + } + } + } + return $owner_id; + } + + /** + * Returns the warning string to be added to the HubSpot form names. + * + * @since 1.0 + * + * @return string + */ + public function get_hubspot_formname_warning() { + return ' ( ' . esc_html__( 'Do not delete or edit', 'gravityformshubspot' ) . ' )'; + } + + /** + * Returns the HubSpot Form name without the warning appended to it. + * + * @since 1.0 + * + * @param string $form_name The form name to be cleaned + * + * @return string + */ + public function get_hubspot_formname_without_warning( $form_name ) { + + return str_replace( $this->get_hubspot_formname_warning(), '', $form_name ); + + } + + /** + * Get action name for authentication state. + * + * @since 1.4 + * + * @return string + */ + public function get_authentication_state_action() { + + return 'gform_hubspot_authentication_state'; + + } + + /** + * Add tracking JS snippet to footer if there are any Hubspot feeds. + * + * @since 1.0 + */ + public function action_wp_footer() { + + $add_tracking = true; + + /** + * Allows the tracking script to be removed. + * + * @since 1.0 + * + * @param true $add_tracking Whether to output the tracking script. + */ + $add_tracking = apply_filters( 'gform_hubspot_output_tracking_script', $add_tracking ); + + if ( ! $add_tracking ) { + return; + } + + $feeds = $this->get_feeds(); + if ( empty( $feeds ) ) { + return; + } + + $portal_id = rgars( $feeds, '0/meta/_hs_portal_id' ); + + if ( $portal_id && strlen( $portal_id ) > 0 ) { + if ( ! is_admin() ) { + ?> + + + + th, #gaddon-setting-row-contact_owner_conditional > th { + display:none !important; +} + +.contact_owner_section { + display:none; +} + +.add-item { + margin-left: 6px; +} +.add-item, .remove-item { + position: relative; + color: #444; + top: 3px; +} + +#feed_condition_conditional_logic_container { + margin-top:10px; +} + +.gform-routings-field__buttons { + position: relative; + vertical-align: middle; + width: 40px; +} + +.gform-routings-field__buttons .repeater-buttons { + align-items: center; + display: flex; + flex: 1 0; + position: absolute; + top: 0; + bottom: 0; + height: 100%; + width: 100%; +} diff --git a/wp/wp-content/plugins/gravityformshubspot/css/form_settings.min.css b/wp/wp-content/plugins/gravityformshubspot/css/form_settings.min.css new file mode 100644 index 00000000..9535339d --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/css/form_settings.min.css @@ -0,0 +1 @@ +.gform-routing-row{vertical-align:top}#assignees,#editable_fields{left:-9999px;position:absolute}.rtl #assignees,.rtl #editable_fields{left:auto;right:-9999px}table.gforms_form_settings th{border-left:0;padding-left:0!important}table.gform-routings thead th{padding:0}table.gform-routings tr.gform-routing-row td{vertical-align:top}table.gform-routings tr.gform-routing-row td .repeater-buttons{white-space:nowrap}.repeater-buttons{display:inline-block}.gform-routing-field,.gform-routing-owners{min-width:150px;width:100%}.gform-routing-operator{width:120px}.gform-routing-value{width:190px}html:not([dir=rtl]) .gform-routings__heading{text-align:left}html[dir=rtl] .gform-routings__heading{text-align:right}#gaddon-setting-row-additional_fields>th,#gaddon-setting-row-contact_owner_conditional>th{display:none!important}.contact_owner_section{display:none}.add-item{margin-left:6px}.add-item,.remove-item{color:#444;position:relative;top:3px}#feed_condition_conditional_logic_container{margin-top:10px}.gform-routings-field__buttons{position:relative;vertical-align:middle;width:40px}.gform-routings-field__buttons .repeater-buttons{align-items:center;bottom:0;display:flex;flex:1 0;height:100%;position:absolute;top:0;width:100%} \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformshubspot/css/plugin_settings.css b/wp/wp-content/plugins/gravityformshubspot/css/plugin_settings.css new file mode 100644 index 00000000..76cf874f --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/css/plugin_settings.css @@ -0,0 +1,31 @@ +#deauth_scope { + display: none; + margin-top: 18px; +} + +.deauth_button { + margin-top: 0.5em !important; +} + +#gform_hubspot_deauth_button { + border: 1px solid #9E0B0F; + background: #9E0B0F; + color: #FFF; + -webkit-box-shadow: inset 0 2px 5px -3px rgba( 173, 12, 17, 0.5 ); + box-shadow: inset 0 2px 5px -3px rgba( 173, 12, 17, 0.5 ); + text-shadow: none; +} + +#tab_gravityformshubspot table.gforms_form_settings > tbody > tr > th { + padding: 0; + width: 0; +} + +#tab_gravityformshubspot table.gforms_form_settings #gform-settings-save, +#tab_gravityformshubspot .gform-settings-save-container { + display: none; +} + +#last_cache_clearance { + font-size: 0.75rem; +} diff --git a/wp/wp-content/plugins/gravityformshubspot/css/plugin_settings.min.css b/wp/wp-content/plugins/gravityformshubspot/css/plugin_settings.min.css new file mode 100644 index 00000000..d0f24999 --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/css/plugin_settings.min.css @@ -0,0 +1 @@ +#deauth_scope{display:none;margin-top:18px}.deauth_button{margin-top:.5em!important}#gform_hubspot_deauth_button{background:#9e0b0f;border:1px solid #9e0b0f;box-shadow:inset 0 2px 5px -3px rgba(173,12,17,.5);color:#fff;text-shadow:none}#tab_gravityformshubspot table.gforms_form_settings>tbody>tr>th{padding:0;width:0}#tab_gravityformshubspot .gform-settings-save-container,#tab_gravityformshubspot table.gforms_form_settings #gform-settings-save{display:none}#last_cache_clearance{font-size:.75rem} \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformshubspot/hubspot.php b/wp/wp-content/plugins/gravityformshubspot/hubspot.php new file mode 100644 index 00000000..545f5744 --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/hubspot.php @@ -0,0 +1,75 @@ + + + diff --git a/wp/wp-content/plugins/gravityformshubspot/includes/class-gf-hubspot-api.php b/wp/wp-content/plugins/gravityformshubspot/includes/class-gf-hubspot-api.php new file mode 100644 index 00000000..bd7cd82d --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/includes/class-gf-hubspot-api.php @@ -0,0 +1,362 @@ +auth_data = $auth_data; + } + + /** + * Make API request. + * + * @since 1.0 + * + * @param string $path Request path. + * @param array $options Request options. + * @param string $method Request method. Defaults to GET. + * @param string $return_key Array key from response to return. Defaults to null (return full response). + * @param int|array $response_code Expected HTTP response code. + * + * @return array|WP_Error + */ + public function make_request( $path = '', $options = array(), $method = 'GET', $return_key = null, $response_code = 200 ) { + + // Log API call succeed. + gf_hspot()->log_debug( __METHOD__ . '(): Making request to: ' . $path ); + + // Get authentication data. + $auth_data = $this->auth_data; + + // Build request URL. + if ( $path === 'token/revoke' ) { + $request_url = 'https://api.hubapi.com/oauth/v1/refresh-tokens/' . $options['token']; + + // Execute request. + $response = wp_remote_request( $request_url, array( 'method' => $method ) ); + } else { + $request_url = strpos( $path, 'https://' ) === 0 ? $path : $this->api_url . $path; + + // Add options if this is a GET request. + if ( 'GET' === $method ) { + $request_url = add_query_arg( $options, $request_url ); + } + + // Prepare request arguments. + $args = array( + 'method' => $method, + 'headers' => array( + 'Accept' => 'application/json', + 'Authorization' => 'Bearer ' . $auth_data['access_token'], + 'Content-Type' => 'application/json', + ), + ); + + // Add request arguments to body. + if ( in_array( $method, array( 'POST', 'PUT' ) ) ) { + $args['body'] = json_encode( $options ); + } + + // Execute API request. + $response = wp_remote_request( $request_url, $args ); + } + + if ( is_wp_error( $response ) ) { + gf_hspot()->log_error( __METHOD__ . '(): HTTP request failed; ' . $response->get_error_message() ); + + return $response; + } + + // If an incorrect response code was returned, return WP_Error. + $retrieved_response_code = wp_remote_retrieve_response_code( $response ); + if ( is_int( $response_code ) ) { + $response_code = array( $response_code ); + } + if ( ! in_array( $retrieved_response_code, $response_code, true ) ) { + $response_code = implode( ', ', $response_code ); + $error_message = "Expected response code: {$response_code}. Returned response code: {$retrieved_response_code}."; + $json_body = gf_hspot()->maybe_decode_json( $response['body'] ); + + $error_data = array( 'status' => $retrieved_response_code ); + if ( ! rgempty( 'message', $json_body ) ) { + $error_message = $json_body['message']; + } + if ( ! rgempty( rgars( $json_body, 'errors' ) ) ) { + $error_data['data'] = rgars( $json_body, 'errors' ); + } + + // 401 Unauthorized - Returned when the authentication provided is invalid. + if ( $retrieved_response_code === 401 ) { + $log = 'API credentials are invalid;'; + } else { + $log = 'API errors returned;'; + } + + gf_hspot()->log_error( __METHOD__ . "(): $log " . $error_message . '; error data: ' . print_r( $error_data, true ) ); + + return new WP_Error( 'hubspot_api_error', $error_message, $error_data ); + } + + // Convert JSON response to array. + $response = gf_hspot()->maybe_decode_json( $response['body'] ); + + // If a return key is defined and array item exists, return it. + if ( ! empty( $return_key ) && rgar( $response, $return_key ) ) { + return rgar( $response, $return_key ); + } + + return $response; + + } + + /** + * Refresh access tokens. + * + * @since 1.0 + * + * @return array|WP_Error + */ + public function refresh_token() { + // Get authentication data. + $auth_data = $this->auth_data; + + // If refresh token is not provided, throw exception. + if ( ! rgar( $auth_data, 'refresh_token' ) ) { + return new WP_Error( 'hubspot_refresh_token_error', esc_html__( 'Refresh token must be provided.', 'gravityformshubspot' ) ); + } + + $args = array( + 'body' => array( + 'refresh_token' => $auth_data['refresh_token'], + 'state' => wp_create_nonce( gf_hspot()->get_authentication_state_action() ), + ), + ); + + $response = wp_remote_post( gf_hspot()->get_gravity_api_url( '/auth/hubspot/refresh' ), $args ); + $response_code = wp_remote_retrieve_response_code( $response ); + $message = wp_remote_retrieve_response_message( $response ); + + if ( $response_code === 200 ) { + $auth_payload = json_decode( wp_remote_retrieve_body( $response ), true ); + $auth_payload = json_decode( $auth_payload['auth_payload'], true ); + + if ( isset( $auth_payload['access_token'] ) && wp_verify_nonce( $auth_payload['state'], gf_hspot()->get_authentication_state_action() ) ) { + $auth_data['access_token'] = $auth_payload['access_token']; + $auth_data['refresh_token'] = $auth_payload['refresh_token']; + $auth_data['expires_in'] = $auth_payload['expires_in']; + + $this->auth_data = $auth_data; + + return $auth_data; + } + + if ( isset( $auth_payload['error'] ) ) { + $message = $auth_payload['error']; + } elseif ( isset( $auth_payload['status'] ) ) { + $message = $auth_payload['status']; + } + + } + + return new WP_Error( 'hubspot_refresh_token_error', $message, array( 'status' => $response_code ) ); + } + + /** + * Revoke authentication token. + * + * @since 1.0 + * + * @return array|WP_Error + */ + public function revoke_token() { + + // Get authentication data. + $auth_data = $this->auth_data; + + // If refresh token is not provided, throw exception. + if ( ! rgar( $auth_data, 'refresh_token' ) ) { + return new WP_Error( 'hubspot_revoke_token_error', esc_html__( 'Refresh token must be provided.', 'gravityformshubspot' ) ); + } + + return $this->make_request( 'token/revoke', array( 'token' => $auth_data['refresh_token'] ), 'DELETE', null, 204 ); + + } + + /** + * Get available users. + * + * @since 1.0 + * + * @return array|WP_Error + */ + public function get_contacts() { + static $contacts; + + if ( ! isset( $contacts ) ) { + $contacts = $this->make_request( 'contacts/v1/lists/all/contacts/all', array(), 'GET', 'users' ); + } + + return $contacts; + } + + /** + * Get contact properties. + * + * @since 1.0 + * + * @return array|WP_Error + */ + public function get_contact_properties() { + + $properties = $this->make_request( 'properties/v1/contacts/groups/?includeProperties=true', array(), 'GET' ); + + return $properties; + } + + /** + * Update contact properties by email. + * + * @since 1.0 + * + * @param string $email Email. + * @param array $data Contact data. + * + * @return array|WP_Error + */ + public function update_contact_by_email( $email, $data ) { + return $this->make_request( "contacts/v1/contact/createOrUpdate/email/{$email}/", $data, 'POST' ); + } + + /** + * Create a new form. + * + * @since 1.0 + * + * @param array $form The form options array. + * + * @return array|WP_Error + */ + public function create_form( $form ) { + return $this->make_request( 'forms/v2/forms', $form, 'POST' ); + } + + /** + * Get form by guid. + * + * @since 1.0 + * + * @param string $guid GUID of the form. + * + * @return array|WP_Error + */ + public function get_form( $guid ) { + return $this->make_request( "forms/v2/forms/{$guid}" ); + } + + /** + * Get all forms. + * + * @since 1.0 + * + * @return array|WP_Error Returns an array of forms + */ + public function get_forms() { + return $this->make_request( 'forms/v2/forms' ); + } + + /** + * Update the form. + * + * @since 1.0 + * + * @param string $guid GUID of the form. + * @param array $form The form options array. + * + * @return array|WP_Error + */ + public function update_form( $guid, $form ) { + + gf_hspot()->log_debug( 'Updating Form. GUID: ' . $guid ); + gf_hspot()->log_debug( 'Payload: ' . print_r( $form, true ) ); + + return $this->make_request( "forms/v2/forms/{$guid}", $form, 'POST' ); + } + + /** + * Delete form. + * + * @since 1.0 + * + * @param string $guid GUID of the form. + * + * @return array|WP_Error + */ + public function delete_form( $guid ) { + return $this->make_request( "forms/v2/forms/{$guid}", array(), 'DELETE', null, 204 ); + } + + /** + * Get contact owners from HubSpot. + * + * @since 1.0 + * @since 2.1 Updated to use the v3 endpoint. + * + * @return array|WP_Error + */ + public function get_owners() { + return $this->make_request( 'crm/v3/owners', array( 'limit' => 500 ), 'GET', 'results' ); + } + + /** + * Submit form data to HubSpot. + * + * @since 1.0 + * + * @param string $portal_id HubSpot portal ID. + * @param string $form_guid HubSpot form GUID. + * @param array $submission Form submission data. + * + * @return array|WP_Error + */ + public function submit_form( $portal_id, $form_guid, $submission ) { + + // Submit HubSpot form. + $url = "https://api.hsforms.com/submissions/v3/integration/submit/{$portal_id}/{$form_guid}"; + + gf_hspot()->log_debug( 'Submitting Form. URL:' . $url ); + gf_hspot()->log_debug( 'Payload: ' . print_r( $submission, true ) ); + + return $this->make_request( $url, $submission, 'POST' ); + } + +} diff --git a/wp/wp-content/plugins/gravityformshubspot/js/contact_owner_setting.js b/wp/wp-content/plugins/gravityformshubspot/js/contact_owner_setting.js new file mode 100644 index 00000000..71769cda --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/js/contact_owner_setting.js @@ -0,0 +1,310 @@ +/* global jQuery, gform_hubspot_owner_settings_strings, gf_vars */ +/* eslint-disable no-var */ + +jQuery(document).ready( function() { + + new GFOwnerSetting(); + +} ); + +var legacyUI = gform_hubspot_owner_settings_strings.legacy_ui; +var prefix = { + input: legacyUI ? '_gaddon_setting_' : '_gform_setting_', + field: legacyUI ? 'gaddon-setting-row-' : 'gform_setting_', +}; + +function GFOwnerSetting() { + var $ = jQuery; + + /** + * Initializes the Contact Owner module in the HubSpot feed settings. + */ + this.init = function() { + this.initOwner(); + new GFConditionsSetting(); + }; + + /** + * Binds event listeners to the contact owner inputs and initializes the state. + */ + this.initOwner = function() { + var t = this; + + $( '#contact_owner0, #contact_owner1, #contact_owner2' ).on( 'change', function() { + t.toggleOwner( true ); + } ); + + this.toggleOwner( false ); + }; + + /** + * Toggles the active owner inputs. + * + * @param {boolean} doSlide + */ + this.toggleOwner = function( doSlide ) { + var ownerRadioIds = [ + '#' + prefix.field + 'contact_owner_select', + '#' + prefix.field + 'contact_owner_conditional', + ]; + var $section = $( '.contact_owner_section' ); + var $selectedOption = $( 'input[name="' + prefix.input + 'contact_owner"]:checked' ); + var selection = $selectedOption.val(); + + $( ownerRadioIds.join( ', ' ) ).hide(); + + // No contact owner selected. Hide and exit. + if ( selection === 'none' ) { + if ( doSlide && legacyUI ) { + $section.slideUp(); + } else { + $section.hide(); + } + return; + } + + // Show the contact owner section and the selected option. + if ( $section.is( ':hidden' ) ) { + if ( doSlide && legacyUI ) { + $section.slideDown(); + } else { + $section.show(); + } + } + + $( '#' + prefix.field + 'contact_owner_' + selection ).show(); + }; + + //Initializes this class + this.init(); +} + +function GFConditionsSetting() { + var $ = jQuery; + + //Instantiating conditions repeater + this.$element = jQuery('#gform_conditions_setting'); + this.fieldId = 'conditions'; + this.fieldName = prefix.input + 'conditions'; + this.options = null; + + this.init = function() { + + var t = this; + + this.options = { + fieldName: this.fieldName, + fieldId: this.fieldId, + fields: gform_hubspot_owner_settings_strings['fields'],// [{'id': '1', 'label':'Name'}, {'id':'2', 'label': 'Email'} ],// gf_routing_setting_strings['fields'], + owners: gform_hubspot_owner_settings_strings['owners'], + imagesURL: gf_vars.baseUrl + "/images", + items: this.getItems(), + operatorStrings: {"is":"is","isnot":"isNot", ">":"greaterThan", "<":"lessThan", "contains":"contains", "starts_with":"startsWith", "ends_with":"endsWith"}, + }; + + var routingsMarkup, headerMarkup; + headerMarkup = '{0}'; + headerMarkup += '{1}'; + headerMarkup += ''; + + headerMarkup = headerMarkup.gformFormat( gform_hubspot_owner_settings_strings.assign_to, gform_hubspot_owner_settings_strings.condition ); + routingsMarkup = '{0}{1}
'.gformFormat(headerMarkup, this.getNewRow()); + + var $routings = $(routingsMarkup); + + $routings.find('.repeater').repeater({ + + limit : 0, + items : this.options.items, + addButtonMarkup : '', + removeButtonMarkup: '', + callbacks : { + save : function (obj, data) { + $('#' + t.options.fieldId).val($.toJSON(data)); + }, + beforeAdd: function (obj, $elem, item) { + if ( item.owner ) { + $elem.find('.gform-routing-owners').val(item.owner); + } + + var $field = $elem.find('.gform-routing-field').first(); + $field.value = item.fieldId; + t.changeField($field); + + var $operator = $elem.find('.gform-routing-operator').first(); + $operator.value = item.operator; + + t.changeOperator($operator); + + var $value = $elem.find('.gform-routing-value'); + $value.val(item.value); + + }, + } + }) + .on('change', '.gform-routing-field', function (e) { + t.changeField(this); + }) + .on('change', '.gform-routing-operator', function () { + t.changeOperator(this); + }) + + this.$element.append($routings); + } + + this.getNewRow = function () { + var r = []; + + r.push( '{0}'.gformFormat( this.getOwners() ) ); + r.push( '{0}'.gformFormat( this.getFields() ) ); + r.push( '{0}'.gformFormat( this.getOperators( this.options.fields[0] ) ) ); + r.push( '{0}'.gformFormat( this.getValues() ) ); + r.push( '{buttons}' ); + + return '{0}'.gformFormat( r.join('') ); + }, + + this.getOwners = function () { + + var i, n, account, + owners = this.options.owners, + str = '"; + return str; + }, + + this.getFields = function () { + var i, j, key, val, label, groupLabel, options, numRows, + select = [], + settings = this.options.fields; + select.push('"); + return select.join(''); + }, + + this.changeOperator = function (operatorSelect) { + var $select = $(operatorSelect), + $buttons = $select.closest('tr').find('.repeater-buttons'); + var index = $buttons.find('.add-item ').data('index'); + var $fieldSelect = $select.closest('tr').find('.gform-routing-field'); + var filter = this.getFilter($fieldSelect.value); + if (filter) { + $select.closest('tr').find(".gform-routing-value").replaceWith(this.getValues(filter, operatorSelect.value, index)); + } + }, + + this.changeField = function (fieldSelect) { + var filter = this.getFilter(fieldSelect.value); + if (filter) { + var $select = $(fieldSelect), + $buttons = $select.closest('tr').find('.repeater-buttons'); + var index = $buttons.find('.add-item ').data('index'); + $select.closest('tr').find(".gform-routing-value").replaceWith(this.getValues(filter, null, index)); + $select.closest('tr').find(".gform-filter-type").val(filter.type).change(); + var $newOperators = $(this.getOperators(filter, index)); + $select.closest('tr').find(".gform-routing-operator").replaceWith($newOperators); + $select.closest('tr').find(".gform-routing-operator").change(); + } + }, + + this.getOperators = function (filter, index) { + if ( typeof index == 'undefined' || index === null ){ + index = '{i}'; + } + var i, operator, + operatorStrings = this.options.operatorStrings, + str = '"; + return str; + }, + + this.getValues = function (filter, selectedOperator, index) { + var i, val, text, str, options = ""; + + if ( typeof index == 'undefined' || index === null ){ + index = '{i}'; + } + + if ( filter && filter.values && selectedOperator != 'contains' ) { + for (i = 0; i < filter.values.length; i++) { + val = filter.values[i].value; + text = filter.values[i].text; + options += ''.gformFormat(val, text); + } + str = ''.gformFormat(index, options); + } else { + str = ''.gformFormat(index); + } + + return str; + }, + + this.getFilter = function (key) { + var fields = this.options.fields; + if (!key) + return; + for (var i = 0; i < fields.length; i++) { + if (key == fields[i].key) + return fields[i]; + if (fields[i].group) { + for (var j = 0; j < fields[i].filters.length; j++) { + if (key == fields[i].filters[j].key) + return fields[i].filters[j]; + } + } + + } + }, + + this.selected = function (selected, current){ + return selected == current ? 'selected="selected"' : ""; + } + + this.getItems = function () { + var json = $('#' + this.fieldId ).val(); + var default_items = [ {owner: '', fieldId: '0', operator: 'is', value: ''} ]; + var items = json ? $.parseJSON(json) : default_items; + return items; + } + + this.init(); + + String.prototype.format = function () { + var args = arguments; + return this.replace(/{(\d+)}/g, function (match, number) { + return typeof args[number] != 'undefined' ? args[number] : match; + }); + }; + +} + diff --git a/wp/wp-content/plugins/gravityformshubspot/js/contact_owner_setting.min.js b/wp/wp-content/plugins/gravityformshubspot/js/contact_owner_setting.min.js new file mode 100644 index 00000000..bdd56622 --- /dev/null +++ b/wp/wp-content/plugins/gravityformshubspot/js/contact_owner_setting.min.js @@ -0,0 +1 @@ +jQuery(document).ready(function(){new GFOwnerSetting});var legacyUI=gform_hubspot_owner_settings_strings.legacy_ui,prefix={input:legacyUI?"_gaddon_setting_":"_gform_setting_",field:legacyUI?"gaddon-setting-row-":"gform_setting_"};function GFOwnerSetting(){var r=jQuery;this.init=function(){this.initOwner(),new GFConditionsSetting},this.initOwner=function(){var t=this;r("#contact_owner0, #contact_owner1, #contact_owner2").on("change",function(){t.toggleOwner(!0)}),this.toggleOwner(!1)},this.toggleOwner=function(t){var e=["#"+prefix.field+"contact_owner_select","#"+prefix.field+"contact_owner_conditional"],o=r(".contact_owner_section"),i=r('input[name="'+prefix.input+'contact_owner"]:checked').val();r(e.join(", ")).hide(),"none"===i?t&&legacyUI?o.slideUp():o.hide():(o.is(":hidden")&&(t&&legacyUI?o.slideDown():o.show()),r("#"+prefix.field+"contact_owner_"+i).show())},this.init()}function GFConditionsSetting(){var n=jQuery;this.$element=jQuery("#gform_conditions_setting"),this.fieldId="conditions",this.fieldName=prefix.input+"conditions",this.options=null,this.init=function(){var r=this,t=(this.options={fieldName:this.fieldName,fieldId:this.fieldId,fields:gform_hubspot_owner_settings_strings.fields,owners:gform_hubspot_owner_settings_strings.owners,imagesURL:gf_vars.baseUrl+"/images",items:this.getItems(),operatorStrings:{is:"is",isnot:"isNot",">":"greaterThan","<":"lessThan",contains:"contains",starts_with:"startsWith",ends_with:"endsWith"}},t=(t=(t='{0}')+'{1}'+"").gformFormat(gform_hubspot_owner_settings_strings.assign_to,gform_hubspot_owner_settings_strings.condition),t='{0}{1}
'.gformFormat(t,this.getNewRow()),n(t));t.find(".repeater").repeater({limit:0,items:this.options.items,addButtonMarkup:'',removeButtonMarkup:'',callbacks:{save:function(t,e){n("#"+r.options.fieldId).val(n.toJSON(e))},beforeAdd:function(t,e,o){o.owner&&e.find(".gform-routing-owners").val(o.owner);var i=e.find(".gform-routing-field").first(),i=(i.value=o.fieldId,r.changeField(i),e.find(".gform-routing-operator").first());i.value=o.operator,r.changeOperator(i),e.find(".gform-routing-value").val(o.value)}}}).on("change",".gform-routing-field",function(t){r.changeField(this)}).on("change",".gform-routing-operator",function(){r.changeOperator(this)}),this.$element.append(t)},this.getNewRow=function(){var t=[];return t.push("{0}".gformFormat(this.getOwners())),t.push("{0}".gformFormat(this.getFields())),t.push("{0}".gformFormat(this.getOperators(this.options.fields[0]))),t.push("{0}".gformFormat(this.getValues())),t.push('{buttons}'),'{0}'.gformFormat(t.join(""))},this.getOwners=function(){for(var t=this.options.owners,e='"},this.getFields=function(){var t,e,o,i,r,n,s,a,g=[],l=this.options.fields;for(g.push('"),g.join("")},this.changeOperator=function(t){var e=n(t),o=e.closest("tr").find(".repeater-buttons").find(".add-item ").data("index"),i=e.closest("tr").find(".gform-routing-field"),i=this.getFilter(i.value);i&&e.closest("tr").find(".gform-routing-value").replaceWith(this.getValues(i,t.value,o))},this.changeField=function(t){var e,o=this.getFilter(t.value);o&&(e=(t=n(t)).closest("tr").find(".repeater-buttons").find(".add-item ").data("index"),t.closest("tr").find(".gform-routing-value").replaceWith(this.getValues(o,null,e)),t.closest("tr").find(".gform-filter-type").val(o.type).change(),o=n(this.getOperators(o,e)),t.closest("tr").find(".gform-routing-operator").replaceWith(o),t.closest("tr").find(".gform-routing-operator").change())},this.getOperators=function(t,e){var o,i,r=this.options.operatorStrings,n='"},this.getValues=function(t,e,o){var i,r,n,s,a="";if(null==o&&(o="{i}"),t&&t.values&&"contains"!=e){for(i=0;i{1}'.gformFormat(r,n);s=''.gformFormat(o,a)}else s=''.gformFormat(o);return s},this.getFilter=function(t){var e=this.options.fields;if(t)for(var o=0;o\n" +"Language-Team: Gravity Forms \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2024-03-14T17:07:42+00:00\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"X-Generator: WP-CLI 2.8.1\n" +"X-Domain: gravityformshubspot\n" + +#. Plugin Name of the plugin +msgid "Gravity Forms HubSpot Add-On" +msgstr "" + +#. Plugin URI of the plugin +#. Author URI of the plugin +msgid "https://gravityforms.com" +msgstr "" + +#. Description of the plugin +msgid "Integrates Gravity Forms with HubSpot, allowing form submissions to be automatically sent to your HubSpot account." +msgstr "" + +#. Author of the plugin +msgid "Gravity Forms" +msgstr "" + +#: class-gf-hubspot.php:255 +#: class-gf-hubspot.php:1086 +#: class-gf-hubspot.php:1091 +msgid "Name" +msgstr "" + +#: class-gf-hubspot.php:285 +msgid "Create record in HubSpot only when payment is received." +msgstr "" + +#: class-gf-hubspot.php:338 +msgid "Are you sure you want to disconnect from HubSpot for this website?" +msgstr "" + +#: class-gf-hubspot.php:339 +msgid "Are you sure you want to disconnect all Gravity Forms sites connected to this HubSpot account?" +msgstr "" + +#: class-gf-hubspot.php:484 +msgid "Unable to connect your HubSpot account due to mismatched state." +msgstr "" + +#: class-gf-hubspot.php:504 +msgid "HubSpot settings have been updated." +msgstr "" + +#: class-gf-hubspot.php:516 +msgid "Unable to connect your HubSpot account." +msgstr "" + +#: class-gf-hubspot.php:617 +msgid "HubSpot is an all-in-one CRM, Sales, Marketing, and Customer Service platform." +msgstr "" + +#: class-gf-hubspot.php:620 +msgid "The Gravity Forms HubSpot Add-On connects the power of the world’s leading growth platform - HubSpot - with Gravity Forms so your business can grow better." +msgstr "" + +#. translators: 1: Open link tag 2: Close link tag +#: class-gf-hubspot.php:625 +msgid "If you don't have a HubSpot account, you can %1$ssign up for your free HubSpot account here%2$s." +msgstr "" + +#: class-gf-hubspot.php:646 +msgid "Clear Custom Contact Properties Cache" +msgstr "" + +#. translators: 1: Open link tag 2: Close link tag +#: class-gf-hubspot.php:722 +msgid "There is a problem communicating with HubSpot right now, please check back later. If this issue persists for more than a day, please %1$sopen a support ticket%2$s." +msgstr "" + +#: class-gf-hubspot.php:763 +msgid "Click here to connect your HubSpot account" +msgstr "" + +#: class-gf-hubspot.php:768 +msgid "SSL Certificate Required" +msgstr "" + +#. translators: 1: Open link tag 2: Close link tag +#: class-gf-hubspot.php:770 +msgid "Make sure you have an SSL certificate installed and enabled, then %1$sclick here to continue%2$s." +msgstr "" + +#: class-gf-hubspot.php:783 +msgid "Signed into HubSpot." +msgstr "" + +#: class-gf-hubspot.php:787 +#: class-gf-hubspot.php:793 +msgid "Disconnect your HubSpot account" +msgstr "" + +#: class-gf-hubspot.php:791 +msgid "De-authorize this site only" +msgstr "" + +#: class-gf-hubspot.php:792 +msgid "Disconnect all Gravity Forms sites connected to this HubSpot account" +msgstr "" + +#: class-gf-hubspot.php:822 +msgid "Cache was cleared successfully." +msgstr "" + +#: class-gf-hubspot.php:830 +msgid "The cache could not be cleared at the moment." +msgstr "" + +#: class-gf-hubspot.php:835 +msgid "Due to HubSpot's daily API usage limits, Gravity Forms stores HubSpot custom contact properties data for one hour. If you added new custom properties or made a change to them, you might not see it reflected immediately due to this data caching. To manually clear the custom contact properties cache, click the button below." +msgstr "" + +#: class-gf-hubspot.php:837 +msgid "Clear Custom Fields Cache" +msgstr "" + +#: class-gf-hubspot.php:842 +msgid "never cleared manually before" +msgstr "" + +#: class-gf-hubspot.php:843 +msgid "Last time the cache was cleared manually: " +msgstr "" + +#: class-gf-hubspot.php:997 +msgid "Access denied." +msgstr "" + +#: class-gf-hubspot.php:1091 +msgid "Enter a feed name to uniquely identify this feed." +msgstr "" + +#: class-gf-hubspot.php:1095 +msgid "Feed Type" +msgstr "" + +#: class-gf-hubspot.php:1099 +msgid "Create Contact" +msgstr "" + +#: class-gf-hubspot.php:1108 +#: class-gf-hubspot.php:1114 +msgid "HubSpot Form Name" +msgstr "" + +#: class-gf-hubspot.php:1115 +msgid "Enter the name for the form that will be automatically created in your HubSpot account to work in conjunction with this feed. This HubSpot form will be configured to match your mapped fields below and is required. Once created, please don't remove or edit it." +msgstr "" + +#: class-gf-hubspot.php:1140 +#: class-gf-hubspot.php:1163 +msgid "Contact Owner" +msgstr "" + +#: class-gf-hubspot.php:1146 +msgid "None  " +msgstr "" + +#: class-gf-hubspot.php:1150 +msgid "Select Owner  " +msgstr "" + +#: class-gf-hubspot.php:1154 +msgid "Assign Conditionally" +msgstr "" + +#: class-gf-hubspot.php:1158 +msgid "Select a HubSpot user that will be assigned as the owner of the newly created Contact." +msgstr "" + +#: class-gf-hubspot.php:1177 +msgid "Select Owner" +msgstr "" + +#: class-gf-hubspot.php:1214 +msgid "Add Additional Contact Fields" +msgstr "" + +#: class-gf-hubspot.php:1234 +msgid "Additional Options" +msgstr "" + +#: class-gf-hubspot.php:1331 +msgid "There was an error connecting to Hubspot." +msgstr "" + +#: class-gf-hubspot.php:1338 +msgid "There was an error validating the form name. Please try saving again" +msgstr "" + +#: class-gf-hubspot.php:1343 +msgid "This form name is already in use in HubSpot. Please enter a unique form name." +msgstr "" + +#: class-gf-hubspot.php:1352 +msgid "edit" +msgstr "" + +#: class-gf-hubspot.php:1352 +msgid "add" +msgstr "" + +#. translators: Action to perform on the form. +#: class-gf-hubspot.php:1354 +msgid "Could not %s HubSpot form. Please try again later." +msgstr "" + +#: class-gf-hubspot.php:2000 +msgid "Error retrieving HubSpot owners" +msgstr "" + +#: class-gf-hubspot.php:2016 +msgid "No Name" +msgstr "" + +#: class-gf-hubspot.php:2067 +msgid "Select a Contact Property" +msgstr "" + +#: class-gf-hubspot.php:2111 +msgid "Select an Option" +msgstr "" + +#: class-gf-hubspot.php:2172 +msgid "
Lead Status
Select the lead status value the newly added contact should be set to." +msgstr "" + +#: class-gf-hubspot.php:2173 +msgid "
Lifecycle Stage
Select the lifecycle stage value the newly added contact should be set to." +msgstr "" + +#: class-gf-hubspot.php:2241 +msgid "Feed was not processed because the submission object was empty." +msgstr "" + +#: class-gf-hubspot.php:2250 +msgid "Feed was not processed because API was not initialized." +msgstr "" + +#: class-gf-hubspot.php:2258 +msgid "There was an error when creating the contact in HubSpot. %s" +msgstr "" + +#: class-gf-hubspot.php:2347 +msgid "Do not delete or edit" +msgstr "" + +#: includes/class-gf-hubspot-api.php:155 +#: includes/class-gf-hubspot-api.php:208 +msgid "Refresh token must be provided." +msgstr "" diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/change_log.txt b/wp/wp-content/plugins/gravityformsrecaptcha/change_log.txt new file mode 100644 index 00000000..04d1841f --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/change_log.txt @@ -0,0 +1,31 @@ +## 1.6.0 | 2024-07-30 +- Added support for the upcoming gform/submission/pre_submission filter that will be released with Gravity Forms 2.9. + +## 1.5.0 | 2024-04-30 +- Fixed an issue where duplicate entries are created when using Conversational Forms with reCAPTCHA v3. +- Fixed an issue where form submission hangs after Stripe 3DS validation. +- Fixed an issue where all REST API submissions are marked as spam. +- Note: If used alongside the Stripe Add-On, this version of the reCAPTCHA Add-On requires version 5.5.0 or later of the Stripe Add-On. + +## 1.4.0 | 2024-01-17 +- Fixed an issue where reCaptcha v3 validation is not triggered when using the Stripe Payment Element. +- Fixed the PHP 8.2 creation of dynamic property deprecation notice that occurs on form submission. + +## 1.3.0 | 2023-11-09 +- Fixed an issue where a JavaScript error can occur on the front-end if the page also includes custom or third-party forms. +- Fixed an issue where the v3 settings aren't populated by the GF_RECAPTCHA_V3_SITE_KEY and GF_RECAPTCHA_V3_SECRET_KEY constants. + +## 1.2.0 | 2023-08-31 +- Updated the reCAPTCHA settings link for the Captcha field "To use the reCAPTCHA field" message in the form editor. +- Fixed an issue where reCAPTCHA fails validation when using the Stripe Payment Element. +- Fixed an issue that causes the scripts for the frontend to not be available in production mode when compiled by Webpack. +- Fixed an issue where scripts are sometimes missing dependencies, and sometimes getting loaded unnecessarily. + +## 1.1 | 2021-07-21 +- Fixed an issue where an undefined variable notice appears on the add-on settings page. +- Fixed an issue where forms can fail validation if they include dynamically added fields such as the honeypot. +- Fixed an issue where the reCAPTCHA response is saved and output by merge tags. +- Fixed an issue where submissions from the User Registration Add-On login form are blocked. + +## 1.0 | 2021-06-23 +- It's all new! diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/class-gf-recaptcha.php b/wp/wp-content/plugins/gravityformsrecaptcha/class-gf-recaptcha.php new file mode 100644 index 00000000..7e0412e2 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/class-gf-recaptcha.php @@ -0,0 +1,993 @@ +api = new RECAPTCHA_API(); + $this->token_verifier = new Token_Verifier( $this, $this->api ); + $this->plugin_settings = new Settings\Plugin_Settings( $this, $this->token_verifier ); + $this->field = new GF_Field_RECAPTCHA(); + + GF_Fields::register( $this->field ); + + add_filter( 'gform_settings_menu', array( $this, 'replace_core_recaptcha_menu_item' ) ); + + parent::pre_init(); + } + + /** + * Replaces the core recaptcha settings menu item with the addon settings menu item. + * + * @param array $settings_tabs Registered settings tabs. + * + * @since 1.0 + * + * @return array + */ + public function replace_core_recaptcha_menu_item( $settings_tabs ) { + // Get tab names with the same index as is in the settings tabs. + $tabs = array_combine( array_keys( $settings_tabs ), array_column( $settings_tabs, 'name' ) ); + + // Bail if for some reason this add-on is not registered as a settings tab. + if ( ! in_array( $this->_slug, $tabs ) ) { + return $settings_tabs; + } + + $prepared_tabs = array_flip( $tabs ); + + $settings_tabs[ rgar( $prepared_tabs, 'recaptcha' ) ]['name'] = $this->_slug; + unset( $settings_tabs[ rgar( $prepared_tabs, $this->_slug ) ] ); + + return $settings_tabs; + } + + /** + * Register initialization hooks. + * + * @since 1.0 + */ + public function init() { + parent::init(); + + if ( ! $this->is_gravityforms_supported( $this->_min_gravityforms_version ) ) { + return; + } + + // Enqueue shared scripts that need to run everywhere, instead of just on forms pages. + add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_recaptcha_script' ) ); + + // Add Recaptcha field to the form output. + add_filter( 'gform_form_tag', array( $this, 'add_recaptcha_input' ), 50, 2 ); + + // Register a custom metabox for the entry details page. + add_filter( 'gform_entry_detail_meta_boxes', array( $this, 'register_meta_box' ), 10, 3 ); + + add_filter( 'gform_entry_is_spam', array( $this, 'check_for_spam_entry' ), 10, 3 ); + add_filter( 'gform_validation', array( $this, 'validate_submission' ) ); + + add_filter( 'gform_field_content', array( $this, 'update_captcha_field_settings_link' ), 10, 2 ); + add_filter( 'gform_incomplete_submission_pre_save', array( $this, 'add_recaptcha_v3_input_to_draft' ), 10, 3 ); + + } + + /** + * Register admin initialization hooks. + * + * @since 1.0 + */ + public function init_admin() { + parent::init_admin(); + + add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_recaptcha_script' ) ); + } + + /** + * Validate the secret key on the plugin settings screen. + * + * @since 1.0 + */ + public function init_ajax() { + parent::init_ajax(); + + add_action( 'wp_ajax_verify_secret_key', array( $this->plugin_settings, 'verify_v3_keys' ) ); + } + + /** + * Register scripts. + * + * @since 1.0 + * + * @return array + */ + public function scripts() { + $frontend_script_name = version_compare( GFForms::$version, '2.9.0-dev-1', '<' ) ? 'frontend-legacy' : 'frontend'; + $scripts = array( + array( + 'handle' => $this->asset_prefix . $frontend_script_name, + 'src' => $this->get_script_url( $frontend_script_name ), + 'version' => $this->_version, + 'deps' => array( 'jquery', "{$this->asset_prefix}recaptcha" ), + 'in_footer' => true, + 'enqueue' => array( + array( $this, 'frontend_script_callback' ), + ), + ), + ); + + // Prevent plugin settings from loading on the frontend. Remove this condition to see it in action. + if ( is_admin() ) { + if ( $this->requires_recaptcha_script() ) { + $admin_deps = array( 'jquery', "{$this->asset_prefix}recaptcha" ); + } else { + $admin_deps = array( 'jquery' ); + } + + $scripts[] = array( + 'handle' => "{$this->asset_prefix}plugin_settings", + 'src' => $this->get_script_url( 'plugin_settings' ), + 'version' => $this->_version, + 'deps' => $admin_deps, + 'enqueue' => array( + array( + 'admin_page' => array( 'plugin_settings' ), + 'tab' => $this->_slug, + ), + ), + ); + } + + return array_merge( parent::scripts(), $scripts ); + } + + /** + * Get the URL for a JavaScript file. + * + * @since 1.0 + * + * @param string $filename The name of the script to return. + * + * @return string + */ + private function get_script_url( $filename ) { + $base_path = $this->get_base_path() . '/js'; + $base_url = $this->get_base_url() . '/js'; + + // Production scripts. + if ( is_readable( "{$base_path}/{$filename}.min.js" ) && ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ) { + return "{$base_url}/{$filename}.min.js"; + } + + // Uncompiled scripts. + if ( is_readable( "{$base_path}/src/{$filename}.js" ) ) { + return "{$base_url}/src/{$filename}.js"; + } + + // Compiled dev scripts. + return "{$base_url}/{$filename}.js"; + } + + // # PLUGIN SETTINGS ----------------------------------------------------------------------------------------------- + + /** + * Define plugin settings fields. + * + * @since 1.0 + * + * @return array + */ + public function plugin_settings_fields() { + return $this->plugin_settings->get_fields(); + } + + /** + * Initialize the plugin settings. + * + * This method overrides the add-on framework because we need to retrieve the values for reCAPTCHA v2 from core + * and populate them if they exist. Since the Plugin_Settings class houses all of the logic related to the plugin + * settings screen, we need to pass the return value of this method's parent to delegate that responsibility. + * + * In a future release, once reCAPTCHA logic is migrated into this add-on, we + * should be able to safely remove this override. + * + * @since 1.0 + * + * @return array + */ + public function get_plugin_settings() { + return $this->plugin_settings->get_settings( parent::get_plugin_settings() ); + } + + /** + * Callback to update plugin settings on save. + * + * We override this method in order to save values for reCAPTCHA v2 with their original keys in the options table. + * In a future release, we'll eventually migrate all previous reCAPTCHA logic into this add-on, at which time we + * should be able to remove this method altogether. + * + * @since 1.0 + * + * @param array $settings The settings to update. + */ + public function update_plugin_settings( $settings ) { + $this->plugin_settings->update_settings( $settings ); + parent::update_plugin_settings( $settings ); + } + + /** + * The settings page icon. + * + * @since 1.0 + * @return string + */ + public function get_menu_icon() { + return 'gform-icon--recaptcha'; + } + + /** + * Add the recaptcha field to the end of the form. + * + * @since 1.0 + * + * @depecated 1.1 + * + * @param array $form The form array. + * + * @return array + */ + public function add_recaptcha_field( $form ) { + return $form; + } + + /** + * Add the recaptcha input to the form. + * + * @since 1.1 + * + * @param string $form_tag The form tag. + * @param array $form The form array. + * + * @return string + */ + public function add_recaptcha_input( $form_tag, $form ) { + if ( empty( $form_tag ) || $this->is_disabled_by_form_setting( $form ) || ! $this->initialize_api() ) { + return $form_tag; + } + + return $form_tag . $this->field->get_field_input( $form ); + } + + // # FORM SETTINGS + + /** + * Register a form settings tab for reCAPTCHA v3. + * + * @since 1.0 + * + * @param array $form The form data. + * + * @return array + */ + public function form_settings_fields( $form ) { + return array( + array( + 'title' => 'reCAPTCHA Settings', + 'fields' => array( + array( + 'type' => 'checkbox', + 'name' => 'disable-recaptchav3', + 'choices' => array( + array( + 'name' => 'disable-recaptchav3', + 'label' => __( 'Disable reCAPTCHA v3 for this form.', 'gravityformsrecaptcha' ), + 'default_value' => 0, + ), + ), + ), + ), + ), + ); + } + + /** + * Updates the query string for the settings link displayed in the form editor preview of the Captcha field. + * + * @since 1.2 + * + * @param string $field_content The field markup. + * @param \GF_Field $field The field being processed. + * + * @return string + */ + public function update_captcha_field_settings_link( $field_content, $field ) { + if ( $field->type !== 'captcha' || ! $field->is_form_editor() ) { + return $field_content; + } + + return str_replace( + array( '&subview=recaptcha', '?page=gf_settings' ), + array( '', '?page=gf_settings&subview=gravityformsrecaptcha' ), + $field_content + ); + } + + // # HELPER METHODS ------------------------------------------------------------------------------------------------ + + /** + * Get the instance of the Token_Verifier class. + * + * @since 1.0 + * + * @return Token_Verifier + */ + public function get_token_verifier() { + return $this->token_verifier; + } + + /** + * Get the instance of the Plugin_Settings class. + * + * @return Settings\Plugin_Settings + */ + public function get_plugin_settings_instance() { + return $this->plugin_settings; + } + + /** + * Initialize the connection to the reCAPTCHA API. + * + * @since 1.0 + * + * @return bool + */ + private function initialize_api() { + static $result; + + if ( is_bool( $result ) ) { + return $result; + } + + $result = false; + $site_key = $this->plugin_settings->get_recaptcha_key( 'site_key_v3' ); + $secret_key = $this->plugin_settings->get_recaptcha_key( 'secret_key_v3' ); + + if ( ! ( $site_key && $secret_key ) ) { + $this->log_debug( __METHOD__ . '(): Missing v3 key configuration. Please check the add-on settings.' ); + + return false; + } + + if ( '1' !== $this->get_plugin_setting( 'recaptcha_keys_status_v3' ) ) { + $this->log_debug( __METHOD__ . '(): Could not initialize reCAPTCHA v3 because site and/or secret key is invalid.' ); + + return false; + } + + $result = true; + $this->log_debug( __METHOD__ . '(): API Initialized.' ); + + return true; + } + + /** + * Check to determine whether the reCAPTCHA script is needed on a page. + * + * The script is needed on every page of the front-end if we're able to initialize the API because we've already + * verified that the v3 site and secret keys are valid. + * + * On the back-end, we only want to load this on the settings page, and it should be available regardless of the + * status of the keys. + * + * @since 1.0 + * + * @return bool + */ + private function requires_recaptcha_script() { + return is_admin() ? $this->is_plugin_settings( $this->_slug ) : $this->initialize_api(); + } + + /** + * Custom enqueuing of the external reCAPTCHA script. + * + * This script is enqueued via the normal WordPress process because, on the front-end, it's needed on every + * single page of the site in order for reCAPTCHA to properly score the interactions leading up to the form + * submission. + * + * @since 1.0 + * @see GF_RECAPTCHA::init() + */ + public function enqueue_recaptcha_script() { + if ( ! $this->requires_recaptcha_script() ) { + return; + } + + $script_url = add_query_arg( + 'render', + $this->plugin_settings->get_recaptcha_key( 'site_key_v3' ), + 'https://www.google.com/recaptcha/api.js' + ); + + wp_enqueue_script( + "{$this->asset_prefix}recaptcha", + $script_url, + array( 'jquery' ), + $this->_version, + true + ); + + wp_localize_script( + "{$this->asset_prefix}recaptcha", + "{$this->asset_prefix}recaptcha_strings", + array( + 'site_key' => $this->plugin_settings->get_recaptcha_key( 'site_key_v3' ), + 'ajaxurl' => admin_url( 'admin-ajax.php' ), + 'nonce' => wp_create_nonce( "{$this->_slug}_verify_token_nonce" ), + ) + ); + + if ( $this->get_plugin_setting( 'disable_badge_v3' ) !== '1' ) { + return; + } + + // Add inline JS to disable the badge. + wp_add_inline_script( + "{$this->asset_prefix}recaptcha", + '(function($){grecaptcha.ready(function(){$(\'.grecaptcha-badge\').css(\'visibility\',\'hidden\');});})(jQuery);' + ); + } + + /** + * Callback to determine whether to render the frontend script. + * + * @since 1.0 + * + * @param array $form The form array. + * + * @return bool + */ + public function frontend_script_callback( $form ) { + return $form && ! is_admin(); + } + + /** + * Sets up additional data points for sorting on the entry. + * + * @since 1.0 + * + * @param array $entry_meta The entry metadata. + * @param int $form_id The ID of the form. + * + * @return array + */ + public function get_entry_meta( $entry_meta, $form_id ) { + $entry_meta[ "{$this->_slug}_score" ] = array( + 'label' => __( 'reCAPTCHA Score', 'gravityformsrecaptcha' ), + 'is_numeric' => true, + 'update_entry_meta_callback' => array( $this, 'update_entry_meta' ), + 'is_default_column' => true, + 'filter' => array( + 'operators' => array( 'is', '>', '<' ), + ), + ); + + return $entry_meta; + } + + /** + * Save the Recaptcha metadata values to the entry. + * + * @since 1.0 + * + * @see GF_RECAPTCHA::get_entry_meta() + * + * @param string $key The entry meta key. + * @param array $entry The entry data. + * @param array $form The form data. + * + * @return float|void + */ + public function update_entry_meta( $key, $entry, $form ) { + if ( $key !== "{$this->_slug}_score" ) { + return; + } + + if ( $this->is_disabled_by_form_setting( $form ) ) { + $this->log_debug( __METHOD__ . '(): reCAPTCHA v3 disabled on form ' . rgar( $form, 'id' ) ); + return 'disabled'; + } + + if ( ! $this->initialize_api() ) { + return 'disconnected'; + } + + return $this->token_verifier->get_score(); + } + + /** + * Registers a metabox on the entry details screen. + * + * @since 1.0 + * + * @param array $metaboxes Gravity Forms registered metaboxes. + * @param array $entry The entry array. + * @param array $form The form array. + * + * @return array + */ + public function register_meta_box( $metaboxes, $entry, $form ) { + $score = $this->get_score_from_entry( $entry ); + + if ( ! $score ) { + return $metaboxes; + } + + $metaboxes[ $this->_slug ] = array( + 'title' => esc_html__( 'reCAPTCHA', 'gravityformsrecaptcha' ), + 'callback' => array( $this, 'add_recaptcha_meta_box' ), + 'context' => 'side', + ); + + return $metaboxes; + } + + /** + * Callback to output the entry details metabox. + * + * @since 1.0 + * @see GF_RECAPTCHA::register_meta_box() + * + * @param array $data An array containing the form and entry data. + */ + public function add_recaptcha_meta_box( $data ) { + $score = $this->get_score_from_entry( rgar( $data, 'entry' ) ); + + printf( + '

%s: %s

%s

', + esc_html__( 'Score', 'gravityformsrecaptcha' ), + esc_html( $score ), + esc_html( 'https://docs.gravityforms.com/captcha/' ), + esc_html__( 'Click here to learn more about reCAPTCHA.', 'gravityformsrecaptcha' ) + ); + } + + /** + * Callback to gform_entry_is_spam that determines whether to categorize this entry as such. + * + * @since 1.0 + * + * @see GF_RECAPTCHA::init(); + * + * @param bool $is_spam Whether the entry is spam. + * @param array $form The form data. + * @param array $entry The entry data. + * + * @return bool + */ + public function check_for_spam_entry( $is_spam, $form, $entry ) { + + if ( $is_spam ) { + $this->log_debug( __METHOD__ . '(): Skipping, entry has already been identified as spam by another anti-spam solution.' ); + return $is_spam; + } + + $is_spam = $this->is_spam_submission( $form, $entry ); + $this->log_debug( __METHOD__ . '(): Is submission considered spam? ' . ( $is_spam ? 'Yes.' : 'No.' ) ); + + return $is_spam; + } + + /** + * Determines if the submission is spam by comparing its score with the threshold. + * + * @since 1.4 + * @since 1.5 Added the optional $entry param. + * + * @param array $form The form being processed. + * @param array $entry The entry being processed. + * + * @return bool + */ + public function is_spam_submission( $form, $entry = array() ) { + if ( $this->should_skip_validation( $form ) ) { + $this->log_debug( __METHOD__ . '(): Score check skipped.' ); + + return false; + } + + $score = empty( $entry ) ? $this->token_verifier->get_score() : $this->get_score_from_entry( $entry ); + $threshold = $this->get_spam_score_threshold(); + + return (float) $score <= (float) $threshold; + } + /** + * Get the Recaptcha score from the entry details. + * + * @since 1.0 + * + * @param array $entry The entry array. + * + * @return float|string + */ + private function get_score_from_entry( $entry ) { + $score = rgar( $entry, "{$this->_slug}_score" ); + + if ( in_array( $score, $this->v3_disabled_states, true ) ) { + return $score; + } + + return $score ? (float) $score : $this->token_verifier->get_score(); + } + + /** + * The score that determines whether the entry is spam. + * + * Hard-coded for now, but this will eventually be an option within the add-on. + * + * @since 1.0 + * + * @return float + */ + private function get_spam_score_threshold() { + static $value; + + if ( ! empty( $value ) ) { + return $value; + } + + $value = (float) $this->get_plugin_setting( 'score_threshold_v3' ); + if ( empty( $value ) ) { + $value = 0.5; + } + $this->log_debug( __METHOD__ . '(): ' . $value ); + + return $value; + } + + /** + * Determine whether a given form has disabled reCAPTCHA within its settings. + * + * @since 1.0 + * + * @param array $form The form data. + * + * @return bool + */ + private function is_disabled_by_form_setting( $form ) { + return empty( $form['id'] ) || '1' === rgar( $this->get_form_settings( $form ), 'disable-recaptchav3' ); + } + + /** + * Validate the form submission. + * + * @since 1.0 + * + * @param array $submission_data The submitted form data. + * + * @return array + */ + public function validate_submission( $submission_data ) { + $this->log_debug( __METHOD__ . '(): Validating form (#' . rgars( $submission_data, 'form/id' ) . ') submission.' ); + + if ( $this->should_skip_validation( rgar( $submission_data, 'form' ) ) ) { + $this->log_debug( __METHOD__ . '(): Validation skipped.' ); + + return $submission_data; + } + + $this->log_debug( __METHOD__ . '(): Validating reCAPTCHA v3.' ); + + return $this->field->validation_check( $submission_data ); + } + + /** + * Check If reCaptcha validation should be skipped. + * + * In some situations where the form validation could be triggered twice, for example while making a stripe payment element transaction + * we want to skip the reCaptcha validation so it isn't triggered twice, as this will make it always fail. + * + * @since 1.4 + * @since 1.5 Changed param to $form array. + * + * @param array $form The form being processed. + * + * @return bool + */ + public function should_skip_validation( $form ) { + static $result = array(); + + $form_id = rgar( $form, 'id' ); + if ( isset( $result[ $form_id ] ) ) { + return $result[ $form_id ]; + } + + $result[ $form_id ] = true; + + if ( $this->is_preview() ) { + $this->log_debug( __METHOD__ . '(): Yes! Form preview page.' ); + + return true; + } + + if ( ! $this->initialize_api() ) { + $this->log_debug( __METHOD__ . '(): Yes! API not initialized.' ); + + return true; + } + + if ( $this->is_disabled_by_form_setting( $form ) ) { + $this->log_debug( __METHOD__ . '(): Yes! Disabled by form setting.' ); + + return true; + } + + if ( defined( 'REST_REQUEST' ) && REST_REQUEST && ! isset( $_POST[ $this->field->get_input_name( $form_id ) ] ) ) { + $this->log_debug( __METHOD__ . '(): Yes! REST request without input.' ); + + return true; + } + + // For older versions of Stripe, skip the first validation attempt and only validate on the second attempt. Newer versions of Stripe will validate twice without a problem. + if ( $this->is_stripe_validation() && version_compare( gf_stripe()->get_version(), '5.4.3', '<' ) ) { + $this->log_debug( __METHOD__ . '(): Yes! Older Stripe validation.' ); + + return true; + } + + $result[ $form_id ] = false; + + return false; + } + + /** + * Check if this is a stripe validation request. + * + * @since 1.4 + * + * @return bool Returns true if this is a stripe validation request. Returns false otherwise. + */ + public function is_stripe_validation() { + return function_exists( 'gf_stripe' ) && rgpost( 'action' ) === 'gfstripe_validate_form'; + } + + /** + * Check if this is a preview request, taking into account Stripe's validation request. + * + * @since 1.4 + * + * @return bool Returns true if this is a preview request. Returns false otherwise. + */ + public function is_preview() { + + return parent::is_preview() || ( $this->is_stripe_validation() && rgget( 'preview' ) === '1' ); + } + + /** + * Add the recaptcha v3 input and value to the draft. + * + * @since 1.2 + * + * @param array $submission_json The json containing the submitted values and the partial entry created from the values. + * @param string $resume_token The resume token. + * @param array $form The form data. + * + * @return string The json string for the submission with the recaptcha v3 input and value added. + */ + public function add_recaptcha_v3_input_to_draft( $submission_json, $resume_token, $form ) { + $submission = json_decode( $submission_json, true ); + $input_name = $this->field->get_input_name( rgar( $form , 'id' ) ); + $submission[ 'partial_entry' ][ $input_name ] = rgpost( $input_name ); + + return wp_json_encode( $submission ); + } + +} diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-gf-field-recaptcha.php b/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-gf-field-recaptcha.php new file mode 100644 index 00000000..62f8dc2a --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-gf-field-recaptcha.php @@ -0,0 +1,158 @@ +get_plugin_settings_instance(); + $site_key = $plugin_settings->get_recaptcha_key( 'site_key_v3' ); + $secret_key = $plugin_settings->get_recaptcha_key( 'secret_key_v3' ); + + if ( empty( $site_key ) || empty( $secret_key ) ) { + GFCommon::log_error( __METHOD__ . sprintf( '(): reCAPTCHA secret keys not saved in the reCAPTCHA Settings (%s). The reCAPTCHA field will always fail validation during form submission.', admin_url( 'admin.php' ) . '?page=gf_settings&subview=recaptcha' ) ); + } + + $this->formId = absint( rgar( $form, 'id' ) ); + $name = $this->get_input_name(); + $tabindex = GFCommon::$tab_index > 0 ? GFCommon::$tab_index ++ : 0; + + return "
" + . '' + . '
'; + } + + /** + * Modify the validation result if the Recaptcha response has been altered. + * + * This is a callback to the gform_validation filter to allow us to validate the values in the hidden field. + * + * @since 1.0 + * + * @see GF_RECAPTCHA::init() + * + * @param array $validation_data The validation data. + * + * @return array + */ + public function validation_check( $validation_data ) { + $this->formId = absint( rgars( $validation_data, 'form/id' ) ); + + if ( $this->is_valid_field_data() ) { + + // Set is_spam value. + $validation_data['is_spam'] = gf_recaptcha()->is_spam_submission( rgar( $validation_data, 'form' ) ); + + return $validation_data; + } + + // Set is_valid to false and return the validation data. + return $this->invalidate( $validation_data ); + } + + /** + * Validates that the data in the hidden input is a valid Recaptcha entry. + * + * @since 1.0 + * + * @return bool + */ + private function is_valid_field_data() { + $data = rgpost( $this->get_input_name() ); + + if ( empty( $data ) ) { + gf_recaptcha()->log_debug( __METHOD__ . "(): Input {$this->get_input_name()} empty." ); + + return false; + } + + return gf_recaptcha()->get_token_verifier()->verify_submission( $data ); + } + + /** + * Set is_valid to false on the validation data. + * + * @since 1.0 + * + * @param array $validation_data The validation data. + * + * @return mixed + */ + private function invalidate( $validation_data ) { + $validation_data['is_valid'] = false; + + return $validation_data; + } + + /** + * Returns the value of the input name attribute. + * + * @since 1.1 + * @since 1.2 Added optional form_id parameter. + * + * @return string + */ + public function get_input_name( $form_id = null ) { + if ( $form_id ) { + $this->formId = absint( $form_id ); + } + + return 'input_' . md5( 'recaptchav3' . gf_recaptcha()->get_version() . $this->formId ); + } + +} diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-recaptcha-api.php b/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-recaptcha-api.php new file mode 100644 index 00000000..421bdfd9 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-recaptcha-api.php @@ -0,0 +1,44 @@ +verification_url, + array( + 'body' => array( + 'secret' => $secret, + 'response' => $token, + ), + ) + ); + } +} diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-token-verifier.php b/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-token-verifier.php new file mode 100644 index 00000000..d16d32c1 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/includes/class-token-verifier.php @@ -0,0 +1,364 @@ +addon = $addon; + $this->api = $api; + } + + /** + * Initializes this object for use. + * + * @param string $token The reCAPTCHA token. + * @param string $action The reCAPTCHA action. + * + * @since 1.0 + */ + public function init( $token = '', $action = '' ) { + $this->token = $token; + $this->action = $action; + $this->secret = $this->addon->get_plugin_settings_instance()->get_recaptcha_key( 'secret_key_v3' ); + $this->score_threshold = $this->addon->get_plugin_setting( 'score_threshold_v3', 0.5 ); + } + + /** + * Get the reCAPTCHA result. + * + * Returns a stdClass if it's already been processed. + * + * @since 1.0 + * + * @return stdClass|null + */ + public function get_recaptcha_result() { + return $this->recaptcha_result; + } + + /** + * Validate that the reCAPTCHA response data has the required properties and meets expectations. + * + * @since 1.0 + * + * @param array $response_data The response data to validate. + * + * @return bool + */ + private function validate_response_data( $response_data ) { + if ( + ! empty( $response_data->{'error-codes'} ) + || ( property_exists( $response_data, 'success' ) && $response_data->success !== true ) + ) { + return false; + } + + $validation_properties = array( 'hostname', 'action', 'success', 'score', 'challenge_ts' ); + $response_properties = array_filter( + $validation_properties, + function( $property ) use ( $response_data ) { + return property_exists( $response_data, $property ); + } + ); + + if ( count( $validation_properties ) !== count( $response_properties ) ) { + return false; + } + + return ( + $response_data->success + && $this->verify_hostname( $response_data->hostname ) + && $this->verify_action( $response_data->action ) + && $this->verify_score( $response_data->score ) + && $this->verify_timestamp( $response_data->challenge_ts ) + ); + } + + /** + * Verify the submission data. + * + * @since 1.0 + * + * @param string $token The Recapatcha token. + * + * @return bool + */ + public function verify_submission( $token ) { + + $data = \GFCache::get( 'recaptcha_' . $token, $found ); + if ( $found ) { + $this->addon->log_debug( __METHOD__ . '(): Using cached reCAPTCHA result: ' . print_r( $data, true ) ); + $this->recaptcha_result = $data; + + return true; + } + + $this->addon->log_debug( __METHOD__ . '(): Verifying reCAPTCHA submission.' ); + + if ( empty( $token ) ) { + $this->addon->log_debug( __METHOD__ . '(): Could not verify the submission because no token was found.' . PHP_EOL ); + return false; + } + + $this->init( $token, 'submit' ); + + $data = $this->get_response_data( $this->api->verify_token( $token, $this->addon->get_plugin_settings_instance()->get_recaptcha_key( 'secret_key_v3' ) ) ); + + if ( is_wp_error( $data ) ) { + $this->addon->log_debug( __METHOD__ . '(): Validating the reCAPTCHA response has failed due to the following: ' . $data->get_error_message() ); + wp_send_json_error( + array( + 'error' => $data->get_error_message(), + 'code' => self::ERROR_CODE_CANNOT_VERIFY_TOKEN, + ) + ); + } + + if ( ! $this->validate_response_data( $data ) ) { + $this->addon->log_debug( + __METHOD__ . '(): Could not validate the token request from the reCAPTCHA service. ' . PHP_EOL + . "token: {$token}" . PHP_EOL + . "response: " . print_r( $data, true ) . PHP_EOL // @codingStandardsIgnoreLine + ); + return false; + } + + // @codingStandardsIgnoreLine + $this->addon->log_debug( __METHOD__ . '(): Validated reCAPTCHA: ' . print_r( $data, true ) ); + $this->recaptcha_result = $data; + + // Caching result for 1 hour. + \GFCache::set( 'recaptcha_' . $token, $data, true, 60 * 60 ); + + return true; + } + + /** + * Get the data from the response. + * + * @since 1.0 + * + * @param WP_Error|string $response The response from the API request. + * + * @return mixed + */ + private function get_response_data( $response ) { + if ( is_wp_error( $response ) ) { + return $response; + } + + return json_decode( wp_remote_retrieve_body( $response ) ); + } + + /** + * Verify the reCAPTCHA hostname. + * + * @since 1.0 + * + * @param string $hostname Verify that the host name returned matches the site. + * + * @return bool + */ + private function verify_hostname( $hostname ) { + if ( ! has_filter( 'gform_recaptcha_valid_hostnames' ) ) { + $this->addon->log_debug( __METHOD__ . '(): gform_recaptcha_valid_hostnames filter not implemented. Skipping.' ); + return true; + } + + $this->addon->log_debug( __METHOD__ . '(): gform_recaptcha_valid_hostnames filter detected. Verifying hostname.' ); + + /** + * Filter for the set of hostnames considered valid by this site. + * + * Google returns a 'hostname' value in reCAPTCHA verification results. We validate against this value to ensure + * that the data is good. By default, we use only the WordPress installation's home URL, but have extended + * this via a filter so developers can define an array of hostnames to allow. + * + * @since 1.0 + * + * @param array $valid_hostnames { + * An indexed array of valid hostname strings. Example: + * array( 'example.com', 'another-example.com' ) + * } + */ + $valid_hostnames = apply_filters( + 'gform_recaptcha_valid_hostnames', + array( + wp_parse_url( get_home_url(), PHP_URL_HOST ), + ) + ); + + return is_array( $valid_hostnames ) ? in_array( $hostname, $valid_hostnames, true ) : false; + } + + /** + * Verify the reCAPTCHA action. + * + * @since 1.0 + * + * @param string $action The reCAPTCHA result action. + * + * @return bool + */ + private function verify_action( $action ) { + $this->addon->log_debug( __METHOD__ . '(): Verifying action from reCAPTCHA response.' ); + + return $this->action === $action; + } + + /** + * Verify that the score is valid. + * + * @since 1.0 + * + * @param float $score The reCAPTCHA v3 score. + * + * @return bool + */ + private function verify_score( $score ) { + $this->addon->log_debug( __METHOD__ . '(): Verifying score from reCAPTCHA response.' ); + + return is_float( $score ) && $score >= 0.0 && $score <= 1.0; + } + + /** + * Verify that the timestamp of the submission is valid. + * + * Google allows a reCAPTCHA token to be valid for two minutes. On multi-page forms, we generate a new token with + * the advancement of each page, but the timestamp that's returned is always the same. Thus, we'll allow a longer + * time frame for form submissions before considering them to be invalid. + * + * @since 1.0 + * + * @param string $challenge_ts The challenge timestamp from the reCAPTCHA service. + * + * @return bool + */ + private function verify_timestamp( $challenge_ts ) { + $this->addon->log_debug( __METHOD__ . '(): Verifying timestamp from reCAPTCHA response.' ); + + return ( gmdate( time() ) - strtotime( $challenge_ts ) ) <= 24 * HOUR_IN_SECONDS; + } + + /** + * Get the score from the Recaptcha result. + * + * @since 1.0 + * + * @return float + */ + public function get_score() { + if ( empty( $this->recaptcha_result ) || ! property_exists( $this->recaptcha_result, 'score' ) ) { + return $this->addon->is_preview() ? 0.9 : 0.0; + } + + return (float) $this->recaptcha_result->score; + } + + /** + * Get the decoded response data from the API. + * + * @param string $token The validation token. + * @param string $secret The stored secret key from the settings page. + * + * @since 1.0 + * + * @return WP_Error|mixed|string + */ + public function verify( $token, $secret ) { + return $this->get_response_data( $this->api->verify_token( $token, $secret ) ); + } +} diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/includes/settings/class-plugin-settings.php b/wp/wp-content/plugins/gravityformsrecaptcha/includes/settings/class-plugin-settings.php new file mode 100644 index 00000000..f63d976a --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/includes/settings/class-plugin-settings.php @@ -0,0 +1,630 @@ +addon = $addon; + $this->token_verifier = $token_verifier; + } + + /** + * Get the plugin settings fields. + * + * @since 1.0 + * @see GF_RECAPTCHA::plugin_settings_fields() + * + * @return array + */ + public function get_fields() { + return array( + $this->get_description_fields(), + $this->get_v3_fields(), + $this->get_v2_fields(), + ); + } + + /** + * Gets any custom plugin settings, ensuring they contain the latest values from the constants. + * + * @since 1.0 + * + * @param array $settings Add-on's parent plugin settings. + * + * @return array + */ + public function get_settings( $settings ) { + if ( ! is_array( $settings ) ) { + $settings = array(); + } + + $site_key = $this->get_recaptcha_key( 'site_key_v3', true ); + if ( $site_key ) { + $settings['site_key_v3'] = $site_key; + } + + $secret_key = $this->get_recaptcha_key( 'secret_key_v3', true ); + if ( $secret_key ) { + $settings['secret_key_v3'] = $secret_key; + } + + return array_merge( + $settings, + array( + 'site_key_v2' => get_option( 'rg_gforms_captcha_public_key' ), + 'secret_key_v2' => get_option( 'rg_gforms_captcha_private_key' ), + 'type_v2' => get_option( 'rg_gforms_captcha_type' ), + ) + ); + } + + /** + * Handles updating of custom plugin settings. + * + * @since 1.0 + * + * @param array $settings Update the v2 settings. + */ + public function update_settings( $settings ) { + update_option( 'rg_gforms_captcha_public_key', rgar( $settings, 'site_key_v2' ) ); + update_option( 'rg_gforms_captcha_private_key', rgar( $settings, 'secret_key_v2' ) ); + update_option( 'rg_gforms_captcha_type', rgar( $settings, 'type_v2' ) ); + } + + /** + * Get the description section for the plugin settings. + * + * @since 1.0 + * @return array + */ + private function get_description_fields() { + return array( + 'id' => 'gravityformsrecaptcha_description', + 'title' => esc_html__( 'reCAPTCHA Settings', 'gravityformsrecaptcha' ), + 'description' => $this->get_settings_intro_description(), + 'fields' => array( + array( + 'type' => 'html', + ), + ), + ); + } + + /** + * Get the plugin settings fields for reCAPTCHA v3. + * + * @since 1.0 + * @return array + */ + private function get_v3_fields() { + $site_key = $this->get_recaptcha_key( 'site_key_v3', true ); + $secret_key = $this->get_recaptcha_key( 'secret_key_v3', true ); + + return array( + 'id' => 'gravityformsrecaptcha_v3', + 'title' => esc_html__( 'reCAPTCHA v3', 'gravityformsrecaptcha' ), + 'fields' => array( + array( + 'name' => 'site_key_v3', + 'label' => esc_html__( 'Site Key', 'gravityformsrecaptcha' ), + 'type' => 'text', + 'feedback_callback' => array( $this, 'v3_keys_status_feedback_callback' ), + 'readonly' => empty( $site_key ) ? '' : 'readonly', + 'after_input' => $this->get_constant_message( $site_key, 'GF_RECAPTCHA_V3_SITE_KEY' ), + ), + array( + 'name' => 'secret_key_v3', + 'label' => esc_html__( 'Secret Key', 'gravityformsrecaptcha' ), + 'type' => 'text', + 'feedback_callback' => array( $this, 'v3_keys_status_feedback_callback' ), + 'readonly' => empty( $secret_key ) ? '' : 'readonly', + 'after_input' => $this->get_constant_message( $secret_key, 'GF_RECAPTCHA_V3_SECRET_KEY' ), + ), + array( + 'name' => 'score_threshold_v3', + 'label' => esc_html__( 'Score Threshold', 'gravityformsrecaptcha' ), + 'description' => $this->get_score_threshold_description(), + 'default_value' => 0.5, + 'type' => 'text', + 'input_type' => 'number', + 'step' => '0.01', + 'min' => '0.0', + 'max' => '1.0', + 'validation_callback' => array( $this, 'validate_score_threshold_v3' ), + ), + array( + 'name' => 'disable_badge_v3', + 'label' => esc_html__( 'Disable Google reCAPTCHA Badge', 'gravityformsrecaptcha' ), + 'description' => esc_html__( 'By default reCAPTCHA v3 displays a badge on every page of your site with links to the Google terms of service and privacy policy. You are allowed to hide the badge as long as you include the reCAPTCHA branding and links visibly in the user flow.', 'gravityformsrecaptcha' ), + 'type' => 'checkbox', + 'choices' => array( + array( + 'name' => 'disable_badge_v3', + 'label' => esc_html__( 'I have added the reCAPTCHA branding, terms of service and privacy policy to my site. ', 'gravityformsrecaptcha' ), + ), + ), + ), + array( + 'name' => 'recaptcha_keys_status_v3', + 'type' => 'checkbox', + 'default_value' => $this->get_recaptcha_key( 'recaptcha_keys_status_v3' ), + 'hidden' => true, + 'choices' => array( + array( + 'type' => 'checkbox', + 'name' => 'recaptcha_keys_status_v3', + ), + ), + ), + ), + ); + } + + /** + * Returns the setting info message to be displayed when the value is defined using a constant. + * + * @since 1.3 + * + * @param string $value The value. + * @param string $constant The constant name. + * + * @return string + */ + private function get_constant_message( $value, $constant ) { + if ( empty( $value ) ) { + return ''; + } + + return '
' . sprintf( esc_html__( 'Value defined using the %s constant.', 'gravityformsrecaptcha' ), $constant ) . '
'; + } + + /** + * Get the plugin settings fields for reCAPTCHA v2. + * + * @since 1.0 + * @return array + */ + private function get_v2_fields() { + return array( + 'id' => 'gravityformsrecaptcha_v2', + 'title' => esc_html__( 'reCAPTCHA v2', 'gravityformsrecaptcha' ), + 'fields' => array( + array( + 'name' => 'site_key_v2', + 'label' => esc_html__( 'Site Key', 'gravityformsrecaptcha' ), + 'tooltip' => gform_tooltip( 'settings_recaptcha_public', null, true ), + 'type' => 'text', + 'feedback_callback' => array( $this, 'validate_key_v2' ), + ), + array( + 'name' => 'secret_key_v2', + 'label' => esc_html__( 'Secret Key', 'gravityformsrecaptcha' ), + 'tooltip' => gform_tooltip( 'settings_recaptcha_private', null, true ), + 'type' => 'text', + 'feedback_callback' => array( $this, 'validate_key_v2' ), + ), + array( + 'name' => 'type_v2', + 'label' => esc_html__( 'Type', 'gravityformsrecaptcha' ), + 'tooltip' => gform_tooltip( 'settings_recaptcha_type', null, true ), + 'type' => 'radio', + 'horizontal' => true, + 'default_value' => 'checkbox', + 'choices' => array( + array( + 'label' => esc_html__( 'Checkbox', 'gravityformsrecaptcha' ), + 'value' => 'checkbox', + ), + array( + 'label' => esc_html__( 'Invisible', 'gravityformsrecaptcha' ), + 'value' => 'invisible', + ), + ), + ), + array( + 'name' => 'reset_v2', + 'label' => esc_html__( 'Validate Keys', 'gravityformsrecaptcha' ), + 'type' => 'recaptcha_reset', + 'callback' => array( $this, 'handle_recaptcha_v2_reset' ), + 'hidden' => true, + 'validation_callback' => function( $field, $value ) { + + // If reCAPTCHA key is empty, exit. + if ( rgblank( $value ) ) { + return; + } + + $values = $this->addon->get_settings_renderer()->get_posted_values(); + + // Get public, private keys, API response. + $public_key = rgar( $values, 'site_key_v2' ); + $private_key = rgar( $values, 'secret_key_v2' ); + $response = rgpost( 'g-recaptcha-response' ); + + // If keys and response are provided, verify and save. + if ( $public_key && $private_key && $response ) { + // Log public, private keys, API response. + // @codingStandardsIgnoreStart - print_r okay for logging. + GFCommon::log_debug( __METHOD__ . '(): reCAPTCHA Site Key:' . print_r( $public_key, true ) ); + GFCommon::log_debug( __METHOD__ . '(): reCAPTCHA Secret Key:' . print_r( $private_key, true ) ); + GFCommon::log_debug( __METHOD__ . '(): reCAPTCHA Response:' . print_r( $response, true ) ); + + // Verify response. + $recaptcha = new GF_Field_CAPTCHA(); + $recaptcha_response = $recaptcha->verify_recaptcha_response( $response, $private_key ); + + // Log verification response. + GFCommon::log_debug( __METHOD__ . '(): reCAPTCHA verification response:' . print_r( $recaptcha_response, true ) ); + // @codingStandardsIgnoreEnd + + // If response is false, return validation error. + if ( $recaptcha_response === false ) { + $field->set_error( __( 'reCAPTCHA keys are invalid.', 'gravityformsrecaptcha' ) ); + } + + // Save status. + update_option( 'gform_recaptcha_keys_status', $recaptcha_response ); + } else { + // Delete existing status. + delete_option( 'gform_recaptcha_keys_status' ); + } + }, + ), + ), + ); + } + + /** + * Convert an array containing arrays of translated strings into HTML paragraphs. + * + * @param array $paragraphs An array of arrays containing translated text. + * + * @since 1.0 + * @return string + */ + private function get_description( array $paragraphs ) { + $description_text = array(); + + foreach ( $paragraphs as $paragraph ) { + $description_text[] = '

' . implode( ' ', $paragraph ) . '

'; + } + + return implode( '', $description_text ); + } + + /** + * Get the contents of the description field. + * + * @since 1.0 + * @return array + */ + private function get_settings_intro_description() { + $description = array(); + + $description[] = array( + esc_html__( 'Google reCAPTCHA is a free anti-spam service that protects your website from fraud and abuse.', 'gravityformsrecaptcha' ), + esc_html__( 'By adding reCAPTCHA to your forms, you can deter automated software from submitting form entries, while still ensuring a user-friendly experience for real people.', 'gravityformsrecaptcha' ), + ); + + $description[] = array( + esc_html__( 'Gravity Forms integrates with three types of Google reCAPTCHA.', 'gravityformsrecaptcha' ), + '
  • ', + esc_html__( 'reCAPTCHA v3 - Adds a script to every page of your site and uploads form content for processing by Google.', 'gravityformsrecaptcha' ), + esc_html__( 'All submissions are accepted and suspicious submissions are marked as spam.', 'gravityformsrecaptcha' ), + esc_html__( 'When reCAPTCHA v3 is configured, it is enabled automatically on all forms by default. It can be disabled for specific forms in the form settings.', 'gravityformsrecaptcha' ), + '
  • ', + esc_html__( 'reCAPTCHA v2 (Invisible) - Displays a badge on your form and will present a challenge to the user if the activity is suspicious e.g. select the traffic lights.', 'gravityformsrecaptcha' ), + esc_html__( 'Please note, only v2 keys are supported and checkbox keys are not compatible with invisible reCAPTCHA.', 'gravityformsrecaptcha' ), + esc_html__( 'To activate reCAPTCHA v2 on your form, simply add the CAPTCHA field in the form editor.', 'gravityformsrecaptcha' ), + sprintf( + '%s', + esc_url( 'https://docs.gravityforms.com/captcha/' ), + __( 'Read more about reCAPTCHA.', 'gravityformsrecaptcha' ) + ), + '
  • ', + esc_html__( 'reCAPTCHA v2 (Checkbox) - Requires a user to click a checkbox to indicate that they are not a robot and displays a challenge if the activity is suspicious', 'gravityformsrecaptcha' ), + '
', + ); + + $description[] = array( + esc_html__( 'For more information on reCAPTCHA, which version is right for you, and how to add it to your forms,', 'gravityformsrecaptcha' ), + sprintf( + '%s', + esc_url( 'https://docs.gravityforms.com/captcha/' ), + esc_html__( 'check out our documentation.', 'gravityformsrecaptcha' ) + ), + ); + + return $this->get_description( $description ); + } + + /** + * Get the description for the score threshold. + * + * @since 1.0 + * @return string + */ + private function get_score_threshold_description() { + $description = array( + array( + esc_html__( 'reCAPTCHA v3 returns a score (1.0 is very likely a good interaction, 0.0 is very likely a bot).', 'gravityformsrecaptcha' ), + esc_html__( 'If the score is less than or equal to this threshold, the form submission will be sent to spam.', 'gravityformsrecaptcha' ), + esc_html__( 'The default threshold is 0.5.', 'gravityformsrecaptcha' ), + sprintf( + 'Learn about about reCAPTCHA.', + esc_url( 'https://docs.gravityforms.com/captcha/' ) + ), + ), + ); + + return $this->get_description( $description ); + } + + /** + * Renders a reCAPTCHA verification field. + * + * @since 1.0 + * + * @param array $props Field properties. + * @param bool $echo Output the field markup directly. + * + * @return string + */ + public function handle_recaptcha_v2_reset( $props = array(), $echo = true ) { + // Add setup message. + $html = sprintf( + '

%s

', + esc_html__( 'Please complete the reCAPTCHA widget to validate your reCAPTCHA keys:', 'gravityforms' ) + ); + + // Add reCAPTCHA container, reset input. + $html .= '
'; + $html .= sprintf( '', esc_attr( $this->addon->get_settings_renderer()->get_input_name_prefix() ), esc_attr( $props['name'] ) ); + + return $html; + } + + /** + * Validate that the score is a number between 0.0 and 1.0 + * + * @since 1.0 + * + * @param Base $field Settings field object. + * @param string $score The submitted score threshold. + * + * @return bool + */ + public function validate_score_threshold_v3( $field, $score ) { + if ( ! $field instanceof Text ) { + $field->set_error( esc_html__( 'Unexpected field type.', 'gravityformsrecaptcha' ) ); + return false; + } + + $field_value = (float) $score; + + if ( ! is_numeric( $score ) || $field_value < $field->min || $field_value > $field->max ) { + $field->set_error( esc_html__( 'Score threshold must be between 0.0 and 1.0', 'gravityformsrecaptcha' ) ); + return false; + } + + return true; + } + + /** + * Returns true, false, or null, depending on the state of validation. + * + * The add-on framework will use this value to determine which field icon to display. + * + * @since 1.0 + * + * @param null|string $key_status The status of the key (a string of 1 or 0). + * @param string $value The posted value of the field to validate. + * + * @return bool|null + */ + public function check_validated_status( $key_status, $value ) { + if ( ! is_null( $key_status ) ) { + return (bool) $key_status; + } + + return rgblank( $value ) ? null : false; + } + + /** + * Return strue, false, or null, depending on the state of validation. + * + * The add-on framework will use this value to determine which field icon to display. + * + * @since 1.0 + * + * @param string $value The posted value of the field. + * + * @return bool|null + */ + public function validate_key_v2( $value ) { + return $this->check_validated_status( get_option( 'gform_recaptcha_keys_status', null ), $value ); + } + + /** + * Feedback callback for v3 key validation. + * + * @param string $value The posted value. + * + * @return bool|null + */ + public function v3_keys_status_feedback_callback( $value ) { + return $this->check_validated_status( $this->addon->get_setting( 'recaptcha_keys_status_v3' ), $value ); + } + + /** + * Ajax callback to verify the secret key on the plugin settings screen. + * + * @since 1.0 + */ + public function verify_v3_keys() { + $result = $this->token_verifier->verify( + sanitize_text_field( rgpost( 'token' ) ), + sanitize_text_field( rgpost( 'secret_key_v3' ) ) + ); + + $this->apply_status_changes( $result ); + + if ( is_wp_error( $result ) ) { + $this->addon->log_debug( __METHOD__ . '(): Failed to verify reCAPTCHA token. ' . $result->get_error_message() ); + + wp_send_json_error(); + } + + $this->addon->log_debug( __METHOD__ . '(): reCAPTCHA token successfully verified.' ); + + $result->keys_status = $this->addon->get_plugin_setting( 'recaptcha_keys_status_v3' ); + + wp_send_json_success( $result ); + } + + /** + * Applies updates to the verified key status when the site and secret v3 keys are saved. + * + * @since 1.0 + * + * @param object $response The response of the secret key verification process. + */ + private function apply_status_changes( $response ) { + $posted_keys = $this->get_posted_keys(); + + // Set the updated status of the keys. + $posted_keys['recaptcha_keys_status_v3'] = ( ! is_wp_error( $response ) && $response->success === true ) ? '1' : '0'; + + $this->addon->update_plugin_settings( + array_merge( + $this->addon->get_plugin_settings(), + $posted_keys + ) + ); + } + + /** + * Get the posted of the v3 keys from the settings page. + * + * @since 1.0 + * + * @return array + */ + private function get_posted_keys() { + $settings = $this->addon->get_plugin_settings(); + $posted_site_key = $this->get_posted_key( 'site_key_v3' ); + $posted_secret_key = $this->get_posted_key( 'secret_key_v3' ); + + if ( + $posted_site_key === rgar( $settings, 'site_key_v3' ) + && $posted_secret_key === rgar( $settings, 'secret_key_v3' ) + ) { + return array(); + } + + return array( + 'site_key_v3' => $posted_site_key, + 'secret_key_v3' => $posted_secret_key, + ); + } + + /** + * Gets the value of the specified input from the $_POST. + * + * @since 1.3 + * + * @param string $key_name The name of the key to retrieve. + * + * @return string + */ + private function get_posted_key( $key_name ) { + if ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) { + $key_name = "_gform_setting_{$key_name}"; + } + + return sanitize_text_field( rgpost( $key_name ) ); + } + + /** + * Get the value of one of the reCAPTCHA keys from the plugin settings. + * + * Checks first for a value defined as a constant, and secondarily, the add-on options. + * + * @since 1.0 + * @since 1.3 Added the $only_from_constant param. + * + * @param string $key_name The name of the key to retrieve. + * @param bool $only_from_constant Indicates if value should only be retrieved from the constant. + * + * @return string + */ + public function get_recaptcha_key( $key_name, $only_from_constant = false ) { + if ( ! $only_from_constant && is_admin() ) { + $posted_key = $this->get_posted_key( $key_name ); + + if ( $posted_key ) { + return $posted_key; + } + } + + $keys = array( + 'site_key_v3' => defined( 'GF_RECAPTCHA_V3_SITE_KEY' ) ? GF_RECAPTCHA_V3_SITE_KEY : '', + 'secret_key_v3' => defined( 'GF_RECAPTCHA_V3_SECRET_KEY' ) ? GF_RECAPTCHA_V3_SECRET_KEY : '', + 'site_key_v2' => '', + 'secret_key_v2' => '', + ); + + if ( ! in_array( $key_name, array_keys( $keys ), true ) ) { + return ''; + } + + $key = rgar( $keys, $key_name, '' ); + + if ( ! empty( $key ) || $only_from_constant ) { + return $key; + } + + $key = $this->addon->get_plugin_setting( $key_name ); + + return ! empty( $key ) ? $key : ''; + } +} diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.js b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.js new file mode 100644 index 00000000..7e842c12 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.js @@ -0,0 +1,146 @@ +/******/ (function() { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./js/src/frontend-legacy.js": +/*!***********************************!*\ + !*** ./js/src/frontend-legacy.js ***! + \***********************************/ +/***/ (function() { + +var _this = this; +/* global jQuery, gform, gforms_recaptcha_recaptcha_strings, grecaptcha */ +(function ($, gform, grecaptcha, strings) { + /** + * Make the API request to Google to get the reCAPTCHA token right before submission. + * + * @since 1.0 + * + * @param {Object} e The event object. + * @return {void} + */ + var getToken = function getToken(e) { + var form = $(e.data.form); + var recaptchaField = form.find('.ginput_recaptchav3'); + var dataInput = recaptchaField.find('.gfield_recaptcha_response'); + if (!dataInput.length || dataInput.val().length) { + return; + } + e.preventDefault(); + grecaptcha.ready(function () { + grecaptcha.execute(strings.site_key, { + action: 'submit' + }).then(function (token) { + if (token.length && typeof token === 'string') { + dataInput.val(token); + } + + // Sometimes the submit button is disabled to prevent the user from clicking it again, + // for example when 3DS is being processed for stripe elements. + // We need to enable it before submitting the form, otherwise it won't be submitted. + var $submitButton = $('#gform_submit_button_' + form[0].dataset.formid); + if ($submitButton.prop('disabled') === true) { + $submitButton.prop('disabled', false); + } + form.submit(); + }); + }); + }; + + /** + * Add event listeners to the form. + * + * @since 1.0 + * + * @param {string|number} formId The numeric ID of the form. + * @return {void} + */ + var addFormEventListeners = function addFormEventListeners(formId) { + var $form = $("#gform_".concat(formId, ":not(.recaptcha-v3-initialized)")); + $form.on('submit', { + form: $form + }, getToken); + $form.addClass('recaptcha-v3-initialized'); + }; + + /** + * The reCAPTCHA handler. + * + * @since 1.0 + * + * @return {void} + */ + var gfRecaptcha = function gfRecaptcha() { + var self = _this; + + /** + * Initialize the Recaptcha handler. + * + * @since 1.0 + * + * @return {void} + */ + self.init = function () { + self.elements = { + formIds: self.getFormIds() + }; + self.addEventListeners(); + }; + + /** + * Get an array of form IDs. + * + * @since 1.0 + * + * @return {Array} Array of form IDs. + */ + self.getFormIds = function () { + var ids = []; + var forms = document.querySelectorAll('.gform_wrapper form'); + forms.forEach(function (form) { + if ('formid' in form.dataset) { + ids.push(form.dataset.formid); + } else { + ids.push(form.getAttribute('id').split('gform_')[1]); + } + }); + return ids; + }; + + /** + * Add event listeners to the page. + * + * @since 1.0 + * + * @return {void} + */ + self.addEventListeners = function () { + self.elements.formIds.forEach(function (formId) { + addFormEventListeners(formId); + }); + $(document).on('gform_post_render', function (event, formId) { + addFormEventListeners(formId); + }); + }; + self.init(); + }; + + // Initialize and run the whole shebang. + $(document).ready(function () { + gfRecaptcha(); + }); +})(jQuery, gform, grecaptcha, gforms_recaptcha_recaptcha_strings); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module is referenced by other modules so it can't be inlined +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./js/src/frontend-legacy.js"](); +/******/ +/******/ })() +; +//# sourceMappingURL=frontend-legacy.js.map \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.js.map b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.js.map new file mode 100644 index 00000000..1c4e85bb --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"./js/frontend-legacy.js","mappings":";;;;;;;;;;AAAA;AACA,CAAE,UAAEA,CAAC,EAAEC,KAAK,EAAEC,UAAU,EAAEC,OAAO,EAAM;EACtC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;EACC,IAAMC,QAAQ,GAAG,SAAXA,QAAQA,CAAKC,CAAC,EAAM;IACzB,IAAMC,IAAI,GAAGN,CAAC,CAAEK,CAAC,CAACE,IAAI,CAACD,IAAK,CAAC;IAC7B,IAAME,cAAc,GAAGF,IAAI,CAACG,IAAI,CAAE,qBAAsB,CAAC;IACzD,IAAMC,SAAS,GAAGF,cAAc,CAACC,IAAI,CAAE,4BAA6B,CAAC;IAErE,IAAK,CAAEC,SAAS,CAACC,MAAM,IAAID,SAAS,CAACE,GAAG,CAAC,CAAC,CAACD,MAAM,EAAG;MACnD;IACD;IAEAN,CAAC,CAACQ,cAAc,CAAC,CAAC;IAElBX,UAAU,CAACY,KAAK,CAAE,YAAM;MACvBZ,UAAU,CAACa,OAAO,CAAEZ,OAAO,CAACa,QAAQ,EAAE;QAAEC,MAAM,EAAE;MAAS,CAAE,CAAC,CAC1DC,IAAI,CAAE,UAAEC,KAAK,EAAM;QACnB,IAAKA,KAAK,CAACR,MAAM,IAAI,OAAOQ,KAAK,KAAK,QAAQ,EAAG;UAChDT,SAAS,CAACE,GAAG,CAAEO,KAAM,CAAC;QACvB;;QAEA;QACA;QACA;QACA,IAAMC,aAAa,GAAGpB,CAAC,CAAE,uBAAuB,GAAGM,IAAI,CAAC,CAAC,CAAC,CAACe,OAAO,CAACC,MAAO,CAAC;QAC3E,IAAKF,aAAa,CAACG,IAAI,CAAE,UAAW,CAAC,KAAK,IAAI,EAAG;UAChDH,aAAa,CAACG,IAAI,CAAE,UAAU,EAAE,KAAM,CAAC;QACxC;QAEAjB,IAAI,CAACkB,MAAM,CAAC,CAAC;MACd,CAAE,CAAC;IACL,CAAE,CAAC;EACJ,CAAC;;EAED;AACD;AACA;AACA;AACA;AACA;AACA;AACA;EACC,IAAMC,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAKC,MAAM,EAAM;IAC3C,IAAMC,KAAK,GAAG3B,CAAC,WAAA4B,MAAA,CAAaF,MAAM,oCAAmC,CAAC;IAEtEC,KAAK,CAACE,EAAE,CAAE,QAAQ,EAAE;MAAEvB,IAAI,EAAEqB;IAAM,CAAC,EAAEvB,QAAS,CAAC;IAE/CuB,KAAK,CAACG,QAAQ,CAAE,0BAA2B,CAAC;EAC7C,CAAC;;EAED;AACD;AACA;AACA;AACA;AACA;AACA;EACC,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAA,EAAS;IACzB,IAAMC,IAAI,GAAGC,KAAI;;IAEjB;AACF;AACA;AACA;AACA;AACA;AACA;IACED,IAAI,CAACE,IAAI,GAAG,YAAM;MACjBF,IAAI,CAACG,QAAQ,GAAG;QACfC,OAAO,EAAEJ,IAAI,CAACK,UAAU,CAAC;MAC1B,CAAC;MACDL,IAAI,CAACM,iBAAiB,CAAC,CAAC;IACzB,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACEN,IAAI,CAACK,UAAU,GAAG,YAAM;MACvB,IAAME,GAAG,GAAG,EAAE;MACd,IAAMC,KAAK,GAAGC,QAAQ,CAACC,gBAAgB,CAAE,qBAAsB,CAAC;MAEhEF,KAAK,CAACG,OAAO,CAAE,UAAErC,IAAI,EAAM;QAC1B,IAAK,QAAQ,IAAIA,IAAI,CAACe,OAAO,EAAG;UAC/BkB,GAAG,CAACK,IAAI,CAAEtC,IAAI,CAACe,OAAO,CAACC,MAAO,CAAC;QAChC,CAAC,MAAM;UACNiB,GAAG,CAACK,IAAI,CAAEtC,IAAI,CAACuC,YAAY,CAAE,IAAK,CAAC,CAACC,KAAK,CAAE,QAAS,CAAC,CAAE,CAAC,CAAG,CAAC;QAC7D;MACD,CAAE,CAAC;MAEH,OAAOP,GAAG;IACX,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACEP,IAAI,CAACM,iBAAiB,GAAG,YAAM;MAC9BN,IAAI,CAACG,QAAQ,CAACC,OAAO,CAACO,OAAO,CAAE,UAAEjB,MAAM,EAAM;QAC5CD,qBAAqB,CAAEC,MAAO,CAAC;MAChC,CAAE,CAAC;MAEH1B,CAAC,CAAEyC,QAAS,CAAC,CAACZ,EAAE,CAAE,mBAAmB,EAAE,UAAEkB,KAAK,EAAErB,MAAM,EAAM;QAC3DD,qBAAqB,CAAEC,MAAO,CAAC;MAChC,CAAE,CAAC;IACJ,CAAC;IAEDM,IAAI,CAACE,IAAI,CAAC,CAAC;EACZ,CAAC;;EAED;EACAlC,CAAC,CAAEyC,QAAS,CAAC,CAAC3B,KAAK,CAAE,YAAM;IAC1BiB,WAAW,CAAC,CAAC;EACd,CAAE,CAAC;AACJ,CAAC,EAAIiB,MAAM,EAAE/C,KAAK,EAAEC,UAAU,EAAE+C,kCAAmC,CAAC;;;;;;;UE/HpE;UACA;UACA;UACA;UACA","sources":["webpack://gravityformsrecaptcha/./js/src/frontend-legacy.js","webpack://gravityformsrecaptcha/webpack/before-startup","webpack://gravityformsrecaptcha/webpack/startup","webpack://gravityformsrecaptcha/webpack/after-startup"],"sourcesContent":["/* global jQuery, gform, gforms_recaptcha_recaptcha_strings, grecaptcha */\n( ( $, gform, grecaptcha, strings ) => {\n\t/**\n\t * Make the API request to Google to get the reCAPTCHA token right before submission.\n\t *\n\t * @since 1.0\n\t *\n\t * @param {Object} e The event object.\n\t * @return {void}\n\t */\n\tconst getToken = ( e ) => {\n\t\tconst form = $( e.data.form );\n\t\tconst recaptchaField = form.find( '.ginput_recaptchav3' );\n\t\tconst dataInput = recaptchaField.find( '.gfield_recaptcha_response' );\n\n\t\tif ( ! dataInput.length || dataInput.val().length ) {\n\t\t\treturn;\n\t\t}\n\n\t\te.preventDefault();\n\n\t\tgrecaptcha.ready( () => {\n\t\t\tgrecaptcha.execute( strings.site_key, { action: 'submit' } )\n\t\t\t\t.then( ( token ) => {\n\t\t\t\t\tif ( token.length && typeof token === 'string' ) {\n\t\t\t\t\t\tdataInput.val( token );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Sometimes the submit button is disabled to prevent the user from clicking it again,\n\t\t\t\t\t// for example when 3DS is being processed for stripe elements.\n\t\t\t\t\t// We need to enable it before submitting the form, otherwise it won't be submitted.\n\t\t\t\t\tconst $submitButton = $( '#gform_submit_button_' + form[0].dataset.formid );\n\t\t\t\t\tif ( $submitButton.prop( 'disabled' ) === true ) {\n\t\t\t\t\t\t$submitButton.prop( 'disabled', false );\n\t\t\t\t\t}\n\n\t\t\t\t\tform.submit();\n\t\t\t\t} );\n\t\t} );\n\t};\n\n\t/**\n\t * Add event listeners to the form.\n\t *\n\t * @since 1.0\n\t *\n\t * @param {string|number} formId The numeric ID of the form.\n\t * @return {void}\n\t */\n\tconst addFormEventListeners = ( formId ) => {\n\t\tconst $form = $( `#gform_${ formId }:not(.recaptcha-v3-initialized)` );\n\n\t\t$form.on( 'submit', { form: $form }, getToken );\n\n\t\t$form.addClass( 'recaptcha-v3-initialized' );\n\t};\n\n\t/**\n\t * The reCAPTCHA handler.\n\t *\n\t * @since 1.0\n\t *\n\t * @return {void}\n\t */\n\tconst gfRecaptcha = () => {\n\t\tconst self = this;\n\n\t\t/**\n\t\t * Initialize the Recaptcha handler.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tself.init = () => {\n\t\t\tself.elements = {\n\t\t\t\tformIds: self.getFormIds(),\n\t\t\t};\n\t\t\tself.addEventListeners();\n\t\t};\n\n\t\t/**\n\t\t * Get an array of form IDs.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {Array} Array of form IDs.\n\t\t */\n\t\tself.getFormIds = () => {\n\t\t\tconst ids = [];\n\t\t\tconst forms = document.querySelectorAll( '.gform_wrapper form' );\n\n\t\t\tforms.forEach( ( form ) => {\n\t\t\t\tif ( 'formid' in form.dataset ) {\n\t\t\t\t\tids.push( form.dataset.formid );\n\t\t\t\t} else {\n\t\t\t\t\tids.push( form.getAttribute( 'id' ).split( 'gform_' )[ 1 ] );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\treturn ids;\n\t\t};\n\n\t\t/**\n\t\t * Add event listeners to the page.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tself.addEventListeners = () => {\n\t\t\tself.elements.formIds.forEach( ( formId ) => {\n\t\t\t\taddFormEventListeners( formId );\n\t\t\t} );\n\n\t\t\t$( document ).on( 'gform_post_render', ( event, formId ) => {\n\t\t\t\taddFormEventListeners( formId );\n\t\t\t} );\n\t\t};\n\n\t\tself.init();\n\t};\n\n\t// Initialize and run the whole shebang.\n\t$( document ).ready( () => {\n\t\tgfRecaptcha();\n\t} );\n} )( jQuery, gform, grecaptcha, gforms_recaptcha_recaptcha_strings );\n","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = {};\n__webpack_modules__[\"./js/src/frontend-legacy.js\"]();\n",""],"names":["$","gform","grecaptcha","strings","getToken","e","form","data","recaptchaField","find","dataInput","length","val","preventDefault","ready","execute","site_key","action","then","token","$submitButton","dataset","formid","prop","submit","addFormEventListeners","formId","$form","concat","on","addClass","gfRecaptcha","self","_this","init","elements","formIds","getFormIds","addEventListeners","ids","forms","document","querySelectorAll","forEach","push","getAttribute","split","event","jQuery","gforms_recaptcha_recaptcha_strings"],"sourceRoot":""} \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.min.js b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.min.js new file mode 100644 index 00000000..43471acb --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend-legacy.min.js @@ -0,0 +1 @@ +({966:function(){var t=this;!function(e,n,r,i){var a=function(t){var n=e(t.data.form),a=n.find(".ginput_recaptchav3").find(".gfield_recaptcha_response");a.length&&!a.val().length&&(t.preventDefault(),r.ready((function(){r.execute(i.site_key,{action:"submit"}).then((function(t){t.length&&"string"==typeof t&&a.val(t);var r=e("#gform_submit_button_"+n[0].dataset.formid);!0===r.prop("disabled")&&r.prop("disabled",!1),n.submit()}))})))},o=function(t){var n=e("#gform_".concat(t,":not(.recaptcha-v3-initialized)"));n.on("submit",{form:n},a),n.addClass("recaptcha-v3-initialized")};e(document).ready((function(){var n;(n=t).init=function(){n.elements={formIds:n.getFormIds()},n.addEventListeners()},n.getFormIds=function(){var t=[];return document.querySelectorAll(".gform_wrapper form").forEach((function(e){"formid"in e.dataset?t.push(e.dataset.formid):t.push(e.getAttribute("id").split("gform_")[1])})),t},n.addEventListeners=function(){n.elements.formIds.forEach((function(t){o(t)})),e(document).on("gform_post_render",(function(t,e){o(e)}))},n.init()}))}(jQuery,gform,grecaptcha,gforms_recaptcha_recaptcha_strings)}})[966](); \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.js b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.js new file mode 100644 index 00000000..0381db13 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.js @@ -0,0 +1,106 @@ +/******/ (function() { // webpackBootstrap +var __webpack_exports__ = {}; +/*!****************************!*\ + !*** ./js/src/frontend.js ***! + \****************************/ +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; } +function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); } +function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; } +/* global gform, gforms_recaptcha_recaptcha_strings, grecaptcha */ +(function (gform, grecaptcha, strings) { + var init = function init() { + var isInitialized = false; + document.addEventListener('gform/postRender', function (event) { + // Abort if already initialized. + if (isInitialized) { + return; + } + isInitialized = true; + + // Executing on AJAX validation. + gform.utils.addAsyncFilter('gform/ajax/pre_ajax_validation', /*#__PURE__*/function () { + var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) { + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return executeRecaptcha(data.form); + case 2: + return _context.abrupt("return", data); + case 3: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function (_x) { + return _ref.apply(this, arguments); + }; + }()); + + // Executing recaptcha on form submission or Next button click. + gform.utils.addAsyncFilter('gform/submission/pre_submission', /*#__PURE__*/function () { + var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(data) { + var recaptchaRequired; + return _regeneratorRuntime().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + recaptchaRequired = data.submissionType === gform.submission.SUBMISSION_TYPE_SUBMIT || data.submissionType === gform.submission.SUBMISSION_TYPE_NEXT; + if (!(recaptchaRequired && !data.abort)) { + _context2.next = 4; + break; + } + _context2.next = 4; + return executeRecaptcha(data.form); + case 4: + return _context2.abrupt("return", data); + case 5: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function (_x2) { + return _ref2.apply(this, arguments); + }; + }()); + }); + }; + var executeRecaptcha = /*#__PURE__*/function () { + var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(form) { + var dataInput, token; + return _regeneratorRuntime().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + dataInput = form.querySelector('.ginput_recaptchav3 .gfield_recaptcha_response'); // If reCAPTCHA fields can't be found, or recaptcha response is already set, don't execute reCAPTCHA. + if (!(!dataInput || dataInput.value.length)) { + _context3.next = 3; + break; + } + return _context3.abrupt("return"); + case 3: + _context3.next = 5; + return grecaptcha.execute(strings.site_key, { + action: 'submit' + }); + case 5: + token = _context3.sent; + if (token.length && typeof token === 'string') { + dataInput.value = token; + } + case 7: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function executeRecaptcha(_x3) { + return _ref3.apply(this, arguments); + }; + }(); + init(); +})(gform, grecaptcha, gforms_recaptcha_recaptcha_strings); +/******/ })() +; +//# sourceMappingURL=frontend.js.map \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.js.map b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.js.map new file mode 100644 index 00000000..5c357136 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.js.map @@ -0,0 +1 @@ +{"version":3,"file":"./js/frontend.js","mappings":";;;;;;+CACA,qJAAAA,mBAAA,YAAAA,oBAAA,WAAAC,CAAA,SAAAC,CAAA,EAAAD,CAAA,OAAAE,CAAA,GAAAC,MAAA,CAAAC,SAAA,EAAAC,CAAA,GAAAH,CAAA,CAAAI,cAAA,EAAAC,CAAA,GAAAJ,MAAA,CAAAK,cAAA,cAAAP,CAAA,EAAAD,CAAA,EAAAE,CAAA,IAAAD,CAAA,CAAAD,CAAA,IAAAE,CAAA,CAAAO,KAAA,KAAAC,CAAA,wBAAAC,MAAA,GAAAA,MAAA,OAAAC,CAAA,GAAAF,CAAA,CAAAG,QAAA,kBAAAC,CAAA,GAAAJ,CAAA,CAAAK,aAAA,uBAAAC,CAAA,GAAAN,CAAA,CAAAO,WAAA,8BAAAC,OAAAjB,CAAA,EAAAD,CAAA,EAAAE,CAAA,WAAAC,MAAA,CAAAK,cAAA,CAAAP,CAAA,EAAAD,CAAA,IAAAS,KAAA,EAAAP,CAAA,EAAAiB,UAAA,MAAAC,YAAA,MAAAC,QAAA,SAAApB,CAAA,CAAAD,CAAA,WAAAkB,MAAA,mBAAAjB,CAAA,IAAAiB,MAAA,YAAAA,OAAAjB,CAAA,EAAAD,CAAA,EAAAE,CAAA,WAAAD,CAAA,CAAAD,CAAA,IAAAE,CAAA,gBAAAoB,KAAArB,CAAA,EAAAD,CAAA,EAAAE,CAAA,EAAAG,CAAA,QAAAK,CAAA,GAAAV,CAAA,IAAAA,CAAA,CAAAI,SAAA,YAAAmB,SAAA,GAAAvB,CAAA,GAAAuB,SAAA,EAAAX,CAAA,GAAAT,MAAA,CAAAqB,MAAA,CAAAd,CAAA,CAAAN,SAAA,GAAAU,CAAA,OAAAW,OAAA,CAAApB,CAAA,gBAAAE,CAAA,CAAAK,CAAA,eAAAH,KAAA,EAAAiB,gBAAA,CAAAzB,CAAA,EAAAC,CAAA,EAAAY,CAAA,MAAAF,CAAA,aAAAe,SAAA1B,CAAA,EAAAD,CAAA,EAAAE,CAAA,mBAAA0B,IAAA,YAAAC,GAAA,EAAA5B,CAAA,CAAA6B,IAAA,CAAA9B,CAAA,EAAAE,CAAA,cAAAD,CAAA,aAAA2B,IAAA,WAAAC,GAAA,EAAA5B,CAAA,QAAAD,CAAA,CAAAsB,IAAA,GAAAA,IAAA,MAAAS,CAAA,qBAAAC,CAAA,qBAAAC,CAAA,gBAAAC,CAAA,gBAAAC,CAAA,gBAAAZ,UAAA,cAAAa,kBAAA,cAAAC,2BAAA,SAAAC,CAAA,OAAApB,MAAA,CAAAoB,CAAA,EAAA1B,CAAA,qCAAA2B,CAAA,GAAApC,MAAA,CAAAqC,cAAA,EAAAC,CAAA,GAAAF,CAAA,IAAAA,CAAA,CAAAA,CAAA,CAAAG,MAAA,QAAAD,CAAA,IAAAA,CAAA,KAAAvC,CAAA,IAAAG,CAAA,CAAAyB,IAAA,CAAAW,CAAA,EAAA7B,CAAA,MAAA0B,CAAA,GAAAG,CAAA,OAAAE,CAAA,GAAAN,0BAAA,CAAAjC,SAAA,GAAAmB,SAAA,CAAAnB,SAAA,GAAAD,MAAA,CAAAqB,MAAA,CAAAc,CAAA,YAAAM,sBAAA3C,CAAA,gCAAA4C,OAAA,WAAA7C,CAAA,IAAAkB,MAAA,CAAAjB,CAAA,EAAAD,CAAA,YAAAC,CAAA,gBAAA6C,OAAA,CAAA9C,CAAA,EAAAC,CAAA,sBAAA8C,cAAA9C,CAAA,EAAAD,CAAA,aAAAgD,OAAA9C,CAAA,EAAAK,CAAA,EAAAG,CAAA,EAAAE,CAAA,QAAAE,CAAA,GAAAa,QAAA,CAAA1B,CAAA,CAAAC,CAAA,GAAAD,CAAA,EAAAM,CAAA,mBAAAO,CAAA,CAAAc,IAAA,QAAAZ,CAAA,GAAAF,CAAA,CAAAe,GAAA,EAAAE,CAAA,GAAAf,CAAA,CAAAP,KAAA,SAAAsB,CAAA,gBAAAkB,OAAA,CAAAlB,CAAA,KAAA1B,CAAA,CAAAyB,IAAA,CAAAC,CAAA,eAAA/B,CAAA,CAAAkD,OAAA,CAAAnB,CAAA,CAAAoB,OAAA,EAAAC,IAAA,WAAAnD,CAAA,IAAA+C,MAAA,SAAA/C,CAAA,EAAAS,CAAA,EAAAE,CAAA,gBAAAX,CAAA,IAAA+C,MAAA,UAAA/C,CAAA,EAAAS,CAAA,EAAAE,CAAA,QAAAZ,CAAA,CAAAkD,OAAA,CAAAnB,CAAA,EAAAqB,IAAA,WAAAnD,CAAA,IAAAe,CAAA,CAAAP,KAAA,GAAAR,CAAA,EAAAS,CAAA,CAAAM,CAAA,gBAAAf,CAAA,WAAA+C,MAAA,UAAA/C,CAAA,EAAAS,CAAA,EAAAE,CAAA,SAAAA,CAAA,CAAAE,CAAA,CAAAe,GAAA,SAAA3B,CAAA,EAAAK,CAAA,oBAAAE,KAAA,WAAAA,MAAAR,CAAA,EAAAI,CAAA,aAAAgD,2BAAA,eAAArD,CAAA,WAAAA,CAAA,EAAAE,CAAA,IAAA8C,MAAA,CAAA/C,CAAA,EAAAI,CAAA,EAAAL,CAAA,EAAAE,CAAA,gBAAAA,CAAA,GAAAA,CAAA,GAAAA,CAAA,CAAAkD,IAAA,CAAAC,0BAAA,EAAAA,0BAAA,IAAAA,0BAAA,qBAAA3B,iBAAA1B,CAAA,EAAAE,CAAA,EAAAG,CAAA,QAAAE,CAAA,GAAAwB,CAAA,mBAAArB,CAAA,EAAAE,CAAA,QAAAL,CAAA,KAAA0B,CAAA,QAAAqB,KAAA,sCAAA/C,CAAA,KAAA2B,CAAA,oBAAAxB,CAAA,QAAAE,CAAA,WAAAH,KAAA,EAAAR,CAAA,EAAAsD,IAAA,eAAAlD,CAAA,CAAAmD,MAAA,GAAA9C,CAAA,EAAAL,CAAA,CAAAwB,GAAA,GAAAjB,CAAA,UAAAE,CAAA,GAAAT,CAAA,CAAAoD,QAAA,MAAA3C,CAAA,QAAAE,CAAA,GAAA0C,mBAAA,CAAA5C,CAAA,EAAAT,CAAA,OAAAW,CAAA,QAAAA,CAAA,KAAAmB,CAAA,mBAAAnB,CAAA,qBAAAX,CAAA,CAAAmD,MAAA,EAAAnD,CAAA,CAAAsD,IAAA,GAAAtD,CAAA,CAAAuD,KAAA,GAAAvD,CAAA,CAAAwB,GAAA,sBAAAxB,CAAA,CAAAmD,MAAA,QAAAjD,CAAA,KAAAwB,CAAA,QAAAxB,CAAA,GAAA2B,CAAA,EAAA7B,CAAA,CAAAwB,GAAA,EAAAxB,CAAA,CAAAwD,iBAAA,CAAAxD,CAAA,CAAAwB,GAAA,uBAAAxB,CAAA,CAAAmD,MAAA,IAAAnD,CAAA,CAAAyD,MAAA,WAAAzD,CAAA,CAAAwB,GAAA,GAAAtB,CAAA,GAAA0B,CAAA,MAAAK,CAAA,GAAAX,QAAA,CAAA3B,CAAA,EAAAE,CAAA,EAAAG,CAAA,oBAAAiC,CAAA,CAAAV,IAAA,QAAArB,CAAA,GAAAF,CAAA,CAAAkD,IAAA,GAAArB,CAAA,GAAAF,CAAA,EAAAM,CAAA,CAAAT,GAAA,KAAAM,CAAA,qBAAA1B,KAAA,EAAA6B,CAAA,CAAAT,GAAA,EAAA0B,IAAA,EAAAlD,CAAA,CAAAkD,IAAA,kBAAAjB,CAAA,CAAAV,IAAA,KAAArB,CAAA,GAAA2B,CAAA,EAAA7B,CAAA,CAAAmD,MAAA,YAAAnD,CAAA,CAAAwB,GAAA,GAAAS,CAAA,CAAAT,GAAA,mBAAA6B,oBAAA1D,CAAA,EAAAE,CAAA,QAAAG,CAAA,GAAAH,CAAA,CAAAsD,MAAA,EAAAjD,CAAA,GAAAP,CAAA,CAAAa,QAAA,CAAAR,CAAA,OAAAE,CAAA,KAAAN,CAAA,SAAAC,CAAA,CAAAuD,QAAA,qBAAApD,CAAA,IAAAL,CAAA,CAAAa,QAAA,CAAAkD,MAAA,KAAA7D,CAAA,CAAAsD,MAAA,aAAAtD,CAAA,CAAA2B,GAAA,GAAA5B,CAAA,EAAAyD,mBAAA,CAAA1D,CAAA,EAAAE,CAAA,eAAAA,CAAA,CAAAsD,MAAA,kBAAAnD,CAAA,KAAAH,CAAA,CAAAsD,MAAA,YAAAtD,CAAA,CAAA2B,GAAA,OAAAmC,SAAA,uCAAA3D,CAAA,iBAAA8B,CAAA,MAAAzB,CAAA,GAAAiB,QAAA,CAAApB,CAAA,EAAAP,CAAA,CAAAa,QAAA,EAAAX,CAAA,CAAA2B,GAAA,mBAAAnB,CAAA,CAAAkB,IAAA,SAAA1B,CAAA,CAAAsD,MAAA,YAAAtD,CAAA,CAAA2B,GAAA,GAAAnB,CAAA,CAAAmB,GAAA,EAAA3B,CAAA,CAAAuD,QAAA,SAAAtB,CAAA,MAAAvB,CAAA,GAAAF,CAAA,CAAAmB,GAAA,SAAAjB,CAAA,GAAAA,CAAA,CAAA2C,IAAA,IAAArD,CAAA,CAAAF,CAAA,CAAAiE,UAAA,IAAArD,CAAA,CAAAH,KAAA,EAAAP,CAAA,CAAAgE,IAAA,GAAAlE,CAAA,CAAAmE,OAAA,eAAAjE,CAAA,CAAAsD,MAAA,KAAAtD,CAAA,CAAAsD,MAAA,WAAAtD,CAAA,CAAA2B,GAAA,GAAA5B,CAAA,GAAAC,CAAA,CAAAuD,QAAA,SAAAtB,CAAA,IAAAvB,CAAA,IAAAV,CAAA,CAAAsD,MAAA,YAAAtD,CAAA,CAAA2B,GAAA,OAAAmC,SAAA,sCAAA9D,CAAA,CAAAuD,QAAA,SAAAtB,CAAA,cAAAiC,aAAAnE,CAAA,QAAAD,CAAA,KAAAqE,MAAA,EAAApE,CAAA,YAAAA,CAAA,KAAAD,CAAA,CAAAsE,QAAA,GAAArE,CAAA,WAAAA,CAAA,KAAAD,CAAA,CAAAuE,UAAA,GAAAtE,CAAA,KAAAD,CAAA,CAAAwE,QAAA,GAAAvE,CAAA,WAAAwE,UAAA,CAAAC,IAAA,CAAA1E,CAAA,cAAA2E,cAAA1E,CAAA,QAAAD,CAAA,GAAAC,CAAA,CAAA2E,UAAA,QAAA5E,CAAA,CAAA4B,IAAA,oBAAA5B,CAAA,CAAA6B,GAAA,EAAA5B,CAAA,CAAA2E,UAAA,GAAA5E,CAAA,aAAAyB,QAAAxB,CAAA,SAAAwE,UAAA,MAAAJ,MAAA,aAAApE,CAAA,CAAA4C,OAAA,CAAAuB,YAAA,cAAAS,KAAA,iBAAAnC,OAAA1C,CAAA,QAAAA,CAAA,WAAAA,CAAA,QAAAE,CAAA,GAAAF,CAAA,CAAAY,CAAA,OAAAV,CAAA,SAAAA,CAAA,CAAA4B,IAAA,CAAA9B,CAAA,4BAAAA,CAAA,CAAAkE,IAAA,SAAAlE,CAAA,OAAA8E,KAAA,CAAA9E,CAAA,CAAA+E,MAAA,SAAAxE,CAAA,OAAAG,CAAA,YAAAwD,KAAA,aAAA3D,CAAA,GAAAP,CAAA,CAAA+E,MAAA,OAAA1E,CAAA,CAAAyB,IAAA,CAAA9B,CAAA,EAAAO,CAAA,UAAA2D,IAAA,CAAAzD,KAAA,GAAAT,CAAA,CAAAO,CAAA,GAAA2D,IAAA,CAAAX,IAAA,OAAAW,IAAA,SAAAA,IAAA,CAAAzD,KAAA,GAAAR,CAAA,EAAAiE,IAAA,CAAAX,IAAA,OAAAW,IAAA,YAAAxD,CAAA,CAAAwD,IAAA,GAAAxD,CAAA,gBAAAsD,SAAA,CAAAf,OAAA,CAAAjD,CAAA,kCAAAoC,iBAAA,CAAAhC,SAAA,GAAAiC,0BAAA,EAAA9B,CAAA,CAAAoC,CAAA,mBAAAlC,KAAA,EAAA4B,0BAAA,EAAAjB,YAAA,SAAAb,CAAA,CAAA8B,0BAAA,mBAAA5B,KAAA,EAAA2B,iBAAA,EAAAhB,YAAA,SAAAgB,iBAAA,CAAA4C,WAAA,GAAA9D,MAAA,CAAAmB,0BAAA,EAAArB,CAAA,wBAAAhB,CAAA,CAAAiF,mBAAA,aAAAhF,CAAA,QAAAD,CAAA,wBAAAC,CAAA,IAAAA,CAAA,CAAAiF,WAAA,WAAAlF,CAAA,KAAAA,CAAA,KAAAoC,iBAAA,6BAAApC,CAAA,CAAAgF,WAAA,IAAAhF,CAAA,CAAAmF,IAAA,OAAAnF,CAAA,CAAAoF,IAAA,aAAAnF,CAAA,WAAAE,MAAA,CAAAkF,cAAA,GAAAlF,MAAA,CAAAkF,cAAA,CAAApF,CAAA,EAAAoC,0BAAA,KAAApC,CAAA,CAAAqF,SAAA,GAAAjD,0BAAA,EAAAnB,MAAA,CAAAjB,CAAA,EAAAe,CAAA,yBAAAf,CAAA,CAAAG,SAAA,GAAAD,MAAA,CAAAqB,MAAA,CAAAmB,CAAA,GAAA1C,CAAA,KAAAD,CAAA,CAAAuF,KAAA,aAAAtF,CAAA,aAAAkD,OAAA,EAAAlD,CAAA,OAAA2C,qBAAA,CAAAG,aAAA,CAAA3C,SAAA,GAAAc,MAAA,CAAA6B,aAAA,CAAA3C,SAAA,EAAAU,CAAA,iCAAAd,CAAA,CAAA+C,aAAA,GAAAA,aAAA,EAAA/C,CAAA,CAAAwF,KAAA,aAAAvF,CAAA,EAAAC,CAAA,EAAAG,CAAA,EAAAE,CAAA,EAAAG,CAAA,eAAAA,CAAA,KAAAA,CAAA,GAAA+E,OAAA,OAAA7E,CAAA,OAAAmC,aAAA,CAAAzB,IAAA,CAAArB,CAAA,EAAAC,CAAA,EAAAG,CAAA,EAAAE,CAAA,GAAAG,CAAA,UAAAV,CAAA,CAAAiF,mBAAA,CAAA/E,CAAA,IAAAU,CAAA,GAAAA,CAAA,CAAAsD,IAAA,GAAAd,IAAA,WAAAnD,CAAA,WAAAA,CAAA,CAAAsD,IAAA,GAAAtD,CAAA,CAAAQ,KAAA,GAAAG,CAAA,CAAAsD,IAAA,WAAAtB,qBAAA,CAAAD,CAAA,GAAAzB,MAAA,CAAAyB,CAAA,EAAA3B,CAAA,gBAAAE,MAAA,CAAAyB,CAAA,EAAA/B,CAAA,iCAAAM,MAAA,CAAAyB,CAAA,6DAAA3C,CAAA,CAAA0F,IAAA,aAAAzF,CAAA,QAAAD,CAAA,GAAAG,MAAA,CAAAF,CAAA,GAAAC,CAAA,gBAAAG,CAAA,IAAAL,CAAA,EAAAE,CAAA,CAAAwE,IAAA,CAAArE,CAAA,UAAAH,CAAA,CAAAyF,OAAA,aAAAzB,KAAA,WAAAhE,CAAA,CAAA6E,MAAA,SAAA9E,CAAA,GAAAC,CAAA,CAAA0F,GAAA,QAAA3F,CAAA,IAAAD,CAAA,SAAAkE,IAAA,CAAAzD,KAAA,GAAAR,CAAA,EAAAiE,IAAA,CAAAX,IAAA,OAAAW,IAAA,WAAAA,IAAA,CAAAX,IAAA,OAAAW,IAAA,QAAAlE,CAAA,CAAA0C,MAAA,GAAAA,MAAA,EAAAjB,OAAA,CAAArB,SAAA,KAAA8E,WAAA,EAAAzD,OAAA,EAAAoD,KAAA,WAAAA,MAAA7E,CAAA,aAAA6F,IAAA,WAAA3B,IAAA,WAAAP,IAAA,QAAAC,KAAA,GAAA3D,CAAA,OAAAsD,IAAA,YAAAE,QAAA,cAAAD,MAAA,gBAAA3B,GAAA,GAAA5B,CAAA,OAAAwE,UAAA,CAAA5B,OAAA,CAAA8B,aAAA,IAAA3E,CAAA,WAAAE,CAAA,kBAAAA,CAAA,CAAA4F,MAAA,OAAAzF,CAAA,CAAAyB,IAAA,OAAA5B,CAAA,MAAA4E,KAAA,EAAA5E,CAAA,CAAA6F,KAAA,cAAA7F,CAAA,IAAAD,CAAA,MAAA+F,IAAA,WAAAA,KAAA,SAAAzC,IAAA,WAAAtD,CAAA,QAAAwE,UAAA,IAAAG,UAAA,kBAAA3E,CAAA,CAAA2B,IAAA,QAAA3B,CAAA,CAAA4B,GAAA,cAAAoE,IAAA,KAAApC,iBAAA,WAAAA,kBAAA7D,CAAA,aAAAuD,IAAA,QAAAvD,CAAA,MAAAE,CAAA,kBAAAgG,OAAA7F,CAAA,EAAAE,CAAA,WAAAK,CAAA,CAAAgB,IAAA,YAAAhB,CAAA,CAAAiB,GAAA,GAAA7B,CAAA,EAAAE,CAAA,CAAAgE,IAAA,GAAA7D,CAAA,EAAAE,CAAA,KAAAL,CAAA,CAAAsD,MAAA,WAAAtD,CAAA,CAAA2B,GAAA,GAAA5B,CAAA,KAAAM,CAAA,aAAAA,CAAA,QAAAkE,UAAA,CAAAM,MAAA,MAAAxE,CAAA,SAAAA,CAAA,QAAAG,CAAA,QAAA+D,UAAA,CAAAlE,CAAA,GAAAK,CAAA,GAAAF,CAAA,CAAAkE,UAAA,iBAAAlE,CAAA,CAAA2D,MAAA,SAAA6B,MAAA,aAAAxF,CAAA,CAAA2D,MAAA,SAAAwB,IAAA,QAAA/E,CAAA,GAAAT,CAAA,CAAAyB,IAAA,CAAApB,CAAA,eAAAM,CAAA,GAAAX,CAAA,CAAAyB,IAAA,CAAApB,CAAA,qBAAAI,CAAA,IAAAE,CAAA,aAAA6E,IAAA,GAAAnF,CAAA,CAAA4D,QAAA,SAAA4B,MAAA,CAAAxF,CAAA,CAAA4D,QAAA,gBAAAuB,IAAA,GAAAnF,CAAA,CAAA6D,UAAA,SAAA2B,MAAA,CAAAxF,CAAA,CAAA6D,UAAA,cAAAzD,CAAA,aAAA+E,IAAA,GAAAnF,CAAA,CAAA4D,QAAA,SAAA4B,MAAA,CAAAxF,CAAA,CAAA4D,QAAA,qBAAAtD,CAAA,QAAAsC,KAAA,qDAAAuC,IAAA,GAAAnF,CAAA,CAAA6D,UAAA,SAAA2B,MAAA,CAAAxF,CAAA,CAAA6D,UAAA,YAAAT,MAAA,WAAAA,OAAA7D,CAAA,EAAAD,CAAA,aAAAE,CAAA,QAAAuE,UAAA,CAAAM,MAAA,MAAA7E,CAAA,SAAAA,CAAA,QAAAK,CAAA,QAAAkE,UAAA,CAAAvE,CAAA,OAAAK,CAAA,CAAA8D,MAAA,SAAAwB,IAAA,IAAAxF,CAAA,CAAAyB,IAAA,CAAAvB,CAAA,wBAAAsF,IAAA,GAAAtF,CAAA,CAAAgE,UAAA,QAAA7D,CAAA,GAAAH,CAAA,aAAAG,CAAA,iBAAAT,CAAA,mBAAAA,CAAA,KAAAS,CAAA,CAAA2D,MAAA,IAAArE,CAAA,IAAAA,CAAA,IAAAU,CAAA,CAAA6D,UAAA,KAAA7D,CAAA,cAAAE,CAAA,GAAAF,CAAA,GAAAA,CAAA,CAAAkE,UAAA,cAAAhE,CAAA,CAAAgB,IAAA,GAAA3B,CAAA,EAAAW,CAAA,CAAAiB,GAAA,GAAA7B,CAAA,EAAAU,CAAA,SAAA8C,MAAA,gBAAAU,IAAA,GAAAxD,CAAA,CAAA6D,UAAA,EAAApC,CAAA,SAAAgE,QAAA,CAAAvF,CAAA,MAAAuF,QAAA,WAAAA,SAAAlG,CAAA,EAAAD,CAAA,oBAAAC,CAAA,CAAA2B,IAAA,QAAA3B,CAAA,CAAA4B,GAAA,qBAAA5B,CAAA,CAAA2B,IAAA,mBAAA3B,CAAA,CAAA2B,IAAA,QAAAsC,IAAA,GAAAjE,CAAA,CAAA4B,GAAA,gBAAA5B,CAAA,CAAA2B,IAAA,SAAAqE,IAAA,QAAApE,GAAA,GAAA5B,CAAA,CAAA4B,GAAA,OAAA2B,MAAA,kBAAAU,IAAA,yBAAAjE,CAAA,CAAA2B,IAAA,IAAA5B,CAAA,UAAAkE,IAAA,GAAAlE,CAAA,GAAAmC,CAAA,KAAAiE,MAAA,WAAAA,OAAAnG,CAAA,aAAAD,CAAA,QAAAyE,UAAA,CAAAM,MAAA,MAAA/E,CAAA,SAAAA,CAAA,QAAAE,CAAA,QAAAuE,UAAA,CAAAzE,CAAA,OAAAE,CAAA,CAAAqE,UAAA,KAAAtE,CAAA,cAAAkG,QAAA,CAAAjG,CAAA,CAAA0E,UAAA,EAAA1E,CAAA,CAAAsE,QAAA,GAAAG,aAAA,CAAAzE,CAAA,GAAAiC,CAAA,OAAAkE,KAAA,WAAAC,OAAArG,CAAA,aAAAD,CAAA,QAAAyE,UAAA,CAAAM,MAAA,MAAA/E,CAAA,SAAAA,CAAA,QAAAE,CAAA,QAAAuE,UAAA,CAAAzE,CAAA,OAAAE,CAAA,CAAAmE,MAAA,KAAApE,CAAA,QAAAI,CAAA,GAAAH,CAAA,CAAA0E,UAAA,kBAAAvE,CAAA,CAAAuB,IAAA,QAAArB,CAAA,GAAAF,CAAA,CAAAwB,GAAA,EAAA8C,aAAA,CAAAzE,CAAA,YAAAK,CAAA,YAAA+C,KAAA,8BAAAiD,aAAA,WAAAA,cAAAvG,CAAA,EAAAE,CAAA,EAAAG,CAAA,gBAAAoD,QAAA,KAAA5C,QAAA,EAAA6B,MAAA,CAAA1C,CAAA,GAAAiE,UAAA,EAAA/D,CAAA,EAAAiE,OAAA,EAAA9D,CAAA,oBAAAmD,MAAA,UAAA3B,GAAA,GAAA5B,CAAA,GAAAkC,CAAA,OAAAnC,CAAA;AAAA,SAAAwG,mBAAAnG,CAAA,EAAAJ,CAAA,EAAAD,CAAA,EAAAE,CAAA,EAAAK,CAAA,EAAAK,CAAA,EAAAE,CAAA,cAAAJ,CAAA,GAAAL,CAAA,CAAAO,CAAA,EAAAE,CAAA,GAAAE,CAAA,GAAAN,CAAA,CAAAD,KAAA,WAAAJ,CAAA,gBAAAL,CAAA,CAAAK,CAAA,KAAAK,CAAA,CAAA6C,IAAA,GAAAtD,CAAA,CAAAe,CAAA,IAAAyE,OAAA,CAAAvC,OAAA,CAAAlC,CAAA,EAAAoC,IAAA,CAAAlD,CAAA,EAAAK,CAAA;AAAA,SAAAkG,kBAAApG,CAAA,6BAAAJ,CAAA,SAAAD,CAAA,GAAA0G,SAAA,aAAAjB,OAAA,WAAAvF,CAAA,EAAAK,CAAA,QAAAK,CAAA,GAAAP,CAAA,CAAAsG,KAAA,CAAA1G,CAAA,EAAAD,CAAA,YAAA4G,MAAAvG,CAAA,IAAAmG,kBAAA,CAAA5F,CAAA,EAAAV,CAAA,EAAAK,CAAA,EAAAqG,KAAA,EAAAC,MAAA,UAAAxG,CAAA,cAAAwG,OAAAxG,CAAA,IAAAmG,kBAAA,CAAA5F,CAAA,EAAAV,CAAA,EAAAK,CAAA,EAAAqG,KAAA,EAAAC,MAAA,WAAAxG,CAAA,KAAAuG,KAAA;AADA;AACA,CAAE,UAAEE,KAAK,EAAEC,UAAU,EAAEC,OAAO,EAAM;EAEhC,IAAMC,IAAI,GAAG,SAAPA,IAAIA,CAAA,EAAS;IACf,IAAIC,aAAa,GAAG,KAAK;IACzBC,QAAQ,CAACC,gBAAgB,CAAE,kBAAkB,EAAE,UAAEC,KAAK,EAAM;MACxD;MACA,IAAKH,aAAa,EAAG;QACjB;MACJ;MACAA,aAAa,GAAG,IAAI;;MAEpB;MACAJ,KAAK,CAACQ,KAAK,CAACC,cAAc,CAAE,gCAAgC;QAAA,IAAAC,IAAA,GAAAf,iBAAA,eAAA1G,mBAAA,GAAAqF,IAAA,CAAE,SAAAqC,QAAQC,IAAI;UAAA,OAAA3H,mBAAA,GAAAuB,IAAA,UAAAqG,SAAAC,QAAA;YAAA,kBAAAA,QAAA,CAAA/B,IAAA,GAAA+B,QAAA,CAAA1D,IAAA;cAAA;gBAAA0D,QAAA,CAAA1D,IAAA;gBAAA,OAChE2D,gBAAgB,CAAEH,IAAI,CAACI,IAAK,CAAC;cAAA;gBAAA,OAAAF,QAAA,CAAA9D,MAAA,WAC5B4D,IAAI;cAAA;cAAA;gBAAA,OAAAE,QAAA,CAAA5B,IAAA;YAAA;UAAA,GAAAyB,OAAA;QAAA,CACd;QAAA,iBAAAM,EAAA;UAAA,OAAAP,IAAA,CAAAb,KAAA,OAAAD,SAAA;QAAA;MAAA,IAAC;;MAEF;MACAI,KAAK,CAACQ,KAAK,CAACC,cAAc,CAAE,iCAAiC;QAAA,IAAAS,KAAA,GAAAvB,iBAAA,eAAA1G,mBAAA,GAAAqF,IAAA,CAAE,SAAA6C,SAAQP,IAAI;UAAA,IAAAQ,iBAAA;UAAA,OAAAnI,mBAAA,GAAAuB,IAAA,UAAA6G,UAAAC,SAAA;YAAA,kBAAAA,SAAA,CAAAvC,IAAA,GAAAuC,SAAA,CAAAlE,IAAA;cAAA;gBACjEgE,iBAAiB,GAAGR,IAAI,CAACW,cAAc,KAAKvB,KAAK,CAACwB,UAAU,CAACC,sBAAsB,IAAIb,IAAI,CAACW,cAAc,KAAKvB,KAAK,CAACwB,UAAU,CAACE,oBAAoB;gBAAA,MACrJN,iBAAiB,IAAI,CAAER,IAAI,CAACe,KAAK;kBAAAL,SAAA,CAAAlE,IAAA;kBAAA;gBAAA;gBAAAkE,SAAA,CAAAlE,IAAA;gBAAA,OAC5B2D,gBAAgB,CAAEH,IAAI,CAACI,IAAK,CAAC;cAAA;gBAAA,OAAAM,SAAA,CAAAtE,MAAA,WAEhC4D,IAAI;cAAA;cAAA;gBAAA,OAAAU,SAAA,CAAApC,IAAA;YAAA;UAAA,GAAAiC,QAAA;QAAA,CACd;QAAA,iBAAAS,GAAA;UAAA,OAAAV,KAAA,CAAArB,KAAA,OAAAD,SAAA;QAAA;MAAA,IAAC;IACN,CAAC,CAAC;EACN,CAAC;EAED,IAAMmB,gBAAgB;IAAA,IAAAc,KAAA,GAAAlC,iBAAA,eAAA1G,mBAAA,GAAAqF,IAAA,CAAG,SAAAwD,SAAQd,IAAI;MAAA,IAAAe,SAAA,EAAAC,KAAA;MAAA,OAAA/I,mBAAA,GAAAuB,IAAA,UAAAyH,UAAAC,SAAA;QAAA,kBAAAA,SAAA,CAAAnD,IAAA,GAAAmD,SAAA,CAAA9E,IAAA;UAAA;YAC3B2E,SAAS,GAAGf,IAAI,CAACmB,aAAa,CAAE,gDAAiD,CAAC,EAExF;YAAA,MACK,CAAEJ,SAAS,IAAIA,SAAS,CAACpI,KAAK,CAACsE,MAAM;cAAAiE,SAAA,CAAA9E,IAAA;cAAA;YAAA;YAAA,OAAA8E,SAAA,CAAAlF,MAAA;UAAA;YAAAkF,SAAA,CAAA9E,IAAA;YAAA,OAKtB6C,UAAU,CAACmC,OAAO,CAAElC,OAAO,CAACmC,QAAQ,EAAE;cAAEC,MAAM,EAAE;YAAS,CAAE,CAAC;UAAA;YAA1EN,KAAK,GAAAE,SAAA,CAAArF,IAAA;YACX,IAAKmF,KAAK,CAAC/D,MAAM,IAAI,OAAO+D,KAAK,KAAK,QAAQ,EAAG;cAC7CD,SAAS,CAACpI,KAAK,GAAGqI,KAAK;YAC3B;UAAC;UAAA;YAAA,OAAAE,SAAA,CAAAhD,IAAA;QAAA;MAAA,GAAA4C,QAAA;IAAA,CACJ;IAAA,gBAbKf,gBAAgBA,CAAAwB,GAAA;MAAA,OAAAV,KAAA,CAAAhC,KAAA,OAAAD,SAAA;IAAA;EAAA,GAarB;EAEDO,IAAI,CAAC,CAAC;AAEV,CAAC,EAAIH,KAAK,EAAEC,UAAU,EAAEuC,kCAAmC,CAAC,C","sources":["webpack://gravityformsrecaptcha/./js/src/frontend.js"],"sourcesContent":["/* global gform, gforms_recaptcha_recaptcha_strings, grecaptcha */\n( ( gform, grecaptcha, strings ) => {\n\n const init = () => {\n let isInitialized = false;\n document.addEventListener( 'gform/postRender', ( event ) => {\n // Abort if already initialized.\n if ( isInitialized ) {\n return;\n }\n isInitialized = true;\n\n // Executing on AJAX validation.\n gform.utils.addAsyncFilter( 'gform/ajax/pre_ajax_validation', async ( data ) => {\n await executeRecaptcha( data.form );\n return data;\n });\n\n // Executing recaptcha on form submission or Next button click.\n gform.utils.addAsyncFilter( 'gform/submission/pre_submission', async ( data ) => {\n const recaptchaRequired = data.submissionType === gform.submission.SUBMISSION_TYPE_SUBMIT || data.submissionType === gform.submission.SUBMISSION_TYPE_NEXT;\n if ( recaptchaRequired && ! data.abort ) {\n await executeRecaptcha( data.form );\n }\n return data;\n });\n });\n };\n\n const executeRecaptcha = async ( form ) => {\n const dataInput = form.querySelector( '.ginput_recaptchav3 .gfield_recaptcha_response' );\n\n // If reCAPTCHA fields can't be found, or recaptcha response is already set, don't execute reCAPTCHA.\n if ( ! dataInput || dataInput.value.length ) {\n return;\n }\n\n // Execute reCAPTCHA and set the token to the hidden input field.\n const token = await grecaptcha.execute( strings.site_key, { action: 'submit' } );\n if ( token.length && typeof token === 'string' ) {\n dataInput.value = token;\n }\n };\n\n init();\n\n} )( gform, grecaptcha, gforms_recaptcha_recaptcha_strings );\n"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","_catch","delegateYield","asyncGeneratorStep","_asyncToGenerator","arguments","apply","_next","_throw","gform","grecaptcha","strings","init","isInitialized","document","addEventListener","event","utils","addAsyncFilter","_ref","_callee","data","_callee$","_context","executeRecaptcha","form","_x","_ref2","_callee2","recaptchaRequired","_callee2$","_context2","submissionType","submission","SUBMISSION_TYPE_SUBMIT","SUBMISSION_TYPE_NEXT","abort","_x2","_ref3","_callee3","dataInput","token","_callee3$","_context3","querySelector","execute","site_key","action","_x3","gforms_recaptcha_recaptcha_strings"],"sourceRoot":""} \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.min.js b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.min.js new file mode 100644 index 00000000..19cf1558 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.min.js @@ -0,0 +1,2 @@ +/*! For license information please see frontend.min.js.LICENSE.txt */ +!function(){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(){"use strict";r=function(){return n};var e,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,r,e){t[r]=e.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(e){l=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var o=r&&r.prototype instanceof w?r:w,i=Object.create(o.prototype),c=new G(n||[]);return a(i,"_invoke",{value:k(t,e,c)}),i}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function w(){}function b(){}function x(){}var L={};l(L,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(I([])));E&&E!==o&&i.call(E,u)&&(L=E);var S=x.prototype=w.prototype=Object.create(L);function O(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function j(r,e){function n(o,a,c,u){var s=p(r[o],r,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==t(l)&&i.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function k(t,r,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=T(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?m:v,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function T(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,T(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function N(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function P(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function I(r){if(r||""===r){var n=r[u];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;P(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},n}function e(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}function n(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function c(t){e(a,o,i,c,u,"next",t)}function u(t){e(a,o,i,c,u,"throw",t)}c(void 0)}))}}!function(t,e,o){var i,a=function(){var t=n(r().mark((function t(n){var i,a;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((i=n.querySelector(".ginput_recaptchav3 .gfield_recaptcha_response"))&&!i.value.length){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,e.execute(o.site_key,{action:"submit"});case 5:(a=t.sent).length&&"string"==typeof a&&(i.value=a);case 7:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}();i=!1,document.addEventListener("gform/postRender",(function(e){i||(i=!0,t.utils.addAsyncFilter("gform/ajax/pre_ajax_validation",function(){var t=n(r().mark((function t(e){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a(e.form);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}()),t.utils.addAsyncFilter("gform/submission/pre_submission",function(){var e=n(r().mark((function e(n){return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n.submissionType!==t.submission.SUBMISSION_TYPE_SUBMIT&&n.submissionType!==t.submission.SUBMISSION_TYPE_NEXT||n.abort){r.next=4;break}return r.next=4,a(n.form);case 4:return r.abrupt("return",n);case 5:case"end":return r.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()))}))}(gform,grecaptcha,gforms_recaptcha_recaptcha_strings)}(); \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.min.js.LICENSE.txt b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.min.js.LICENSE.txt new file mode 100644 index 00000000..ae386fb7 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/frontend.min.js.LICENSE.txt @@ -0,0 +1 @@ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.js b/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.js new file mode 100644 index 00000000..f4d3b6ab --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.js @@ -0,0 +1,412 @@ +/******/ (function() { // webpackBootstrap +var __webpack_exports__ = {}; +/*!***********************************!*\ + !*** ./js/src/plugin_settings.js ***! + \***********************************/ +/* global jQuery, gform, grecaptcha, gforms_recaptcha_recaptcha_strings */ + +(function ($) { + /** + * Handles reCAPTCHA v2 plugin settings validation. + * + * @since 1.0 + * + * @return {void} + */ + var recaptchaV2Settings = function recaptchaV2Settings() { + var v2Settings = {}; + + /** + * Initialize reCAPTCHA v2 settings. + * + * @since 1.0 + * + * @return {void} + */ + v2Settings.init = function () { + v2Settings.cacheElements(); + v2Settings.addEventListeners(); + }; + + /** + * Cache the fields used by this handler. + * + * @since 1.0 + * + * @return {void} + */ + v2Settings.cacheElements = function () { + v2Settings.container = $('div[id="gform_setting_reset_v2"]'); + v2Settings.fields = { + siteKey: $('input[name="_gform_setting_site_key_v2"]'), + secretKey: $('input[name="_gform_setting_secret_key_v2"]'), + reset: $('input[name="_gform_setting_reset_v2"]'), + type: $('input[name="_gform_setting_type_v2"]') + }; + }; + + /** + * Add event listeners for this handler. + * + * @since 1.0 + * + * @return {void} + */ + v2Settings.addEventListeners = function () { + v2Settings.fields.siteKey.on('change', window.loadRecaptcha); + v2Settings.fields.secretKey.on('change', window.loadRecaptcha); + v2Settings.fields.type.on('change', function () { + return window.loadRecaptcha(); + }); + }; + + /** + * Handles showing and hiding the reCAPTCHA itself. + * + * @since 1.0 + * + * @return {void} + */ + window.loadRecaptcha = function () { + var self = {}; + + /** + * Initialize the reCAPTCHA rendering process. + * + * @since 1.0 + * + * @return {void} + */ + self.init = function () { + v2Settings.recaptcha = $('#recaptcha'); + v2Settings.save = $('#gform-settings-save'); + self.flushExistingState(); + + // Reset key status. + // Note: recaptcha is misspelled here for legacy reasons. + $('#recpatcha .gform-settings-field__feedback').remove(); + + // If no public or private key is provided, exit. + if (!self.canBeDisplayed()) { + self.hideRecaptcha(); + return; + } + v2Settings.save.prop('disabled', true); + self.showSelectedRecaptcha(); + }; + + /** + * Renders the v2 reCAPTCHA. + * + * @since 1.0 + * + * @param {string} typeValue The selected type to render. + * + * @return {void} + */ + self.render = function (typeValue) { + // Render reCAPTCHA. + grecaptcha.render('recaptcha', { + sitekey: v2Settings.fields.siteKey.val().trim(), + size: typeValue === 'invisible' ? typeValue : '', + badge: 'inline', + 'error-callback': function errorCallback() {}, + callback: function callback() { + return v2Settings.save.prop('disabled', false); + } + }); + }; + + /** + * Flush the existing state of the reCAPTCHA handler. + * + * @since 1.0 + * + * @return {void} + */ + self.flushExistingState = function () { + window.___grecaptcha_cfg.clients = {}; + window.___grecaptcha_cfg.count = 0; + v2Settings.recaptcha.html(''); + v2Settings.fields.reset.val('1'); + }; + + /** + * Determines whether the reCAPTCHA can be shown. + * + * @since 1.0 + * + * @return {boolean} Whether the reCAPTCHA can be shown. + */ + self.canBeDisplayed = function () { + return v2Settings.fields.siteKey.val() && v2Settings.fields.secretKey.val(); + }; + + /** + * Hides the reCAPTCHA element. + * + * @since 1.0 + * + * @return {void} + */ + self.hideRecaptcha = function () { + v2Settings.save.prop('disabled', false); + v2Settings.container.hide(); + }; + + /** + * Show the selected reCAPTCHA type. + * + * @since 1.0 + * + * @return {void} + */ + self.showSelectedRecaptcha = function () { + var typeValue = $('input[name="_gform_setting_type_v2"]:checked').val(); + self.render(typeValue); + switch (typeValue) { + case 'checkbox': + $('#gforms_checkbox_recaptcha_message, label[for="reset"]').show(); + break; + case 'invisible': + $('#gforms_checkbox_recaptcha_message, label[for="reset"]').hide(); + break; + default: + throw new Error('Unexpected type selected.'); + } + v2Settings.container.show(); + if (typeValue === 'invisible') { + grecaptcha.execute(); + } + }; + self.init(); + }; + v2Settings.init(); + }; + + /** + * Handles reCAPTCHA v3 plugin settings validation. + * + * @since 1.0 + * + * @return {void} + */ + var recaptchaV3Settings = function recaptchaV3Settings() { + var v3Settings = {}; + + /** + * Initializes the reCAPTCHA v3 settings handler. + * + * @since 1.0 + * + * @return {void} + */ + v3Settings.init = function () { + v3Settings.token = ''; + v3Settings.strings = gforms_recaptcha_recaptcha_strings; + v3Settings.cacheElements(); + v3Settings.validateKeysV3(); + v3Settings.addEventListeners(); + }; + + /** + * Cache HTML elements for the v3 reCAPTCHA settings. + * + * @since 1.0 + * + * @return {void} + */ + v3Settings.cacheElements = function () { + v3Settings.fields = { + siteKey: '#site_key_v3', + secretKey: '#secret_key_v3', + threshold: '#score_threshold_v3', + disableBadge: '#disable_badge_v3', + keysStatus: '#gform_setting_recaptcha_keys_status_v3' + }; + v3Settings.cache = { + siteKey: $(v3Settings.fields.siteKey), + secretKey: $(v3Settings.fields.secretKey), + keysStatus: $(v3Settings.fields.keysStatus), + save: $('#gform-settings-save') + }; + }; + + /** + * Setup event listeners for field validation. + * + * @since 1.0 + * + * @return {void} + */ + v3Settings.addEventListeners = function () { + if (!v3Settings.strings.site_key.length) { + return; + } + $(v3Settings.fields.siteKey).on('keyup', function () { + return v3Settings.clearValidationFeedback(); + }); + $(v3Settings.fields.secretKey).on('keyup', function () { + return v3Settings.clearValidationFeedback(); + }); + }; + + /** + * Empty out the validation feedback if the fields are modified, as we can't yet know the status. + * + * @since 1.0 + * + * @return {void} + */ + v3Settings.clearValidationFeedback = function () { + v3Settings.unsetValid(v3Settings.cache.siteKey.closest('.gform-settings-input__container')); + v3Settings.unsetValid(v3Settings.cache.secretKey.closest('.gform-settings-input__container')); + }; + + /** + * Handles validation of the v3 site key. + * + * @since 1.0 + * + * @return {Promise} Returns a promise so this can be verified synchronously if checking the secret key. + */ + v3Settings.getRecaptchaToken = function () { + return new Promise(function (resolve, reject) { + var siteKeyContainer = v3Settings.cache.siteKey.closest('.gform-settings-input__container'); + try { + var siteKey = v3Settings.cache.siteKey; + var siteKeyValue = siteKey.val().trim(); + if (0 === siteKeyValue.length) { + v3Settings.unsetValid(siteKeyContainer); + v3Settings.unsetValid(v3Settings.cache.keysStatus.closest('.gform-settings-input__container')); + $(v3Settings.fields.keysStatus).find('input').val('0'); + return; + } + grecaptcha.ready(function () { + try { + grecaptcha.execute(siteKeyValue, { + action: 'submit' + }).then(function (token) { + resolve(token); + }); + } catch (error) { + reject(error); + } + }); + } catch (error) { + reject(error); + } + }); + }; + + /** + * Handles validation of the v3 site and secret keys. + * + * On page load, attempt to generate a reCAPTCHA token and immediately validate it on the server. If it's good, + * we'll update the presentation of the keys to indicate success or failure. + * + * @since 1.0 + * + * @return {void} + */ + v3Settings.validateKeysV3 = function () { + var siteKeyContainer = v3Settings.cache.siteKey.closest('.gform-settings-input__container'); + var secretKeyContainer = v3Settings.cache.secretKey.closest('.gform-settings-input__container'); + var keysStatusInput = $(v3Settings.fields.keysStatus).find('input'); + if (!$(v3Settings.fields.siteKey).val().trim().length) { + v3Settings.unsetValid(siteKeyContainer); + v3Settings.unsetValid(secretKeyContainer); + keysStatusInput.val('0'); + return; + } + v3Settings.getRecaptchaToken().then(function (token) { + v3Settings.token = token; + }).catch(function () { + v3Settings.setInvalid(siteKeyContainer); + v3Settings.setInvalid(secretKeyContainer); + keysStatusInput.val('0'); + }).finally(function () { + $.ajax({ + method: 'POST', + dataType: 'JSON', + url: v3Settings.strings.ajaxurl, + data: { + action: 'verify_secret_key', + nonce: v3Settings.strings.nonce, + token: v3Settings.token, + site_key_v3: $(v3Settings.fields.siteKey).val(), + secret_key_v3: $(v3Settings.fields.secretKey).val() + } + }).then(function (response) { + switch (response.data.keys_status) { + case '1': + v3Settings.setValid(siteKeyContainer); + v3Settings.setValid(secretKeyContainer); + keysStatusInput.val('1'); + break; + case '0': + v3Settings.setInvalid(siteKeyContainer); + v3Settings.setInvalid(secretKeyContainer); + keysStatusInput.val('0'); + break; + default: + v3Settings.unsetValid(siteKeyContainer); + v3Settings.unsetValid(secretKeyContainer); + keysStatusInput.val('0'); + } + }); + }); + }; + + /** + * Updates the text field to display no feedback. + * + * @since 1.0 + * + * @param {Object} el The jQuery element. + * + * @return {void} + */ + v3Settings.unsetValid = function (el) { + el.removeClass('gform-settings-input__container--feedback-success'); + el.removeClass('gform-settings-input__container--feedback-error'); + }; + + /** + * Updates the text field to display the successful feedback. + * + * @since 1.0 + * + * @param {Object} el The jQuery element. + * + * @return {void} + */ + v3Settings.setValid = function (el) { + el.addClass('gform-settings-input__container--feedback-success'); + el.removeClass('gform-settings-input__container--feedback-error'); + }; + + /** + * Updates the text field to display the error feedback. + * + * @since 1.0 + * + * @param {Object} el The jQuery element. + * + * @return {void} + */ + v3Settings.setInvalid = function (el) { + el.removeClass('gform-settings-input__container--feedback-success'); + el.addClass('gform-settings-input__container--feedback-error'); + }; + v3Settings.init(); + }; + $(document).ready(function () { + recaptchaV3Settings(); + recaptchaV2Settings(); + gform.adminUtils.handleUnsavedChanges('#gform-settings'); + }); +})(jQuery); +/******/ })() +; +//# sourceMappingURL=plugin_settings.js.map \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.js.map b/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.js.map new file mode 100644 index 00000000..4f02f112 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.js.map @@ -0,0 +1 @@ +{"version":3,"file":"./js/plugin_settings.js","mappings":";;;;;AAAA;;AAEA,CAAE,UAAEA,CAAC,EAAM;EACV;AACD;AACA;AACA;AACA;AACA;AACA;EACC,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAA,EAAS;IACjC,IAAMC,UAAU,GAAG,CAAC,CAAC;;IAErB;AACF;AACA;AACA;AACA;AACA;AACA;IACEA,UAAU,CAACC,IAAI,GAAG,YAAM;MACvBD,UAAU,CAACE,aAAa,CAAC,CAAC;MAC1BF,UAAU,CAACG,iBAAiB,CAAC,CAAC;IAC/B,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACEH,UAAU,CAACE,aAAa,GAAG,YAAM;MAChCF,UAAU,CAACI,SAAS,GAAGN,CAAC,CAAE,kCAAmC,CAAC;MAC9DE,UAAU,CAACK,MAAM,GAAG;QACnBC,OAAO,EAAER,CAAC,CAAE,0CAA2C,CAAC;QACxDS,SAAS,EAAET,CAAC,CAAE,4CAA6C,CAAC;QAC5DU,KAAK,EAAEV,CAAC,CAAE,uCAAwC,CAAC;QACnDW,IAAI,EAAEX,CAAC,CAAE,sCAAuC;MACjD,CAAC;IACF,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACEE,UAAU,CAACG,iBAAiB,GAAG,YAAM;MACpCH,UAAU,CAACK,MAAM,CAACC,OAAO,CAACI,EAAE,CAAE,QAAQ,EAAEC,MAAM,CAACC,aAAc,CAAC;MAC9DZ,UAAU,CAACK,MAAM,CAACE,SAAS,CAACG,EAAE,CAAE,QAAQ,EAAEC,MAAM,CAACC,aAAc,CAAC;MAChEZ,UAAU,CAACK,MAAM,CAACI,IAAI,CAACC,EAAE,CAAE,QAAQ,EAAE;QAAA,OAAMC,MAAM,CAACC,aAAa,CAAC,CAAC;MAAA,CAAC,CAAC;IACpE,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACED,MAAM,CAACC,aAAa,GAAG,YAAM;MAC5B,IAAMC,IAAI,GAAG,CAAC,CAAC;;MAEf;AACH;AACA;AACA;AACA;AACA;AACA;MACGA,IAAI,CAACZ,IAAI,GAAG,YAAM;QACjBD,UAAU,CAACc,SAAS,GAAGhB,CAAC,CAAE,YAAa,CAAC;QACxCE,UAAU,CAACe,IAAI,GAAGjB,CAAC,CAAE,sBAAuB,CAAC;QAC7Ce,IAAI,CAACG,kBAAkB,CAAC,CAAC;;QAEzB;QACA;QACAlB,CAAC,CAAE,4CAA6C,CAAC,CAACmB,MAAM,CAAC,CAAC;;QAE1D;QACA,IAAK,CAAEJ,IAAI,CAACK,cAAc,CAAC,CAAC,EAAG;UAC9BL,IAAI,CAACM,aAAa,CAAC,CAAC;UACpB;QACD;QAEAnB,UAAU,CAACe,IAAI,CAACK,IAAI,CAAE,UAAU,EAAE,IAAK,CAAC;QAExCP,IAAI,CAACQ,qBAAqB,CAAC,CAAC;MAC7B,CAAC;;MAED;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACGR,IAAI,CAACS,MAAM,GAAG,UAAEC,SAAS,EAAM;QAC9B;QACAC,UAAU,CAACF,MAAM,CAChB,WAAW,EACX;UACCG,OAAO,EAAEzB,UAAU,CAACK,MAAM,CAACC,OAAO,CAACoB,GAAG,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC;UAC/CC,IAAI,EAAEL,SAAS,KAAK,WAAW,GAAGA,SAAS,GAAG,EAAE;UAChDM,KAAK,EAAE,QAAQ;UACf,gBAAgB,EAAE,SAAAC,cAAA,EAAM,CAAC,CAAC;UAC1BC,QAAQ,EAAE,SAAAA,SAAA;YAAA,OAAM/B,UAAU,CAACe,IAAI,CAACK,IAAI,CAAE,UAAU,EAAE,KAAM,CAAC;UAAA;QAC1D,CACD,CAAC;MACF,CAAC;;MAED;AACH;AACA;AACA;AACA;AACA;AACA;MACGP,IAAI,CAACG,kBAAkB,GAAG,YAAM;QAC/BL,MAAM,CAACqB,iBAAiB,CAACC,OAAO,GAAG,CAAC,CAAC;QACrCtB,MAAM,CAACqB,iBAAiB,CAACE,KAAK,GAAG,CAAC;QAClClC,UAAU,CAACc,SAAS,CAACqB,IAAI,CAAE,EAAG,CAAC;QAC/BnC,UAAU,CAACK,MAAM,CAACG,KAAK,CAACkB,GAAG,CAAE,GAAI,CAAC;MACnC,CAAC;;MAED;AACH;AACA;AACA;AACA;AACA;AACA;MACGb,IAAI,CAACK,cAAc,GAAG,YAAM;QAC3B,OAAOlB,UAAU,CAACK,MAAM,CAACC,OAAO,CAACoB,GAAG,CAAC,CAAC,IAAI1B,UAAU,CAACK,MAAM,CAACE,SAAS,CAACmB,GAAG,CAAC,CAAC;MAC5E,CAAC;;MAED;AACH;AACA;AACA;AACA;AACA;AACA;MACGb,IAAI,CAACM,aAAa,GAAG,YAAM;QAC1BnB,UAAU,CAACe,IAAI,CAACK,IAAI,CAAE,UAAU,EAAE,KAAM,CAAC;QACzCpB,UAAU,CAACI,SAAS,CAACgC,IAAI,CAAC,CAAC;MAC5B,CAAC;;MAED;AACH;AACA;AACA;AACA;AACA;AACA;MACGvB,IAAI,CAACQ,qBAAqB,GAAG,YAAM;QAClC,IAAME,SAAS,GAAGzB,CAAC,CAAE,8CAA+C,CAAC,CAAC4B,GAAG,CAAC,CAAC;QAE3Eb,IAAI,CAACS,MAAM,CAAEC,SAAU,CAAC;QAExB,QAASA,SAAS;UACjB,KAAK,UAAU;YACdzB,CAAC,CAAE,wDAAyD,CAAC,CAACuC,IAAI,CAAC,CAAC;YACpE;UACD,KAAK,WAAW;YACfvC,CAAC,CAAE,wDAAyD,CAAC,CAACsC,IAAI,CAAC,CAAC;YACpE;UACD;YACC,MAAM,IAAIE,KAAK,CAAE,2BAA4B,CAAC;QAChD;QAEAtC,UAAU,CAACI,SAAS,CAACiC,IAAI,CAAC,CAAC;QAE3B,IAAKd,SAAS,KAAK,WAAW,EAAG;UAChCC,UAAU,CAACe,OAAO,CAAC,CAAC;QACrB;MACD,CAAC;MAED1B,IAAI,CAACZ,IAAI,CAAC,CAAC;IACZ,CAAC;IAEDD,UAAU,CAACC,IAAI,CAAC,CAAC;EAClB,CAAC;;EAED;AACD;AACA;AACA;AACA;AACA;AACA;EACC,IAAMuC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAA,EAAS;IACjC,IAAMC,UAAU,GAAG,CAAC,CAAC;;IAErB;AACF;AACA;AACA;AACA;AACA;AACA;IACEA,UAAU,CAACxC,IAAI,GAAG,YAAM;MACvBwC,UAAU,CAACC,KAAK,GAAG,EAAE;MACrBD,UAAU,CAACE,OAAO,GAAGC,kCAAkC;MAEvDH,UAAU,CAACvC,aAAa,CAAC,CAAC;MAC1BuC,UAAU,CAACI,cAAc,CAAC,CAAC;MAC3BJ,UAAU,CAACtC,iBAAiB,CAAC,CAAC;IAC/B,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACEsC,UAAU,CAACvC,aAAa,GAAG,YAAM;MAChCuC,UAAU,CAACpC,MAAM,GAAG;QACnBC,OAAO,EAAE,cAAc;QACvBC,SAAS,EAAE,gBAAgB;QAC3BuC,SAAS,EAAE,qBAAqB;QAChCC,YAAY,EAAE,mBAAmB;QACjCC,UAAU,EAAE;MACb,CAAC;MAEDP,UAAU,CAACQ,KAAK,GAAG;QAClB3C,OAAO,EAAER,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAACC,OAAQ,CAAC;QACvCC,SAAS,EAAET,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAACE,SAAU,CAAC;QAC3CyC,UAAU,EAAElD,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAAC2C,UAAW,CAAC;QAC7CjC,IAAI,EAAEjB,CAAC,CAAE,sBAAuB;MACjC,CAAC;IACF,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACE2C,UAAU,CAACtC,iBAAiB,GAAG,YAAM;MACpC,IAAK,CAAEsC,UAAU,CAACE,OAAO,CAACO,QAAQ,CAACC,MAAM,EAAG;QAC3C;MACD;MAEArD,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAACC,OAAQ,CAAC,CAACI,EAAE,CAAE,OAAO,EAAE;QAAA,OAAM+B,UAAU,CAACW,uBAAuB,CAAC,CAAC;MAAA,CAAC,CAAC;MACxFtD,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAACE,SAAU,CAAC,CAACG,EAAE,CAAE,OAAO,EAAE;QAAA,OAAM+B,UAAU,CAACW,uBAAuB,CAAC,CAAC;MAAA,CAAC,CAAC;IAC3F,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACEX,UAAU,CAACW,uBAAuB,GAAG,YAAM;MAC1CX,UAAU,CAACY,UAAU,CAAEZ,UAAU,CAACQ,KAAK,CAAC3C,OAAO,CAACgD,OAAO,CAAE,kCAAmC,CAAE,CAAC;MAC/Fb,UAAU,CAACY,UAAU,CAAEZ,UAAU,CAACQ,KAAK,CAAC1C,SAAS,CAAC+C,OAAO,CAAE,kCAAmC,CAAE,CAAC;IAClG,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;IACEb,UAAU,CAACc,iBAAiB,GAAG,YAAM;MACpC,OAAO,IAAIC,OAAO,CAAE,UAAEC,OAAO,EAAEC,MAAM,EAAM;QAC1C,IAAMC,gBAAgB,GAAGlB,UAAU,CAACQ,KAAK,CAAC3C,OAAO,CAACgD,OAAO,CAAE,kCAAmC,CAAC;QAE/F,IAAI;UACH,IAAQhD,OAAO,GAAKmC,UAAU,CAACQ,KAAK,CAA5B3C,OAAO;UACf,IAAMsD,YAAY,GAAGtD,OAAO,CAACoB,GAAG,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC;UAEzC,IAAK,CAAC,KAAKiC,YAAY,CAACT,MAAM,EAAG;YAChCV,UAAU,CAACY,UAAU,CAAEM,gBAAiB,CAAC;YACzClB,UAAU,CAACY,UAAU,CAAEZ,UAAU,CAACQ,KAAK,CAACD,UAAU,CAACM,OAAO,CAAE,kCAAmC,CAAE,CAAC;YAClGxD,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAAC2C,UAAW,CAAC,CAACa,IAAI,CAAE,OAAQ,CAAC,CAACnC,GAAG,CAAE,GAAI,CAAC;YAE5D;UACD;UAEAF,UAAU,CAACsC,KAAK,CAAE,YAAM;YACvB,IAAI;cACHtC,UAAU,CAACe,OAAO,CAAEqB,YAAY,EAAE;gBAAEG,MAAM,EAAE;cAAS,CAAE,CAAC,CAACC,IAAI,CAAE,UAAEtB,KAAK,EAAM;gBAC3Ee,OAAO,CAAEf,KAAM,CAAC;cACjB,CAAE,CAAC;YACJ,CAAC,CAAC,OAAQuB,KAAK,EAAG;cACjBP,MAAM,CAAEO,KAAM,CAAC;YAChB;UACD,CAAE,CAAC;QACJ,CAAC,CAAC,OAAQA,KAAK,EAAG;UACjBP,MAAM,CAAEO,KAAM,CAAC;QAChB;MACD,CAAE,CAAC;IACJ,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACExB,UAAU,CAACI,cAAc,GAAG,YAAM;MACjC,IAAMc,gBAAgB,GAAGlB,UAAU,CAACQ,KAAK,CAAC3C,OAAO,CAACgD,OAAO,CAAE,kCAAmC,CAAC;MAC/F,IAAMY,kBAAkB,GAAGzB,UAAU,CAACQ,KAAK,CAAC1C,SAAS,CAAC+C,OAAO,CAAE,kCAAmC,CAAC;MACnG,IAAMa,eAAe,GAAGrE,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAAC2C,UAAW,CAAC,CAACa,IAAI,CAAE,OAAQ,CAAC;MAEzE,IAAK,CAAE/D,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAACC,OAAQ,CAAC,CAACoB,GAAG,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,CAACwB,MAAM,EAAG;QAC3DV,UAAU,CAACY,UAAU,CAAEM,gBAAiB,CAAC;QACzClB,UAAU,CAACY,UAAU,CAAEa,kBAAmB,CAAC;QAC3CC,eAAe,CAACzC,GAAG,CAAE,GAAI,CAAC;QAC1B;MACD;MAEAe,UAAU,CAACc,iBAAiB,CAAC,CAAC,CAC5BS,IAAI,CAAE,UAAEtB,KAAK,EAAM;QACnBD,UAAU,CAACC,KAAK,GAAGA,KAAK;MACzB,CAAE,CAAC,CACF0B,KAAK,CAAE,YAAM;QACb3B,UAAU,CAAC4B,UAAU,CAAEV,gBAAiB,CAAC;QACzClB,UAAU,CAAC4B,UAAU,CAAEH,kBAAmB,CAAC;QAC3CC,eAAe,CAACzC,GAAG,CAAE,GAAI,CAAC;MAC3B,CAAE,CAAC,CACF4C,OAAO,CAAE,YAAM;QACfxE,CAAC,CAACyE,IAAI,CACL;UACCC,MAAM,EAAE,MAAM;UACdC,QAAQ,EAAE,MAAM;UAChBC,GAAG,EAAEjC,UAAU,CAACE,OAAO,CAACgC,OAAO;UAC/BC,IAAI,EAAE;YACLb,MAAM,EAAE,mBAAmB;YAC3Bc,KAAK,EAAEpC,UAAU,CAACE,OAAO,CAACkC,KAAK;YAC/BnC,KAAK,EAAED,UAAU,CAACC,KAAK;YACvBoC,WAAW,EAAEhF,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAACC,OAAQ,CAAC,CAACoB,GAAG,CAAC,CAAC;YACjDqD,aAAa,EAAEjF,CAAC,CAAE2C,UAAU,CAACpC,MAAM,CAACE,SAAU,CAAC,CAACmB,GAAG,CAAC;UACrD;QACD,CACD,CAAC,CAACsC,IAAI,CAAE,UAAEgB,QAAQ,EAAM;UACvB,QAASA,QAAQ,CAACJ,IAAI,CAACK,WAAW;YACjC,KAAK,GAAG;cACPxC,UAAU,CAACyC,QAAQ,CAAEvB,gBAAiB,CAAC;cACvClB,UAAU,CAACyC,QAAQ,CAAEhB,kBAAmB,CAAC;cACzCC,eAAe,CAACzC,GAAG,CAAE,GAAI,CAAC;cAC1B;YACD,KAAK,GAAG;cACPe,UAAU,CAAC4B,UAAU,CAAEV,gBAAiB,CAAC;cACzClB,UAAU,CAAC4B,UAAU,CAAEH,kBAAmB,CAAC;cAC3CC,eAAe,CAACzC,GAAG,CAAE,GAAI,CAAC;cAC1B;YACD;cACCe,UAAU,CAACY,UAAU,CAAEM,gBAAiB,CAAC;cACzClB,UAAU,CAACY,UAAU,CAAEa,kBAAmB,CAAC;cAC3CC,eAAe,CAACzC,GAAG,CAAE,GAAI,CAAC;UAC5B;QACD,CAAE,CAAC;MACJ,CAAE,CAAC;IACL,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACEe,UAAU,CAACY,UAAU,GAAG,UAAE8B,EAAE,EAAM;MACjCA,EAAE,CAACC,WAAW,CAAE,mDAAoD,CAAC;MACrED,EAAE,CAACC,WAAW,CAAE,iDAAkD,CAAC;IACpE,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACE3C,UAAU,CAACyC,QAAQ,GAAG,UAAEC,EAAE,EAAM;MAC/BA,EAAE,CAACE,QAAQ,CAAE,mDAAoD,CAAC;MAClEF,EAAE,CAACC,WAAW,CAAE,iDAAkD,CAAC;IACpE,CAAC;;IAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACE3C,UAAU,CAAC4B,UAAU,GAAG,UAAEc,EAAE,EAAM;MACjCA,EAAE,CAACC,WAAW,CAAE,mDAAoD,CAAC;MACrED,EAAE,CAACE,QAAQ,CAAE,iDAAkD,CAAC;IACjE,CAAC;IAED5C,UAAU,CAACxC,IAAI,CAAC,CAAC;EAClB,CAAC;EAEDH,CAAC,CAAEwF,QAAS,CAAC,CAACxB,KAAK,CAAE,YAAM;IAC1BtB,mBAAmB,CAAC,CAAC;IACrBzC,mBAAmB,CAAC,CAAC;IACrBwF,KAAK,CAACC,UAAU,CAACC,oBAAoB,CAAE,iBAAkB,CAAC;EAC3D,CAAE,CAAC;AACJ,CAAC,EAAIC,MAAO,CAAC,C","sources":["webpack://gravityformsrecaptcha/./js/src/plugin_settings.js"],"sourcesContent":["/* global jQuery, gform, grecaptcha, gforms_recaptcha_recaptcha_strings */\n\n( ( $ ) => {\n\t/**\n\t * Handles reCAPTCHA v2 plugin settings validation.\n\t *\n\t * @since 1.0\n\t *\n\t * @return {void}\n\t */\n\tconst recaptchaV2Settings = () => {\n\t\tconst v2Settings = {};\n\n\t\t/**\n\t\t * Initialize reCAPTCHA v2 settings.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv2Settings.init = () => {\n\t\t\tv2Settings.cacheElements();\n\t\t\tv2Settings.addEventListeners();\n\t\t};\n\n\t\t/**\n\t\t * Cache the fields used by this handler.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv2Settings.cacheElements = () => {\n\t\t\tv2Settings.container = $( 'div[id=\"gform_setting_reset_v2\"]' );\n\t\t\tv2Settings.fields = {\n\t\t\t\tsiteKey: $( 'input[name=\"_gform_setting_site_key_v2\"]' ),\n\t\t\t\tsecretKey: $( 'input[name=\"_gform_setting_secret_key_v2\"]' ),\n\t\t\t\treset: $( 'input[name=\"_gform_setting_reset_v2\"]' ),\n\t\t\t\ttype: $( 'input[name=\"_gform_setting_type_v2\"]' ),\n\t\t\t};\n\t\t};\n\n\t\t/**\n\t\t * Add event listeners for this handler.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv2Settings.addEventListeners = () => {\n\t\t\tv2Settings.fields.siteKey.on( 'change', window.loadRecaptcha );\n\t\t\tv2Settings.fields.secretKey.on( 'change', window.loadRecaptcha );\n\t\t\tv2Settings.fields.type.on( 'change', () => window.loadRecaptcha() );\n\t\t};\n\n\t\t/**\n\t\t * Handles showing and hiding the reCAPTCHA itself.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\twindow.loadRecaptcha = () => {\n\t\t\tconst self = {};\n\n\t\t\t/**\n\t\t\t * Initialize the reCAPTCHA rendering process.\n\t\t\t *\n\t\t\t * @since 1.0\n\t\t\t *\n\t\t\t * @return {void}\n\t\t\t */\n\t\t\tself.init = () => {\n\t\t\t\tv2Settings.recaptcha = $( '#recaptcha' );\n\t\t\t\tv2Settings.save = $( '#gform-settings-save' );\n\t\t\t\tself.flushExistingState();\n\n\t\t\t\t// Reset key status.\n\t\t\t\t// Note: recaptcha is misspelled here for legacy reasons.\n\t\t\t\t$( '#recpatcha .gform-settings-field__feedback' ).remove();\n\n\t\t\t\t// If no public or private key is provided, exit.\n\t\t\t\tif ( ! self.canBeDisplayed() ) {\n\t\t\t\t\tself.hideRecaptcha();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tv2Settings.save.prop( 'disabled', true );\n\n\t\t\t\tself.showSelectedRecaptcha();\n\t\t\t};\n\n\t\t\t/**\n\t\t\t * Renders the v2 reCAPTCHA.\n\t\t\t *\n\t\t\t * @since 1.0\n\t\t\t *\n\t\t\t * @param {string} typeValue The selected type to render.\n\t\t\t *\n\t\t\t * @return {void}\n\t\t\t */\n\t\t\tself.render = ( typeValue ) => {\n\t\t\t\t// Render reCAPTCHA.\n\t\t\t\tgrecaptcha.render(\n\t\t\t\t\t'recaptcha',\n\t\t\t\t\t{\n\t\t\t\t\t\tsitekey: v2Settings.fields.siteKey.val().trim(),\n\t\t\t\t\t\tsize: typeValue === 'invisible' ? typeValue : '',\n\t\t\t\t\t\tbadge: 'inline',\n\t\t\t\t\t\t'error-callback': () => {},\n\t\t\t\t\t\tcallback: () => v2Settings.save.prop( 'disabled', false ),\n\t\t\t\t\t},\n\t\t\t\t);\n\t\t\t};\n\n\t\t\t/**\n\t\t\t * Flush the existing state of the reCAPTCHA handler.\n\t\t\t *\n\t\t\t * @since 1.0\n\t\t\t *\n\t\t\t * @return {void}\n\t\t\t */\n\t\t\tself.flushExistingState = () => {\n\t\t\t\twindow.___grecaptcha_cfg.clients = {};\n\t\t\t\twindow.___grecaptcha_cfg.count = 0;\n\t\t\t\tv2Settings.recaptcha.html( '' );\n\t\t\t\tv2Settings.fields.reset.val( '1' );\n\t\t\t};\n\n\t\t\t/**\n\t\t\t * Determines whether the reCAPTCHA can be shown.\n\t\t\t *\n\t\t\t * @since 1.0\n\t\t\t *\n\t\t\t * @return {boolean} Whether the reCAPTCHA can be shown.\n\t\t\t */\n\t\t\tself.canBeDisplayed = () => {\n\t\t\t\treturn v2Settings.fields.siteKey.val() && v2Settings.fields.secretKey.val();\n\t\t\t};\n\n\t\t\t/**\n\t\t\t * Hides the reCAPTCHA element.\n\t\t\t *\n\t\t\t * @since 1.0\n\t\t\t *\n\t\t\t * @return {void}\n\t\t\t */\n\t\t\tself.hideRecaptcha = () => {\n\t\t\t\tv2Settings.save.prop( 'disabled', false );\n\t\t\t\tv2Settings.container.hide();\n\t\t\t};\n\n\t\t\t/**\n\t\t\t * Show the selected reCAPTCHA type.\n\t\t\t *\n\t\t\t * @since 1.0\n\t\t\t *\n\t\t\t * @return {void}\n\t\t\t */\n\t\t\tself.showSelectedRecaptcha = () => {\n\t\t\t\tconst typeValue = $( 'input[name=\"_gform_setting_type_v2\"]:checked' ).val();\n\n\t\t\t\tself.render( typeValue );\n\n\t\t\t\tswitch ( typeValue ) {\n\t\t\t\t\tcase 'checkbox':\n\t\t\t\t\t\t$( '#gforms_checkbox_recaptcha_message, label[for=\"reset\"]' ).show();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'invisible':\n\t\t\t\t\t\t$( '#gforms_checkbox_recaptcha_message, label[for=\"reset\"]' ).hide();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tthrow new Error( 'Unexpected type selected.' );\n\t\t\t\t}\n\n\t\t\t\tv2Settings.container.show();\n\n\t\t\t\tif ( typeValue === 'invisible' ) {\n\t\t\t\t\tgrecaptcha.execute();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tself.init();\n\t\t};\n\n\t\tv2Settings.init();\n\t};\n\n\t/**\n\t * Handles reCAPTCHA v3 plugin settings validation.\n\t *\n\t * @since 1.0\n\t *\n\t * @return {void}\n\t */\n\tconst recaptchaV3Settings = () => {\n\t\tconst v3Settings = {};\n\n\t\t/**\n\t\t * Initializes the reCAPTCHA v3 settings handler.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv3Settings.init = () => {\n\t\t\tv3Settings.token = '';\n\t\t\tv3Settings.strings = gforms_recaptcha_recaptcha_strings;\n\n\t\t\tv3Settings.cacheElements();\n\t\t\tv3Settings.validateKeysV3();\n\t\t\tv3Settings.addEventListeners();\n\t\t};\n\n\t\t/**\n\t\t * Cache HTML elements for the v3 reCAPTCHA settings.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv3Settings.cacheElements = () => {\n\t\t\tv3Settings.fields = {\n\t\t\t\tsiteKey: '#site_key_v3',\n\t\t\t\tsecretKey: '#secret_key_v3',\n\t\t\t\tthreshold: '#score_threshold_v3',\n\t\t\t\tdisableBadge: '#disable_badge_v3',\n\t\t\t\tkeysStatus: '#gform_setting_recaptcha_keys_status_v3',\n\t\t\t};\n\n\t\t\tv3Settings.cache = {\n\t\t\t\tsiteKey: $( v3Settings.fields.siteKey ),\n\t\t\t\tsecretKey: $( v3Settings.fields.secretKey ),\n\t\t\t\tkeysStatus: $( v3Settings.fields.keysStatus ),\n\t\t\t\tsave: $( '#gform-settings-save' ),\n\t\t\t};\n\t\t};\n\n\t\t/**\n\t\t * Setup event listeners for field validation.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv3Settings.addEventListeners = () => {\n\t\t\tif ( ! v3Settings.strings.site_key.length ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$( v3Settings.fields.siteKey ).on( 'keyup', () => v3Settings.clearValidationFeedback() );\n\t\t\t$( v3Settings.fields.secretKey ).on( 'keyup', () => v3Settings.clearValidationFeedback() );\n\t\t};\n\n\t\t/**\n\t\t * Empty out the validation feedback if the fields are modified, as we can't yet know the status.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv3Settings.clearValidationFeedback = () => {\n\t\t\tv3Settings.unsetValid( v3Settings.cache.siteKey.closest( '.gform-settings-input__container' ) );\n\t\t\tv3Settings.unsetValid( v3Settings.cache.secretKey.closest( '.gform-settings-input__container' ) );\n\t\t};\n\n\t\t/**\n\t\t * Handles validation of the v3 site key.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {Promise} Returns a promise so this can be verified synchronously if checking the secret key.\n\t\t */\n\t\tv3Settings.getRecaptchaToken = () => {\n\t\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\t\tconst siteKeyContainer = v3Settings.cache.siteKey.closest( '.gform-settings-input__container' );\n\n\t\t\t\ttry {\n\t\t\t\t\tconst { siteKey } = v3Settings.cache;\n\t\t\t\t\tconst siteKeyValue = siteKey.val().trim();\n\n\t\t\t\t\tif ( 0 === siteKeyValue.length ) {\n\t\t\t\t\t\tv3Settings.unsetValid( siteKeyContainer );\n\t\t\t\t\t\tv3Settings.unsetValid( v3Settings.cache.keysStatus.closest( '.gform-settings-input__container' ) );\n\t\t\t\t\t\t$( v3Settings.fields.keysStatus ).find( 'input' ).val( '0' );\n\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tgrecaptcha.ready( () => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tgrecaptcha.execute( siteKeyValue, { action: 'submit' } ).then( ( token ) => {\n\t\t\t\t\t\t\t\tresolve( token );\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} catch ( error ) {\n\t\t\t\t\t\t\treject( error );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t} catch ( error ) {\n\t\t\t\t\treject( error );\n\t\t\t\t}\n\t\t\t} );\n\t\t};\n\n\t\t/**\n\t\t * Handles validation of the v3 site and secret keys.\n\t\t *\n\t\t * On page load, attempt to generate a reCAPTCHA token and immediately validate it on the server. If it's good,\n\t\t * we'll update the presentation of the keys to indicate success or failure.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv3Settings.validateKeysV3 = () => {\n\t\t\tconst siteKeyContainer = v3Settings.cache.siteKey.closest( '.gform-settings-input__container' );\n\t\t\tconst secretKeyContainer = v3Settings.cache.secretKey.closest( '.gform-settings-input__container' );\n\t\t\tconst keysStatusInput = $( v3Settings.fields.keysStatus ).find( 'input' );\n\n\t\t\tif ( ! $( v3Settings.fields.siteKey ).val().trim().length ) {\n\t\t\t\tv3Settings.unsetValid( siteKeyContainer );\n\t\t\t\tv3Settings.unsetValid( secretKeyContainer );\n\t\t\t\tkeysStatusInput.val( '0' );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tv3Settings.getRecaptchaToken()\n\t\t\t\t.then( ( token ) => {\n\t\t\t\t\tv3Settings.token = token;\n\t\t\t\t} )\n\t\t\t\t.catch( () => {\n\t\t\t\t\tv3Settings.setInvalid( siteKeyContainer );\n\t\t\t\t\tv3Settings.setInvalid( secretKeyContainer );\n\t\t\t\t\tkeysStatusInput.val( '0' );\n\t\t\t\t} )\n\t\t\t\t.finally( () => {\n\t\t\t\t\t$.ajax(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\t\tdataType: 'JSON',\n\t\t\t\t\t\t\turl: v3Settings.strings.ajaxurl,\n\t\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\t\taction: 'verify_secret_key',\n\t\t\t\t\t\t\t\tnonce: v3Settings.strings.nonce,\n\t\t\t\t\t\t\t\ttoken: v3Settings.token,\n\t\t\t\t\t\t\t\tsite_key_v3: $( v3Settings.fields.siteKey ).val(),\n\t\t\t\t\t\t\t\tsecret_key_v3: $( v3Settings.fields.secretKey ).val(),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t).then( ( response ) => {\n\t\t\t\t\t\tswitch ( response.data.keys_status ) {\n\t\t\t\t\t\t\tcase '1':\n\t\t\t\t\t\t\t\tv3Settings.setValid( siteKeyContainer );\n\t\t\t\t\t\t\t\tv3Settings.setValid( secretKeyContainer );\n\t\t\t\t\t\t\t\tkeysStatusInput.val( '1' );\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase '0':\n\t\t\t\t\t\t\t\tv3Settings.setInvalid( siteKeyContainer );\n\t\t\t\t\t\t\t\tv3Settings.setInvalid( secretKeyContainer );\n\t\t\t\t\t\t\t\tkeysStatusInput.val( '0' );\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tv3Settings.unsetValid( siteKeyContainer );\n\t\t\t\t\t\t\t\tv3Settings.unsetValid( secretKeyContainer );\n\t\t\t\t\t\t\t\tkeysStatusInput.val( '0' );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t} );\n\t\t};\n\n\t\t/**\n\t\t * Updates the text field to display no feedback.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @param {Object} el The jQuery element.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv3Settings.unsetValid = ( el ) => {\n\t\t\tel.removeClass( 'gform-settings-input__container--feedback-success' );\n\t\t\tel.removeClass( 'gform-settings-input__container--feedback-error' );\n\t\t};\n\n\t\t/**\n\t\t * Updates the text field to display the successful feedback.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @param {Object} el The jQuery element.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv3Settings.setValid = ( el ) => {\n\t\t\tel.addClass( 'gform-settings-input__container--feedback-success' );\n\t\t\tel.removeClass( 'gform-settings-input__container--feedback-error' );\n\t\t};\n\n\t\t/**\n\t\t * Updates the text field to display the error feedback.\n\t\t *\n\t\t * @since 1.0\n\t\t *\n\t\t * @param {Object} el The jQuery element.\n\t\t *\n\t\t * @return {void}\n\t\t */\n\t\tv3Settings.setInvalid = ( el ) => {\n\t\t\tel.removeClass( 'gform-settings-input__container--feedback-success' );\n\t\t\tel.addClass( 'gform-settings-input__container--feedback-error' );\n\t\t};\n\n\t\tv3Settings.init();\n\t};\n\n\t$( document ).ready( () => {\n\t\trecaptchaV3Settings();\n\t\trecaptchaV2Settings();\n\t\tgform.adminUtils.handleUnsavedChanges( '#gform-settings' );\n\t} );\n} )( jQuery );\n"],"names":["$","recaptchaV2Settings","v2Settings","init","cacheElements","addEventListeners","container","fields","siteKey","secretKey","reset","type","on","window","loadRecaptcha","self","recaptcha","save","flushExistingState","remove","canBeDisplayed","hideRecaptcha","prop","showSelectedRecaptcha","render","typeValue","grecaptcha","sitekey","val","trim","size","badge","errorCallback","callback","___grecaptcha_cfg","clients","count","html","hide","show","Error","execute","recaptchaV3Settings","v3Settings","token","strings","gforms_recaptcha_recaptcha_strings","validateKeysV3","threshold","disableBadge","keysStatus","cache","site_key","length","clearValidationFeedback","unsetValid","closest","getRecaptchaToken","Promise","resolve","reject","siteKeyContainer","siteKeyValue","find","ready","action","then","error","secretKeyContainer","keysStatusInput","catch","setInvalid","finally","ajax","method","dataType","url","ajaxurl","data","nonce","site_key_v3","secret_key_v3","response","keys_status","setValid","el","removeClass","addClass","document","gform","adminUtils","handleUnsavedChanges","jQuery"],"sourceRoot":""} \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.min.js b/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.min.js new file mode 100644 index 00000000..81a87900 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/js/plugin_settings.min.js @@ -0,0 +1 @@ +!function(){var e;(e=jQuery)(document).ready((function(){var t,n;(t={init:function(){t.token="",t.strings=gforms_recaptcha_recaptcha_strings,t.cacheElements(),t.validateKeysV3(),t.addEventListeners()},cacheElements:function(){t.fields={siteKey:"#site_key_v3",secretKey:"#secret_key_v3",threshold:"#score_threshold_v3",disableBadge:"#disable_badge_v3",keysStatus:"#gform_setting_recaptcha_keys_status_v3"},t.cache={siteKey:e(t.fields.siteKey),secretKey:e(t.fields.secretKey),keysStatus:e(t.fields.keysStatus),save:e("#gform-settings-save")}},addEventListeners:function(){t.strings.site_key.length&&(e(t.fields.siteKey).on("keyup",(function(){return t.clearValidationFeedback()})),e(t.fields.secretKey).on("keyup",(function(){return t.clearValidationFeedback()})))},clearValidationFeedback:function(){t.unsetValid(t.cache.siteKey.closest(".gform-settings-input__container")),t.unsetValid(t.cache.secretKey.closest(".gform-settings-input__container"))},getRecaptchaToken:function(){return new Promise((function(n,s){var a=t.cache.siteKey.closest(".gform-settings-input__container");try{var i=t.cache.siteKey.val().trim();if(0===i.length)return t.unsetValid(a),t.unsetValid(t.cache.keysStatus.closest(".gform-settings-input__container")),void e(t.fields.keysStatus).find("input").val("0");grecaptcha.ready((function(){try{grecaptcha.execute(i,{action:"submit"}).then((function(e){n(e)}))}catch(e){s(e)}}))}catch(e){s(e)}}))},validateKeysV3:function(){var n=t.cache.siteKey.closest(".gform-settings-input__container"),s=t.cache.secretKey.closest(".gform-settings-input__container"),a=e(t.fields.keysStatus).find("input");if(!e(t.fields.siteKey).val().trim().length)return t.unsetValid(n),t.unsetValid(s),void a.val("0");t.getRecaptchaToken().then((function(e){t.token=e})).catch((function(){t.setInvalid(n),t.setInvalid(s),a.val("0")})).finally((function(){e.ajax({method:"POST",dataType:"JSON",url:t.strings.ajaxurl,data:{action:"verify_secret_key",nonce:t.strings.nonce,token:t.token,site_key_v3:e(t.fields.siteKey).val(),secret_key_v3:e(t.fields.secretKey).val()}}).then((function(e){switch(e.data.keys_status){case"1":t.setValid(n),t.setValid(s),a.val("1");break;case"0":t.setInvalid(n),t.setInvalid(s),a.val("0");break;default:t.unsetValid(n),t.unsetValid(s),a.val("0")}}))}))},unsetValid:function(e){e.removeClass("gform-settings-input__container--feedback-success"),e.removeClass("gform-settings-input__container--feedback-error")},setValid:function(e){e.addClass("gform-settings-input__container--feedback-success"),e.removeClass("gform-settings-input__container--feedback-error")},setInvalid:function(e){e.removeClass("gform-settings-input__container--feedback-success"),e.addClass("gform-settings-input__container--feedback-error")}}).init(),n={init:function(){n.cacheElements(),n.addEventListeners()},cacheElements:function(){n.container=e('div[id="gform_setting_reset_v2"]'),n.fields={siteKey:e('input[name="_gform_setting_site_key_v2"]'),secretKey:e('input[name="_gform_setting_secret_key_v2"]'),reset:e('input[name="_gform_setting_reset_v2"]'),type:e('input[name="_gform_setting_type_v2"]')}},addEventListeners:function(){n.fields.siteKey.on("change",window.loadRecaptcha),n.fields.secretKey.on("change",window.loadRecaptcha),n.fields.type.on("change",(function(){return window.loadRecaptcha()}))}},window.loadRecaptcha=function(){var t={init:function(){n.recaptcha=e("#recaptcha"),n.save=e("#gform-settings-save"),t.flushExistingState(),e("#recpatcha .gform-settings-field__feedback").remove(),t.canBeDisplayed()?(n.save.prop("disabled",!0),t.showSelectedRecaptcha()):t.hideRecaptcha()},render:function(e){grecaptcha.render("recaptcha",{sitekey:n.fields.siteKey.val().trim(),size:"invisible"===e?e:"",badge:"inline","error-callback":function(){},callback:function(){return n.save.prop("disabled",!1)}})},flushExistingState:function(){window.___grecaptcha_cfg.clients={},window.___grecaptcha_cfg.count=0,n.recaptcha.html(""),n.fields.reset.val("1")},canBeDisplayed:function(){return n.fields.siteKey.val()&&n.fields.secretKey.val()},hideRecaptcha:function(){n.save.prop("disabled",!1),n.container.hide()},showSelectedRecaptcha:function(){var s=e('input[name="_gform_setting_type_v2"]:checked').val();switch(t.render(s),s){case"checkbox":e('#gforms_checkbox_recaptcha_message, label[for="reset"]').show();break;case"invisible":e('#gforms_checkbox_recaptcha_message, label[for="reset"]').hide();break;default:throw new Error("Unexpected type selected.")}n.container.show(),"invisible"===s&&grecaptcha.execute()}};t.init()},n.init(),gform.adminUtils.handleUnsavedChanges("#gform-settings")}))}(); \ No newline at end of file diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/languages/gravityformsrecaptcha.pot b/wp/wp-content/plugins/gravityformsrecaptcha/languages/gravityformsrecaptcha.pot new file mode 100644 index 00000000..1cc74124 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/languages/gravityformsrecaptcha.pot @@ -0,0 +1,186 @@ +# Copyright (C) 2024 Gravity Forms +# This file is distributed under the GPL-3.0+. +msgid "" +msgstr "" +"Project-Id-Version: Gravity Forms reCAPTCHA Add-On 1.6.0\n" +"Report-Msgid-Bugs-To: https://gravityforms.com/support\n" +"Last-Translator: Gravity Forms \n" +"Language-Team: Gravity Forms \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2024-07-30T13:59:39+00:00\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"X-Generator: WP-CLI 2.10.0\n" +"X-Domain: gravityformsrecaptcha\n" + +#. Plugin Name of the plugin +msgid "Gravity Forms reCAPTCHA Add-On" +msgstr "" + +#. Plugin URI of the plugin +#. Author URI of the plugin +msgid "https://gravityforms.com" +msgstr "" + +#. Description of the plugin +msgid "Enhance Gravity Forms with support for Google reCAPTCHA." +msgstr "" + +#. Author of the plugin +msgid "Gravity Forms" +msgstr "" + +#: class-gf-recaptcha.php:492 +msgid "Disable reCAPTCHA v3 for this form." +msgstr "" + +#: class-gf-recaptcha.php:674 +msgid "reCAPTCHA Score" +msgstr "" + +#: class-gf-recaptcha.php:735 +msgid "reCAPTCHA" +msgstr "" + +#: class-gf-recaptcha.php:756 +msgid "Score" +msgstr "" + +#: class-gf-recaptcha.php:759 +msgid "Click here to learn more about reCAPTCHA." +msgstr "" + +#: includes/settings/class-plugin-settings.php:122 +msgid "reCAPTCHA Settings" +msgstr "" + +#: includes/settings/class-plugin-settings.php:144 +msgid "reCAPTCHA v3" +msgstr "" + +#: includes/settings/class-plugin-settings.php:148 +#: includes/settings/class-plugin-settings.php:233 +msgid "Site Key" +msgstr "" + +#: includes/settings/class-plugin-settings.php:156 +#: includes/settings/class-plugin-settings.php:240 +msgid "Secret Key" +msgstr "" + +#: includes/settings/class-plugin-settings.php:164 +msgid "Score Threshold" +msgstr "" + +#: includes/settings/class-plugin-settings.php:176 +msgid "Disable Google reCAPTCHA Badge" +msgstr "" + +#: includes/settings/class-plugin-settings.php:177 +msgid "By default reCAPTCHA v3 displays a badge on every page of your site with links to the Google terms of service and privacy policy. You are allowed to hide the badge as long as you include the reCAPTCHA branding and links visibly in the user flow." +msgstr "" + +#: includes/settings/class-plugin-settings.php:182 +msgid "I have added the reCAPTCHA branding, terms of service and privacy policy to my site. " +msgstr "" + +#: includes/settings/class-plugin-settings.php:217 +msgid "Value defined using the %s constant." +msgstr "" + +#: includes/settings/class-plugin-settings.php:229 +msgid "reCAPTCHA v2" +msgstr "" + +#: includes/settings/class-plugin-settings.php:247 +msgid "Type" +msgstr "" + +#: includes/settings/class-plugin-settings.php:254 +msgid "Checkbox" +msgstr "" + +#: includes/settings/class-plugin-settings.php:258 +msgid "Invisible" +msgstr "" + +#: includes/settings/class-plugin-settings.php:265 +msgid "Validate Keys" +msgstr "" + +#: includes/settings/class-plugin-settings.php:301 +msgid "reCAPTCHA keys are invalid." +msgstr "" + +#: includes/settings/class-plugin-settings.php:344 +msgid "Google reCAPTCHA is a free anti-spam service that protects your website from fraud and abuse." +msgstr "" + +#: includes/settings/class-plugin-settings.php:345 +msgid "By adding reCAPTCHA to your forms, you can deter automated software from submitting form entries, while still ensuring a user-friendly experience for real people." +msgstr "" + +#: includes/settings/class-plugin-settings.php:349 +msgid "Gravity Forms integrates with three types of Google reCAPTCHA." +msgstr "" + +#: includes/settings/class-plugin-settings.php:351 +msgid "reCAPTCHA v3 - Adds a script to every page of your site and uploads form content for processing by Google." +msgstr "" + +#: includes/settings/class-plugin-settings.php:352 +msgid "All submissions are accepted and suspicious submissions are marked as spam." +msgstr "" + +#: includes/settings/class-plugin-settings.php:353 +msgid "When reCAPTCHA v3 is configured, it is enabled automatically on all forms by default. It can be disabled for specific forms in the form settings." +msgstr "" + +#: includes/settings/class-plugin-settings.php:355 +msgid "reCAPTCHA v2 (Invisible) - Displays a badge on your form and will present a challenge to the user if the activity is suspicious e.g. select the traffic lights." +msgstr "" + +#: includes/settings/class-plugin-settings.php:356 +msgid "Please note, only v2 keys are supported and checkbox keys are not compatible with invisible reCAPTCHA." +msgstr "" + +#: includes/settings/class-plugin-settings.php:357 +msgid "To activate reCAPTCHA v2 on your form, simply add the CAPTCHA field in the form editor." +msgstr "" + +#: includes/settings/class-plugin-settings.php:361 +msgid "Read more about reCAPTCHA." +msgstr "" + +#: includes/settings/class-plugin-settings.php:364 +msgid "reCAPTCHA v2 (Checkbox) - Requires a user to click a checkbox to indicate that they are not a robot and displays a challenge if the activity is suspicious" +msgstr "" + +#: includes/settings/class-plugin-settings.php:369 +msgid "For more information on reCAPTCHA, which version is right for you, and how to add it to your forms," +msgstr "" + +#: includes/settings/class-plugin-settings.php:373 +msgid "check out our documentation." +msgstr "" + +#: includes/settings/class-plugin-settings.php:389 +msgid "reCAPTCHA v3 returns a score (1.0 is very likely a good interaction, 0.0 is very likely a bot)." +msgstr "" + +#: includes/settings/class-plugin-settings.php:390 +msgid "If the score is less than or equal to this threshold, the form submission will be sent to spam." +msgstr "" + +#: includes/settings/class-plugin-settings.php:391 +msgid "The default threshold is 0.5." +msgstr "" + +#: includes/settings/class-plugin-settings.php:438 +msgid "Unexpected field type." +msgstr "" + +#: includes/settings/class-plugin-settings.php:445 +msgid "Score threshold must be between 0.0 and 1.0" +msgstr "" diff --git a/wp/wp-content/plugins/gravityformsrecaptcha/recaptcha.php b/wp/wp-content/plugins/gravityformsrecaptcha/recaptcha.php new file mode 100644 index 00000000..07f9ae73 --- /dev/null +++ b/wp/wp-content/plugins/gravityformsrecaptcha/recaptcha.php @@ -0,0 +1,78 @@ + { + bud.externals({ + jQuery: 'window.jquery', + wp: 'window.wp', + }) + bud.runtime('single') + + await bud + .setPath('@dist', '../assets/admin') + .entry({ + chart: 'chart.js', + bulk: 'bulk.js', + }) + //.when( bud.isProduction, () => bud.splitChunks().minimize() ) +} diff --git a/wp/wp-content/plugins/imagify/_dev/package.json b/wp/wp-content/plugins/imagify/_dev/package.json new file mode 100644 index 00000000..ce77be15 --- /dev/null +++ b/wp/wp-content/plugins/imagify/_dev/package.json @@ -0,0 +1,15 @@ +{ + "name": "imagify_dev", + "version": "1.0.0", + "dependencies": { + }, + "devDependencies": { + "@roots/bud": "^6.11.0", + "chart.js": "^4.4.0" + }, + "scripts": { + "dev": "bud dev", + "build": "bud build", + "bud": "bud" + } +} diff --git a/wp/wp-content/plugins/imagify/_dev/src/bulk.js b/wp/wp-content/plugins/imagify/_dev/src/bulk.js new file mode 100644 index 00000000..e8a7f57b --- /dev/null +++ b/wp/wp-content/plugins/imagify/_dev/src/bulk.js @@ -0,0 +1,1143 @@ +window.imagify = window.imagify || {}; + +(function( $, undefined ) { // eslint-disable-line no-shadow, no-shadow-restricted-names + + var jqPropHookChecked = $.propHooks.checked; + + // Force `.prop()` to trigger a `change` event. + $.propHooks.checked = { + set: function( elem, value, name ) { + var ret; + + if ( undefined === jqPropHookChecked ) { + ret = ( elem[ name ] = value ); + } else { + ret = jqPropHookChecked( elem, value, name ); + } + + $( elem ).trigger( 'change.imagify' ); + + return ret; + } + }; + + // Custom jQuery functions ===================================================================== + /** + * Hide element(s). + * + * @param {int} duration A duration in ms. + * @param {function} callback A callback to execute once the element is hidden. + * @return {element} The jQuery element(s). + */ + $.fn.imagifyHide = function( duration, callback ) { + if ( duration && duration > 0 ) { + this.hide( duration, function() { + $( this ).addClass( 'hidden' ).css( 'display', '' ); + + if ( undefined !== callback ) { + callback(); + } + } ); + } else { + this.addClass( 'hidden' ); + + if ( undefined !== callback ) { + callback(); + } + } + + return this.attr( 'aria-hidden', 'true' ); + }; + + /** + * Show element(s). + * + * @param {int} duration A duration in ms. + * @param {function} callback A callback to execute before starting to display the element. + * @return {element} The jQuery element(s). + */ + $.fn.imagifyShow = function( duration, callback ) { + if ( undefined !== callback ) { + callback(); + } + + if ( duration && duration > 0 ) { + this.show( duration, function() { + $( this ).removeClass( 'hidden' ).css( 'display', '' ); + } ); + } else { + this.removeClass( 'hidden' ); + } + + return this.attr( 'aria-hidden', 'false' ); + }; + +}( jQuery )); + +(function($, d, w, undefined) { // eslint-disable-line no-unused-vars, no-shadow, no-shadow-restricted-names + + w.imagify.bulk = { + + // Properties ============================================================================== + charts: { + overview: { + canvas: false, + donut: false, + data: { + // Order: unoptimized, optimized, error. + labels: [ + imagifyBulk.labels.overviewChartLabels.unoptimized, + imagifyBulk.labels.overviewChartLabels.optimized, + imagifyBulk.labels.overviewChartLabels.error + ], + datasets: [ { + data: [], + backgroundColor: [ '#10121A', '#46B1CE', '#C51162' ], + borderWidth: 0 + } ] + } + }, + files: { + donuts: {} + }, + share: { + canvas: false, + donut: false + } + }, + /** + * Folder types in queue. + * An array of objects: { + * @type {string} groupID The group ID, like 'library'. + * @type {string} context The context, like 'wp'. + * @type {int} level The optimization level: 0, 1, or 2. + * } + */ + folderTypesQueue: [], + /** + * Status of each folder type. Type IDs are used as keys. + * Each object contains: { + * @type {bool} isError Tell if the status is considered as an error. + * @type {string} id ID of the status, like 'waiting', 'fetching', or 'optimizing'. + * } + */ + status: {}, + // Tell if the message displayed when retrieving the image IDs has been shown once. + displayedWaitMessage: false, + // Tell how many rows are available. + hasMultipleRows: true, + // Set to true to stop the whole thing. + processIsStopped: false, + // Global stats. + globalOptimizedCount: 0, + globalGain: 0, + globalOriginalSize: 0, + globalOptimizedSize: 0, + /** + * Folder types used in the page. + * + * @var {object} { + * An object of objects. The keys are like: {groupID|context}. + * + * @type {string} groupID The group ID. + * @type {string} context The context. + * } + */ + folderTypesData: {}, + + // Methods ================================================================================= + + /* + * Init. + */ + init: function () { + var $document = $( d ); + + // Overview chart. + this.drawOverviewChart(); + + this.hasMultipleRows = $( '.imagify-bulk-table [name="group[]"]' ).length > 1; + + // Selectors (like the level selectors). + $( '.imagify-selector-button' ) + .on( 'click.imagify', this.openSelectorFromButton ); + + $( '.imagify-selector-list input' ) + .on( 'change.imagify init.imagify', this.syncSelectorFromRadio ) + .filter( ':checked' ) + .trigger( 'init.imagify' ); + + $document + .on( 'keypress.imagify click.imagify', this.closeSelectors ); + + // Other buttons/UI. + $( '.imagify-bulk-table [name="group[]"]' ) + .on( 'change.imagify init.imagify', this.toggleOptimizationButton ) + .trigger( 'init.imagify' ); + + $( '#imagify-bulk-action' ) + .on( 'click.imagify', this.maybeLaunchAllProcesses ); + + // Optimization events. + $( w ) + .on( 'processQueue.imagify', this.processQueue ) + .on( 'queueEmpty.imagify', this.queueEmpty ); + + if ( imagifyBulk.ajaxActions.getStats && $( '.imagify-bulk-table [data-group-id="library"][data-context="wp"]' ).length ) { + // On large WP library, don't request stats periodically, only when everything is done. + imagifyBulk.imagifybeatIDs.stats = false; + } + + if ( imagifyBulk.imagifybeatIDs.stats ) { + // Imagifybeat for stats. + $document + .on( 'imagifybeat-send', this.addStatsImagifybeat ) + .on( 'imagifybeat-tick', this.processStatsImagifybeat ); + } + + // Imagifybeat for optimization queue. + $document + .on( 'imagifybeat-send', this.addQueueImagifybeat ) + .on( 'imagifybeat-tick', this.processQueueImagifybeat ); + + // Imagifybeat for requirements. + $document + .on( 'imagifybeat-send', this.addRequirementsImagifybeat ) + .on( 'imagifybeat-tick', this.processRequirementsImagifybeat ); + + if ( imagifyBulk.optimizing ) { + // Fasten Imagifybeat: 1 tick every 15 seconds, and disable suspend. + w.imagify.beat.interval( 15 ); + w.imagify.beat.disableSuspend(); + } + }, + + /* + * Get the URL used for ajax requests. + * + * @param {string} action An ajax action, or part of it. + * @param {object} item The current item. + * @return {string} + */ + getAjaxUrl: function ( action, item ) { + var url = ajaxurl + w.imagify.concat + '_wpnonce=' + imagifyBulk.ajaxNonce + '&action=' + imagifyBulk.ajaxActions[ action ]; + + if ( item && item.context ) { + url += '&context=' + item.context; + } + + if ( item && Number.isInteger( item.level ) ) { + url += '&optimization_level=' + item.level; + } + + return url; + }, + + /** + * Get folder types used in the page. + * + * @see this.folderTypesData + * @return {object} + */ + getFolderTypes: function () { + if ( ! $.isEmptyObject( w.imagify.bulk.folderTypesData ) ) { + return w.imagify.bulk.folderTypesData; + } + + $( '.imagify-row-folder-type' ).each( function() { + var $this = $( this ), + data = { + groupID: $this.data( 'group-id' ), + context: $this.data( 'context' ), + level: $this.find( '.imagify-cell-level [name="level[' + $this.data( 'group-id' ) + ']"]:checked' ).val() + }, + key = data.groupID + '|' + data.context; + + w.imagify.bulk.folderTypesData[ key ] = data; + } ); + + return w.imagify.bulk.folderTypesData; + }, + + /* + * Get the message displayed to the user when (s)he leaves the page. + * + * @return {string} + */ + getConfirmMessage: function () { + return imagifyBulk.labels.processing; + }, + + /* + * Close the given optimization level selector. + * + * @param {object} $lists A jQuery object. + * @param {int} timer Timer in ms to close the selector. + */ + closeLevelSelector: function ( $lists, timer ) { + if ( ! $lists || ! $lists.length ) { + return; + } + + if ( undefined !== timer && timer > 0 ) { + w.setTimeout( function() { + w.imagify.bulk.closeLevelSelector( $lists ); + }, timer ); + return; + } + + $lists.attr( 'aria-hidden', 'true' ); + }, + + /* + * Stop everything and update the current item status as an error. + * + * @param {string} errorId An error ID. + * @param {object} item The current item. + */ + stopProcess: function ( errorId, item ) { + w.imagify.bulk.processIsStopped = true; + + w.imagify.bulk.status[ item.groupID ] = { + isError: true, + id: errorId + }; + + $( w ).trigger( 'queueEmpty.imagify' ); + }, + + /* + * Tell if we have a blocking error. Can also display an error message in a swal. + * + * @param {bool} displayErrorMessage False to not display any error message. + * @return {bool} + */ + hasBlockingError: function ( displayErrorMessage ) { + displayErrorMessage = undefined !== displayErrorMessage && displayErrorMessage; + + if ( imagifyBulk.curlMissing ) { + if ( displayErrorMessage ) { + w.imagify.bulk.displayError( { + html: imagifyBulk.labels.curlMissing + } ); + } + + w.imagify.bulk.processIsStopped = true; + + return true; + } + + if ( imagifyBulk.editorMissing ) { + if ( displayErrorMessage ) { + w.imagify.bulk.displayError( { + html: imagifyBulk.labels.editorMissing + } ); + } + + w.imagify.bulk.processIsStopped = true; + + return true; + } + + if ( imagifyBulk.extHttpBlocked ) { + if ( displayErrorMessage ) { + w.imagify.bulk.displayError( { + html: imagifyBulk.labels.extHttpBlocked + } ); + } + + w.imagify.bulk.processIsStopped = true; + + return true; + } + + if ( imagifyBulk.apiDown ) { + if ( displayErrorMessage ) { + w.imagify.bulk.displayError( { + html: imagifyBulk.labels.apiDown + } ); + } + + w.imagify.bulk.processIsStopped = true; + + return true; + } + + if ( ! imagifyBulk.keyIsValid ) { + if ( displayErrorMessage ) { + w.imagify.bulk.displayError( { + title: imagifyBulk.labels.invalidAPIKeyTitle, + type: 'info' + } ); + } + + w.imagify.bulk.processIsStopped = true; + + return true; + } + + if ( imagifyBulk.isOverQuota ) { + if ( displayErrorMessage ) { + w.imagify.bulk.displayError( { + title: imagifyBulk.labels.overQuotaTitle, + html: $( '#tmpl-imagify-overquota-alert' ).html(), + type: 'info', + customClass: 'imagify-swal-has-subtitle imagify-swal-error-header', + showConfirmButton: false + } ); + } + + w.imagify.bulk.processIsStopped = true; + + return true; + } + + return false; + }, + + /* + * Display an error message in a modal. + * + * @param {string} title The modal title. + * @param {string} text The modal text. + * @param {object} args Other less common args. + */ + displayError: function ( title, text, args ) { + var def = { + title: '', + html: '', + type: 'error', + customClass: '', + width: 620, + padding: 0, + showCloseButton: true, + showConfirmButton: true + }; + + if ( $.isPlainObject( title ) ) { + args = $.extend( {}, def, title ); + } else { + args = args || {}; + args = $.extend( {}, def, { + title: title || '', + html: text || '' + }, args ); + } + + args.title = args.title || imagifyBulk.labels.error; + args.customClass += ' imagify-sweet-alert'; + + swal( args ).catch( swal.noop ); + }, + + /* + * Display the share box. + */ + displayShareBox: function () { + var $complete, globalSaved; + + if ( ! this.globalGain || this.folderTypesQueue.length ) { + this.globalOptimizedCount = 0; + this.globalGain = 0; + this.globalOriginalSize = 0; + this.globalOptimizedSize = 0; + return; + } + + globalSaved = this.globalOriginalSize - this.globalOptimizedSize; + + $complete = $( '.imagify-row-complete' ); + $complete.find( '.imagify-ac-rt-total-images' ).html( this.globalOptimizedCount ); + $complete.find( '.imagify-ac-rt-total-gain' ).html( w.imagify.humanSize( globalSaved, 1 ) ); + $complete.find( '.imagify-ac-rt-total-original' ).html( w.imagify.humanSize( this.globalOriginalSize, 1 ) ); + $complete.find( '.imagify-ac-chart' ).attr( 'data-percent', Math.round( this.globalGain ) ); + + // Chart. + this.drawShareChart(); + + $complete.addClass( 'done' ).imagifyShow(); + + $( 'html, body' ).animate( { + scrollTop: $complete.offset().top + }, 200 ); + + // Reset the stats. + this.globalOptimizedCount = 0; + this.globalGain = 0; + this.globalOriginalSize = 0; + this.globalOptimizedSize = 0; + }, + + /** + * Print optimization stats. + * + * @param {object} data Object containing all Imagifybeat IDs. + */ + updateStats: function ( data ) { + var donutData; + + if ( ! data || ! $.isPlainObject( data ) ) { + return; + } + + if ( w.imagify.bulk.charts.overview.donut.data ) { + donutData = w.imagify.bulk.charts.overview.donut.data.datasets[0].data; + + if ( data.unoptimized_attachments === donutData[0] && data.optimized_attachments === donutData[1] && data.errors_attachments === donutData[2] ) { + return; + } + } + + /** + * User account. + */ + data.unconsumed_quota = data.unconsumed_quota.toFixed( 1 ); // A mystery where a float rounded on php side is not rounded here anymore. JavaScript is fun, it always surprises you in a manner you didn't expect. + $( '.imagify-meteo-icon' ).html( data.quota_icon ); + $( '.imagify-unconsumed-percent' ).html( data.unconsumed_quota + '%' ); + $( '.imagify-unconsumed-bar' ).css( 'width', data.unconsumed_quota + '%' ).parent().attr( 'class', data.quota_class ); + + /** + * Global chart. + */ + $( '#imagify-overview-chart-percent' ).html( data.optimized_attachments_percent + '%' ); + $( '.imagify-total-percent' ).html( data.optimized_attachments_percent + '%' ); + + w.imagify.bulk.drawOverviewChart( [ + data.unoptimized_attachments, + data.optimized_attachments, + data.errors_attachments + ] ); + + /** + * Stats block. + */ + // The total optimized images. + $( '#imagify-total-optimized-attachments' ).html( data.already_optimized_attachments ); + + // The original bar. + $( '#imagify-original-bar' ).find( '.imagify-barnb' ).html( data.original_human ); + + // The optimized bar. + $( '#imagify-optimized-bar' ).css( 'width', ( 100 - data.optimized_percent ) + '%' ).find( '.imagify-barnb' ).html( data.optimized_human ); + + // The Percent data. + $( '#imagify-total-optimized-attachments-pct' ).html( data.optimized_percent + '%' ); + }, + + // Event callbacks ========================================================================= + + /* + * Selector (like optimization level selector): on button click, open the dropdown and focus the current radio input. + * The dropdown must be open or the focus event won't be triggered. + * + * @param {object} e jQuery's Event object. + */ + openSelectorFromButton: function ( e ) { + var $list = $( '#' + $( this ).attr( 'aria-controls' ) ); + // Stop click event from bubbling: this will allow to close the selector list if anything else id clicked. + e.stopPropagation(); + // Close other lists. + $( '.imagify-selector-list' ).not( $list ).attr( 'aria-hidden', 'true' ); + // Open the corresponding list and focus the radio. + $list.attr( 'aria-hidden', 'false' ).find( ':checked' ).trigger( 'focus.imagify' ); + }, + + /* + * Selector: on radio change, make the row "current" and update the button text. + */ + syncSelectorFromRadio: function () { + var $row = $( this ).closest( '.imagify-selector-choice' ); + // Update rows attributes. + $row.addClass( 'imagify-selector-current-value' ).attr( 'aria-current', 'true' ).siblings( '.imagify-selector-choice' ).removeClass( 'imagify-selector-current-value' ).attr( 'aria-current', 'false' ); + // Change the button text. + $row.closest( '.imagify-selector-list' ).siblings( '.imagify-selector-button' ).find( '.imagify-selector-current-value-info' ).html( $row.find( 'label' ).html() ); + }, + + /* + * Selector: on Escape or Enter kaystroke, close the dropdown. + * + * @param {object} e jQuery's Event object. + */ + closeSelectors: function ( e ) { + if ( 'keypress' === e.type && 27 !== e.keyCode && 13 !== e.keyCode ) { + return; + } + w.imagify.bulk.closeLevelSelector( $( '.imagify-selector-list[aria-hidden="false"]' ) ); + }, + + /* + * Enable or disable the Optimization button depending on the checked checkboxes. + * Also, if there is only 1 checkbox in the page, don't allow it to be unchecked. + */ + toggleOptimizationButton: function () { + // Prevent uncheck if there is only one checkbox. + if ( ! w.imagify.bulk.hasMultipleRows && ! this.checked ) { + $( this ).prop( 'checked', true ); + return; + } + + if ( imagifyBulk.optimizing ) { + $( '#imagify-bulk-action' ).prop( 'disabled', true ); + + return; + } + + // Enable or disable the Optimization button. + if ( $( '.imagify-bulk-table [name="group[]"]:checked' ).length ) { + $( '#imagify-bulk-action' ).prop( 'disabled', false ); + } else { + $( '#imagify-bulk-action' ).prop( 'disabled', true ); + } + }, + + /* + * Maybe display a modal, then launch all processes. + */ + maybeLaunchAllProcesses: function () { + var $infosModal; + + if ( $( this ).prop('disabled') ) { + return; + } + + if ( ! $( '.imagify-bulk-table [name="group[]"]:checked' ).length ) { + return; + } + + if ( w.imagify.bulk.hasBlockingError( true ) ) { + return; + } + + $infosModal = $( '#tmpl-imagify-bulk-infos' ); + + if ( ! $infosModal.length ) { + w.imagify.bulk.launchAllProcesses(); + return; + } + + // Swal Information before loading the optimize process. + swal( { + title: imagifyBulk.labels.bulkInfoTitle, + html: $infosModal.html(), + type: '', + customClass: 'imagify-sweet-alert imagify-swal-has-subtitle imagify-before-bulk-infos', + showCancelButton: true, + padding: 0, + width: 554, + confirmButtonText: imagifyBulk.labels.confirmBulk, + cancelButtonText: imagifySwal.labels.cancelButtonText, + reverseButtons: true + } ).then( function() { + var $row = $( '.imagify-bulk-table [name="group[]"]:checked' ).first().closest( '.imagify-row-folder-type' ); + + $.get( w.imagify.bulk.getAjaxUrl( 'bulkInfoSeen', { + context: $row.data( 'context' ) + } ) ); + + $infosModal.remove(); + + w.imagify.bulk.launchAllProcesses(); + } ).catch( swal.noop ); + }, + + /* + * Build the queue and launch all processes. + */ + launchAllProcesses: function () { + var $w = $( w ), + $button = $( '#imagify-bulk-action' ); + + // Disable the button. + $button.prop( 'disabled', true ).find( '.dashicons' ).addClass( 'rotate' ); + + // Hide the "Complete" message. + $( '.imagify-row-complete' ).imagifyHide( 200, function() { + $( this ).removeClass( 'done' ); + } ); + + // Make sure to reset properties. + this.folderTypesQueue = []; + this.status = {}; + this.displayedWaitMessage = false; + this.processIsStopped = false; + this.globalOptimizedCount = 0; + this.globalGain = 0; + this.globalOriginalSize = 0; + this.globalOptimizedSize = 0; + + $( '.imagify-bulk-table [name="group[]"]:checked' ).each( function() { + var $checkbox = $( this ), + $row = $checkbox.closest( '.imagify-row-folder-type' ), + groupID = $row.data( 'group-id' ), + context = $row.data( 'context' ), + level = $row.find( '.imagify-cell-level [name="level[' + groupID + ']"]:checked' ).val(); + + // Build the queue. + w.imagify.bulk.folderTypesQueue.push( { + groupID: groupID, + context: context, + level: undefined === level ? -1 : parseInt( level, 10 ) + } ); + + // Set the status. + w.imagify.bulk.status[ groupID ] = { + isError: false, + id: 'waiting' + }; + } ); + + // Fasten Imagifybeat: 1 tick every 15 seconds, and disable suspend. + w.imagify.beat.interval( 15 ); + w.imagify.beat.disableSuspend(); + + // Process the queue. + $w.trigger( 'processQueue.imagify' ); + }, + + /* + * Process the first item in the queue. + */ + processQueue: function () { + var $row, $table, $progressBar, $progress; + + if ( w.imagify.bulk.processIsStopped ) { + return; + } + + if ( ! w.imagify.bulk.displayedWaitMessage ) { + // Display an alert to wait. + swal( { + title: imagifyBulk.labels.waitTitle, + html: imagifyBulk.labels.waitText, + showConfirmButton: false, + padding: 0, + imageUrl: imagifyBulk.waitImageUrl, + customClass: 'imagify-sweet-alert' + } ).catch( swal.noop ); + w.imagify.bulk.displayedWaitMessage = true; + } + + w.imagify.bulk.folderTypesQueue.forEach( function( item ) { + // Start async process for current context + $.get( w.imagify.bulk.getAjaxUrl( 'bulkProcess', item ) ) + .done( function( response ) { + var errorMessage; + + swal.close(); + + if ( response.data && response.data.message ) { + errorMessage = response.data.message; + } else { + errorMessage = imagifyBulk.ajaxErrorText; + } + + if ( ! response.success ) { + // Error. + w.imagify.bulk.stopProcess( errorMessage, item ); + return; + } + + if ( ! response.data || ! ( $.isPlainObject( response.data ) || $.isArray( response.data ) ) ) { + // Error: should be an array if empty, or an object otherwize. + w.imagify.bulk.stopProcess( errorMessage, item ); + return; + } + + // Success. + if ( response.success ) { + $row = $( '#cb-select-' + item.groupID ).closest( '.imagify-row-folder-type' ); + $table = $row.closest( '.imagify-bulk-table' ); + $progressBar = $table.find( '.imagify-row-progress' ); + $progress = $progressBar.find( '.bar' ); + + $row.find( '.imagify-cell-checkbox-loader' ).removeClass( 'hidden' ).attr( 'aria-hidden', 'false' ); + $row.find( '.imagify-cell-checkbox-box' ).addClass( 'hidden' ).attr( 'aria-hidden', 'true' ); + + // Reset and display the progress bar. + $progress.css( 'width', '0%' ).find( '.percent' ).text( '0%' ); + $progressBar.slideDown().attr( 'aria-hidden', 'false' ); + } + } ) + .fail( function() { + // Error. + w.imagify.bulk.stopProcess( 'get-unoptimized-images', item ); + } ); + } ); + }, + + /* + * End. + */ + queueEmpty: function () { + var $tables = $( '.imagify-bulk-table' ), + errorArgs = {}, + hasError = false, + noImages = true, + errorMsg = ''; + + // Reset Imagifybeat interval and enable suspend. + w.imagify.beat.resetInterval(); + w.imagify.beat.enableSuspend(); + + // Reset the queue. + w.imagify.bulk.folderTypesQueue = []; + + // Display the share box. + w.imagify.bulk.displayShareBox(); + + // Fetch and display generic stats if stats via Imagifybeat are disabled. + if ( ! imagifyBulk.imagifybeatIDs.stats ) { + $.get( w.imagify.bulk.getAjaxUrl( 'getStats' ), { + types: w.imagify.bulk.getFolderTypes() + } ) + .done( function( response ) { + if ( response.success ) { + w.imagify.bulk.updateStats( response.data ); + } + } ); + } + + // Maybe display error. + if ( ! $.isEmptyObject( w.imagify.bulk.status ) ) { + $.each( w.imagify.bulk.status, function( groupID, typeStatus ) { + if ( ! typeStatus.isError ) { + noImages = false; + } else if ( 'no-images' !== typeStatus.id && typeStatus.isError ) { + hasError = typeStatus.id; + noImages = false; + return false; + } + } ); + + if ( hasError ) { + if ( 'invalid-api-key' === hasError ) { + errorArgs = { + title: imagifyBulk.labels.invalidAPIKeyTitle, + type: 'info' + }; + } + else if ( 'over-quota' === hasError ) { + errorArgs = { + title: imagifyBulk.labels.overQuotaTitle, + html: $( '#tmpl-imagify-overquota-alert' ).html(), + type: 'info', + customClass: 'imagify-swal-has-subtitle imagify-swal-error-header', + showConfirmButton: false + }; + } + else if ( 'get-unoptimized-images' === hasError || 'consumed-all-data' === hasError ) { + errorArgs = { + title: imagifyBulk.labels.getUnoptimizedImagesErrorTitle, + html: imagifyBulk.labels.getUnoptimizedImagesErrorText, + type: 'info' + }; + } + w.imagify.bulk.displayError( errorArgs ); + } + else if ( noImages ) { + if ( Object.prototype.hasOwnProperty.call( imagifyBulk.labels.nothingToDoText, w.imagify.bulk.imagifyAction ) ) { + errorMsg = imagifyBulk.labels.nothingToDoText[ w.imagify.bulk.imagifyAction ]; + } else { + errorMsg = imagifyBulk.labels.nothingToDoText.optimize; + } + w.imagify.bulk.displayError( { + title: imagifyBulk.labels.nothingToDoTitle, + html: errorMsg, + type: 'info' + } ); + } + } + + // Reset status. + w.imagify.bulk.status = {}; + + // Reset the progress bars. + $tables.find( '.imagify-row-progress' ).slideUp().attr( 'aria-hidden', 'true' ).find( '.bar' ).removeAttr( 'style' ).find( '.percent' ).text( '0%' ); + + $tables.find( '.imagify-cell-checkbox-loader' ).each( function() { + $(this).addClass( 'hidden' ).attr( 'aria-hidden', 'true' ); + } ); + + $tables.find( '.imagify-cell-checkbox-box' ).each( function() { + $(this).removeClass( 'hidden' ).attr( 'aria-hidden', 'false' ); + } ); + + // Enable (or not) the main button. + if ( $( '.imagify-bulk-table [name="group[]"]:checked' ).length ) { + $( '#imagify-bulk-action' ).prop( 'disabled', false ).find( '.dashicons' ).removeClass( 'rotate' ); + } else { + $( '#imagify-bulk-action' ).find( '.dashicons' ).removeClass( 'rotate' ); + } + }, + + // Imagifybeat ============================================================================= + + /** + * Add a Imagifybeat ID for global stats on "imagifybeat-send" event. + * + * @param {object} e Event object. + * @param {object} data Object containing all Imagifybeat IDs. + */ + addStatsImagifybeat: function ( e, data ) { + data[ imagifyBulk.imagifybeatIDs.stats ] = Object.keys( w.imagify.bulk.getFolderTypes() ); + }, + + /** + * Listen for the custom event "imagifybeat-tick" on $(document). + * It allows to update various data periodically. + * + * @param {object} e Event object. + * @param {object} data Object containing all Imagifybeat IDs. + */ + processStatsImagifybeat: function ( e, data ) { + if ( typeof data[ imagifyBulk.imagifybeatIDs.stats ] !== 'undefined' ) { + w.imagify.bulk.updateStats( data[ imagifyBulk.imagifybeatIDs.stats ] ); + } + }, + + /** + * Add a Imagifybeat ID on "imagifybeat-send" event to sync the optimization queue. + * + * @param {object} e Event object. + * @param {object} data Object containing all Imagifybeat IDs. + */ + addQueueImagifybeat: function ( e, data ) { + data[ imagifyBulk.imagifybeatIDs.queue ] = Object.values( w.imagify.bulk.getFolderTypes() ); + }, + + /** + * Listen for the custom event "imagifybeat-tick" on $(document). + * It allows to update various data periodically. + * + * @param {object} e Event object. + * @param {object} data Object containing all Imagifybeat IDs. + */ + processQueueImagifybeat: function ( e, data ) { + var queue, $row, $progress, $bar; + + if ( typeof data[ imagifyBulk.imagifybeatIDs.queue ] !== 'undefined' ) { + queue = data[ imagifyBulk.imagifybeatIDs.queue ]; + + if ( false !== queue.result ) { + w.imagify.bulk.globalOriginalSize = queue.result.original_size; + w.imagify.bulk.globalOptimizedSize = queue.result.optimized_size; + w.imagify.bulk.globalOptimizedCount = queue.result.total; + w.imagify.bulk.globalGain = w.imagify.bulk.globalOptimizedSize * 100 / w.imagify.bulk.globalOriginalSize; + } + + if ( ! w.imagify.bulk.processIsStopped && w.imagify.bulk.hasBlockingError( true ) ) { + $( w ).trigger( 'queueEmpty.imagify' ); + return; + } + + if ( Object.prototype.hasOwnProperty.call( queue, 'groups_data' ) ) { + Object.entries( queue.groups_data ).forEach( function( item ) { + $row = $( '[data-context=' + item[0] + ']' ); + + $row.children( '.imagify-cell-count-optimized' ).first().html( item[1]['count-optimized'] ); + $row.children( '.imagify-cell-count-errors' ).first().html( item[1]['count-errors'] ); + $row.children( '.imagify-cell-optimized-size-size' ).first().html( item[1]['optimized-size'] ); + $row.children( '.imagify-cell-original-size-size' ).first().html( item[1]['original-size'] ); + } ); + } + + if ( 0 === queue.remaining ) { + $( w ).trigger( 'queueEmpty.imagify' ); + return; + } + + $progress = $( '.imagify-row-progress' ); + $bar = $progress.find( '.bar' ); + + $bar.css( 'width', queue.percentage + '%' ).find( '.percent' ).html( queue.percentage + '%' ); + $progress.slideDown().attr( 'aria-hidden', 'false' ); + } + }, + + /** + * Add a Imagifybeat ID for requirements on "imagifybeat-send" event. + * + * @param {object} e Event object. + * @param {object} data Object containing all Imagifybeat IDs. + */ + addRequirementsImagifybeat: function ( e, data ) { + data[ imagifyBulk.imagifybeatIDs.requirements ] = 1; + }, + + /** + * Listen for the custom event "imagifybeat-tick" on $(document). + * It allows to update requirements status periodically. + * + * @param {object} e Event object. + * @param {object} data Object containing all Imagifybeat IDs. + */ + processRequirementsImagifybeat: function ( e, data ) { + if ( typeof data[ imagifyBulk.imagifybeatIDs.requirements ] === 'undefined' ) { + return; + } + + data = data[ imagifyBulk.imagifybeatIDs.requirements ]; + + imagifyBulk.curlMissing = data.curl_missing; + imagifyBulk.editorMissing = data.editor_missing; + imagifyBulk.extHttpBlocked = data.external_http_blocked; + imagifyBulk.apiDown = data.api_down; + imagifyBulk.keyIsValid = data.key_is_valid; + imagifyBulk.isOverQuota = data.is_over_quota; + }, + + // Charts ================================================================================== + + /** + * Overview chart. + * Used for the big overview chart. + */ + drawOverviewChart: function ( data ) { + var initData, legend; + + if ( ! this.charts.overview.canvas ) { + this.charts.overview.canvas = d.getElementById( 'imagify-overview-chart' ); + + if ( ! this.charts.overview.canvas ) { + return; + } + } + + data = data && $.isArray( data ) ? data : []; + + if ( this.charts.overview.donut ) { + // Update existing donut. + if ( data.length ) { + if ( data.reduce( function( a, b ) { return a + b; }, 0 ) === 0 ) { + data[0] = 1; + } + + this.charts.overview.donut.data.datasets[0].data = data; + this.charts.overview.donut.update(); + } + return; + } + + // Create new donut. + this.charts.overview.data.datasets[0].data = [ + parseInt( this.charts.overview.canvas.getAttribute( 'data-unoptimized' ), 10 ), + parseInt( this.charts.overview.canvas.getAttribute( 'data-optimized' ), 10 ), + parseInt( this.charts.overview.canvas.getAttribute( 'data-errors' ), 10 ) + ]; + initData = $.extend( {}, this.charts.overview.data ); + + if ( data.length ) { + initData.datasets[0].data = data; + } + + if ( initData.datasets[0].data.reduce( function( a, b ) { return a + b; }, 0 ) === 0 ) { + initData.datasets[0].data[0] = 1; + } + + this.charts.overview.donut = new w.imagify.Chart( this.charts.overview.canvas, { + type: 'doughnut', + data: initData, + options: { + plugins: { + legend: { + display: false + } + }, + events: [], + animation: { + easing: 'easeOutBounce' + }, + tooltips: { + displayColors: false, + callbacks: { + label: function( tooltipItem, localData ) { + return localData.datasets[ tooltipItem.datasetIndex ].data[ tooltipItem.index ]; + } + } + }, + responsive: false, + cutout: 75 + } + } ); + + // Then generate the legend and insert it to your page somewhere. + legend = '
    '; + + $.each( initData.labels, function( i, label ) { + legend += '
  • ' + label + '
  • '; + } ); + + legend += '
'; + + d.getElementById( 'imagify-overview-chart-legend' ).innerHTML = legend; + }, + + /* + * Share Chart. + * Used for the chart in the share box. + */ + drawShareChart: function () { + var value; + + if ( ! this.charts.share.canvas ) { + this.charts.share.canvas = d.getElementById( 'imagify-ac-chart' ); + + if ( ! this.charts.share.canvas ) { + return; + } + } + + value = parseInt( $( this.charts.share.canvas ).closest( '.imagify-ac-chart' ).attr( 'data-percent' ), 10 ); + + if ( this.charts.share.donut ) { + // Update existing donut. + this.charts.share.donut.data.datasets[0].data[0] = value; + this.charts.share.donut.data.datasets[0].data[1] = 100 - value; + this.charts.share.donut.update(); + return; + } + + // Create new donut. + this.charts.share.donut = new w.imagify.Chart( this.charts.share.canvas, { + type: 'doughnut', + data: { + datasets: [{ + data: [ value, 100 - value ], + backgroundColor: [ '#40B1D0', '#FFFFFF' ], + borderWidth: 0 + }] + }, + options: { + plugins: { + legend: { + display: false + } + }, + events: [], + animation: { + easing: 'easeOutBounce' + }, + tooltips: { + enabled: false + }, + responsive: false, + cutoutPercentage: 70 + } + } ); + } + }; + + w.imagify.bulk.init(); + + if (imagifyBulk.isOverQuota) { + w.imagify.bulk.displayError( { + title: imagifyBulk.labels.overQuotaTitle, + html: $( '#tmpl-imagify-overquota-alert' ).html(), + type: 'info', + customClass: 'imagify-swal-has-subtitle imagify-swal-error-header', + showConfirmButton: false + } ); + } + + +} )(jQuery, document, window); diff --git a/wp/wp-content/plugins/imagify/_dev/src/chart.js b/wp/wp-content/plugins/imagify/_dev/src/chart.js new file mode 100644 index 00000000..c27b1bd0 --- /dev/null +++ b/wp/wp-content/plugins/imagify/_dev/src/chart.js @@ -0,0 +1,6 @@ +import * as chart from 'chart.js/auto' + +window.imagify = window.imagify || {}; + +window.imagify.Color = chart.Colors; +window.imagify.Chart = chart.Chart; diff --git a/wp/wp-content/plugins/imagify/assets/admin/entrypoints.json b/wp/wp-content/plugins/imagify/assets/admin/entrypoints.json new file mode 100644 index 00000000..c959d9f2 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/admin/entrypoints.json @@ -0,0 +1,14 @@ +{ + "chart": { + "js": [ + "js/runtime.js", + "js/chart.js" + ] + }, + "bulk": { + "js": [ + "js/runtime.js", + "js/bulk.js" + ] + } +} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/admin/js/bulk.js b/wp/wp-content/plugins/imagify/assets/admin/js/bulk.js new file mode 100644 index 00000000..67f217ab --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/admin/js/bulk.js @@ -0,0 +1 @@ +(self.webpackChunk_roots_bud=self.webpackChunk_roots_bud||[]).push([[350],{"./bulk.js":()=>{window.imagify=window.imagify||{},function(i,a){var e=i.propHooks.checked;i.propHooks.checked={set:function(t,s,l){var o;return o=a===e?t[l]=s:e(t,s,l),i(t).trigger("change.imagify"),o}},i.fn.imagifyHide=function(e,t){return e&&e>0?this.hide(e,(function(){i(this).addClass("hidden").css("display",""),a!==t&&t()})):(this.addClass("hidden"),a!==t&&t()),this.attr("aria-hidden","true")},i.fn.imagifyShow=function(e,t){return a!==t&&t(),e&&e>0?this.show(e,(function(){i(this).removeClass("hidden").css("display","")})):this.removeClass("hidden"),this.attr("aria-hidden","false")}}(jQuery),function(i,a,e,t){e.imagify.bulk={charts:{overview:{canvas:!1,donut:!1,data:{labels:[imagifyBulk.labels.overviewChartLabels.unoptimized,imagifyBulk.labels.overviewChartLabels.optimized,imagifyBulk.labels.overviewChartLabels.error],datasets:[{data:[],backgroundColor:["#10121A","#46B1CE","#C51162"],borderWidth:0}]}},files:{donuts:{}},share:{canvas:!1,donut:!1}},folderTypesQueue:[],status:{},displayedWaitMessage:!1,hasMultipleRows:!0,processIsStopped:!1,globalOptimizedCount:0,globalGain:0,globalOriginalSize:0,globalOptimizedSize:0,folderTypesData:{},init:function(){var t=i(a);this.drawOverviewChart(),this.hasMultipleRows=i('.imagify-bulk-table [name="group[]"]').length>1,i(".imagify-selector-button").on("click.imagify",this.openSelectorFromButton),i(".imagify-selector-list input").on("change.imagify init.imagify",this.syncSelectorFromRadio).filter(":checked").trigger("init.imagify"),t.on("keypress.imagify click.imagify",this.closeSelectors),i('.imagify-bulk-table [name="group[]"]').on("change.imagify init.imagify",this.toggleOptimizationButton).trigger("init.imagify"),i("#imagify-bulk-action").on("click.imagify",this.maybeLaunchAllProcesses),i(e).on("processQueue.imagify",this.processQueue).on("queueEmpty.imagify",this.queueEmpty),imagifyBulk.ajaxActions.getStats&&i('.imagify-bulk-table [data-group-id="library"][data-context="wp"]').length&&(imagifyBulk.imagifybeatIDs.stats=!1),imagifyBulk.imagifybeatIDs.stats&&t.on("imagifybeat-send",this.addStatsImagifybeat).on("imagifybeat-tick",this.processStatsImagifybeat),t.on("imagifybeat-send",this.addQueueImagifybeat).on("imagifybeat-tick",this.processQueueImagifybeat),t.on("imagifybeat-send",this.addRequirementsImagifybeat).on("imagifybeat-tick",this.processRequirementsImagifybeat),imagifyBulk.optimizing&&(e.imagify.beat.interval(15),e.imagify.beat.disableSuspend())},getAjaxUrl:function(i,a){var t=ajaxurl+e.imagify.concat+"_wpnonce="+imagifyBulk.ajaxNonce+"&action="+imagifyBulk.ajaxActions[i];return a&&a.context&&(t+="&context="+a.context),a&&Number.isInteger(a.level)&&(t+="&optimization_level="+a.level),t},getFolderTypes:function(){return i.isEmptyObject(e.imagify.bulk.folderTypesData)?(i(".imagify-row-folder-type").each((function(){var a=i(this),t={groupID:a.data("group-id"),context:a.data("context"),level:a.find('.imagify-cell-level [name="level['+a.data("group-id")+']"]:checked').val()},s=t.groupID+"|"+t.context;e.imagify.bulk.folderTypesData[s]=t})),e.imagify.bulk.folderTypesData):e.imagify.bulk.folderTypesData},getConfirmMessage:function(){return imagifyBulk.labels.processing},closeLevelSelector:function(i,a){i&&i.length&&(t!==a&&a>0?e.setTimeout((function(){e.imagify.bulk.closeLevelSelector(i)}),a):i.attr("aria-hidden","true"))},stopProcess:function(a,t){e.imagify.bulk.processIsStopped=!0,e.imagify.bulk.status[t.groupID]={isError:!0,id:a},i(e).trigger("queueEmpty.imagify")},hasBlockingError:function(a){return a=t!==a&&a,imagifyBulk.curlMissing?(a&&e.imagify.bulk.displayError({html:imagifyBulk.labels.curlMissing}),e.imagify.bulk.processIsStopped=!0,!0):imagifyBulk.editorMissing?(a&&e.imagify.bulk.displayError({html:imagifyBulk.labels.editorMissing}),e.imagify.bulk.processIsStopped=!0,!0):imagifyBulk.extHttpBlocked?(a&&e.imagify.bulk.displayError({html:imagifyBulk.labels.extHttpBlocked}),e.imagify.bulk.processIsStopped=!0,!0):imagifyBulk.apiDown?(a&&e.imagify.bulk.displayError({html:imagifyBulk.labels.apiDown}),e.imagify.bulk.processIsStopped=!0,!0):imagifyBulk.keyIsValid?!!imagifyBulk.isOverQuota&&(a&&e.imagify.bulk.displayError({title:imagifyBulk.labels.overQuotaTitle,html:i("#tmpl-imagify-overquota-alert").html(),type:"info",customClass:"imagify-swal-has-subtitle imagify-swal-error-header",showConfirmButton:!1}),e.imagify.bulk.processIsStopped=!0,!0):(a&&e.imagify.bulk.displayError({title:imagifyBulk.labels.invalidAPIKeyTitle,type:"info"}),e.imagify.bulk.processIsStopped=!0,!0)},displayError:function(a,e,t){var s={title:"",html:"",type:"error",customClass:"",width:620,padding:0,showCloseButton:!0,showConfirmButton:!0};i.isPlainObject(a)?t=i.extend({},s,a):(t=t||{},t=i.extend({},s,{title:a||"",html:e||""},t)),t.title=t.title||imagifyBulk.labels.error,t.customClass+=" imagify-sweet-alert",swal(t).catch(swal.noop)},displayShareBox:function(){var a,t;if(!this.globalGain||this.folderTypesQueue.length)return this.globalOptimizedCount=0,this.globalGain=0,this.globalOriginalSize=0,void(this.globalOptimizedSize=0);t=this.globalOriginalSize-this.globalOptimizedSize,(a=i(".imagify-row-complete")).find(".imagify-ac-rt-total-images").html(this.globalOptimizedCount),a.find(".imagify-ac-rt-total-gain").html(e.imagify.humanSize(t,1)),a.find(".imagify-ac-rt-total-original").html(e.imagify.humanSize(this.globalOriginalSize,1)),a.find(".imagify-ac-chart").attr("data-percent",Math.round(this.globalGain)),this.drawShareChart(),a.addClass("done").imagifyShow(),i("html, body").animate({scrollTop:a.offset().top},200),this.globalOptimizedCount=0,this.globalGain=0,this.globalOriginalSize=0,this.globalOptimizedSize=0},updateStats:function(a){var t;a&&i.isPlainObject(a)&&(e.imagify.bulk.charts.overview.donut.data&&(t=e.imagify.bulk.charts.overview.donut.data.datasets[0].data,a.unoptimized_attachments===t[0]&&a.optimized_attachments===t[1]&&a.errors_attachments===t[2])||(a.unconsumed_quota=a.unconsumed_quota.toFixed(1),i(".imagify-meteo-icon").html(a.quota_icon),i(".imagify-unconsumed-percent").html(a.unconsumed_quota+"%"),i(".imagify-unconsumed-bar").css("width",a.unconsumed_quota+"%").parent().attr("class",a.quota_class),i("#imagify-overview-chart-percent").html(a.optimized_attachments_percent+"%"),i(".imagify-total-percent").html(a.optimized_attachments_percent+"%"),e.imagify.bulk.drawOverviewChart([a.unoptimized_attachments,a.optimized_attachments,a.errors_attachments]),i("#imagify-total-optimized-attachments").html(a.already_optimized_attachments),i("#imagify-original-bar").find(".imagify-barnb").html(a.original_human),i("#imagify-optimized-bar").css("width",100-a.optimized_percent+"%").find(".imagify-barnb").html(a.optimized_human),i("#imagify-total-optimized-attachments-pct").html(a.optimized_percent+"%")))},openSelectorFromButton:function(a){var e=i("#"+i(this).attr("aria-controls"));a.stopPropagation(),i(".imagify-selector-list").not(e).attr("aria-hidden","true"),e.attr("aria-hidden","false").find(":checked").trigger("focus.imagify")},syncSelectorFromRadio:function(){var a=i(this).closest(".imagify-selector-choice");a.addClass("imagify-selector-current-value").attr("aria-current","true").siblings(".imagify-selector-choice").removeClass("imagify-selector-current-value").attr("aria-current","false"),a.closest(".imagify-selector-list").siblings(".imagify-selector-button").find(".imagify-selector-current-value-info").html(a.find("label").html())},closeSelectors:function(a){"keypress"===a.type&&27!==a.keyCode&&13!==a.keyCode||e.imagify.bulk.closeLevelSelector(i('.imagify-selector-list[aria-hidden="false"]'))},toggleOptimizationButton:function(){e.imagify.bulk.hasMultipleRows||this.checked?imagifyBulk.optimizing?i("#imagify-bulk-action").prop("disabled",!0):i('.imagify-bulk-table [name="group[]"]:checked').length?i("#imagify-bulk-action").prop("disabled",!1):i("#imagify-bulk-action").prop("disabled",!0):i(this).prop("checked",!0)},maybeLaunchAllProcesses:function(){var a;i(this).prop("disabled")||i('.imagify-bulk-table [name="group[]"]:checked').length&&(e.imagify.bulk.hasBlockingError(!0)||((a=i("#tmpl-imagify-bulk-infos")).length?swal({title:imagifyBulk.labels.bulkInfoTitle,html:a.html(),type:"",customClass:"imagify-sweet-alert imagify-swal-has-subtitle imagify-before-bulk-infos",showCancelButton:!0,padding:0,width:554,confirmButtonText:imagifyBulk.labels.confirmBulk,cancelButtonText:imagifySwal.labels.cancelButtonText,reverseButtons:!0}).then((function(){var t=i('.imagify-bulk-table [name="group[]"]:checked').first().closest(".imagify-row-folder-type");i.get(e.imagify.bulk.getAjaxUrl("bulkInfoSeen",{context:t.data("context")})),a.remove(),e.imagify.bulk.launchAllProcesses()})).catch(swal.noop):e.imagify.bulk.launchAllProcesses()))},launchAllProcesses:function(){var a=i(e);i("#imagify-bulk-action").prop("disabled",!0).find(".dashicons").addClass("rotate"),i(".imagify-row-complete").imagifyHide(200,(function(){i(this).removeClass("done")})),this.folderTypesQueue=[],this.status={},this.displayedWaitMessage=!1,this.processIsStopped=!1,this.globalOptimizedCount=0,this.globalGain=0,this.globalOriginalSize=0,this.globalOptimizedSize=0,i('.imagify-bulk-table [name="group[]"]:checked').each((function(){var a=i(this).closest(".imagify-row-folder-type"),s=a.data("group-id"),l=a.data("context"),o=a.find('.imagify-cell-level [name="level['+s+']"]:checked').val();e.imagify.bulk.folderTypesQueue.push({groupID:s,context:l,level:t===o?-1:parseInt(o,10)}),e.imagify.bulk.status[s]={isError:!1,id:"waiting"}})),e.imagify.beat.interval(15),e.imagify.beat.disableSuspend(),a.trigger("processQueue.imagify")},processQueue:function(){var a,t,s,l;e.imagify.bulk.processIsStopped||(e.imagify.bulk.displayedWaitMessage||(swal({title:imagifyBulk.labels.waitTitle,html:imagifyBulk.labels.waitText,showConfirmButton:!1,padding:0,imageUrl:imagifyBulk.waitImageUrl,customClass:"imagify-sweet-alert"}).catch(swal.noop),e.imagify.bulk.displayedWaitMessage=!0),e.imagify.bulk.folderTypesQueue.forEach((function(o){i.get(e.imagify.bulk.getAjaxUrl("bulkProcess",o)).done((function(r){var n;swal.close(),n=r.data&&r.data.message?r.data.message:imagifyBulk.ajaxErrorText,r.success&&r.data&&(i.isPlainObject(r.data)||i.isArray(r.data))?r.success&&(a=i("#cb-select-"+o.groupID).closest(".imagify-row-folder-type"),t=a.closest(".imagify-bulk-table"),s=t.find(".imagify-row-progress"),l=s.find(".bar"),a.find(".imagify-cell-checkbox-loader").removeClass("hidden").attr("aria-hidden","false"),a.find(".imagify-cell-checkbox-box").addClass("hidden").attr("aria-hidden","true"),l.css("width","0%").find(".percent").text("0%"),s.slideDown().attr("aria-hidden","false")):e.imagify.bulk.stopProcess(n,o)})).fail((function(){e.imagify.bulk.stopProcess("get-unoptimized-images",o)}))})))},queueEmpty:function(){var a=i(".imagify-bulk-table"),t={},s=!1,l=!0,o="";e.imagify.beat.resetInterval(),e.imagify.beat.enableSuspend(),e.imagify.bulk.folderTypesQueue=[],e.imagify.bulk.displayShareBox(),imagifyBulk.imagifybeatIDs.stats||i.get(e.imagify.bulk.getAjaxUrl("getStats"),{types:e.imagify.bulk.getFolderTypes()}).done((function(i){i.success&&e.imagify.bulk.updateStats(i.data)})),i.isEmptyObject(e.imagify.bulk.status)||(i.each(e.imagify.bulk.status,(function(i,a){if(a.isError){if("no-images"!==a.id&&a.isError)return s=a.id,l=!1,!1}else l=!1})),s?("invalid-api-key"===s?t={title:imagifyBulk.labels.invalidAPIKeyTitle,type:"info"}:"over-quota"===s?t={title:imagifyBulk.labels.overQuotaTitle,html:i("#tmpl-imagify-overquota-alert").html(),type:"info",customClass:"imagify-swal-has-subtitle imagify-swal-error-header",showConfirmButton:!1}:"get-unoptimized-images"!==s&&"consumed-all-data"!==s||(t={title:imagifyBulk.labels.getUnoptimizedImagesErrorTitle,html:imagifyBulk.labels.getUnoptimizedImagesErrorText,type:"info"}),e.imagify.bulk.displayError(t)):l&&(o=Object.prototype.hasOwnProperty.call(imagifyBulk.labels.nothingToDoText,e.imagify.bulk.imagifyAction)?imagifyBulk.labels.nothingToDoText[e.imagify.bulk.imagifyAction]:imagifyBulk.labels.nothingToDoText.optimize,e.imagify.bulk.displayError({title:imagifyBulk.labels.nothingToDoTitle,html:o,type:"info"}))),e.imagify.bulk.status={},a.find(".imagify-row-progress").slideUp().attr("aria-hidden","true").find(".bar").removeAttr("style").find(".percent").text("0%"),a.find(".imagify-cell-checkbox-loader").each((function(){i(this).addClass("hidden").attr("aria-hidden","true")})),a.find(".imagify-cell-checkbox-box").each((function(){i(this).removeClass("hidden").attr("aria-hidden","false")})),i('.imagify-bulk-table [name="group[]"]:checked').length?i("#imagify-bulk-action").prop("disabled",!1).find(".dashicons").removeClass("rotate"):i("#imagify-bulk-action").find(".dashicons").removeClass("rotate")},addStatsImagifybeat:function(i,a){a[imagifyBulk.imagifybeatIDs.stats]=Object.keys(e.imagify.bulk.getFolderTypes())},processStatsImagifybeat:function(i,a){void 0!==a[imagifyBulk.imagifybeatIDs.stats]&&e.imagify.bulk.updateStats(a[imagifyBulk.imagifybeatIDs.stats])},addQueueImagifybeat:function(i,a){a[imagifyBulk.imagifybeatIDs.queue]=Object.values(e.imagify.bulk.getFolderTypes())},processQueueImagifybeat:function(a,t){var s,l,o;if(void 0!==t[imagifyBulk.imagifybeatIDs.queue]){if(!1!==(s=t[imagifyBulk.imagifybeatIDs.queue]).result&&(e.imagify.bulk.globalOriginalSize=s.result.original_size,e.imagify.bulk.globalOptimizedSize=s.result.optimized_size,e.imagify.bulk.globalOptimizedCount=s.result.total,e.imagify.bulk.globalGain=100*e.imagify.bulk.globalOptimizedSize/e.imagify.bulk.globalOriginalSize),!e.imagify.bulk.processIsStopped&&e.imagify.bulk.hasBlockingError(!0))return void i(e).trigger("queueEmpty.imagify");if(Object.prototype.hasOwnProperty.call(s,"groups_data")&&Object.entries(s.groups_data).forEach((function(a){(l=i("[data-context="+a[0]+"]")).children(".imagify-cell-count-optimized").first().html(a[1]["count-optimized"]),l.children(".imagify-cell-count-errors").first().html(a[1]["count-errors"]),l.children(".imagify-cell-optimized-size-size").first().html(a[1]["optimized-size"]),l.children(".imagify-cell-original-size-size").first().html(a[1]["original-size"])})),0===s.remaining)return void i(e).trigger("queueEmpty.imagify");(o=i(".imagify-row-progress")).find(".bar").css("width",s.percentage+"%").find(".percent").html(s.percentage+"%"),o.slideDown().attr("aria-hidden","false")}},addRequirementsImagifybeat:function(i,a){a[imagifyBulk.imagifybeatIDs.requirements]=1},processRequirementsImagifybeat:function(i,a){void 0!==a[imagifyBulk.imagifybeatIDs.requirements]&&(a=a[imagifyBulk.imagifybeatIDs.requirements],imagifyBulk.curlMissing=a.curl_missing,imagifyBulk.editorMissing=a.editor_missing,imagifyBulk.extHttpBlocked=a.external_http_blocked,imagifyBulk.apiDown=a.api_down,imagifyBulk.keyIsValid=a.key_is_valid,imagifyBulk.isOverQuota=a.is_over_quota)},drawOverviewChart:function(t){var s,l;(this.charts.overview.canvas||(this.charts.overview.canvas=a.getElementById("imagify-overview-chart"),this.charts.overview.canvas))&&(t=t&&i.isArray(t)?t:[],this.charts.overview.donut?t.length&&(0===t.reduce((function(i,a){return i+a}),0)&&(t[0]=1),this.charts.overview.donut.data.datasets[0].data=t,this.charts.overview.donut.update()):(this.charts.overview.data.datasets[0].data=[parseInt(this.charts.overview.canvas.getAttribute("data-unoptimized"),10),parseInt(this.charts.overview.canvas.getAttribute("data-optimized"),10),parseInt(this.charts.overview.canvas.getAttribute("data-errors"),10)],s=i.extend({},this.charts.overview.data),t.length&&(s.datasets[0].data=t),0===s.datasets[0].data.reduce((function(i,a){return i+a}),0)&&(s.datasets[0].data[0]=1),this.charts.overview.donut=new e.imagify.Chart(this.charts.overview.canvas,{type:"doughnut",data:s,options:{plugins:{legend:{display:!1}},events:[],animation:{easing:"easeOutBounce"},tooltips:{displayColors:!1,callbacks:{label:function(i,a){return a.datasets[i.datasetIndex].data[i.index]}}},responsive:!1,cutout:75}}),l='
    ',i.each(s.labels,(function(i,a){l+='
  • '+a+"
  • "})),l+="
",a.getElementById("imagify-overview-chart-legend").innerHTML=l))},drawShareChart:function(){var t;if(this.charts.share.canvas||(this.charts.share.canvas=a.getElementById("imagify-ac-chart"),this.charts.share.canvas)){if(t=parseInt(i(this.charts.share.canvas).closest(".imagify-ac-chart").attr("data-percent"),10),this.charts.share.donut)return this.charts.share.donut.data.datasets[0].data[0]=t,this.charts.share.donut.data.datasets[0].data[1]=100-t,void this.charts.share.donut.update();this.charts.share.donut=new e.imagify.Chart(this.charts.share.canvas,{type:"doughnut",data:{datasets:[{data:[t,100-t],backgroundColor:["#40B1D0","#FFFFFF"],borderWidth:0}]},options:{plugins:{legend:{display:!1}},events:[],animation:{easing:"easeOutBounce"},tooltips:{enabled:!1},responsive:!1,cutoutPercentage:70}})}}},e.imagify.bulk.init(),imagifyBulk.isOverQuota&&e.imagify.bulk.displayError({title:imagifyBulk.labels.overQuotaTitle,html:i("#tmpl-imagify-overquota-alert").html(),type:"info",customClass:"imagify-swal-has-subtitle imagify-swal-error-header",showConfirmButton:!1})}(jQuery,document,window)}},i=>{var a;a="./bulk.js",i(i.s=a)}]); \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/admin/js/chart.js b/wp/wp-content/plugins/imagify/assets/admin/js/chart.js new file mode 100644 index 00000000..48753180 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/admin/js/chart.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_roots_bud=self.webpackChunk_roots_bud||[]).push([[164],{"./chart.js":()=>{function t(t){return t+.5|0}const e=(t,e,i)=>Math.max(Math.min(t,i),e);function i(i){return e(t(2.55*i),0,255)}function s(i){return e(t(255*i),0,255)}function n(i){return e(t(i/2.55)/100,0,1)}function o(i){return e(t(100*i),0,100)}const a={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},r=[..."0123456789ABCDEF"],h=t=>r[15&t],l=t=>r[(240&t)>>4]+r[15&t],c=t=>(240&t)>>4==(15&t);function d(t){var e=(t=>c(t.r)&&c(t.g)&&c(t.b)&&c(t.a))(t)?h:l;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const u=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function f(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function g(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function p(t,e,i){const s=f(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function m(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,h,l;return n!==o&&(l=n-o,h=a>.5?l/(2-n-o):l/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e>16&255,o>>8&255,255&o]}return t}(),w.transparent=[0,0,0,0]);const e=w[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const S=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const P=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,D=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function C(t,e,i){if(t){let s=m(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=x(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function O(t,e){return t?Object.assign(e||{},t):t}function A(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=s(t[3]))):(e=O(t,{r:0,g:0,b:0,a:1})).a=s(e.a),e}function T(t){return"r"===t.charAt(0)?function(t){const s=S.exec(t);let n,o,a,r=255;if(s){if(s[7]!==n){const t=+s[7];r=s[8]?i(t):e(255*t,0,255)}return n=+s[1],o=+s[3],a=+s[5],n=255&(s[2]?i(n):e(n,0,255)),o=255&(s[4]?i(o):e(o,0,255)),a=255&(s[6]?i(a):e(a,0,255)),{r:n,g:o,b:a,a:r}}}(t):y(t)}class L{constructor(t){if(t instanceof L)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=A(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*a[s[1]],g:255&17*a[s[2]],b:255&17*a[s[3]],a:5===o?17*a[s[4]]:255}:7!==o&&9!==o||(n={r:a[s[1]]<<4|a[s[2]],g:a[s[3]]<<4|a[s[4]],b:a[s[5]]<<4|a[s[6]],a:9===o?a[s[7]]<<4|a[s[8]]:255})),i=n||k(t)||T(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=O(this._rgb);return t&&(t.a=n(t.a)),t}set rgb(t){this._rgb=A(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${n(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?d(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=m(t),i=e[0],s=o(e[1]),a=o(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${a}%, ${n(t.a)})`:`hsl(${i}, ${s}%, ${a}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,h=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-h,i.r=255&h*i.r+n*s.r+.5,i.g=255&h*i.g+n*s.g+.5,i.b=255&h*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const o=D(n(t.r)),a=D(n(t.g)),r=D(n(t.b));return{r:s(P(o+i*(D(n(e.r))-o))),g:s(P(a+i*(D(n(e.g))-a))),b:s(P(r+i*(D(n(e.b))-r))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new L(this.rgb)}alpha(t){return this._rgb.a=s(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const e=this._rgb,i=t(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=i,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return C(this._rgb,2,t),this}darken(t){return C(this._rgb,2,-t),this}saturate(t){return C(this._rgb,1,t),this}desaturate(t){return C(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=m(t);i[0]=_(i[0]+e),i=x(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function E(){}const R=(()=>{let t=0;return()=>t++})();function I(t){return null==t}function z(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function F(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function V(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function B(t,e){return V(t)?t:e}function W(t,e){return void 0===t?e:t}const N=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function H(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function j(t,e,i,s){let n,o,a;if(z(t))if(o=t.length,s)for(n=o-1;n>=0;n--)e.call(i,t[n],n);else for(n=0;nt,x:t=>t.x,y:t=>t.y};function J(t,e){const i=Z[e]||(Z[e]=function(t){const e=function(t){const e=t.split("."),i=[];let s="";for(const t of e)s+=t,s.endsWith("\\")?s=s.slice(0,-1)+".":(i.push(s),s="");return i}(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function Q(t){return t.charAt(0).toUpperCase()+t.slice(1)}const tt=t=>void 0!==t,et=t=>"function"==typeof t,it=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};const st=Math.PI,nt=2*st,ot=nt+st,at=Number.POSITIVE_INFINITY,rt=st/180,ht=st/2,lt=st/4,ct=2*st/3,dt=Math.log10,ut=Math.sign;function ft(t,e,i){return Math.abs(t-e)h&&l=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function Dt(t,e,i){i=i||(i=>t[i]1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const Ct=(t,e,i,s)=>Dt(t,i,s?s=>{const n=t[s][e];return nt[s][e]Dt(t,i,(s=>t[s][e]>=i));const At=["push","pop","shift","splice","unshift"];function Tt(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(At.forEach((e=>{delete t[e]})),delete t._chartjs)}function Lt(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Et="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function Rt(t,e){let i=[],s=!1;return function(...n){i=n,s||(s=!0,Et.call(window,(()=>{s=!1,t.apply(e,i)})))}}const It=t=>"start"===t?"left":"end"===t?"right":"center",zt=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2;function Ft(t,e,i){const s=e.length;let n=0,o=s;if(t._sorted){const{iScale:a,_parsed:r}=t,h=a.axis,{min:l,max:c,minDefined:d,maxDefined:u}=a.getUserBounds();d&&(n=St(Math.min(Ct(r,h,l).lo,i?s:Ct(e,h,a.getPixelForValue(l)).lo),0,s-1)),o=u?St(Math.max(Ct(r,a.axis,c,!0).hi+1,i?0:Ct(e,h,a.getPixelForValue(c),!0).hi+1),n,s)-n:s-n}return{start:n,count:o}}function Vt(t){const{xScale:e,yScale:i,_scaleRanges:s}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!s)return t._scaleRanges=n,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==i.min||s.ymax!==i.max;return Object.assign(s,n),o}const Bt=t=>0===t||1===t,Wt=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*nt/i),Nt=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*nt/i)+1,Ht={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*ht),easeOutSine:t=>Math.sin(t*ht),easeInOutSine:t=>-.5*(Math.cos(st*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Bt(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Bt(t)?t:Wt(t,.075,.3),easeOutElastic:t=>Bt(t)?t:Nt(t,.075,.3),easeInOutElastic(t){const e=.1125;return Bt(t)?t:t<.5?.5*Wt(2*t,e,.45):.5+.5*Nt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-Ht.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*Ht.easeInBounce(2*t):.5*Ht.easeOutBounce(2*t-1)+.5};function jt(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function $t(t){return jt(t)?t:new L(t)}function Yt(t){return jt(t)?t:new L(t).saturate(.5).darken(.1).hexString()}const Ut=["x","y","borderWidth","radius","tension"],Xt=["color","borderColor","backgroundColor"];const qt=new Map;function Kt(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=qt.get(i);return s||(s=new Intl.NumberFormat(t,e),qt.set(i,s)),s}(e,i).format(t)}const Gt={values:t=>z(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const s=this.chart.options.locale;let n,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(n="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t));return i}(t,i)}const a=dt(Math.abs(o)),r=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),h={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(h,this.options.ticks.format),Kt(t,s,h)},logarithmic(t,e,i){if(0===t)return"0";const s=i[e].significand||t/Math.pow(10,Math.floor(dt(t)));return[1,2,3,5,10,15].includes(s)||e>.8*i.length?Gt.numeric.call(this,t,e,i):""}};var Zt={formatters:Gt};const Jt=Object.create(null),Qt=Object.create(null);function te(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;et.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Yt(e.backgroundColor),this.hoverBorderColor=(t,e)=>Yt(e.borderColor),this.hoverColor=(t,e)=>Yt(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ee(this,t,e)}get(t){return te(this,t)}describe(t,e){return ee(Qt,t,e)}override(t,e){return ee(Jt,t,e)}route(t,e,i,s){const n=te(this,t),o=te(this,i),a="_"+e;Object.defineProperties(n,{[a]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[s];return F(t)?Object.assign({},e,t):W(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach((t=>t(this)))}}var se=new ie({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:Xt},numbers:{type:"number",properties:Ut}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Zt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function ne(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function oe(t,e,i,s){let n=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let a=0;const r=i.length;let h,l,c,d,u;for(h=0;hi.length){for(h=0;h0&&t.stroke()}}function ce(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.xe.top-i&&t.y0&&""!==o.strokeColor;let h,l;for(t.save(),t.font=n.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),I(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),h=0;h+t||0;function we(t,e){const i={},s=F(e),n=s?Object.keys(e):e,o=F(t)?s?i=>W(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=Me(o(t));return i}function ke(t){return we(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Se(t){return we(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Pe(t){const e=ke(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function De(t,e){t=t||{},e=e||se.font;let i=W(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=W(t.style,e.style);s&&!(""+s).match(ye)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:W(t.family,e.family),lineHeight:ve(W(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:W(t.weight,e.weight),string:""};return n.string=function(t){return!t||I(t.size)||I(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(n),n}function Ce(t,e,i,s){let n,o,a,r=!0;for(n=0,o=t.length;nt[0])){const o=i||t;void 0===s&&(s=Ne("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:s,_getTarget:n,override:i=>Ae([i,...t],e,o,s)};return new Proxy(a,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>Ie(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=Ne(Ee(o,t),i),void 0!==n)return Re(t,n)?Be(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>He(t).includes(e),ownKeys:t=>He(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function Te(t,e,i,s){const n={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Le(t,s),setContext:e=>Te(t,e,i,s),override:n=>Te(t.override(n),e,i,s)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Ie(t,e,(()=>function(t,e,i){const{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=t;let r=s[e];et(r)&&a.isScriptable(e)&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);r.add(t);let h=e(o,a||s);r.delete(t),Re(t,h)&&(h=Be(n._scopes,n,t,h));return h}(e,r,t,i));z(r)&&r.length&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=i;if(void 0!==o.index&&s(t))return e[o.index%e.length];if(F(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const h of i){const i=Be(s,n,t,h);e.push(Te(i,o,a&&a[t],r))}}return e}(e,r,t,a.isIndexable));Re(e,r)&&(r=Te(r,n,o&&o[e],a));return r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Le(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:et(i)?i:()=>i,isIndexable:et(s)?s:()=>s}}const Ee=(t,e)=>t?t+Q(e):e,Re=(t,e)=>F(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Ie(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=i();return t[e]=s,s}function ze(t,e,i){return et(t)?t(e,i):t}const Fe=(t,e)=>!0===t?e:"string"==typeof t?J(e,t):void 0;function Ve(t,e,i,s,n){for(const o of e){const e=Fe(i,o);if(e){t.add(e);const o=ze(e._fallback,i,n);if(void 0!==o&&o!==i&&o!==s)return o}else if(!1===e&&void 0!==s&&i!==s)return null}return!1}function Be(t,e,i,s){const n=e._rootScopes,o=ze(e._fallback,i,s),a=[...t,...n],r=new Set;r.add(s);let h=We(r,a,i,o||i,s);return null!==h&&((void 0===o||o===i||(h=We(r,a,o,h,s),null!==h))&&Ae(Array.from(r),[""],n,o,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const n=s[e];if(z(n)&&F(i))return i;return n||{}}(e,i,s))))}function We(t,e,i,s,n){for(;i;)i=Ve(t,e,i,s,n);return i}function Ne(t,e){for(const i of e){if(!i)continue;const e=i[t];if(void 0!==e)return e}}function He(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function je(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,h,l,c;for(r=0,h=s;re"x"===t?"y":"x";function Xe(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=vt(o,n),h=vt(a,o);let l=r/(r+h),c=h/(r+h);l=isNaN(l)?0:l,c=isNaN(c)?0:c;const d=s*l,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function qe(t,e="x"){const i=Ue(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,h,l=Ye(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)qe(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;ot.ownerDocument.defaultView.getComputedStyle(t,null);const ei=["top","right","bottom","left"];function ii(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=ei[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const si=(t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot);function ni(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=ti(i),o="border-box"===n.boxSizing,a=ii(n,"padding"),r=ii(n,"border","width"),{x:h,y:l,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,h=!1;if(si(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,h=!0}return{x:a,y:r,box:h}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((h-d)/f*i.width/s),y:Math.round((l-u)/g*i.height/s)}}const oi=t=>Math.round(10*t)/10;function ai(t,e,i,s){const n=ti(t),o=ii(n,"margin"),a=Qe(n.maxWidth,t,"clientWidth")||at,r=Qe(n.maxHeight,t,"clientHeight")||at,h=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=Je(t);if(o){const t=o.getBoundingClientRect(),a=ti(o),r=ii(a,"border","width"),h=ii(a,"padding");e=t.width-h.width-r.width,i=t.height-h.height-r.height,s=Qe(a.maxWidth,o,"clientWidth"),n=Qe(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||at,maxHeight:n||at}}(t,e,i);let{width:l,height:c}=h;if("content-box"===n.boxSizing){const t=ii(n,"border","width"),e=ii(n,"padding");l-=e.width+t.width,c-=e.height+t.height}l=Math.max(0,l-o.width),c=Math.max(0,s?l/s:c-o.height),l=oi(Math.min(l,a,h.maxWidth)),c=oi(Math.min(c,r,h.maxHeight)),l&&!c&&(c=oi(l/2));return(void 0!==e||void 0!==i)&&s&&h.height&&c>h.height&&(c=h.height,l=oi(Math.floor(c*s))),{width:l,height:c}}function ri(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const hi=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function li(t,e){const i=function(t,e){return ti(t).getPropertyValue(e)}(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function ci(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function di(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function ui(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=ci(t,n,i),r=ci(n,o,i),h=ci(o,e,i),l=ci(a,r,i),c=ci(r,h,i);return ci(l,c,i)}function fi(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function gi(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function pi(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function mi(t){return"angle"===t?{between:kt,compare:Mt,normalize:wt}:{between:Pt,compare:(t,e)=>t-e,normalize:t=>t}}function bi({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function xi(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:h,normalize:l}=mi(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=mi(s),h=e.length;let l,c,{start:d,end:u,loop:f}=t;if(f){for(d+=h,u+=h,l=0,c=h;lx||h(n,b,p)&&0!==r(n,b),v=()=>!x||0===r(o,p)||h(o,b,p);for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=l(m[s]),p!==b&&(x=h(p,n,o),null===_&&y()&&(_=0===r(p,n)?t:i),null!==_&&v()&&(g.push(bi({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,b=p));return null!==_&&g.push(bi({start:_,end:d,loop:u,count:a,style:f})),g}function _i(t,e){const i=[],s=t.segments;for(let n=0;ns({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=Et.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ki=new wi;const Si="transparent",Pi={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=$t(t||Si),n=s.valid&&$t(e||Si);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class Di{constructor(t,e,i,s){const n=e[i];s=Ce([t.to,s,n,t.from]);const o=Ce([t.from,n,s]);this._active=!0,this._fn=t.fn||Pi[t.type||typeof o],this._easing=Ht[t.easing]||Ht.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=Ce([t.to,e,s,t.from]),this._from=Ce([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t{const n=t[s];if(!F(n))return;const o={};for(const t of e)o[t]=n[t];(z(n.properties)&&n.properties||[s]).forEach((t=>{t!==s&&i.has(t)||i.set(t,o)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(!i)return void(t.options=e);i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let e=0;e{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let r;for(r=o.length-1;r>=0;--r){const h=o[r];if("$"===h.charAt(0))continue;if("options"===h){s.push(...this._animateOptions(t,e));continue}const l=e[h];let c=n[h];const d=i.get(h);if(c){if(d&&c.active()){c.update(d,l,a);continue}c.cancel()}d&&d.duration?(n[h]=c=new Di(d,t,h,l),s.push(c)):t[h]=l}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(ki.add(this._chart,i),!0):void 0}}function Oi(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function Ai(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n0||!i&&e<0)return n.index}return null}function Ii(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,h=o.axis,l=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let t=0;ti[t].axis===e)).shift()}function Fi(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i],void 0!==e[s]._visualValues&&void 0!==e[s]._visualValues[i]&&delete e[s]._visualValues[i]}}}const Vi=t=>"reset"===t||"none"===t,Bi=(t,e)=>e?t:Object.assign({},t);class Wi{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Li(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Fi(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),s=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,n=e.xAxisID=W(i.xAxisID,zi(t,"x")),o=e.yAxisID=W(i.yAxisID,zi(t,"y")),a=e.rAxisID=W(i.rAxisID,zi(t,"r")),r=e.indexAxis,h=e.iAxisID=s(r,n,o,a),l=e.vAxisID=s(r,o,n,a);e.xScale=this.getScaleForId(n),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(h),e.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Tt(this._data,this),t._stacked&&Fi(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(F(e))this._data=function(t){const e=Object.keys(t),i=new Array(e.length);let s,n,o;for(s=0,n=e.length;s{const e="_onData"+Q(t),i=s[t];Object.defineProperty(s,t,{configurable:!0,enumerable:!1,value(...t){const n=i.apply(this,t);return s._chartjs.listeners.forEach((i=>{"function"==typeof i[e]&&i[e](...t)})),n}})})))),this._syncList=[],this._data=e}var s,n}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const n=e._stacked;e._stacked=Li(e.vScale,e),e.stack!==i.stack&&(s=!0,Fi(e),e.stack=i.stack),this._resyncElements(t),(s||n!==e._stacked)&&Ii(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:s}=this,{iScale:n,_stacked:o}=i,a=n.axis;let r,h,l,c=0===t&&e===s.length||i._sorted,d=t>0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=s,i._sorted=!0,l=s;else{l=z(s[t])?this.parseArrayData(i,s,t,e):F(s[t])?this.parseObjectData(i,s,t,e):this.parsePrimitiveData(i,s,t,e);const n=()=>null===h[a]||d&&h[a]t&&!e.hidden&&e._stacked&&{keys:Ai(i,!0),values:null})(e,i,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:c}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(a);let d,u;function f(){u=s[d];const e=u[a.axis];return!V(u[t.axis])||l>e||c=0;--d)if(!f()){this.updateRangeFromParsed(h,t,u,r);break}return h}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let s,n,o;for(s=0,n=e.length;s=0&&tthis.getContext(i,s,e)),c);return f.$shared&&(f.$shared=r,n[o]=Object.freeze(Bi(f,r))),f}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const h=new Ci(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Vi(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),s=this._sharedOptions,n=this.getSharedOptions(i),o=this.includeOptions(e,n)||n!==s;return this.updateSharedOptions(n,e,i),{sharedOptions:n,includeOptions:o}}updateElement(t,e,i,s){Vi(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!Vi(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;at-e)))}return t._cache.$bar}(e,t.type);let s,n,o,a,r=e._length;const h=()=>{32767!==o&&-32768!==o&&(tt(a)&&(r=Math.min(r,Math.abs(o-a)||r)),a=o)};for(s=0,n=i.length;sMath.abs(r)&&(h=r,l=a),e[i.axis]=l,e._custom={barStart:h,barEnd:l,start:n,end:o,min:a,max:r}}(t,e,i,s):e[i.axis]=i.parse(t,s),e}function ji(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,h=[];let l,c,d,u;for(l=i,c=i+s;lt.x,i="left",s="right"):(e=t.base"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:s}}=t.legend.options;return e.labels.map(((e,n)=>{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,s=this._cachedMeta;if(!1===this._parsing)s._parsed=i;else{let n,o,a=t=>+i[t];if(F(i[t])){const{key:t="value"}=this._parsing;a=e=>+J(i[e],t)}for(n=t,o=t+e;nkt(t,r,h,!0)?1:Math.max(e,e*i,s,s*i),g=(t,e,s)=>kt(t,r,h,!0)?-1:Math.min(e,e*i,s,s*i),p=f(0,l,d),m=f(ht,c,u),b=g(st,l,d),x=g(st+ht,c,u);s=(p-b)/2,n=(m-x)/2,o=-(p+b)/2,a=-(m+x)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}(u,d,r),b=(i.width-o)/f,x=(i.height-o)/g,_=Math.max(Math.min(b,x)/2,0),y=N(this.options.radius,_),v=(y-Math.max(y*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*y,this.offsetY=m*y,s.total=this.calculateTotal(),this.outerRadius=y-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*c,0),this.updateElements(n,0,n.length,t)}_circumference(t,e){const i=this.options,s=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===s._parsed[t]||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*n/nt)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,h=(a.left+a.right)/2,l=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,{sharedOptions:f,includeOptions:g}=this._getSharedOptions(e,s);let p,m=this._getRotation();for(p=0;p0&&!isNaN(t)?nt*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=Kt(e._parsed[t],i.options.locale);return{label:s[t]||"",value:n}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=Kt(e._parsed[t].r,i.options.locale);return{label:s[t]||"",value:n}}parseObjectData(t,e,i,s){return je.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(se.max&&(e.max=s))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.options.animation,r=this._cachedMeta.rScale,h=r.xCenter,l=r.yCenter,c=r.getIndexAngle(0)-.5*st;let d,u=c;const f=360/this.countVisibleElements();for(d=0;d{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?bt(this.resolveDataElementOptions(t,e).angle||i):0}}var Zi=Object.freeze({__proto__:null,BarController:class extends Wi{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,e,i,s){return ji(t,e,i,s)}parseArrayData(t,e,i,s){return ji(t,e,i,s)}parseObjectData(t,e,i,s){const{iScale:n,vScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,h="x"===n.axis?a:r,l="x"===o.axis?a:r,c=[];let d,u,f,g;for(d=i,u=i+s;dt.controller.options.grouped)),n=i.options.stacked,o=[],a=t=>{const i=t.controller.getParsed(e),s=i&&i[t.vScale.axis];if(I(s)||isNaN(s))return!0};for(const i of s)if((void 0===e||!a(i))&&((!1===n||-1===o.indexOf(i.stack)||void 0===n&&void 0===i.stack)&&o.push(i.stack),i.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const s=this._getStacks(t,i),n=void 0!==e?s.indexOf(e):-1;return-1===n?s.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,s=[];let n,o;for(n=0,o=e.data.length;n=i?1:-1)}(d,e,a)*o,u===a&&(m-=d/2);const t=e.getPixelForDecimal(0),n=e.getPixelForDecimal(1),h=Math.min(t,n),f=Math.max(t,n);m=Math.max(Math.min(m,f),h),c=m+d,i&&!l&&(r._stacks[e.axis]._visualValues[s]=e.getValueForPixel(c)-e.getValueForPixel(m))}if(m===e.getPixelForValue(a)){const t=ut(d)*e.getLineWidthForValue(a)/2;m+=t,d-=t}return{size:d,base:m,head:c,center:c+d/2}}_calculateBarIndexPixels(t,e){const i=e.scale,s=this.options,n=s.skipNull,o=W(s.maxBarThickness,1/0);let a,r;if(e.grouped){const i=n?this._getStackCount(t):e.stackCount,h="flex"===s.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart.data.labels||[],{xScale:s,yScale:n}=e,o=this.getParsed(t),a=s.getLabelForValue(o.x),r=n.getLabelForValue(o.y),h=o._custom;return{label:i[t]||"",value:"("+a+", "+r+(h?", "+h:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:r,includeOptions:h}=this._getSharedOptions(e,s),l=o.axis,c=a.axis;for(let d=e;d0&&this.getParsed(e-1);for(let i=0;i=b){x.skip=!0;continue}const y=this.getParsed(i),v=I(y[u]),M=x[d]=o.getPixelForValue(y[d],i),w=x[u]=n||v?a.getBasePixel():a.getPixelForValue(r?this.applyStack(a,y,r):y[u],i);x.skip=isNaN(M)||isNaN(w)||v,x.stop=i>0&&Math.abs(y[d]-_[d])>p,g&&(x.parsed=y,x.raw=h.data[i]),c&&(x.options=l||this.resolveDataElementOptions(i,f.active?"active":s)),m||this.updateElement(f,i,x,s),_=y}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}},PieController:class extends Ki{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:Gi,RadarController:class extends Wi{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,s){return je.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this._cachedMeta.rScale,o="reset"===s;for(let a=e;a0&&this.getParsed(e-1);for(let l=e;l0&&Math.abs(i[u]-x[u])>m,p&&(g.parsed=i,g.raw=h.data[l]),d&&(g.options=c||this.resolveDataElementOptions(l,e.active?"active":s)),b||this.updateElement(e,l,g,s),x=i}this.updateSharedOptions(c,s,l)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}const i=t.dataset,s=i.options&&i.options.borderWidth||0;if(!e.length)return s;const n=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(s,n,o)/2}}});function Ji(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Qi{static override(t){Object.assign(Qi.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return Ji()}parse(){return Ji()}format(){return Ji()}add(){return Ji()}diff(){return Ji()}startOf(){return Ji()}endOf(){return Ji()}}var ts=Qi;function es(t,e,i,s){const{controller:n,data:o,_sorted:a}=t,r=n._cachedMeta.iScale;if(r&&e===r.axis&&"r"!==e&&a&&o.length){const t=r._reversePixels?Ot:Ct;if(!s)return t(o,e,i);if(n._sharedOptions){const s=o[0],n="function"==typeof s.getRange&&s.getRange(e);if(n){const s=t(o,e,i-n),a=t(o,e,i+n);return{lo:s.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function is(t,e,i,s,n){const o=t.getSortedVisibleDatasetMetas(),a=i[e];for(let t=0,i=o.length;t{t[a](e[i],n)&&(o.push({element:t,datasetIndex:s,index:h}),r=r||t.inRange(e.x,e.y,n))})),s&&!r?[]:o}var rs={evaluateInteractionItems:is,modes:{index(t,e,i,s){const n=ni(e,t),o=i.axis||"x",a=i.includeInvisible||!1,r=i.intersect?ss(t,n,o,s,a):os(t,n,o,!1,s,a),h=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=r[0].index,i=t.data[e];i&&!i.skip&&h.push({element:i,datasetIndex:t.index,index:e})})),h):[]},dataset(t,e,i,s){const n=ni(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;let r=i.intersect?ss(t,n,o,s,a):os(t,n,o,!1,s,a);if(r.length>0){const e=r[0].datasetIndex,i=t.getDatasetMeta(e).data;r=[];for(let t=0;tss(t,ni(e,t),i.axis||"xy",s,i.includeInvisible||!1),nearest(t,e,i,s){const n=ni(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;return os(t,n,o,i.intersect,s,a)},x:(t,e,i,s)=>as(t,ni(e,t),"x",i.intersect,s),y:(t,e,i,s)=>as(t,ni(e,t),"y",i.intersect,s)}};const hs=["left","top","right","bottom"];function ls(t,e){return t.filter((t=>t.pos===e))}function cs(t,e){return t.filter((t=>-1===hs.indexOf(t.pos)&&t.box.axis===e))}function ds(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function us(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!hs.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o{s[t]=Math.max(e[t],i[t])})),s}return s(t?["left","right"]:["top","bottom"])}function bs(t,e,i,s){const n=[];let o,a,r,h,l,c;for(o=0,a=t.length,l=0;ot.box.fullSize)),!0),s=ds(ls(e,"left"),!0),n=ds(ls(e,"right")),o=ds(ls(e,"top"),!0),a=ds(ls(e,"bottom")),r=cs(e,"x"),h=cs(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(h).concat(a).concat(r),chartArea:ls(e,"chartArea"),vertical:s.concat(n).concat(h),horizontal:o.concat(a).concat(r)}}(t.boxes),h=r.vertical,l=r.horizontal;j(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=h.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),u=Object.assign({},n);gs(u,Pe(s));const f=Object.assign({maxPadding:u,w:o,h:a,x:n.left,y:n.top},n),g=us(h.concat(l),d);bs(r.fullSize,f,d,g),bs(h,f,d,g),bs(l,f,d,g)&&bs(h,f,d,g),function(t){const e=t.maxPadding;function i(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(f),_s(r.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,_s(r.rightAndBottom,f,d,g),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},j(r.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class vs{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class Ms extends vs{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ws="$chartjs",ks={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ss=t=>null===t||""===t;const Ps=!!hi&&{passive:!0};function Ds(t,e,i){t.canvas.removeEventListener(e,i,Ps)}function Cs(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function Os(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Cs(i.addedNodes,s),e=e&&!Cs(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function As(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Cs(i.removedNodes,s),e=e&&!Cs(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const Ts=new Map;let Ls=0;function Es(){const t=window.devicePixelRatio;t!==Ls&&(Ls=t,Ts.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function Rs(t,e,i){const s=t.canvas,n=s&&Je(s);if(!n)return;const o=Rt(((t,e)=>{const s=n.clientWidth;i(t,e),s{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||o(i,s)}));return a.observe(n),function(t,e){Ts.size||window.addEventListener("resize",Es),Ts.set(t,e)}(t,o),a}function Is(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){Ts.delete(t),Ts.size||window.removeEventListener("resize",Es)}(t)}function zs(t,e,i){const s=t.canvas,n=Rt((e=>{null!==t.ctx&&i(function(t,e){const i=ks[t.type]||t.type,{x:s,y:n}=ni(t,e);return{type:i,chart:e,native:t,x:void 0!==s?s:null,y:void 0!==n?n:null}}(e,t))}),t);return function(t,e,i){t.addEventListener(e,i,Ps)}(s,e,n),n}class Fs extends vs{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,s=t.getAttribute("height"),n=t.getAttribute("width");if(t[ws]={initial:{height:s,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",Ss(n)){const e=li(t,"width");void 0!==e&&(t.width=e)}if(Ss(s))if(""===t.style.height)t.height=t.width/(e||2);else{const e=li(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[ws])return!1;const i=e[ws].initial;["height","width"].forEach((t=>{const s=i[t];I(s)?e.removeAttribute(t):e.setAttribute(t,s)}));const s=i.style||{};return Object.keys(s).forEach((t=>{e.style[t]=s[t]})),e.width=e.width,delete e[ws],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:Os,detach:As,resize:Rs}[e]||zs;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];if(!s)return;({attach:Is,detach:Is,resize:Is}[e]||Ds)(t,e,s),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return ai(t,e,i,s)}isAttached(t){const e=Je(t);return!(!e||!e.isConnected)}}class Vs{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return pt(this.x)&&pt(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const s={};return t.forEach((t=>{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}function Bs(t,e){const i=t.options.ticks,s=function(t){const e=t.options.offset,i=t._tickSize(),s=t._length/i+(e?0:1),n=t._maxLength/i;return Math.floor(Math.min(s,n))}(t),n=Math.min(i.maxTicksLimit||s,s),o=i.major.enabled?function(t){const e=[];let i,s;for(i=0,s=t.length;in)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;nt-e)).pop(),e}(s);for(let t=0,e=o.length-1;tn)return e}return Math.max(n,1)}(o,e,n);if(a>0){let t,i;const s=a>1?Math.round((h-r)/(a-1)):null;for(Ws(e,l,c,I(s)?0:r-s,r),t=0,i=a-1;t"top"===e||"left"===e?t[e]+i:t[e]-i,Hs=(t,e)=>Math.min(e||t,t);function js(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;oa+r)))return l}function Ys(t){return t.drawTicks?t.tickLength:0}function Us(t,e){if(!t.display)return 0;const i=De(t.font,e),s=Pe(t.padding);return(z(t.text)?t.text.length:1)*i.lineHeight+s.height}function Xs(t,e,i){let s=It(t);return(i&&"right"!==e||!i&&"right"===e)&&(s=(t=>"left"===t?"right":"right"===t?"left":t)(s)),s}class qs extends Vs{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=B(t,Number.POSITIVE_INFINITY),e=B(e,Number.NEGATIVE_INFINITY),i=B(i,Number.POSITIVE_INFINITY),s=B(s,Number.NEGATIVE_INFINITY),{min:B(t,i),max:B(e,s),minDefined:V(t),maxDefined:V(e)}}getMinMax(t){let e,{min:i,max:s,minDefined:n,maxDefined:o}=this.getUserBounds();if(n&&o)return{min:i,max:s};const a=this.getMatchingVisibleMetas();for(let r=0,h=a.length;rs?s:i,s=n&&i>s?i:s,{min:B(i,B(s,i)),max:B(s,B(i,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){H(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:n,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,i){const{min:s,max:n}=t,o=N(e,(n-s)/2),a=(t,e)=>i&&0===t?0:t+e;return{min:a(s,-Math.abs(o)),max:a(n,o)}}(this,n,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=a=n||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const l=this._getLabelSizes(),c=l.widest.width,d=l.highest.height,u=St(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/i:u/(i-1),c+6>o&&(o=u/(i-(t.offset?.5:1)),a=this.maxHeight-Ys(t.grid)-e.padding-Us(t.title,this.chart.options.font),r=Math.sqrt(c*c+d*d),h=xt(Math.min(Math.asin(St((l.highest.height+6)/o,-1,1)),Math.asin(St(a/r,-1,1))-Math.asin(St(d/r,-1,1)))),h=Math.max(s,Math.min(n,h))),this.labelRotation=h}afterCalculateLabelRotation(){H(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){H(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:n}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Us(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=Ys(n)+o):(t.height=this.maxHeight,t.width=Ys(n)+o),i.display&&this.ticks.length){const{first:e,last:s,widest:n,highest:o}=this._getLabelSizes(),r=2*i.padding,h=bt(this.labelRotation),l=Math.cos(h),c=Math.sin(h);if(a){const e=i.mirror?0:c*n.width+l*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:l*n.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,s,c,l)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,h="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?h?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:"inner"!==n&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-l+o)*this.width/(this.width-l),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){H(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n({width:o[t]||0,height:a[t]||0});return{first:w(0),last:w(e-1),widest:w(v),highest:w(M),widths:o,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return St(this._alignToPixels?ae(this.chart,e,0):e,-32768,32767)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*s?a/i:r/s:r*s0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:n,position:o,border:a}=s,r=n.offset,h=this.isHorizontal(),l=this.ticks.length+(r?1:0),c=Ys(n),d=[],u=a.setContext(this.getContext()),f=u.display?u.width:0,g=f/2,p=function(t){return ae(i,t,f)};let m,b,x,_,y,v,M,w,k,S,P,D;if("top"===o)m=p(this.bottom),v=this.bottom-c,w=m-g,S=p(t.top)+g,D=t.bottom;else if("bottom"===o)m=p(this.top),S=t.top,D=p(t.bottom)-g,v=m+g,w=this.top+c;else if("left"===o)m=p(this.right),y=this.right-c,M=m-g,k=p(t.left)+g,P=t.right;else if("right"===o)m=p(this.left),k=t.left,P=p(t.right)-g,y=m+g,M=this.left+c;else if("x"===e){if("center"===o)m=p((t.top+t.bottom)/2+.5);else if(F(o)){const t=Object.keys(o)[0],e=o[t];m=p(this.chart.scales[t].getPixelForValue(e))}S=t.top,D=t.bottom,v=m+g,w=v+c}else if("y"===e){if("center"===o)m=p((t.left+t.right)/2);else if(F(o)){const t=Object.keys(o)[0],e=o[t];m=p(this.chart.scales[t].getPixelForValue(e))}y=m-g,M=y-c,k=t.left,P=t.right}const C=W(s.ticks.maxTicksLimit,l),O=Math.max(1,Math.ceil(l/C));for(b=0;be.value===t));if(i>=0){return e.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n{const s=i.split("."),n=s.pop(),o=[t].concat(s).join("."),a=e[i].split("."),r=a.pop(),h=a.join(".");se.route(o,n,h,r)}))}(e,t.defaultRoutes);t.descriptors&&se.describe(e,t.descriptors)}(t,o,i),this.override&&se.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in se[s]&&(delete se[s][i],this.override&&delete Jt[i])}}class Gs{constructor(){this.controllers=new Ks(Wi,"datasets",!0),this.elements=new Ks(Vs,"elements"),this.plugins=new Ks(Object,"plugins"),this.scales=new Ks(qs,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const s=i||this._getRegistryForType(e);i||s.isForType(e)||s===this.plugins&&e.id?this._exec(t,s,e):j(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const s=Q(t);H(i["before"+s],[],i),e[t](i),H(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;et.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function Qs(t,e){return e||!1!==t?!0===t?{}:t:null}function tn(t,{plugin:e,local:i},s,n){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(s,o);return i&&e.defaults&&a.push(e.defaults),t.createResolver(a,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function en(t,e){const i=se.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function sn(t){if("x"===t||"y"===t||"r"===t)return t}function nn(t,...e){if(sn(t))return t;for(const s of e){const e=s.axis||("top"===(i=s.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.length>1&&sn(t[0].toLowerCase());if(e)return e}var i;throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function on(t,e,i){if(i[e+"AxisID"]===t)return{axis:e}}function an(t,e){const i=Jt[t.type]||{scales:{}},s=e.scales||{},n=en(t.type,e),o=Object.create(null);return Object.keys(s).forEach((e=>{const a=s[e];if(!F(a))return console.error(`Invalid scale configuration for scale: ${e}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const r=nn(e,a,function(t,e){if(e.data&&e.data.datasets){const i=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(i.length)return on(t,"x",i[0])||on(t,"y",i[0])}return{}}(e,t),se.scales[a.type]),h=function(t,e){return t===e?"_index_":"_value_"}(r,n),l=i.scales||{};o[e]=K(Object.create(null),[{axis:r},a,l[r],l[h]])})),t.data.datasets.forEach((i=>{const n=i.type||t.type,a=i.indexAxis||en(n,e),r=(Jt[n]||{}).scales||{};Object.keys(r).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,a),n=i[e+"AxisID"]||e;o[n]=o[n]||Object.create(null),K(o[n],[{axis:e},s[n],r[t]])}))})),Object.keys(o).forEach((t=>{const e=o[t];K(e,[se.scales[e.type],se.scale])})),o}function rn(t){const e=t.options||(t.options={});e.plugins=W(e.plugins,{}),e.scales=an(t,e)}function hn(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const ln=new Map,cn=new Set;function dn(t,e){let i=ln.get(t);return i||(i=e(),ln.set(t,i),cn.add(i)),i}const un=(t,e,i)=>{const s=J(e,i);void 0!==s&&t.add(s)};class fn{constructor(t){this._config=function(t){return(t=t||{}).data=hn(t.data),rn(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=hn(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),rn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return dn(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return dn(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return dn(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return dn(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:n}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>un(r,t,e)))),e.forEach((t=>un(r,s,t))),e.forEach((t=>un(r,Jt[n]||{},t))),e.forEach((t=>un(r,se,t))),e.forEach((t=>un(r,Qt,t)))}));const h=Array.from(r);return 0===h.length&&h.push(Object.create(null)),cn.has(e)&&o.set(e,h),h}chartOptionScopes(){const{options:t,type:e}=this;return[t,Jt[e]||{},se.datasets[e]||{},{type:e},se,Qt]}resolveNamedOptions(t,e,i,s=[""]){const n={$shared:!0},{resolver:o,subPrefixes:a}=gn(this._resolverCache,t,s);let r=o;if(function(t,e){const{isScriptable:i,isIndexable:s}=Le(t);for(const n of e){const e=i(n),o=s(n),a=(o||e)&&t[n];if(e&&(et(a)||pn(a))||o&&z(a))return!0}return!1}(o,e)){n.$shared=!1;r=Te(o,i=et(i)?i():i,this.createResolver(t,i,a))}for(const t of e)n[t]=r[t];return n}createResolver(t,e,i=[""],s){const{resolver:n}=gn(this._resolverCache,t,i);return F(e)?Te(n,e,void 0,s):n}}function gn(t,e,i){let s=t.get(e);s||(s=new Map,t.set(e,s));const n=i.join();let o=s.get(n);if(!o){o={resolver:Ae(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},s.set(n,o)}return o}const pn=t=>F(t)&&Object.getOwnPropertyNames(t).reduce(((e,i)=>e||et(t[i])),!1);const mn=["top","bottom","left","right","chartArea"];function bn(t,e){return"top"===t||"bottom"===t||-1===mn.indexOf(t)&&"x"===e}function xn(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function _n(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),H(i&&i.onComplete,[t],e)}function yn(t){const e=t.chart,i=e.options.animation;H(i&&i.onProgress,[t],e)}function vn(t){return Ze()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Mn={},wn=t=>{const e=vn(t);return Object.values(Mn).filter((t=>t.canvas===e)).pop()};function kn(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}function Sn(t,e,i){return t.options.clip?t[i]:e[i]}class Pn{static defaults=se;static instances=Mn;static overrides=Jt;static registry=Zs;static version="4.4.0";static getChart=wn;static register(...t){Zs.add(...t),Dn()}static unregister(...t){Zs.remove(...t),Dn()}constructor(t,e){const i=this.config=new fn(e),s=vn(t),n=wn(s);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(t){return!Ze()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Ms:Fs}(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,o.aspectRatio),r=a&&a.canvas,h=r&&r.height,l=r&&r.width;this.id=R(),this.ctx=a,this.canvas=r,this.width=l,this.height=h,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Js,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let i;return function(...s){return e?(clearTimeout(i),i=setTimeout(t,e,s)):t.apply(this,s),e}}((t=>this.update(t)),o.resizeDelay||0),this._dataChanges=[],Mn[this.id]=this,a&&r?(ki.listen(this,"complete",_n),ki.listen(this,"progress",yn),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:s,_aspectRatio:n}=this;return I(t)?e&&n?n:s?i/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Zs}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ri(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return re(this.canvas,this.ctx),this}stop(){return ki.stop(this),this}resize(t,e){ki.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,s=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,e,n),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,ri(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),H(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){j(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,s=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let n=[];e&&(n=n.concat(Object.keys(e).map((t=>{const i=e[t],s=nn(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),j(n,(e=>{const n=e.options,o=n.id,a=nn(o,n),r=W(n.type,e.dtype);void 0!==n.position&&bn(n.position,a)===bn(e.dposition)||(n.position=e.dposition),s[o]=!0;let h=null;if(o in i&&i[o].type===r)h=i[o];else{h=new(Zs.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[h.id]=h}h.init(n,t)})),j(s,((t,e)=>{t||delete i[e]})),j(i,(t=>{ys.configure(this,t,t.options),ys.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=e.length;i{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(xn("z","_idx"));const{_active:a,_lastEvent:r}=this;r?this._eventHandler(r,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){j(this.scales,(t=>{ys.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);it(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e){kn(t,s,"_removeElements"===i?-n:n)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),s=i(0);for(let t=1;tt.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ys.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],j(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,s=!i.disabled,n=function(t,e){const{xScale:i,yScale:s}=t;return i&&s?{left:Sn(i,e,"left"),right:Sn(i,e,"right"),top:Sn(s,e,"top"),bottom:Sn(s,e,"bottom")}:e}(t,this.chartArea),o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(s&&de(e,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),t.controller.draw(),s&&ue(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return ce(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){const n=rs.modes[e];return"function"==typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=Oe(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const s=i?"show":"hide",n=this.getDatasetMeta(t),o=n.controller._resolveAnimations(void 0,s);tt(e)?(n.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(n,{visible:i}),this.update((e=>e.datasetIndex===t?s:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),ki.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,i,s),t[i]=s},s=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};j(this.options.events,(t=>i(t,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){j(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},j(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!$(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:s=[],options:n}=this,o=e,a=this._getActiveElements(t,s,i,o),r=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),h=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,H(n.onHover,[t,a,this],this),r&&H(n.onClick,[t,a,this],this));const l=!$(a,s);return(l||e)&&(this._active=a,this._updateHoverStyles(a,s,e)),this._lastEvent=h,l}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}function Dn(){return j(Pn.instances,(t=>t._plugins.invalidate()))}function Cn(t,e,i,s){const n=we(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(i-e)/2,a=Math.min(o,s*e/2),r=t=>{const e=(i-Math.min(o,t))*s/2;return St(t,0,Math.min(o,e))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:St(n.innerStart,0,a),innerEnd:St(n.innerEnd,0,a)}}function On(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function An(t,e,i,s,n,o){const{x:a,y:r,startAngle:h,pixelMargin:l,innerRadius:c}=e,d=Math.max(e.outerRadius+s+i-l,0),u=c>0?c+s+i+l:0;let f=0;const g=n-h;if(s){const t=((c>0?c-s:0)+(d>0?d-s:0))/2;f=(g-(0!==t?g*t/(t+s):g))/2}const p=(g-Math.max(.001,g*d-i/st)/d)/2,m=h+p+f,b=n-p-f,{outerStart:x,outerEnd:_,innerStart:y,innerEnd:v}=Cn(e,u,d,b-m),M=d-x,w=d-_,k=m+x/M,S=b-_/w,P=u+y,D=u+v,C=m+y/P,O=b-v/D;if(t.beginPath(),o){const e=(k+S)/2;if(t.arc(a,r,d,k,e),t.arc(a,r,d,e,S),_>0){const e=On(w,S,a,r);t.arc(e.x,e.y,_,S,b+ht)}const i=On(D,b,a,r);if(t.lineTo(i.x,i.y),v>0){const e=On(D,O,a,r);t.arc(e.x,e.y,v,b+ht,O+Math.PI)}const s=(b-v/u+(m+y/u))/2;if(t.arc(a,r,u,b-v/u,s,!0),t.arc(a,r,u,s,m+y/u,!0),y>0){const e=On(P,C,a,r);t.arc(e.x,e.y,y,C+Math.PI,m-ht)}const n=On(M,m,a,r);if(t.lineTo(n.x,n.y),x>0){const e=On(M,k,a,r);t.arc(e.x,e.y,x,m-ht,k)}}else{t.moveTo(a,r);const e=Math.cos(k)*d+a,i=Math.sin(k)*d+r;t.lineTo(e,i);const s=Math.cos(S)*d+a,n=Math.sin(S)*d+r;t.lineTo(s,n)}t.closePath()}function Tn(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r,options:h}=e,{borderWidth:l,borderJoinStyle:c,borderDash:d,borderDashOffset:u}=h,f="inner"===h.borderAlign;if(!l)return;t.setLineDash(d||[]),t.lineDashOffset=u,f?(t.lineWidth=2*l,t.lineJoin=c||"round"):(t.lineWidth=l,t.lineJoin=c||"bevel");let g=e.endAngle;if(o){An(t,e,i,s,g,n);for(let e=0;en?(l=n/h,t.arc(o,a,h,i+l,s-l,!0)):t.arc(o,a,n,i+ht,s-ht),t.closePath(),t.clip()}(t,e,g),o||(An(t,e,i,s,g,n),t.stroke())}function Ln(t,e,i=e){t.lineCap=W(i.borderCapStyle,e.borderCapStyle),t.setLineDash(W(i.borderDash,e.borderDash)),t.lineDashOffset=W(i.borderDashOffset,e.borderDashOffset),t.lineJoin=W(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=W(i.borderWidth,e.borderWidth),t.strokeStyle=W(i.borderColor,e.borderColor)}function En(t,e,i){t.lineTo(i.x,i.y)}function Rn(t,e,i={}){const s=t.length,{start:n=0,end:o=s-1}=i,{start:a,end:r}=e,h=Math.max(n,a),l=Math.min(o,r),c=nr&&o>r;return{count:s,start:h,loop:e.loop,ilen:l(a+(l?r-t:t))%o,_=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(h&&(d=n[x(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[x(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(ig&&(g=i),m=(b*m+e)/++b):(_(),t.lineTo(e,i),u=s,b=0,f=g=i),p=i}_()}function Fn(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i)?zn:In}const Vn="function"==typeof Path2D;function Bn(t,e,i,s){Vn&&!e.options.segment?function(t,e,i,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,s)&&n.closePath()),Ln(t,e.options),t.stroke(n)}(t,e,i,s):function(t,e,i,s){const{segments:n,options:o}=e,a=Fn(e);for(const r of n)Ln(t,o,r.style),t.beginPath(),a(t,e,r,{start:i,end:i+s-1})&&t.closePath(),t.stroke()}(t,e,i,s)}class Wn extends Vs{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;Ge(this._points,i,t,s,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const i=t.points,s=t.options.spanGaps,n=i.length;if(!n)return[];const o=!!t._loop,{start:a,end:r}=function(t,e,i,s){let n=0,o=e-1;if(i&&!s)for(;nn&&t[o%e].skip;)o--;return o%=e,{start:n,end:o}}(i,n,o,s);return yi(t,!0===s?[{start:a,end:r,loop:o}]:function(t,e,i,s){const n=t.length,o=[];let a,r=e,h=t[e];for(a=e+1;a<=i;++a){const i=t[a%n];i.skip||i.stop?h.skip||(s=!1,o.push({start:e%n,end:(a-1)%n,loop:s}),e=r=i.stop?a:null):(r=a,h.skip&&(e=a)),h=i}return null!==r&&o.push({start:e%n,end:r%n,loop:s}),o}(i,a,r"borderDash"!==t};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.getProps(["x","y"],i),{angle:n,distance:o}=yt(s,{x:t,y:e}),{startAngle:a,endAngle:r,innerRadius:h,outerRadius:l,circumference:c}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),d=(this.options.spacing+this.options.borderWidth)/2,u=W(c,r-a)>=nt||kt(n,a,r),f=Pt(o,h+d,l+d);return u&&f}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:r,spacing:h}=this.options,l=(s+n)/2,c=(o+a+h+r)/2;return{x:e+Math.cos(l)*c,y:i+Math.sin(l)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/4,n=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>nt?Math.floor(i/nt):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*s,Math.sin(a)*s);const r=s*(1-Math.sin(Math.min(st,i||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r}=e;let h=e.endAngle;if(o){An(t,e,i,s,h,n);for(let e=0;et.replace("rgb(","rgba(").replace(")",", 0.5)")));function Zn(t){return Kn[t%Kn.length]}function Jn(t){return Gn[t%Gn.length]}function Qn(t){let e=0;return(i,s)=>{const n=t.getDatasetMeta(s).controller;n instanceof Ki?e=function(t,e){return t.backgroundColor=t.data.map((()=>Zn(e++))),e}(i,e):n instanceof Gi?e=function(t,e){return t.backgroundColor=t.data.map((()=>Jn(e++))),e}(i,e):n&&(e=function(t,e){return t.borderColor=Zn(e),t.backgroundColor=Jn(e),++e}(i,e))}}function to(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}var eo={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,i){if(!i.enabled)return;const{data:{datasets:s},options:n}=t.config,{elements:o}=n;if(!i.forceOverride&&(to(s)||(a=n)&&(a.borderColor||a.backgroundColor)||o&&to(o)))return;var a;const r=Qn(t);s.forEach(r)}};function io(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function so(t){t.data.datasets.forEach((t=>{io(t)}))}var no={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void so(t);const s=t.width;t.data.datasets.forEach(((e,n)=>{const{_data:o,indexAxis:a}=e,r=t.getDatasetMeta(n),h=o||e.data;if("y"===Ce([a,t.options.indexAxis]))return;if(!r.controller.supportsDecimation)return;const l=t.scales[r.xAxisID];if("linear"!==l.type&&"time"!==l.type)return;if(t.options.parsing)return;let{start:c,count:d}=function(t,e){const i=e.length;let s,n=0;const{iScale:o}=t,{min:a,max:r,minDefined:h,maxDefined:l}=o.getUserBounds();return h&&(n=St(Ct(e,o.axis,a).lo,0,i-1)),s=l?St(Ct(e,o.axis,r).hi+1,n,i)-n:i-n,{start:n,count:s}}(r,h);if(d<=(i.threshold||4*s))return void io(e);let u;switch(I(o)&&(e._data=h,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":u=function(t,e,i,s,n){const o=n.samples||s;if(o>=i)return t.slice(e,e+i);const a=[],r=(i-2)/(o-2);let h=0;const l=e+i-1;let c,d,u,f,g,p=e;for(a[h++]=t[p],c=0;cu&&(u=f,d=t[s],g=s);a[h++]=d,p=g}return a[h++]=t[l],a}(h,c,d,s,i);break;case"min-max":u=function(t,e,i,s){let n,o,a,r,h,l,c,d,u,f,g=0,p=0;const m=[],b=e+i-1,x=t[e].x,_=t[b].x-x;for(n=e;nf&&(f=r,c=n),g=(p*g+o.x)/++p;else{const i=n-1;if(!I(l)&&!I(c)){const e=Math.min(l,c),s=Math.max(l,c);e!==d&&e!==i&&m.push({...t[e],x:g}),s!==d&&s!==i&&m.push({...t[s],x:g})}n>0&&i!==d&&m.push(t[i]),m.push(o),h=e,p=0,u=f=r,l=c=d=n}}return m}(h,c,d,s);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=u}))},destroy(t){so(t)}};function oo(t,e,i,s){if(s)return;let n=e[t],o=i[t];return"angle"===t&&(n=wt(n),o=wt(o)),{property:t,start:n,end:o}}function ao(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function ro(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function ho(t,e){let i=[],s=!1;return z(t)?(s=!0,i=t):i=function(t,e){const{x:i=null,y:s=null}=t||{},n=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=ao(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new Wn({points:i,options:{tension:0},_loop:s,_fullLoop:s}):null}function lo(t){return t&&!1!==t.fill}function co(t,e,i){let s=t[e].fill;const n=[e];let o;if(!i)return s;for(;!1!==s&&-1===n.indexOf(s);){if(!V(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;n.push(s),s=o.fill}return!1}function uo(t,e,i){const s=function(t){const e=t.options,i=e.fill;let s=W(i&&i.target,i);void 0===s&&(s=!!e.backgroundColor);if(!1===s||null===s)return!1;if(!0===s)return"origin";return s}(t);if(F(s))return!isNaN(s.value)&&s;let n=parseFloat(s);return V(n)&&Math.floor(n)===n?function(t,e,i,s){"-"!==t&&"+"!==t||(i=e+i);if(i===e||i<0||i>=s)return!1;return i}(s[0],e,n,i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function fo(t,e,i){const s=[];for(let n=0;n=0;--e){const i=n[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),s&&i.fill&&bo(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;lo(i)&&bo(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;lo(s)&&"beforeDatasetDraw"===i.drawTime&&bo(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const wo=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class ko extends Vs{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=H(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=De(i.font),n=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:r}=wo(i,n);let h,l;e.font=s.string,this.isHorizontal()?(h=this.maxWidth,l=this._fitRows(o,n,a,r)+10):(l=this.maxHeight,h=this._fitCols(o,s,a,r)+10),this.width=Math.min(h,t.maxWidth||this.maxWidth),this.height=Math.min(l,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],h=this.lineWidths=[0],l=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-l;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+n.measureText(t.text).width;(0===f||h[h.length-1]+g+2*a>o)&&(c+=l,h[h.length-(f>0?0:1)]=0,u+=l,d++),r[f]={left:0,top:u,row:d,width:g,height:s},h[h.length-1]+=g+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],h=this.columnSizes=[],l=o-t;let c=a,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:p,itemHeight:m}=function(t,e,i,s,n){const o=function(t,e,i,s){let n=t.text;n&&"string"!=typeof n&&(n=n.reduce(((t,e)=>t.length>e.length?t:e)));return e+i.size/2+s.measureText(n).width}(s,t,e,i),a=function(t,e,i){let s=t;"string"!=typeof e.text&&(s=So(e,i));return s}(n,s,e.lineHeight);return{itemWidth:o,itemHeight:a}}(i,e,n,t,s);o>0&&u+m+2*a>l&&(c+=d+a,h.push({width:d,height:u}),f+=d+a,g++,d=u=0),r[o]={left:f,top:u,col:g,width:p,height:m},d=Math.max(d,p),u+=m+a})),c+=d,h.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:n}}=this,o=fi(n,this.left,this.width);if(this.isHorizontal()){let n=0,a=zt(i,this.left+s,this.right-this.lineWidths[n]);for(const r of e)n!==r.row&&(n=r.row,a=zt(i,this.left+s,this.right-this.lineWidths[n])),r.top+=this.top+t+s,r.left=o.leftForLtr(o.x(a),r.width),a+=r.width+s}else{let n=0,a=zt(i,this.top+t+s,this.bottom-this.columnSizes[n].height);for(const r of e)r.col!==n&&(n=r.col,a=zt(i,this.top+t+s,this.bottom-this.columnSizes[n].height)),r.top=a,r.left+=this.left+s,r.left=o.leftForLtr(o.x(r.left),r.width),a+=r.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;de(t,this),this._draw(),ue(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:n,labels:o}=t,a=se.color,r=fi(t.rtl,this.left,this.width),h=De(o.font),{padding:l}=o,c=h.size,d=c/2;let u;this.drawTitle(),s.textAlign=r.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=h.string;const{boxWidth:f,boxHeight:g,itemHeight:p}=wo(o,c),m=this.isHorizontal(),b=this._computeTitleHeight();u=m?{x:zt(n,this.left+l,this.right-i[0]),y:this.top+l+b,line:0}:{x:this.left+l,y:zt(n,this.top+b+l,this.bottom-e[0].height),line:0},gi(this.ctx,t.textDirection);const x=p+l;this.legendItems.forEach(((_,y)=>{s.strokeStyle=_.fontColor,s.fillStyle=_.fontColor;const v=s.measureText(_.text).width,M=r.textAlign(_.textAlign||(_.textAlign=o.textAlign)),w=f+d+v;let k=u.x,S=u.y;r.setWidth(this.width),m?y>0&&k+w+l>this.right&&(S=u.y+=x,u.line++,k=u.x=zt(n,this.left+l,this.right-i[u.line])):y>0&&S+x>this.bottom&&(k=u.x=k+e[u.line].width+l,u.line++,S=u.y=zt(n,this.top+b+l,this.bottom-e[u.line].height));if(function(t,e,i){if(isNaN(f)||f<=0||isNaN(g)||g<0)return;s.save();const n=W(i.lineWidth,1);if(s.fillStyle=W(i.fillStyle,a),s.lineCap=W(i.lineCap,"butt"),s.lineDashOffset=W(i.lineDashOffset,0),s.lineJoin=W(i.lineJoin,"miter"),s.lineWidth=n,s.strokeStyle=W(i.strokeStyle,a),s.setLineDash(W(i.lineDash,[])),o.usePointStyle){const a={radius:g*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},h=r.xPlus(t,f/2);le(s,a,h,e+d,o.pointStyleWidth&&f)}else{const o=e+Math.max((c-g)/2,0),a=r.leftForLtr(t,f),h=Se(i.borderRadius);s.beginPath(),Object.values(h).some((t=>0!==t))?xe(s,{x:a,y:o,w:f,h:g,radius:h}):s.rect(a,o,f,g),s.fill(),0!==n&&s.stroke()}s.restore()}(r.x(k),S,_),k=((t,e,i,s)=>t===(s?"left":"right")?i:"center"===t?(e+i)/2:e)(M,k+f+d,m?k+w:this.right,t.rtl),function(t,e,i){be(s,i.text,t,e+p/2,h,{strikethrough:i.hidden,textAlign:r.textAlign(i.textAlign)})}(r.x(k),S,_),m)u.x+=w+l;else if("string"!=typeof _.text){const t=h.lineHeight;u.y+=So(_,t)+l}else u.y+=x})),pi(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=De(e.font),s=Pe(e.padding);if(!e.display)return;const n=fi(t.rtl,this.left,this.width),o=this.ctx,a=e.position,r=i.size/2,h=s.top+r;let l,c=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+h,c=zt(t.align,c,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);l=h+zt(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const u=zt(a,c,c+d);o.textAlign=n.textAlign(It(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=i.string,be(o,e.text,u,l,i)}_computeTitleHeight(){const t=this.options.title,e=De(t.font),i=Pe(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,n;if(Pt(t,this.left,this.right)&&Pt(e,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;it.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:s,textAlign:n,color:o,useBorderRadius:a,borderRadius:r}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const h=t.controller.getStyle(i?0:void 0),l=Pe(h.borderWidth);return{text:e[t.index].label,fillStyle:h.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:h.borderCapStyle,lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:h.borderColor,pointStyle:s||h.pointStyle,rotation:h.rotation,textAlign:n||h.textAlign,borderRadius:a&&(r||h.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Do extends Vs{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const s=z(i.text)?i.text.length:1;this._padding=Pe(i.padding);const n=s*De(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:s,right:n,options:o}=this,a=o.align;let r,h,l,c=0;return this.isHorizontal()?(h=zt(a,i,n),l=e+t,r=n-i):("left"===o.position?(h=i+t,l=zt(a,s,e),c=-.5*st):(h=n-t,l=zt(a,e,s),c=.5*st),r=s-e),{titleX:h,titleY:l,maxWidth:r,rotation:c}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=De(e.font),s=i.lineHeight/2+this._padding.top,{titleX:n,titleY:o,maxWidth:a,rotation:r}=this._drawArgs(s);be(t,e.text,0,0,i,{color:e.color,maxWidth:a,rotation:r,textAlign:It(e.align),textBaseline:"middle",translation:[n,o]})}}var Co={id:"title",_element:Do,start(t,e,i){!function(t,e){const i=new Do({ctx:t.ctx,options:e,chart:t});ys.configure(t,i,e),ys.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;ys.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const s=t.titleBlock;ys.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Oo=new WeakMap;var Ao={id:"subtitle",start(t,e,i){const s=new Do({ctx:t.ctx,options:i,chart:t});ys.configure(t,s,i),ys.addBox(t,s),Oo.set(t,s)},stop(t){ys.removeBox(t,Oo.get(t)),Oo.delete(t)},beforeUpdate(t,e,i){const s=Oo.get(t);ys.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const To={average(t){if(!t.length)return!1;let e,i,s=0,n=0,o=0;for(e=0,i=t.length;e-1?t.split("\n"):t}function Ro(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function Io(t,e){const i=t.chart.ctx,{body:s,footer:n,title:o}=t,{boxWidth:a,boxHeight:r}=e,h=De(e.bodyFont),l=De(e.titleFont),c=De(e.footerFont),d=o.length,u=n.length,f=s.length,g=Pe(e.padding);let p=g.height,m=0,b=s.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(b+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*l.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),b){p+=f*(e.displayColors?Math.max(r,h.lineHeight):h.lineHeight)+(b-f)*h.lineHeight+(b-1)*e.bodySpacing}u&&(p+=e.footerMarginTop+u*c.lineHeight+(u-1)*e.footerSpacing);let x=0;const _=function(t){m=Math.max(m,i.measureText(t).width+x)};return i.save(),i.font=l.string,j(t.title,_),i.font=h.string,j(t.beforeBody.concat(t.afterBody),_),x=e.displayColors?a+2+e.boxPadding:0,j(s,(t=>{j(t.before,_),j(t.lines,_),j(t.after,_)})),x=0,i.font=c.string,j(t.footer,_),i.restore(),m+=g.width,{width:m,height:p}}function zo(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:h}}=t;let l="center";return"center"===s?l=n<=(r+h)/2?"left":"right":n<=o/2?l="left":n>=a-o/2&&(l="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(l,t,e,i)&&(l="center"),l}function Fo(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return it.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||zo(t,e,i,s),yAlign:s}}function Vo(t,e,i,s){const{caretSize:n,caretPadding:o,cornerRadius:a}=t,{xAlign:r,yAlign:h}=i,l=n+o,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=Se(a);let g=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,r);const p=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,h,l);return"center"===h?"left"===r?g+=l:"right"===r&&(g-=l):"left"===r?g-=Math.max(c,u)+n:"right"===r&&(g+=Math.max(d,f)+n),{x:St(g,0,s.width-e.width),y:St(p,0,s.height-e.height)}}function Bo(t,e,i){const s=Pe(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-s.right:t.x+s.left}function Wo(t){return Lo([],Eo(t))}function No(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}const Ho={beforeTitle:E,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex{const e={before:[],lines:[],after:[]},n=No(i,t);Lo(e.before,Eo(jo(n,"beforeLabel",this,t))),Lo(e.lines,jo(n,"label",this,t)),Lo(e.after,Eo(jo(n,"afterLabel",this,t))),s.push(e)})),s}getAfterBody(t,e){return Wo(jo(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:i}=e,s=jo(i,"beforeFooter",this,t),n=jo(i,"footer",this,t),o=jo(i,"afterFooter",this,t);let a=[];return a=Lo(a,Eo(s)),a=Lo(a,Eo(n)),a=Lo(a,Eo(o)),a}_createItems(t){const e=this._active,i=this.chart.data,s=[],n=[],o=[];let a,r,h=[];for(a=0,r=e.length;at.filter(e,s,n,i)))),t.itemSort&&(h=h.sort(((e,s)=>t.itemSort(e,s,i)))),j(h,(e=>{const i=No(t.callbacks,e);s.push(jo(i,"labelColor",this,e)),n.push(jo(i,"labelPointStyle",this,e)),o.push(jo(i,"labelTextColor",this,e))})),this.labelColors=s,this.labelPointStyles=n,this.labelTextColors=o,this.dataPoints=h,h}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=To[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=Io(this,i),a=Object.assign({},t,e),r=Fo(this.chart,i,a),h=Vo(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:h.x,y:h.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:s,yAlign:n}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:r,topRight:h,bottomLeft:l,bottomRight:c}=Se(a),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,b,x,_,y;return"center"===n?(_=u+g/2,"left"===s?(p=d,m=p-o,x=_+o,y=_-o):(p=d+f,m=p+o,x=_-o,y=_+o),b=p):(m="left"===s?d+Math.max(r,l)+o:"right"===s?d+f-Math.max(h,c)-o:this.caretX,"top"===n?(x=u,_=x-o,p=m-o,b=m+o):(x=u+g,_=x+o,p=m+o,b=m-o),y=x),{x1:p,x2:m,x3:b,y1:x,y2:_,y3:y}}drawTitle(t,e,i){const s=this.title,n=s.length;let o,a,r;if(n){const h=fi(i.rtl,this.x,this.width);for(t.x=Bo(this,i.titleAlign,i),e.textAlign=h.textAlign(i.titleAlign),e.textBaseline="middle",o=De(i.titleFont),a=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,xe(t,{x:e,y:f,w:h,h:r,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),xe(t,{x:i,y:f+1,w:h-2,h:r-2,radius:a}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,f,h,r),t.strokeRect(e,f,h,r),t.fillStyle=o.backgroundColor,t.fillRect(i,f+1,h-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:s}=this,{bodySpacing:n,bodyAlign:o,displayColors:a,boxHeight:r,boxWidth:h,boxPadding:l}=i,c=De(i.bodyFont);let d=c.lineHeight,u=0;const f=fi(i.rtl,this.x,this.width),g=function(i){e.fillText(i,f.x(t.x+u),t.y+d/2),t.y+=d+n},p=f.textAlign(o);let m,b,x,_,y,v,M;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=Bo(this,p,i),e.fillStyle=i.bodyColor,j(this.beforeBody,g),u=a&&"right"!==p?"center"===o?h/2+l:h+2+l:0,_=0,v=s.length;_0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=To[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=Io(this,t),a=Object.assign({},i,this._size),r=Fo(e,t,a),h=Vo(t,a,r,e);s._to===h.x&&n._to===h.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const s={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Pe(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(n,t,s,e),gi(t,e.textDirection),n.y+=o.top,this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),pi(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,s=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),n=!$(i,s),o=this._positionChanged(s,e);(n||o)&&(this._active=s,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,n=this._active||[],o=this._getActiveElements(t,n,e,i),a=this._positionChanged(o,t),r=e||!$(o,n)||a;return r&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e;const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=To[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}var Yo={id:"tooltip",_element:$o,positioners:To,afterInit(t,e,i){i&&(t.tooltip=new $o({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Ho},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Uo=Object.freeze({__proto__:null,Colors:eo,Decimation:no,Filler:Mo,Legend:Po,SubTitle:Ao,Title:Co,Tooltip:Yo});function Xo(t,e,i,s){const n=t.indexOf(e);if(-1===n)return((t,e,i,s)=>("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s);return n!==t.lastIndexOf(e)?i:n}function qo(t){const e=this.getLabels();return t>=0&&tf&&(k=gt(w*k/f/u)*u),I(r)||(y=Math.pow(10,r),k=Math.ceil(k*y)/y),"ticks"===s?(v=Math.floor(g/k)*k,M=Math.ceil(p/k)*k):(v=g,M=p),m&&b&&n&&function(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}((a-o)/n,k/1e3)?(w=Math.round(Math.min((a-o)/k,l)),k=(a-o)/w,v=o,M=a):x?(v=m?o:v,M=b?a:M,w=h-1,k=(M-v)/w):(w=(M-v)/k,w=ft(w,Math.round(w),k/1e3)?Math.round(w):Math.ceil(w));const S=Math.max(_t(k),_t(v));y=Math.pow(10,I(r)?S:r),v=Math.round(v*y)/y,M=Math.round(M*y)/y;let P=0;for(m&&(d&&v!==o?(i.push({value:o}),va)break;i.push({value:t})}return b&&d&&M!==a?i.length&&ft(i[i.length-1].value,a,Go(a,_,t))?i[i.length-1].value=a:i.push({value:a}):b&&M!==a||i.push({value:M}),i}function Go(t,e,{horizontal:i,minRotation:s}){const n=bt(s),o=(i?Math.sin(n):Math.cos(n))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}class Zo extends qs{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return I(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:s,max:n}=this;const o=t=>s=e?s:t,a=t=>n=i?n:t;if(t){const t=ut(s),e=ut(n);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(s===n){let e=0===n?1:Math.abs(.05*n);a(n+e),t||o(s-e)}this.min=s,this.max=n}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=Ko({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&mt(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-e)/Math.max(t.length-1,1)/2;e-=s,i+=s}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return Kt(t,this.chart.options.locale,this.options.ticks.format)}}class Jo extends Zo{static id="linear";static defaults={ticks:{callback:Zt.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=V(t)?t:0,this.max=V(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=bt(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,n.lineHeight/s))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const Qo=t=>Math.floor(dt(t)),ta=(t,e)=>Math.pow(10,Qo(t)+e);function ea(t){return 1===t/Math.pow(10,Qo(t))}function ia(t,e,i){const s=Math.pow(10,i),n=Math.floor(t/s);return Math.ceil(e/s)-n}function sa(t,{min:e,max:i}){e=B(t.min,e);const s=[],n=Qo(e);let o=function(t,e){let i=Qo(e-t);for(;ia(t,e,i)>10;)i++;for(;ia(t,e,i)<10;)i--;return Math.min(i,Qo(t))}(e,i),a=o<0?Math.pow(10,Math.abs(o)):1;const r=Math.pow(10,o),h=n>o?Math.pow(10,n):0,l=Math.round((e-h)*a)/a,c=Math.floor((e-h)/r/10)*r*10;let d=Math.floor((l-c)/Math.pow(10,o)),u=B(t.min,Math.round((h+c+d*Math.pow(10,o))*a)/a);for(;u=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,a=o>=0?1:a),u=Math.round((h+c+d*Math.pow(10,o))*a)/a;const f=B(t.max,u);return s.push({value:f,major:ea(f),significand:d}),s}class na extends qs{static id="logarithmic";static defaults={ticks:{callback:Zt.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=Zo.prototype.parse.apply(this,[t,e]);if(0!==i)return V(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=V(t)?Math.max(0,t):null,this.max=V(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!V(this._userMin)&&(this.min=t===ta(this.min,0)?ta(this.min,-1):ta(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const n=e=>i=t?i:e,o=t=>s=e?s:t;i===s&&(i<=0?(n(1),o(10)):(n(ta(i,-1)),o(ta(s,1)))),i<=0&&n(ta(s,-1)),s<=0&&o(ta(i,1)),this.min=i,this.max=s}buildTicks(){const t=this.options,e=sa({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&mt(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":Kt(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=dt(t),this._valueRange=dt(this.max)-dt(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(dt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function oa(t){const e=t.ticks;if(e.display&&t.display){const t=Pe(e.backdropPadding);return W(e.font&&e.font.size,se.font.size)+t.height}return 0}function aa(t,e,i,s,n){return t===s||t===n?{start:e-i/2,end:e+i/2}:tn?{start:e-i,end:e}:{start:e,end:e+i}}function ra(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),s=[],n=[],o=t._pointLabels.length,a=t.options.pointLabels,r=a.centerPointLabels?st/o:0;for(let d=0;de.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.starte.b&&(h=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+h))}function la(t,e,i){const s=t.drawingArea,{extra:n,additionalAngle:o,padding:a,size:r}=i,h=t.getPointPosition(e,s+n+a,o),l=Math.round(xt(wt(h.angle+ht))),c=function(t,e,i){90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e);return t}(h.y,r.h,l),d=function(t){if(0===t||180===t)return"center";if(t<180)return"left";return"right"}(l),u=function(t,e,i){"right"===i?t-=e:"center"===i&&(t-=e/2);return t}(h.x,r.w,d);return{visible:!0,x:h.x,y:c,textAlign:d,left:u,top:c,right:u+r.w,bottom:c+r.h}}function ca(t,e){if(!e)return!0;const{left:i,top:s,right:n,bottom:o}=t;return!(ce({x:i,y:s},e)||ce({x:i,y:o},e)||ce({x:n,y:s},e)||ce({x:n,y:o},e))}function da(t,e,i){const{left:s,top:n,right:o,bottom:a}=i,{backdropColor:r}=e;if(!I(r)){const i=Se(e.borderRadius),h=Pe(e.backdropPadding);t.fillStyle=r;const l=s-h.left,c=n-h.top,d=o-s+h.width,u=a-n+h.height;Object.values(i).some((t=>0!==t))?(t.beginPath(),xe(t,{x:l,y:c,w:d,h:u,radius:i}),t.fill()):t.fillRect(l,c,d,u)}}function ua(t,e,i,s){const{ctx:n}=t;if(i)n.arc(t.xCenter,t.yCenter,e,0,nt);else{let i=t.getPointPosition(0,e);n.moveTo(i.x,i.y);for(let o=1;ot,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Pe(oa(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=V(t)&&!isNaN(t)?t:0,this.max=V(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/oa(this.options))}generateTickLabels(t){Zo.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=H(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?ra(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){return wt(t*(nt/(this._pointLabels.length||1))+bt(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(I(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(I(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t=0;n--){const e=t._pointLabelItems[n];if(!e.visible)continue;const o=s.setContext(t.getPointLabelContext(n));da(i,o,e);const a=De(o.font),{x:r,y:h,textAlign:l}=e;be(i,t._pointLabels[n],r,h+a.lineHeight/2,a,{color:o.color,textAlign:l,textBaseline:"middle"})}}(this,o),s.display&&this.ticks.forEach(((t,e)=>{if(0!==e){r=this.getDistanceFromCenterForValue(t.value);const i=this.getContext(e),a=s.setContext(i),h=n.setContext(i);!function(t,e,i,s,n){const o=t.ctx,a=e.circular,{color:r,lineWidth:h}=e;!a&&!s||!r||!h||i<0||(o.save(),o.strokeStyle=r,o.lineWidth=h,o.setLineDash(n.dash),o.lineDashOffset=n.dashOffset,o.beginPath(),ua(t,i,a,s),o.closePath(),o.stroke(),o.restore())}(this,a,r,o,h)}})),i.display){for(t.save(),a=o-1;a>=0;a--){const s=i.setContext(this.getPointLabelContext(a)),{color:n,lineWidth:o}=s;o&&n&&(t.lineWidth=o,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,r=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),h=this.getPointPosition(a,r),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(h.x,h.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let n,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((s,a)=>{if(0===a&&!e.reverse)return;const r=i.setContext(this.getContext(a)),h=De(r.font);if(n=this.getDistanceFromCenterForValue(this.ticks[a].value),r.showLabelBackdrop){t.font=h.string,o=t.measureText(s.label).width,t.fillStyle=r.backdropColor;const e=Pe(r.backdropPadding);t.fillRect(-o/2-e.left,-n-h.size/2-e.top,o+e.width,h.size+e.height)}be(t,s.label,0,-n,h,{color:r.color,strokeColor:r.textStrokeColor,strokeWidth:r.textStrokeWidth})})),t.restore()}drawTitle(){}}const ga={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},pa=Object.keys(ga);function ma(t,e){return t-e}function ba(t,e){if(I(e))return null;const i=t._adapter,{parser:s,round:n,isoWeekday:o}=t._parseOpts;let a=e;return"function"==typeof s&&(a=s(a)),V(a)||(a="string"==typeof s?i.parse(a,s):i.parse(a)),null===a?null:(n&&(a="week"!==n||!pt(o)&&!0!==o?i.startOf(a,n):i.startOf(a,"isoWeek",o)),+a)}function xa(t,e,i,s){const n=pa.length;for(let o=pa.indexOf(t);o=e?i[s]:i[n]]=!0}}else t[e]=!0}function ya(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a=0&&(e[h].major=!0);return e}(t,s,n,i):s}class va extends qs{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const i=t.time||(t.time={}),s=this._adapter=new ts(t.adapters.date);s.init(e),K(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:ba(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:s,max:n,minDefined:o,maxDefined:a}=this.getUserBounds();function r(t){o||isNaN(t.min)||(s=Math.min(s,t.min)),a||isNaN(t.max)||(n=Math.max(n,t.max))}o&&a||(r(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||r(this.getMinMax(!1))),s=V(s)&&!isNaN(s)?s:+e.startOf(Date.now(),i),n=V(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(s,n-1),this.max=Math.max(s+1,n)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,s="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const n=this.min,o=function(t,e,i){let s=0,n=t.length;for(;ss&&t[n-1]>i;)n--;return s>0||n=pa.indexOf(i);o--){const i=pa[o];if(ga[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return pa[i?pa.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=pa.indexOf(t)+1,i=pa.length;e+t.value)))}initOffsets(t=[]){let e,i,s=0,n=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),s=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),n=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;s=St(s,0,o),n=St(n,0,o),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){const t=this._adapter,e=this.min,i=this.max,s=this.options,n=s.time,o=n.unit||xa(n.minUnit,e,i,this._getLabelCapacity(e)),a=W(s.ticks.stepSize,1),r="week"===o&&n.isoWeekday,h=pt(r)||!0===r,l={};let c,d,u=e;if(h&&(u=+t.startOf(u,"isoWeek",r)),u=+t.startOf(u,h?"day":o),t.diff(i,e,o)>1e5*a)throw new Error(e+" and "+i+" are too far apart with stepSize of "+a+" "+o);const f="data"===s.ticks.source&&this.getDataTimestamps();for(c=u,d=0;c+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}format(t,e){const i=this.options.time.displayFormats,s=this._unit,n=e||i[s];return this._adapter.format(t,n)}_tickFormatFunction(t,e,i,s){const n=this.options,o=n.ticks.callback;if(o)return H(o,[t,e,i],this);const a=n.time.displayFormats,r=this._unit,h=this._majorUnit,l=r&&a[r],c=h&&a[h],d=i[e],u=h&&c&&d&&d.major;return this._adapter.format(t,s||(u?c:l))}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t=t[r].pos&&e<=t[h].pos&&({lo:r,hi:h}=Ct(t,"pos",e)),({pos:s,time:o}=t[r]),({pos:n,time:a}=t[h])):(e>=t[r].time&&e<=t[h].time&&({lo:r,hi:h}=Ct(t,"time",e)),({time:s,pos:o}=t[r]),({time:n,pos:a}=t[h]));const l=n-s;return l?o+(a-o)*(e-s)/l:o}var wa=Object.freeze({__proto__:null,CategoryScale:class extends qs{static id="category";static defaults={ticks:{callback:qo}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:s}of e)t[i]===s&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(I(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:St(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:Xo(i,t,W(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)s.push({value:i});return s}getLabelForValue(t){return qo.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:Jo,LogarithmicScale:na,RadialLinearScale:fa,TimeScale:va,TimeSeriesScale:class extends va{static id="timeseries";static defaults=va.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Ma(e,this.min),this._tableRange=Ma(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,h,l;for(o=0,a=t.length;o=e&&h<=i&&s.push(h);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;ot-e))}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(Ma(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return Ma(this._table,i*this._tableRange+this._minPos,!0)}}});const ka=[Zi,qn,Uo,wa];Pn.register(...ka);window.imagify=window.imagify||{},window.imagify.Color=eo,window.imagify.Chart=Pn}},t=>{var e;e="./chart.js",t(t.s=e)}]); \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/admin/js/runtime.js b/wp/wp-content/plugins/imagify/assets/admin/js/runtime.js new file mode 100644 index 00000000..587e2c8c --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/admin/js/runtime.js @@ -0,0 +1 @@ +(()=>{"use strict";var r,e={},o={};function t(r){var n=o[r];if(void 0!==n)return n.exports;var s=o[r]={exports:{}};return e[r](s,s.exports,t),s.exports}t.m=e,r=[],t.O=(e,o,n,s)=>{if(!o){var a=1/0;for(u=0;u=s)&&Object.keys(t.O).every((r=>t.O[r](o[f])))?o.splice(f--,1):(i=!1,s0&&r[u-1][2]>s;u--)r[u]=r[u-1];r[u]=[o,n,s]},t.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={666:0};t.O.j=e=>0===r[e];var e=(e,o)=>{var n,s,[a,i,f]=o,l=0;if(a.some((e=>0!==r[e]))){for(n in i)t.o(i,n)&&(t.m[n]=i[n]);if(f)var u=f(t)}for(e&&e(o);l p { + color: #FFF; +} +#wp-admin-bar-imagify-profile [class^="imagify-bar-"] { + position: relative; + height: 1.5em; + width: 100%; + background: #60758D; + color: #FFF; + font-size: 10px; +} +#wp-admin-bar-imagify-profile .imagify-progress { + height: 1.5em; + font-size: 1em; +} +.imagify-progress { + transition: width .3s; +} +.imagify-bar-positive .imagify-progress { + background: #8CC152; +} +.imagify-bar-positive .imagify-barnb { + color: #8CC152; +} +.imagify-bar-negative .imagify-progress { + background: #73818C; +} +.imagify-bar-negative .imagify-barnb { + color: #73818C; +} +.imagify-bar-neutral .imagify-progress { + background: #F5A623; +} +.imagify-space-left .imagify-bar-negative .imagify-progress { + background: #D0021B; +} + +#wpadminbar #wp-admin-bar-imagify-profile * { + line-height: 1.5; + white-space: initial; +} +#wpadminbar #wp-admin-bar-imagify .ab-submenu { + padding-bottom: 0; +} +#wpadminbar #wp-admin-bar-imagify-profile .ab-item { + height: auto; + padding: 0 13px; +} +#wpadminbar #wp-admin-bar-imagify-profile { + min-width: 200px; + padding: 15px 0 10px; + margin-top: 0.7em; + background: #222; +} +#wp-admin-bar-imagify .dashicons { + font-family: "dashicons"; + font-size: 18px; + vertical-align: middle; + margin: 0 5px 0 0; +} +#wp-admin-bar-imagify .button-text { + display: inline-block; + vertical-align: middle; +} +#wp-admin-bar-imagify .imagify-abq-row { + display: table; + width: 100%; +} +#wp-admin-bar-imagify .imagify-abq-row + .imagify-abq-row { + margin-top: .75em; +} +#wp-admin-bar-imagify .imagify-abq-row > * { + display: table-cell; +} +#wp-admin-bar-imagify-profile .imagify-meteo-icon { + padding-right: 7px; +} +#wp-admin-bar-imagify-profile .imagify-meteo-icon img { + width: 37px; +} +#wp-admin-bar-imagify-profile .imagify-meteo-title { + font-size: 17px; +} +#wp-admin-bar-imagify-profile .imagify-meteo-subs { + color: #72889F; +} +#wpadminbar #wp-admin-bar-imagify-profile strong { + font-weight: bold; +} +#wpadminbar #wp-admin-bar-imagify-profile .imagify-user-plan, +#wpadminbar #wp-admin-bar-imagify-profile a { + padding: 0; + color: #40B1D0; +} +#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link { + display: table; +} +#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link > * { + display: table-cell; +} +#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left { + max-width: 210px; + min-width: 210px; + width: 210px; +} +#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left p { + font-size: 12px; +} +#wp-admin-bar-imagify-profile .imagify-error, +#wp-admin-bar-imagify-profile .imagify-warning { + padding: 10px; + margin: 0 -13px -13px; +} +#wp-admin-bar-imagify-profile .imagify-error p + p, +#wp-admin-bar-imagify-profile .imagify-warning p + p { + margin-top: .5em; +} +#wp-admin-bar-imagify-profile .imagify-error p + p + p, +#wp-admin-bar-imagify-profile .imagify-warning p + p + p { + margin-top: 1em; +} + +#wpadminbar #wp-admin-bar-imagify-profile .imagify-btn-ghost { + display: inline-block; + height: auto; + padding: 7px 10px; + border: 1px solid #FFF; + text-align: center; + background: transparent; + color: #FFF; + border-radius: 3px; + transition: all .275s; +} + +#wpadminbar #wp-admin-bar-imagify-profile .imagify-btn-ghost:hover, +#wpadminbar #wp-admin-bar-imagify-profile .imagify-btn-ghost:focus { + background: #FFF; + color: #888; +} + +#wpadminbar .imagify-warning * { + background: #f5a623; + color: #FFF; + text-shadow: 0 0 2px rgba(0, 0, 0, 0.2); +} + + +#wp-admin-bar-imagify-profile .imagify-upsell-admin-bar { + position:relative ; + background: #c51161; + margin: 10px -13px -10px -13px; + padding: 20px; +} + +#wp-admin-bar-imagify-profile .imagify-upsell-admin-bar p { + color: #fff; +} + +#wp-admin-bar-imagify-profile a.imagify-upsell-admin-bar-button { + display: block; + height: auto !important; + border: 1px solid #fff; + border-radius: 5px; + color: #fff !important; + padding: 5px 10px !important; + text-align: center; + text-decoration: none; + margin-top: 10px; +} + +#wpadminbar #wp-admin-bar-imagify-profile a.imagify-upsell-dismiss { + display: inline !important; + height: auto !important; +} + +#wpadminbar #wp-admin-bar-imagify-profile .imagify-upsell-dismiss::before { + position: absolute; + top: 5px; + right: 10px; + content: "\2715"; + color: #fff; +} diff --git a/wp/wp-content/plugins/imagify/assets/css/admin-bar.min.css b/wp/wp-content/plugins/imagify/assets/css/admin-bar.min.css new file mode 100644 index 00000000..90142c9a --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/admin-bar.min.css @@ -0,0 +1 @@ +.imagify-account,.imagify-account-link{padding-right:15px}.imagify-meteo-icon{display:inline-block;height:38px;vertical-align:middle;margin-right:10px}.imagify-user-plan{color:#40b1d0}.imagify-meteo-title.imagify-meteo-title{color:#fff;font-size:17px}.imagify-space-left>p{color:#fff}#wp-admin-bar-imagify-profile [class^=imagify-bar-]{position:relative;height:1.5em;width:100%;background:#60758d;color:#fff;font-size:10px}#wp-admin-bar-imagify-profile .imagify-progress{height:1.5em;font-size:1em}.imagify-progress{-webkit-transition:width .3s;-o-transition:width .3s;transition:width .3s}.imagify-bar-positive .imagify-progress{background:#8cc152}.imagify-bar-positive .imagify-barnb{color:#8cc152}.imagify-bar-negative .imagify-progress{background:#73818c}.imagify-bar-negative .imagify-barnb{color:#73818c}.imagify-bar-neutral .imagify-progress{background:#f5a623}.imagify-space-left .imagify-bar-negative .imagify-progress{background:#d0021b}#wpadminbar #wp-admin-bar-imagify-profile *{line-height:1.5;white-space:initial}#wpadminbar #wp-admin-bar-imagify .ab-submenu{padding-bottom:0}#wpadminbar #wp-admin-bar-imagify-profile .ab-item{height:auto;padding:0 13px}#wpadminbar #wp-admin-bar-imagify-profile{min-width:200px;padding:15px 0 10px;margin-top:.7em;background:#222}#wp-admin-bar-imagify .dashicons{font-family:dashicons;font-size:18px;vertical-align:middle;margin:0 5px 0 0}#wp-admin-bar-imagify .button-text{display:inline-block;vertical-align:middle}#wp-admin-bar-imagify .imagify-abq-row{display:table;width:100%}#wp-admin-bar-imagify .imagify-abq-row+.imagify-abq-row{margin-top:.75em}#wp-admin-bar-imagify .imagify-abq-row>*{display:table-cell}#wp-admin-bar-imagify-profile .imagify-meteo-icon{padding-right:7px}#wp-admin-bar-imagify-profile .imagify-meteo-icon img{width:37px}#wp-admin-bar-imagify-profile .imagify-meteo-title{font-size:17px}#wp-admin-bar-imagify-profile .imagify-meteo-subs{color:#72889f}#wpadminbar #wp-admin-bar-imagify-profile strong{font-weight:700}#wpadminbar #wp-admin-bar-imagify-profile .imagify-user-plan,#wpadminbar #wp-admin-bar-imagify-profile a{padding:0;color:#40b1d0}#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link{display:table}#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link>*{display:table-cell}#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left{max-width:210px;min-width:210px;width:210px}#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left p{font-size:12px}#wp-admin-bar-imagify-profile .imagify-error,#wp-admin-bar-imagify-profile .imagify-warning{padding:10px;margin:0 -13px -13px}#wp-admin-bar-imagify-profile .imagify-error p+p,#wp-admin-bar-imagify-profile .imagify-warning p+p{margin-top:.5em}#wp-admin-bar-imagify-profile .imagify-error p+p+p,#wp-admin-bar-imagify-profile .imagify-warning p+p+p{margin-top:1em}#wpadminbar #wp-admin-bar-imagify-profile .imagify-btn-ghost{display:inline-block;height:auto;padding:7px 10px;border:1px solid #fff;text-align:center;background:0 0;color:#fff;border-radius:3px;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}#wpadminbar #wp-admin-bar-imagify-profile .imagify-btn-ghost:focus,#wpadminbar #wp-admin-bar-imagify-profile .imagify-btn-ghost:hover{background:#fff;color:#888}#wpadminbar .imagify-warning *{background:#f5a623;color:#fff;text-shadow:0 0 2px rgba(0,0,0,.2)}#wp-admin-bar-imagify-profile .imagify-upsell-admin-bar{position:relative;background:#c51161;margin:10px -13px -10px -13px;padding:20px}#wp-admin-bar-imagify-profile .imagify-upsell-admin-bar p{color:#fff}#wp-admin-bar-imagify-profile a.imagify-upsell-admin-bar-button{display:block;height:auto!important;border:1px solid #fff;border-radius:5px;color:#fff!important;padding:5px 10px!important;text-align:center;text-decoration:none;margin-top:10px}#wpadminbar #wp-admin-bar-imagify-profile a.imagify-upsell-dismiss{display:inline!important;height:auto!important}#wpadminbar #wp-admin-bar-imagify-profile .imagify-upsell-dismiss::before{position:absolute;top:5px;right:10px;content:"\2715";color:#fff} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/admin.css b/wp/wp-content/plugins/imagify/assets/css/admin.css new file mode 100644 index 00000000..21825743 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/admin.css @@ -0,0 +1,1597 @@ +/** + * == Utilities Classes + */ + +/* Util: Flexbox */ +.imagify-flex { + display: flex; +} +.imagify-vcenter { + align-items: center; +} +.imagify-noshrink { + flex-shrink: 0; +} +.imagify-nogrow { + flex-grow: 0; +} + +/* Util: dimension */ +.imagify-wauto { + width: auto; +} +.imagify-hauto { + height: auto; +} +.imagify-full-width { + width: 100%; +} + +/* Util: float */ +.imagify-start { + float: left; +} +.imagify-end { + float: right; +} + +/* Util: text-align */ +.imagify-txt-start.imagify-txt-start.imagify-txt-start { + text-align: left; +} +.imagify-txt-center.imagify-txt-center.imagify-txt-center { + text-align: center; +} +.imagify-txt-end.imagify-txt-end.imagify-txt-end { + text-align: right; +} + +/* Util: margin/padding */ +.imagify-mt0.imagify-mt0 { + margin-top: 0; +} +.imagify-mt1.imagify-mt1 { + margin-top: 1em; +} +.imagify-mt2.imagify-mt2 { + margin-top: 2em; +} +.imagify-mt3.imagify-mt3 { + margin-top: 3em; +} +.imagify-mb0.imagify-mb0 { + margin-bottom: 0; +} +.imagify-mb1.imagify-mb1 { + margin-bottom: 1em; +} +.imagify-mr1.imagify-mr1 { + margin-right: 1em; +} +.imagify-ml2.imagify-ml2 { + margin-left: 2em; +} +.imagify-mr2.imagify-mr2 { + margin-right: 2em; +} + +.imagify-pl0.imagify-pl0.imagify-pl0 { + padding-left: 0; +} +.imagify-pb0.imagify-pb0 { + padding-bottom: 0; +} +.imagify-pr1.imagify-pr1 { + padding-right: 1em; +} +.imagify-pr2.imagify-pr2 { + padding-right: 2em; +} + +/* Util: Overflow */ +.imagify-oh { + overflow: hidden; +} +.imagify-clear { + clear: both; +} +.imagify-clearfix:after, +.imagify-inline-options:after, +.imagify-settings-main-content:after, +.imagify-settings-section:after { + content: ""; + display: table; + width: 100%; + clear: both; +} +.imagify-setting-optim-level .imagify-inline-options:after { + display: none; +} + +/* Util: Dividers */ +.imagify-divider { + height: 1px; + margin: 20px 0; + background: #D2D3D6; +} +.imagify-pipe { + display: inline-block; + margin: 0 .75em; + vertical-align: middle; + height: 15px; + width: 1px; + background: #979797; +} + +/* Titles */ +.imagify-h3-like.imagify-h3-like.imagify-h3-like { + margin-bottom: 0; + font-size: 19px; + font-weight: 500; + color: #1F2332; +} +.imagify-h4-like.imagify-h4-like.imagify-h4-like { + font-size: 14px; + font-weight: bold; + color: #2E3243; +} + +/* Default counter */ +.imagify-count.imagify-count { + counter-reset: num; +} +.imagify-count .imagify-count-title { + font-weight: bold; +} +.imagify-default-settings { + color: #73818c; + font-weight: normal; +} +.imagify-count .imagify-count-title:before { + counter-increment: num 1; + content: counter(num) ". "; +} + +/* List counter */ +.imagify-count-list { + counter-reset: listcount; +} +.imagify-count-list li { + display: flex; + align-items: center; +} +.imagify-count-list li + li { + margin-top: .5em; +} +.imagify-count-list li:before { + display: flex; + flex-basis: 24px; + flex-shrink: 0; + flex-grow: 0; + align-items: center; + justify-content: center; + margin-right: 16px; + border: 2px solid #40b1d0; + width: 24px; + height: 24px; + counter-increment: listcount 1; + content: counter(listcount); + color: #40b1d0; + border-radius: 50%; +} + +/* Table layout */ +.imagify-table { + display: table; + width: 100%; +} +.imagify-cell { + display: table-cell; + padding: 10px; + vertical-align: top; +} +.imagify-cell.va-top, +.va-top .imagify-cell { + vertical-align: top; +} + +.imagify-bulk-submit .imagify-cell { + padding-top: 0; +} + +/* When an "Imagify" modal is open in a page */ +body.imagify-modal-is-open { + overflow: hidden; +} + +/* Loader/Spinner */ +.imagify-spinner { + display: inline-block; + width: 20px; + height: 20px; + margin-right: 5px; + vertical-align: middle; + background: rgba(0, 0, 0, 0) url("../images/spinner.gif") no-repeat scroll 0 0 / 20px 20px; + opacity: 0.7; +} +.spinner.imagify-hidden { + width: 0; + margin: 4px 0 0 0; +} + +/* Some basic colors */ +.imagify-primary.imagify-primary.imagify-primary { + color: #40b1d0; +} +.imagify-secondary.imagify-secondary.imagify-secondary, +.imagify-valid { + color: #8BC34A; +} + +/* Informations in column (media popin, media details) */ +.misc-pub-section.misc-pub-imagify h4 { + font-size: 14px; + margin-top: 5px; + margin-bottom: 0; +} + +/* Doughnut */ +.imagify-chart { + position: relative; + top: 1px; + display: inline-block; + vertical-align: middle; +} +.imagify-chart-container { + position: relative; + display: inline-block; + margin-right: 5px; +} +.imagify-chart-container canvas { + display: block; +} + +/** + * + * == Settings page + * + */ + + +/* Basic HTML elements for Options and Bulk pages */ +.imagify-settings a, +.imagify-settings .button, +.imagify-settings input, +.imagify-welcome a, +.imagify-welcome .button, +.imagify-weolcome input { + -webkit-transition: all .275s; + transition: all .275s; +} +.imagify-settings a { + color: #40b1d0; +} + +.imagify-settings, +.imagify-settings p, +.imagify-settings th { + color: #5F758E; +} + +/* Buttons */ +.imagify-main-content .button, +.imagify-settings-section .button, +.imagify-welcome .button, +.imagify-notice .button, +.imagify-button.imagify-button, +.imagify-button-primary.imagify-button-primary, +.imagify-button-secondary.imagify-button-secondary { + height: auto; + padding: 11px 22px; + border: 0 none; + font-size: 14px; + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.01em; + word-spacing: 0.01em; + box-shadow: 0 3px 0 rgba(0, 0, 0, .15); + border-radius: 3px; + cursor: pointer; + transition: all .275s; +} + +.button-primary.button-mini { + padding: 2px 10px; +} +.imagify-settings .button.button-mini-flat { + padding: 3px 6px 5px; + font-size: 12px; + box-shadow: none!important; + line-height: 1.2; +} +.imagify-settings .button.button-mini-flat:hover, +.imagify-settings .button.button-mini-flat:focus { + box-shadow: none!important; +} + +.imagify-title .button-ghost.button-ghost, +.imagify-button-ghost.imagify-button-ghost { + padding: 2px 9px; + border: 1px solid #40B1D0; + font-size: 12px; + font-weight: normal; + color: #40B1D0; + background: transparent; + box-shadow: none; +} +.imagify-title .button-ghost.button-ghost:hover, +.imagify-title .button-ghost.button-ghost:focus, +.imagify-button-ghost.imagify-button-ghost:hover, +.imagify-button-ghost.imagify-button-ghost:focus { + border-color: transparent; + color: #000; + background: #40B1D0; +} +.imagify-button-ghost.imagify-button-ghost:hover, +.imagify-button-ghost.imagify-button-ghost:focus { + color: #FFF; +} +.imagify-button-medium.imagify-button-medium { + text-transform: uppercase; + letter-spacing: 0.1em; + padding: 3px 10px; + font-weight: bold; +} +.imagify-button-medium.imagify-button-ghost { + border-width: 2px; +} +[class*="imagify-"] .button .dashicons { + margin-right: 5px; + vertical-align: middle; +} + +.imagify-settings .button-primary.button-primary, +.imagify-welcome .button-primary.button-primary, +.imagify-button-primary.imagify-button-primary { + background: #40B1D0; + color: #FFF; + box-shadow: 0 3px 0 rgba(51, 142, 166, 1); + text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799!important; +} +.imagify-button-secondary.imagify-button-secondary { + background: #8BC34A; + color: #FFF; + box-shadow: 0 3px 0 #6F9C3B; + text-shadow: 0 -1px 1px #6F9C3B, 1px 0 1px #6F9C3B, 0 1px 1px #6F9C3B!important; +} +.imagify-settings .button-primary:hover, +.imagify-settings .button-primary:focus, +.imagify-welcome .button-primary:hover, +.imagify-welcome .button-primary:focus, +.imagify-button-primary.imagify-button-primary:hover, +.imagify-button-primary.imagify-button-primary:focus { + background: rgb(51, 142, 166); + box-shadow: 0 3px 0 rgb(31, 122, 146); +} +.imagify-button-secondary.imagify-button-secondary:hover, +.imagify-button-secondary.imagify-button-secondary:focus { + background: #6F9C3B; + color: #FFF; +} + +.imagify-button-light.imagify-button-light { + background: #FFF; + color: #4a4a4a; + box-shadow: 0 2px 0 rgba(0, 0, 0, .2); +} +.imagify-block-secondary .imagify-button-light.imagify-button-light { + color: #6F9C3B; +} +.imagify-button-light.imagify-button-light:hover, +.imagify-button-light.imagify-button-light:focus { + color: #FFF; + background: rgba(0, 0, 0, .2); +} + +/* Buttons clean */ +.button.imagify-button-clean, +.imagify-button-clean { + padding: 0; + background: transparent; + box-shadow: none; +} +.imagify-button-clean .dashicons-plus { + width: 32px; + height: 25px; +} +.imagify-button-clean .dashicons-plus:before { + display: flex; + align-items: center; + justify-content: center; + width: 25px; + height: 22px; + margin-left: 2px; + padding-top: 3px; + font-size: 17px; + background: #40B1D0; + color: #FFF; + transition: all .275s; +} +.button.imagify-button-clean:hover, +.button.imagify-button-clean:focus, +.button.imagify-button-clean:active, +.button.imagify-button-clean[disabled] { + background: transparent!important; + color: #343A49; + box-shadow: none; +} +.button.imagify-button-clean:hover .dashicons-plus:before, +.button.imagify-button-clean:focus .dashicons-plus:before { + background: #343A49; +} + +/* Buttons link-like */ +button.imagify-link-like { + border: 0; + padding: 0; + color: inherit; + text-decoration: underline; + font-size: 13px; + box-shadow: none; + background: transparent; + cursor: pointer; +} + +/* Modifier */ +.imagify-section-positive .imagify-button-light { + color: #709A41; +} +.imagify-button.imagify-button-big { + font-size: 15px; + padding: 11px 30px; +} +.imagify-button-big .dashicons { + font-size: 1.45em; + margin-right: 6px; + margin-left: -4px; +} + +.imagify-settings .button .dashicons, +.imagify-welcome .button .dashicons, +.imagify-notice .button .dashicons, +.imagify-button.imagify-button .dashicons, +.imagify-button-primary.imagify-button-primary .dashicons, +.imagify-button-secondary.imagify-button-secondary .dashicons { + vertical-align: middle; +} + +[class*="imagify-"] .button-text { + display: inline-block; + vertical-align: middle; +} + +/* Exception in Media edition page and post Edition pages (insert media popin) */ +.wp_attachment_image .imagify-button-primary, +.media-frame-content .imagify-button-primary { + padding: 0 10px 1px; + margin: 0 5px 2px 0; + font-size: 13px; + line-height: 26px; + box-shadow: 0 3px 0 rgba(51, 142, 166, 1); +} +.wp_attachment_image .imagify-button-primary { + float: left; +} + +/** + * == Header & Subheader & Sections + * + * (options, Welcome Notice, Bulk) + */ +.imagify-title.imagify-title { + position: relative; + padding: 10px 30px; + font-size: 23px; + background: #1F2332; + color: #FFF; +} +.imagify-welcome .imagify-logo { + opacity: 1; +} +.imagify-welcome .imagify-title { + display: flex; + padding: 20px 30px; +} +.imagify-settings .imagify-title { /* (options and bulk) */ + display: flex; + justify-content: space-between; + align-items: center; +} +.imagify-settings .imagify-logo-block { + display: flex; + align-items: center; + flex-shrink: 0; + flex-grow: 0; + padding: 0; + margin-right: 35px; + color: inherit; +} +.imagify-logo-block sup { + color: #1F2332; +} +.imagify-settings .imagify-title + .imagify-notice { + margin: 0; + border-right: 1px solid #D9D9D9; + padding-top: 15px; + padding-bottom: 15px; +} +.imagify-title .title-text { + font-size: 28px; + font-weight: bold; + color: #FFF; +} +.imagify-lb-icon { + padding-right: 18px; +} +.imagify-lb-text img { + margin-bottom: .15em; +} +.imagify-lb-text { + font-size: 23px; + font-weight: bold; + color: #FFF; +} +.imagify-logo { + display: block; + vertical-align: top; + opacity: .4; +} +.imagify-sub-header, +.imagify-sub-title.imagify-sub-title, /* heavier is better */ +.imagify-settings div.submit, +.imagify-section { + margin: 0; + padding: 20px; + background: #F2F5F7; +} +.imagify-sub-title.imagify-sub-title, +.imagify-section-positive { + padding-left: 40px; +} +.imagify-section-positive { + background: #8cc152; + color: #FFF; +} +.imagify-section-positive p { + color: #FFF +} +.imagify-section-gray { + background: #D9E4EB; +} +.imagify-section-gray .imagify-count-title { + color: #4a4a4a; +} +.imagify-section p:first-child { + margin-top: 0; +} +.imagify-section p:last-child { + margin-bottom: 0; +} + +/* Documentation link */ +.imagify-settings .imagify-documentation-link-box { + display: flex; + padding: 12px 13px 14px; + border: 1px solid #40b1d0; + color: #E5EBEF; + border-radius: 3px; +} +.imagify-documentation-link-icon { + width: 23px; + height: 31px; + font-size: 2.6em; + margin-right: 15px; + line-height: 1.3; +} +.imagify-documentation-link-box span { + font-size: 12px; +} +.imagify-documentation-link-box a { + font-weight: bold; +} + +@media (max-width: 1120px) { + .imagify-settings .imagify-title { + flex-wrap: wrap; + } +} + +.imagify-settings-section { + padding: 10px 20px; +} +.imagify-account-info-col .imagify-settings-section { + padding-right: 0; +} +.imagify-settings-main-content, +.imagify-welcome .imagify-settings-section { + border: 1px solid #D9D9D9; + border-top-width: 0; + background: #FFF; +} + +.imagify-settings-main-content { + padding-bottom: 20px; +} +.imagify-settings-main-content p, +.imagify-settings-main-content .imagify-setting-line { + font-size: 14px; + line-height: 1.5; +} + +.imagify-settings-main-content .code { + max-height: 10em; + padding: 3px 5px 2px 5px; + overflow: auto; + background: #EAEAEA; + background: rgba(0,0,0,.07); +} + +.imagify-settings-main-content + .imagify-settings-main-content { + margin-top: 20px; + border-top-width: 1px; +} + +.imagify-br { + line-height: 2; +} + +/* New to imagify, title */ +p.imagify-section-title.imagify-section-title { + font-size: 20px; + margin-top: -.3em; + margin-bottom: -.6em; +} + +/** + * == Rating (Notice + Settings) + */ +.imagify-rate-us.imagify-rate-us { + text-align: right; + margin: -1em -2.4em -1em 0; + color: #FFF; +} +.imagify-rate-us a { + color: #40B1D0; +} +.imagify-rate-us .stars { + display: inline-block; + margin: 2px 0 0 10px; + text-decoration: none; + letter-spacing: .2em; + vertical-align: -1px; +} +.imagify-rate-us .stars .dashicons:before { + font-size: 18px; +} +.imagify-rate-us a:hover, +.imagify-rate-us a:focus { + color: #FEE102; +} +@media (max-width: 1220px) { + .imagify-rate-us.imagify-rate-us { + position: static; + margin-bottom: 0; + text-align: left; + } + .imagify-rate-us.imagify-rate-us br { + display: none; + } + .imagify-rate-us .stars { + display: block; + margin-left: 0; + } +} + +/** + * == Messages & infos + */ +.imagify-important { + color: #F5A623; +} +.imagify-success, +.imagify-settings .imagify-success { + color: #8BC34A; +} +.imagify-info, +.imagify-info a { + color: #7A8996; + font-size: 12px; +} +.imagify-info { + position: relative; + display: inline-block; + padding-left: 25px; +} +.imagify-info .dashicons { + position: absolute; + left: 0; top: 0; + color: #40B1D0; +} + +/* Custom checkboxes in CSS */ +.imagify-settings.imagify-settings [type="checkbox"]:not(:checked), +.imagify-settings.imagify-settings [type="checkbox"]:checked, +.imagify-checkbox.imagify-checkbox:not(:checked), +.imagify-checkbox.imagify-checkbox:checked { + position: absolute; + opacity: 0.01; +} +.imagify-settings.imagify-settings [type="checkbox"]:not(:checked):focus, +.imagify-settings.imagify-settings [type="checkbox"]:checked:focus, +.imagify-checkbox.imagify-checkbox:not(:checked):focus, +.imagify-checkbox.imagify-checkbox:checked:focus { + box-shadow: none!important; /* system value to override */ + outline: none!important; + border: 0 none!important; +} + +.imagify-settings [type="checkbox"]:not(:checked) + label, +.imagify-settings [type="checkbox"]:checked + label, +.imagify-checkbox.imagify-checkbox:not(:checked) + label, +.imagify-checkbox.imagify-checkbox:checked + label { + position: relative; + display: flex; + align-items: center; + min-height: 24px; + padding-left: 40px; + cursor: pointer; + font-size: 14px; + font-weight: bold; + color: #2E3243; +} + +/* checkbox aspect */ +.imagify-settings [type="checkbox"]:not(:checked) + label:before, +.imagify-settings [type="checkbox"]:checked + label:before, +.imagify-checkbox.imagify-checkbox:not(:checked) + label:before, +.imagify-checkbox.imagify-checkbox:checked + label:before { + content: ''; + position: absolute; + left: 0; top: 0; + width: 22px; height: 22px; + border: 2px solid #8BA6B4; + background: #FFFFFF; + border-radius: 3px; +} +/* checked mark aspect */ +.imagify-settings [type="checkbox"]:not(:checked) + label:after, +.imagify-settings [type="checkbox"]:checked + label:after, +.imagify-checkbox.imagify-checkbox:not(:checked) + label:after, +.imagify-checkbox.imagify-checkbox:checked + label:after { + content: "✓"; + position: absolute; + font-size: 1.4em; + top: -2px; left: 4.5px; + color: #8BA6B4; + font-weight: normal; + -webkit-transition: all .2s; + -moz-transition: all .2s; + -ms-transition: all .2s; + transition: all .2s; +} +/* disabled aspect */ +.imagify-settings [type="checkbox"][disabled]:not(:checked) + label:before, +.imagify-settings [type="checkbox"][disabled]:checked + label:before, +.imagify-checkbox.imagify-checkbox[disabled]:not(:checked) + label:before, +.imagify-checkbox.imagify-checkbox[disabled]:checked + label:before { + border-color: #ccc; + background: #ddd; +} +/* checked mark aspect changes */ +.imagify-settings [type="checkbox"]:not(:checked) + label:after, +.imagify-checkbox.imagify-checkbox:not(:checked) + label:after { + opacity: 0; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} +.imagify-settings [type="checkbox"]:checked + label:after, +.imagify-checkbox.imagify-checkbox:checked + label:after { + opacity: 1; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +/* medium version */ +.medium.imagify-checkbox:not(:checked) + label:before, +.medium.imagify-checkbox:checked + label:before { + width: 22px; + height: 22px; + border-width: 1.5px; + border-radius: 2px; + margin-top: 0; +} +.medium.imagify-checkbox:not(:checked) + label:after, +.medium.imagify-checkbox:checked + label:after { + font-size: 1.1em; + left: -17px; + top: 3px; +} + +/* mini version */ +.imagify-settings .mini[type="checkbox"]:not(:checked) + label:before, +.imagify-settings .mini[type="checkbox"]:checked + label:before, +.mini.imagify-checkbox:not(:checked) + label:before, +.mini.imagify-checkbox:checked + label:before { + width: 15px; + height: 15px; + border-width: 1px; + border-radius: 2px; + margin-top: 0; +} +.imagify-settings .mini[type="checkbox"]:not(:checked) + label:after, +.imagify-settings .mini[type="checkbox"]:checked + label:after, +.mini.imagify-checkbox:not(:checked) + label:after, +.mini.imagify-checkbox:checked + label:after { + font-size: .9em; + left: -21px; + top: -0.5px; +} +/* focus aspect */ +.imagify-settings [type="checkbox"]:not(:checked):focus + label:before, +.imagify-settings [type="checkbox"]:checked:focus + label:before, +.imagify-checkbox.imagify-checkbox:not(:checked):focus + label:before, +.imagify-checkbox.imagify-checkbox:checked:focus + label:before { + border-style: dotted; + border-color: #40b1d0; +} + +/* Checkbox groups */ +.imagify-check-group { + padding-left: 2px; + margin-bottom: 0; +} +.imagify-check-group.imagify-is-scrollable { + height: 15em; + overflow-y: auto; + padding: 8px; + margin: 1.5em 0 0 -8px; + background: #F4F7F9; + border: 1px solid #D2D3D6; + border-radius: 3px; +} +.imagify-is-scrollable legend + p { + margin-top: 0; +} +.imagify-is-scrollable [type="checkbox"]:not(:checked) + label:before, +.imagify-is-scrollable [type="checkbox"]:checked + label:before { + background: #F4F7F9; +} +.imagify-settings .imagify-check-group.imagify-check-group label { + color: #338EA6; + font-weight: 500; +} + +/* Custom radio in CSS */ +.imagify-inline-options { + position: relative; + display: table; + width: 100%; + max-width: 600px; + border-collapse: collapse; +} + +.imagify-inline-options input[type="radio"]:not(:checked), +.imagify-inline-options input[type="radio"]:checked { + position: absolute; + left: 5px; top: 5px; + display: none; +} + +.imagify-inline-options input[type="radio"]:not(:checked) + label, +.imagify-inline-options input[type="radio"]:checked + label { + position: relative; + display: table-cell; + padding: 13px 10px; + text-align: center; + + font-weight: 600; + font-size: 16px; + text-transform: uppercase; + letter-spacing: 0.1em; + color: #FFF; + background: #2E3243; + box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.1) inset; + z-index: 2; + -webkit-transition: all .275s; + transition: all .275s; + cursor: pointer; +} + +.imagify-inline-options input[type="radio"]:not(:checked) + label:first-of-type, +.imagify-inline-options input[type="radio"]:checked + label:first-of-type { + border-radius: 3px 0 0 3px; +} + +.imagify-inline-options input[type="radio"]:not(:checked) + label:last-of-type, +.imagify-inline-options input[type="radio"]:checked + label:last-of-type { + border-radius: 0 3px 3px 0; +} + +.imagify-inline-options input[type="radio"]:checked + label { + background: #8BC34A +} + +.imagify-inline-options input[type="radio"]:disabled + label { + background: #ccc; + color: #999; + cursor:not-allowed; +} + +.imagify-inline-options .imagify-info { + margin-top: 15px; +} + +/** + * Account information columns (Settings & Bulk) + */ +.imagify-col.imagify-col.imagify-account-info-col, +.imagify-account-info-col { + width: 380px; + max-width: 100%; + padding: 0 20px 0 0; +} +.imagify-col.imagify-col.imagify-shared-with-account-col, +.imagify-shared-with-account-col { + width: calc(100% - 380px); + padding: 0; +} + +.imagify-account-info-col .imagify-options-title { + padding: 24px 26px; + color: #FFF; + background: #1F2332; +} +.imagify-block-secondary { + padding: 26px 26px 35px; + border: 1px solid #75A345; + background: #8BC34A; + border-radius: 3px; + color: #FFF; +} +.imagify-block-secondary.imagify-block-secondary p, +.imagify-account-info-col .imagify-block-secondary.imagify-block-secondary h3 { + color: inherit; +} +.imagify-account-info-col .imagify-col-content h3:first-child { + margin-top: 0; +} +.imagify-account-info-col .imagify-col-content h3 { + font-size: 19px; +} +.imagify-account-info-col .imagify-col-content p { + margin: 1.5em 0; +} +.imagify-account-info-col .imagify-col-content p:first-child { + margin-top: 0; +} + +.imagify-user-plan-label { + float: right; + margin-top: -4px; + padding: 2px 10px; + border: 2px solid #40B1D0; + font-size: 14px; + text-transform: uppercase; + letter-spacing: 0.02em; + color: #40B1D0; + border-radius: 3px; +} + +/* Content given after remote answer, avoid "flash" effect on content */ +.imagify-user-plan-label:empty { + display: none; +} + +/** + * == Columns + */ +.imagify-columns { + overflow: hidden; + padding: 15px 0; + counter-reset: cols; +} +.imagify-columns [class^="col-"] { + float: left; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.imagify-columns .col-1-3 { + width: 33.333%; + padding-left: 28px; +} +.imagify-columns .col-2-3 { + width: 66.666%; + padding-left: 28px +} +.imagify-columns .col-1-2 { + width: 50%; + padding: 0 20px; +} + +@media (max-width: 830px) { + .imagify-columns [class^="col-"] { + float: none; + margin-bottom: 1.5em; + } + .imagify-columns .col-1-3, + .imagify-columns .col-1-2 { + width: auto; + padding: 0 28px; + clear: both; + padding-top: 1em; + } +} + +/** + * == Custom column & Metabox + */ +.column-imagify_optimized_file.column-imagify_optimized_file { + width: 300px; + text-align: center; + vertical-align: middle; +} +.column-imagify_optimized_file > * { + max-width: 21em; + margin: 0 auto; +} +@media (min-width: 1151px) and (max-width: 1800px) { + .column-imagify_optimized_file.column-imagify_optimized_file { + width: 21em; + } +} +@media (min-width: 783px) and (max-width: 1150px) { + .column-imagify_optimized_file.column-imagify_optimized_file { + width: 13em; + } + table.media .column-title .has-media-icon ~ .row-actions.row-actions { + margin-left: 0; + } +} +@media (max-width: 782px) { + table.media .column-imagify_optimized_file.column-imagify_optimized_file { + text-align: left; + } + table.media .imagify-datas-more-action, + table.media .imagify-datas-actions-links { + text-align: center; + } + table.media .column-imagify_optimized_file > *, + table.media .column-imagify_optimized_file .imagify-datas-actions-links a { + max-width: 100%; + margin-left: 0; + } +} +@media (min-width: 783px) and (max-width: 1150px), (max-width: 360px) { + table.media .imagify-hide-if-small { + position: absolute; + margin: -1px; + padding: 0; + height: 1px; + width: 1px; + overflow: hidden; + clip: rect(0 0 0 0); + border: 0; + word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ + } +} +.compat-field-imagify .label { + vertical-align: top; +} +.compat-field-imagify ul.imagify-datas-list { + margin-top: 7px; + font-size: 11px; +} +ul.imagify-datas-list.imagify-datas-list { + margin: 0 auto; + color: #555; +} +ul.imagify-datas-list .big { + font-size: 12px; + color: #40B1D0; +} +.imagify-data-item { + overflow: hidden; +} +li.imagify-data-item { + clear: both; + margin-bottom: 2px; +} +ul.imagify-datas-list .imagify-data-item span.data, +ul.imagify-datas-list .imagify-data-item strong { + float: left; + width: 38%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +ul.imagify-datas-list .imagify-data-item span.data { + width: 62%; + padding-right: 5px; + text-align: left; +} +.compat-field-imagify .imagify-datas-list .imagify-data-item .data { + width: 130px; + text-align: left; + font-weight: bold; +} +ul.imagify-datas-list .imagify-data-item strong { + text-align: left; + padding-left: 5px; +} +.media-sidebar .imagify-datas-list .imagify-data-item .data { + width: auto; + float: none; +} +.media-sidebar .imagify-datas-list .imagify-data-item strong { + display: inline-block; + width: auto; + float: none; +} +.media-sidebar .imagify-datas-list .imagify-data-item .imagify-chart { + float: left; +} +.imagify-datas-more-action.imagify-datas-more-action { + margin: .4em auto; + background: linear-gradient(to bottom, transparent, transparent 49%, rgba(0,0,0,.075) 50%, rgba(0,0,0,.075) 58%, transparent 58%, transparent); +} +.imagify-datas-more-action a { + display: inline-block; + padding: 0 5px; + background: #40B1D0; + color: #FFF; + text-transform: uppercase; + font-size: 9px; + font-weight: bold; + line-height: 1.9; + text-decoration: none; +} +.imagify-datas-more-action a.is-open { + background: #555; +} +.imagify-datas-more-action a.is-open .dashicons { + transform: rotate(180deg); +} +.imagify-datas-more-action a .dashicons { + font-size: 14px; + vertical-align: middle; + line-height: .8; +} +.imagify-datas-more-action a .dashicons:before { + vertical-align: middle; + line-height: 20px; +} +.imagify-datas-more-action .the-text { + display: inline-block; + vertical-align: middle; + height: auto; + line-height: inherit; +} + +ul.imagify-datas-details.imagify-datas-details { + margin: .7em auto; +} +.imagify-datas-details strong { + color: #40B1D0; +} +.imagify-datas-details .original { + color: #555; +} + +.imagify-datas-actions-links { + overflow: hidden; + border-top: 2px solid transparent; + padding-top: 5px; + font-size: 11px; +} +.nggform .imagify-datas-actions-links { + position: relative; + z-index: 2; +} +.nggform .row-actions { + z-index: 1; +} +.imagify-datas-actions-links a { + position: relative; + display: inline-block; + padding-left: 17px; + text-decoration: none; + font-weight: 600; +} +.compat-field-imagify .imagify-datas-actions-links { + max-width: 300px; +} +.misc-pub-imagify .imagify-datas-actions-links { + border-top: 2px solid #f2f2f2; + padding-bottom: 5px; +} +/* Library */ +.column-imagify_optimized_file .imagify-datas-actions-links a { + margin: 0 .7em; + padding-left: 15px; +} + +/* Media edition */ +.compat-field-imagify .imagify-datas-actions-links a, +.misc-pub-imagify .imagify-datas-actions-links a { + float: left; + width: 50%; +} +.media-sidebar .compat-field-imagify .imagify-datas-actions-links a, +.submitbox .misc-pub-imagify .imagify-datas-actions-links a { + display: block; + width: auto; + float: none; +} +.media-sidebar .compat-field-imagify .imagify-datas-actions-links br, +.submitbox .misc-pub-imagify .imagify-datas-actions-links br { + display: none; +} +.imagify-datas-actions-links a:only-child { + float: none; + width: auto; +} +.imagify-datas-details.is-open + .imagify-datas-actions-links { + border-top-color: rgba(0,0,0,.075); +} +.imagify-datas-actions-links .dashicons { + position: absolute; + left: 0; top: 4px; + width: 12px; + margin-right: 2px; + font-size: 11px; +} + +/** + * == Bulk page + */ + +.imagify-account, +.imagify-account-link { + padding-right: 15px; +} +.imagify-meteo-icon { + display: inline-block; + height: 38px; + vertical-align: middle; + margin-right: 10px; +} +.imagify-user-plan { + color: #40b1d0; +} + +.imagify-meteo-title.imagify-meteo-title { + color: #FFF; + font-size: 17px; +} +.imagify-space-left > p { + color: #FFF; +} +[class^="imagify-bar-"] { + position: relative; + height: 8px; + width: 100%; + background: #60758D; + color: #FFF; + font-size: 10px; +} + +.imagify-progress { + height: 8px; +} +.imagify-progress { + transition: width .3s; +} +.imagify-bar-positive .imagify-progress { + background: #8CC152; +} +.imagify-bar-positive .imagify-barnb { + color: #8CC152; +} +.imagify-bar-primary .imagify-progress { + background: #40B1D0; +} +.imagify-bar-primary .imagify-barnb { + color: #40B1D0; +} +.imagify-bar-negative .imagify-progress { + background: #D2D3D6; +} +.imagify-bar-negative .imagify-barnb { + color: #7A8996; +} +.imagify-bar-neutral .imagify-progress { + background: #F5A623; +} +.imagify-space-left .imagify-bar-negative .imagify-progress { + background: #C51162; +} + +.imagify-btn-ghost { + display: inline-block; + height: auto; + padding: 7px 10px; + border: 1px solid #FFF; + text-align: center; + background: transparent; + color: #FFF; + border-radius: 3px; + transition: all .275s; +} + +.imagify-btn-ghost:hover, +.imagify-btn-ghost:focus { + background: #FFF; + color: #888; +} + +/* Some Errors */ +.imagify-error { + background: #D0021B; + color: #FFF; +} +.imagify-settings-section .imagify-error { + display: inline-block; + padding: 7px 10px; + margin: 10px 0 0 45px; + border-radius: 3px; +} +.imagify-settings-section .imagify-error code { + font-weight: normal; +} +.imagify-settings-section .imagify-error.hidden { + display: none; +} +.imagify-warning { + background: #f5a623; + color: #FFF; + text-shadow: 0 0 2px rgba(0, 0, 0, 0.2); +} + +/* Imagify Modal (is everywhere) */ +.imagify-modal { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} +.js .imagify-modal { + display: none; + position: fixed; + top: 0; right: 0; bottom: 0; left: 0; + background-color: #1F2332; + background-color: rgba(31,35,50,.95); + z-index: 99999; +} +.imagify-modal-content { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + position: relative; + width: 800px; + max-width: 95%; + max-height: 90vw; + overflow: auto; + padding: 20px 25px; + margin: 1em auto; + background: #FFF; + box-shadow: 1px 1px 4px rgba(0,0,0,.7); + border-radius: 3px; +} +.imagify-modal-loading .imagify-modal-content{ + overflow: hidden; +} +#imagify-visual-comparison .imagify-modal-content, +.imagify-visual-comparison .imagify-modal-content { + max-width: 1400px; + background: transparent; + padding: 5px; + box-shadow: none; + border-radius: 0; +} +.imagify-modal .h2 { + margin: .5em 0; + color: #8ba6b4; + font-weight: normal; + font-size: 24px; + letter-spacing: 0.075em; + text-align: center; +} +.imagify-modal .h3 { + color: #40b1d0; + font-weight: normal; + font-size: 18px; + letter-spacing: 0.075em; + text-align: center; +} +.imagify-modal .close-btn { + display: none; + visibility: hidden; + position: absolute; + right: 20px; top: 20px; + font-size: 1.2em; + border: 0; + background: transparent none; + border-radius: 0; + cursor: pointer; +} +.imagify-modal .close-btn i { + margin-left: -2px; +} +.imagify-modal .close-btn:hover, +.imagify-modal .close-btn:focus { + color: #40b1d0; +} +.js .imagify-modal .close-btn { + display: block; + visibility: visible; + z-index: 12; +} + +/* Attachments specifics */ +.wp_attachment_image #imagify-visual-comparison .imagify-modal-content, +.imagify-visual-comparison .imagify-modal-content { + padding-top: 40px; +} + +/* Col, behavior depending on parent */ +.imagify-col { + float: left; + width: 50%; + box-sizing: border-box; + -webkit-flex-basis: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} +.imagify-col { + padding-right: 20px; +} +.imagify-col + .imagify-col { + padding-right: 0; + padding-left: 20px; +} + +.imagify-col:target { + animation: hello 1s 3 linear backwards; +} + +@keyframes hello { + 0%, 100% { + background: #FFF; + } + 50% { + background: #F4F7F9; + } +} +@media (max-width: 730px) { + .imagify-settings .imagify-documentation-link-box{ + margin-top: 2em; + } +} + +@media (max-width: 782px) { + input[type="radio"], input[type="checkbox"] { + height: 1.5625rem; + width: 1.5625rem; + margin: 1px; + } + [class*="imagify-"] .button-text{ + font-size: 13px; + } + .imagify-account-info-col .imagify-settings-section{ + padding: 0 10px; + } + .imagify-settings-section{ + padding: 10px; + } + .imagify-check-group.imagify-is-scrollable{ + margin: auto; + } + .imagify-settings-section .imagify-col, + .imagify-col.imagify-col.imagify-shared-with-account-col, + .imagify-media-lib-section .imagify-col, + .imagify-custom-folders-section .imagify-col, + .imagify-shared-with-account-col { + width:100%; + float: none; + padding-right: 0; + } + .imagify-col.imagify-col.imagify-account-info-col, + .imagify-media-lib-section .imagify-account-info-col, + .imagify-custom-folders-section .imagify-account-info-col, + .imagify-account-info-col{ + width: 100%; + float: none; + padding-left: 0; + padding-right: 0; + } + .imagify-lb-text{ + font-size: 20px; + } + .imagify-vcenter{ + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -moz-box-direction: normal; + -moz-box-orient: vertical; + align-items: center; + } + .imagify-pr2.imagify-pr2{ + padding-right: 0em; + } +} + +.imagify-upsell { + position:relative; + background: #c51161; + padding: 20px 40px; +} + +.imagify-upsell p { + color: #fff !important; +} + +.imagify-upsell-button { + display: block; + background: #fff; + border-radius: 5px; + color: #c51161 !important; + font-weight: bold; + padding: 10px; + text-align: center; + text-decoration: none; + text-transform: uppercase; +} + +.imagify-upsell-arrow::after { + content: '\2192'; + font-size: large; + margin-left: 5px; + vertical-align: top; +} + +.imagify-upsell-dismiss::before { + position: absolute; + top: 5px; + right: 5px; + content: "\2715"; + color: #2e3243; + font-size: 2em; +} + +.imagify-upsell .imagify-meteo-icon { + filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(104deg) brightness(103%) contrast(103%); +} + +.imagify-original-fize-size { + display: block !important; +} + +.imagify-original-fize-size .value { + padding-left: 15px !important; +} diff --git a/wp/wp-content/plugins/imagify/assets/css/admin.min.css b/wp/wp-content/plugins/imagify/assets/css/admin.min.css new file mode 100644 index 00000000..2de152d1 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/admin.min.css @@ -0,0 +1 @@ +.imagify-flex{display:-webkit-box;display:-ms-flexbox;display:flex}.imagify-vcenter{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-noshrink{-ms-flex-negative:0;flex-shrink:0}.imagify-nogrow{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.imagify-wauto{width:auto}.imagify-hauto{height:auto}.imagify-full-width{width:100%}.imagify-start{float:left}.imagify-end{float:right}.imagify-txt-start.imagify-txt-start.imagify-txt-start{text-align:left}.imagify-txt-center.imagify-txt-center.imagify-txt-center{text-align:center}.imagify-txt-end.imagify-txt-end.imagify-txt-end{text-align:right}.imagify-mt0.imagify-mt0{margin-top:0}.imagify-mt1.imagify-mt1{margin-top:1em}.imagify-mt2.imagify-mt2{margin-top:2em}.imagify-mt3.imagify-mt3{margin-top:3em}.imagify-mb0.imagify-mb0{margin-bottom:0}.imagify-mb1.imagify-mb1{margin-bottom:1em}.imagify-mr1.imagify-mr1{margin-right:1em}.imagify-ml2.imagify-ml2{margin-left:2em}.imagify-mr2.imagify-mr2{margin-right:2em}.imagify-pl0.imagify-pl0.imagify-pl0{padding-left:0}.imagify-pb0.imagify-pb0{padding-bottom:0}.imagify-pr1.imagify-pr1{padding-right:1em}.imagify-pr2.imagify-pr2{padding-right:2em}.imagify-oh{overflow:hidden}.imagify-clear{clear:both}.imagify-clearfix:after,.imagify-inline-options:after,.imagify-settings-main-content:after,.imagify-settings-section:after{content:"";display:table;width:100%;clear:both}.imagify-setting-optim-level .imagify-inline-options:after{display:none}.imagify-divider{height:1px;margin:20px 0;background:#d2d3d6}.imagify-pipe{display:inline-block;margin:0 .75em;vertical-align:middle;height:15px;width:1px;background:#979797}.imagify-h3-like.imagify-h3-like.imagify-h3-like{margin-bottom:0;font-size:19px;font-weight:500;color:#1f2332}.imagify-h4-like.imagify-h4-like.imagify-h4-like{font-size:14px;font-weight:700;color:#2e3243}.imagify-count.imagify-count{counter-reset:num}.imagify-count .imagify-count-title{font-weight:700}.imagify-default-settings{color:#73818c;font-weight:400}.imagify-count .imagify-count-title:before{counter-increment:num 1;content:counter(num) ". "}.imagify-count-list{counter-reset:listcount}.imagify-count-list li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-count-list li+li{margin-top:.5em}.imagify-count-list li:before{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:24px;flex-basis:24px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:16px;border:2px solid #40b1d0;width:24px;height:24px;counter-increment:listcount 1;content:counter(listcount);color:#40b1d0;border-radius:50%}.imagify-table{display:table;width:100%}.imagify-cell{display:table-cell;padding:10px;vertical-align:top}.imagify-cell.va-top,.va-top .imagify-cell{vertical-align:top}.imagify-bulk-submit .imagify-cell{padding-top:0}body.imagify-modal-is-open{overflow:hidden}.imagify-spinner{display:inline-block;width:20px;height:20px;margin-right:5px;vertical-align:middle;background:rgba(0,0,0,0) url("../images/spinner.gif") no-repeat scroll 0 0/20px 20px;opacity:.7}.spinner.imagify-hidden{width:0;margin:4px 0 0 0}.imagify-primary.imagify-primary.imagify-primary{color:#40b1d0}.imagify-secondary.imagify-secondary.imagify-secondary,.imagify-valid{color:#8bc34a}.misc-pub-section.misc-pub-imagify h4{font-size:14px;margin-top:5px;margin-bottom:0}.imagify-chart{position:relative;top:1px;display:inline-block;vertical-align:middle}.imagify-chart-container{position:relative;display:inline-block;margin-right:5px}.imagify-chart-container canvas{display:block}.imagify-settings .button,.imagify-settings a,.imagify-settings input,.imagify-welcome .button,.imagify-welcome a,.imagify-weolcome input{-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-settings a{color:#40b1d0}.imagify-settings,.imagify-settings p,.imagify-settings th{color:#5f758e}.imagify-button-primary.imagify-button-primary,.imagify-button-secondary.imagify-button-secondary,.imagify-button.imagify-button,.imagify-main-content .button,.imagify-notice .button,.imagify-settings-section .button,.imagify-welcome .button{height:auto;padding:11px 22px;border:0 none;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.01em;word-spacing:0.01em;-webkit-box-shadow:0 3px 0 rgba(0,0,0,.15);box-shadow:0 3px 0 rgba(0,0,0,.15);border-radius:3px;cursor:pointer;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.button-primary.button-mini{padding:2px 10px}.imagify-settings .button.button-mini-flat{padding:3px 6px 5px;font-size:12px;-webkit-box-shadow:none!important;box-shadow:none!important;line-height:1.2}.imagify-settings .button.button-mini-flat:focus,.imagify-settings .button.button-mini-flat:hover{-webkit-box-shadow:none!important;box-shadow:none!important}.imagify-button-ghost.imagify-button-ghost,.imagify-title .button-ghost.button-ghost{padding:2px 9px;border:1px solid #40b1d0;font-size:12px;font-weight:400;color:#40b1d0;background:0 0;-webkit-box-shadow:none;box-shadow:none}.imagify-button-ghost.imagify-button-ghost:focus,.imagify-button-ghost.imagify-button-ghost:hover,.imagify-title .button-ghost.button-ghost:focus,.imagify-title .button-ghost.button-ghost:hover{border-color:transparent;color:#000;background:#40b1d0}.imagify-button-ghost.imagify-button-ghost:focus,.imagify-button-ghost.imagify-button-ghost:hover{color:#fff}.imagify-button-medium.imagify-button-medium{text-transform:uppercase;letter-spacing:.1em;padding:3px 10px;font-weight:700}.imagify-button-medium.imagify-button-ghost{border-width:2px}[class*=imagify-] .button .dashicons{margin-right:5px;vertical-align:middle}.imagify-button-primary.imagify-button-primary,.imagify-settings .button-primary.button-primary,.imagify-welcome .button-primary.button-primary{background:#40b1d0;color:#fff;-webkit-box-shadow:0 3px 0 #338ea6;box-shadow:0 3px 0 #338ea6;text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799!important}.imagify-button-secondary.imagify-button-secondary{background:#8bc34a;color:#fff;-webkit-box-shadow:0 3px 0 #6f9c3b;box-shadow:0 3px 0 #6f9c3b;text-shadow:0 -1px 1px #6f9c3b,1px 0 1px #6f9c3b,0 1px 1px #6f9c3b!important}.imagify-button-primary.imagify-button-primary:focus,.imagify-button-primary.imagify-button-primary:hover,.imagify-settings .button-primary:focus,.imagify-settings .button-primary:hover,.imagify-welcome .button-primary:focus,.imagify-welcome .button-primary:hover{background:#338ea6;-webkit-box-shadow:0 3px 0 #1f7a92;box-shadow:0 3px 0 #1f7a92}.imagify-button-secondary.imagify-button-secondary:focus,.imagify-button-secondary.imagify-button-secondary:hover{background:#6f9c3b;color:#fff}.imagify-button-light.imagify-button-light{background:#fff;color:#4a4a4a;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.2);box-shadow:0 2px 0 rgba(0,0,0,.2)}.imagify-block-secondary .imagify-button-light.imagify-button-light{color:#6f9c3b}.imagify-button-light.imagify-button-light:focus,.imagify-button-light.imagify-button-light:hover{color:#fff;background:rgba(0,0,0,.2)}.button.imagify-button-clean,.imagify-button-clean{padding:0;background:0 0;-webkit-box-shadow:none;box-shadow:none}.imagify-button-clean .dashicons-plus{width:32px;height:25px}.imagify-button-clean .dashicons-plus:before{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:25px;height:22px;margin-left:2px;padding-top:3px;font-size:17px;background:#40b1d0;color:#fff;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.button.imagify-button-clean:active,.button.imagify-button-clean:focus,.button.imagify-button-clean:hover,.button.imagify-button-clean[disabled]{background:0 0!important;color:#343a49;-webkit-box-shadow:none;box-shadow:none}.button.imagify-button-clean:focus .dashicons-plus:before,.button.imagify-button-clean:hover .dashicons-plus:before{background:#343a49}button.imagify-link-like{border:0;padding:0;color:inherit;text-decoration:underline;font-size:13px;-webkit-box-shadow:none;box-shadow:none;background:0 0;cursor:pointer}.imagify-section-positive .imagify-button-light{color:#709a41}.imagify-button.imagify-button-big{font-size:15px;padding:11px 30px}.imagify-button-big .dashicons{font-size:1.45em;margin-right:6px;margin-left:-4px}.imagify-button-primary.imagify-button-primary .dashicons,.imagify-button-secondary.imagify-button-secondary .dashicons,.imagify-button.imagify-button .dashicons,.imagify-notice .button .dashicons,.imagify-settings .button .dashicons,.imagify-welcome .button .dashicons{vertical-align:middle}[class*=imagify-] .button-text{display:inline-block;vertical-align:middle}.media-frame-content .imagify-button-primary,.wp_attachment_image .imagify-button-primary{padding:0 10px 1px;margin:0 5px 2px 0;font-size:13px;line-height:26px;-webkit-box-shadow:0 3px 0 #338ea6;box-shadow:0 3px 0 #338ea6}.wp_attachment_image .imagify-button-primary{float:left}.imagify-title.imagify-title{position:relative;padding:10px 30px;font-size:23px;background:#1f2332;color:#fff}.imagify-welcome .imagify-logo{opacity:1}.imagify-welcome .imagify-title{display:-webkit-box;display:-ms-flexbox;display:flex;padding:20px 30px}.imagify-settings .imagify-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-settings .imagify-logo-block{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding:0;margin-right:35px;color:inherit}.imagify-logo-block sup{color:#1f2332}.imagify-settings .imagify-title+.imagify-notice{margin:0;border-right:1px solid #d9d9d9;padding-top:15px;padding-bottom:15px}.imagify-title .title-text{font-size:28px;font-weight:700;color:#fff}.imagify-lb-icon{padding-right:18px}.imagify-lb-text img{margin-bottom:.15em}.imagify-lb-text{font-size:23px;font-weight:700;color:#fff}.imagify-logo{display:block;vertical-align:top;opacity:.4}.imagify-section,.imagify-settings div.submit,.imagify-sub-header,.imagify-sub-title.imagify-sub-title{margin:0;padding:20px;background:#f2f5f7}.imagify-section-positive,.imagify-sub-title.imagify-sub-title{padding-left:40px}.imagify-section-positive{background:#8cc152;color:#fff}.imagify-section-positive p{color:#fff}.imagify-section-gray{background:#d9e4eb}.imagify-section-gray .imagify-count-title{color:#4a4a4a}.imagify-section p:first-child{margin-top:0}.imagify-section p:last-child{margin-bottom:0}.imagify-settings .imagify-documentation-link-box{display:-webkit-box;display:-ms-flexbox;display:flex;padding:12px 13px 14px;border:1px solid #40b1d0;color:#e5ebef;border-radius:3px}.imagify-documentation-link-icon{width:23px;height:31px;font-size:2.6em;margin-right:15px;line-height:1.3}.imagify-documentation-link-box span{font-size:12px}.imagify-documentation-link-box a{font-weight:700}@media (max-width:1120px){.imagify-settings .imagify-title{-ms-flex-wrap:wrap;flex-wrap:wrap}}.imagify-settings-section{padding:10px 20px}.imagify-account-info-col .imagify-settings-section{padding-right:0}.imagify-settings-main-content,.imagify-welcome .imagify-settings-section{border:1px solid #d9d9d9;border-top-width:0;background:#fff}.imagify-settings-main-content{padding-bottom:20px}.imagify-settings-main-content .imagify-setting-line,.imagify-settings-main-content p{font-size:14px;line-height:1.5}.imagify-settings-main-content .code{max-height:10em;padding:3px 5px 2px 5px;overflow:auto;background:#eaeaea;background:rgba(0,0,0,.07)}.imagify-settings-main-content+.imagify-settings-main-content{margin-top:20px;border-top-width:1px}.imagify-br{line-height:2}p.imagify-section-title.imagify-section-title{font-size:20px;margin-top:-.3em;margin-bottom:-.6em}.imagify-rate-us.imagify-rate-us{text-align:right;margin:-1em -2.4em -1em 0;color:#fff}.imagify-rate-us a{color:#40b1d0}.imagify-rate-us .stars{display:inline-block;margin:2px 0 0 10px;text-decoration:none;letter-spacing:.2em;vertical-align:-1px}.imagify-rate-us .stars .dashicons:before{font-size:18px}.imagify-rate-us a:focus,.imagify-rate-us a:hover{color:#fee102}@media (max-width:1220px){.imagify-rate-us.imagify-rate-us{position:static;margin-bottom:0;text-align:left}.imagify-rate-us.imagify-rate-us br{display:none}.imagify-rate-us .stars{display:block;margin-left:0}}.imagify-important{color:#f5a623}.imagify-settings .imagify-success,.imagify-success{color:#8bc34a}.imagify-info,.imagify-info a{color:#7a8996;font-size:12px}.imagify-info{position:relative;display:inline-block;padding-left:25px}.imagify-info .dashicons{position:absolute;left:0;top:0;color:#40b1d0}.imagify-checkbox.imagify-checkbox:checked,.imagify-checkbox.imagify-checkbox:not(:checked),.imagify-settings.imagify-settings [type=checkbox]:checked,.imagify-settings.imagify-settings [type=checkbox]:not(:checked){position:absolute;opacity:.01}.imagify-checkbox.imagify-checkbox:checked:focus,.imagify-checkbox.imagify-checkbox:not(:checked):focus,.imagify-settings.imagify-settings [type=checkbox]:checked:focus,.imagify-settings.imagify-settings [type=checkbox]:not(:checked):focus{-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;border:0 none!important}.imagify-checkbox.imagify-checkbox:checked+label,.imagify-checkbox.imagify-checkbox:not(:checked)+label,.imagify-settings [type=checkbox]:checked+label,.imagify-settings [type=checkbox]:not(:checked)+label{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:24px;padding-left:40px;cursor:pointer;font-size:14px;font-weight:700;color:#2e3243}.imagify-checkbox.imagify-checkbox:checked+label:before,.imagify-checkbox.imagify-checkbox:not(:checked)+label:before,.imagify-settings [type=checkbox]:checked+label:before,.imagify-settings [type=checkbox]:not(:checked)+label:before{content:'';position:absolute;left:0;top:0;width:22px;height:22px;border:2px solid #8ba6b4;background:#fff;border-radius:3px}.imagify-checkbox.imagify-checkbox:checked+label:after,.imagify-checkbox.imagify-checkbox:not(:checked)+label:after,.imagify-settings [type=checkbox]:checked+label:after,.imagify-settings [type=checkbox]:not(:checked)+label:after{content:"✓";position:absolute;font-size:1.4em;top:-2px;left:4.5px;color:#8ba6b4;font-weight:400;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}.imagify-checkbox.imagify-checkbox[disabled]:checked+label:before,.imagify-checkbox.imagify-checkbox[disabled]:not(:checked)+label:before,.imagify-settings [type=checkbox][disabled]:checked+label:before,.imagify-settings [type=checkbox][disabled]:not(:checked)+label:before{border-color:#ccc;background:#ddd}.imagify-checkbox.imagify-checkbox:not(:checked)+label:after,.imagify-settings [type=checkbox]:not(:checked)+label:after{opacity:0;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.imagify-checkbox.imagify-checkbox:checked+label:after,.imagify-settings [type=checkbox]:checked+label:after{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.medium.imagify-checkbox:checked+label:before,.medium.imagify-checkbox:not(:checked)+label:before{width:22px;height:22px;border-width:1.5px;border-radius:2px;margin-top:0}.medium.imagify-checkbox:checked+label:after,.medium.imagify-checkbox:not(:checked)+label:after{font-size:1.1em;left:-17px;top:3px}.imagify-settings .mini[type=checkbox]:checked+label:before,.imagify-settings .mini[type=checkbox]:not(:checked)+label:before,.mini.imagify-checkbox:checked+label:before,.mini.imagify-checkbox:not(:checked)+label:before{width:15px;height:15px;border-width:1px;border-radius:2px;margin-top:0}.imagify-settings .mini[type=checkbox]:checked+label:after,.imagify-settings .mini[type=checkbox]:not(:checked)+label:after,.mini.imagify-checkbox:checked+label:after,.mini.imagify-checkbox:not(:checked)+label:after{font-size:.9em;left:-21px;top:-.5px}.imagify-checkbox.imagify-checkbox:checked:focus+label:before,.imagify-checkbox.imagify-checkbox:not(:checked):focus+label:before,.imagify-settings [type=checkbox]:checked:focus+label:before,.imagify-settings [type=checkbox]:not(:checked):focus+label:before{border-style:dotted;border-color:#40b1d0}.imagify-check-group{padding-left:2px;margin-bottom:0}.imagify-check-group.imagify-is-scrollable{height:15em;overflow-y:auto;padding:8px;margin:1.5em 0 0 -8px;background:#f4f7f9;border:1px solid #d2d3d6;border-radius:3px}.imagify-is-scrollable legend+p{margin-top:0}.imagify-is-scrollable [type=checkbox]:checked+label:before,.imagify-is-scrollable [type=checkbox]:not(:checked)+label:before{background:#f4f7f9}.imagify-settings .imagify-check-group.imagify-check-group label{color:#338ea6;font-weight:500}.imagify-inline-options{position:relative;display:table;width:100%;max-width:600px;border-collapse:collapse}.imagify-inline-options input[type=radio]:checked,.imagify-inline-options input[type=radio]:not(:checked){position:absolute;left:5px;top:5px;display:none}.imagify-inline-options input[type=radio]:checked+label,.imagify-inline-options input[type=radio]:not(:checked)+label{position:relative;display:table-cell;padding:13px 10px;text-align:center;font-weight:600;font-size:16px;text-transform:uppercase;letter-spacing:.1em;color:#fff;background:#2e3243;-webkit-box-shadow:0 -3px 0 rgba(0,0,0,.1) inset;box-shadow:0 -3px 0 rgba(0,0,0,.1) inset;z-index:2;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s;cursor:pointer}.imagify-inline-options input[type=radio]:checked+label:first-of-type,.imagify-inline-options input[type=radio]:not(:checked)+label:first-of-type{border-radius:3px 0 0 3px}.imagify-inline-options input[type=radio]:checked+label:last-of-type,.imagify-inline-options input[type=radio]:not(:checked)+label:last-of-type{border-radius:0 3px 3px 0}.imagify-inline-options input[type=radio]:checked+label{background:#8bc34a}.imagify-inline-options input[type=radio]:disabled+label{background:rgba(46,50,67,.5);cursor:default}.imagify-inline-options .imagify-info{margin-top:15px}.imagify-account-info-col,.imagify-col.imagify-col.imagify-account-info-col{width:380px;max-width:100%;padding:0 20px 0 0}.imagify-col.imagify-col.imagify-shared-with-account-col,.imagify-shared-with-account-col{width:calc(100% - 380px);padding:0}.imagify-account-info-col .imagify-options-title{padding:24px 26px;color:#fff;background:#1f2332}.imagify-block-secondary{padding:26px 26px 35px;border:1px solid #75a345;background:#8bc34a;border-radius:3px;color:#fff}.imagify-account-info-col .imagify-block-secondary.imagify-block-secondary h3,.imagify-block-secondary.imagify-block-secondary p{color:inherit}.imagify-account-info-col .imagify-col-content h3:first-child{margin-top:0}.imagify-account-info-col .imagify-col-content h3{font-size:19px}.imagify-account-info-col .imagify-col-content p{margin:1.5em 0}.imagify-account-info-col .imagify-col-content p:first-child{margin-top:0}.imagify-user-plan-label{float:right;margin-top:-4px;padding:2px 10px;border:2px solid #40b1d0;font-size:14px;text-transform:uppercase;letter-spacing:.02em;color:#40b1d0;border-radius:3px}.imagify-user-plan-label:empty{display:none}.imagify-columns{overflow:hidden;padding:15px 0;counter-reset:cols}.imagify-columns [class^=col-]{float:left;-webkit-box-sizing:border-box;box-sizing:border-box}.imagify-columns .col-1-3{width:33.333%;padding-left:28px}.imagify-columns .col-2-3{width:66.666%;padding-left:28px}.imagify-columns .col-1-2{width:50%;padding:0 20px}@media (max-width:830px){.imagify-columns [class^=col-]{float:none;margin-bottom:1.5em}.imagify-columns .col-1-2,.imagify-columns .col-1-3{width:auto;padding:0 28px;clear:both;padding-top:1em}}.column-imagify_optimized_file.column-imagify_optimized_file{width:300px;text-align:center;vertical-align:middle}.column-imagify_optimized_file>*{max-width:21em;margin:0 auto}@media (min-width:1151px) and (max-width:1800px){.column-imagify_optimized_file.column-imagify_optimized_file{width:21em}}@media (min-width:783px) and (max-width:1150px){.column-imagify_optimized_file.column-imagify_optimized_file{width:13em}table.media .column-title .has-media-icon~.row-actions.row-actions{margin-left:0}}@media (max-width:782px){table.media .column-imagify_optimized_file.column-imagify_optimized_file{text-align:left}table.media .imagify-datas-actions-links,table.media .imagify-datas-more-action{text-align:center}table.media .column-imagify_optimized_file .imagify-datas-actions-links a,table.media .column-imagify_optimized_file>*{max-width:100%;margin-left:0}}@media (min-width:783px) and (max-width:1150px),(max-width:360px){table.media .imagify-hide-if-small{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}}.compat-field-imagify .label{vertical-align:top}.compat-field-imagify ul.imagify-datas-list{margin-top:7px;font-size:11px}ul.imagify-datas-list.imagify-datas-list{margin:0 auto;color:#555}ul.imagify-datas-list .big{font-size:12px;color:#40b1d0}.imagify-data-item{overflow:hidden}li.imagify-data-item{clear:both;margin-bottom:2px}ul.imagify-datas-list .imagify-data-item span.data,ul.imagify-datas-list .imagify-data-item strong{float:left;width:38%;-webkit-box-sizing:border-box;box-sizing:border-box}ul.imagify-datas-list .imagify-data-item span.data{width:62%;padding-right:5px;text-align:left}.compat-field-imagify .imagify-datas-list .imagify-data-item .data{width:130px;text-align:left;font-weight:700}ul.imagify-datas-list .imagify-data-item strong{text-align:left;padding-left:5px}.media-sidebar .imagify-datas-list .imagify-data-item .data{width:auto;float:none}.media-sidebar .imagify-datas-list .imagify-data-item strong{display:inline-block;width:auto;float:none}.media-sidebar .imagify-datas-list .imagify-data-item .imagify-chart{float:left}.imagify-datas-more-action.imagify-datas-more-action{margin:.4em auto;background:-webkit-gradient(linear,left top,left bottom,from(transparent),color-stop(49%,transparent),color-stop(50%,rgba(0,0,0,.075)),color-stop(58%,rgba(0,0,0,.075)),color-stop(58%,transparent),to(transparent));background:-o-linear-gradient(top,transparent,transparent 49%,rgba(0,0,0,.075) 50%,rgba(0,0,0,.075) 58%,transparent 58%,transparent);background:linear-gradient(to bottom,transparent,transparent 49%,rgba(0,0,0,.075) 50%,rgba(0,0,0,.075) 58%,transparent 58%,transparent)}.imagify-datas-more-action a{display:inline-block;padding:0 5px;background:#40b1d0;color:#fff;text-transform:uppercase;font-size:9px;font-weight:700;line-height:1.9;text-decoration:none}.imagify-datas-more-action a.is-open{background:#555}.imagify-datas-more-action a.is-open .dashicons{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.imagify-datas-more-action a .dashicons{font-size:14px;vertical-align:middle;line-height:.8}.imagify-datas-more-action a .dashicons:before{vertical-align:middle;line-height:20px}.imagify-datas-more-action .the-text{display:inline-block;vertical-align:middle;height:auto;line-height:inherit}ul.imagify-datas-details.imagify-datas-details{margin:.7em auto}.imagify-datas-details strong{color:#40b1d0}.imagify-datas-details .original{color:#555}.imagify-datas-actions-links{overflow:hidden;border-top:2px solid transparent;padding-top:5px;font-size:11px}.nggform .imagify-datas-actions-links{position:relative;z-index:2}.nggform .row-actions{z-index:1}.imagify-datas-actions-links a{position:relative;display:inline-block;padding-left:17px;text-decoration:none;font-weight:600}.compat-field-imagify .imagify-datas-actions-links{max-width:300px}.misc-pub-imagify .imagify-datas-actions-links{border-top:2px solid #f2f2f2;padding-bottom:5px}.column-imagify_optimized_file .imagify-datas-actions-links a{margin:0 .7em;padding-left:15px}.compat-field-imagify .imagify-datas-actions-links a,.misc-pub-imagify .imagify-datas-actions-links a{float:left;width:50%}.media-sidebar .compat-field-imagify .imagify-datas-actions-links a,.submitbox .misc-pub-imagify .imagify-datas-actions-links a{display:block;width:auto;float:none}.media-sidebar .compat-field-imagify .imagify-datas-actions-links br,.submitbox .misc-pub-imagify .imagify-datas-actions-links br{display:none}.imagify-datas-actions-links a:only-child{float:none;width:auto}.imagify-datas-details.is-open+.imagify-datas-actions-links{border-top-color:rgba(0,0,0,.075)}.imagify-datas-actions-links .dashicons{position:absolute;left:0;top:4px;width:12px;margin-right:2px;font-size:11px}.imagify-account,.imagify-account-link{padding-right:15px}.imagify-meteo-icon{display:inline-block;height:38px;vertical-align:middle;margin-right:10px}.imagify-user-plan{color:#40b1d0}.imagify-meteo-title.imagify-meteo-title{color:#fff;font-size:17px}.imagify-space-left>p{color:#fff}[class^=imagify-bar-]{position:relative;height:8px;width:100%;background:#60758d;color:#fff;font-size:10px}.imagify-progress{height:8px}.imagify-progress{-webkit-transition:width .3s;-o-transition:width .3s;transition:width .3s}.imagify-bar-positive .imagify-progress{background:#8cc152}.imagify-bar-positive .imagify-barnb{color:#8cc152}.imagify-bar-primary .imagify-progress{background:#40b1d0}.imagify-bar-primary .imagify-barnb{color:#40b1d0}.imagify-bar-negative .imagify-progress{background:#d2d3d6}.imagify-bar-negative .imagify-barnb{color:#7a8996}.imagify-bar-neutral .imagify-progress{background:#f5a623}.imagify-space-left .imagify-bar-negative .imagify-progress{background:#c51162}.imagify-btn-ghost{display:inline-block;height:auto;padding:7px 10px;border:1px solid #fff;text-align:center;background:0 0;color:#fff;border-radius:3px;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-btn-ghost:focus,.imagify-btn-ghost:hover{background:#fff;color:#888}.imagify-error{background:#d0021b;color:#fff}.imagify-settings-section .imagify-error{display:inline-block;padding:7px 10px;margin:10px 0 0 45px;border-radius:3px}.imagify-settings-section .imagify-error code{font-weight:400}.imagify-settings-section .imagify-error.hidden{display:none}.imagify-warning{background:#f5a623;color:#fff;text-shadow:0 0 2px rgba(0,0,0,.2)}.imagify-modal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.js .imagify-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#1f2332;background-color:rgba(31,35,50,.95);z-index:99999}.imagify-modal-content{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;width:800px;max-width:95%;max-height:90vw;overflow:auto;padding:20px 25px;margin:1em auto;background:#fff;-webkit-box-shadow:1px 1px 4px rgba(0,0,0,.7);box-shadow:1px 1px 4px rgba(0,0,0,.7);border-radius:3px}.imagify-modal-loading .imagify-modal-content{overflow:hidden}#imagify-visual-comparison .imagify-modal-content,.imagify-visual-comparison .imagify-modal-content{max-width:1400px;background:0 0;padding:5px;-webkit-box-shadow:none;box-shadow:none;border-radius:0}.imagify-modal .h2{margin:.5em 0;color:#8ba6b4;font-weight:400;font-size:24px;letter-spacing:.075em;text-align:center}.imagify-modal .h3{color:#40b1d0;font-weight:400;font-size:18px;letter-spacing:.075em;text-align:center}.imagify-modal .close-btn{display:none;visibility:hidden;position:absolute;right:20px;top:20px;font-size:1.2em;border:0;background:transparent none;border-radius:0;cursor:pointer}.imagify-modal .close-btn i{margin-left:-2px}.imagify-modal .close-btn:focus,.imagify-modal .close-btn:hover{color:#40b1d0}.js .imagify-modal .close-btn{display:block;visibility:visible;z-index:12}.imagify-visual-comparison .imagify-modal-content,.wp_attachment_image #imagify-visual-comparison .imagify-modal-content{padding-top:40px}.imagify-col{float:left;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-preferred-size:50%;flex-basis:50%}.imagify-col{padding-right:20px}.imagify-col+.imagify-col{padding-right:0;padding-left:20px}.imagify-col:target{-webkit-animation:hello 1s 3 linear backwards;animation:hello 1s 3 linear backwards}@-webkit-keyframes hello{0%,100%{background:#fff}50%{background:#f4f7f9}}@keyframes hello{0%,100%{background:#fff}50%{background:#f4f7f9}}@media (max-width:730px){.imagify-settings .imagify-documentation-link-box{margin-top:2em}}@media (max-width:782px){input[type=checkbox],input[type=radio]{height:1.5625rem;width:1.5625rem;margin:1px}[class*=imagify-] .button-text{font-size:13px}.imagify-account-info-col .imagify-settings-section{padding:0 10px}.imagify-settings-section{padding:10px}.imagify-check-group.imagify-is-scrollable{margin:auto}.imagify-col.imagify-col.imagify-shared-with-account-col,.imagify-custom-folders-section .imagify-col,.imagify-media-lib-section .imagify-col,.imagify-settings-section .imagify-col,.imagify-shared-with-account-col{width:100%;float:none;padding-right:0}.imagify-account-info-col,.imagify-col.imagify-col.imagify-account-info-col,.imagify-custom-folders-section .imagify-account-info-col,.imagify-media-lib-section .imagify-account-info-col{width:100%;float:none;padding-left:0;padding-right:0}.imagify-lb-text{font-size:20px}.imagify-vcenter{-ms-flex-direction:column;flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-pr2.imagify-pr2{padding-right:0}}.imagify-upsell{position:relative;background:#c51161;padding:20px 40px}.imagify-upsell p{color:#fff!important}.imagify-upsell-button{display:block;background:#fff;border-radius:5px;color:#c51161!important;font-weight:700;padding:10px;text-align:center;text-decoration:none;text-transform:uppercase}.imagify-upsell-arrow::after{content:'\2192';font-size:large;margin-left:5px;vertical-align:top}.imagify-upsell-dismiss::before{position:absolute;top:5px;right:5px;content:"\2715";color:#2e3243;font-size:2em}.imagify-upsell .imagify-meteo-icon{-webkit-filter:invert(100%) sepia(100%) saturate(0%) hue-rotate(104deg) brightness(103%) contrast(103%);filter:invert(100%) sepia(100%) saturate(0%) hue-rotate(104deg) brightness(103%) contrast(103%)}.imagify-original-fize-size{display:block!important}.imagify-original-fize-size .value{padding-left:15px!important} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/bulk.css b/wp/wp-content/plugins/imagify/assets/css/bulk.css new file mode 100644 index 00000000..cf368518 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/bulk.css @@ -0,0 +1,1306 @@ +/* Doughnut legend */ +#imagify-overview-chart-legend { + overflow: hidden; +} + +.imagify-doughnut-legend { + margin-top: 38px; + list-style: none; +} + +.imagify-doughnut-legend li { + display: block; + padding-left: 30px; + position: relative; + margin-bottom: 15px; + border-radius: 5px; + padding: 3px 8px 2px 31px; + font-size: 13px; + cursor: default; + -webkit-transition: background-color 200ms ease-in-out; + -moz-transition: background-color 200ms ease-in-out; + -o-transition: background-color 200ms ease-in-out; + transition: background-color 200ms ease-in-out; +} + +.imagify-doughnut-legend li span { + display: block; + position: absolute; + left: 0; + top: 0; + width: 25px; + height: 25px; + border-radius: 50%; +} + +.imagify-global-optim-phrase { + width: 180px; + padding-top: 20px; + font-size: 14px; + text-align: center; +} + +.imagify-total-percent { + color: #46b1ce; +} + +.imagify-overview-chart-container { + float: left; + margin-right: 20px; +} + +.imagify-chart-percent { + position: absolute; + left: 0; + right: 0; + top: 50%; + margin-top: -.5em; + line-height: 1; + text-align: center; + font-size: 55px; + font-weight: bold; + color: #46B1CE; +} + +.imagify-chart-percent span { + font-size: 20px; + vertical-align: super; +} + +.media_page_imagify-bulk-optimization .media-item, +body[class*="_imagify-ngg-bulk-optimization"] .media-item { + margin: 0; +} + +.media_page_imagify-bulk-optimization .media-item .progress, +body[class*="_imagify-ngg-bulk-optimization"] .media-item .progress { + float: none; + width: 100%; + height: 8px; + margin: 0; + overflow: visible; + background: #1F2331; + box-shadow: 0; + border-radius: 0; +} + +.media_page_imagify-bulk-optimization .media-item .percent, +body[class*="_imagify-ngg-bulk-optimization"] .media-item .percent { + position: absolute; + top: 6px; + right: -28px; + text-shadow: none; + width: auto; + padding: 0 5px; + line-height: 1.85; + font-size: 14px; + font-weight: bold; + color: #40B1D0; +} + +.media_page_imagify-bulk-optimization .media-item .progress, +.media_page_imagify-bulk-optimization .media-item .percent, +body[class*="_imagify-ngg-bulk-optimization"] .media-item .progress, +body[class*="_imagify-ngg-bulk-optimization"] .media-item .percent { + text-align: right; +} + +.media_page_imagify-bulk-optimization .media-item .progress .bar, +body[class*="_imagify-ngg-bulk-optimization"] .media-item .progress .bar { + position: relative; + width: 1px; + height: 8px; + margin-top: 0; + background: #46B1CE; + border-radius: 0; + -webkit-transition: width .5s; + transition: width .5s; +} + +#imagify-bulk-action { + padding: 11px 20px; +} + +/* Bulk overview columns */ +.imagify-columns .col-overview.col-overview { + width: calc(100% - 465px); + padding-left: 20px; +} + +.imagify-columns .col-statistics.col-statistics { + width: 60%; +} + +.imagify-columns .col-chart.col-chart { + width: 40%; +} + +@media (max-width: 1520px) and (min-width: 1381px), (max-width: 1086px) { + .imagify-columns .col-statistics.col-statistics, + .imagify-columns .col-chart.col-chart { + width: 50%; + } +} + +@media (max-width: 1380px) and (min-width: 1246px), (max-width: 380px) { + .imagify-overview-chart-container { + float: none; + margin-right: 0; + } + + .imagify-doughnut-legend { + margin-top: 18px; + } + + .imagify-global-optim-phrase { + padding-top: 0; + width: auto; + } +} + +@media (max-width: 808px) { + .imagify-columns .col-statistics.col-statistics, + .imagify-columns .col-chart.col-chart { + width: auto; + float: none; + padding: 0; + } + + .imagify-columns .col-chart.col-chart { + margin-top: 3em; + } +} + +/* Header */ +.imagify-sep-v { + width: 1px; + background: rgba(255, 255, 255, .2); +} + +.base-transparent { + background: transparent; +} + +[class^="imagify-bar-"].right-outside-number { + -webkit-box-sizing: border-box; + box-sizing: border-box; + padding-right: 4.5em; +} + +.right-outside-number .imagify-barnb { + display: block; + margin-right: -5.25em; + text-align: right; + font-weight: bold; + line-height: .8; +} + +.imagify-h2-like { + margin: 0 0 .5em 0; + padding-bottom: .5em; + border-bottom: 1px solid #E9EFF2; + font-size: 24px; + color: #000; + font-weight: bold; +} + +.imagify-h2-like .dashicons, +.imagify-h2-like .dashicons:before { + font-size: 38px; + height: 38px; + width: 38px; + margin-right: 12px; + vertical-align: -5px; + color: #40B1D0; +} + +.imagify-info-block { + position: relative; + padding: 10px; + padding-left: 42px; + background: #D9E4EB; + border-radius: 4px; + line-height: 1.6; +} + +.imagify-list-infos { + margin: 0; + padding: 0; +} + +.imagify-list-infos li { + display: flex; + align-items: center; + padding: 15px 5px; + text-align: left; + font-size: 14px; + line-height: 1.5; + color: #626E7B; +} + +.imagify-list-infos li:first-child { + padding-top: 5px; +} + +.imagify-list-infos li:last-child { + padding-bottom: 5px; +} + +.imagify-list-infos li + li { + border-top: 1px solid #E9EFF2; +} + +.imagify-info-icon { + flex-grow: 0; + flex-basis: 50px; +} + +.imagify-info-icon + span { + padding-left: 20px; +} + +.imagify-list-infos a:before { + content: ''; + display: block; +} + +/* Some main sections/content */ +.imagify-bulk .imagify-settings-section { + border: 1px solid #D9D9D9; + border-top: 0; + background: #FFF; + color: #4A4A4A; +} + +.imagify-bulk p, +.imagify-bulk li, +.imagify-bulk h3 { + color: #4A4A4A; +} + +.imagify-bulk .imagify-settings-section h3 { + margin-bottom: 2em; +} + +/* Account information col */ +.imagify-account-info-col .imagify-options-title { + display: flex; + align-items: center; +} + +.imagify-account-info-col p.imagify-meteo-title { + margin: 0; + font-size: 24px; + font-weight: bold; + color: #FFF; +} + +.imagify-account-info-col .imagify-options-title > a { + flex-basis: 100px; + margin-left: auto; + margin-right: 10px; + text-decoration: underline; + font-size: 12px; +} + +.imagify-account-info-col .imagify-meteo-title .dashicons, +.imagify-account-info-col .imagify-meteo-title .dashicons:before { + font-size: 38px; + width: 38px; + height: 38px; + margin-right: 4px; + color: #40B1D0; +} + +.imagify-col-content .imagify-block-secondary { + margin-left: -1px; + margin-right: -1px; +} + +.imagify-col-content .imagify-space-left { + margin: 15px 30px 15px 0; +} + +.imagify-col-content .imagify-space-left p { + margin: 0 0 10px 0; + font-size: 19px; + font-weight: 500; + color: #343A49; +} + +.imagify-col-content .imagify-meteo-icon { + height: 64px; + margin: 15px 15px 15px 0; +} + +.imagify-col-content .imagify-section-title + p { + margin-top: 10px; +} + +.imagify-account-info-col .imagify-h3-like.imagify-h3-like { + color: inherit; +} + +/* Tooltips */ +.imagify-title .imagify-tooltips { + position: absolute; + top: 100%; + left: 0; +} + +.imagify-tooltips .icon-round { + float: left; + display: inline-block; + width: 28px; + height: 28px; + border: 1px solid #FFF; + margin-right: 8px; + margin-bottom: 8px; + font-size: 17px; + font-style: italic; + line-height: 29px; + font-weight: bold; + text-align: center; + border-radius: 50%; +} + +.imagify-tooltips .tooltip-content { + display: block; + position: relative; + max-width: 250px; + padding: 7px 15px 8px; + background: #2e3242; + color: #FFF; + font-size: 10px; + border-radius: 3px; +} + +.imagify-tooltips.right .tooltip-content { + margin-left: 12px; +} + +.imagify-tooltips.bottom .tooltip-content { + margin-top: 4px; +} + +.imagify-inline-options label .tooltip-content { + position: absolute; + left: 0; + right: 0; + top: 100%; + text-transform: none; + font-size: 10px; + letter-spacing: 0; + text-align: center; +} + +.imagify-tooltips .tooltip-content:after { + content: ""; + position: absolute; +} + +.imagify-tooltips.right .tooltip-content:after { + top: 16px; + left: -6px; + border-right: 8px solid #2e3242; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; +} + +.imagify-tooltips.bottom .tooltip-content:after { + top: -5px; + left: 50%; + margin-left: -3px; + border-bottom: 6px solid #2e3242; + border-left: 6px solid transparent; + border-right: 6px solid transparent; +} + +.imagify-space-tooltips .tooltip-content { + max-width: 280px; + margin-top: 20px; + margin-left: 0; + padding: 5px 15px 5px; + font-size: 13px; + background: #40B1D0; + box-shadow: 0 3px 0 #338EA6; +} + +.imagify-space-tooltips .tooltip-content:after { + top: -14px; + left: 50%; + margin-left: -7px; + border: 0 none; + border-bottom: 15px solid #40B1D0; + border-left: 15px solid transparent; + border-right: 15px solid transparent; +} + +.tooltip-content.tooltip-table { + display: table; + width: 100%; +} + +.tooltip-content.tooltip-table > * { + display: table-cell; + vertical-align: middle; +} + +.tooltip-content .cell-icon { + width: 28px; +} + +.tooltip-content .cell-icon .icon { + margin-bottom: 0; +} + +.tooltip-content .cell-text { + padding: 5px 10px 5px 0; + line-height: 1.3; +} + +.tooltip-content .cell-sep { + width: 1px; + background: rgba(255, 255, 255, .4); +} + +.tooltip-content .cell-cta { + padding-left: 10px; +} + +.tooltip-content .cell-cta a { + display: block; + color: #FFF; + width: 100%; + height: 100%; + white-space: nowrap; +} + +/* Number display */ +.imagify-number-you-optimized { + margin-bottom: 1.35em; + overflow: hidden; +} + +.imagify-number-you-optimized .number { + display: table-cell; + padding-right: 15px; + font-size: 48px; + font-weight: bold; + line-height: 1; + vertical-align: middle; + white-space: nowrap; + color: #000; +} + +.imagify-number-you-optimized [id="imagify-total-optimized-attachments-pct"] { + color: #40B1D0; +} + +.imagify-number-you-optimized .text { + display: table-cell; + vertical-align: middle; + overflow: hidden; + font-size: 12px; + color: #626E7B; +} + +.imagify-number-you-optimized > p { + display: table; +} + +/* Number and bars */ +.imagify-bars { + padding-right: 15px; +} + +.imagify-bars p { + font-size: 12px; + margin-bottom: 5px; +} + +.imagify-bars + .imagify-number-you-optimized { + border-bottom: 0; + padding-top: 0.85em; +} + +.imagify-bars + .imagify-number-you-optimized p { + color: #46b1ce; +} + +/* Table */ +.imagify-bulk-table { + margin-top: 2em; +} + +.imagify-table-header { + justify-content: space-between; + padding: 15px 25px; + background: #343A49; + color: #FFF; +} + +.imagify-newbie { + margin-top: 4em; + position: relative; + overflow: visible; +} + +.imagify-newbie .imagify-new-feature.imagify-new-feature { + position: absolute; + top: 0; + left: 25px; + transform: translateY(-50%); + margin: 0; + padding: 8px 20px; + font-size: 14px; + letter-spacing: .02em; + text-transform: uppercase; + font-weight: bold; + color: #FFF; + background: #8BC34A; +} + +.imagify-newbie .imagify-table-header { + padding: 30px 25px; + border: 2px solid #8BC34A; + background: #F3F9EC; +} + +.imagify-th-titles .dashicons, +.imagify-th-titles .dashicons:before { + width: 38px; + height: 38px; + margin-right: 20px; + font-size: 38px; + color: #40B1D0; +} + +.imagify-newbie .imagify-th-titles .dashicons:before { + color: #8BC34A; +} + +.imagify-th-title.imagify-th-title.imagify-th-title { + margin: 0; + font-size: 24px; + font-weight: 500; + color: #FFF; +} + +.imagify-newbie .imagify-th-title.imagify-th-title { + color: #343A49; +} + +.imagify-th-subtitle.imagify-th-subtitle.imagify-th-subtitle { + margin: 0 0 5px; + font-size: 14px; + color: #7A8996; + font-weight: 500; +} + +.imagify-th-action .imagify-button-clean { + font-size: 12px; + color: #7A8996; +} + +.imagify-th-action .imagify-is-active { + color: #FFF; +} + +.imagify-th-action .button:hover, +.imagify-th-action .button:focus { + color: #FFF; +} + +.imagify-bulk-table table { + width: 100%; + border-spacing: 0; + border-collapse: collapse; +} + +.imagify-bulk-table td { + padding: 20px; +} + +.imagify-bulk-table-details { + border-bottom: 2px solid #E5EBEF; +} + +.imagify-bulk-table-details thead tr, +.imagify-bulk-table-details thead th { + background: #4A5362; +} + +.imagify-bulk-table-details thead th { + padding: 12px 20px; + text-align: left; + font-weight: bold; + color: #E5EBEF; + font-size: 12px; +} + +.imagify-bulk-table-details tbody tr:nth-child(odd) td { + background: #F2F5F7; +} + +.imagify-bulk-table-content { + border: 1px solid #D3D3D3; + border-top: 0; +} + +.imagify-bulk-table-footer { + padding: 20px; + color: #626E7B; + background: #F2F5F7; +} + +.imagify-bulk-table tbody tr + tr { + border-top: 3px solid #F2F5F7; +} + +.imagify-bulk-table tbody tr, +.imagify-bulk-table tbody td { + background: #FFF; +} + +@media (max-width: 782px) { + .imagify-row-folder-type, + tr.imagify-row-working, + tr.imagify-row-waiting { + padding-top: 20px; + } +} + +.imagify-bulk-table .imagify-row-progress { + display: none; + height: 8px; + padding: 0; +} + +.imagify-bulk-table .imagify-no-uploaded-yet td { + height: 200px; + font-size: 17px; + letter-spacing: .1em; + word-spacing: .12em; + vertical-align: middle; + text-transform: uppercase; + font-weight: bold; + text-align: center; + color: #999; + background-color: #FFF; +} + +/* Custom Level Optimization Select */ +.imagify-selector { + position: relative; +} + +.imagify-selector-list { + background: #FFF; + border: 1px solid #F4F7F9; + box-shadow: 0 6px 12px rgba(0, 0, 0, .1); + border-radius: 3px; + font-weight: bold; + text-transform: uppercase; + letter-spacing: .02em; +} + +.imagify-selector-list li:first-child label { + border-radius: 3px 3px 0 0; +} + +.imagify-selector-list li:last-child label { + border-radius: 0 0 3px 3px; +} + +.imagify-selector-list li { + margin: 0; +} + +.imagify-selector-list li + li { + border-top: 1px solid #F4F7F9; +} + +.imagify-selector-list svg { + margin-right: 5px; +} + +.imagify-selector-list input:checked + label, +.imagify-selector-list .imagify-selector-current-value label { + background: #343A49; + color: #FFF; +} + +.imagify-selector-list input:checked + label:hover, +.imagify-selector-list .imagify-selector-current-value label:hover, +.imagify-selector-list label:hover, +.imagify-selector-list input:focus + label, +.imagify-selector-list .imagify-selector-current-value input:focus + label { + background: #40B1D0; + color: #F4F7F9; +} + +.imagify-selector-list input:checked + label:hover polygon, +.imagify-selector-list .imagify-selector-current-value label:hover polygon, +.imagify-selector-list label:hover polygon, +.imagify-selector-list input:focus + label polygon, +.imagify-selector-list .imagify-selector-current-value input:focus + label polygon { + fill: #FFF; +} + +.imagify-selector-list input:checked + label:hover polygon[fill="#CCD1D6"], +.imagify-selector-list .imagify-selector-current-value label:hover polygon[fill="#CCD1D6"], +.imagify-selector-list label:hover polygon[fill="#CCD1D6"], +.imagify-selector-list input:focus + label polygon[fill="#CCD1D6"], +.imagify-selector-list .imagify-selector-current-value input:focus + label polygon[fill="#CCD1D6"] { + fill: #3694AE; +} + +.imagify-selector-list li label { + display: block; + padding: 10px; + transition: all .275s; +} + +.imagify-selector-list polygon { + transition: all .275s; +} + +.imagify-selector-list { + position: absolute; + top: 0; + left: 0; + right: 0; + transition: all .275s; + transform: translateY(-50%); +} + +.imagify-selector-list[aria-hidden="true"] { + opacity: 0; + visibility: hidden; + transform: translateY(-50%) scale(0); +} + +.imagify-selector-list[aria-hidden="false"] { + opacity: 1; + visibility: visible; + transform: translateY(-50%) scale(1); +} + +.button .imagify-selector-current-value-info { + position: relative; + padding-right: 20px; +} + +.button .imagify-selector-current-value-info:after { + content: ''; + position: absolute; + right: 0; + top: 50%; + margin-top: -3px; + border-top: 6px solid #7A8996; + border-left: 6px solid transparent; + border-right: 6px solid transparent; +} + +/* Complete row / success */ +.imagify-row-complete { + margin-top: 2em; + color: #FFF; + text-shadow: 0 0 2px rgba(0, 0, 0, .1); +} + +.imagify-row-complete .imagify-ac-chart { + margin-top: 3px; +} + +.imagify-row-complete.imagify-row-complete p { + color: #FFF; + margin: 0; +} + +@-webkit-keyframes congrate { + 0% { + opacity: 0; + -webkit-transform: scale(1); + } + 50% { + -webkit-transform: scale(1.05); + opacity: 1; + } + 100% { + -webkit-transform: scale(1); + opacity: 1; + } +} + +@keyframes congrate { + 0% { + opacity: 0; + transform: scale(1); + } + 50% { + transform: scale(1.05); + opacity: 1; + } + 100% { + transform: scale(1); + opacity: 1; + } +} + +.imagify-row-complete.done { + -webkit-animation: congrate 500ms ease-in-out; + animation: congrate 500ms ease-in-out; +} + +.imagify-all-complete { + display: flex; + justify-content: space-between; + margin: 1.5em 0; +} + +.imagify-ac-report { + display: flex; + justify-content: center; + align-items: center; + flex: auto; + padding: 35px 20px; + background: #8BC34A; + min-width: 310px; +} + +.imagify-ac-chart { + width: 46px; + height: 46px; + float: left; + margin: 0 20px 0 10px; +} + +.imagify-ac-report-text { + overflow: hidden; +} + +.imagify-ac-report-text p { + line-height: 1.3; +} + +.imagify-ac-rt-big { + font-weight: bold; + font-size: 24px; + letter-spacing: 0.15em; + word-spacing: 0.15em; + text-transform: uppercase; +} + +.imagify-ac-spread-word, .imagify-ac-leave-review { + flex: auto; + padding: 35px 20px; + background: #343A49; +} + +.imagify-ac-spread-word h3 { + color: #fff; + text-transform: uppercase; +} + +.imagify-ac-spread-word .stars { + text-decoration: none; +} + +.imagify-ac-leave-review { + display: flex; + justify-content: center; + align-items: center; +} + +/* TD's width */ +.imagify-cell-checkbox { + width: 35px; +} + +.imagify-cell-checkbox p { + margin: 0; +} + +.imagify-cell-checkbox-loader { + display: block; + width: 27px; + height: 28px; + line-height: 0; + animation: loading 4s infinite linear; +} + +@keyframes loading { + 0% { + transform: rotate(0); + } + 100% { + transform: rotate(360deg); + } +} + +.imagify-cell-checkbox-loader.hidden { + display: none; + animation: none; +} + +.imagify-cell-title label, +.imagify-cell-label { + font-size: 14px; + text-transform: uppercase; + letter-spacing: .02em; + font-weight: bold; +} + +.imagify-cell-label { + margin-right: 10px; +} + +.imagify-cell-value { + font-size: 12px; + font-weight: 500; + color: #7A8996; +} + +td.imagify-cell-title { + padding-left: 0; +} + +.imagify-cell-title label, +.imagify-cell-original-size .imagify-cell-label { + color: #1F2332; +} + +.imagify-cell-optimized-size, +.imagify-cell-original-size { + font-weight: 500; + color: #7A8996; + font-size: 12px; +} + +.imagify-cell-optimized-size .imagify-cell-label { + color: #338EA6; +} + +.imagify-cell-count-optimized { + font-size: 14px; + font-weight: bold; + color: #338EA6; +} + +.imagify-cell-count-errors { + color: #C51162; + font-weight: bold; + font-size: 14px; +} + +.imagify-cell-count-errors a { + margin-left: 5px; + color: #7A8996; + font-weight: normal; + font-size: 12px; +} + +.imagify-cell-filename { + max-width: 200px; +} + +.imagify-cell-status { + max-width: 145px; +} + +.imagify-cell-status .dashicons-warning { + margin-right: 2px; +} + +.imagify-cell-thumbnails { + max-width: 120px; +} + +td.imagify-cell-filename { + text-overflow: clip; /* ellipsis replace all the text by ... :`/ */ + white-space: nowrap; + overflow: hidden; +} + +.imagify-bulk-table .imagify-cell-thumbnails { + text-align: center; +} + +.imagify-cell-percentage, +.imagify-cell-savings { + color: #46B1CE; + font-weight: bold; +} + +.imagify-bulk-table td.imagify-cell-totaloriginal { + padding-right: 78px; +} + +.imagify-cell-totaloriginal { + text-align: right; +} + +.imagify-cell-level { + width: 145px; +} + +.imagify-selector-button.imagify-selector-button { + border: 1px solid #FFF; + padding: 2px 10px; +} + +.imagify-selector-button.imagify-selector-button:hover, +.imagify-selector-button.imagify-selector-button:focus { + border-color: #EEE; + box-shadow: 0 4px 8px rgba(0, 0, 0, .1); +} + +.imagiuploaded, +.imagifilename { + display: inline-block; + vertical-align: middle; + margin-left: 5px; + color: #626E7B; + font-weight: 500; +} + +.imagifilename { + font-size: 12px; +} + +.imagiuploaded { + width: 33px; + height: 33px; + margin-right: 5px; + margin-left: -8px; + overflow: hidden; + background: url(../images/upload-image.png) 0 0 no-repeat; + background-size: cover; +} + +.imagiuploaded img { + max-width: 100%; + height: auto; +} + +.imagistatus { + color: #8CA6B3; + text-transform: uppercase; + font-weight: bold; +} + +.imagistatus .dashicons { + margin-right: 5px; +} + +.status-compressing { + color: #46B1CE; +} + +.status-error { + color: #CE0B24; +} + +.status-warning { + color: #f5a623; +} + +.status-complete { + color: #8CC152; +} + +/* Submit Bulk */ +.imagify-bulk-submit { + padding: 15px 0 8px 0; +} + +.imagify-settings .button-primary.button-primary[disabled] { + color: #4A4A4A !important; + background: #D9E4EB !important; + text-shadow: none !important; + cursor: not-allowed; +} + +/* Icon rotation */ +.dashicons.rotate { + -webkit-animation: icon-rotate 2.6s infinite linear; + animation: icon-rotate 2.6s infinite linear; +} + +.imagify-cell-status .dashicons-admin-generic { + transform-origin: 48.75% 51.75%; +} + +@-webkit-keyframes icon-rotate { + from { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + to { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes icon-rotate { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} + +.imagify-col.imagify-col.imagify-account-info-col { + width: 465px; +} + +@media (max-width: 1245px) { + .imagify-col.imagify-col.imagify-account-info-col { + width: auto; + max-width: none; + float: none; + } + + .imagify-columns .col-overview.col-overview { + float: none; + width: auto; + padding-left: 0; + padding-right: 0; + } +} + +@media (max-width: 1200px) { + .imagify-settings .imagify-title .imagify-logo { + display: none; + } +} + +@media (max-width: 940px) { + .imagify-bulk-table-container tbody, + .imagify-bulk-table-container tr { + text-align: left; + } + + .imagify-bulk-table-container tbody, + .imagify-bulk-table-container tbody tr, + .imagify-bulk-table-container tbody td { + display: block; + } + + .imagify-bulk-table-container tbody td { + padding: 20px; + } + + .imagify-cell-checkbox, + .imagify-cell-title { + float: left; + } + + .imagify-cell-checkbox { + width: 26px; + } + + .imagify-bulk-table-container .imagify-cell-title { + padding-left: 10px; + width: calc(100% - 96px); + } + + .imagify-cell-title:after, + .imagify-cell-count-optimized:before { + content: ''; + display: table; + clear: both; + width: 100%; + } + + .imagify-cell-count-optimized { + clear: both; + } + + .imagify-bulk-table-container .imagify-cell-title ~ td { + display: inline-block; + } + + .imagify-bulk-table-container td.imagify-cell-level { + display: block + } +} + +@media (max-width: 918px) { + .imagify-settings .imagify-title { + display: block; + } + + .imagify-settings .imagify-documentation-link-box { + display: inline-flex; + } +} + +.hidden { + display: none; +} + +@media (max-width: 782px) { + .imagify-table-header, + .imagify-newbie .imagify-table-header, + .imagify-account-info-col .imagify-options-title{ + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -moz-box-direction: normal; + -moz-box-orient: vertical; + align-items: center; + } + .imagify-newbie .imagify-th-titles{ + width: 100%; + } + .imagify-newbie .imagify-th-title.imagify-th-title { + color: #343A49; + font-size: 16px; + padding-bottom: 20px; + } + .imagify-newbie .imagify-th-titles .dashicons, + .imagify-newbie .imagify-th-titles .dashicons:before{ + margin: 0px; + } + .imagify-newbie .imagify-th-action{ + display: flex; + max-width: 100%; + } + .imagify-newbie .imagify-th-action a{ + max-width: 100%; + font-size: 11px; + padding: 11px 12px; + } + .imagify-columns .col-chart.col-chart{ + text-align: center; + } + .imagify-doughnut-legend{ + margin-top: 18px; + width: 60%; + margin: 10px auto; + } + .imagify-account-info-col .imagify-options-title > a{ + flex-basis: unset; + margin: auto; + } + .imagify-th-title.imagify-th-title.imagify-th-title{ + font-size: 20px; + } + .imagify-account-info-col p.imagify-meteo-title{ + font-size: 20px; + } + .imagify-bulk-table-container tbody td{ + padding: 10px; + } + .imagify-col-content .imagify-space-left{ + width: auto; + margin: 0 0 15px 0; + } +} + diff --git a/wp/wp-content/plugins/imagify/assets/css/bulk.min.css b/wp/wp-content/plugins/imagify/assets/css/bulk.min.css new file mode 100644 index 00000000..21fe5382 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/bulk.min.css @@ -0,0 +1 @@ +#imagify-overview-chart-legend{overflow:hidden}.imagify-doughnut-legend{margin-top:38px;list-style:none}.imagify-doughnut-legend li{display:block;padding-left:30px;position:relative;margin-bottom:15px;border-radius:5px;padding:3px 8px 2px 31px;font-size:13px;cursor:default;-webkit-transition:background-color .2s ease-in-out;-o-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out}.imagify-doughnut-legend li span{display:block;position:absolute;left:0;top:0;width:25px;height:25px;border-radius:50%}.imagify-global-optim-phrase{width:180px;padding-top:20px;font-size:14px;text-align:center}.imagify-total-percent{color:#46b1ce}.imagify-overview-chart-container{float:left;margin-right:20px}.imagify-chart-percent{position:absolute;left:0;right:0;top:50%;margin-top:-.5em;line-height:1;text-align:center;font-size:55px;font-weight:700;color:#46b1ce}.imagify-chart-percent span{font-size:20px;vertical-align:super}.media_page_imagify-bulk-optimization .media-item,body[class*="_imagify-ngg-bulk-optimization"] .media-item{margin:0}.media_page_imagify-bulk-optimization .media-item .progress,body[class*="_imagify-ngg-bulk-optimization"] .media-item .progress{float:none;width:100%;height:8px;margin:0;overflow:visible;background:#1f2331;-webkit-box-shadow:0;box-shadow:0;border-radius:0}.media_page_imagify-bulk-optimization .media-item .percent,body[class*="_imagify-ngg-bulk-optimization"] .media-item .percent{position:absolute;top:6px;right:-28px;text-shadow:none;width:auto;padding:0 5px;line-height:1.85;font-size:14px;font-weight:700;color:#40b1d0}.media_page_imagify-bulk-optimization .media-item .percent,.media_page_imagify-bulk-optimization .media-item .progress,body[class*="_imagify-ngg-bulk-optimization"] .media-item .percent,body[class*="_imagify-ngg-bulk-optimization"] .media-item .progress{text-align:right}.media_page_imagify-bulk-optimization .media-item .progress .bar,body[class*="_imagify-ngg-bulk-optimization"] .media-item .progress .bar{position:relative;width:1px;height:8px;margin-top:0;background:#46b1ce;border-radius:0;-webkit-transition:width .5s;-o-transition:width .5s;transition:width .5s}#imagify-bulk-action{padding:11px 20px}.imagify-columns .col-overview.col-overview{width:calc(100% - 465px);padding-left:20px}.imagify-columns .col-statistics.col-statistics{width:60%}.imagify-columns .col-chart.col-chart{width:40%}@media (max-width:1520px) and (min-width:1381px),(max-width:1086px){.imagify-columns .col-chart.col-chart,.imagify-columns .col-statistics.col-statistics{width:50%}}@media (max-width:1380px) and (min-width:1246px),(max-width:380px){.imagify-overview-chart-container{float:none;margin-right:0}.imagify-doughnut-legend{margin-top:18px}.imagify-global-optim-phrase{padding-top:0;width:auto}}@media (max-width:808px){.imagify-columns .col-chart.col-chart,.imagify-columns .col-statistics.col-statistics{width:auto;float:none;padding:0}.imagify-columns .col-chart.col-chart{margin-top:3em}}.imagify-sep-v{width:1px;background:rgba(255,255,255,.2)}.base-transparent{background:0 0}[class^=imagify-bar-].right-outside-number{-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:4.5em}.right-outside-number .imagify-barnb{display:block;margin-right:-5.25em;text-align:right;font-weight:700;line-height:.8}.imagify-h2-like{margin:0 0 .5em 0;padding-bottom:.5em;border-bottom:1px solid #e9eff2;font-size:24px;color:#000;font-weight:700}.imagify-h2-like .dashicons,.imagify-h2-like .dashicons:before{font-size:38px;height:38px;width:38px;margin-right:12px;vertical-align:-5px;color:#40b1d0}.imagify-info-block{position:relative;padding:10px;padding-left:42px;background:#d9e4eb;border-radius:4px;line-height:1.6}.imagify-list-infos{margin:0;padding:0}.imagify-list-infos li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px 5px;text-align:left;font-size:14px;line-height:1.5;color:#626e7b}.imagify-list-infos li:first-child{padding-top:5px}.imagify-list-infos li:last-child{padding-bottom:5px}.imagify-list-infos li+li{border-top:1px solid #e9eff2}.imagify-info-icon{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-preferred-size:50px;flex-basis:50px}.imagify-info-icon+span{padding-left:20px}.imagify-list-infos a:before{content:'';display:block}.imagify-bulk .imagify-settings-section{border:1px solid #d9d9d9;border-top:0;background:#fff;color:#4a4a4a}.imagify-bulk h3,.imagify-bulk li,.imagify-bulk p{color:#4a4a4a}.imagify-bulk .imagify-settings-section h3{margin-bottom:2em}.imagify-account-info-col .imagify-options-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-account-info-col p.imagify-meteo-title{margin:0;font-size:24px;font-weight:700;color:#fff}.imagify-account-info-col .imagify-options-title>a{-ms-flex-preferred-size:100px;flex-basis:100px;margin-left:auto;margin-right:10px;text-decoration:underline;font-size:12px}.imagify-account-info-col .imagify-meteo-title .dashicons,.imagify-account-info-col .imagify-meteo-title .dashicons:before{font-size:38px;width:38px;height:38px;margin-right:4px;color:#40b1d0}.imagify-col-content .imagify-block-secondary{margin-left:-1px;margin-right:-1px}.imagify-col-content .imagify-space-left{margin:15px 30px 15px 0}.imagify-col-content .imagify-space-left p{margin:0 0 10px 0;font-size:19px;font-weight:500;color:#343a49}.imagify-col-content .imagify-meteo-icon{height:64px;margin:15px 15px 15px 0}.imagify-col-content .imagify-section-title+p{margin-top:10px}.imagify-account-info-col .imagify-h3-like.imagify-h3-like{color:inherit}.imagify-title .imagify-tooltips{position:absolute;top:100%;left:0}.imagify-tooltips .icon-round{float:left;display:inline-block;width:28px;height:28px;border:1px solid #fff;margin-right:8px;margin-bottom:8px;font-size:17px;font-style:italic;line-height:29px;font-weight:700;text-align:center;border-radius:50%}.imagify-tooltips .tooltip-content{display:block;position:relative;max-width:250px;padding:7px 15px 8px;background:#2e3242;color:#fff;font-size:10px;border-radius:3px}.imagify-tooltips.right .tooltip-content{margin-left:12px}.imagify-tooltips.bottom .tooltip-content{margin-top:4px}.imagify-inline-options label .tooltip-content{position:absolute;left:0;right:0;top:100%;text-transform:none;font-size:10px;letter-spacing:0;text-align:center}.imagify-tooltips .tooltip-content:after{content:"";position:absolute}.imagify-tooltips.right .tooltip-content:after{top:16px;left:-6px;border-right:8px solid #2e3242;border-top:6px solid transparent;border-bottom:6px solid transparent}.imagify-tooltips.bottom .tooltip-content:after{top:-5px;left:50%;margin-left:-3px;border-bottom:6px solid #2e3242;border-left:6px solid transparent;border-right:6px solid transparent}.imagify-space-tooltips .tooltip-content{max-width:280px;margin-top:20px;margin-left:0;padding:5px 15px 5px;font-size:13px;background:#40b1d0;-webkit-box-shadow:0 3px 0 #338ea6;box-shadow:0 3px 0 #338ea6}.imagify-space-tooltips .tooltip-content:after{top:-14px;left:50%;margin-left:-7px;border:0 none;border-bottom:15px solid #40b1d0;border-left:15px solid transparent;border-right:15px solid transparent}.tooltip-content.tooltip-table{display:table;width:100%}.tooltip-content.tooltip-table>*{display:table-cell;vertical-align:middle}.tooltip-content .cell-icon{width:28px}.tooltip-content .cell-icon .icon{margin-bottom:0}.tooltip-content .cell-text{padding:5px 10px 5px 0;line-height:1.3}.tooltip-content .cell-sep{width:1px;background:rgba(255,255,255,.4)}.tooltip-content .cell-cta{padding-left:10px}.tooltip-content .cell-cta a{display:block;color:#fff;width:100%;height:100%;white-space:nowrap}.imagify-number-you-optimized{margin-bottom:1.35em;overflow:hidden}.imagify-number-you-optimized .number{display:table-cell;padding-right:15px;font-size:48px;font-weight:700;line-height:1;vertical-align:middle;white-space:nowrap;color:#000}.imagify-number-you-optimized [id=imagify-total-optimized-attachments-pct]{color:#40b1d0}.imagify-number-you-optimized .text{display:table-cell;vertical-align:middle;overflow:hidden;font-size:12px;color:#626e7b}.imagify-number-you-optimized>p{display:table}.imagify-bars{padding-right:15px}.imagify-bars p{font-size:12px;margin-bottom:5px}.imagify-bars+.imagify-number-you-optimized{border-bottom:0;padding-top:.85em}.imagify-bars+.imagify-number-you-optimized p{color:#46b1ce}.imagify-bulk-table{margin-top:2em}.imagify-table-header{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:15px 25px;background:#343a49;color:#fff}.imagify-newbie{margin-top:4em;position:relative;overflow:visible}.imagify-newbie .imagify-new-feature.imagify-new-feature{position:absolute;top:0;left:25px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);margin:0;padding:8px 20px;font-size:14px;letter-spacing:.02em;text-transform:uppercase;font-weight:700;color:#fff;background:#8bc34a}.imagify-newbie .imagify-table-header{padding:30px 25px;border:2px solid #8bc34a;background:#f3f9ec}.imagify-th-titles .dashicons,.imagify-th-titles .dashicons:before{width:38px;height:38px;margin-right:20px;font-size:38px;color:#40b1d0}.imagify-newbie .imagify-th-titles .dashicons:before{color:#8bc34a}.imagify-th-title.imagify-th-title.imagify-th-title{margin:0;font-size:24px;font-weight:500;color:#fff}.imagify-newbie .imagify-th-title.imagify-th-title{color:#343a49}.imagify-th-subtitle.imagify-th-subtitle.imagify-th-subtitle{margin:0 0 5px;font-size:14px;color:#7a8996;font-weight:500}.imagify-th-action .imagify-button-clean{font-size:12px;color:#7a8996}.imagify-th-action .imagify-is-active{color:#fff}.imagify-th-action .button:focus,.imagify-th-action .button:hover{color:#fff}.imagify-bulk-table table{width:100%;border-spacing:0;border-collapse:collapse}.imagify-bulk-table td{padding:20px}.imagify-bulk-table-details{border-bottom:2px solid #e5ebef}.imagify-bulk-table-details thead th,.imagify-bulk-table-details thead tr{background:#4a5362}.imagify-bulk-table-details thead th{padding:12px 20px;text-align:left;font-weight:700;color:#e5ebef;font-size:12px}.imagify-bulk-table-details tbody tr:nth-child(odd) td{background:#f2f5f7}.imagify-bulk-table-content{border:1px solid #d3d3d3;border-top:0}.imagify-bulk-table-footer{padding:20px;color:#626e7b;background:#f2f5f7}.imagify-bulk-table tbody tr+tr{border-top:3px solid #f2f5f7}.imagify-bulk-table tbody td,.imagify-bulk-table tbody tr{background:#fff}@media (max-width:782px){.imagify-row-folder-type,tr.imagify-row-waiting,tr.imagify-row-working{padding-top:20px}}.imagify-bulk-table .imagify-row-progress{display:none;height:8px;padding:0}.imagify-bulk-table .imagify-no-uploaded-yet td{height:200px;font-size:17px;letter-spacing:.1em;word-spacing:.12em;vertical-align:middle;text-transform:uppercase;font-weight:700;text-align:center;color:#999;background-color:#fff}.imagify-selector{position:relative}.imagify-selector-list{background:#fff;border:1px solid #f4f7f9;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.1);box-shadow:0 6px 12px rgba(0,0,0,.1);border-radius:3px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.imagify-selector-list li:first-child label{border-radius:3px 3px 0 0}.imagify-selector-list li:last-child label{border-radius:0 0 3px 3px}.imagify-selector-list li{margin:0}.imagify-selector-list li+li{border-top:1px solid #f4f7f9}.imagify-selector-list svg{margin-right:5px}.imagify-selector-list .imagify-selector-current-value label,.imagify-selector-list input:checked+label{background:#343a49;color:#fff}.imagify-selector-list .imagify-selector-current-value input:focus+label,.imagify-selector-list .imagify-selector-current-value label:hover,.imagify-selector-list input:checked+label:hover,.imagify-selector-list input:focus+label,.imagify-selector-list label:hover{background:#40b1d0;color:#f4f7f9}.imagify-selector-list .imagify-selector-current-value input:focus+label polygon,.imagify-selector-list .imagify-selector-current-value label:hover polygon,.imagify-selector-list input:checked+label:hover polygon,.imagify-selector-list input:focus+label polygon,.imagify-selector-list label:hover polygon{fill:#FFF}.imagify-selector-list .imagify-selector-current-value input:focus+label polygon[fill="#CCD1D6"],.imagify-selector-list .imagify-selector-current-value label:hover polygon[fill="#CCD1D6"],.imagify-selector-list input:checked+label:hover polygon[fill="#CCD1D6"],.imagify-selector-list input:focus+label polygon[fill="#CCD1D6"],.imagify-selector-list label:hover polygon[fill="#CCD1D6"]{fill:#3694AE}.imagify-selector-list li label{display:block;padding:10px;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-selector-list polygon{-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-selector-list{position:absolute;top:0;left:0;right:0;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.imagify-selector-list[aria-hidden=true]{opacity:0;visibility:hidden;-webkit-transform:translateY(-50%) scale(0);-ms-transform:translateY(-50%) scale(0);transform:translateY(-50%) scale(0)}.imagify-selector-list[aria-hidden=false]{opacity:1;visibility:visible;-webkit-transform:translateY(-50%) scale(1);-ms-transform:translateY(-50%) scale(1);transform:translateY(-50%) scale(1)}.button .imagify-selector-current-value-info{position:relative;padding-right:20px}.button .imagify-selector-current-value-info:after{content:'';position:absolute;right:0;top:50%;margin-top:-3px;border-top:6px solid #7a8996;border-left:6px solid transparent;border-right:6px solid transparent}.imagify-row-complete{margin-top:2em;color:#fff;text-shadow:0 0 2px rgba(0,0,0,.1)}.imagify-row-complete .imagify-ac-chart{margin-top:3px}.imagify-row-complete.imagify-row-complete p{color:#fff;margin:0}@-webkit-keyframes congrate{0%{opacity:0;-webkit-transform:scale(1)}50%{-webkit-transform:scale(1.05);opacity:1}100%{-webkit-transform:scale(1);opacity:1}}@keyframes congrate{0%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05);opacity:1}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.imagify-row-complete.done{-webkit-animation:congrate .5s ease-in-out;animation:congrate .5s ease-in-out}.imagify-all-complete{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:1.5em 0}.imagify-ac-report{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;padding:35px 20px;background:#8bc34a;min-width:310px}.imagify-ac-chart{width:46px;height:46px;float:left;margin:0 20px 0 10px}.imagify-ac-report-text{overflow:hidden}.imagify-ac-report-text p{line-height:1.3}.imagify-ac-rt-big{font-weight:700;font-size:24px;letter-spacing:.15em;word-spacing:0.15em;text-transform:uppercase}.imagify-ac-leave-review,.imagify-ac-spread-word{-webkit-box-flex:1;-ms-flex:auto;flex:auto;padding:35px 20px;background:#343a49}.imagify-ac-spread-word h3{color:#fff;text-transform:uppercase}.imagify-ac-spread-word .stars{text-decoration:none}.imagify-ac-leave-review{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-cell-checkbox{width:35px}.imagify-cell-checkbox p{margin:0}.imagify-cell-checkbox-loader{display:block;width:27px;height:28px;line-height:0;-webkit-animation:loading 4s infinite linear;animation:loading 4s infinite linear}@-webkit-keyframes loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.imagify-cell-checkbox-loader.hidden{display:none;-webkit-animation:none;animation:none}.imagify-cell-label,.imagify-cell-title label{font-size:14px;text-transform:uppercase;letter-spacing:.02em;font-weight:700}.imagify-cell-label{margin-right:10px}.imagify-cell-value{font-size:12px;font-weight:500;color:#7a8996}td.imagify-cell-title{padding-left:0}.imagify-cell-original-size .imagify-cell-label,.imagify-cell-title label{color:#1f2332}.imagify-cell-optimized-size,.imagify-cell-original-size{font-weight:500;color:#7a8996;font-size:12px}.imagify-cell-optimized-size .imagify-cell-label{color:#338ea6}.imagify-cell-count-optimized{font-size:14px;font-weight:700;color:#338ea6}.imagify-cell-count-errors{color:#c51162;font-weight:700;font-size:14px}.imagify-cell-count-errors a{margin-left:5px;color:#7a8996;font-weight:400;font-size:12px}.imagify-cell-filename{max-width:200px}.imagify-cell-status{max-width:145px}.imagify-cell-status .dashicons-warning{margin-right:2px}.imagify-cell-thumbnails{max-width:120px}td.imagify-cell-filename{-o-text-overflow:clip;text-overflow:clip;white-space:nowrap;overflow:hidden}.imagify-bulk-table .imagify-cell-thumbnails{text-align:center}.imagify-cell-percentage,.imagify-cell-savings{color:#46b1ce;font-weight:700}.imagify-bulk-table td.imagify-cell-totaloriginal{padding-right:78px}.imagify-cell-totaloriginal{text-align:right}.imagify-cell-level{width:145px}.imagify-selector-button.imagify-selector-button{border:1px solid #fff;padding:2px 10px}.imagify-selector-button.imagify-selector-button:focus,.imagify-selector-button.imagify-selector-button:hover{border-color:#eee;-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);box-shadow:0 4px 8px rgba(0,0,0,.1)}.imagifilename,.imagiuploaded{display:inline-block;vertical-align:middle;margin-left:5px;color:#626e7b;font-weight:500}.imagifilename{font-size:12px}.imagiuploaded{width:33px;height:33px;margin-right:5px;margin-left:-8px;overflow:hidden;background:url(../images/upload-image.png) 0 0 no-repeat;background-size:cover}.imagiuploaded img{max-width:100%;height:auto}.imagistatus{color:#8ca6b3;text-transform:uppercase;font-weight:700}.imagistatus .dashicons{margin-right:5px}.status-compressing{color:#46b1ce}.status-error{color:#ce0b24}.status-warning{color:#f5a623}.status-complete{color:#8cc152}.imagify-bulk-submit{padding:15px 0 8px 0}.imagify-settings .button-primary.button-primary[disabled]{color:#4a4a4a!important;background:#d9e4eb!important;text-shadow:none!important;cursor:not-allowed}.dashicons.rotate{-webkit-animation:icon-rotate 2.6s infinite linear;animation:icon-rotate 2.6s infinite linear}.imagify-cell-status .dashicons-admin-generic{-webkit-transform-origin:48.75% 51.75%;-ms-transform-origin:48.75% 51.75%;transform-origin:48.75% 51.75%}@-webkit-keyframes icon-rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes icon-rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.imagify-col.imagify-col.imagify-account-info-col{width:465px}@media (max-width:1245px){.imagify-col.imagify-col.imagify-account-info-col{width:auto;max-width:none;float:none}.imagify-columns .col-overview.col-overview{float:none;width:auto;padding-left:0;padding-right:0}}@media (max-width:1200px){.imagify-settings .imagify-title .imagify-logo{display:none}}@media (max-width:940px){.imagify-bulk-table-container tbody,.imagify-bulk-table-container tr{text-align:left}.imagify-bulk-table-container tbody,.imagify-bulk-table-container tbody td,.imagify-bulk-table-container tbody tr{display:block}.imagify-bulk-table-container tbody td{padding:20px}.imagify-cell-checkbox,.imagify-cell-title{float:left}.imagify-cell-checkbox{width:26px}.imagify-bulk-table-container .imagify-cell-title{padding-left:10px;width:calc(100% - 96px)}.imagify-cell-count-optimized:before,.imagify-cell-title:after{content:'';display:table;clear:both;width:100%}.imagify-cell-count-optimized{clear:both}.imagify-bulk-table-container .imagify-cell-title~td{display:inline-block}.imagify-bulk-table-container td.imagify-cell-level{display:block}}@media (max-width:918px){.imagify-settings .imagify-title{display:block}.imagify-settings .imagify-documentation-link-box{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}}.hidden{display:none}@media (max-width:782px){.imagify-account-info-col .imagify-options-title,.imagify-newbie .imagify-table-header,.imagify-table-header{-ms-flex-direction:column;flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-newbie .imagify-th-titles{width:100%}.imagify-newbie .imagify-th-title.imagify-th-title{color:#343a49;font-size:16px;padding-bottom:20px}.imagify-newbie .imagify-th-titles .dashicons,.imagify-newbie .imagify-th-titles .dashicons:before{margin:0}.imagify-newbie .imagify-th-action{display:-webkit-box;display:-ms-flexbox;display:flex;max-width:100%}.imagify-newbie .imagify-th-action a{max-width:100%;font-size:11px;padding:11px 12px}.imagify-columns .col-chart.col-chart{text-align:center}.imagify-doughnut-legend{margin-top:18px;width:60%;margin:10px auto}.imagify-account-info-col .imagify-options-title>a{-ms-flex-preferred-size:unset;flex-basis:unset;margin:auto}.imagify-th-title.imagify-th-title.imagify-th-title{font-size:20px}.imagify-account-info-col p.imagify-meteo-title{font-size:20px}.imagify-bulk-table-container tbody td{padding:10px}.imagify-col-content .imagify-space-left{width:auto;margin:0 0 15px 0}} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/files-list.css b/wp/wp-content/plugins/imagify/assets/css/files-list.css new file mode 100644 index 00000000..d566e496 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/files-list.css @@ -0,0 +1,171 @@ +/* Filter block */ +.imagify-files-list .wp-filter { + padding: 0 20px 15px; +} +.imagify-files-list .filter-items select { + height: auto; + padding: 2px 20px 3px 6px; + margin: 15px 12px 0 0; + max-width: 100%; +} +.imagify-files-list .filter-items .button { + height: auto; + padding: 2px 12px 3px; + margin-top: 15px; +} +@media screen and (max-width: 782px) { + .imagify-files-list .filter-items .button { + margin-bottom: 0; + line-height: 2.15384615; + padding: 0 12px; + } +} + +/* Empty table */ +.imagify-files-list .no-items td { + padding: 35px; + text-align: center; + font-size: 18px; +} +.imagify-files-list .no-items td a { + text-decoration: underline; +} + +/* Th sortable */ +.imagify-files-list .sortable a { + color: #000; +} + +/* Global links */ +.imagify-files-list a { + color: #3694AE; +} + +/* Global TDs */ +.imagify-files-list tbody td, +.imagify-files-list tbody th, +.imagify-files-list.imagify-files-list tbody .check-column { + vertical-align: middle; + padding-top: 20px; + padding-bottom: 20px; + color: #626E7B; +} + +/* Col Title */ +.imagify-files-list .column-title strong { + font-weight: normal; + font-size: 14px; +} +.imagify-files-list .column-title strong a { + display: inline-flex; + align-items: center; + word-break: break-all; + word-wrap: break-word; + font-weight: normal; +} +.imagify-files-list .filename { + font-size: 12px; + font-weight: bold; +} +.imagify-files-list .media-icon { + position: relative; + width: 60px; + overflow: hidden; + flex-shrink: 0; +} +.media-icon .centered { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + transform: translate( 50%, 50% ); +} +.media-icon .centered img { + position: absolute; + left: 0; + top: 0; + transform: translate( -50%, -50% ); +} +table.media .column-title .media-icon.landscape img { + max-width: none; + width: auto; + height: 60px; +} +table.media .column-title .media-icon.portrait img { + width: 60px; +} + +/* Optimization datas Col */ +.imagify-files-list ul.imagify-datas-list { + font-size: 11px; +} +.imagify-files-list ul.imagify-datas-list .big { + font-size: 13px; +} +.imagify-files-list ul.imagify-datas-list span.imagify-chart-value { + font-size: 12px; +} +.imagify-files-list ul.imagify-datas-list .imagify-chart-container { + margin-right: 2px; +} +.imagify-files-list ul.imagify-datas-list canvas { + width: 18px!important; + height: 18px!important; +} + +/* Optimization Level Col */ +.imagify-files-list .optimization_level { + text-align: center; + font-weight: bold; + font-size: 14px; + text-transform: uppercase; + letter-spacing: 0.02em; +} +.imagify-files-list .column-optimization_level, +.imagify-files-list .column-optimization_level a { + text-align: center; +} +.imagify-files-list .column-optimization_level a span { + float: none; + display: inline-block; + vertical-align: middle; +} +.imagify-files-list .column-optimization_level .sorting-indicator { + vertical-align: -10px; +} + +/* Actions col */ +.imagify-files-list .column-actions .button, +.imagify-files-list .column-actions .button-primary { + padding: 5px 20px; + font-size: 14px; + height: auto; +} +.imagify-files-list .column-actions .button-primary { + background: #3694AE; + color: #FFF; + border: 0; + box-shadow: none; + text-shadow: none; +} +.imagify-files-list .column-actions a, +.status a.button-imagify-refresh-status { + display: inline-block; + margin: .3em 0; + font-size: 12px; + font-weight: bold; +} +.imagify-files-list .imagify-status-already_optimized { + font-weight: bold; + color: #8BC34A; +} +.imagify-files-list .column-actions a .dashicons, +.imagify-files-list .column-actions a .dashicons:before, +.status a.button-imagify-refresh-status .dashicons, +.status a.button-imagify-refresh-status .dashicons:before { + margin-right: 2px; + font-size: 17px; + height: 17px; + width: 17px; +} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/files-list.min.css b/wp/wp-content/plugins/imagify/assets/css/files-list.min.css new file mode 100644 index 00000000..2c73fd0a --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/files-list.min.css @@ -0,0 +1 @@ +.imagify-files-list .wp-filter{padding:0 20px 15px}.imagify-files-list .filter-items select{height:auto;padding:2px 20px 3px 6px;margin:15px 12px 0 0;max-width:100%}.imagify-files-list .filter-items .button{height:auto;padding:2px 12px 3px;margin-top:15px}@media screen and (max-width:782px){.imagify-files-list .filter-items .button{margin-bottom:0;line-height:2.15384615;padding:0 12px}}.imagify-files-list .no-items td{padding:35px;text-align:center;font-size:18px}.imagify-files-list .no-items td a{text-decoration:underline}.imagify-files-list .sortable a{color:#000}.imagify-files-list a{color:#3694ae}.imagify-files-list tbody td,.imagify-files-list tbody th,.imagify-files-list.imagify-files-list tbody .check-column{vertical-align:middle;padding-top:20px;padding-bottom:20px;color:#626e7b}.imagify-files-list .column-title strong{font-weight:400;font-size:14px}.imagify-files-list .column-title strong a{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;word-break:break-all;word-wrap:break-word;font-weight:400}.imagify-files-list .filename{font-size:12px;font-weight:700}.imagify-files-list .media-icon{position:relative;width:60px;overflow:hidden;-ms-flex-negative:0;flex-shrink:0}.media-icon .centered{position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:translate(50%,50%);-ms-transform:translate(50%,50%);transform:translate(50%,50%)}.media-icon .centered img{position:absolute;left:0;top:0;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}table.media .column-title .media-icon.landscape img{max-width:none;width:auto;height:60px}table.media .column-title .media-icon.portrait img{width:60px}.imagify-files-list ul.imagify-datas-list{font-size:11px}.imagify-files-list ul.imagify-datas-list .big{font-size:13px}.imagify-files-list ul.imagify-datas-list span.imagify-chart-value{font-size:12px}.imagify-files-list ul.imagify-datas-list .imagify-chart-container{margin-right:2px}.imagify-files-list ul.imagify-datas-list canvas{width:18px!important;height:18px!important}.imagify-files-list .optimization_level{text-align:center;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.02em}.imagify-files-list .column-optimization_level,.imagify-files-list .column-optimization_level a{text-align:center}.imagify-files-list .column-optimization_level a span{float:none;display:inline-block;vertical-align:middle}.imagify-files-list .column-optimization_level .sorting-indicator{vertical-align:-10px}.imagify-files-list .column-actions .button,.imagify-files-list .column-actions .button-primary{padding:5px 20px;font-size:14px;height:auto}.imagify-files-list .column-actions .button-primary{background:#3694ae;color:#fff;border:0;-webkit-box-shadow:none;box-shadow:none;text-shadow:none}.imagify-files-list .column-actions a,.status a.button-imagify-refresh-status{display:inline-block;margin:.3em 0;font-size:12px;font-weight:700}.imagify-files-list .imagify-status-already_optimized{font-weight:700;color:#8bc34a}.imagify-files-list .column-actions a .dashicons,.imagify-files-list .column-actions a .dashicons:before,.status a.button-imagify-refresh-status .dashicons,.status a.button-imagify-refresh-status .dashicons:before{margin-right:2px;font-size:17px;height:17px;width:17px} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/notices.css b/wp/wp-content/plugins/imagify/assets/css/notices.css new file mode 100644 index 00000000..0856aa9a --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/notices.css @@ -0,0 +1,376 @@ +/* Error Notice */ +.imagify-plugins-error { + overflow: hidden; + padding-left: 20px; + list-style-type: disc +} + +.imagify-plugins-error li { + width: 300px; + line-height: 30px +} + +@media (max-width: 570px) { + .imagify-plugins-error li { + width: auto; + } +} + +/* Notice close link */ +.imagify-notice-dismiss.notice-dismiss { + text-decoration: none; +} + +/* Notices in Imagify related pages */ +.media_page_imagify-bulk-optimization .notice, +body[class*="_imagify-ngg-bulk-optimization"] .notice, +.settings_page_imagify .notice { + margin-right: 20px; + margin-left: 2px; +} + +.imagify-notice .button-mini { + padding: 2px 10px; + font-size: 13px; +} + +.imagify-notice.imagify-notice { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 0; + margin: 10px 20px 10px 2px; + border: 0 none; + background: #4A5362; + box-shadow: none; + color: #FFF; +} + +@media (max-width: 782px) { + .imagify-notice.imagify-notice, + .imagify-welcome { + margin-right: 12px; + } +} + +@media (max-width: 450px) { + .imagify-notice.imagify-notice { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.wrap .imagify-notice { + margin: 5px 15px 2px; + position: relative; +} + +.imagify-notice-logo { + padding: 18px 23px; + background: #40B1D0; +} + +.imagify-notice-logo .imagify-logo { + opacity: 1; +} + +.imagify-flex-notice-content .imagify-notice-logo { + display: flex; + align-items: center; +} + +.updated .imagify-notice-logo { + background: #8BC34A; +} + +.error .imagify-notice-logo { + background: #C51162; +} + +.imagify-notice-title { + font-size: 15px; +} + +.imagify-notice-content { + padding: 5px 23px; +} + +.imagify-notice-content.imagify-notice-content p { + margin: 0.65em 0; +} + +.imagify-flex-notice-content .imagify-notice-content { + display: flex; + flex-wrap: wrap; + padding: 0; +} + +.imagify-flex-notice-content .imagify-notice-content > * { + padding: 10px 20px; +} + +.imagify-flex-notice-content .imagify-meteo-icon img { + height: 100%; + margin-top: 6px; +} + +.imagify-notice-quota [class^="imagify-bar-"] { + background: #1F2332; +} + +.imagify-notice-quota .imagify-space-left p { + margin: 0; +} + +.imagify-flex-notice-content .imagify-notice-content .imagify-notice-quota { + padding-right: 24px; + padding-left: 8px; + background: #343A49; +} + +.imagify-notice a { + color: #40B1D0; +} + +.imagify-notice a:hover, +.imagify-notice a:focus { + color: #FEE102; +} + +.imagify-notice code { + background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0; +} + +.imagify-notice .imagify-rate-us.imagify-rate-us { + text-align: left; +} + +.imagify-notice .imagify-rate-us .stars { + margin: 0; +} + +/** + * == Welcome section + */ +.imagify-welcome { + margin: 30px 20px 0 0; +} + +.imagify-welcome .baseline { + display: inline-block; + margin: .2em 0 0 2em; + font-size: 17px; +} + +.imagify-welcome .imagify-logo { + vertical-align: middle; +} + +.imagify-welcome-remove { + position: absolute; + top: 50%; + right: 15px; + margin-top: -8px; + color: #FFF; + text-decoration: none; +} + +/* Welcome columns */ +.imagify-columns [class^="col-"] img { + float: left; + margin-right: 18px; +} + +.imagify-col-content { + overflow: hidden; +} + +.imagify-col-title { + margin: 0 0 15px 0; + font-size: 23px; +} + +.counter .imagify-col-title:before { + counter-increment: cols; + content: counter(cols) ". "; + color: #40B1D0; +} + +.imagify-col-desc { + color: #5F758E; + margin-bottom: 2em; +} + +/* WP Rocket notice */ +.imagify-rkt-notice.imagify-rkt-notice { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + -ms-grid-row-align: center; + align-items: center; + padding: 10px 45px 10px 0; + border: 0 none; + box-shadow: none; + color: #FFF; + background: #1F2332; +} + +.media_page_imagify-bulk-optimization .imagify-rkt-notice { + margin-left: 2px; + margin-right: 20px; +} + +@media (max-width: 782px) { + .media_page_imagify-bulk-optimization .imagify-rkt-notice { + margin-left: 0; + margin-right: 12px; + } +} + +.imagify-rkt-notice .imagify-cross { + position: absolute; + right: 8px; + top: 50%; + width: 22px; + height: 22px; + padding: 0; + margin-top: -11px; + background: transparent; + color: rgba(255, 255, 255, .5); + text-decoration: none; + border-radius: 50%; + transition: all .275s; +} + +.imagify-rkt-notice .imagify-cross .dashicons { + position: relative; + top: 2px; + left: 1px; + transition: all .275s; +} + +.imagify-rkt-notice .imagify-cross:hover { + background: #FFF; +} + +.imagify-rkt-notice .imagify-cross:hover .dashicons { + color: #412355; +} + +.imagify-rkt-notice .imagify-rkt-cta, +.imagify-rkt-notice .imagify-rkt-logo, +.imagify-rkt-notice .imagify-rkt-coupon { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.imagify-rkt-notice .imagify-rkt-logo { + width: 150px !important; /* !important because of a dirtugly WP Engine code */ + text-align: center; + padding: 0 25px 0 30px; + line-height: 0.8; +} + +.imagify-rkt-notice .imagify-rkt-msg { + width: 100% !important; /* !important because of a dirtugly WP Engine code */ + color: #FFF; + padding: 0 15px; + font-size: 14px; + line-height: 1.6; +} + +.imagify-rkt-notice .imagify-rkt-coupon { + width: 150px !important; /* !important because of a dirtugly WP Engine code */ + padding: 0 15px; +} + +.imagify-rkt-notice .imagify-rkt-coupon-code { + padding: 5px 10px; + font-size: 23px; + font-weight: bold; + border: 1px dashed #F56640; + color: #F56640; +} + +.imagify-rkt-notice .imagify-rkt-cta { + width: 250px !important; /* !important because of a dirtugly WP Engine code */ + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-basis: 200px; + -ms-flex-preferred-size: 200px; + flex-basis: 200px; +} + +.imagify-rkt-notice .button.button { + position: relative; + top: -1px; + height: auto; + font-weight: 600; + font-size: 14px; + border: 0 none; + padding: 9px 18px 9px; + background: #F56640; + box-shadow: none; + text-shadow: none !important; +} + +@media (max-width: 880px) { + .imagify-rkt-notice { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } + + .imagify-rkt-notice .imagify-rkt-msg, + .imagify-rkt-notice .imagify-rkt-cta, + .imagify-rkt-notice .imagify-rkt-logo { + text-align: left; + padding: 5px 15px; + } + + .imagify-cross.imagify-cross { + top: 8px; + margin-top: 0; + } + + .imagify-rkt-notice .imagify-cross .dashicons { + top: 1px; + } +} + +@media (max-width: 782px) { + .imagify-flex-notice-content .imagify-notice-content .imagify-notice-quota { + width: 100%; + } + + .imagify-notice-quota-btn-container{ + text-align: center; + width: 100%; + } + .imagify-notice-quota-btn-container .imagify-button{ + display: inline-block; + } +} + +.imagify-notice-bulk-complete { + display: flex; + align-items: center; + padding: 12px 0; +} + +.imagify-notice-bulk-complete-logo { + padding-right: 12px; +} diff --git a/wp/wp-content/plugins/imagify/assets/css/notices.min.css b/wp/wp-content/plugins/imagify/assets/css/notices.min.css new file mode 100644 index 00000000..796acf60 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/notices.min.css @@ -0,0 +1 @@ +.imagify-plugins-error{overflow:hidden;padding-left:20px;list-style-type:disc}.imagify-plugins-error li{width:300px;line-height:30px}@media (max-width:570px){.imagify-plugins-error li{width:auto}}.imagify-notice-dismiss.notice-dismiss{text-decoration:none}.media_page_imagify-bulk-optimization .notice,.settings_page_imagify .notice,body[class*="_imagify-ngg-bulk-optimization"] .notice{margin-right:20px;margin-left:2px}.imagify-notice .button-mini{padding:2px 10px;font-size:13px}.imagify-notice.imagify-notice{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;margin:10px 20px 10px 2px;border:0 none;background:#4a5362;-webkit-box-shadow:none;box-shadow:none;color:#fff}@media (max-width:782px){.imagify-notice.imagify-notice,.imagify-welcome{margin-right:12px}}@media (max-width:450px){.imagify-notice.imagify-notice{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.wrap .imagify-notice{margin:5px 15px 2px;position:relative}.imagify-notice-logo{padding:18px 23px;background:#40b1d0}.imagify-notice-logo .imagify-logo{opacity:1}.imagify-flex-notice-content .imagify-notice-logo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.updated .imagify-notice-logo{background:#8bc34a}.error .imagify-notice-logo{background:#c51162}.imagify-notice-title{font-size:15px}.imagify-notice-content{padding:5px 23px}.imagify-notice-content.imagify-notice-content p{margin:.65em 0}.imagify-flex-notice-content .imagify-notice-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0}.imagify-flex-notice-content .imagify-notice-content>*{padding:10px 20px}.imagify-flex-notice-content .imagify-meteo-icon img{height:100%;margin-top:6px}.imagify-notice-quota [class^=imagify-bar-]{background:#1f2332}.imagify-notice-quota .imagify-space-left p{margin:0}.imagify-flex-notice-content .imagify-notice-content .imagify-notice-quota{padding-right:24px;padding-left:8px;background:#343a49}.imagify-notice a{color:#40b1d0}.imagify-notice a:focus,.imagify-notice a:hover{color:#fee102}.imagify-notice code{background:rgba(0,0,0,.4) none repeat scroll 0 0}.imagify-notice .imagify-rate-us.imagify-rate-us{text-align:left}.imagify-notice .imagify-rate-us .stars{margin:0}.imagify-welcome{margin:30px 20px 0 0}.imagify-welcome .baseline{display:inline-block;margin:.2em 0 0 2em;font-size:17px}.imagify-welcome .imagify-logo{vertical-align:middle}.imagify-welcome-remove{position:absolute;top:50%;right:15px;margin-top:-8px;color:#fff;text-decoration:none}.imagify-columns [class^=col-] img{float:left;margin-right:18px}.imagify-col-content{overflow:hidden}.imagify-col-title{margin:0 0 15px 0;font-size:23px}.counter .imagify-col-title:before{counter-increment:cols;content:counter(cols) ". ";color:#40b1d0}.imagify-col-desc{color:#5f758e;margin-bottom:2em}.imagify-rkt-notice.imagify-rkt-notice{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;padding:10px 45px 10px 0;border:0 none;-webkit-box-shadow:none;box-shadow:none;color:#fff;background:#1f2332}.media_page_imagify-bulk-optimization .imagify-rkt-notice{margin-left:2px;margin-right:20px}@media (max-width:782px){.media_page_imagify-bulk-optimization .imagify-rkt-notice{margin-left:0;margin-right:12px}}.imagify-rkt-notice .imagify-cross{position:absolute;right:8px;top:50%;width:22px;height:22px;padding:0;margin-top:-11px;background:0 0;color:rgba(255,255,255,.5);text-decoration:none;border-radius:50%;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-rkt-notice .imagify-cross .dashicons{position:relative;top:2px;left:1px;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-rkt-notice .imagify-cross:hover{background:#fff}.imagify-rkt-notice .imagify-cross:hover .dashicons{color:#412355}.imagify-rkt-notice .imagify-rkt-coupon,.imagify-rkt-notice .imagify-rkt-cta,.imagify-rkt-notice .imagify-rkt-logo{-ms-flex-negative:0;flex-shrink:0}.imagify-rkt-notice .imagify-rkt-logo{width:150px!important;text-align:center;padding:0 25px 0 30px;line-height:.8}.imagify-rkt-notice .imagify-rkt-msg{width:100%!important;color:#fff;padding:0 15px;font-size:14px;line-height:1.6}.imagify-rkt-notice .imagify-rkt-coupon{width:150px!important;padding:0 15px}.imagify-rkt-notice .imagify-rkt-coupon-code{padding:5px 10px;font-size:23px;font-weight:700;border:1px dashed #f56640;color:#f56640}.imagify-rkt-notice .imagify-rkt-cta{width:250px!important;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:200px;flex-basis:200px}.imagify-rkt-notice .button.button{position:relative;top:-1px;height:auto;font-weight:600;font-size:14px;border:0 none;padding:9px 18px 9px;background:#f56640;-webkit-box-shadow:none;box-shadow:none;text-shadow:none!important}@media (max-width:880px){.imagify-rkt-notice{-ms-flex-wrap:wrap;flex-wrap:wrap}.imagify-rkt-notice .imagify-rkt-cta,.imagify-rkt-notice .imagify-rkt-logo,.imagify-rkt-notice .imagify-rkt-msg{text-align:left;padding:5px 15px}.imagify-cross.imagify-cross{top:8px;margin-top:0}.imagify-rkt-notice .imagify-cross .dashicons{top:1px}}@media (max-width:782px){.imagify-flex-notice-content .imagify-notice-content .imagify-notice-quota{width:100%}.imagify-notice-quota-btn-container{text-align:center;width:100%}.imagify-notice-quota-btn-container .imagify-button{display:inline-block}}.imagify-notice-bulk-complete{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px 0}.imagify-notice-bulk-complete-logo{padding-right:12px} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/options.css b/wp/wp-content/plugins/imagify/assets/css/options.css new file mode 100644 index 00000000..ba91becf --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/options.css @@ -0,0 +1,968 @@ +.wrap.imagify-settings { + margin-right: 0; +} +.imagify-settings.imagify-have-rocket { + margin-right: 20px; +} + +/* The field that checks the API Key */ +#imagify-check-api-container { + display: block; + margin-top: 6px; + font-weight: bold; +} + +#imagify-check-api-container .dashicons { + font-size: 25px; +} + +#imagify-check-api-container .dashicons-no:before { + color: #f06e57; + vertical-align: -1px; +} + +#imagify-check-api-container .imagify-icon { + font-size: 1.8em; + margin-right: 3px; + margin-left: 1px; + color: #8BC34A; + vertical-align: -2px; +} + +.imagify-account-info-col .imagify-api-line { + padding: 22px 26px; + background: #343A49 +} + +.imagify-api-line label, +p.imagify-api-key-invite-title { + display: block; + margin-bottom: 6px; + font-size: 14px; + text-transform: uppercase; + letter-spacing: 0.02em; + font-weight: bold; + color: #343A49; +} +.imagify-account-info-col .imagify-api-line label { + color: #E5EBEF; + display: inline-block; +} +.imagify-api-line.imagify-api-line input[type="text"] { + width: 100%; + padding: 6px 10px; + border: 1px solid #40B1D0; + font-family: "PT Mono", "Consolas", monospace; + font-size: 14px; + letter-spacing: 0.01em; + font-weight: bold; + color: #40B1D0; + background: transparent; + box-shadow: none; +} + +.imagify-no-api-key .imagify-api-line { + margin: 3em 0 0 0; + padding: 2em 0 0; +} +.imagify-no-api-key .imagify-api-line input[type="text"] { + margin-top: 5px; + width: 400px; + max-width: 100%; +} +.imagify-settings .imagify-no-api-key div.submit.submit { + border: 0; + padding: 0 16px; + margin-top: 0; + background: #FFF; +} +.imagify-settings .imagify-no-api-key div.submit.submit p { + padding-bottom: 0; +} + +.imagify-options-title { + margin: .75em 0 0 0; + font-size: 24px; + letter-spacing: 0.02em; + font-weight: bold; + color: #343A49; +} + +.imagify-options-subtitle { + padding-bottom: .3em; + margin-bottom: 20px; + border-bottom: 1px solid #D2D3D6; + font-size: 14px; + letter-spacing: 0.01em; + font-weight: bold; + text-transform: uppercase; + color: #626E7B; +} + +.imagify-options-subtitle a { + font-size: 12px; + color: #338EA6; + text-transform: none; + letter-spacing: 0; +} + +.imagify-options-subtitle .imagify-info { + margin-left: 15px; +} + +.imagify-setting-line { + border-top: 1px solid #D2D3D6; + padding: 25px 0 13px; + margin: 1em 0; +} +.imagify-options-subtitle + .imagify-setting-line { + border-top: 0; + padding-top: 8px; +} + +/* 3 inlined buttons + Visual comparison */ +.imagify-setting-optim-level { + display: flex; + flex-wrap: wrap; + align-items: center; +} + +.imagify-setting-optim-level > p { + margin: 0; +} + +.imagify-setting-optim-level .imagify-info { + margin-top: 10px; +} + +.imagify-setting-optim-level .imagify-error { + margin: 10px 0 0 0; +} + +.imagify-setting-optim-level .imagify-error a { + color: #fff; +} + +.imagify-setting-optim-level .imagify-inline-options { + flex-basis: 60%; + flex-grow: 1; + width: auto; + display: flex; + background: #2E3243; + border-radius: 3px; +} +.imagify-setting-optim-level .imagify-inline-options-error { + background: #ccc; +} + +.imagify-setting-optim-level .imagify-inline-options label { + display: block !important; + width: 100%; + font-size: 14px !important; + border-radius: 3px!important; +} +.imagify-setting-optim-level .imagify-visual-comparison-text { + flex-basis: 40%; + flex-shrink: 1; + padding-left: 20px; + margin-top: 20px; + color: #626E7B; + box-sizing: border-box; +} +.imagify-setting-optim-level.imagify-setting-optim-level .imagify-visual-comparison-btn { + padding-top: 5px; + margin-top: 2px; + border-radius: 2px; + text-transform: none; + letter-spacing: 0; + text-shadow: none!important; +} + +/* TODO: maybe remove table lines, we don't use theme anymore… */ +@media (max-width: 782px) { + .imagify-settings .form-table th { + padding-top: 2em; + padding-bottom: .5em; + } +} +.imagify-settings .form-table td { + vertical-align: top; +} +.imagify-settings .form-table th span { + cursor: pointer; +} +.imagify-middle th { + padding-top: 35px; +} + +.imagify-settings div.submit.submit { + border-top: 1px solid #D9D9D9; + margin-top: 2em; + padding: 18px 0 7px 30px; +} +.imagify-settings .hidden + div.submit.submit { + margin-top: -1px; +} +.imagify-settings p.submit { + float: left; + margin-top: 0; +} +.imagify-settings p.submit .button { + margin: 0 5px; +} + +.imagify-sub-header th { + text-align: right; +} +.imagify-sub-header .form-table { + margin: 0; +} +.imagify-sub-header th, +.imagify-sub-header td { + padding-top: 0; + padding-bottom: 0; +} + +.imagify-sub-header [for="api_key"] { + padding-top: 5px; +} + +@media (max-width: 1120px) { + .imagify-settings .imagify-logo-block { + margin-right: 0; + } + .imagify-settings .imagify-rate-us.imagify-rate-us { + margin: 1em 0 -1em; + } +} + +.imagify-settings .imagify-rate-us { + margin-right: 25px; + margin-left: auto; +} + +/* Label & fake labels */ +label + .imagify-info, +.imagify-visual-label { + display: inline-block; + width: 550px; + max-width: calc(100% - 38px); + margin-left: 38px; + padding-right: 25px; +} +.imagify-options-line { + -webkit-transition: opacity .3s; + transition: opacity .3s; +} +label ~ .imagify-options-line { + display: block; + margin: 8px 0 20px 40px; + font-size: 14px; +} +.imagify-options-line + .imagify-info { + margin-left: 38px; +} +label + .imagify-info { + margin-top: 10px; +} +.imagify-options-line + .imagify-info + .imagify-options-line { + margin-top: 20px; +} +.imagify-visual-label { + vertical-align: -5px; +} +label[for="imagify_sizes_full"] + .imagify-info { + vertical-align: middle; +} + +.imagify-settings.imagify-settings [type="checkbox"]:not(:checked) + label ~ .imagify-options-line, +.imagify-settings.imagify-settings [type="checkbox"]:not(:checked) + label .imagify-visual-label, +:checked + label ~ .imagify-options-line :checked + label ~ .imagify-options-line .imagify-faded { + opacity: .5; +} +.imagify-settings.imagify-settings [type="checkbox"]:checked + label ~ .imagify-options-line, +.imagify-settings.imagify-settings [type="checkbox"]:checked + label .imagify-visual-label, +.imagify-settings.imagify-settings :not(:checked) + label ~ .imagify-options-line :not(:checked) + label ~ .imagify-options-line { + opacity: 1; +} + +.imagify-radio-group + .imagify-options-line { + display: block; + margin: 0 0 0 1.7em; + font-size: 14px; +} + +.imagify-checkbox-marged { + max-width: 500px; + margin-left: 45px; +} + +.imagify-settings [type="text"], +.imagify-settings [type="number"] { + width: 20em; + max-width: 100%; + height: auto; + padding: 6px; + margin: 0 6px; + border: 1px solid #8BA6B4; + box-shadow: none; + border-radius: 2px; + color: #338EA6; + font-weight: bold; +} +.imagify-settings [type="number"] { + width: 5em; +} +.imagify-settings ::-webkit-input-placeholder { + color: #B1B1B1; + font-weight: 400; +} +.imagify-settings ::-moz-placeholder { + color: #B1B1B1; + font-weight: 400; + opacity: 1; +} +.imagify-settings :-ms-input-placeholder { + color: #B1B1B1; + font-weight: 400; +} +.imagify-settings :-moz-placeholder { + color: #B1B1B1; + font-weight: 400; + opacity: 1; +} +.imagify-settings ::placeholder { + color: #B1B1B1; + font-weight: 400; +} + +.imagify-menu-bar-img { + box-sizing: border-box; + max-width: 100%; + width: 350px; + height: auto; + margin-top: 0; + border: 1px solid #8BA6B4; +} + +/* Layout */ +.imagify-col.imagify-main { + float: left; + width: calc(100% - 320px); + padding-left: 0; + padding-right: 0; +} +.imagify-have-rocket .imagify-main { + float: none; + width: 1265px; + max-width: 100%; +} +.imagify-sidebar { + float: left; + width: 300px; + max-width: 100%; +} + +/* Sidebar with Ads */ +.imagify-sidebar-section { + border: 1px solid #BBB; + background: #1F2332; +} +.imagify-sidebar-section + .imagify-sidebar-section { + margin-top: 2em; +} + +@media (max-width: 820px) { + .imagify-settings { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + } + .imagify-main { + width: auto; + float: none; + } + .imagify-sidebar { + order: 2; + float: none; + width: auto; + max-width: none; + margin-left: 0; + margin-top: 25px; + } + .wp-media-products { + text-align: center; + } + .wp-media-products li { + display: inline-block; + width: 100%; + max-width: 276px; + } +} +@media (min-width: 1400px) { + .imagify-main { + width: 74%; + } +} +.imagify-sidebar-section { + position: relative; + padding: 10px 20px; + text-align: center; + color: #F2F2F2; +} +.imagify-sidebar-close { + position: absolute; + top: 8px; + right: 12px; + text-decoration: none; +} +.imagify-sidebar-close i { + font-size: 2em; + color: rgba(255,255,255,.5); +} +p.imagify-sidebar-title { + margin: 1.2em 0 1.5em; + text-align: left; + color: #F56640; + text-transform: uppercase; + letter-spacing: 0.015em; + word-spacing: 0.015em; + font-weight: bold; +} +p.imagify-sidebar-description { + margin: 1.5em 0; + text-align: left; + font-weight: 500; + color: #F2F2F2; +} +.imagify-sidebar-description strong { + color: #39CE9A; +} +.imagify-rocket-cta-promo { + display: block; + padding: 8px 10px; + margin: 1.3em 0 .5em 0; + border: 2px dashed #F56640; + border-radius: 3px; + font-size: 18px; + font-weight: bold; + color: #F56640; +} +.imagify-rocket-cta-promo strong { + color: #F2F2F2; +} +a.btn-rocket { + display: block; + font-size: 15px; + padding: 10px 12px; + margin: 0 0 1.5em; + background: #F56640; + border-radius: 3px; + color: #F2F2F2; + text-transform: uppercase; + font-weight: bold; + text-decoration: none; +} +a.btn-rocket:hover, +a.btn-rocket:focus { + background: #AC2B15; +} + +.imagify-sidebar-section ul { + margin-top: 20px; +} + +.imagify-sidebar-section li { + position: relative; + margin: 1.2em 0; + padding-left: 25px; + text-align: left; +} +.imagify-sidebar-section li:before { + content: "✓"; + position: absolute; + left: 0; top: 0; + color: #39CE9A; + font-size: 18px; +} + +/* Menu in admin bar label exception */ +label[for="imagify_admin_bar_menu"], +label[for="imagify_partner_links"] { + font-weight: normal !important; + color: #626E7B !important; +} + +/* Select / Unselect all buttons */ +.imagify-select-all-buttons { + margin-top: 8px; +} +.imagify-link-like.imagify-select-all { + font-weight: bold; + font-size: 12px; + color: #3694AE; +} +.imagify-select-all.imagify-is-inactive { + color: inherit; + text-decoration: none; + cursor: default; +} + +/* Add Themes box */ +.imagify-fts-header { + padding: 10px 16px; + background: #343A49; + color: #FFF; +} +.imagify-fts-header i { + font-size: 1.8em; + margin-right: 12px; +} +.imagify-fts-header p { + margin: 0; + color: #FFF; +} +.imagify-fts-header strong, +#imagify-add-themes-to-custom-folder strong { + color: #40B1D0; + font-weight: bold; +} + +.imagify-fts-content { + padding: 16px; + background: #F4F7F9; + border: 1px solid #CDD0D4; + border-top: 0; +} + +.imagify-fts-content p { + margin-top: 0; +} + +.imagify-kindof-title { + margin-top: 2em; + padding: 0 0 10px 0; + border-bottom: 1px solid #D2D3D6; + justify-content: space-between; + font-weight: bold; +} +.imagify-settings .imagify-button-mini { + padding: 4px 13px 4px 10px; +} +.imagify-settings .imagify-button-mini .dashicons-plus { + vertical-align: -7.5px; +} +.imagify-settings .imagify-button-mini.imagify-button-primary:hover, +.imagify-settings .imagify-button-mini.imagify-button-primary:focus { + color: #FFF; +} + +p.imagify-custom-folder-line { + position: relative; + margin: 0; + padding: 12px 15px; + color: #4A5362; + font-weight: 500; + transition: all .75s; +} +.imagify-custom-folder-line.imagify-will-remove { + background: #C51162; + color: #FFF; + transform: translateX(-120px); + opacity: 0; +} +.imagify-custom-folder-line:first-child { + margin-top: -.5em; +} +.imagify-custom-folder-line + .imagify-custom-folder-line { + border-top: 1px solid #E9EFF2; +} + +.imagify-custom-folders-remove { + position: absolute; + right: 0; + top: 6px; + border: 0; + padding: 5px 10px 4px; + box-shadow: none; + color: #7A8996; + border-radius: 16px; + font-size: 13px; + line-height: 18px; + background: #FFF; + transition: all .275s; + cursor: pointer; +} +.imagify-custom-folders-remove-text { + max-width: 0; + overflow: hidden; + white-space: nowrap; + display: inline-block; + transform: scale(0); + opacity: 0; + transition: all .275s; +} +.imagify-custom-folders-remove:hover, +.imagify-custom-folders-remove:focus { + background: #D9EFF6; + color: #225E6E; +} +.imagify-custom-folders-remove:hover .imagify-custom-folders-remove-text, +.imagify-custom-folders-remove:focus .imagify-custom-folders-remove-text { + max-width: 6em; + transform: scale(1); + opacity: 1; +} + +/* Progress bar */ +.imagify-settings .progress { + height: 8px; + margin-top: 1em; + background: #343A49; +} +.imagify-settings .bar { + position: relative; + width: 1px; + height: 8px; + background: #46B1CE; + -webkit-transition: width .5s; + transition: width .5s; +} +.imagify-settings .percent { + position: absolute; + top: 6px; + right: 0; + padding: 0 5px; + line-height: 1.85; + font-size: 14px; + font-weight: bold; + color: #40B1D0; +} + +/* Icon rotation */ +.dashicons.rotate { + -webkit-animation: icon-rotate 2.6s infinite linear; + animation: icon-rotate 2.6s infinite linear; +} + +@-webkit-keyframes icon-rotate { + from { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + to { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes icon-rotate { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} + +/* Files tree Part */ +.imagify-add-custom-folder + .imagify-loader { + display: none; + vertical-align: middle; +} +.imagify-add-custom-folder[disabled] + .imagify-loader { + display: inline-block; +} + +.imagify-folders-information { + position: relative; + margin: -5px 0 20px 0; + padding: 10px 10px 10px 40px; + text-align: left; + background: #F2F2F2; +} +.imagify-folders-information i { + position: absolute; + left: 10px; + top: 50%; + margin-top: -10px; +} + +/* Tree */ +.imagify-folders-tree { + margin: 0; + text-align: left; +} +.imagify-folders-tree li { + clear: left; +} +.imagify-folders-tree .imagify-folder { + box-sizing: border-box; + position: relative; + width: 48px; + z-index: 2; + float: left; + margin-top: -3px; + padding: 0 8px 0 0; + border: 0; + background: transparent!important; + box-shadow: none; + cursor: pointer; + transition: all .275s; +} +.imagify-folders-tree span.imagify-folder { + padding-left: 1.5px; +} +.imagify-folders-tree .imagify-folder:before { + content: "+"; + display: inline-block; + width: 13px; + height: 21px; + font-size: 1.5em; + vertical-align: .15em; +} +.imagify-folders-tree span.imagify-folder:before { + content: ''; +} +.imagify-folders-tree .imagify-folder-icon path { + transition: all .275s; +} +.imagify-folders-tree .imagify-is-open .imagify-folder-icon path { + stroke: #7A8996; +} +.imagify-folders-tree .imagify-is-open.imagify-folder:before { + content: "-"; + color: #7A8996; +} +.imagify-folders-tree .imagify-is-open ~ label { + color: #7A8996; +} +.imagify-folders-tree .imagify-folder.imagify-loading:before, +.imagify-folders-tree .imagify-folder .imagify-loader { + display: none; +} +.imagify-folders-tree .imagify-folder.imagify-loading .imagify-loader { + display: inline-block; + width: 13px; + height: 21px; + font-size: 1.5em; + vertical-align: .15em; +} +.imagify-folders-tree .imagify-folder.imagify-loading .imagify-loader img { + display: inline-block; + width: 100%; + height: auto; + vertical-align: middle; +} + +.imagify-folders-tree button.imagify-folder:hover, +.imagify-folders-tree button.imagify-folder:focus, +.imagify-folders-tree button.imagify-folder:hover path, +.imagify-folders-tree button.imagify-folder:focus path { + color: #3694AE; + stroke: #3694AE; +} + +.imagify-folders-tree .imagify-folder:disabled, +.imagify-folders-tree .imagify-folder.disabled { + color: rgb(127, 127, 127); +} +.imagify-swal-content .imagify-folders-tree label { + position: relative; + display: block; + width: 100%; + padding: 3px 0; + font-size: 15px; + font-weight: 500; + vertical-align: top; + transition: all .475s; +} +.imagify-swal-content .imagify-folders-tree label:hover, +.imagify-folders-tree input:focus + label { + background: #F4F7F9; +} + +.imagify-folders-tree .imagify-folder-already-selected label, +.imagify-folders-tree .imagify-folder-already-selected label:hover, +.imagify-folders-tree .imagify-folder-already-selected input:focus + label { + background: #40B1D0; + color: #FFF; + border-radius: 3px; + cursor: default; +} +.imagify-folders-tree .imagify-folder-already-selected button, +.imagify-folders-tree .imagify-folder-already-selected button path { + color: #FFF; + stroke: #FFF; + cursor: default; +} +.imagify-folders-tree .imagify-folder-already-selected button:hover path, +.imagify-folders-tree .imagify-folder-already-selected button:focus path { + stroke: #FFF; +} +.imagify-folders-tree .imagify-folder-already-selected button:before { + content: ''; +} + +/* Add Folder fake checkbox */ +.imagify-add-ed-folder { + position: absolute; + top: 0; + bottom: 0; + right: 0; + font-size: 11px; + text-transform: uppercase; + letter-spacing: 0.02em; + word-spacing: 0.02em; + color: #3694AE; + background: #F4F7F9; + opacity: 0; + transform: translateX(15px); + transition: all .275s; +} +label:hover .imagify-add-ed-folder, +input:focus + label .imagify-add-ed-folder, +input:checked + label .imagify-add-ed-folder, +.imagify-folder-already-selected .imagify-add-ed-folder { + opacity: 1; + transform: translateX(0); +} +input:checked + label .imagify-add-ed-folder { + background: #FFF; +} +input:checked:focus + label .imagify-add-ed-folder, +input:checked + label:hover .imagify-add-ed-folder { + background: #F4F7F9; +} +.imagify-folder-already-selected .imagify-add-ed-folder { + background: #40B1D0; + color: #FFF; +} +.imagify-fake-checkbox { + position: relative; + display: inline-block; + width: 14px; + height: 14px; + margin: 3.5px 15px 0 5px; + border: 1.5px solid #3694AE; + border-radius: 3px; + vertical-align: -4px; +} +.imagify-fake-checkbox:after { + position: absolute; + left: 1px; + top: 0; + content: "✓"; + color: #3694AE; + font-size: 14px; + line-height: .9; + font-style: normal; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + opacity: 0; + transform: scale(0); + transition: all .475s; +} +input:checked + label .imagify-fake-checkbox:after, +.imagify-folder-already-selected .imagify-fake-checkbox:after { + opacity: 1; + transform: scale(1); +} +.imagify-folder-already-selected .imagify-fake-checkbox { + border-color: #40B1D0; +} +.imagify-folder-already-selected .imagify-fake-checkbox:after { + color: #FFF; +} + +/* Sub Trees */ +.imagify-folders-sub-tree { + position: relative; + margin-left: .75em; + padding-top: .6em; + padding-left: 1em; + border-left: 1px dotted rgba(98, 110, 123, .3); +} +.imagify-folders-sub-tree li { + position: relative; + margin-bottom: 4px; +} +.imagify-folders-sub-tree li:before { + content: ""; + position: absolute; + top: 12px; + left: -1em; + height: 1px; + width: 0.9em; + border-top: 1px dotted rgba(98, 110, 123, .3); +} +.imagify-folders-sub-tree li:last-child:after { + content: ""; + position: absolute; + left: -1.1em; + bottom: 0; + height: 11px; + width: 3px; + background: #FFF; +} + +.imagify-empty-folder { + margin-top: -.5em; +} +.imagify-empty-folder em { + font-size: 12px; + font-weight: 500; + color: #A2AFBC; +} +@media (max-width: 782px) { + .imagify-settings.imagify-have-rocket { + margin-right: 10px; + } + + label + .imagify-info, .imagify-visual-label { + max-width: calc(100% - 65px); + padding-right: 0; + } + + .imagify-options-title { + font-size: 22px; + } + + .imagify-user-plan-label { + margin-right: -5px; + } + + .imagify-col.imagify-main { + width:100%; + padding-right: 10px; + } + .imagify-col + .imagify-col{ + padding:0px 10px 0px 0px; + } + .imagify-no-api-key .imagify-api-line input[type="text"]{ + margin-left: 0; + } +} +@media (max-width: 513px) { + .imagify-setting-optim-level .imagify-visual-comparison-text{ + margin-top: 20px; + } +} + +.imagify-col-content .imagify-space-left { + margin: 15px 30px 15px 0; +} + +.imagify-col-content .imagify-space-left p { + margin: 0 0 10px 0; + font-size: 19px; + font-weight: 500; + color: #343A49; +} + +.imagify-col-content .imagify-meteo-icon { + height: 64px; + margin: 15px 15px 15px 0; +} diff --git a/wp/wp-content/plugins/imagify/assets/css/options.min.css b/wp/wp-content/plugins/imagify/assets/css/options.min.css new file mode 100644 index 00000000..cdc5304f --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/options.min.css @@ -0,0 +1 @@ +.wrap.imagify-settings{margin-right:0}.imagify-settings.imagify-have-rocket{margin-right:20px}#imagify-check-api-container{display:block;margin-top:6px;font-weight:700}#imagify-check-api-container .dashicons{font-size:25px}#imagify-check-api-container .dashicons-no:before{color:#f06e57;vertical-align:-1px}#imagify-check-api-container .imagify-icon{font-size:1.8em;margin-right:3px;margin-left:1px;color:#8bc34a;vertical-align:-2px}.imagify-account-info-col .imagify-api-line{padding:22px 26px;background:#343a49}.imagify-api-line label,p.imagify-api-key-invite-title{display:block;margin-bottom:6px;font-size:14px;text-transform:uppercase;letter-spacing:.02em;font-weight:700;color:#343a49}.imagify-account-info-col .imagify-api-line label{color:#e5ebef;display:inline-block}.imagify-api-line.imagify-api-line input[type=text]{width:100%;padding:6px 10px;border:1px solid #40b1d0;font-family:"PT Mono",Consolas,monospace;font-size:14px;letter-spacing:.01em;font-weight:700;color:#40b1d0;background:0 0;-webkit-box-shadow:none;box-shadow:none}.imagify-no-api-key .imagify-api-line{margin:3em 0 0 0;padding:2em 0 0}.imagify-no-api-key .imagify-api-line input[type=text]{margin-top:5px;width:400px;max-width:100%}.imagify-settings .imagify-no-api-key div.submit.submit{border:0;padding:0 16px;margin-top:0;background:#fff}.imagify-settings .imagify-no-api-key div.submit.submit p{padding-bottom:0}.imagify-options-title{margin:.75em 0 0 0;font-size:24px;letter-spacing:.02em;font-weight:700;color:#343a49}.imagify-options-subtitle{padding-bottom:.3em;margin-bottom:20px;border-bottom:1px solid #d2d3d6;font-size:14px;letter-spacing:.01em;font-weight:700;text-transform:uppercase;color:#626e7b}.imagify-options-subtitle a{font-size:12px;color:#338ea6;text-transform:none;letter-spacing:0}.imagify-options-subtitle .imagify-info{margin-left:15px}.imagify-setting-line{border-top:1px solid #d2d3d6;padding:25px 0 13px;margin:1em 0}.imagify-options-subtitle+.imagify-setting-line{border-top:0;padding-top:8px}.imagify-setting-optim-level{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-setting-optim-level>p{margin:0}.imagify-setting-optim-level .imagify-info{margin-top:10px}.imagify-setting-optim-level .imagify-error{margin:10px 0 0 0}.imagify-setting-optim-level .imagify-error a{color:#fff}.imagify-setting-optim-level .imagify-inline-options{-ms-flex-preferred-size:60%;flex-basis:60%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto;display:-webkit-box;display:-ms-flexbox;display:flex;background:#2e3243;border-radius:3px}.imagify-setting-optim-level .imagify-inline-options-error{background:rgba(46,50,67,.5)}.imagify-setting-optim-level .imagify-inline-options label{display:block!important;width:100%;font-size:14px!important;border-radius:3px!important}.imagify-setting-optim-level .imagify-visual-comparison-text{-ms-flex-preferred-size:40%;flex-basis:40%;-ms-flex-negative:1;flex-shrink:1;padding-left:20px;margin-top:20px;color:#626e7b;-webkit-box-sizing:border-box;box-sizing:border-box}.imagify-setting-optim-level.imagify-setting-optim-level .imagify-visual-comparison-btn{padding-top:5px;margin-top:2px;border-radius:2px;text-transform:none;letter-spacing:0;text-shadow:none!important}@media (max-width:782px){.imagify-settings .form-table th{padding-top:2em;padding-bottom:.5em}}.imagify-settings .form-table td{vertical-align:top}.imagify-settings .form-table th span{cursor:pointer}.imagify-middle th{padding-top:35px}.imagify-settings div.submit.submit{border-top:1px solid #d9d9d9;margin-top:2em;padding:18px 0 7px 30px}.imagify-settings .hidden+div.submit.submit{margin-top:-1px}.imagify-settings p.submit{float:left;margin-top:0}.imagify-settings p.submit .button{margin:0 5px}.imagify-sub-header th{text-align:right}.imagify-sub-header .form-table{margin:0}.imagify-sub-header td,.imagify-sub-header th{padding-top:0;padding-bottom:0}.imagify-sub-header [for=api_key]{padding-top:5px}@media (max-width:1120px){.imagify-settings .imagify-logo-block{margin-right:0}.imagify-settings .imagify-rate-us.imagify-rate-us{margin:1em 0 -1em}}.imagify-settings .imagify-rate-us{margin-right:25px;margin-left:auto}.imagify-visual-label,label+.imagify-info{display:inline-block;width:550px;max-width:calc(100% - 38px);margin-left:38px;padding-right:25px}.imagify-options-line{-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}label~.imagify-options-line{display:block;margin:8px 0 20px 40px;font-size:14px}.imagify-options-line+.imagify-info{margin-left:38px}label+.imagify-info{margin-top:10px}.imagify-options-line+.imagify-info+.imagify-options-line{margin-top:20px}.imagify-visual-label{vertical-align:-5px}label[for=imagify_sizes_full]+.imagify-info{vertical-align:middle}.imagify-settings.imagify-settings [type=checkbox]:not(:checked)+label .imagify-visual-label,.imagify-settings.imagify-settings [type=checkbox]:not(:checked)+label~.imagify-options-line,:checked+label~.imagify-options-line :checked+label~.imagify-options-line .imagify-faded{opacity:.5}.imagify-settings.imagify-settings :not(:checked)+label~.imagify-options-line :not(:checked)+label~.imagify-options-line,.imagify-settings.imagify-settings [type=checkbox]:checked+label .imagify-visual-label,.imagify-settings.imagify-settings [type=checkbox]:checked+label~.imagify-options-line{opacity:1}.imagify-radio-group+.imagify-options-line{display:block;margin:0 0 0 1.7em;font-size:14px}.imagify-checkbox-marged{max-width:500px;margin-left:45px}.imagify-settings [type=number],.imagify-settings [type=text]{width:20em;max-width:100%;height:auto;padding:6px;margin:0 6px;border:1px solid #8ba6b4;-webkit-box-shadow:none;box-shadow:none;border-radius:2px;color:#338ea6;font-weight:700}.imagify-settings [type=number]{width:5em}.imagify-settings ::-webkit-input-placeholder{color:#b1b1b1;font-weight:400}.imagify-settings ::-moz-placeholder{color:#b1b1b1;font-weight:400;opacity:1}.imagify-settings :-ms-input-placeholder{color:#b1b1b1;font-weight:400}.imagify-settings :-moz-placeholder{color:#b1b1b1;font-weight:400;opacity:1}.imagify-settings ::-ms-input-placeholder{color:#b1b1b1;font-weight:400}.imagify-settings ::placeholder{color:#b1b1b1;font-weight:400}.imagify-menu-bar-img{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;width:350px;height:auto;margin-top:0;border:1px solid #8ba6b4}.imagify-col.imagify-main{float:left;width:calc(100% - 320px);padding-left:0;padding-right:0}.imagify-have-rocket .imagify-main{float:none;width:1265px;max-width:100%}.imagify-sidebar{float:left;width:300px;max-width:100%}.imagify-sidebar-section{border:1px solid #bbb;background:#1f2332}.imagify-sidebar-section+.imagify-sidebar-section{margin-top:2em}@media (max-width:820px){.imagify-settings{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.imagify-main{width:auto;float:none}.imagify-sidebar{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;float:none;width:auto;max-width:none;margin-left:0;margin-top:25px}.wp-media-products{text-align:center}.wp-media-products li{display:inline-block;width:100%;max-width:276px}}@media (min-width:1400px){.imagify-main{width:74%}}.imagify-sidebar-section{position:relative;padding:10px 20px;text-align:center;color:#f2f2f2}.imagify-sidebar-close{position:absolute;top:8px;right:12px;text-decoration:none}.imagify-sidebar-close i{font-size:2em;color:rgba(255,255,255,.5)}p.imagify-sidebar-title{margin:1.2em 0 1.5em;text-align:left;color:#f56640;text-transform:uppercase;letter-spacing:.015em;word-spacing:0.015em;font-weight:700}p.imagify-sidebar-description{margin:1.5em 0;text-align:left;font-weight:500;color:#f2f2f2}.imagify-sidebar-description strong{color:#39ce9a}.imagify-rocket-cta-promo{display:block;padding:8px 10px;margin:1.3em 0 .5em 0;border:2px dashed #f56640;border-radius:3px;font-size:18px;font-weight:700;color:#f56640}.imagify-rocket-cta-promo strong{color:#f2f2f2}a.btn-rocket{display:block;font-size:15px;padding:10px 12px;margin:0 0 1.5em;background:#f56640;border-radius:3px;color:#f2f2f2;text-transform:uppercase;font-weight:700;text-decoration:none}a.btn-rocket:focus,a.btn-rocket:hover{background:#ac2b15}.imagify-sidebar-section ul{margin-top:20px}.imagify-sidebar-section li{position:relative;margin:1.2em 0;padding-left:25px;text-align:left}.imagify-sidebar-section li:before{content:"✓";position:absolute;left:0;top:0;color:#39ce9a;font-size:18px}label[for=imagify_admin_bar_menu],label[for=imagify_partner_links]{font-weight:400!important;color:#626e7b!important}.imagify-select-all-buttons{margin-top:8px}.imagify-link-like.imagify-select-all{font-weight:700;font-size:12px;color:#3694ae}.imagify-select-all.imagify-is-inactive{color:inherit;text-decoration:none;cursor:default}.imagify-fts-header{padding:10px 16px;background:#343a49;color:#fff}.imagify-fts-header i{font-size:1.8em;margin-right:12px}.imagify-fts-header p{margin:0;color:#fff}#imagify-add-themes-to-custom-folder strong,.imagify-fts-header strong{color:#40b1d0;font-weight:700}.imagify-fts-content{padding:16px;background:#f4f7f9;border:1px solid #cdd0d4;border-top:0}.imagify-fts-content p{margin-top:0}.imagify-kindof-title{margin-top:2em;padding:0 0 10px 0;border-bottom:1px solid #d2d3d6;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-weight:700}.imagify-settings .imagify-button-mini{padding:4px 13px 4px 10px}.imagify-settings .imagify-button-mini .dashicons-plus{vertical-align:-7.5px}.imagify-settings .imagify-button-mini.imagify-button-primary:focus,.imagify-settings .imagify-button-mini.imagify-button-primary:hover{color:#fff}p.imagify-custom-folder-line{position:relative;margin:0;padding:12px 15px;color:#4a5362;font-weight:500;-webkit-transition:all .75s;-o-transition:all .75s;transition:all .75s}.imagify-custom-folder-line.imagify-will-remove{background:#c51162;color:#fff;-webkit-transform:translateX(-120px);-ms-transform:translateX(-120px);transform:translateX(-120px);opacity:0}.imagify-custom-folder-line:first-child{margin-top:-.5em}.imagify-custom-folder-line+.imagify-custom-folder-line{border-top:1px solid #e9eff2}.imagify-custom-folders-remove{position:absolute;right:0;top:6px;border:0;padding:5px 10px 4px;-webkit-box-shadow:none;box-shadow:none;color:#7a8996;border-radius:16px;font-size:13px;line-height:18px;background:#fff;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s;cursor:pointer}.imagify-custom-folders-remove-text{max-width:0;overflow:hidden;white-space:nowrap;display:inline-block;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);opacity:0;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-custom-folders-remove:focus,.imagify-custom-folders-remove:hover{background:#d9eff6;color:#225e6e}.imagify-custom-folders-remove:focus .imagify-custom-folders-remove-text,.imagify-custom-folders-remove:hover .imagify-custom-folders-remove-text{max-width:6em;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:1}.imagify-settings .progress{height:8px;margin-top:1em;background:#343a49}.imagify-settings .bar{position:relative;width:1px;height:8px;background:#46b1ce;-webkit-transition:width .5s;-o-transition:width .5s;transition:width .5s}.imagify-settings .percent{position:absolute;top:6px;right:0;padding:0 5px;line-height:1.85;font-size:14px;font-weight:700;color:#40b1d0}.dashicons.rotate{-webkit-animation:icon-rotate 2.6s infinite linear;animation:icon-rotate 2.6s infinite linear}@-webkit-keyframes icon-rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes icon-rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.imagify-add-custom-folder+.imagify-loader{display:none;vertical-align:middle}.imagify-add-custom-folder[disabled]+.imagify-loader{display:inline-block}.imagify-folders-information{position:relative;margin:-5px 0 20px 0;padding:10px 10px 10px 40px;text-align:left;background:#f2f2f2}.imagify-folders-information i{position:absolute;left:10px;top:50%;margin-top:-10px}.imagify-folders-tree{margin:0;text-align:left}.imagify-folders-tree li{clear:left}.imagify-folders-tree .imagify-folder{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;width:48px;z-index:2;float:left;margin-top:-3px;padding:0 8px 0 0;border:0;background:0 0!important;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-folders-tree span.imagify-folder{padding-left:1.5px}.imagify-folders-tree .imagify-folder:before{content:"+";display:inline-block;width:13px;height:21px;font-size:1.5em;vertical-align:.15em}.imagify-folders-tree span.imagify-folder:before{content:''}.imagify-folders-tree .imagify-folder-icon path{-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-folders-tree .imagify-is-open .imagify-folder-icon path{stroke:#7A8996}.imagify-folders-tree .imagify-is-open.imagify-folder:before{content:"-";color:#7a8996}.imagify-folders-tree .imagify-is-open~label{color:#7a8996}.imagify-folders-tree .imagify-folder .imagify-loader,.imagify-folders-tree .imagify-folder.imagify-loading:before{display:none}.imagify-folders-tree .imagify-folder.imagify-loading .imagify-loader{display:inline-block;width:13px;height:21px;font-size:1.5em;vertical-align:.15em}.imagify-folders-tree .imagify-folder.imagify-loading .imagify-loader img{display:inline-block;width:100%;height:auto;vertical-align:middle}.imagify-folders-tree button.imagify-folder:focus,.imagify-folders-tree button.imagify-folder:focus path,.imagify-folders-tree button.imagify-folder:hover,.imagify-folders-tree button.imagify-folder:hover path{color:#3694ae;stroke:#3694AE}.imagify-folders-tree .imagify-folder.disabled,.imagify-folders-tree .imagify-folder:disabled{color:#7f7f7f}.imagify-swal-content .imagify-folders-tree label{position:relative;display:block;width:100%;padding:3px 0;font-size:15px;font-weight:500;vertical-align:top;-webkit-transition:all .475s;-o-transition:all .475s;transition:all .475s}.imagify-folders-tree input:focus+label,.imagify-swal-content .imagify-folders-tree label:hover{background:#f4f7f9}.imagify-folders-tree .imagify-folder-already-selected input:focus+label,.imagify-folders-tree .imagify-folder-already-selected label,.imagify-folders-tree .imagify-folder-already-selected label:hover{background:#40b1d0;color:#fff;border-radius:3px;cursor:default}.imagify-folders-tree .imagify-folder-already-selected button,.imagify-folders-tree .imagify-folder-already-selected button path{color:#fff;stroke:#FFF;cursor:default}.imagify-folders-tree .imagify-folder-already-selected button:focus path,.imagify-folders-tree .imagify-folder-already-selected button:hover path{stroke:#FFF}.imagify-folders-tree .imagify-folder-already-selected button:before{content:''}.imagify-add-ed-folder{position:absolute;top:0;bottom:0;right:0;font-size:11px;text-transform:uppercase;letter-spacing:.02em;word-spacing:0.02em;color:#3694ae;background:#f4f7f9;opacity:0;-webkit-transform:translateX(15px);-ms-transform:translateX(15px);transform:translateX(15px);-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-folder-already-selected .imagify-add-ed-folder,input:checked+label .imagify-add-ed-folder,input:focus+label .imagify-add-ed-folder,label:hover .imagify-add-ed-folder{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}input:checked+label .imagify-add-ed-folder{background:#fff}input:checked+label:hover .imagify-add-ed-folder,input:checked:focus+label .imagify-add-ed-folder{background:#f4f7f9}.imagify-folder-already-selected .imagify-add-ed-folder{background:#40b1d0;color:#fff}.imagify-fake-checkbox{position:relative;display:inline-block;width:14px;height:14px;margin:3.5px 15px 0 5px;border:1.5px solid #3694ae;border-radius:3px;vertical-align:-4px}.imagify-fake-checkbox:after{position:absolute;left:1px;top:0;content:"✓";color:#3694ae;font-size:14px;line-height:.9;font-style:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;opacity:0;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transition:all .475s;-o-transition:all .475s;transition:all .475s}.imagify-folder-already-selected .imagify-fake-checkbox:after,input:checked+label .imagify-fake-checkbox:after{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.imagify-folder-already-selected .imagify-fake-checkbox{border-color:#40b1d0}.imagify-folder-already-selected .imagify-fake-checkbox:after{color:#fff}.imagify-folders-sub-tree{position:relative;margin-left:.75em;padding-top:.6em;padding-left:1em;border-left:1px dotted rgba(98,110,123,.3)}.imagify-folders-sub-tree li{position:relative;margin-bottom:4px}.imagify-folders-sub-tree li:before{content:"";position:absolute;top:12px;left:-1em;height:1px;width:.9em;border-top:1px dotted rgba(98,110,123,.3)}.imagify-folders-sub-tree li:last-child:after{content:"";position:absolute;left:-1.1em;bottom:0;height:11px;width:3px;background:#fff}.imagify-empty-folder{margin-top:-.5em}.imagify-empty-folder em{font-size:12px;font-weight:500;color:#a2afbc}@media (max-width:782px){.imagify-settings.imagify-have-rocket{margin-right:10px}.imagify-visual-label,label+.imagify-info{max-width:calc(100% - 65px);padding-right:0}.imagify-options-title{font-size:22px}.imagify-user-plan-label{margin-right:-5px}.imagify-col.imagify-main{width:100%;padding-right:10px}.imagify-col+.imagify-col{padding:0 10px 0 0}.imagify-no-api-key .imagify-api-line input[type=text]{margin-left:0}}@media (max-width:513px){.imagify-setting-optim-level .imagify-visual-comparison-text{margin-top:20px}}.imagify-col-content .imagify-space-left{margin:15px 30px 15px 0}.imagify-col-content .imagify-space-left p{margin:0 0 10px 0;font-size:19px;font-weight:500;color:#343a49}.imagify-col-content .imagify-meteo-icon{height:64px;margin:15px 15px 15px 0} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/pricing-modal.css b/wp/wp-content/plugins/imagify/assets/css/pricing-modal.css new file mode 100644 index 00000000..02b0fe88 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/pricing-modal.css @@ -0,0 +1,1340 @@ +/* Flexbox re-groups */ +.imagify-modal-cols, +.imagify-border-styled, +.imagify-offer-header, +.imagify-payment-modal .imagify-modal-content, +.imagify-flex-table, +.imagify-tabs { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} +.imagify-modal-cols, +.imagify-border-styled { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.imagify-payment-modal { + text-align: center; + color: #7A8996; +} +.imagify-payment-modal * { + box-sizing: border-box; +} +.imagify-modal-loader { + position: absolute; + top: 0; left: 0; right: 0; bottom: 0; + background: #fff url('../images/loader-balls.svg') center no-repeat; + z-index: 10; +} +.imagify-payment-modal .imagify-modal-content { + width: 980px; + max-width: 100%; + min-width: 925px; + padding: 0; +} +.imagify-modal-content.imagify-iframe-viewing { + width: 980px; + height: 672px; + overflow: hidden; +} +.imagify-iframe-viewing #imagify-payment-process-view { + width: 980px; + height: 668px; +} +.imagify-payment-modal .imagify-modal-main { + width: 70%; +} +.imagify-iframe-viewing .imagify-modal-main { + width: auto; +} +.imagify-payment-modal .imagify-modal-content.imagify-success-viewing { + min-width: auto; + width: 450px; + min-height: 300px; +} +.imagify-success-viewing .imagify-modal-main { + width: 100%; +} +.imagify-payment-modal .imagify-modal-sidebar { + width: 30%; + padding: 15px 20px; + background: #1F2332; + color: #FFF; +} +.imagify-modal-content.imagify-iframe-viewing .imagify-modal-sidebar, +.imagify-modal-content.imagify-success-viewing .imagify-modal-sidebar { + display: none; +} +.imagify-modal-section { + padding: 0 25px; +} +.imagify-modal-section.section-gray { + margin: 0 0 1em; + padding: 10px 25px 15px; + background: #F6F7FB; +} +.imagify-tabs-contents .section-gray { + padding: 8px 25px 10px; +} +.imagify-modal-section .imagify-modal-title:first-child { + margin-top: 1em; + margin-bottom: 1.5em; +} +.imagify-modal-section.section-gray .imagify-modal-title { + margin-top: .5em; + margin-bottom: .5em; +} +.imagify-modal-title { + font-size: 1.8em; +} +.imagify-modal-title .imagify-inner-sub-title { + display: block; + font-size: .56em; +} +.imagify-analyzing .imagify-numbers-calc, +.imagify-numbers-notcalc, +.imagify-modal-section.imagify-analyzing .imagify-modal-cols, +.imagify-modal-section .imagify-loader { + display: none; +} +.imagify-analyzing .imagify-numbers-notcalc, +.imagify-modal-section.imagify-analyzing .imagify-loader { + display: block; +} +.imagify-modal-section .imagify-loader { + margin: 2em auto; +} + +.imagify-border-styled { + width: 200px; + margin: 0 auto; + color: #8BC34A; + font-weight: bold; + font-size: 0.925em; +} +.imagify-border-styled:before, +.imagify-border-styled:after { + content: ""; + height: 1px; + background: rgba(0,0,0,.1); + -webkit-flex-basis: 40px; + -ms-flex-preferred-size: 40px; + flex-basis: 40px; +} +.imagify-border-styled:before { + margin-right: 5px; +} +.imagify-border-styled:after { + margin-left: 5px; +} +.imagify-big-number { + font-size: 3.7em; + font-weight: bold; + margin: -3px 0; + color: #4A4A4A; + line-height: 1; +} +.imagify-payment-modal strong { + font-weight: bold; + color: #4A4A4A; +} + +.imagify-popin-message { + padding: 5px 15px; + text-align: left; +} +.imagify-popin-message.imagify-error p { + color: #FFF; +} + +.imagify-small-options { + width: 300px; + margin: 1em auto .5em; + background: #338EA6; + border-radius: 4px; +} + +.imagify-small-options input[type="radio"]:not(:checked) + label, +.imagify-small-options input[type="radio"]:checked + label { + padding: 8px 10px; + font-size: 13px; + color: #FFF; + box-shadow: none; + border-left: 0; +} + +.imagify-small-options input[type="radio"]:not(:checked) + label { + background: #338EA6; + color: rgba(255, 255, 255, .4); +} +.imagify-small-options input[type="radio"]:checked + label { + background: #40B1D0; +} + +.imagify-cols:after { + content: ""; + display: table; + clear: both; +} + +.js .imagify-iframe-viewing .close-btn { + display: none; +} + +.imagify-modal .imagify-cols { + padding: 0 20px; +} +.imagify-payment-modal .imagify-iconed { + margin: 1.5em 5em 1.5em 0; +} + + +.imagify-iconed { + position: relative; + text-align: left; + padding-left: 42px; + margin-right: 15px; + font-weight: 500; +} +.imagify-iconed .dashicons, +.imagify-iconed .icon { + position: absolute; + font-size: 2em; + left: 0; top: 2px; + color: #40B1D0; +} +.imagify-payment-modal .close-btn { + top: 10px; + right: 10px; + width: 24px; + height: 24px; + padding: 2px 0 0 4.5px; /* Safari iOS bug fix */ + color: #FFF; + background: #40B1D0; + border-radius: 50%; + -webkit-transition: all .275s; + transition: all .275s; +} +.imagify-payment-modal .close-btn i { + margin-left: -3.5px; + margin-top: -0.5px; +} +.imagify-payment-modal .close-btn:hover { + background: #F6F7FB; +} + +/* OFFERS */ +.imagify-offer-line { + margin-top: 1.5em; +} +.imagify-offer-line + .imagify-offer-line { + margin-top: 0.75em; +} +.imagify-offer-header { + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 0 0 0 15px; + border-radius: 4px 4px 0 0; + -webkit-transition: all .275s; + transition: all .275s; +} +.imagify-offer-header.imagify-offer-header.imagify-offer-header .imagify-inline-options label:last-child { + border-radius: 0 4px 0 0; +} +.imagify-offer-header .imagify-inline-options { + width: auto; +} +.imagify-offer-title { + font-weight: bold; + margin: 0; +} +.imagify-offer-header, +.imagify-offer-header .imagify-inline-options input[type="radio"]:not(:checked) + label { + background: #E5EBEF; +} +.imagify-offer-onetime .imagify-offer-header { + padding-top:8px; + padding-bottom: 8px; +} +.imagify-offer-onetimes > div { + padding-top: 15px; + padding-bottom: 15px; +} +.imagify-offer-header .imagify-inline-options input[type="radio"]:not(:checked) + label, +.imagify-offer-header .imagify-inline-options input[type="radio"]:checked + label { + position: relative; + padding: 7px 30px; + font-size: 1em; + letter-spacing: 0.05em; + color: inherit; + box-shadow: 0 0 0; + border-radius: 0; +} +.imagify-offer-header .imagify-inline-options input[type="radio"]:checked + label { + background: #F6F7FB; +} + +.imagify-2-free { + position: absolute; + bottom: 100%; left: 0; right: 0; + padding: 2px 10px; + margin-bottom: 8px; + font-size: 0.8em; + letter-spacing: 0; + text-transform: none; + text-align: center; + color: #FFF; + background: #10121A; + border-radius: 2px; +} +.imagify-2-free:after { + content: ""; + position: absolute; + left: 50%; bottom: -3px; + margin-left: -3px; + border-top: 3px solid #10121A; + border-left: 3px solid transparent; + border-right: 3px solid transparent; +} +/* right position */ +.imagify-2-free.imagify-b-right { + bottom: auto; + left: 100%; right: -100%; + margin-bottom: 0; + margin-left: 8px; +} +.imagify-2-free.imagify-b-right:after { + left: -3px; bottom: auto; top: 50%; + margin-top: -3px; margin-left: 0; + border-right: 3px solid #10121A; + border-top: 3px solid transparent; + border-bottom: 3px solid transparent; + border-left: 0; +} + +/* bottom position */ +.imagify-2-free.imagify-b-bottom { + bottom: -100%; + left: 0; right: 0; + margin-top: 8px; +} + +.imagify-2-free.imagify-b-bottom:after { + top: -3px; bottom: auto; + border-bottom: 3px solid #10121A; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-top: 0; +} + +.imagify-offer-content { + text-align: left; + background: #F6F7FB; + border-radius: 0 0 4px 4px; + -webkit-transition: all .275s; + transition: all .275s; +} +.imagify-offer-onetime .imagify-offer-content { + padding: 10px 0; +} + +/* Checkboxes adjustment */ +div.imagify-col-checkbox { + position: relative; + width: 25.5%; + padding-top: 10px; + padding-bottom: 7px; +} +.imagify-col-checkbox label { + display: block; +} +.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:not(:checked), +.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:checked { + position: absolute; + top: 50%; left: 6px; + margin: -8px 0 0 0; +} +.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:not(:checked) + label:before, +.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:checked + label:before { + margin: 0; + top: -2px; + left: 6px; + -webkit-transition: all .275s; + transition: all .275s; +} +.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:not(:checked) + label:after, +.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:checked + label:after { + top: 1px; + left: 13px; +} +.imagify-col-checkbox label { + padding-left: 55px!important; +} + +/* Offer col */ +.imagify-offer-size { + font-size: 30px; + color: #2E3243; + font-weight: bold; + -webkit-transition: all .275s; + transition: all .275s; +} +.imagify-offer-by { + font-size: 10px; + -webkit-transition: all .275s; + transition: all .275s; +} +.imagify-approx { + display: none; + font-size: 11px; + line-height: 1.2; + -webkit-transition: all .275s; + transition: all .275s; +} + +div.imagify-col-price { + width: 35%; +} +.imagify-flex-table .imagify-price-block { + padding-left: 0; + padding-right: 0; +} +.imagify-offer-monthly .imagify-flex-table .imagify-price-block, +.imagify-offer-monthlies .imagify-price-block { + padding-top: 0; +} +.imagify-flex-table .imagify-price-complement { + padding-right: 0; + font-size: 10px; + font-weight: bold; +} +.imagify-price-block, +.imagify-price-discount { + white-space: nowrap; +} +.imagify-price-block span, +.imagify-price-discount span { + display: inline-block; + vertical-align: middle; +} +.imagify-price-discount.imagify-price-discount { + position: relative; + flex-grow: 0; + padding-top: 15px; + font-weight: bold; + width: 70px; +} +.imagify-price-discount:before { + content: ""; + position: absolute; + top: 25px; + width: 62%; + height: 2px; + background: #2E3243; + transform: rotate(-15deg); +} +.imagify-offer-onetimes .imagify-price-discount:before { + width: 100%; +} +.imagify-price-discount-dollar { + color: #2E3243; +} +.imagify-price-discount-number { + color: #8BA6B4; +} +.imagify-offer-selected .imagify-price-discount-number { + color: #FFF; +} +span.imagify-dollars { + color: #1F2332; + font-size: 18px; + font-weight: bold; + vertical-align: -2px; +} +.imagify-offer-onetime .imagify-col-price { + padding-top: 0; +} +.imagify-offer-onetime .imagify-dollars { + vertical-align: -1px; +} +.imagify-price-big, +.imagify-price-mini { + color: #40B1D0; + font-weight: bold; +} +.imagify-price-big { + font-size: 36px; +} +span.imagify-price-mini { + font-size: 18px; + vertical-align: 2px; +} +span.imagify-price-by { + font-size: 10px; + color: #1F2332; + vertical-align: -13px; + text-indent: -27px; +} + +.imagify-col-other-actions { + width: 18.5%; + text-align: right; +} +.imagify-col-other-actions a { + font-size: 11px; +} + +/* Offer selected */ +.imagify-offer-selected, +.imagify-offer-selected .imagify-offer-title, +.imagify-offer-selected .imagify-offer-size, +.imagify-offer-selected .imagify-price-big, +.imagify-offer-selected .imagify-price-mini, +.imagify-offer-selected .imagify-price-complement, +.imagify-offer-selected .imagify-col-other-actions a { + color: #FFF; +} +.imagify-offer-selected .imagify-offer-header, +.imagify-offer-selected .imagify-offer-header .imagify-inline-options input[type="radio"]:not(:checked) + label { + background: #338EA6; +} +.imagify-offer-selected .imagify-offer-header .imagify-inline-options input[type="radio"]:checked + label { + background: #40B1D0; +} +.imagify-offer-selected .imagify-offer-content { + background: #40B1D0; +} +.imagify-offer-selected .imagify-checkbox.imagify-checkbox:not(:checked) + label:before, +.imagify-offer-selected .imagify-checkbox.imagify-checkbox:checked + label:before { + border-color: #FFF; + background: #40B1D0; +} +.imagify-offer-selected .imagify-checkbox.imagify-checkbox:not(:checked) + label:after, +.imagify-offer-selected .imagify-checkbox.imagify-checkbox:checked + label:after { + color: #FFF; +} +.imagify-offer-selected .imagify-offer-by { + color: #2E3243; +} + +.imagify-enough-title { + display: none; +} +.imagify-enough-free .imagify-not-enough-title { + display: none; +} +.imagify-enough-free .imagify-enough-title { + display: block; +} + +.imagify-submit-line { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin: 2em 0; + text-align: left; +} +.imagify-coupon-section { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} +.imagify-coupon-section p { + margin: 0; + line-height: 1.3; +} +.imagify-coupon-text { + width: 200px; + max-width: 100%; + padding-right: 15px; +} +.imagify-coupon-loader { + display: none; +} +.imagify-coupon-text.checking { + text-align: right; +} +.imagify-coupon-text.checking .imagify-coupon-loader { + display: inline; +} +.imagify-coupon-text.checking label { + display: none; +} +.imagify-coupon-input { + position: relative; +} +.imagify-coupon-input input { + position: relative; + z-index: 1; +} +[id="imagify-coupon-validate"].button-secondary { + position: absolute; + top: 1px; + right: 3px; + bottom: 2px; + box-shadow: none; + padding: 4px 10px; + z-index: 0; + transition: transform .275s; +} +.imagify-canbe-validate [id="imagify-coupon-validate"] { + transform: translateX(45px); +} + +/* Promotion/Discount section */ +.imagify-modal-section + .imagify-modal-promotion { + margin-top: -1em; +} +.imagify-modal-promotion { + position: relative; + overflow: hidden; + display: none; + align-items: center; + padding: 15px 25px; + background: #604D90; + text-shadow: 0 0 3px rgba(0, 0, 0, 0.3); +} +.imagify-modal-promotion.active { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} +[id="imagify-pricing-tab-onetime"] .imagify-modal-promotion { + margin-bottom: 4em; +} +.imagify-modal-promotion:before { + content: "\f488"; + position: absolute; + top: 28px; + left: 8%; + font-family: "dashicons"; + font-size: 90px; + color: #8476A9; + text-shadow: none; +} +.imagify-modal-promotion p { + position: relative; + margin: .2em 0; + color: #FFF; +} +.imagify-promo-title { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + text-transform: uppercase; + font-size: 20px; + font-weight: bold; + letter-spacing: 0.125em; +} +.imagify-until-date { + -ms-flex-preferred-size: 200px; + flex-basis: 200px; + text-align: right; +} +.imagify-until-date strong { + color: #FFF; +} + + +.imagify-submit-line button { + font-size: 16px; +} +input.imagify-coupon-code { + padding: 10px; + border: 2px solid #7A8996; + font-size: 0.875em; + font-weight: bold; + border-radius: 3px; +} +.validated.imagify-coupon-section .imagify-coupon-text, +.validated.imagify-coupon-section strong { + color: #8BC34A; +} +.validated.imagify-coupon-section .imagify-coupon-code { + color: #8BC34A; + border-color: #8BC34A; +} +.invalid.imagify-coupon-section .imagify-coupon-text, +.invalid.imagify-coupon-section strong { + color: #d0021b; +} +.invalid.imagify-coupon-section .imagify-coupon-code { + color: #d0021b; + border-color: #d0021b; +} +.imagify-footer-lines { + width: 500px; + max-width: 100%; + margin: 2em auto 2.5em; + font-size: 0.85em; + line-height: 1.5; +} + +/* Year selected */ +.imagify-year-selected .imagify-switch-my .imagify-yearly { + display: block; +} +.imagify-year-selected .imagify-switch-my .imagify-monthly { + display: none; +} +/* Month selected */ +.imagify-month-selected .imagify-switch-my .imagify-yearly { + display: none; +} +.imagify-month-selected .imagify-switch-my .imagify-monthly { + display: block; +} + +/* Flexbox table */ +.imagify-flex-table { + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.imagify-flex-table > * { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 7px 15px; +} + +/* Pricing table */ +div.imagify-col-details { + width: 22%; + padding-left: 25px; +} +.imagify-col-details p { + margin: 0; +} +.imagify-pricing-table { + margin: 0 20px; +} +.imagify-pricing-table .imagify-offer-line { + padding: .6em 0; + border: 2px solid #E8EEF0; + text-align: left; + border-radius: 3px; +} +.imagify-pricing-table .imagify-offer-line:first-child { + margin-top: .75em; +} +.imagify-pricing-table .imagify-offer-line.imagify-offer-selected:first-child { + margin-top: 1.75em; +} +.imagify-pricing-table .imagify-offer-line + .imagify-offer-line { + margin-top: -2px; +} +.imagify-pricing-table .imagify-col-other-actions { + width: 20.5%; +} +.imagify-pricing-table .imagify-approx { + margin-left: 0; + line-height: 0.5; + margin-bottom: 1em; +} +.imagify-pricing-table .imagify-offer-selected { + -webkit-transform: scale(1.03); + transform: scale(1.03); + background: #40B1D0; + border-width: 0; +} +.imagify-pricing-table .imagify-offer-selected .imagify-approx { + color: #FFF; +} +.imagify-pricing-table .imagify-button-secondary { + padding: 3px 20px; + box-shadow: none; + text-transform: uppercase; + font-size: 12px; + letter-spacing: 0.025em; +} +.imagify-offer-selected.imagify-offer-selected .imagify-button-secondary { + border: 2px solid #FFF; + background: #40B1D0; + box-shadow: none; + text-shadow: none!important; +} +.imagify-offer-selected.imagify-offer-selected .imagify-button-secondary:hover, +.imagify-offer-selected.imagify-offer-selected .imagify-button-secondary:focus { + background: #FFF; + color: #40B1D0; +} + +.imagify-col .imagify-special-needs { + margin-left: 25px; +} +.imagify-special-needs strong { + font-size: 25px; + font-weight: bold; + color: #40B1D0; +} +.imagify-special-needs span { + display: block; + font-size: 12px; + margin-top: -.5em; +} +div.imagify-col-price { + position: relative; +} + +/* we recommend line */ +.imagify-recommend { + display: none; + position: absolute; + left: -20px; bottom: 100%; + padding: 0; + margin-bottom: 8px; + color: #1F2332; + font-weight: bold; + font-style: italic; +} +.imagify-offer-selected .imagify-recommend { + display: block; +} +[class*="imagify-onetime-"] .imagify-recommend { + left: 65px; + margin-bottom: 20px; +} +.imagify-recommend:before { + content: ""; + position: absolute; + top: 7px; left: -35px; + width: 29px; height: 30px; + background: url("../images/icon-arrow-choice.png") scroll 0 no-repeat; + background-size: contain; +} +@media only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { + .imagify-recommend:before { + background-image: url("../images/icon-arrow-choice.svg"); + } +} + +/* One Time Adjustments */ +.imagify-offer-line[class*="imagify-onetime-"] { + padding: 0; + margin: .3em 0 0; +} +.imagify-offer-line.imagify-offer-line[class*="imagify-onetime-"]:first-child { + margin-top: 2em; +} +.imagify-offer-line[class*="imagify-onetime-"] + .imagify-offer-line { + margin-top: .5em; +} +.imagify-offer-selected.imagify-offer-line[class*="imagify-onetime-"] { + -webkit-transform: scale(1); + transform: scale(1); + border-width: 2px; +} + +/* cols */ +.imagify-offer-line[class*="imagify-onetime-"] .imagify-col-details { + position: relative; + overflow: hidden; + width: 21%; + background: #1F2332; + color: #FFF; +} +.imagify-offer-selected.imagify-offer-line[class*="imagify-onetime-"] .imagify-col-details { + background: #338EA6; +} +.imagify-offer-line[class*="imagify-onetime-"] .imagify-col-details:before { + content: ""; + position: absolute; + bottom: 0; right: 25px; + width: 75px; height: 54px; + background: url("../images/icon-pack.png"); +} +.imagify-offer-line[class*="imagify-onetime-"] .imagify-col-other-actions { + width: 30%; +} + +.imagify-offer-line[class*="imagify-onetime-"] .imagify-offer-size, +.imagify-offer-line[class*="imagify-onetime-"] .imagify-approx { + color: #FFF; +} +.imagify-offer-line[class*="imagify-onetime-"] .imagify-offer-size { + font-size: 24px; +} +.imagify-offer-line[class*="imagify-onetime-"] .imagify-approx { + font-size: 12px; +} +.imagify-offer-line[class*="imagify-onetime-"] .imagify-price-block { + padding-left: 10px; +} +.imagify-offer-line[class*="imagify-onetime-"] .imagify-dollars { + vertical-align: middle; +} +.imagify-offer-line[class*="imagify-onetime-"] .imagify-price-big { + vertical-align: -5px; +} +.imagify-offer-line[class*="imagify-onetime-"] .imagify-price-mini { + vertical-align: 7px; +} + +/* Simple Tabs */ +.imagify-tabs { + margin-bottom: 0; + list-style: none; + background: #E5EBEF; +} +.imagify-modal-content .imagify-tabs { + margin: 1em 0 0; +} +.imagify-tab { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: 50%; + margin: 0; + font-size: 23px; +} +.imagify-tab a { + display: block; + padding: 15px 10px; + color: inherit; + text-decoration: none; +} +.imagify-tab a:focus { + box-shadow: none; + outline: none; + color: #40B1D8; +} +.imagify-tab.imagify-current a { + background: #F6F7FB; +} +.imagify-tab-content.imagify-current { + display: block; +} +.imagify-tab-content { + display: none; +} +.imagify-tab-content .imagify-modal-section:first-child { + margin-top: 0; +} + +/* Modal sidebar */ +.imagify-modal-sidebar-content, +.imagify-payment-modal .imagify-modal-sidebar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.imagify-modal-sidebar-content { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} +p.imagify-modal-sidebar-title.imagify-modal-sidebar-title { + margin-top: 5px; + padding-right: 40px; + font-size: 18px; + color: #FFF; +} +.imagify-modal-testimony { + margin-top: 1em; +} +.imagify-modal-testimony + .imagify-modal-testimony { + margin-top: 2em; +} +@media (max-height:620px) { + .imagify-modal-testimony + .imagify-modal-testimony { + display: none; + } +} +.imagify-modal-testimony-person { + display: table; + width: 100%; +} +.imagify-modal-testimony-person > * { + display: table-cell; + vertical-align: middle; +} +.imagify-modal-avatar { + width: 114px; + line-height: 0; +} +.imagify-modal-avatar img { + border: 2px solid #FFF; + border-radius: 50%; + width: 96px; height: 96px; +} +.imagify-modal-identity a { + text-decoration: none; + font-weight: bold; +} +.imagify-modal-identity a:first-child { + font-size: 13px; +} +.imagify-modal-identity a:first-child + a { + display: block; + font-size: 10px; + color: #7A8996; +} +.imagify-modal-testimony-content.imagify-modal-testimony-content p { + font-size: 13px; + font-style: italic; + line-height: 1.7; + color: #7A8996; +} +.imagify-modal-sidebar-trust { + margin-top: auto; + padding-top: 1.5em; +} +.imagify-modal-sidebar-trust p { + margin: 0; + font-weight: bold; + font-size: 12px; + line-height: 1.7; +} +.imagify-modal-sidebar-trust p img { + margin-right: 3px; + vertical-align: -2px; +} +.imagify-modal-sidebar-trust p + p { + font-size: 11px; +} + +/* Cart */ +.imagify-cart { + text-align: left; +} +.imagify-cart .imagify-cart-list { + border-top: 1px solid rgba(122, 137, 150, .2); + border-bottom: 1px solid rgba(122, 137, 150, .2); +} +.imagify-cart .imagify-cart-label { + margin-bottom: 0.5em; + font-size: 10px; + color: #2E3243; +} +.imagify-cart-list p { + margin: 0; + font-weight: bold; +} +.imagify-cart-item { + margin: .4em 0; +} +.imagify-cart .imagify-cart-suggestion { + margin-top: -.3em; +} +.imagify-cart-suggestion a, +.imagify-cl-description p { + font-size: 10px; +} +.imagify-remove-from-cart { + border: 0; + padding: 0; + width: 14px; + height: 14px; + line-height: 13px; + border-radius: 50%; + background: #40B1D0; + cursor: pointer; + transition: background .3s; +} +.imagify-remove-from-cart i:before { + position: relative; + top: -6px; left: -3px; + font-size: 13px; + color: #FFF; +} +.imagify-remove-from-cart:hover, +.imagify-remove-from-cart:focus { + background: #D0021B; +} + +/* col sizes */ +.imagify-cart .imagify-cl-remove { + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + width: 45px; +} +.imagify-cart .imagify-cl-name { + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + width: 200px; +} +.imagify-cart .imagify-cl-description { + -webkit-align-self: flex-start; + -ms-flex-item-align: start; + align-self: flex-start; + padding-top: 10px; +} +.imagify-cart .imagify-cl-price { + text-align: right; +} + +#imagify-payment-iframe { + width: 980px; + height: 672px; + background: #f6f7fb url(../images/loader-balls.svg) 50% 50% no-repeat; +} + +.imagify-success-view { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 100%; +} +.imagify-success-view p { + font-weight: bold; + font-size: 16px; +} + +/* Imagify cart item removing */ +.imagify-cart-emptied-item { + margin: .3em auto; + padding: 6px 20px; + background: #E6EBEF; + border-radius: 20px; +} +.imagify-cart-emptied-item.imagify-cart-emptied-item p { + font-weight: bold; +} +.imagify-cart-emptied-item a { + color: #40b1d0; + float: right; + font-weight: bold; +} +@media (max-width: 782px) { + .imagify-payment-modal .imagify-modal-content{ + width: 90%; + min-width: auto; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -moz-box-direction: normal; + -moz-box-orient: vertical; + align-items: center; + } + .imagify-payment-modal .imagify-modal-main{ + width: 100%; + } + .imagify-payment-modal .imagify-modal-sidebar{ + width: 100%; + + } + .imagify-modal-section.section-gray{ + padding: 10px 10px 15px; + } + .imagify-modal-section{ + padding: 0 10px; + } + .imagify-submit-line{ + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -moz-box-direction: normal; + -moz-box-orient: vertical; + align-items: center; + } + .imagify-coupon-section{ + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -moz-box-direction: normal; + -moz-box-orient: vertical; + align-items: center; + margin-bottom: 20px; + } + .imagify-coupon-section .imagify-coupon-text{ + text-align: center; + width: 100%; + padding: 0; + margin-bottom: 20px; + } + + .imagify-modal-cols{ + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -moz-box-direction: normal; + -moz-box-orient: vertical; + align-items: center; + } + .imagify-col{ + padding: 0; + float: none; + width: 100%; + } + .imagify-payment-modal .imagify-iconed{ + margin: 1.5em auto; + max-width: 260px; + } + .imagify-offer-header{ + padding: 0; + } + .imagify-offer-header .imagify-inline-options input[type="radio"]:not(:checked) + label, + .imagify-offer-header .imagify-inline-options input[type="radio"]:checked + label{ + padding: 7px 15px; + } + .imagify-offer-header .imagify-inline-options input[type="radio"]:checked + label{ + padding: 7px 15px; + } + .imagify-offer-header .imagify-offer-title.imagify-switch-my .imagify-monthly, + .imagify-offer-header .imagify-offer-title.imagify-switch-my .imagify-yearly{ + padding: 10px 5px; + font-size: 12px; + } + .imagify-offer-size{ + font-size: 18px; + } + .imagify-col-other-actions{ + padding: 10px; + text-align: center; + } + .imagify-2-free{ + padding: 2px 5px; + } + .imagify-2-free.imagify-b-right { + position: absolute; + bottom: 100%; + left: 0; + right: 0; + padding: 2px 5px; + margin-bottom: 0px; + margin-left: 0px; + font-size: 0.8em; + letter-spacing: 0; + text-transform: none; + text-align: center; + color: #FFF; + background: #10121A; + border-radius: 2px; + } + .imagify-2-free.imagify-b-right:after{ + content: ""; + position: absolute; + left: 50%; + top: unset; + bottom: -6px; + margin-left: -3px; + border-top: 3px solid #10121A; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + } + div.imagify-col-price{ + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -moz-box-direction: normal; + -moz-box-orient: vertical; + align-items: center; + } + .imagify-flex-table .imagify-price-complement{ + padding: 5px 0 0 0; + margin: 0; + text-align: center; + } + div.imagify-col-details{ + padding: 10px 0px 10px 10px; + } + .imagify-pricing-table .imagify-col-other-actions{ + padding: 0 10px 0 0; + } + .imagify-pricing-table .imagify-button-secondary{ + font-size: 12px; + white-space: normal; + line-height: 14px; + padding: 10px; + } + .imagify-price-big{ + font-size: 24px; + } + span.imagify-price-mini{ + font-size: 12px; + } + .imagify-col-checkbox label{ + padding-left: 30px !important; + } + .medium.imagify-checkbox:not(:checked) + label:before, + .medium.imagify-checkbox:checked + label:before{ + width: 15px; + height: 15px; + } + div.imagify-col-checkbox{ + padding: 0; + } + .imagify-offer-monthly .imagify-flex-table .imagify-price-block, + .imagify-offer-monthlies .imagify-price-block{ + padding: 0; + } + .imagify-pricing-table{ + margin: 0 .5em; + } + .imagify-payment-modal .close-btn{ + top: 5px; + right: 5px; + } + .imagify-col-checkbox .imagify-checkbox.imagify-checkbox:not(:checked) + label:after, + .imagify-col-checkbox .imagify-checkbox.imagify-checkbox:checked + label:after{ + top: -1px; + left: 10px; + } +} diff --git a/wp/wp-content/plugins/imagify/assets/css/pricing-modal.min.css b/wp/wp-content/plugins/imagify/assets/css/pricing-modal.min.css new file mode 100644 index 00000000..ea68826c --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/pricing-modal.min.css @@ -0,0 +1 @@ +.imagify-border-styled,.imagify-flex-table,.imagify-modal-cols,.imagify-offer-header,.imagify-payment-modal .imagify-modal-content,.imagify-tabs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.imagify-border-styled,.imagify-modal-cols{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-payment-modal{text-align:center;color:#7a8996}.imagify-payment-modal *{-webkit-box-sizing:border-box;box-sizing:border-box}.imagify-modal-loader{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff url('../images/loader-balls.svg') center no-repeat;z-index:10}.imagify-payment-modal .imagify-modal-content{width:980px;max-width:100%;min-width:925px;padding:0}.imagify-modal-content.imagify-iframe-viewing{width:980px;height:672px;overflow:hidden}.imagify-iframe-viewing #imagify-payment-process-view{width:980px;height:668px}.imagify-payment-modal .imagify-modal-main{width:70%}.imagify-iframe-viewing .imagify-modal-main{width:auto}.imagify-payment-modal .imagify-modal-content.imagify-success-viewing{min-width:auto;width:450px;min-height:300px}.imagify-success-viewing .imagify-modal-main{width:100%}.imagify-payment-modal .imagify-modal-sidebar{width:30%;padding:15px 20px;background:#1f2332;color:#fff}.imagify-modal-content.imagify-iframe-viewing .imagify-modal-sidebar,.imagify-modal-content.imagify-success-viewing .imagify-modal-sidebar{display:none}.imagify-modal-section{padding:0 25px}.imagify-modal-section.section-gray{margin:0 0 1em;padding:10px 25px 15px;background:#f6f7fb}.imagify-tabs-contents .section-gray{padding:8px 25px 10px}.imagify-modal-section .imagify-modal-title:first-child{margin-top:1em;margin-bottom:1.5em}.imagify-modal-section.section-gray .imagify-modal-title{margin-top:.5em;margin-bottom:.5em}.imagify-modal-title{font-size:1.8em}.imagify-modal-title .imagify-inner-sub-title{display:block;font-size:.56em}.imagify-analyzing .imagify-numbers-calc,.imagify-modal-section .imagify-loader,.imagify-modal-section.imagify-analyzing .imagify-modal-cols,.imagify-numbers-notcalc{display:none}.imagify-analyzing .imagify-numbers-notcalc,.imagify-modal-section.imagify-analyzing .imagify-loader{display:block}.imagify-modal-section .imagify-loader{margin:2em auto}.imagify-border-styled{width:200px;margin:0 auto;color:#8bc34a;font-weight:700;font-size:.925em}.imagify-border-styled:after,.imagify-border-styled:before{content:"";height:1px;background:rgba(0,0,0,.1);-ms-flex-preferred-size:40px;flex-basis:40px}.imagify-border-styled:before{margin-right:5px}.imagify-border-styled:after{margin-left:5px}.imagify-big-number{font-size:3.7em;font-weight:700;margin:-3px 0;color:#4a4a4a;line-height:1}.imagify-payment-modal strong{font-weight:700;color:#4a4a4a}.imagify-popin-message{padding:5px 15px;text-align:left}.imagify-popin-message.imagify-error p{color:#fff}.imagify-small-options{width:300px;margin:1em auto .5em;background:#338ea6;border-radius:4px}.imagify-small-options input[type=radio]:checked+label,.imagify-small-options input[type=radio]:not(:checked)+label{padding:8px 10px;font-size:13px;color:#fff;-webkit-box-shadow:none;box-shadow:none;border-left:0}.imagify-small-options input[type=radio]:not(:checked)+label{background:#338ea6;color:rgba(255,255,255,.4)}.imagify-small-options input[type=radio]:checked+label{background:#40b1d0}.imagify-cols:after{content:"";display:table;clear:both}.js .imagify-iframe-viewing .close-btn{display:none}.imagify-modal .imagify-cols{padding:0 20px}.imagify-payment-modal .imagify-iconed{margin:1.5em 5em 1.5em 0}.imagify-iconed{position:relative;text-align:left;padding-left:42px;margin-right:15px;font-weight:500}.imagify-iconed .dashicons,.imagify-iconed .icon{position:absolute;font-size:2em;left:0;top:2px;color:#40b1d0}.imagify-payment-modal .close-btn{top:10px;right:10px;width:24px;height:24px;padding:2px 0 0 4.5px;color:#fff;background:#40b1d0;border-radius:50%;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-payment-modal .close-btn i{margin-left:-3.5px;margin-top:-.5px}.imagify-payment-modal .close-btn:hover{background:#f6f7fb}.imagify-offer-line{margin-top:1.5em}.imagify-offer-line+.imagify-offer-line{margin-top:.75em}.imagify-offer-header{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 0 0 15px;border-radius:4px 4px 0 0;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-offer-header.imagify-offer-header.imagify-offer-header .imagify-inline-options label:last-child{border-radius:0 4px 0 0}.imagify-offer-header .imagify-inline-options{width:auto}.imagify-offer-title{font-weight:700;margin:0}.imagify-offer-header,.imagify-offer-header .imagify-inline-options input[type=radio]:not(:checked)+label{background:#e5ebef}.imagify-offer-onetime .imagify-offer-header{padding-top:8px;padding-bottom:8px}.imagify-offer-onetimes>div{padding-top:15px;padding-bottom:15px}.imagify-offer-header .imagify-inline-options input[type=radio]:checked+label,.imagify-offer-header .imagify-inline-options input[type=radio]:not(:checked)+label{position:relative;padding:7px 30px;font-size:1em;letter-spacing:.05em;color:inherit;-webkit-box-shadow:0 0 0;box-shadow:0 0 0;border-radius:0}.imagify-offer-header .imagify-inline-options input[type=radio]:checked+label{background:#f6f7fb}.imagify-2-free{position:absolute;bottom:100%;left:0;right:0;padding:2px 10px;margin-bottom:8px;font-size:.8em;letter-spacing:0;text-transform:none;text-align:center;color:#fff;background:#10121a;border-radius:2px}.imagify-2-free:after{content:"";position:absolute;left:50%;bottom:-3px;margin-left:-3px;border-top:3px solid #10121a;border-left:3px solid transparent;border-right:3px solid transparent}.imagify-2-free.imagify-b-right{bottom:auto;left:100%;right:-100%;margin-bottom:0;margin-left:8px}.imagify-2-free.imagify-b-right:after{left:-3px;bottom:auto;top:50%;margin-top:-3px;margin-left:0;border-right:3px solid #10121a;border-top:3px solid transparent;border-bottom:3px solid transparent;border-left:0}.imagify-2-free.imagify-b-bottom{bottom:-100%;left:0;right:0;margin-top:8px}.imagify-2-free.imagify-b-bottom:after{top:-3px;bottom:auto;border-bottom:3px solid #10121a;border-left:3px solid transparent;border-right:3px solid transparent;border-top:0}.imagify-offer-content{text-align:left;background:#f6f7fb;border-radius:0 0 4px 4px;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-offer-onetime .imagify-offer-content{padding:10px 0}div.imagify-col-checkbox{position:relative;width:25.5%;padding-top:10px;padding-bottom:7px}.imagify-col-checkbox label{display:block}.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:checked,.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:not(:checked){position:absolute;top:50%;left:6px;margin:-8px 0 0 0}.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:checked+label:before,.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:not(:checked)+label:before{margin:0;top:-2px;left:6px;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:checked+label:after,.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:not(:checked)+label:after{top:1px;left:13px}.imagify-col-checkbox label{padding-left:55px!important}.imagify-offer-size{font-size:30px;color:#2e3243;font-weight:700;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-offer-by{font-size:10px;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}.imagify-approx{display:none;font-size:11px;line-height:1.2;-webkit-transition:all .275s;-o-transition:all .275s;transition:all .275s}div.imagify-col-price{width:35%}.imagify-flex-table .imagify-price-block{padding-left:0;padding-right:0}.imagify-offer-monthlies .imagify-price-block,.imagify-offer-monthly .imagify-flex-table .imagify-price-block{padding-top:0}.imagify-flex-table .imagify-price-complement{padding-right:0;font-size:10px;font-weight:700}.imagify-price-block,.imagify-price-discount{white-space:nowrap}.imagify-price-block span,.imagify-price-discount span{display:inline-block;vertical-align:middle}.imagify-price-discount.imagify-price-discount{position:relative;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding-top:15px;font-weight:700;width:70px}.imagify-price-discount:before{content:"";position:absolute;top:25px;width:62%;height:2px;background:#2e3243;-webkit-transform:rotate(-15deg);-ms-transform:rotate(-15deg);transform:rotate(-15deg)}.imagify-offer-onetimes .imagify-price-discount:before{width:100%}.imagify-price-discount-dollar{color:#2e3243}.imagify-price-discount-number{color:#8ba6b4}.imagify-offer-selected .imagify-price-discount-number{color:#fff}span.imagify-dollars{color:#1f2332;font-size:18px;font-weight:700;vertical-align:-2px}.imagify-offer-onetime .imagify-col-price{padding-top:0}.imagify-offer-onetime .imagify-dollars{vertical-align:-1px}.imagify-price-big,.imagify-price-mini{color:#40b1d0;font-weight:700}.imagify-price-big{font-size:36px}span.imagify-price-mini{font-size:18px;vertical-align:2px}span.imagify-price-by{font-size:10px;color:#1f2332;vertical-align:-13px;text-indent:-27px}.imagify-col-other-actions{width:18.5%;text-align:right}.imagify-col-other-actions a{font-size:11px}.imagify-offer-selected,.imagify-offer-selected .imagify-col-other-actions a,.imagify-offer-selected .imagify-offer-size,.imagify-offer-selected .imagify-offer-title,.imagify-offer-selected .imagify-price-big,.imagify-offer-selected .imagify-price-complement,.imagify-offer-selected .imagify-price-mini{color:#fff}.imagify-offer-selected .imagify-offer-header,.imagify-offer-selected .imagify-offer-header .imagify-inline-options input[type=radio]:not(:checked)+label{background:#338ea6}.imagify-offer-selected .imagify-offer-header .imagify-inline-options input[type=radio]:checked+label{background:#40b1d0}.imagify-offer-selected .imagify-offer-content{background:#40b1d0}.imagify-offer-selected .imagify-checkbox.imagify-checkbox:checked+label:before,.imagify-offer-selected .imagify-checkbox.imagify-checkbox:not(:checked)+label:before{border-color:#fff;background:#40b1d0}.imagify-offer-selected .imagify-checkbox.imagify-checkbox:checked+label:after,.imagify-offer-selected .imagify-checkbox.imagify-checkbox:not(:checked)+label:after{color:#fff}.imagify-offer-selected .imagify-offer-by{color:#2e3243}.imagify-enough-title{display:none}.imagify-enough-free .imagify-not-enough-title{display:none}.imagify-enough-free .imagify-enough-title{display:block}.imagify-submit-line{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:2em 0;text-align:left}.imagify-coupon-section{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-coupon-section p{margin:0;line-height:1.3}.imagify-coupon-text{width:200px;max-width:100%;padding-right:15px}.imagify-coupon-loader{display:none}.imagify-coupon-text.checking{text-align:right}.imagify-coupon-text.checking .imagify-coupon-loader{display:inline}.imagify-coupon-text.checking label{display:none}.imagify-coupon-input{position:relative}.imagify-coupon-input input{position:relative;z-index:1}[id=imagify-coupon-validate].button-secondary{position:absolute;top:1px;right:3px;bottom:2px;-webkit-box-shadow:none;box-shadow:none;padding:4px 10px;z-index:0;-webkit-transition:-webkit-transform .275s;transition:-webkit-transform .275s;-o-transition:transform .275s;transition:transform .275s;transition:transform .275s,-webkit-transform .275s}.imagify-canbe-validate [id=imagify-coupon-validate]{-webkit-transform:translateX(45px);-ms-transform:translateX(45px);transform:translateX(45px)}.imagify-modal-section+.imagify-modal-promotion{margin-top:-1em}.imagify-modal-promotion{position:relative;overflow:hidden;display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px 25px;background:#604d90;text-shadow:0 0 3px rgba(0,0,0,.3)}.imagify-modal-promotion.active{display:-webkit-box;display:-ms-flexbox;display:flex}[id=imagify-pricing-tab-onetime] .imagify-modal-promotion{margin-bottom:4em}.imagify-modal-promotion:before{content:"\f488";position:absolute;top:28px;left:8%;font-family:dashicons;font-size:90px;color:#8476a9;text-shadow:none}.imagify-modal-promotion p{position:relative;margin:.2em 0;color:#fff}.imagify-promo-title{-ms-flex-preferred-size:100%;flex-basis:100%;text-transform:uppercase;font-size:20px;font-weight:700;letter-spacing:.125em}.imagify-until-date{-ms-flex-preferred-size:200px;flex-basis:200px;text-align:right}.imagify-until-date strong{color:#fff}.imagify-submit-line button{font-size:16px}input.imagify-coupon-code{padding:10px;border:2px solid #7a8996;font-size:.875em;font-weight:700;border-radius:3px}.validated.imagify-coupon-section .imagify-coupon-text,.validated.imagify-coupon-section strong{color:#8bc34a}.validated.imagify-coupon-section .imagify-coupon-code{color:#8bc34a;border-color:#8bc34a}.invalid.imagify-coupon-section .imagify-coupon-text,.invalid.imagify-coupon-section strong{color:#d0021b}.invalid.imagify-coupon-section .imagify-coupon-code{color:#d0021b;border-color:#d0021b}.imagify-footer-lines{width:500px;max-width:100%;margin:2em auto 2.5em;font-size:.85em;line-height:1.5}.imagify-year-selected .imagify-switch-my .imagify-yearly{display:block}.imagify-year-selected .imagify-switch-my .imagify-monthly{display:none}.imagify-month-selected .imagify-switch-my .imagify-yearly{display:none}.imagify-month-selected .imagify-switch-my .imagify-monthly{display:block}.imagify-flex-table{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-flex-table>*{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:7px 15px}div.imagify-col-details{width:22%;padding-left:25px}.imagify-col-details p{margin:0}.imagify-pricing-table{margin:0 20px}.imagify-pricing-table .imagify-offer-line{padding:.6em 0;border:2px solid #e8eef0;text-align:left;border-radius:3px}.imagify-pricing-table .imagify-offer-line:first-child{margin-top:.75em}.imagify-pricing-table .imagify-offer-line.imagify-offer-selected:first-child{margin-top:1.75em}.imagify-pricing-table .imagify-offer-line+.imagify-offer-line{margin-top:-2px}.imagify-pricing-table .imagify-col-other-actions{width:20.5%}.imagify-pricing-table .imagify-approx{margin-left:0;line-height:.5;margin-bottom:1em}.imagify-pricing-table .imagify-offer-selected{-webkit-transform:scale(1.03);-ms-transform:scale(1.03);transform:scale(1.03);background:#40b1d0;border-width:0}.imagify-pricing-table .imagify-offer-selected .imagify-approx{color:#fff}.imagify-pricing-table .imagify-button-secondary{padding:3px 20px;-webkit-box-shadow:none;box-shadow:none;text-transform:uppercase;font-size:12px;letter-spacing:.025em}.imagify-offer-selected.imagify-offer-selected .imagify-button-secondary{border:2px solid #fff;background:#40b1d0;-webkit-box-shadow:none;box-shadow:none;text-shadow:none!important}.imagify-offer-selected.imagify-offer-selected .imagify-button-secondary:focus,.imagify-offer-selected.imagify-offer-selected .imagify-button-secondary:hover{background:#fff;color:#40b1d0}.imagify-col .imagify-special-needs{margin-left:25px}.imagify-special-needs strong{font-size:25px;font-weight:700;color:#40b1d0}.imagify-special-needs span{display:block;font-size:12px;margin-top:-.5em}div.imagify-col-price{position:relative}.imagify-recommend{display:none;position:absolute;left:-20px;bottom:100%;padding:0;margin-bottom:8px;color:#1f2332;font-weight:700;font-style:italic}.imagify-offer-selected .imagify-recommend{display:block}[class*=imagify-onetime-] .imagify-recommend{left:65px;margin-bottom:20px}.imagify-recommend:before{content:"";position:absolute;top:7px;left:-35px;width:29px;height:30px;background:url("../images/icon-arrow-choice.png") scroll 0 no-repeat;background-size:contain}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.imagify-recommend:before{background-image:url("../images/icon-arrow-choice.svg")}}.imagify-offer-line[class*=imagify-onetime-]{padding:0;margin:.3em 0 0}.imagify-offer-line.imagify-offer-line[class*=imagify-onetime-]:first-child{margin-top:2em}.imagify-offer-line[class*=imagify-onetime-]+.imagify-offer-line{margin-top:.5em}.imagify-offer-selected.imagify-offer-line[class*=imagify-onetime-]{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);border-width:2px}.imagify-offer-line[class*=imagify-onetime-] .imagify-col-details{position:relative;overflow:hidden;width:21%;background:#1f2332;color:#fff}.imagify-offer-selected.imagify-offer-line[class*=imagify-onetime-] .imagify-col-details{background:#338ea6}.imagify-offer-line[class*=imagify-onetime-] .imagify-col-details:before{content:"";position:absolute;bottom:0;right:25px;width:75px;height:54px;background:url("../images/icon-pack.png")}.imagify-offer-line[class*=imagify-onetime-] .imagify-col-other-actions{width:30%}.imagify-offer-line[class*=imagify-onetime-] .imagify-approx,.imagify-offer-line[class*=imagify-onetime-] .imagify-offer-size{color:#fff}.imagify-offer-line[class*=imagify-onetime-] .imagify-offer-size{font-size:24px}.imagify-offer-line[class*=imagify-onetime-] .imagify-approx{font-size:12px}.imagify-offer-line[class*=imagify-onetime-] .imagify-price-block{padding-left:10px}.imagify-offer-line[class*=imagify-onetime-] .imagify-dollars{vertical-align:middle}.imagify-offer-line[class*=imagify-onetime-] .imagify-price-big{vertical-align:-5px}.imagify-offer-line[class*=imagify-onetime-] .imagify-price-mini{vertical-align:7px}.imagify-tabs{margin-bottom:0;list-style:none;background:#e5ebef}.imagify-modal-content .imagify-tabs{margin:1em 0 0}.imagify-tab{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:50%;margin:0;font-size:23px}.imagify-tab a{display:block;padding:15px 10px;color:inherit;text-decoration:none}.imagify-tab a:focus{-webkit-box-shadow:none;box-shadow:none;outline:0;color:#40b1d8}.imagify-tab.imagify-current a{background:#f6f7fb}.imagify-tab-content.imagify-current{display:block}.imagify-tab-content{display:none}.imagify-tab-content .imagify-modal-section:first-child{margin-top:0}.imagify-modal-sidebar-content,.imagify-payment-modal .imagify-modal-sidebar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.imagify-modal-sidebar-content{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}p.imagify-modal-sidebar-title.imagify-modal-sidebar-title{margin-top:5px;padding-right:40px;font-size:18px;color:#fff}.imagify-modal-testimony{margin-top:1em}.imagify-modal-testimony+.imagify-modal-testimony{margin-top:2em}@media (max-height:620px){.imagify-modal-testimony+.imagify-modal-testimony{display:none}}.imagify-modal-testimony-person{display:table;width:100%}.imagify-modal-testimony-person>*{display:table-cell;vertical-align:middle}.imagify-modal-avatar{width:114px;line-height:0}.imagify-modal-avatar img{border:2px solid #fff;border-radius:50%;width:96px;height:96px}.imagify-modal-identity a{text-decoration:none;font-weight:700}.imagify-modal-identity a:first-child{font-size:13px}.imagify-modal-identity a:first-child+a{display:block;font-size:10px;color:#7a8996}.imagify-modal-testimony-content.imagify-modal-testimony-content p{font-size:13px;font-style:italic;line-height:1.7;color:#7a8996}.imagify-modal-sidebar-trust{margin-top:auto;padding-top:1.5em}.imagify-modal-sidebar-trust p{margin:0;font-weight:700;font-size:12px;line-height:1.7}.imagify-modal-sidebar-trust p img{margin-right:3px;vertical-align:-2px}.imagify-modal-sidebar-trust p+p{font-size:11px}.imagify-cart{text-align:left}.imagify-cart .imagify-cart-list{border-top:1px solid rgba(122,137,150,.2);border-bottom:1px solid rgba(122,137,150,.2)}.imagify-cart .imagify-cart-label{margin-bottom:.5em;font-size:10px;color:#2e3243}.imagify-cart-list p{margin:0;font-weight:700}.imagify-cart-item{margin:.4em 0}.imagify-cart .imagify-cart-suggestion{margin-top:-.3em}.imagify-cart-suggestion a,.imagify-cl-description p{font-size:10px}.imagify-remove-from-cart{border:0;padding:0;width:14px;height:14px;line-height:13px;border-radius:50%;background:#40b1d0;cursor:pointer;-webkit-transition:background .3s;-o-transition:background .3s;transition:background .3s}.imagify-remove-from-cart i:before{position:relative;top:-6px;left:-3px;font-size:13px;color:#fff}.imagify-remove-from-cart:focus,.imagify-remove-from-cart:hover{background:#d0021b}.imagify-cart .imagify-cl-remove{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;width:45px}.imagify-cart .imagify-cl-name{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;width:200px}.imagify-cart .imagify-cl-description{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start;padding-top:10px}.imagify-cart .imagify-cl-price{text-align:right}#imagify-payment-iframe{width:980px;height:672px;background:#f6f7fb url(../images/loader-balls.svg) 50% 50% no-repeat}.imagify-success-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%}.imagify-success-view p{font-weight:700;font-size:16px}.imagify-cart-emptied-item{margin:.3em auto;padding:6px 20px;background:#e6ebef;border-radius:20px}.imagify-cart-emptied-item.imagify-cart-emptied-item p{font-weight:700}.imagify-cart-emptied-item a{color:#40b1d0;float:right;font-weight:700}@media (max-width:782px){.imagify-payment-modal .imagify-modal-content{width:90%;min-width:auto;-ms-flex-direction:column;flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-payment-modal .imagify-modal-main{width:100%}.imagify-payment-modal .imagify-modal-sidebar{width:100%}.imagify-modal-section.section-gray{padding:10px 10px 15px}.imagify-modal-section{padding:0 10px}.imagify-submit-line{-ms-flex-direction:column;flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-coupon-section{-ms-flex-direction:column;flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.imagify-coupon-section .imagify-coupon-text{text-align:center;width:100%;padding:0;margin-bottom:20px}.imagify-modal-cols{-ms-flex-direction:column;flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-col{padding:0;float:none;width:100%}.imagify-payment-modal .imagify-iconed{margin:1.5em auto;max-width:260px}.imagify-offer-header{padding:0}.imagify-offer-header .imagify-inline-options input[type=radio]:checked+label,.imagify-offer-header .imagify-inline-options input[type=radio]:not(:checked)+label{padding:7px 15px}.imagify-offer-header .imagify-inline-options input[type=radio]:checked+label{padding:7px 15px}.imagify-offer-header .imagify-offer-title.imagify-switch-my .imagify-monthly,.imagify-offer-header .imagify-offer-title.imagify-switch-my .imagify-yearly{padding:10px 5px;font-size:12px}.imagify-offer-size{font-size:18px}.imagify-col-other-actions{padding:10px;text-align:center}.imagify-2-free{padding:2px 5px}.imagify-2-free.imagify-b-right{position:absolute;bottom:100%;left:0;right:0;padding:2px 5px;margin-bottom:0;margin-left:0;font-size:.8em;letter-spacing:0;text-transform:none;text-align:center;color:#fff;background:#10121a;border-radius:2px}.imagify-2-free.imagify-b-right:after{content:"";position:absolute;left:50%;top:unset;bottom:-6px;margin-left:-3px;border-top:3px solid #10121a;border-left:3px solid transparent;border-right:3px solid transparent}div.imagify-col-price{-ms-flex-direction:column;flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.imagify-flex-table .imagify-price-complement{padding:5px 0 0 0;margin:0;text-align:center}div.imagify-col-details{padding:10px 0 10px 10px}.imagify-pricing-table .imagify-col-other-actions{padding:0 10px 0 0}.imagify-pricing-table .imagify-button-secondary{font-size:12px;white-space:normal;line-height:14px;padding:10px}.imagify-price-big{font-size:24px}span.imagify-price-mini{font-size:12px}.imagify-col-checkbox label{padding-left:30px!important}.medium.imagify-checkbox:checked+label:before,.medium.imagify-checkbox:not(:checked)+label:before{width:15px;height:15px}div.imagify-col-checkbox{padding:0}.imagify-offer-monthlies .imagify-price-block,.imagify-offer-monthly .imagify-flex-table .imagify-price-block{padding:0}.imagify-pricing-table{margin:0 .5em}.imagify-payment-modal .close-btn{top:5px;right:5px}.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:checked+label:after,.imagify-col-checkbox .imagify-checkbox.imagify-checkbox:not(:checked)+label:after{top:-1px;left:10px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/sweetalert-custom.css b/wp/wp-content/plugins/imagify/assets/css/sweetalert-custom.css new file mode 100644 index 00000000..6e0bd469 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/sweetalert-custom.css @@ -0,0 +1,172 @@ +/* Sub Layer */ +body[class*="_imagify"] .swal2-container.swal2-shown { + background: rgb(31, 35 ,50); + background: rgba(31, 35 ,50, .9); + z-index: 100000; +} + +/* White Container */ +.imagify-sweet-alert .swal2-modal { + border-radius: 2px; +} + +/* To get icon background dark */ +.imagify-sweet-alert { + background: #1F2332!important; +} +.imagify-sweet-alert .swal2-icon { + margin-bottom: 5px; +} + +/* header error color */ +.imagify-swal-error-header { + background: #C51162!important; +} +.imagify-swal-error-header .swal2-icon { + border-color: #FFF; + color: #FFF; +} + +/* Title and Subtitle */ +.imagify-sweet-alert .swal2-title { + margin: 0; + padding: 28px 32px; + font-size: 24px; + text-align: center; + color: #FFF; + background: #1F2332; +} +.imagify-swal-has-subtitle .swal2-title { + text-align: left; +} +.imagify-swal-error-header .swal2-title { + background: #C51162; + text-align: center; + line-height: 1.15; +} +.imagify-sweet-alert .imagify-swal-subtitle { + padding: 0 32px 28px; + margin-top: -16px; + font-weight: 500; + font-size: 14px; + text-align: left; + color: #7A8996; + background: #1F2332; +} +.imagify-swal-error-header .imagify-swal-subtitle { + color: #FFF; + background: #C51162; + text-align: center; +} + +/* Buttons */ +.imagify-sweet-alert .swal2-buttonswrapper, +.imagify-swal-buttonswrapper { + margin-top: 0; + padding: 22px; + background: #F4F7F9; +} +.imagify-sweet-alert button.swal2-styled, +.imagify-swal-buttonswrapper a.button.imagify-button-primary { + height: auto; + padding: 12px 32px; + margin: 10px; + font-size: 14px; + letter-spacing: 1px; + text-transform: uppercase; + border-radius: 3px; + background-color: #40b1d0 !important; + text-shadow: none!important; + box-shadow: 0 3px 0 #338ea6; + white-space: normal; + line-height: 1.5; +} +.imagify-swal-buttonswrapper a.button.imagify-button-primary:focus, +.imagify-swal-buttonswrapper a.button.imagify-button-primary:hover { + text-shadow: none; + color: #FFF; +} +.imagify-swal-buttonswrapper a.button svg { + margin-right: 12px; + vertical-align: -2px; +} +.imagify-sweet-alert button.loading { + border-radius: 100% !important; + height: 40px !important; + padding:0!important; + box-shadow: none!important; +} +.imagify-sweet-alert button.swal2-cancel { + color: #7A8996; + background: #E9EFF2 !important; + box-shadow: 0 3px 0 rgba(31, 35, 50, .2); +} +.imagify-sweet-alert-signup.imagify-sweet-alert { + background: #FFF!important; +} +.imagify-sweet-alert-signup .swal2-buttonswrapper { + padding: 12px 22px; +} +.swal2-success-circular-line-left, +.swal2-success-fix, +.swal2-success-circular-line-right { + background: #1F2332 !important +} +.imagify-sweet-alert-signup .sa-confirm-button-container { + width: 40%; +} +.imagify-sweet-alert-signup .swal2-input { + margin-top: 0; + margin-left: 40px; + margin-right: 40px; + width: calc( 100% - 80px); +} +.imagify-sweet-alert .sa-input-error:before, +.imagify-sweet-alert .sa-input-error:after, +.imagify-sweet-alert .la-ball-fall { + top: 25% !important; +} + +.imagify-sweet-alert .swal2-buttonswrapper.swal2-loading .swal2-confirm.swal2-confirm { + height: 40px !important; + border-radius: 100% !important; + border-left-width: 0 !important; + border-right-width: 0 !important; +} + +/* Imagify swal contents */ +.imagify-sweet-alert .swal2-content { + padding: 28px 32px; + background: #FFF; +} +.imagify-swal-has-subtitle .swal2-content { + padding: 0; +} +.imagify-swal-content { + font-size: 14px; + padding: 28px 32px; +} + +/* Quota */ +.imagify-swal-quota .imagify-space-left { + display: flex; + align-items: center; + justify-content: space-between; + padding: 4px 32px; + text-align: left; + font-weight: bold; + color: #FFF; + background: #343A49; +} +.imagify-swal-quota .imagify-space-left p { + font-size: 14px; +} +.imagify-swal-quota .imagify-space-left [class^="imagify-bar-"] { + width: auto; + flex-basis: 269px; +} + +/* Close button */ +.imagify-sweet-alert .swal2-close { + color: rgba(255,255,255,.5); +} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/sweetalert-custom.min.css b/wp/wp-content/plugins/imagify/assets/css/sweetalert-custom.min.css new file mode 100644 index 00000000..660f01e9 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/sweetalert-custom.min.css @@ -0,0 +1 @@ +body[class*="_imagify"] .swal2-container.swal2-shown{background:rgb(31,35 ,50);background:rgba(31,35 ,50,.9);z-index:100000}.imagify-sweet-alert .swal2-modal{border-radius:2px}.imagify-sweet-alert{background:#1f2332!important}.imagify-sweet-alert .swal2-icon{margin-bottom:5px}.imagify-swal-error-header{background:#c51162!important}.imagify-swal-error-header .swal2-icon{border-color:#fff;color:#fff}.imagify-sweet-alert .swal2-title{margin:0;padding:28px 32px;font-size:24px;text-align:center;color:#fff;background:#1f2332}.imagify-swal-has-subtitle .swal2-title{text-align:left}.imagify-swal-error-header .swal2-title{background:#c51162;text-align:center;line-height:1.15}.imagify-sweet-alert .imagify-swal-subtitle{padding:0 32px 28px;margin-top:-16px;font-weight:500;font-size:14px;text-align:left;color:#7a8996;background:#1f2332}.imagify-swal-error-header .imagify-swal-subtitle{color:#fff;background:#c51162;text-align:center}.imagify-swal-buttonswrapper,.imagify-sweet-alert .swal2-buttonswrapper{margin-top:0;padding:22px;background:#f4f7f9}.imagify-swal-buttonswrapper a.button.imagify-button-primary,.imagify-sweet-alert button.swal2-styled{height:auto;padding:12px 32px;margin:10px;font-size:14px;letter-spacing:1px;text-transform:uppercase;border-radius:3px;background-color:#40b1d0!important;text-shadow:none!important;-webkit-box-shadow:0 3px 0 #338ea6;box-shadow:0 3px 0 #338ea6;white-space:normal;line-height:1.5}.imagify-swal-buttonswrapper a.button.imagify-button-primary:focus,.imagify-swal-buttonswrapper a.button.imagify-button-primary:hover{text-shadow:none;color:#fff}.imagify-swal-buttonswrapper a.button svg{margin-right:12px;vertical-align:-2px}.imagify-sweet-alert button.loading{border-radius:100%!important;height:40px!important;padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}.imagify-sweet-alert button.swal2-cancel{color:#7a8996;background:#e9eff2!important;-webkit-box-shadow:0 3px 0 rgba(31,35,50,.2);box-shadow:0 3px 0 rgba(31,35,50,.2)}.imagify-sweet-alert-signup.imagify-sweet-alert{background:#fff!important}.imagify-sweet-alert-signup .swal2-buttonswrapper{padding:12px 22px}.swal2-success-circular-line-left,.swal2-success-circular-line-right,.swal2-success-fix{background:#1f2332!important}.imagify-sweet-alert-signup .sa-confirm-button-container{width:40%}.imagify-sweet-alert-signup .swal2-input{margin-top:0;margin-left:40px;margin-right:40px;width:calc(100% - 80px)}.imagify-sweet-alert .la-ball-fall,.imagify-sweet-alert .sa-input-error:after,.imagify-sweet-alert .sa-input-error:before{top:25%!important}.imagify-sweet-alert .swal2-buttonswrapper.swal2-loading .swal2-confirm.swal2-confirm{height:40px!important;border-radius:100%!important;border-left-width:0!important;border-right-width:0!important}.imagify-sweet-alert .swal2-content{padding:28px 32px;background:#fff}.imagify-swal-has-subtitle .swal2-content{padding:0}.imagify-swal-content{font-size:14px;padding:28px 32px}.imagify-swal-quota .imagify-space-left{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:4px 32px;text-align:left;font-weight:700;color:#fff;background:#343a49}.imagify-swal-quota .imagify-space-left p{font-size:14px}.imagify-swal-quota .imagify-space-left [class^=imagify-bar-]{width:auto;-ms-flex-preferred-size:269px;flex-basis:269px}.imagify-sweet-alert .swal2-close{color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/sweetalert2.css b/wp/wp-content/plugins/imagify/assets/css/sweetalert2.css new file mode 100644 index 00000000..10a2ca1e --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/sweetalert2.css @@ -0,0 +1,716 @@ +body.swal2-shown { + overflow-y: hidden; } + +body.swal2-iosfix { + position: fixed; + left: 0; + right: 0; } + +.swal2-container { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; + padding: 10px; + background-color: transparent; + z-index: 1060; } + .swal2-container.swal2-fade { + -webkit-transition: background-color .1s; + transition: background-color .1s; } + .swal2-container.swal2-shown { + background-color: rgba(0, 0, 0, 0.4); } + +.swal2-modal { + background-color: #fff; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + border-radius: 5px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + text-align: center; + margin: auto; + overflow-x: hidden; + overflow-y: auto; + display: none; + position: relative; + max-width: 100%; } + .swal2-modal:focus { + outline: none; } + .swal2-modal.swal2-loading { + overflow-y: hidden; } + .swal2-modal .swal2-title { + color: #595959; + font-size: 30px; + text-align: center; + font-weight: 600; + text-transform: none; + position: relative; + margin: 0 0 .4em; + padding: 0; + display: block; + word-wrap: break-word; } + .swal2-modal .swal2-buttonswrapper { + margin-top: 15px; } + .swal2-modal .swal2-buttonswrapper:not(.swal2-loading) .swal2-styled[disabled] { + opacity: .4; + cursor: no-drop; } + .swal2-modal .swal2-buttonswrapper.swal2-loading .swal2-styled.swal2-confirm { + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 4px solid transparent; + border-color: transparent; + width: 40px; + height: 40px; + padding: 0; + margin: 7.5px; + vertical-align: top; + background-color: transparent !important; + color: transparent; + cursor: default; + border-radius: 100%; + -webkit-animation: rotate-loading 1.5s linear 0s infinite normal; + animation: rotate-loading 1.5s linear 0s infinite normal; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + .swal2-modal .swal2-buttonswrapper.swal2-loading .swal2-styled.swal2-cancel { + margin-left: 30px; + margin-right: 30px; } + .swal2-modal .swal2-buttonswrapper.swal2-loading :not(.swal2-styled).swal2-confirm::after { + display: inline-block; + content: ''; + margin-left: 5px 0 15px; + vertical-align: -1px; + height: 15px; + width: 15px; + border: 3px solid #999999; + -webkit-box-shadow: 1px 1px 1px #fff; + box-shadow: 1px 1px 1px #fff; + border-right-color: transparent; + border-radius: 50%; + -webkit-animation: rotate-loading 1.5s linear 0s infinite normal; + animation: rotate-loading 1.5s linear 0s infinite normal; } + .swal2-modal .swal2-styled { + border: 0; + border-radius: 3px; + -webkit-box-shadow: none; + box-shadow: none; + color: #fff; + cursor: pointer; + font-size: 17px; + font-weight: 500; + margin: 15px 5px 0; + padding: 10px 32px; } + .swal2-modal .swal2-image { + margin: 20px auto; + max-width: 100%; } + .swal2-modal .swal2-close { + background: transparent; + border: 0; + margin: 0; + padding: 0; + width: 38px; + height: 40px; + font-size: 36px; + line-height: 40px; + font-family: serif; + position: absolute; + top: 5px; + right: 8px; + cursor: pointer; + color: #cccccc; + -webkit-transition: color .1s ease; + transition: color .1s ease; } + .swal2-modal .swal2-close:hover { + color: #d55; } + .swal2-modal > .swal2-input, + .swal2-modal > .swal2-file, + .swal2-modal > .swal2-textarea, + .swal2-modal > .swal2-select, + .swal2-modal > .swal2-radio, + .swal2-modal > .swal2-checkbox { + display: none; } + .swal2-modal .swal2-content { + font-size: 18px; + text-align: center; + font-weight: 300; + position: relative; + float: none; + margin: 0; + padding: 0; + line-height: normal; + color: #545454; + word-wrap: break-word; } + .swal2-modal .swal2-input, + .swal2-modal .swal2-file, + .swal2-modal .swal2-textarea, + .swal2-modal .swal2-select, + .swal2-modal .swal2-radio, + .swal2-modal .swal2-checkbox { + margin: 20px auto; } + .swal2-modal .swal2-input, + .swal2-modal .swal2-file, + .swal2-modal .swal2-textarea { + width: 100%; + -webkit-box-sizing: border-box; + box-sizing: border-box; + font-size: 18px; + border-radius: 3px; + border: 1px solid #d9d9d9; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06); + -webkit-transition: border-color box-shadow .3s; + transition: border-color box-shadow .3s; } + .swal2-modal .swal2-input.swal2-inputerror, + .swal2-modal .swal2-file.swal2-inputerror, + .swal2-modal .swal2-textarea.swal2-inputerror { + border-color: #f27474 !important; + -webkit-box-shadow: 0 0 2px #f27474 !important; + box-shadow: 0 0 2px #f27474 !important; } + .swal2-modal .swal2-input:focus, + .swal2-modal .swal2-file:focus, + .swal2-modal .swal2-textarea:focus { + outline: none; + border: 1px solid #b4dbed; + -webkit-box-shadow: 0 0 3px #c4e6f5; + box-shadow: 0 0 3px #c4e6f5; } + .swal2-modal .swal2-input:focus::-webkit-input-placeholder, + .swal2-modal .swal2-file:focus::-webkit-input-placeholder, + .swal2-modal .swal2-textarea:focus::-webkit-input-placeholder { + -webkit-transition: opacity .3s .03s ease; + transition: opacity .3s .03s ease; + opacity: .8; } + .swal2-modal .swal2-input:focus:-ms-input-placeholder, + .swal2-modal .swal2-file:focus:-ms-input-placeholder, + .swal2-modal .swal2-textarea:focus:-ms-input-placeholder { + -webkit-transition: opacity .3s .03s ease; + transition: opacity .3s .03s ease; + opacity: .8; } + .swal2-modal .swal2-input:focus::placeholder, + .swal2-modal .swal2-file:focus::placeholder, + .swal2-modal .swal2-textarea:focus::placeholder { + -webkit-transition: opacity .3s .03s ease; + transition: opacity .3s .03s ease; + opacity: .8; } + .swal2-modal .swal2-input::-webkit-input-placeholder, + .swal2-modal .swal2-file::-webkit-input-placeholder, + .swal2-modal .swal2-textarea::-webkit-input-placeholder { + color: #e6e6e6; } + .swal2-modal .swal2-input:-ms-input-placeholder, + .swal2-modal .swal2-file:-ms-input-placeholder, + .swal2-modal .swal2-textarea:-ms-input-placeholder { + color: #e6e6e6; } + .swal2-modal .swal2-input::placeholder, + .swal2-modal .swal2-file::placeholder, + .swal2-modal .swal2-textarea::placeholder { + color: #e6e6e6; } + .swal2-modal .swal2-range input { + float: left; + width: 80%; } + .swal2-modal .swal2-range output { + float: right; + width: 20%; + font-size: 20px; + font-weight: 600; + text-align: center; } + .swal2-modal .swal2-range input, + .swal2-modal .swal2-range output { + height: 43px; + line-height: 43px; + vertical-align: middle; + margin: 20px auto; + padding: 0; } + .swal2-modal .swal2-input { + height: 43px; + padding: 0 12px; } + .swal2-modal .swal2-input[type='number'] { + max-width: 150px; } + .swal2-modal .swal2-file { + font-size: 20px; } + .swal2-modal .swal2-textarea { + height: 108px; + padding: 12px; } + .swal2-modal .swal2-select { + color: #545454; + font-size: inherit; + padding: 5px 10px; + min-width: 40%; + max-width: 100%; } + .swal2-modal .swal2-radio { + border: 0; } + .swal2-modal .swal2-radio label:not(:first-child) { + margin-left: 20px; } + .swal2-modal .swal2-radio input, + .swal2-modal .swal2-radio span { + vertical-align: middle; } + .swal2-modal .swal2-radio input { + margin: 0 3px 0 0; } + .swal2-modal .swal2-checkbox { + color: #545454; } + .swal2-modal .swal2-checkbox input, + .swal2-modal .swal2-checkbox span { + vertical-align: middle; } + .swal2-modal .swal2-validationerror { + background-color: #f0f0f0; + margin: 0 -20px; + overflow: hidden; + padding: 10px; + color: gray; + font-size: 16px; + font-weight: 300; + display: none; } + .swal2-modal .swal2-validationerror::before { + content: '!'; + display: inline-block; + width: 24px; + height: 24px; + border-radius: 50%; + background-color: #ea7d7d; + color: #fff; + line-height: 24px; + text-align: center; + margin-right: 10px; } + +@supports (-ms-accelerator: true) { + .swal2-range input { + width: 100% !important; } + .swal2-range output { + display: none; } } + +@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { + .swal2-range input { + width: 100% !important; } + .swal2-range output { + display: none; } } + +.swal2-icon { + width: 80px; + height: 80px; + border: 4px solid transparent; + border-radius: 50%; + margin: 20px auto 30px; + padding: 0; + position: relative; + -webkit-box-sizing: content-box; + box-sizing: content-box; + cursor: default; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + .swal2-icon.swal2-error { + border-color: #f27474; } + .swal2-icon.swal2-error .swal2-x-mark { + position: relative; + display: block; } + .swal2-icon.swal2-error [class^='swal2-x-mark-line'] { + position: absolute; + height: 5px; + width: 47px; + background-color: #f27474; + display: block; + top: 37px; + border-radius: 2px; } + .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='left'] { + -webkit-transform: rotate(45deg); + transform: rotate(45deg); + left: 17px; } + .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='right'] { + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); + right: 16px; } + .swal2-icon.swal2-warning { + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + color: #f8bb86; + border-color: #facea8; + font-size: 60px; + line-height: 80px; + text-align: center; } + .swal2-icon.swal2-info { + font-family: 'Open Sans', sans-serif; + color: #3fc3ee; + border-color: #9de0f6; + font-size: 60px; + line-height: 80px; + text-align: center; } + .swal2-icon.swal2-question { + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + color: #87adbd; + border-color: #c9dae1; + font-size: 60px; + line-height: 80px; + text-align: center; } + .swal2-icon.swal2-success { + border-color: #a5dc86; } + .swal2-icon.swal2-success [class^='swal2-success-circular-line'] { + border-radius: 50%; + position: absolute; + width: 60px; + height: 120px; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); } + .swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='left'] { + border-radius: 120px 0 0 120px; + top: -7px; + left: -33px; + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); + -webkit-transform-origin: 60px 60px; + transform-origin: 60px 60px; } + .swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='right'] { + border-radius: 0 120px 120px 0; + top: -11px; + left: 30px; + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); + -webkit-transform-origin: 0 60px; + transform-origin: 0 60px; } + .swal2-icon.swal2-success .swal2-success-ring { + width: 80px; + height: 80px; + border: 4px solid rgba(165, 220, 134, 0.2); + border-radius: 50%; + -webkit-box-sizing: content-box; + box-sizing: content-box; + position: absolute; + left: -4px; + top: -4px; + z-index: 2; } + .swal2-icon.swal2-success .swal2-success-fix { + width: 7px; + height: 90px; + position: absolute; + left: 28px; + top: 8px; + z-index: 1; + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); } + .swal2-icon.swal2-success [class^='swal2-success-line'] { + height: 5px; + background-color: #a5dc86; + display: block; + border-radius: 2px; + position: absolute; + z-index: 2; } + .swal2-icon.swal2-success [class^='swal2-success-line'][class$='tip'] { + width: 25px; + left: 14px; + top: 46px; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); } + .swal2-icon.swal2-success [class^='swal2-success-line'][class$='long'] { + width: 47px; + right: 8px; + top: 38px; + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); } + +.swal2-progresssteps { + font-weight: 600; + margin: 0 0 20px; + padding: 0; } + .swal2-progresssteps li { + display: inline-block; + position: relative; } + .swal2-progresssteps .swal2-progresscircle { + background: #3085d6; + border-radius: 2em; + color: #fff; + height: 2em; + line-height: 2em; + text-align: center; + width: 2em; + z-index: 20; } + .swal2-progresssteps .swal2-progresscircle:first-child { + margin-left: 0; } + .swal2-progresssteps .swal2-progresscircle:last-child { + margin-right: 0; } + .swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep { + background: #3085d6; } + .swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep ~ .swal2-progresscircle { + background: #add8e6; } + .swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep ~ .swal2-progressline { + background: #add8e6; } + .swal2-progresssteps .swal2-progressline { + background: #3085d6; + height: .4em; + margin: 0 -1px; + z-index: 10; } + +[class^='swal2'] { + -webkit-tap-highlight-color: transparent; } + +@-webkit-keyframes showSweetAlert { + 0% { + -webkit-transform: scale(0.7); + transform: scale(0.7); } + 45% { + -webkit-transform: scale(1.05); + transform: scale(1.05); } + 80% { + -webkit-transform: scale(0.95); + transform: scale(0.95); } + 100% { + -webkit-transform: scale(1); + transform: scale(1); } } + +@keyframes showSweetAlert { + 0% { + -webkit-transform: scale(0.7); + transform: scale(0.7); } + 45% { + -webkit-transform: scale(1.05); + transform: scale(1.05); } + 80% { + -webkit-transform: scale(0.95); + transform: scale(0.95); } + 100% { + -webkit-transform: scale(1); + transform: scale(1); } } + +@-webkit-keyframes hideSweetAlert { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; } + 100% { + -webkit-transform: scale(0.5); + transform: scale(0.5); + opacity: 0; } } + +@keyframes hideSweetAlert { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; } + 100% { + -webkit-transform: scale(0.5); + transform: scale(0.5); + opacity: 0; } } + +.swal2-show { + -webkit-animation: showSweetAlert 0.3s; + animation: showSweetAlert 0.3s; } + .swal2-show.swal2-noanimation { + -webkit-animation: none; + animation: none; } + +.swal2-hide { + -webkit-animation: hideSweetAlert 0.15s forwards; + animation: hideSweetAlert 0.15s forwards; } + .swal2-hide.swal2-noanimation { + -webkit-animation: none; + animation: none; } + +@-webkit-keyframes animate-success-tip { + 0% { + width: 0; + left: 1px; + top: 19px; } + 54% { + width: 0; + left: 1px; + top: 19px; } + 70% { + width: 50px; + left: -8px; + top: 37px; } + 84% { + width: 17px; + left: 21px; + top: 48px; } + 100% { + width: 25px; + left: 14px; + top: 45px; } } + +@keyframes animate-success-tip { + 0% { + width: 0; + left: 1px; + top: 19px; } + 54% { + width: 0; + left: 1px; + top: 19px; } + 70% { + width: 50px; + left: -8px; + top: 37px; } + 84% { + width: 17px; + left: 21px; + top: 48px; } + 100% { + width: 25px; + left: 14px; + top: 45px; } } + +@-webkit-keyframes animate-success-long { + 0% { + width: 0; + right: 46px; + top: 54px; } + 65% { + width: 0; + right: 46px; + top: 54px; } + 84% { + width: 55px; + right: 0; + top: 35px; } + 100% { + width: 47px; + right: 8px; + top: 38px; } } + +@keyframes animate-success-long { + 0% { + width: 0; + right: 46px; + top: 54px; } + 65% { + width: 0; + right: 46px; + top: 54px; } + 84% { + width: 55px; + right: 0; + top: 35px; } + 100% { + width: 47px; + right: 8px; + top: 38px; } } + +@-webkit-keyframes rotatePlaceholder { + 0% { + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); } + 5% { + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); } + 12% { + -webkit-transform: rotate(-405deg); + transform: rotate(-405deg); } + 100% { + -webkit-transform: rotate(-405deg); + transform: rotate(-405deg); } } + +@keyframes rotatePlaceholder { + 0% { + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); } + 5% { + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); } + 12% { + -webkit-transform: rotate(-405deg); + transform: rotate(-405deg); } + 100% { + -webkit-transform: rotate(-405deg); + transform: rotate(-405deg); } } + +.swal2-animate-success-line-tip { + -webkit-animation: animate-success-tip 0.75s; + animation: animate-success-tip 0.75s; } + +.swal2-animate-success-line-long { + -webkit-animation: animate-success-long 0.75s; + animation: animate-success-long 0.75s; } + +.swal2-success.swal2-animate-success-icon .swal2-success-circular-line-right { + -webkit-animation: rotatePlaceholder 4.25s ease-in; + animation: rotatePlaceholder 4.25s ease-in; } + +@-webkit-keyframes animate-error-icon { + 0% { + -webkit-transform: rotateX(100deg); + transform: rotateX(100deg); + opacity: 0; } + 100% { + -webkit-transform: rotateX(0deg); + transform: rotateX(0deg); + opacity: 1; } } + +@keyframes animate-error-icon { + 0% { + -webkit-transform: rotateX(100deg); + transform: rotateX(100deg); + opacity: 0; } + 100% { + -webkit-transform: rotateX(0deg); + transform: rotateX(0deg); + opacity: 1; } } + +.swal2-animate-error-icon { + -webkit-animation: animate-error-icon 0.5s; + animation: animate-error-icon 0.5s; } + +@-webkit-keyframes animate-x-mark { + 0% { + -webkit-transform: scale(0.4); + transform: scale(0.4); + margin-top: 26px; + opacity: 0; } + 50% { + -webkit-transform: scale(0.4); + transform: scale(0.4); + margin-top: 26px; + opacity: 0; } + 80% { + -webkit-transform: scale(1.15); + transform: scale(1.15); + margin-top: -6px; } + 100% { + -webkit-transform: scale(1); + transform: scale(1); + margin-top: 0; + opacity: 1; } } + +@keyframes animate-x-mark { + 0% { + -webkit-transform: scale(0.4); + transform: scale(0.4); + margin-top: 26px; + opacity: 0; } + 50% { + -webkit-transform: scale(0.4); + transform: scale(0.4); + margin-top: 26px; + opacity: 0; } + 80% { + -webkit-transform: scale(1.15); + transform: scale(1.15); + margin-top: -6px; } + 100% { + -webkit-transform: scale(1); + transform: scale(1); + margin-top: 0; + opacity: 1; } } + +.swal2-animate-x-mark { + -webkit-animation: animate-x-mark 0.5s; + animation: animate-x-mark 0.5s; } + +@-webkit-keyframes rotate-loading { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } + +@keyframes rotate-loading { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } diff --git a/wp/wp-content/plugins/imagify/assets/css/sweetalert2.min.css b/wp/wp-content/plugins/imagify/assets/css/sweetalert2.min.css new file mode 100644 index 00000000..3b03a7b2 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/sweetalert2.min.css @@ -0,0 +1 @@ +body.swal2-shown{overflow-y:hidden}body.swal2-iosfix{position:fixed;left:0;right:0}.swal2-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:fixed;top:0;left:0;bottom:0;right:0;padding:10px;background-color:transparent;z-index:1060}.swal2-container.swal2-fade{-webkit-transition:background-color .1s;-o-transition:background-color .1s;transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-modal{background-color:#fff;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;margin:auto;overflow-x:hidden;overflow-y:auto;display:none;position:relative;max-width:100%}.swal2-modal:focus{outline:0}.swal2-modal.swal2-loading{overflow-y:hidden}.swal2-modal .swal2-title{color:#595959;font-size:30px;text-align:center;font-weight:600;text-transform:none;position:relative;margin:0 0 .4em;padding:0;display:block;word-wrap:break-word}.swal2-modal .swal2-buttonswrapper{margin-top:15px}.swal2-modal .swal2-buttonswrapper:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4;cursor:no-drop}.swal2-modal .swal2-buttonswrapper.swal2-loading .swal2-styled.swal2-confirm{-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid transparent;border-color:transparent;width:40px;height:40px;padding:0;margin:7.5px;vertical-align:top;background-color:transparent!important;color:transparent;cursor:default;border-radius:100%;-webkit-animation:rotate-loading 1.5s linear 0s infinite normal;animation:rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-modal .swal2-buttonswrapper.swal2-loading .swal2-styled.swal2-cancel{margin-left:30px;margin-right:30px}.swal2-modal .swal2-buttonswrapper.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;content:'';margin-left:5px 0 15px;vertical-align:-1px;height:15px;width:15px;border:3px solid #999;-webkit-box-shadow:1px 1px 1px #fff;box-shadow:1px 1px 1px #fff;border-right-color:transparent;border-radius:50%;-webkit-animation:rotate-loading 1.5s linear 0s infinite normal;animation:rotate-loading 1.5s linear 0s infinite normal}.swal2-modal .swal2-styled{border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:#fff;cursor:pointer;font-size:17px;font-weight:500;margin:15px 5px 0;padding:10px 32px}.swal2-modal .swal2-image{margin:20px auto;max-width:100%}.swal2-modal .swal2-close{background:0 0;border:0;margin:0;padding:0;width:38px;height:40px;font-size:36px;line-height:40px;font-family:serif;position:absolute;top:5px;right:8px;cursor:pointer;color:#ccc;-webkit-transition:color .1s ease;-o-transition:color .1s ease;transition:color .1s ease}.swal2-modal .swal2-close:hover{color:#d55}.swal2-modal>.swal2-checkbox,.swal2-modal>.swal2-file,.swal2-modal>.swal2-input,.swal2-modal>.swal2-radio,.swal2-modal>.swal2-select,.swal2-modal>.swal2-textarea{display:none}.swal2-modal .swal2-content{font-size:18px;text-align:center;font-weight:300;position:relative;float:none;margin:0;padding:0;line-height:normal;color:#545454;word-wrap:break-word}.swal2-modal .swal2-checkbox,.swal2-modal .swal2-file,.swal2-modal .swal2-input,.swal2-modal .swal2-radio,.swal2-modal .swal2-select,.swal2-modal .swal2-textarea{margin:20px auto}.swal2-modal .swal2-file,.swal2-modal .swal2-input,.swal2-modal .swal2-textarea{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:18px;border-radius:3px;border:1px solid #d9d9d9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-shadow:inset 0 1px 1px rgba(0,0,0,.06);-webkit-transition:border-color box-shadow .3s;-o-transition:border-color box-shadow .3s;transition:border-color box-shadow .3s}.swal2-modal .swal2-file.swal2-inputerror,.swal2-modal .swal2-input.swal2-inputerror,.swal2-modal .swal2-textarea.swal2-inputerror{border-color:#f27474!important;-webkit-box-shadow:0 0 2px #f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-modal .swal2-file:focus,.swal2-modal .swal2-input:focus,.swal2-modal .swal2-textarea:focus{outline:0;border:1px solid #b4dbed;-webkit-box-shadow:0 0 3px #c4e6f5;box-shadow:0 0 3px #c4e6f5}.swal2-modal .swal2-file:focus::-webkit-input-placeholder,.swal2-modal .swal2-input:focus::-webkit-input-placeholder,.swal2-modal .swal2-textarea:focus::-webkit-input-placeholder{-webkit-transition:opacity .3s .03s ease;-o-transition:opacity .3s .03s ease;transition:opacity .3s .03s ease;opacity:.8}.swal2-modal .swal2-file:focus:-ms-input-placeholder,.swal2-modal .swal2-input:focus:-ms-input-placeholder,.swal2-modal .swal2-textarea:focus:-ms-input-placeholder{-webkit-transition:opacity .3s .03s ease;-o-transition:opacity .3s .03s ease;transition:opacity .3s .03s ease;opacity:.8}.swal2-modal .swal2-file:focus::-moz-placeholder,.swal2-modal .swal2-input:focus::-moz-placeholder,.swal2-modal .swal2-textarea:focus::-moz-placeholder{-webkit-transition:opacity .3s .03s ease;-o-transition:opacity .3s .03s ease;transition:opacity .3s .03s ease;opacity:.8}.swal2-modal .swal2-file:focus::-ms-input-placeholder,.swal2-modal .swal2-input:focus::-ms-input-placeholder,.swal2-modal .swal2-textarea:focus::-ms-input-placeholder{-webkit-transition:opacity .3s .03s ease;-o-transition:opacity .3s .03s ease;transition:opacity .3s .03s ease;opacity:.8}.swal2-modal .swal2-file:focus::placeholder,.swal2-modal .swal2-input:focus::placeholder,.swal2-modal .swal2-textarea:focus::placeholder{-webkit-transition:opacity .3s .03s ease;-o-transition:opacity .3s .03s ease;transition:opacity .3s .03s ease;opacity:.8}.swal2-modal .swal2-file::-webkit-input-placeholder,.swal2-modal .swal2-input::-webkit-input-placeholder,.swal2-modal .swal2-textarea::-webkit-input-placeholder{color:#e6e6e6}.swal2-modal .swal2-file:-ms-input-placeholder,.swal2-modal .swal2-input:-ms-input-placeholder,.swal2-modal .swal2-textarea:-ms-input-placeholder{color:#e6e6e6}.swal2-modal .swal2-file::-moz-placeholder,.swal2-modal .swal2-input::-moz-placeholder,.swal2-modal .swal2-textarea::-moz-placeholder{color:#e6e6e6}.swal2-modal .swal2-file::-ms-input-placeholder,.swal2-modal .swal2-input::-ms-input-placeholder,.swal2-modal .swal2-textarea::-ms-input-placeholder{color:#e6e6e6}.swal2-modal .swal2-file::placeholder,.swal2-modal .swal2-input::placeholder,.swal2-modal .swal2-textarea::placeholder{color:#e6e6e6}.swal2-modal .swal2-range input{float:left;width:80%}.swal2-modal .swal2-range output{float:right;width:20%;font-size:20px;font-weight:600;text-align:center}.swal2-modal .swal2-range input,.swal2-modal .swal2-range output{height:43px;line-height:43px;vertical-align:middle;margin:20px auto;padding:0}.swal2-modal .swal2-input{height:43px;padding:0 12px}.swal2-modal .swal2-input[type=number]{max-width:150px}.swal2-modal .swal2-file{font-size:20px}.swal2-modal .swal2-textarea{height:108px;padding:12px}.swal2-modal .swal2-select{color:#545454;font-size:inherit;padding:5px 10px;min-width:40%;max-width:100%}.swal2-modal .swal2-radio{border:0}.swal2-modal .swal2-radio label:not(:first-child){margin-left:20px}.swal2-modal .swal2-radio input,.swal2-modal .swal2-radio span{vertical-align:middle}.swal2-modal .swal2-radio input{margin:0 3px 0 0}.swal2-modal .swal2-checkbox{color:#545454}.swal2-modal .swal2-checkbox input,.swal2-modal .swal2-checkbox span{vertical-align:middle}.swal2-modal .swal2-validationerror{background-color:#f0f0f0;margin:0 -20px;overflow:hidden;padding:10px;color:gray;font-size:16px;font-weight:300;display:none}.swal2-modal .swal2-validationerror::before{content:'!';display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#ea7d7d;color:#fff;line-height:24px;text-align:center;margin-right:10px}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}.swal2-icon{width:80px;height:80px;border:4px solid transparent;border-radius:50%;margin:20px auto 30px;padding:0;position:relative;-webkit-box-sizing:content-box;box-sizing:content-box;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;display:block}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{position:absolute;height:5px;width:47px;background-color:#f27474;display:block;top:37px;border-radius:2px}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);left:17px}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);right:16px}.swal2-icon.swal2-warning{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:#f8bb86;border-color:#facea8;font-size:60px;line-height:80px;text-align:center}.swal2-icon.swal2-info{font-family:'Open Sans',sans-serif;color:#3fc3ee;border-color:#9de0f6;font-size:60px;line-height:80px;text-align:center}.swal2-icon.swal2-question{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:#87adbd;border-color:#c9dae1;font-size:60px;line-height:80px;text-align:center}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{border-radius:50%;position:absolute;width:60px;height:120px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{border-radius:120px 0 0 120px;top:-7px;left:-33px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:60px 60px;-ms-transform-origin:60px 60px;transform-origin:60px 60px}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{border-radius:0 120px 120px 0;top:-11px;left:30px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 60px;-ms-transform-origin:0 60px;transform-origin:0 60px}.swal2-icon.swal2-success .swal2-success-ring{width:80px;height:80px;border:4px solid rgba(165,220,134,.2);border-radius:50%;-webkit-box-sizing:content-box;box-sizing:content-box;position:absolute;left:-4px;top:-4px;z-index:2}.swal2-icon.swal2-success .swal2-success-fix{width:7px;height:90px;position:absolute;left:28px;top:8px;z-index:1;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{height:5px;background-color:#a5dc86;display:block;border-radius:2px;position:absolute;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{width:25px;left:14px;top:46px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{width:47px;right:8px;top:38px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{font-weight:600;margin:0 0 20px;padding:0}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{background:#3085d6;border-radius:2em;color:#fff;height:2em;line-height:2em;text-align:center;width:2em;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{background:#3085d6;height:.4em;margin:0 -1px;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}@-webkit-keyframes showSweetAlert{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes showSweetAlert{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes hideSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes hideSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}.swal2-show{-webkit-animation:showSweetAlert .3s;animation:showSweetAlert .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:hideSweetAlert .15s forwards;animation:hideSweetAlert .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}@-webkit-keyframes animate-success-tip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}100%{width:25px;left:14px;top:45px}}@keyframes animate-success-tip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}100%{width:25px;left:14px;top:45px}}@-webkit-keyframes animate-success-long{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}100%{width:47px;right:8px;top:38px}}@keyframes animate-success-long{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}100%{width:47px;right:8px;top:38px}}@-webkit-keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}.swal2-animate-success-line-tip{-webkit-animation:animate-success-tip .75s;animation:animate-success-tip .75s}.swal2-animate-success-line-long{-webkit-animation:animate-success-long .75s;animation:animate-success-long .75s}.swal2-success.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:rotatePlaceholder 4.25s ease-in;animation:rotatePlaceholder 4.25s ease-in}@-webkit-keyframes animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}.swal2-animate-error-icon{-webkit-animation:animate-error-icon .5s;animation:animate-error-icon .5s}@-webkit-keyframes animate-x-mark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}100%{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}@keyframes animate-x-mark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}100%{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}.swal2-animate-x-mark{-webkit-animation:animate-x-mark .5s;animation:animate-x-mark .5s}@-webkit-keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/css/twentytwenty.css b/wp/wp-content/plugins/imagify/assets/css/twentytwenty.css new file mode 100644 index 00000000..08357373 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/twentytwenty.css @@ -0,0 +1,315 @@ +/** + * Twentwenty image comparison + */ +.twentytwenty-handle { + z-index: 40; + position: absolute; + left: 50%; + top: 50%; + height: 64px; + width: 64px; + margin-left: -32px; + margin-top: -32px; + border-radius: 50%; + box-shadow: 0 3px 0 #338EA6; + background: #40B1D0; + cursor: pointer; +} +.twentytwenty-horizontal .twentytwenty-handle:before, +.twentytwenty-horizontal .twentytwenty-handle:after { + left: 50%; + width: 2px; + height: 9999px; + margin-left: -1px; +} + +.twentytwenty-horizontal .twentytwenty-handle:before { + bottom: 50%; + margin-bottom: 32px; + box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); +} + +.twentytwenty-horizontal .twentytwenty-handle:after { + top: 50%; + margin-top: 34px; + box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); +} + +.twentytwenty-horizontal .twentytwenty-handle:before, +.twentytwenty-horizontal .twentytwenty-handle:after { + content: ""; + position: absolute; + z-index: 30; + display: block; + background: #F2F5F7; + box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); +} + +.twentytwenty-labels, +.twentytwenty-overlay { + position: absolute; + top: 0; + width: 100%; + height: 100%; + -webkit-transition-duration: 0.5s; + transition-duration: 0.5s; +} + +.twentytwenty-labels { + opacity: 1; + -webkit-transition-property: opacity; + transition-property: opacity; +} + +.twentytwenty-labels .twentytwenty-label-content { + position: absolute; + padding: 0 12px; + font-size: 13px; + letter-spacing: 0.1em; + line-height: 38px; + color: white; + background: #1F2332; + border-radius: 2px; +} + +.twentytwenty-horizontal .twentytwenty-labels .twentytwenty-label-content { + bottom: 15px; +} + +.twentytwenty-after-label .twentytwenty-label-content { + background: #40B1D0; +} + +.twentytwenty-left-arrow, +.twentytwenty-right-arrow { + position: absolute; + width: 0; + height: 0; + border: 8px inset transparent; +} + +.twentytwenty-left-arrow, +.twentytwenty-right-arrow { + top: 50%; + margin-top: -8px; +} + +.twentytwenty-container { + box-sizing: content-box; + position: relative; + z-index: 0; + overflow: hidden; + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); + opacity: 0; + -webkit-transition: opacity 0.4s; + transition: opacity 0.4s; + -webkit-user-select: none; + -moz-user-select: none; +} + +.twentytwenty-container * { + box-sizing: content-box; +} + +.twentytwenty-container img { + position: absolute; + top: 0; + display: block; + width: 100%; + height: auto; +} + +.loaded .twentytwenty-container { + opacity: 1; +} + +.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-labels, +.twentytwenty-container.active .twentytwenty-overlay:hover .twentytwenty-labels { + opacity: 0; +} + +.twentytwenty-horizontal .twentytwenty-before-label .twentytwenty-label-content { + left: 15px; +} + +.twentytwenty-horizontal .twentytwenty-after-label .twentytwenty-label-content { + right: 15px; +} + +.twentytwenty-overlay { + z-index: 25; +} +.twentytwenty-before { + z-index: 20; +} +.twentytwenty-after { + z-index: 10; +} + +/* Buttons for image choices */ +.twentytwenty-duo-buttons { + position: absolute; + top: 10px; + z-index: 30; + overflow: hidden; +} + +.twentytwenty-duo-buttons button { + float: left; + padding: 2px 6px; + font-size: 11px; + text-transform: uppercase; + letter-spacing: 0.125em; + font-weight: bold; + border: 0; + background: #1f2332; + color: #FFF; + transition: all .3s; + cursor: pointer; +} + +.twentytwenty-duo-buttons button:hover, +.twentytwenty-duo-buttons button:focus { + background: #444; +} + +.twentytwenty-duo-buttons button:first-child { + border-radius: 3px 0 0 3px; +} + +.twentytwenty-duo-buttons button:last-child { + border-radius: 0 3px 3px 0; +} + +.twentytwenty-duo-buttons button.selected { + background: #8bc34a; + text-shadow: 0 0 1px rgba(0,0,0,.2); + cursor: default; +} + +.twentytwenty-duo-left { + left: 10px; +} + +.twentytwenty-duo-right { + right: 10px; +} + +.twentytwenty-left-arrow { + left: 50%; + margin-left: -22px; + border-right: 8px solid white; +} + +.twentytwenty-right-arrow { + right: 50%; + margin-right: -22px; + border-left: 8px solid white; +} + +#imagify-visual-comparison .close-btn, +.imagify-visual-comparison .close-btn { + top: 50px; + right: 5px; + width: 33px; + height: 33px; + padding: 1px 0 0 2px; + border: 1px solid #F2F2F2; + color: #F2F2F2; + line-height: 19px; + text-align: center; + border-radius: 50%; +} + +.imagify-modal .imagify-comparison-title { + font-size: 28px; + margin-bottom: 1em; + color: #F2F2F2; + text-align: left; +} +.imagify-modal .imagify-comparison-title .twentytwenty-duo-buttons { + position: static; + margin: 0 10px 0 15px; +} +.imagify-comparison-title .twentytwenty-duo-buttons button { + float: none; + padding: 6px 12px; + font-size: 16px; + text-transform: none; + border: 1px solid #40B1D0; + color: #888899; + letter-spacing: 0; +} +.imagify-comparison-title .twentytwenty-duo-buttons button:focus { + outline: none; + box-shadow: none; +} +.imagify-comparison-title .twentytwenty-duo-buttons .selected { + border: 1px solid #40B1D0; + color: #FFF; + background: #40B1D0; +} + +.imagify-comparison-levels { + margin: 15px 0; + overflow: hidden; +} +.imagify-comparison-levels .imagify-c-level { + display: none; + min-width: 175px; + font-size: 11px; +} +.imagify-c-level.go-left { + float: left; +} +.imagify-c-level.go-right { + float: right; +} +.imagify-c-level.go-right, +.imagify-c-level.go-left { + display: table; +} +.imagify-c-level .imagify-c-level-row { + display: table-row; + margin: 0; + color: #FFF; +} +.imagify-c-level-row > span { + display: table-cell; + padding: 2px 0; +} +.imagify-c-level-row .value { + text-align: right; + padding-left: 5px; +} +.imagify-c-level-row .value.level { + color: #40b1d0; +} +.imagify-c-level-row .value.size { + color: #8bc34a; + font-weight: bold; +} + +/* TT Loader */ +.imagify-modal .loader { + position: absolute; + top: 50%; + left: 50%; + margin: -32px 0 0 -32px; + opacity: 0; + visibility: hidden; + transition: opacity .4s; +} +.imagify-modal .loading .loader { + visibility: visible; + opacity: 1; +} + +/* Specifics for too high modals */ +.modal-is-too-high .imagify-comparison-levels { + position: absolute; + padding: 15px 20px; + background: rgba(31, 35, 50, 0.95); + bottom: 0; left: 0; right: 0; + margin-bottom: 0; +} diff --git a/wp/wp-content/plugins/imagify/assets/css/twentytwenty.min.css b/wp/wp-content/plugins/imagify/assets/css/twentytwenty.min.css new file mode 100644 index 00000000..6250cc54 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/css/twentytwenty.min.css @@ -0,0 +1 @@ +.twentytwenty-handle{z-index:40;position:absolute;left:50%;top:50%;height:64px;width:64px;margin-left:-32px;margin-top:-32px;border-radius:50%;-webkit-box-shadow:0 3px 0 #338ea6;box-shadow:0 3px 0 #338ea6;background:#40b1d0;cursor:pointer}.twentytwenty-horizontal .twentytwenty-handle:after,.twentytwenty-horizontal .twentytwenty-handle:before{left:50%;width:2px;height:9999px;margin-left:-1px}.twentytwenty-horizontal .twentytwenty-handle:before{bottom:50%;margin-bottom:32px;-webkit-box-shadow:0 3px 0 #fff,0 0 12px rgba(51,51,51,.5);box-shadow:0 3px 0 #fff,0 0 12px rgba(51,51,51,.5)}.twentytwenty-horizontal .twentytwenty-handle:after{top:50%;margin-top:34px;-webkit-box-shadow:0 -3px 0 #fff,0 0 12px rgba(51,51,51,.5);box-shadow:0 -3px 0 #fff,0 0 12px rgba(51,51,51,.5)}.twentytwenty-horizontal .twentytwenty-handle:after,.twentytwenty-horizontal .twentytwenty-handle:before{content:"";position:absolute;z-index:30;display:block;background:#f2f5f7;-webkit-box-shadow:0 0 12px rgba(51,51,51,.5);box-shadow:0 0 12px rgba(51,51,51,.5)}.twentytwenty-labels,.twentytwenty-overlay{position:absolute;top:0;width:100%;height:100%;-webkit-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s}.twentytwenty-labels{opacity:1;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.twentytwenty-labels .twentytwenty-label-content{position:absolute;padding:0 12px;font-size:13px;letter-spacing:.1em;line-height:38px;color:#fff;background:#1f2332;border-radius:2px}.twentytwenty-horizontal .twentytwenty-labels .twentytwenty-label-content{bottom:15px}.twentytwenty-after-label .twentytwenty-label-content{background:#40b1d0}.twentytwenty-left-arrow,.twentytwenty-right-arrow{position:absolute;width:0;height:0;border:8px inset transparent}.twentytwenty-left-arrow,.twentytwenty-right-arrow{top:50%;margin-top:-8px}.twentytwenty-container{-webkit-box-sizing:content-box;box-sizing:content-box;position:relative;z-index:0;overflow:hidden;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.15);box-shadow:0 5px 10px rgba(0,0,0,.15);opacity:0;-webkit-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;-webkit-user-select:none;-moz-user-select:none}.twentytwenty-container *{-webkit-box-sizing:content-box;box-sizing:content-box}.twentytwenty-container img{position:absolute;top:0;display:block;width:100%;height:auto}.loaded .twentytwenty-container{opacity:1}.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-labels,.twentytwenty-container.active .twentytwenty-overlay:hover .twentytwenty-labels{opacity:0}.twentytwenty-horizontal .twentytwenty-before-label .twentytwenty-label-content{left:15px}.twentytwenty-horizontal .twentytwenty-after-label .twentytwenty-label-content{right:15px}.twentytwenty-overlay{z-index:25}.twentytwenty-before{z-index:20}.twentytwenty-after{z-index:10}.twentytwenty-duo-buttons{position:absolute;top:10px;z-index:30;overflow:hidden}.twentytwenty-duo-buttons button{float:left;padding:2px 6px;font-size:11px;text-transform:uppercase;letter-spacing:.125em;font-weight:700;border:0;background:#1f2332;color:#fff;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;cursor:pointer}.twentytwenty-duo-buttons button:focus,.twentytwenty-duo-buttons button:hover{background:#444}.twentytwenty-duo-buttons button:first-child{border-radius:3px 0 0 3px}.twentytwenty-duo-buttons button:last-child{border-radius:0 3px 3px 0}.twentytwenty-duo-buttons button.selected{background:#8bc34a;text-shadow:0 0 1px rgba(0,0,0,.2);cursor:default}.twentytwenty-duo-left{left:10px}.twentytwenty-duo-right{right:10px}.twentytwenty-left-arrow{left:50%;margin-left:-22px;border-right:8px solid #fff}.twentytwenty-right-arrow{right:50%;margin-right:-22px;border-left:8px solid #fff}#imagify-visual-comparison .close-btn,.imagify-visual-comparison .close-btn{top:50px;right:5px;width:33px;height:33px;padding:1px 0 0 2px;border:1px solid #f2f2f2;color:#f2f2f2;line-height:19px;text-align:center;border-radius:50%}.imagify-modal .imagify-comparison-title{font-size:28px;margin-bottom:1em;color:#f2f2f2;text-align:left}.imagify-modal .imagify-comparison-title .twentytwenty-duo-buttons{position:static;margin:0 10px 0 15px}.imagify-comparison-title .twentytwenty-duo-buttons button{float:none;padding:6px 12px;font-size:16px;text-transform:none;border:1px solid #40b1d0;color:#889;letter-spacing:0}.imagify-comparison-title .twentytwenty-duo-buttons button:focus{outline:0;-webkit-box-shadow:none;box-shadow:none}.imagify-comparison-title .twentytwenty-duo-buttons .selected{border:1px solid #40b1d0;color:#fff;background:#40b1d0}.imagify-comparison-levels{margin:15px 0;overflow:hidden}.imagify-comparison-levels .imagify-c-level{display:none;min-width:175px;font-size:11px}.imagify-c-level.go-left{float:left}.imagify-c-level.go-right{float:right}.imagify-c-level.go-left,.imagify-c-level.go-right{display:table}.imagify-c-level .imagify-c-level-row{display:table-row;margin:0;color:#fff}.imagify-c-level-row>span{display:table-cell;padding:2px 0}.imagify-c-level-row .value{text-align:right;padding-left:5px}.imagify-c-level-row .value.level{color:#40b1d0}.imagify-c-level-row .value.size{color:#8bc34a;font-weight:700}.imagify-modal .loader{position:absolute;top:50%;left:50%;margin:-32px 0 0 -32px;opacity:0;visibility:hidden;-webkit-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s}.imagify-modal .loading .loader{visibility:visible;opacity:1}.modal-is-too-high .imagify-comparison-levels{position:absolute;padding:15px 20px;background:rgba(31,35,50,.95);bottom:0;left:0;right:0;margin-bottom:0} \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/big-blue-check.png b/wp/wp-content/plugins/imagify/assets/images/big-blue-check.png new file mode 100644 index 00000000..d6bf18a3 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/big-blue-check.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/bulk.svg b/wp/wp-content/plugins/imagify/assets/images/bulk.svg new file mode 100644 index 00000000..ce0f684b --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/bulk.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/check-1.svg b/wp/wp-content/plugins/imagify/assets/images/check-1.svg new file mode 100644 index 00000000..0212af9d --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/check-1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/check-mini-1.svg b/wp/wp-content/plugins/imagify/assets/images/check-mini-1.svg new file mode 100644 index 00000000..8bcb9508 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/check-mini-1.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/wp/wp-content/plugins/imagify/assets/images/check-mini.svg b/wp/wp-content/plugins/imagify/assets/images/check-mini.svg new file mode 100644 index 00000000..042c07dd --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/check-mini.svg @@ -0,0 +1,14 @@ + + + + Path + Created with Sketch. + + + + + + + + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/check.svg b/wp/wp-content/plugins/imagify/assets/images/check.svg new file mode 100644 index 00000000..a7772216 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/check.svg @@ -0,0 +1,14 @@ + + + + Path + Created with Sketch. + + + + + + + + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/cloudy-sun.svg b/wp/wp-content/plugins/imagify/assets/images/cloudy-sun.svg new file mode 100644 index 00000000..fb059222 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/cloudy-sun.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/wp/wp-content/plugins/imagify/assets/images/facebook_c.svg b/wp/wp-content/plugins/imagify/assets/images/facebook_c.svg new file mode 100644 index 00000000..81c578b7 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/facebook_c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/gear.svg b/wp/wp-content/plugins/imagify/assets/images/gear.svg new file mode 100644 index 00000000..2746e8a9 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/gear.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-alert.svg b/wp/wp-content/plugins/imagify/assets/images/icon-alert.svg new file mode 100644 index 00000000..47c1605c --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-alert.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-arrow-choice.png b/wp/wp-content/plugins/imagify/assets/images/icon-arrow-choice.png new file mode 100644 index 00000000..2d46185d Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/icon-arrow-choice.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-arrow-choice.svg b/wp/wp-content/plugins/imagify/assets/images/icon-arrow-choice.svg new file mode 100644 index 00000000..1c05e5d9 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-arrow-choice.svg @@ -0,0 +1,12 @@ + + + + Shape + Created with Sketch. + + + + + + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-doc-image.svg b/wp/wp-content/plugins/imagify/assets/images/icon-doc-image.svg new file mode 100644 index 00000000..4b9889ea --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-doc-image.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-external.svg b/wp/wp-content/plugins/imagify/assets/images/icon-external.svg new file mode 100644 index 00000000..92fe1fb4 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-external.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-level.svg b/wp/wp-content/plugins/imagify/assets/images/icon-level.svg new file mode 100644 index 00000000..c0ffd77b --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-level.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-load.svg b/wp/wp-content/plugins/imagify/assets/images/icon-load.svg new file mode 100644 index 00000000..a4f60169 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-load.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-lock.png b/wp/wp-content/plugins/imagify/assets/images/icon-lock.png new file mode 100644 index 00000000..07d38772 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/icon-lock.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-lock.svg b/wp/wp-content/plugins/imagify/assets/images/icon-lock.svg new file mode 100644 index 00000000..e935c470 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-lock.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-pack.png b/wp/wp-content/plugins/imagify/assets/images/icon-pack.png new file mode 100644 index 00000000..34ca691c Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/icon-pack.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-pack.svg b/wp/wp-content/plugins/imagify/assets/images/icon-pack.svg new file mode 100644 index 00000000..2e6f244b --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-pack.svg @@ -0,0 +1,16 @@ + + + + Shape + Created with Sketch. + + + + + + + + + + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/icon-time.svg b/wp/wp-content/plugins/imagify/assets/images/icon-time.svg new file mode 100644 index 00000000..7487abca --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/icon-time.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/imagify-logo.png b/wp/wp-content/plugins/imagify/assets/images/imagify-logo.png new file mode 100644 index 00000000..94342a85 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/imagify-logo.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-de.jpg b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-de.jpg new file mode 100644 index 00000000..1611912e Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-de.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-en.jpg b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-en.jpg new file mode 100644 index 00000000..d69dbe50 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-en.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-es.jpg b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-es.jpg new file mode 100644 index 00000000..de9240a2 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-es.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-fr.jpg b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-fr.jpg new file mode 100644 index 00000000..dceb4460 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-fr.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-it.jpg b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-it.jpg new file mode 100644 index 00000000..a694eaba Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/imagify-menu-bar-it.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/imagify.svg b/wp/wp-content/plugins/imagify/assets/images/imagify.svg new file mode 100644 index 00000000..54744b3c --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/imagify.svg @@ -0,0 +1,32 @@ + + + + WordPress Plugin + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/key.svg b/wp/wp-content/plugins/imagify/assets/images/key.svg new file mode 100644 index 00000000..cf996b31 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/key.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/lazyload.png b/wp/wp-content/plugins/imagify/assets/images/lazyload.png new file mode 100644 index 00000000..b077c391 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/lazyload.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/loader-balls.svg b/wp/wp-content/plugins/imagify/assets/images/loader-balls.svg new file mode 100644 index 00000000..49d74496 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/loader-balls.svg @@ -0,0 +1,144 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/logo-wprocket.png b/wp/wp-content/plugins/imagify/assets/images/logo-wprocket.png new file mode 100644 index 00000000..0a4d3379 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/logo-wprocket.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/logo-wprocket.svg b/wp/wp-content/plugins/imagify/assets/images/logo-wprocket.svg new file mode 100644 index 00000000..ee3e676f --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/logo-wprocket.svg @@ -0,0 +1,47 @@ + + + + Icon / WP Rocket / Light + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/logo-wprocket@2x.png b/wp/wp-content/plugins/imagify/assets/images/logo-wprocket@2x.png new file mode 100644 index 00000000..72faeb3b Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/logo-wprocket@2x.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/mail.svg b/wp/wp-content/plugins/imagify/assets/images/mail.svg new file mode 100644 index 00000000..c211861d --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/mail.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/mushrooms-aggressive.jpg b/wp/wp-content/plugins/imagify/assets/images/mushrooms-aggressive.jpg new file mode 100644 index 00000000..9cfcdd38 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/mushrooms-aggressive.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/mushrooms-normal.jpg b/wp/wp-content/plugins/imagify/assets/images/mushrooms-normal.jpg new file mode 100644 index 00000000..fa7cfe20 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/mushrooms-normal.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/mushrooms-original.jpg b/wp/wp-content/plugins/imagify/assets/images/mushrooms-original.jpg new file mode 100644 index 00000000..1451bf08 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/mushrooms-original.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/mushrooms-ultra.jpg b/wp/wp-content/plugins/imagify/assets/images/mushrooms-ultra.jpg new file mode 100644 index 00000000..d8271af3 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/mushrooms-ultra.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/phone.svg b/wp/wp-content/plugins/imagify/assets/images/phone.svg new file mode 100644 index 00000000..35bf820d --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/phone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/pic-ericwaltr.jpg b/wp/wp-content/plugins/imagify/assets/images/pic-ericwaltr.jpg new file mode 100644 index 00000000..1ca16831 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/pic-ericwaltr.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/pic-srhdesign.jpg b/wp/wp-content/plugins/imagify/assets/images/pic-srhdesign.jpg new file mode 100644 index 00000000..65e822df Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/pic-srhdesign.jpg differ diff --git a/wp/wp-content/plugins/imagify/assets/images/popin-loader.svg b/wp/wp-content/plugins/imagify/assets/images/popin-loader.svg new file mode 100644 index 00000000..2fa58146 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/popin-loader.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wp/wp-content/plugins/imagify/assets/images/spinner.gif b/wp/wp-content/plugins/imagify/assets/images/spinner.gif new file mode 100644 index 00000000..974ce638 Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/spinner.gif differ diff --git a/wp/wp-content/plugins/imagify/assets/images/stormy.svg b/wp/wp-content/plugins/imagify/assets/images/stormy.svg new file mode 100644 index 00000000..7a3f3dfe --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/stormy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/sun.svg b/wp/wp-content/plugins/imagify/assets/images/sun.svg new file mode 100644 index 00000000..20e3af48 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/sun.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/twitter_c.svg b/wp/wp-content/plugins/imagify/assets/images/twitter_c.svg new file mode 100644 index 00000000..4274a296 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/twitter_c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/images/upload-image.png b/wp/wp-content/plugins/imagify/assets/images/upload-image.png new file mode 100644 index 00000000..a68ac9fa Binary files /dev/null and b/wp/wp-content/plugins/imagify/assets/images/upload-image.png differ diff --git a/wp/wp-content/plugins/imagify/assets/images/user.svg b/wp/wp-content/plugins/imagify/assets/images/user.svg new file mode 100644 index 00000000..f3b8d057 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/images/user.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/imagify/assets/js/admin-bar.js b/wp/wp-content/plugins/imagify/assets/js/admin-bar.js new file mode 100644 index 00000000..6b5777c6 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/admin-bar.js @@ -0,0 +1,37 @@ +// Admin bar ======================================================================================= +(function($, d, w, undefined) { // eslint-disable-line no-unused-vars, no-shadow, no-shadow-restricted-names + + var busy = false; + + $( d ).on( 'mouseenter', '#wp-admin-bar-imagify', function() { + var $adminBarProfile, url; + + if ( true === busy ) { + return; + } + + busy = true; + + $adminBarProfile = $( '#wp-admin-bar-imagify-profile-content' ); + + if ( ! $adminBarProfile.is( ':empty' ) ) { + return; + } + + if ( w.ajaxurl ) { + url = w.ajaxurl; + } else { + url = w.imagifyAdminBar.ajaxurl; + } + + url += url.indexOf( '?' ) > 0 ? '&' : '?'; + + $.get( url + 'action=imagify_get_admin_bar_profile&imagifygetadminbarprofilenonce=' + $( '#imagifygetadminbarprofilenonce' ).val() ) + .done( function( response ) { + $adminBarProfile.html( response.data ); + $( '#wp-admin-bar-imagify-profile-loading' ).remove(); + busy = false; + } ); + } ); + +} )(jQuery, document, window); diff --git a/wp/wp-content/plugins/imagify/assets/js/admin-bar.min.js b/wp/wp-content/plugins/imagify/assets/js/admin-bar.min.js new file mode 100644 index 00000000..fc555389 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/admin-bar.min.js @@ -0,0 +1 @@ +!function(n,i,e){var m=!1;n(i).on("mouseenter","#wp-admin-bar-imagify",function(){var a,i;!0!==m&&(m=!0,(a=n("#wp-admin-bar-imagify-profile-content")).is(":empty"))&&(i=e.ajaxurl||e.imagifyAdminBar.ajaxurl,i+=0 0 ? '&' : '?', + log: function( content ) { + if ( undefined !== console ) { + console.log( content ); // eslint-disable-line no-console + } + }, + info: function( content ) { + if ( undefined !== console ) { + console.info( content ); // eslint-disable-line no-console + } + }, + openModal: function( $link ) { + var target = $link.data( 'target' ) || $link.attr( 'href' ); + + jQuery( target ).css( 'display', 'flex' ).hide().fadeIn( 400 ).attr( { + 'aria-hidden': 'false', + 'tabindex': '0' + } ).trigger('focus').removeAttr( 'tabindex' ).addClass( 'modal-is-open' ); + + jQuery( 'body' ).addClass( 'imagify-modal-is-open' ); + }, + template: function( id ) { + if ( undefined === _ ) { + // No need to load underscore everywhere if we don't use it. + return ''; + } + + return _.memoize( function( data ) { + var compiled, + options = { + evaluate: /<#([\s\S]+?)#>/g, + interpolate: /\{\{\{([\s\S]+?)\}\}\}/g, + escape: /\{\{([^}]+?)\}\}(?!\})/g, + variable: 'data' + }; + + return function() { + compiled = compiled || _.template( jQuery( '#tmpl-' + id ).html(), null, options ); + data = data || {}; + return compiled( data ); + }; + } ); + }, + humanSize: function( bytes ) { + var sizes = ['B', 'kB', 'MB'], + i; + + if ( 0 === bytes ) { + return '0\xA0kB'; + } + + i = parseInt( Math.floor( Math.log( bytes ) / Math.log( 1024 ) ), 10 ); + + return ( bytes / Math.pow( 1024, i ) ).toFixed( 2 ) + '\xA0' + sizes[ i ]; + } +} ); + + +// Imagify light modal ============================================================================= +(function($, d, w, undefined) { // eslint-disable-line no-unused-vars, no-shadow, no-shadow-restricted-names + + // Accessibility. + $( '.imagify-modal' ).attr( 'aria-hidden', 'true' ); + + $( d ) + // On click on modal trigger, open modal. + .on( 'click.imagify', '.imagify-modal-trigger', function( e ) { + e.preventDefault(); + w.imagify.openModal( $( this ) ); + } ) + // On click on close button, close modal. + .on( 'click.imagify', '.imagify-modal .close-btn', function() { + var $modal = $( this ).closest( '.imagify-modal' ); + + $modal.fadeOut( 400 ).attr( 'aria-hidden', 'true' ).removeClass( 'modal-is-open' ).trigger( 'modalClosed.imagify' ); + + $( 'body' ).removeClass( 'imagify-modal-is-open' ); + } ) + // On close button blur, improve accessibility. + .on( 'blur.imagify', '.imagify-modal .close-btn', function() { + var $modal = $( this ).closest( '.imagify-modal' ); + + if ( $modal.attr( 'aria-hidden' ) === 'false' ) { + $modal.attr( 'tabindex', '0' ).trigger('focus').removeAttr( 'tabindex' ); + } + } ) + // On click on dropped layer of modal, close modal. + .on( 'click.imagify', '.imagify-modal', function( e ) { + $( e.target ).filter( '.modal-is-open' ).find( '.close-btn' ).trigger( 'click.imagify' ); + } ) + // `Esc` key binding, close modal. + .on( 'keydown.imagify', function( e ) { + if ( 27 === e.keyCode && $( '.imagify-modal.modal-is-open' ).length > 0 ) { + e.preventDefault(); + // Trigger the event. + $( '.imagify-modal.modal-is-open' ).find( '.close-btn' ).trigger( 'click.imagify' ); + } + } ); + +} )(jQuery, document, window); diff --git a/wp/wp-content/plugins/imagify/assets/js/admin.min.js b/wp/wp-content/plugins/imagify/assets/js/admin.min.js new file mode 100644 index 00000000..9c08f3fb --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/admin.min.js @@ -0,0 +1 @@ +window.imagify=window.imagify||{},jQuery.extend(window.imagify,{concat:0/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^}]+?)\}\}(?!\})/g,variable:"data"};return function(){return(a=a||_.template(jQuery("#tmpl-"+o).html(),null,e))(i=i||{})}})},humanSize:function(i){var a;return 0===i?"0 kB":(a=parseInt(Math.floor(Math.log(i)/Math.log(1024)),10),(i/Math.pow(1024,a)).toFixed(2)+" "+["B","kB","MB"][a])}}),function(a,i,e){a(".imagify-modal").attr("aria-hidden","true"),a(i).on("click.imagify",".imagify-modal-trigger",function(i){i.preventDefault(),e.imagify.openModal(a(this))}).on("click.imagify",".imagify-modal .close-btn",function(){a(this).closest(".imagify-modal").fadeOut(400).attr("aria-hidden","true").removeClass("modal-is-open").trigger("modalClosed.imagify"),a("body").removeClass("imagify-modal-is-open")}).on("blur.imagify",".imagify-modal .close-btn",function(){var i=a(this).closest(".imagify-modal");"false"===i.attr("aria-hidden")&&i.attr("tabindex","0").trigger("focus").removeAttr("tabindex")}).on("click.imagify",".imagify-modal",function(i){a(i.target).filter(".modal-is-open").find(".close-btn").trigger("click.imagify")}).on("keydown.imagify",function(i){27===i.keyCode&&0 120 ) { + settings.mainInterval = 120; + } + } + + /* + * Used to limit the number of AJAX requests. Overrides all other intervals if + * they are shorter. Needed for some hosts that cannot handle frequent requests + * and the user may exceed the allocated server CPU time, etc. The minimal + * interval can be up to 600 sec. however setting it to longer than 120 sec. + * will limit or disable some of the functionality (like post locks). Once set + * at initialization, minimalInterval cannot be changed/overridden. + */ + if ( options.minimalInterval ) { + options.minimalInterval = parseInt( options.minimalInterval, 10 ); + settings.minimalInterval = options.minimalInterval > 0 && options.minimalInterval <= 600 ? options.minimalInterval * 1000 : 0; + } + + if ( settings.minimalInterval && settings.mainInterval < settings.minimalInterval ) { + settings.mainInterval = settings.minimalInterval; + } + + // 'screenId' can be added from settings on the front end where the JS global + // 'pagenow' is not set. + if ( ! settings.screenId ) { + settings.screenId = options.screenId || 'front'; + } + + if ( 'disable' === options.suspension ) { + disableSuspend(); + } + } + + // Convert to milliseconds. + settings.mainInterval = settings.mainInterval * 1000; + settings.originalInterval = settings.mainInterval; + + /* + * Switch the interval to 120 seconds by using the Page Visibility API. + * If the browser doesn't support it (Safari < 7, Android < 4.4, IE < 10), the + * interval will be increased to 120 seconds after 5 minutes of mouse and keyboard + * inactivity. + */ + if ( typeof document.hidden !== 'undefined' ) { + hidden = 'hidden'; + visibilitychange = 'visibilitychange'; + visibilityState = 'visibilityState'; + } else if ( typeof document.msHidden !== 'undefined' ) { // IE10 + hidden = 'msHidden'; + visibilitychange = 'msvisibilitychange'; + visibilityState = 'msVisibilityState'; + } else if ( typeof document.webkitHidden !== 'undefined' ) { // Android + hidden = 'webkitHidden'; + visibilitychange = 'webkitvisibilitychange'; + visibilityState = 'webkitVisibilityState'; + } + + if ( hidden ) { + if ( document[ hidden ] ) { + settings.hasFocus = false; + } + + $document.on( visibilitychange + '.imagifybeat', function() { + if ( 'hidden' === document[ visibilityState ] ) { + blurred(); + w.clearInterval( settings.checkFocusTimer ); + } else { + focused(); + if ( document.hasFocus ) { + settings.checkFocusTimer = w.setInterval( checkFocus, 10000 ); + } + } + }); + } + + // Use document.hasFocus() if available. + if ( document.hasFocus ) { + settings.checkFocusTimer = w.setInterval( checkFocus, 10000 ); + } + + $( w ).on( 'unload.imagifybeat', function() { + // Don't connect anymore. + settings.suspend = true; + + // Abort the last request if not completed. + if ( settings.xhr && 4 !== settings.xhr.readyState ) { + settings.xhr.abort(); + } + } ); + + // Check for user activity every 30 seconds. + w.setInterval( checkUserActivity, 30000 ); + + // Start one tick after DOM ready. + $document.ready( function() { + settings.lastTick = time(); + scheduleNextTick(); + } ); + } + + /** + * Returns the current time according to the browser. + * + * @since 1.9.3 + * @access private + * + * @return {int} Returns the current time. + */ + function time() { + return (new Date()).getTime(); + } + + /** + * Checks if the iframe is from the same origin. + * + * @since 1.9.3 + * @access private + * + * @return {bool} Returns whether or not the iframe is from the same origin. + */ + function isLocalFrame( frame ) { + var origin, src = frame.src; // eslint-disable-line no-shadow + + /* + * Need to compare strings as WebKit doesn't throw JS errors when iframes have different origin. It throws uncatchable exceptions. + */ + if ( src && /^https?:\/\//.test( src ) ) { + origin = w.location.origin ? w.location.origin : w.location.protocol + '//' + w.location.host; + + if ( src.indexOf( origin ) !== 0 ) { + return false; + } + } + + try { + if ( frame.contentWindow.document ) { + return true; + } + } catch ( e ) {} // eslint-disable-line no-empty + + return false; + } + + /** + * Checks if the document's focus has changed. + * + * @since 1.9.3 + * @access private + * + * @return {void} + */ + function checkFocus() { + if ( settings.hasFocus && ! document.hasFocus() ) { + blurred(); + } else if ( ! settings.hasFocus && document.hasFocus() ) { + focused(); + } + } + + /** + * Sets error state and fires an event on XHR errors or timeout. + * + * @since 1.9.3 + * @access private + * + * @param {string} error The error type passed from the XHR. + * @param {int} httpStatus The HTTP status code passed from jqXHR (200, 404, 500, etc.). + * @return {void} + */ + function setErrorState( error, httpStatus ) { + var trigger; + + if ( error ) { + switch ( error ) { + case 'abort': + // Do nothing. + break; + case 'timeout': + // No response for 30 sec. + trigger = true; + break; + case 'error': + if ( 503 === httpStatus && settings.hasConnected ) { + trigger = true; + break; + } + /* falls through */ + case 'parsererror': + case 'empty': + case 'unknown': + settings.errorcount++; + + if ( settings.errorcount > 2 && settings.hasConnected ) { + trigger = true; + } + + break; + } + + if ( trigger && ! hasConnectionError() ) { + settings.connectionError = true; + $document.trigger( 'imagifybeat-connection-lost', [ error, httpStatus ] ); + + if ( w.wp.hooks ) { + w.wp.hooks.doAction( 'imagifybeat.connection-lost', error, httpStatus ); + } + } + } + } + + /** + * Clears the error state and fires an event if there is a connection error. + * + * @since 1.9.3 + * @access private + * + * @return {void} + */ + function clearErrorState() { + // Has connected successfully. + settings.hasConnected = true; + + if ( hasConnectionError() ) { + settings.errorcount = 0; + settings.connectionError = false; + $document.trigger( 'imagifybeat-connection-restored' ); + + if ( w.wp.hooks ) { + w.wp.hooks.doAction( 'imagifybeat.connection-restored' ); + } + } + } + + /** + * Gathers the data and connects to the server. + * + * @since 1.9.3 + * @access private + * + * @return {void} + */ + function connect() { + var ajaxData, imagifybeatData; + + // If the connection to the server is slower than the interval, + // imagifybeat connects as soon as the previous connection's response is received. + if ( settings.connecting || settings.suspend ) { + return; + } + + settings.lastTick = time(); + + imagifybeatData = $.extend( {}, settings.queue ); + // Clear the data queue. Anything added after this point will be sent on the next tick. + settings.queue = {}; + + $document.trigger( 'imagifybeat-send', [ imagifybeatData ] ); + + if ( w.wp.hooks ) { + w.wp.hooks.doAction( 'imagifybeat.send', imagifybeatData ); + } + + ajaxData = { + data: imagifybeatData, + interval: settings.tempInterval ? settings.tempInterval / 1000 : settings.mainInterval / 1000, + _nonce: typeof w.imagifybeatSettings === 'object' ? w.imagifybeatSettings.nonce : '', + action: 'imagifybeat', + screen_id: settings.screenId, + has_focus: settings.hasFocus + }; + + if ( 'customize' === settings.screenId ) { + ajaxData.wp_customize = 'on'; + } + + settings.connecting = true; + settings.xhr = $.ajax( { + url: settings.url, + type: 'post', + timeout: 60000, // Throw an error if not completed after 60 sec. + data: ajaxData, + dataType: 'json' + } ).always( function() { + settings.connecting = false; + scheduleNextTick(); + } ).done( function( response, textStatus, jqXHR ) { + var newInterval; + + if ( ! response ) { + setErrorState( 'empty' ); + return; + } + + clearErrorState(); + + if ( response.nonces_expired ) { + $document.trigger( 'imagifybeat-nonces-expired' ); + + if ( w.wp.hooks ) { + w.wp.hooks.doAction( 'imagifybeat.nonces-expired' ); + } + } + + // Change the interval from PHP + if ( response.imagifybeat_interval ) { + newInterval = response.imagifybeat_interval; + delete response.imagifybeat_interval; + } + + // Update the imagifybeat nonce if set. + if ( response.imagifybeat_nonce && typeof w.imagifybeatSettings === 'object' ) { + w.imagifybeatSettings.nonce = response.imagifybeat_nonce; + delete response.imagifybeat_nonce; + } + + $document.trigger( 'imagifybeat-tick', [ response, textStatus, jqXHR ] ); + + if ( w.wp.hooks ) { + w.wp.hooks.doAction( 'imagifybeat.tick', response, textStatus, jqXHR ); + } + + // Do this last. Can trigger the next XHR if connection time > 5 sec. and newInterval == 'fast'. + if ( newInterval ) { + interval( newInterval ); + } + } ).fail( function( jqXHR, textStatus, error ) { + setErrorState( textStatus || 'unknown', jqXHR.status ); + $document.trigger( 'imagifybeat-error', [ jqXHR, textStatus, error ] ); + + if ( w.wp.hooks ) { + w.wp.hooks.doAction( 'imagifybeat.error', jqXHR, textStatus, error ); + } + } ); + } + + /** + * Schedules the next connection. + * + * Fires immediately if the connection time is longer than the interval. + * + * @since 1.9.3 + * @access private + * + * @return {void} + */ + function scheduleNextTick() { + var delta = time() - settings.lastTick, + interv = settings.mainInterval; + + if ( settings.suspend ) { + return; + } + + if ( ! settings.hasFocus && settings.suspendEnabled ) { + // When no user activity or the window lost focus, increase polling interval to 120 seconds, but only if suspend is enabled. + interv = 120000; // 120 sec. + } else if ( settings.countdown > 0 && settings.tempInterval ) { + interv = settings.tempInterval; + settings.countdown--; + + if ( settings.countdown < 1 ) { + settings.tempInterval = 0; + } + } + + if ( settings.minimalInterval && interv < settings.minimalInterval ) { + interv = settings.minimalInterval; + } + + w.clearTimeout( settings.beatTimer ); + + if ( delta < interv ) { + settings.beatTimer = w.setTimeout( + function() { + connect(); + }, + interv - delta + ); + } else { + connect(); + } + } + + /** + * Sets the internal state when the browser w becomes hidden or loses focus. + * + * @since 1.9.3 + * @access private + * + * @return {void} + */ + function blurred() { + settings.hasFocus = false; + } + + /** + * Sets the internal state when the browser w becomes visible or is in focus. + * + * @since 1.9.3 + * @access private + * + * @return {void} + */ + function focused() { + settings.userActivity = time(); + + // Resume if suspended + settings.suspend = false; + + if ( ! settings.hasFocus ) { + settings.hasFocus = true; + scheduleNextTick(); + } + } + + /** + * Runs when the user becomes active after a period of inactivity. + * + * @since 1.9.3 + * @access private + * + * @return {void} + */ + function userIsActive() { + settings.userActivityEvents = false; + $document.off( '.imagifybeat-active' ); + + $( 'iframe' ).each( function( i, frame ) { + if ( isLocalFrame( frame ) ) { + $( frame.contentWindow ).off( '.imagifybeat-active' ); + } + } ); + + focused(); + } + + /** + * Checks for user activity. + * + * Runs every 30 sec. Sets 'hasFocus = true' if user is active and the w is + * in the background. Sets 'hasFocus = false' if the user has been inactive + * (no mouse or keyboard activity) for 5 min. even when the w has focus. + * + * @since 1.9.3 + * @access private + * + * @return {void} + */ + function checkUserActivity() { + var lastActive = settings.userActivity ? time() - settings.userActivity : 0; + + // Set hasFocus to false when no mouse or keyboard activity for 5 min. + if ( lastActive > 300000 && settings.hasFocus ) { + blurred(); + } + + // Suspend after 10 min. of inactivity. + if ( settings.suspendEnabled && lastActive > 600000 ) { + settings.suspend = true; + } + + if ( ! settings.userActivityEvents ) { + $document.on( 'mouseover.imagifybeat-active keyup.imagifybeat-active touchend.imagifybeat-active', function() { + userIsActive(); + } ); + + $( 'iframe' ).each( function( i, frame ) { + if ( isLocalFrame( frame ) ) { + $( frame.contentWindow ).on( 'mouseover.imagifybeat-active keyup.imagifybeat-active touchend.imagifybeat-active', function() { + userIsActive(); + } ); + } + } ); + + settings.userActivityEvents = true; + } + } + + // Public methods. + + /** + * Checks whether the w (or any local iframe in it) has focus, or the user + * is active. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @return {bool} True if the w or the user is active. + */ + function hasFocus() { + return settings.hasFocus; + } + + /** + * Checks whether there is a connection error. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @return {bool} True if a connection error was found. + */ + function hasConnectionError() { + return settings.connectionError; + } + + /** + * Connects as soon as possible regardless of 'hasFocus' state. + * + * Will not open two concurrent connections. If a connection is in progress, + * will connect again immediately after the current connection completes. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @return {void} + */ + function connectNow() { + settings.lastTick = 0; + scheduleNextTick(); + } + + /** + * Disables suspending. + * + * Should be used only when Imagifybeat is performing critical tasks like + * autosave, post-locking, etc. Using this on many screens may overload the + * user's hosting account if several browser ws/tabs are left open for a + * long time. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @return {void} + */ + function disableSuspend() { + settings.suspendEnabled = false; + } + + /** + * Enables suspending. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @return {void} + */ + function enableSuspend() { + settings.suspendEnabled = true; + } + + /** + * Gets/Sets the interval. + * + * When setting to 'fast' or 5, the interval is 5 seconds for the next 30 ticks + * (for 2 minutes and 30 seconds) by default. In this case the number of 'ticks' + * can be passed as second argument. If the window doesn't have focus, the + * interval slows down to 2 min. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @param {string|int} speed Interval: 'fast' or 5, 15, 30, 60, 120. Fast equals 5. + * @param {string} ticks Tells how many ticks before the interval reverts back. Used with speed = 'fast' or 5. + * @return {int} Current interval in seconds. + */ + function interval( speed, ticks ) { + var newInterval, + oldInterval = settings.tempInterval ? settings.tempInterval : settings.mainInterval; + + if ( speed ) { + switch ( speed ) { + case 'fast': + case 5: + newInterval = 5000; + break; + case 15: + newInterval = 15000; + break; + case 30: + newInterval = 30000; + break; + case 60: + newInterval = 60000; + break; + case 120: + newInterval = 120000; + break; + case 'long-polling': + // Allow long polling, (experimental) + settings.mainInterval = 0; + return 0; + default: + newInterval = settings.originalInterval; + } + + if ( settings.minimalInterval && newInterval < settings.minimalInterval ) { + newInterval = settings.minimalInterval; + } + + if ( 5000 === newInterval ) { + ticks = parseInt( ticks, 10 ) || 30; + ticks = ticks < 1 || ticks > 30 ? 30 : ticks; + + settings.countdown = ticks; + settings.tempInterval = newInterval; + } else { + settings.countdown = 0; + settings.tempInterval = 0; + settings.mainInterval = newInterval; + } + + // Change the next connection time if new interval has been set. + // Will connect immediately if the time since the last connection + // is greater than the new interval. + if ( newInterval !== oldInterval ) { + scheduleNextTick(); + } + } + + return settings.tempInterval ? settings.tempInterval / 1000 : settings.mainInterval / 1000; + } + + /** + * Resets the interval. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @return {int} Current interval in seconds. + */ + function resetInterval() { + return interval( settings.originalInterval ); + } + + /** + * Enqueues data to send with the next XHR. + * + * As the data is send asynchronously, this function doesn't return the XHR + * response. To see the response, use the custom jQuery event 'imagifybeat-tick' + * on the document, example: + * $(document).on( 'imagifybeat-tick.myname', function( event, data, textStatus, jqXHR ) { + * // code + * }); + * If the same 'handle' is used more than once, the data is not overwritten when + * the third argument is 'true'. Use `imagify.beat.isQueued('handle')` to see if + * any data is already queued for that handle. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @param {string} handle Unique handle for the data, used in PHP to receive the data. + * @param {mixed} data The data to send. + * @param {bool} noOverwrite Whether to overwrite existing data in the queue. + * @return {bool} True if the data was queued. + */ + function enqueue( handle, data, noOverwrite ) { + if ( handle ) { + if ( noOverwrite && this.isQueued( handle ) ) { + return false; + } + + settings.queue[handle] = data; + return true; + } + return false; + } + + /** + * Checks if data with a particular handle is queued. + * + * @since 1.9.3 + * + * @param {string} handle The handle for the data. + * @return {bool} True if the data is queued with this handle. + */ + function isQueued( handle ) { + if ( handle ) { + return Object.prototype.hasOwnProperty.call( settings.queue, handle ); + } + } + + /** + * Removes data with a particular handle from the queue. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @param {string} handle The handle for the data. + */ + function dequeue( handle ) { + if ( handle ) { + delete settings.queue[handle]; + } + } + + /** + * Gets data that was enqueued with a particular handle. + * + * @since 1.9.3 + * @memberOf imagify.beat.prototype + * + * @param {string} handle The handle for the data. + * @return {mixed} The data or undefined. + */ + function getQueuedItem( handle ) { + if ( handle ) { + return this.isQueued( handle ) ? settings.queue[ handle ] : undefined; + } + } + + initialize(); + + // Expose public methods. + return { + hasFocus: hasFocus, + connectNow: connectNow, + disableSuspend: disableSuspend, + enableSuspend: enableSuspend, + interval: interval, + resetInterval: resetInterval, + hasConnectionError: hasConnectionError, + enqueue: enqueue, + dequeue: dequeue, + isQueued: isQueued, + getQueuedItem: getQueuedItem + }; + }; + + /** + * Contains the Imagifybeat API. + * + * @namespace imagify.beat + * @type {Imagifybeat} + */ + w.imagify.beat = new Imagifybeat(); + +} )( jQuery, document, window ); diff --git a/wp/wp-content/plugins/imagify/assets/js/beat.min.js b/wp/wp-content/plugins/imagify/assets/js/beat.min.js new file mode 100644 index 00000000..26c67fbe --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/beat.min.js @@ -0,0 +1 @@ +window.imagify=window.imagify||{},function(I,h,w){w.imagify.beat=new function(){var e,n,t,i,a=I(h),o={suspend:!1,suspendEnabled:!0,screenId:"",url:"",lastTick:0,queue:{},mainInterval:60,tempInterval:0,originalInterval:0,minimalInterval:0,countdown:0,connecting:!1,connectionError:!1,errorcount:0,hasConnected:!1,hasFocus:!0,userActivity:0,userActivityEvents:!1,checkFocusTimer:0,beatTimer:0};function r(){return(new Date).getTime()}function c(e){var n,t=e.src;if(!t||!/^https?:\/\//.test(t)||(n=w.location.origin||w.location.protocol+"//"+w.location.host,0===t.indexOf(n)))try{if(e.contentWindow.document)return 1}catch(e){}}function s(){o.hasFocus&&!document.hasFocus()?d():!o.hasFocus&&document.hasFocus()&&v()}function u(e,n){var t;if(e){switch(e){case"abort":break;case"timeout":t=!0;break;case"error":if(503===n&&o.hasConnected){t=!0;break}case"parsererror":case"empty":case"unknown":o.errorcount++,2 postsJSON + values[1] // => commentsJSON + + return values; + }); + ``` + + @class Promise + @param {function} resolver + Useful for tooling. + @constructor +*/ +function Promise$3(resolver) { + this[PROMISE_ID] = nextId(); + this._result = this._state = undefined; + this._subscribers = []; + + if (noop !== resolver) { + typeof resolver !== 'function' && needsResolver(); + this instanceof Promise$3 ? initializePromise(this, resolver) : needsNew(); + } +} + +Promise$3.all = all$1; +Promise$3.race = race$1; +Promise$3.resolve = resolve$1; +Promise$3.reject = reject$1; +Promise$3._setScheduler = setScheduler; +Promise$3._setAsap = setAsap; +Promise$3._asap = asap; + +Promise$3.prototype = { + constructor: Promise$3, + + /** + The primary way of interacting with a promise is through its `then` method, + which registers callbacks to receive either a promise's eventual value or the + reason why the promise cannot be fulfilled. + + ```js + findUser().then(function(user){ + // user is available + }, function(reason){ + // user is unavailable, and you are given the reason why + }); + ``` + + Chaining + -------- + + The return value of `then` is itself a promise. This second, 'downstream' + promise is resolved with the return value of the first promise's fulfillment + or rejection handler, or rejected if the handler throws an exception. + + ```js + findUser().then(function (user) { + return user.name; + }, function (reason) { + return 'default name'; + }).then(function (userName) { + // If `findUser` fulfilled, `userName` will be the user's name, otherwise it + // will be `'default name'` + }); + + findUser().then(function (user) { + throw new Error('Found user, but still unhappy'); + }, function (reason) { + throw new Error('`findUser` rejected and we're unhappy'); + }).then(function (value) { + // never reached + }, function (reason) { + // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'. + // If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'. + }); + ``` + If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream. + + ```js + findUser().then(function (user) { + throw new PedagogicalException('Upstream error'); + }).then(function (value) { + // never reached + }).then(function (value) { + // never reached + }, function (reason) { + // The `PedgagocialException` is propagated all the way down to here + }); + ``` + + Assimilation + ------------ + + Sometimes the value you want to propagate to a downstream promise can only be + retrieved asynchronously. This can be achieved by returning a promise in the + fulfillment or rejection handler. The downstream promise will then be pending + until the returned promise is settled. This is called *assimilation*. + + ```js + findUser().then(function (user) { + return findCommentsByAuthor(user); + }).then(function (comments) { + // The user's comments are now available + }); + ``` + + If the assimliated promise rejects, then the downstream promise will also reject. + + ```js + findUser().then(function (user) { + return findCommentsByAuthor(user); + }).then(function (comments) { + // If `findCommentsByAuthor` fulfills, we'll have the value here + }, function (reason) { + // If `findCommentsByAuthor` rejects, we'll have the reason here + }); + ``` + + Simple Example + -------------- + + Synchronous Example + + ```javascript + let result; + + try { + result = findResult(); + // success + } catch(reason) { + // failure + } + ``` + + Errback Example + + ```js + findResult(function(result, err){ + if (err) { + // failure + } else { + // success + } + }); + ``` + + Promise Example; + + ```javascript + findResult().then(function(result){ + // success + }, function(reason){ + // failure + }); + ``` + + Advanced Example + -------------- + + Synchronous Example + + ```javascript + let author, books; + + try { + author = findAuthor(); + books = findBooksByAuthor(author); + // success + } catch(reason) { + // failure + } + ``` + + Errback Example + + ```js + + function foundBooks(books) { + + } + + function failure(reason) { + + } + + findAuthor(function(author, err){ + if (err) { + failure(err); + // failure + } else { + try { + findBoooksByAuthor(author, function(books, err) { + if (err) { + failure(err); + } else { + try { + foundBooks(books); + } catch(reason) { + failure(reason); + } + } + }); + } catch(error) { + failure(err); + } + // success + } + }); + ``` + + Promise Example; + + ```javascript + findAuthor(). + then(findBooksByAuthor). + then(function(books){ + // found books + }).catch(function(reason){ + // something went wrong + }); + ``` + + @method then + @param {Function} onFulfilled + @param {Function} onRejected + Useful for tooling. + @return {Promise} + */ + then: then, + + /** + `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same + as the catch block of a try/catch statement. + + ```js + function findAuthor(){ + throw new Error('couldn't find that author'); + } + + // synchronous + try { + findAuthor(); + } catch(reason) { + // something went wrong + } + + // async with promises + findAuthor().catch(function(reason){ + // something went wrong + }); + ``` + + @method catch + @param {Function} onRejection + Useful for tooling. + @return {Promise} + */ + 'catch': function _catch(onRejection) { + return this.then(null, onRejection); + } +}; + +/*global self*/ +function polyfill$1() { + var local = undefined; + + if (typeof global !== 'undefined') { + local = global; + } else if (typeof self !== 'undefined') { + local = self; + } else { + try { + local = Function('return this')(); + } catch (e) { + throw new Error('polyfill failed because global object is unavailable in this environment'); + } + } + + var P = local.Promise; + + if (P) { + var promiseToString = null; + try { + promiseToString = Object.prototype.toString.call(P.resolve()); + } catch (e) { + // silently ignored + } + + if (promiseToString === '[object Promise]' && !P.cast) { + return; + } + } + + local.Promise = Promise$3; +} + +// Strange compat.. +Promise$3.polyfill = polyfill$1; +Promise$3.Promise = Promise$3; + +Promise$3.polyfill(); + +return Promise$3; + +}))); + diff --git a/wp/wp-content/plugins/imagify/assets/js/es6-promise.auto.min.js b/wp/wp-content/plugins/imagify/assets/js/es6-promise.auto.min.js new file mode 100644 index 00000000..ba34fa7c --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/es6-promise.auto.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ES6Promise=e()}(this,function(){"use strict";function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function e(t){return"function"==typeof t}function n(t){I=t}function r(t){J=t}function o(){return function(){return process.nextTick(a)}}function i(){return"undefined"!=typeof H?function(){H(a)}:c()}function s(){var t=0,e=new V(a),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function u(){var t=new MessageChannel;return t.port1.onmessage=a,function(){return t.port2.postMessage(0)}}function c(){var t=setTimeout;return function(){return t(a,1)}}function a(){for(var t=0;t tag. + */ + insertBulkActionTags: function() { + var bulkActions = ''; + + if ( w.imagifyFiles.backupOption || $( '.file-has-backup' ).length ) { + // If the backup option is enabled, or if we have items that can be restored. + bulkActions += ''; + } + + $( '.bulkactions select[name="action"] option:first-child, .bulkactions select[name="action2"] option:first-child' ).after( bulkActions ); + }, + + /** + * Process one of these actions: bulk restore, bulk optimize, or bulk refresh-status. + * + * @param {object} e Event. + */ + processBulkAction: function( e ) { + var value = $( this ).prev( 'select' ).val(), + action; + + if ( 'imagify-bulk-optimize' !== value && 'imagify-bulk-restore' !== value && 'imagify-bulk-refresh-status' !== value ) { + return; + } + + e.preventDefault(); + + action = value.replace( 'imagify-bulk-', '' ); + + $( 'input[name="bulk_select[]"]:checked' ).closest( 'tr' ).find( '.button-imagify-' + action ).each( function ( index, el ) { + setTimeout( function() { + $( el ).trigger( 'click.imagify' ); + }, index * 500 ); + } ); + }, + + // Optimization ============================================================================ + + /** + * Process one of these actions: optimize, re-optimize, restore, or refresh-status. + * + * @param {object} e Event. + */ + processOptimization: function( e ) { + var $button = $( this ), + $row = $button.closest( 'tr' ), + $checkbox = $row.find( '.check-column [type="checkbox"]' ), + id = imagify.filesList.sanitizeId( $checkbox.val() ), + context = w.imagifyFiles.context, + $parent, href, processingTemplate; + + e.preventDefault(); + + if ( imagify.filesList.isItemLocked( context, id ) ) { + return; + } + + imagify.filesList.lockItem( context, id ); + + href = $button.attr( 'href' ); + processingTemplate = w.imagify.template( 'imagify-button-processing' ); + $parent = $button.closest( '.column-actions, .column-status' ); + + $parent.html( processingTemplate( { + label: $button.data( 'processing-label' ) + } ) ); + + $.get( href.replace( 'admin-post.php', 'admin-ajax.php' ) ) + .done( function( r ) { + if ( ! r.success ) { + if ( r.data && r.data.row ) { + $row.html( '' + r.data.row + '' ); + } else { + $parent.html( r.data ); + } + + $row.find( '.check-column [type="checkbox"]' ).prop( 'checked', false ); + + imagify.filesList.unlockItem( context, id ); + return; + } + + if ( r.data && r.data.columns ) { + // The work is done. + w.imagify.filesList.displayProcessResult( context, id, r.data.columns ); + } else { + // Still processing in background: we're waiting for the result by poking Imagifybeat. + // Set the Imagifybeat interval to 15 seconds. + w.imagify.beat.interval( 15 ); + } + } ); + }, + + // Imagifybeat ============================================================================= + + /** + * Send the media IDs and their status to Imagifybeat. + * + * @param {object} e Event object. + * @param {object} data Object containing all Imagifybeat IDs. + */ + addToImagifybeat: function ( e, data ) { + var $boxes = $( '.wp-list-table.imagify-files .check-column [name="bulk_select[]"]' ); + + if ( ! $boxes.length ) { + return; + } + + data[ w.imagifyFiles.imagifybeatID ] = {}; + + $boxes.each( function() { + var id = w.imagify.filesList.sanitizeId( this.value ), + context = w.imagifyFiles.context, + locked = w.imagify.filesList.isItemLocked( context, id ) ? 1 : 0; + + data[ w.imagifyFiles.imagifybeatID ][ context ] = data[ w.imagifyFiles.imagifybeatID ][ context ] || {}; + data[ w.imagifyFiles.imagifybeatID ][ context ][ '_' + id ] = locked; + } ); + }, + + /** + * Listen for the custom event "imagifybeat-tick" on $(document). + * + * @param {object} e Event object. + * @param {object} data Object containing all Imagifybeat IDs. + */ + processImagifybeat: function ( e, data ) { + if ( typeof data[ w.imagifyFiles.imagifybeatID ] === 'undefined' ) { + return; + } + + $.each( data[ w.imagifyFiles.imagifybeatID ], function( contextId, columns ) { + var context, id; + + context = $.trim( contextId ).match( /^(.+)_(\d+)$/ ); + + if ( ! context ) { + return; + } + + id = w.imagify.filesList.sanitizeId( context[2] ); + context = w.imagify.filesList.sanitizeContext( context[1] ); + + if ( context !== w.imagifyFiles.context ) { + return; + } + + w.imagify.filesList.displayProcessResult( context, id, columns ); + } ); + }, + + // DOM manipulation tools ================================================================== + + /** + * Display a successful process result. + * + * @param {string} context The media context. + * @param {int} id The media ID. + * @param {string} columns A list of HTML, keyed by column name. + */ + displayProcessResult: function( context, id, columns ) { + var $row = w.imagify.filesList.getContainers( id ); + + $.each( columns, function( k, v ) { + $row.children( '.column-' + k ).html( v ); + } ); + + $row.find( '.check-column [type="checkbox"]' ).prop( 'checked', false ); + + w.imagify.filesList.unlockItem( context, id ); + + if ( ! w.imagify.filesList.working.length ) { + // Work is done. + // Reset Imagifybeat interval. + w.imagify.beat.resetInterval(); + } + }, + + /** + * Get all containers matching the given id. + * + * @param {int} id The media ID. + * @return {object} A jQuery collection. + */ + getContainers: function( id ) { + return $( '.wp-list-table.imagify-files .check-column [name="bulk_select[]"][value="' + id + '"]' ).closest( 'tr' ); + }, + + // Sanitization ============================================================================ + + /** + * Sanitize a media ID. + * + * @param {int|string} id A media ID. + * @return {int} + */ + sanitizeId: function( id ) { + return parseInt( id, 10 ); + }, + + /** + * Sanitize a media context. + * + * @param {string} context A media context. + * @return {string} + */ + sanitizeContext: function( context ) { + context = context.replace( '/[^a-z0-9_-]/gi', '' ).toLowerCase(); + return context ? context : 'wp'; + }, + + // Locks =================================================================================== + + /** + * Lock an item. + * + * @param {string} context The media context. + * @param {int} id The media ID. + */ + lockItem: function( context, id ) { + if ( ! this.isItemLocked( context, id ) ) { + this.working.push( context + '_' + id ); + } + }, + + /** + * Unlock an item. + * + * @param {string} context The media context. + * @param {int} id The media ID. + */ + unlockItem: function( context, id ) { + var name = context + '_' + id, + i = _.indexOf( this.working, name ); + + if ( i > -1 ) { + this.working.splice( i, 1 ); + } + }, + + /** + * Tell if an item is locked. + * + * @param {string} context The media context. + * @param {int} id The media ID. + * @return {bool} + */ + isItemLocked: function( context, id ) { + return _.indexOf( this.working, context + '_' + id ) > -1; + } + }; + + w.imagify.filesList.init(); + +} )(jQuery, document, window); + + +(function(w) { // eslint-disable-line no-shadow, no-shadow-restricted-names + + /** + * requestAnimationFrame polyfill by Erik Möller. + * Fixes from Paul Irish and Tino Zijdel. + * MIT license - http://paulirish.com/2011/requestanimationframe-for-smart-animating/ - http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating. + */ + var lastTime = 0, + vendors = ['ms', 'moz', 'webkit', 'o']; + + for ( var x = 0; x < vendors.length && ! w.requestAnimationFrame; ++x ) { + w.requestAnimationFrame = w[vendors[x] + 'RequestAnimationFrame']; + w.cancelAnimationFrame = w[vendors[x] + 'CancelAnimationFrame'] || w[vendors[x] + 'CancelRequestAnimationFrame']; + } + + if ( ! w.requestAnimationFrame ) { + w.requestAnimationFrame = function( callback ) { + var currTime = new Date().getTime(), + timeToCall = Math.max( 0, 16 - ( currTime - lastTime ) ), + id = setTimeout( function() { + callback( currTime + timeToCall ); + }, timeToCall ); + + lastTime = currTime + timeToCall; + return id; + }; + } + + if ( ! w.cancelAnimationFrame ) { + w.cancelAnimationFrame = function( id ) { + clearTimeout( id ); + }; + } + +})(window); + + +(function($, d, w, undefined) { // eslint-disable-line no-unused-vars, no-shadow, no-shadow-restricted-names + + /** + * LazyLoad images in the list. + */ + var lazyImages = $( '#imagify-files-list-form' ).find( '[data-lazy-src]' ), + lazyTimer; + + function lazyLoadThumbnails() { + w.cancelAnimationFrame( lazyTimer ); + lazyTimer = w.requestAnimationFrame( lazyLoadThumbnailsCallback ); // eslint-disable-line no-use-before-define + } + + function lazyLoadThumbnailsCallback() { + var $w = $( w ), + winScroll = $w.scrollTop(), + winHeight = $w.outerHeight(); + + $.each( lazyImages, function() { + var $image = $( this ), + imgTop = $image.offset().top, + imgBottom = imgTop + $image.outerHeight(), + screenTopThresholded = winScroll - 150, + screenBottomThresholded = winScroll + winHeight + 150, + src; + + lazyImages = lazyImages.not( $image ); + + if ( ! lazyImages.length ) { + $w.off( 'scroll resize orientationchange', lazyLoadThumbnails ); + } + + /** + * Hidden images that are above the fold and below the top, are reported as: + * - offset: window scroll, + * - height: 0, + * (at least in Firefox). + * That's why I use <= and >=. + * + * 150 is the threshold. + */ + if ( imgBottom >= screenTopThresholded && imgTop <= screenBottomThresholded ) { + src = $image.attr( 'data-lazy-src' ); + + if ( undefined !== src && src ) { + $image.attr( 'src', src ).removeAttr( 'data-lazy-src' ); + } + + $image.next( 'noscript' ).remove(); + } + } ); + } + + if ( lazyImages.length ) { + $( w ).on( 'scroll resize orientationchange', lazyLoadThumbnails ); + lazyLoadThumbnailsCallback(); + } + +} )(jQuery, document, window); diff --git a/wp/wp-content/plugins/imagify/assets/js/files-list.min.js b/wp/wp-content/plugins/imagify/assets/js/files-list.min.js new file mode 100644 index 00000000..b0a834aa --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/files-list.min.js @@ -0,0 +1 @@ +window.imagify.drawMeAChart=function(i){i.each(function(){var i=parseInt(jQuery(this).closest(".imagify-chart").next(".imagify-chart-value").text(),10);new window.imagify.Chart(this,{type:"doughnut",data:{datasets:[{data:[i,100-i],backgroundColor:["#00B3D3","#D8D8D8"],borderColor:"#fff",borderWidth:1}]},options:{legend:{display:!1},events:[],animation:{easing:"easeOutBounce"},tooltips:{enabled:!1},responsive:!1}})})},function(c,t,l){l.imagify.filesList={working:[],init:function(){var i=c(t);c(l).on("canvasprinted.imagify",this.updateChart).trigger("canvasprinted.imagify"),this.insertBulkActionTags(),c("#doaction, #doaction2").on("click.imagify",this.processBulkAction),i.on("click.imagify",".button-imagify-optimize, .button-imagify-manual-reoptimize, .button-imagify-generate-webp, .button-imagify-delete-webp, .button-imagify-restore, .button-imagify-refresh-status",this.processOptimization),i.on("imagifybeat-send",this.addToImagifybeat),i.on("imagifybeat-tick",this.processImagifybeat),(i=c(".wp-list-table.imagify-files .button-imagify-processing")).length&&(i.closest("tr").find('.check-column [name="bulk_select[]"]').each(function(){var i=l.imagify.filesList.sanitizeId(this.value);l.imagify.filesList.lockItem(l.imagifyFiles.context,i)}),l.imagify.beat.interval(15))},updateChart:function(i,t){t=c(t=t||".imagify-consumption-chart");l.imagify.drawMeAChart(t),t.closest(".imagify-datas-list").siblings(".imagify-datas-details").hide()},insertBulkActionTags:function(){var i='";(l.imagifyFiles.backupOption||c(".file-has-backup").length)&&(i+='"),c('.bulkactions select[name="action"] option:first-child, .bulkactions select[name="action2"] option:first-child').after(i)},processBulkAction:function(i){var t=c(this).prev("select").val();"imagify-bulk-optimize"!==t&&"imagify-bulk-restore"!==t&&"imagify-bulk-refresh-status"!==t||(i.preventDefault(),i=t.replace("imagify-bulk-",""),c('input[name="bulk_select[]"]:checked').closest("tr").find(".button-imagify-"+i).each(function(i,t){setTimeout(function(){c(t).trigger("click.imagify")},500*i)}))},processOptimization:function(i){var t,e=c(this),a=e.closest("tr"),n=a.find('.check-column [type="checkbox"]'),s=imagify.filesList.sanitizeId(n.val()),o=l.imagifyFiles.context;i.preventDefault(),imagify.filesList.isItemLocked(o,s)||(imagify.filesList.lockItem(o,s),n=e.attr("href"),i=l.imagify.template("imagify-button-processing"),(t=e.closest(".column-actions, .column-status")).html(i({label:e.data("processing-label")})),c.get(n.replace("admin-post.php","admin-ajax.php")).done(function(i){i.success?i.data&&i.data.columns?l.imagify.filesList.displayProcessResult(o,s,i.data.columns):l.imagify.beat.interval(15):(i.data&&i.data.row?a.html(''+i.data.row+""):t.html(i.data),a.find('.check-column [type="checkbox"]').prop("checked",!1),imagify.filesList.unlockItem(o,s))}))},addToImagifybeat:function(i,a){var t=c('.wp-list-table.imagify-files .check-column [name="bulk_select[]"]');t.length&&(a[l.imagifyFiles.imagifybeatID]={},t.each(function(){var i=l.imagify.filesList.sanitizeId(this.value),t=l.imagifyFiles.context,e=l.imagify.filesList.isItemLocked(t,i)?1:0;a[l.imagifyFiles.imagifybeatID][t]=a[l.imagifyFiles.imagifybeatID][t]||{},a[l.imagifyFiles.imagifybeatID][t]["_"+i]=e}))},processImagifybeat:function(i,t){void 0!==t[l.imagifyFiles.imagifybeatID]&&c.each(t[l.imagifyFiles.imagifybeatID],function(i,t){var e,i=c.trim(i).match(/^(.+)_(\d+)$/);i&&(e=l.imagify.filesList.sanitizeId(i[2]),(i=l.imagify.filesList.sanitizeContext(i[1]))===l.imagifyFiles.context)&&l.imagify.filesList.displayProcessResult(i,e,t)})},displayProcessResult:function(i,t,e){var a=l.imagify.filesList.getContainers(t);c.each(e,function(i,t){a.children(".column-"+i).html(t)}),a.find('.check-column [type="checkbox"]').prop("checked",!1),l.imagify.filesList.unlockItem(i,t),l.imagify.filesList.working.length||l.imagify.beat.resetInterval()},getContainers:function(i){return c('.wp-list-table.imagify-files .check-column [name="bulk_select[]"][value="'+i+'"]').closest("tr")},sanitizeId:function(i){return parseInt(i,10)},sanitizeContext:function(i){return(i=i.replace("/[^a-z0-9_-]/gi","").toLowerCase())||"wp"},lockItem:function(i,t){this.isItemLocked(i,t)||this.working.push(i+"_"+t)},unlockItem:function(i,t){i=_.indexOf(this.working,i+"_"+t);-1 this.bufferSize ? this.bufferSize : this.prefixedMediaIDs.length, + i; + + for ( i = 0; i < chunkLength; i++ ) { + this.processNext(); + } + + return this; + }; + + /** + * Launch next optimization. + * + * @return this + */ + w.imagify.Optimizer.prototype.processNext = function() { + if ( this.prefixedMediaIDs.length ) { + this.process( this.prefixedMediaIDs.shift() ); + } + + return this; + }; + + /** + * Launch an optimization. + * + * @param {string} prefixedId A media ID, prefixed with an underscore. + * @return this + */ + w.imagify.Optimizer.prototype.process = function( prefixedId ) { + var _this = this, + fileURL = this.files[ prefixedId ], + data = { + mediaID: parseInt( prefixedId.toString().substr( 1 ), 10 ), + filename: this.files[ prefixedId ].split( '/' ).pop(), + thumbnail: this.defaultThumb + }, + extension = data.filename.split( '.' ).pop().toLowerCase(), + regexp = new RegExp( '^' + this.imageExtensions.join( '|' ).toLowerCase() + '$' ), + image; + + if ( ! extension.match( regexp ) ) { + // Not an image. + this.currentItems.push( data ); + this._before( data ); + this.send( data ); + return this; + } + + // Create a thumbnail and send the ajax request. + image = new Image(); + + image.onerror = function () { + _this.currentItems.push( data ); + _this._before( data ); + _this.send( data ); + }; + + image.onload = function () { + var maxWidth = 33, + maxHeight = 33, + imageWidth = image.width, + imageHeight = image.height, + newHeight = 0, + newWidth = 0, + topOffset = 0, + leftOffset = 0, + canvas = null, + ctx = null; + + if ( imageWidth < imageHeight ) { + // Portrait. + newWidth = maxWidth; + newHeight = newWidth * imageHeight / imageWidth; + topOffset = ( maxHeight - newHeight ) / 2; + } else { + // Landscape. + newHeight = maxHeight; + newWidth = newHeight * imageWidth / imageHeight; + leftOffset = ( maxWidth - newWidth ) / 2; + } + + canvas = d.createElement( 'canvas' ); + + canvas.width = maxWidth; + canvas.height = maxHeight; + + ctx = canvas.getContext( '2d' ); + ctx.drawImage( this, leftOffset, topOffset, newWidth, newHeight ); + + try { + data.thumbnail = canvas.toDataURL( 'image/jpeg' ); + } catch ( e ) { + data.thumbnail = _this.defaultThumb; + } + + canvas = null; + ctx = null; + image = null; + + _this.currentItems.push( data ); + _this._before( data ); + _this.send( data ); + }; + + image.src = fileURL; + + return this; + }; + + /** + * Do the ajax request. + * + * @param {object} data { + * The data: + * + * @type {int} mediaID The media ID. + * @type {string} filename The file name. + * @type {string} thumbnail The file thumbnail URL. + * } + * @return this + */ + w.imagify.Optimizer.prototype.send = function( data ) { + var _this = this, + defaultResponse = { + success: false, + mediaID: data.mediaID, + groupID: this.groupID, + context: this.context, + filename: data.filename, + thumbnail: data.thumbnail, + status: 'error', + error: '' + }; + + $.post( { + url: this.ajaxUrl, + data: { + media_id: data.mediaID, + context: this.context, + optimization_level: this.level + }, + dataType: 'json' + } ) + .done( function( response ) { + if ( response.success ) { + return; + } + + defaultResponse.error = response.data.error; + + _this.processed( defaultResponse ); + } ) + .fail( function( jqXHR ) { + if ( 200 === jqXHR.status ) { + defaultResponse.error = jqXHR.responseText.replace( /

.*<\/h1>\n*/, '' ); + } else { + defaultResponse.error = jqXHR.statusText; + } + + _this.processed( defaultResponse ); + } ); + + return this; + }; + + /** + * Callback triggered when an optimization is complete. + * + * @param {object} e jQuery's Event object. + * @param {object} item { + * The response: + * + * @type {int} mediaID The media ID. + * @type {string} context The context. + * } + */ + w.imagify.Optimizer.prototype.processedCallback = function( e, item ) { + var _this = e.data._this; + + if ( item.context !== _this.context ) { + return; + } + + if ( ! item.mediaID || typeof _this.files[ '_' + item.mediaID ] === 'undefined' ) { + return; + } + + item.groupID = _this.groupID; + + if ( ! _this.currentItems.length ) { + // Trouble. + _this.processed( item ); + return; + } + + $.each( _this.currentItems, function( i, mediaData ) { + if ( item.mediaID === mediaData.mediaID ) { + item.filename = mediaData.filename; + item.thumbnail = mediaData.thumbnail; + return false; + } + } ); + + _this.processed( item ); + }; + + /** + * After a media has been processed. + * + * @param {object} response { + * The response: + * + * @type {bool} success Whether the optimization succeeded or not ("already optimized" is a success). + * @type {int} mediaID The media ID. + * @type {string} groupID The group ID. + * @type {string} context The context. + * @type {string} filename The file name. + * @type {string} thumbnail The file thumbnail URL. + * @type {string} status The status, like 'optimized', 'already-optimized', 'over-quota', 'error'. + * @type {string} error The error message. + * } + * @return this + */ + w.imagify.Optimizer.prototype.processed = function( response ) { + var currentItems = this.currentItems; + + if ( currentItems.length ) { + // Remove this media from the "current" list. + $.each( currentItems, function( i, mediaData ) { + if ( response.mediaID === mediaData.mediaID ) { + currentItems.splice( i, 1 ); + return false; + } + } ); + + this.currentItems = currentItems; + } + + // Update stats. + if ( response.success && 'already-optimized' !== response.status ) { + this.globalOriginalSize += response.originalOverallSize; + this.globalOptimizedSize += response.newOverallSize; + this.globalGain += response.overallSaving; + this.globalPercent = ( 100 - this.globalOptimizedSize / this.globalOptimizedSize * 100 ).toFixed( 2 ); + } + + ++this.processedMedia; + response.progress = Math.floor( this.processedMedia / this.totalMedia * 100 ); + + this._each( response ); + + if ( this.prefixedMediaIDs.length ) { + this.processNext(); + } else if ( this.totalMedia === this.processedMedia ) { + this._done( { + globalOriginalSize: this.globalOriginalSize, + globalOptimizedSize: this.globalOptimizedSize, + globalGain: this.globalGain + } ); + } + + return this; + }; + + /** + * Stop the process. + * + * @return this + */ + w.imagify.Optimizer.prototype.stopProcess = function() { + this.files = {}; + this.prefixedMediaIDs = []; + this.currentItems = []; + + if ( this.doneEvent ) { + $( w ).off( this.doneEvent, this.processedCallback ); + } + + return this; + }; + +} )(jQuery, document, window); diff --git a/wp/wp-content/plugins/imagify/assets/js/imagify-gulp.min.js b/wp/wp-content/plugins/imagify/assets/js/imagify-gulp.min.js new file mode 100644 index 00000000..25d40d79 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/imagify-gulp.min.js @@ -0,0 +1,396 @@ +/** + * Library that handles the bulk optimization processes. + * + * @requires jQuery + */ +window.imagify = window.imagify || {}; + +/* eslint-disable no-underscore-dangle, consistent-this */ +(function($, d, w) { + + /** + * Construct the optimizer. + * + * @param {object} settings { + * Optimizer settings: + * + * @type {string} groupID Group ID, like 'library' or 'custom-folders'. + * @type {string} context Context within this group, like 'wp' or 'custom-folders' (yes, again). + * @type {int} level Optimization level: 0 to 2. + * @type {int} bufferSize Number of parallel optimizations: usually 4. + * @type {string} ajaxUrl URL to request to optimize. + * @type {object} files Files to optimize: media ID as key (prefixed with an underscore), file URL as value. + * @type {string} defaultThumb A default thumbnail URL. + * @type {string} doneEvent Name of the event to listen to know when optimizations end. + * @type {array} imageExtensions A list of supported image extensions (only images). + * } + */ + w.imagify.Optimizer = function ( settings ) { + // Settings. + this.groupID = settings.groupID; + this.context = settings.context; + this.level = settings.level; + this.bufferSize = settings.bufferSize || 1; + this.ajaxUrl = settings.ajaxUrl; + this.files = settings.files; + this.defaultThumb = settings.defaultThumb; + this.doneEvent = settings.doneEvent; + + if ( settings.imageExtensions ) { + this.imageExtensions = settings.imageExtensions; + } else { + this.imageExtensions = [ 'jpg', 'jpeg', 'jpe', 'png', 'gif' ]; + } + + /** + * An array of media IDs (prefixed with an underscore). + */ + this.prefixedMediaIDs = Object.keys( this.files ); + /** + * An array of medias currently being optimized: { + * @type {int} mediaID The media ID. + * @type {string} filename The file name. + * @type {string} thumbnail The file thumbnail URL. + * } + */ + this.currentItems = []; + + // Internal counters. + this.totalMedia = this.prefixedMediaIDs.length; + this.processedMedia = 0; + + // Global stats. + this.globalOriginalSize = 0; + this.globalOptimizedSize = 0; + this.globalGain = 0; + this.globalPercent = 0; + + // Callbacks. + this._before = function () {}; + this._each = function () {}; + this._done = function () {}; + + // Listen to the "optimization done" event. + if ( this.totalMedia && this.doneEvent ) { + $( w ).on( this.doneEvent, { _this: this }, this.processedCallback ); + } + }; + + /** + * Callback to trigger before each media optimization. + * + * @param {callable} fnc A callback. + * @return this + */ + w.imagify.Optimizer.prototype.before = function( fnc ) { + this._before = fnc; + return this; + }; + + /** + * Callback to trigger after each media optimization. + * + * @param {callable} fnc A callback. + * @return this + */ + w.imagify.Optimizer.prototype.each = function( fnc ) { + this._each = fnc; + return this; + }; + + /** + * Callback to trigger all media optimizations have been done. + * + * @param {callable} fnc A callback. + * @return this + */ + w.imagify.Optimizer.prototype.done = function( fnc ) { + this._done = fnc; + return this; + }; + + /** + * Launch optimizations. + * + * @return this + */ + w.imagify.Optimizer.prototype.run = function() { + var chunkLength = this.prefixedMediaIDs.length > this.bufferSize ? this.bufferSize : this.prefixedMediaIDs.length, + i; + + for ( i = 0; i < chunkLength; i++ ) { + this.processNext(); + } + + return this; + }; + + /** + * Launch next optimization. + * + * @return this + */ + w.imagify.Optimizer.prototype.processNext = function() { + if ( this.prefixedMediaIDs.length ) { + this.process( this.prefixedMediaIDs.shift() ); + } + + return this; + }; + + /** + * Launch an optimization. + * + * @param {string} prefixedId A media ID, prefixed with an underscore. + * @return this + */ + w.imagify.Optimizer.prototype.process = function( prefixedId ) { + var _this = this, + fileURL = this.files[ prefixedId ], + data = { + mediaID: parseInt( prefixedId.toString().substr( 1 ), 10 ), + filename: this.files[ prefixedId ].split( '/' ).pop(), + thumbnail: this.defaultThumb + }, + extension = data.filename.split( '.' ).pop().toLowerCase(), + regexp = new RegExp( '^' + this.imageExtensions.join( '|' ).toLowerCase() + '$' ), + image; + + if ( ! extension.match( regexp ) ) { + // Not an image. + this.currentItems.push( data ); + this._before( data ); + this.send( data ); + return this; + } + + // Create a thumbnail and send the ajax request. + image = new Image(); + + image.onerror = function () { + _this.currentItems.push( data ); + _this._before( data ); + _this.send( data ); + }; + + image.onload = function () { + var maxWidth = 33, + maxHeight = 33, + imageWidth = image.width, + imageHeight = image.height, + newHeight = 0, + newWidth = 0, + topOffset = 0, + leftOffset = 0, + canvas = null, + ctx = null; + + if ( imageWidth < imageHeight ) { + // Portrait. + newWidth = maxWidth; + newHeight = newWidth * imageHeight / imageWidth; + topOffset = ( maxHeight - newHeight ) / 2; + } else { + // Landscape. + newHeight = maxHeight; + newWidth = newHeight * imageWidth / imageHeight; + leftOffset = ( maxWidth - newWidth ) / 2; + } + + canvas = d.createElement( 'canvas' ); + + canvas.width = maxWidth; + canvas.height = maxHeight; + + ctx = canvas.getContext( '2d' ); + ctx.drawImage( this, leftOffset, topOffset, newWidth, newHeight ); + + try { + data.thumbnail = canvas.toDataURL( 'image/jpeg' ); + } catch ( e ) { + data.thumbnail = _this.defaultThumb; + } + + canvas = null; + ctx = null; + image = null; + + _this.currentItems.push( data ); + _this._before( data ); + _this.send( data ); + }; + + image.src = fileURL; + + return this; + }; + + /** + * Do the ajax request. + * + * @param {object} data { + * The data: + * + * @type {int} mediaID The media ID. + * @type {string} filename The file name. + * @type {string} thumbnail The file thumbnail URL. + * } + * @return this + */ + w.imagify.Optimizer.prototype.send = function( data ) { + var _this = this, + defaultResponse = { + success: false, + mediaID: data.mediaID, + groupID: this.groupID, + context: this.context, + filename: data.filename, + thumbnail: data.thumbnail, + status: 'error', + error: '' + }; + + $.post( { + url: this.ajaxUrl, + data: { + media_id: data.mediaID, + context: this.context, + optimization_level: this.level + }, + dataType: 'json' + } ) + .done( function( response ) { + if ( response.success ) { + return; + } + + defaultResponse.error = response.data.error; + + _this.processed( defaultResponse ); + } ) + .fail( function( jqXHR ) { + defaultResponse.error = jqXHR.statusText; + + _this.processed( defaultResponse ); + } ); + + return this; + }; + + /** + * Callback triggered when an optimization is complete. + * + * @param {object} e jQuery's Event object. + * @param {object} item { + * The response: + * + * @type {int} mediaID The media ID. + * @type {string} context The context. + * } + */ + w.imagify.Optimizer.prototype.processedCallback = function( e, item ) { + var _this = e.data._this; + + if ( item.context !== _this.context ) { + return; + } + + if ( ! item.mediaID || typeof _this.files[ '_' + item.mediaID ] === 'undefined' ) { + return; + } + + item.groupID = _this.groupID; + + if ( ! _this.currentItems.length ) { + // Trouble. + _this.processed( item ); + return; + } + + $.each( _this.currentItems, function( i, mediaData ) { + if ( item.mediaID === mediaData.mediaID ) { + item.filename = mediaData.filename; + item.thumbnail = mediaData.thumbnail; + return false; + } + } ); + + _this.processed( item ); + }; + + /** + * After a media has been processed. + * + * @param {object} response { + * The response: + * + * @type {bool} success Whether the optimization succeeded or not ("already optimized" is a success). + * @type {int} mediaID The media ID. + * @type {string} groupID The group ID. + * @type {string} context The context. + * @type {string} filename The file name. + * @type {string} thumbnail The file thumbnail URL. + * @type {string} status The status, like 'optimized', 'already-optimized', 'over-quota', 'error'. + * @type {string} error The error message. + * } + * @return this + */ + w.imagify.Optimizer.prototype.processed = function( response ) { + var currentItems = this.currentItems; + + if ( currentItems.length ) { + // Remove this media from the "current" list. + $.each( currentItems, function( i, mediaData ) { + if ( response.mediaID === mediaData.mediaID ) { + currentItems.splice( i, 1 ); + return false; + } + } ); + + this.currentItems = currentItems; + } + + // Update stats. + if ( response.success && 'already-optimized' !== response.status ) { + this.globalOriginalSize += response.originalOverallSize; + this.globalOptimizedSize += response.newOverallSize; + this.globalGain += response.overallSaving; + this.globalPercent = ( 100 - this.globalOptimizedSize / this.globalOptimizedSize * 100 ).toFixed( 2 ); + } + + ++this.processedMedia; + response.progress = Math.floor( this.processedMedia / this.totalMedia * 100 ); + + this._each( response ); + + if ( this.prefixedMediaIDs.length ) { + this.processNext(); + } else if ( this.totalMedia === this.processedMedia ) { + this._done( { + globalOriginalSize: this.globalOriginalSize, + globalOptimizedSize: this.globalOptimizedSize, + globalGain: this.globalGain + } ); + } + + return this; + }; + + /** + * Stop the process. + * + * @return this + */ + w.imagify.Optimizer.prototype.stopProcess = function() { + this.files = {}; + this.prefixedMediaIDs = []; + this.currentItems = []; + + if ( this.doneEvent ) { + $( w ).off( this.doneEvent, this.processedCallback ); + } + + return this; + }; + +} )(jQuery, document, window); diff --git a/wp/wp-content/plugins/imagify/assets/js/jquery.event.move.js b/wp/wp-content/plugins/imagify/assets/js/jquery.event.move.js new file mode 100644 index 00000000..0ef0748e --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/jquery.event.move.js @@ -0,0 +1,584 @@ +// DOM.event.move +// +// 2.0.1 +// +// Stephen Band +// +// Triggers 'movestart', 'move' and 'moveend' events after +// mousemoves following a mousedown cross a distance threshold, +// similar to the native 'dragstart', 'drag' and 'dragend' events. +// Move events are throttled to animation frames. Move event objects +// have the properties: +// +// pageX: +// pageY: Page coordinates of pointer. +// startX: +// startY: Page coordinates of pointer at movestart. +// distX: +// distY: Distance the pointer has moved since movestart. +// deltaX: +// deltaY: Distance the finger has moved since last event. +// velocityX: +// velocityY: Average velocity over last few events. + + +(function(fn) { + if (typeof define === 'function' && define.amd) { + define([], fn); + } else if ((typeof module !== "undefined" && module !== null) && module.exports) { + module.exports = fn; + } else { + fn(); + } +})(function(){ + var assign = Object.assign || window.jQuery && jQuery.extend; + + // Number of pixels a pressed pointer travels before movestart + // event is fired. + var threshold = 8; + + // Shim for requestAnimationFrame, falling back to timer. See: + // see http://paulirish.com/2011/requestanimationframe-for-smart-animating/ + var requestFrame = (function(){ + return ( + window.requestAnimationFrame || + window.webkitRequestAnimationFrame || + window.mozRequestAnimationFrame || + window.oRequestAnimationFrame || + window.msRequestAnimationFrame || + function(fn, element){ + return window.setTimeout(function(){ + fn(); + }, 25); + } + ); + })(); + + var ignoreTags = { + textarea: true, + input: true, + select: true, + button: true + }; + + var mouseevents = { + move: 'mousemove', + cancel: 'mouseup dragstart', + end: 'mouseup' + }; + + var touchevents = { + move: 'touchmove', + cancel: 'touchend', + end: 'touchend' + }; + + var rspaces = /\s+/; + + + // DOM Events + + var eventOptions = { bubbles: true, cancelable: true }; + + var eventsSymbol = Symbol('events'); + + function createEvent(type) { + return new CustomEvent(type, eventOptions); + } + + function getEvents(node) { + return node[eventsSymbol] || (node[eventsSymbol] = {}); + } + + function on(node, types, fn, data, selector) { + types = types.split(rspaces); + + var events = getEvents(node); + var i = types.length; + var handlers, type; + + function handler(e) { fn(e, data); } + + while (i--) { + type = types[i]; + handlers = events[type] || (events[type] = []); + handlers.push([fn, handler]); + node.addEventListener(type, handler); + } + } + + function off(node, types, fn, selector) { + types = types.split(rspaces); + + var events = getEvents(node); + var i = types.length; + var type, handlers, k; + + if (!events) { return; } + + while (i--) { + type = types[i]; + handlers = events[type]; + if (!handlers) { continue; } + k = handlers.length; + while (k--) { + if (handlers[k][0] === fn) { + node.removeEventListener(type, handlers[k][1]); + handlers.splice(k, 1); + } + } + } + } + + function trigger(node, type, properties) { + // Don't cache events. It prevents you from triggering an event of a + // given type from inside the handler of another event of that type. + var event = createEvent(type); + if (properties) { assign(event, properties); } + node.dispatchEvent(event); + } + + + // Constructors + + function Timer(fn){ + var callback = fn, + active = false, + running = false; + + function trigger(time) { + if (active){ + callback(); + requestFrame(trigger); + running = true; + active = false; + } + else { + running = false; + } + } + + this.kick = function(fn) { + active = true; + if (!running) { trigger(); } + }; + + this.end = function(fn) { + var cb = callback; + + if (!fn) { return; } + + // If the timer is not running, simply call the end callback. + if (!running) { + fn(); + } + // If the timer is running, and has been kicked lately, then + // queue up the current callback and the end callback, otherwise + // just the end callback. + else { + callback = active ? + function(){ cb(); fn(); } : + fn ; + + active = true; + } + }; + } + + + // Functions + + function noop() {} + + function preventDefault(e) { + e.preventDefault(); + } + + function isIgnoreTag(e) { + return !!ignoreTags[e.target.tagName.toLowerCase()]; + } + + function isPrimaryButton(e) { + // Ignore mousedowns on any button other than the left (or primary) + // mouse button, or when a modifier key is pressed. + return (e.which === 1 && !e.ctrlKey && !e.altKey); + } + + function identifiedTouch(touchList, id) { + var i, l; + + if (touchList.identifiedTouch) { + return touchList.identifiedTouch(id); + } + + // touchList.identifiedTouch() does not exist in + // webkit yet… we must do the search ourselves... + + i = -1; + l = touchList.length; + + while (++i < l) { + if (touchList[i].identifier === id) { + return touchList[i]; + } + } + } + + function changedTouch(e, data) { + var touch = identifiedTouch(e.changedTouches, data.identifier); + + // This isn't the touch you're looking for. + if (!touch) { return; } + + // Chrome Android (at least) includes touches that have not + // changed in e.changedTouches. That's a bit annoying. Check + // that this touch has changed. + if (touch.pageX === data.pageX && touch.pageY === data.pageY) { return; } + + return touch; + } + + + // Handlers that decide when the first movestart is triggered + + function mousedown(e){ + // Ignore non-primary buttons + if (!isPrimaryButton(e)) { return; } + + // Ignore form and interactive elements + if (isIgnoreTag(e)) { return; } + + on(document, mouseevents.move, mousemove, e); + on(document, mouseevents.cancel, mouseend, e); + } + + function mousemove(e, data){ + checkThreshold(e, data, e, removeMouse); + } + + function mouseend(e, data) { + removeMouse(); + } + + function removeMouse() { + off(document, mouseevents.move, mousemove); + off(document, mouseevents.cancel, mouseend); + } + + function touchstart(e) { + // Don't get in the way of interaction with form elements + if (ignoreTags[e.target.tagName.toLowerCase()]) { return; } + + var touch = e.changedTouches[0]; + + // iOS live updates the touch objects whereas Android gives us copies. + // That means we can't trust the touchstart object to stay the same, + // so we must copy the data. This object acts as a template for + // movestart, move and moveend event objects. + var data = { + target: touch.target, + pageX: touch.pageX, + pageY: touch.pageY, + identifier: touch.identifier, + + // The only way to make handlers individually unbindable is by + // making them unique. + touchmove: function(e, data) { touchmove(e, data); }, + touchend: function(e, data) { touchend(e, data); } + }; + + on(document, touchevents.move, data.touchmove, data); + on(document, touchevents.cancel, data.touchend, data); + } + + function touchmove(e, data) { + var touch = changedTouch(e, data); + if (!touch) { return; } + checkThreshold(e, data, touch, removeTouch); + } + + function touchend(e, data) { + var touch = identifiedTouch(e.changedTouches, data.identifier); + if (!touch) { return; } + removeTouch(data); + } + + function removeTouch(data) { + off(document, touchevents.move, data.touchmove); + off(document, touchevents.cancel, data.touchend); + } + + function checkThreshold(e, data, touch, fn) { + var distX = touch.pageX - data.pageX; + var distY = touch.pageY - data.pageY; + + // Do nothing if the threshold has not been crossed. + if ((distX * distX) + (distY * distY) < (threshold * threshold)) { return; } + + triggerStart(e, data, touch, distX, distY, fn); + } + + function triggerStart(e, data, touch, distX, distY, fn) { + var touches = e.targetTouches; + var time = e.timeStamp - data.timeStamp; + + // Create a movestart object with some special properties that + // are passed only to the movestart handlers. + var template = { + altKey: e.altKey, + ctrlKey: e.ctrlKey, + shiftKey: e.shiftKey, + startX: data.pageX, + startY: data.pageY, + distX: distX, + distY: distY, + deltaX: distX, + deltaY: distY, + pageX: touch.pageX, + pageY: touch.pageY, + velocityX: distX / time, + velocityY: distY / time, + identifier: data.identifier, + targetTouches: touches, + finger: touches ? touches.length : 1, + enableMove: function() { + this.moveEnabled = true; + this.enableMove = noop; + e.preventDefault(); + } + }; + + // Trigger the movestart event. + trigger(data.target, 'movestart', template); + + // Unbind handlers that tracked the touch or mouse up till now. + fn(data); + } + + + // Handlers that control what happens following a movestart + + function activeMousemove(e, data) { + var timer = data.timer; + + data.touch = e; + data.timeStamp = e.timeStamp; + timer.kick(); + } + + function activeMouseend(e, data) { + var target = data.target; + var event = data.event; + var timer = data.timer; + + removeActiveMouse(); + + endEvent(target, event, timer, function() { + // Unbind the click suppressor, waiting until after mouseup + // has been handled. + setTimeout(function(){ + off(target, 'click', preventDefault); + }, 0); + }); + } + + function removeActiveMouse() { + off(document, mouseevents.move, activeMousemove); + off(document, mouseevents.end, activeMouseend); + } + + function activeTouchmove(e, data) { + var event = data.event; + var timer = data.timer; + var touch = changedTouch(e, event); + + if (!touch) { return; } + + // Stop the interface from gesturing + e.preventDefault(); + + event.targetTouches = e.targetTouches; + data.touch = touch; + data.timeStamp = e.timeStamp; + + timer.kick(); + } + + function activeTouchend(e, data) { + var target = data.target; + var event = data.event; + var timer = data.timer; + var touch = identifiedTouch(e.changedTouches, event.identifier); + + // This isn't the touch you're looking for. + if (!touch) { return; } + + removeActiveTouch(data); + endEvent(target, event, timer); + } + + function removeActiveTouch(data) { + off(document, touchevents.move, data.activeTouchmove); + off(document, touchevents.end, data.activeTouchend); + } + + + // Logic for triggering move and moveend events + + function updateEvent(event, touch, timeStamp) { + var time = timeStamp - event.timeStamp; + + event.distX = touch.pageX - event.startX; + event.distY = touch.pageY - event.startY; + event.deltaX = touch.pageX - event.pageX; + event.deltaY = touch.pageY - event.pageY; + + // Average the velocity of the last few events using a decay + // curve to even out spurious jumps in values. + event.velocityX = 0.3 * event.velocityX + 0.7 * event.deltaX / time; + event.velocityY = 0.3 * event.velocityY + 0.7 * event.deltaY / time; + event.pageX = touch.pageX; + event.pageY = touch.pageY; + } + + function endEvent(target, event, timer, fn) { + timer.end(function(){ + trigger(target, 'moveend', event); + return fn && fn(); + }); + } + + + // Set up the DOM + + function movestart(e) { + if (e.defaultPrevented) { return; } + if (!e.moveEnabled) { return; } + + var event = { + startX: e.startX, + startY: e.startY, + pageX: e.pageX, + pageY: e.pageY, + distX: e.distX, + distY: e.distY, + deltaX: e.deltaX, + deltaY: e.deltaY, + velocityX: e.velocityX, + velocityY: e.velocityY, + identifier: e.identifier, + targetTouches: e.targetTouches, + finger: e.finger + }; + + var data = { + target: e.target, + event: event, + timer: new Timer(update), + touch: undefined, + timeStamp: e.timeStamp + }; + + function update(time) { + updateEvent(event, data.touch, data.timeStamp); + trigger(data.target, 'move', event); + } + + if (e.identifier === undefined) { + // We're dealing with a mouse event. + // Stop clicks from propagating during a move + on(e.target, 'click', preventDefault); + on(document, mouseevents.move, activeMousemove, data); + on(document, mouseevents.end, activeMouseend, data); + } + else { + // In order to unbind correct handlers they have to be unique + data.activeTouchmove = function(e, data) { activeTouchmove(e, data); }; + data.activeTouchend = function(e, data) { activeTouchend(e, data); }; + + // We're dealing with a touch. + on(document, touchevents.move, data.activeTouchmove, data); + on(document, touchevents.end, data.activeTouchend, data); + } + } + + on(document, 'mousedown', mousedown); + on(document, 'touchstart', touchstart); + on(document, 'movestart', movestart); + + + // jQuery special events + // + // jQuery event objects are copies of DOM event objects. They need + // a little help copying the move properties across. + + if (!window.jQuery) { return; } + + var properties = ("startX startY pageX pageY distX distY deltaX deltaY velocityX velocityY").split(' '); + + function enableMove1(e) { e.enableMove(); } + function enableMove2(e) { e.enableMove(); } + function enableMove3(e) { e.enableMove(); } + + function add(handleObj) { + var handler = handleObj.handler; + + handleObj.handler = function(e) { + // Copy move properties across from originalEvent + var i = properties.length; + var property; + + while(i--) { + property = properties[i]; + e[property] = e.originalEvent[property]; + } + + handler.apply(this, arguments); + }; + } + + jQuery.event.special.movestart = { + setup: function() { + // Movestart must be enabled to allow other move events + on(this, 'movestart', enableMove1); + + // Do listen to DOM events + return false; + }, + + teardown: function() { + off(this, 'movestart', enableMove1); + return false; + }, + + add: add + }; + + jQuery.event.special.move = { + setup: function() { + on(this, 'movestart', enableMove2); + return false; + }, + + teardown: function() { + off(this, 'movestart', enableMove2); + return false; + }, + + add: add + }; + + jQuery.event.special.moveend = { + setup: function() { + on(this, 'movestart', enableMove3); + return false; + }, + + teardown: function() { + off(this, 'movestart', enableMove3); + return false; + }, + + add: add + }; +}); diff --git a/wp/wp-content/plugins/imagify/assets/js/jquery.event.move.min.js b/wp/wp-content/plugins/imagify/assets/js/jquery.event.move.min.js new file mode 100644 index 00000000..ed1888f4 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/jquery.event.move.min.js @@ -0,0 +1 @@ +!function(e){"function"==typeof define&&define.amd?define([],e):"undefined"!=typeof module&&null!==module&&module.exports?module.exports=e:e()}(function(){var o,i=Object.assign||window.jQuery&&jQuery.extend,d=8,a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){return window.setTimeout(function(){e()},25)},n={textarea:!0,input:!0,select:!0,button:!0},c={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},u={move:"touchmove",cancel:"touchend",end:"touchend"},r=/\s+/,m={bubbles:!0,cancelable:!0},t=Symbol("events");function v(e){return e[t]||(e[t]={})}function s(e,t,n,i){t=t.split(r);var o,a=v(e),c=t.length;function u(e){n(e,i)}for(;c--;)(a[o=t[c]]||(a[o]=[])).push([n,u]),e.addEventListener(o,u)}function f(e,t,n){t=t.split(r);var i,o,a,c=v(e),u=t.length;if(c)for(;u--;)if(o=c[i=t[u]])for(a=o.length;a--;)o[a][0]===n&&(e.removeEventListener(i,o[a][1]),o.splice(a,1))}function l(e,t,n){t=new CustomEvent(t,m);n&&i(t,n),e.dispatchEvent(t)}function g(e){var n=e,i=!1,o=!1;function t(e){i?(n(),a(t),i=!(o=!0)):o=!1}this.kick=function(e){i=!0,o||t()},this.end=function(e){var t=n;e&&(o?(n=i?function(){t(),e()}:e,i=!0):e())}}function p(){}function h(e){e.preventDefault()}function X(e,t){var n,i;if(e.identifiedTouch)return e.identifiedTouch(t);for(n=-1,i=e.length;++n' ); + + $container.children( '.twentytwenty-overlay, .twentytwenty-handle' ).remove(); + $container.append( '
' ); + $container.append( '
' ); + + $slider = $container.find( '.twentytwenty-handle' ); + + $slider.append( '' ); + $slider.append( '' ); + $container.addClass( 'twentytwenty-container' ); + $beforeImg.addClass( 'twentytwenty-before' ); + $afterImg.addClass( 'twentytwenty-after' ); + + $overlay = $container.find( '.twentytwenty-overlay' ); + + $overlay.append( '
' + options.labelBefore + '
' ); + $overlay.append( '
' + options.labelAfter + '
' ); + + $( w ).on( 'resize.twentytwenty', function() { + adjustSlider( sliderPct ); + } ); + + $slider.on( 'movestart', function( e ) { + if ( 'vertical' !== sliderOrientation && ( ( e.distX > e.distY && e.distX < -e.distY ) || ( e.distX < e.distY && e.distX > -e.distY ) ) ) { + e.preventDefault(); + } else if ( 'vertical' === sliderOrientation && ( ( e.distX < e.distY && e.distX < -e.distY ) || ( e.distX > e.distY && e.distX > -e.distY ) ) ) { + e.preventDefault(); + } + + $container.addClass( 'active' ); + + offsetX = $container.offset().left; + offsetY = $container.offset().top; + imgWidth = $beforeImg.width(); + imgHeight = $beforeImg.height(); + } ); + + $slider.on( 'moveend', function() { + $container.removeClass( 'active' ); + } ); + + $slider.on( 'move', function( e ) { + if ( $container.hasClass('active') ) { + sliderPct = 'vertical' === sliderOrientation ? ( e.pageY - offsetY ) / imgHeight : ( e.pageX - offsetX ) / imgWidth; + + if ( sliderPct < 0 ) { + sliderPct = 0; + } else if ( sliderPct > 1 ) { + sliderPct = 1; + } + + adjustSlider( sliderPct ); + } + } ); + + $container.find( 'img' ).on( 'mousedown', function( e ) { + e.preventDefault(); + } ); + + $( w ).trigger( 'resize.twentytwenty' ); + } ); + }; + +} )(jQuery, document, window); + +/** + * Twentytwenty Imagify Init + */ +(function($, d, w, undefined) { // eslint-disable-line no-unused-vars, no-shadow, no-shadow-restricted-names + + /* + * Mini chart + * + * @param {element} canvas + */ + var drawMeAChart = function ( canvas ) { + canvas.each( function() { + var value = parseInt( $( this ).closest( '.imagify-chart' ).next( '.imagify-chart-value' ).text(), 10 ); + + new w.imagify.Chart( this, { // eslint-disable-line no-new + type: 'doughnut', + data: { + datasets: [{ + data: [ value, 100 - value ], + backgroundColor: [ '#00B3D3', '#D8D8D8' ], + borderColor: '#2A2E3C', + borderWidth: 1 + }] + }, + options: { + legend: { + display: false + }, + events: [], + animation: { + easing: 'easeOutBounce' + }, + tooltips: { + enabled: false + }, + responsive: false, + cutoutPercentage: 60 + } + } ); + } ); + }, + /** + * Dynamic modal + * + * @param {object} Parameters to build modal with datas + */ + imagifyTwentyModal = function( options ) { + var defaults = { + width: 0, //px + height: 0, //px + originalUrl: '', //url + optimizedUrl: '', //url + originalSize: 0, //mb + optimizedSize: 0, // mb + saving: 0, //percent + modalAppendTo: $( 'body' ), // jQuery element + trigger: $( '[data-target="imagify-visual-comparison"]' ), // jQuery element (button, link) with data-target="modalId" + modalId: 'imagify-visual-comparison', // should be dynamic if multiple modals + openModal: false + }, + settings = $.extend( {}, defaults, options ), + modalHtml; + + if ( 0 === settings.width || 0 === settings.height || '' === settings.originalUrl || '' === settings.optimizedUrl || 0 === settings.originalSize || 0 === settings.optimizedSize || 0 === settings.saving ) { + return 'error'; + } + + // create modal box + modalHtml = ''; + + settings.modalAppendTo.append( modalHtml ); + + settings.trigger.on( 'click.imagify', function( e ) { + var $modal = $( $( this ).data( 'target' ) ), + imgsLoaded = 0, + $tt, checkLoad; + + e.preventDefault(); + + if ( settings.openModal ) { + w.imagify.openModal( $( this ) ); + } + + $modal.find( '.imagify-modal-content' ).css( { + 'width': ( $( w ).outerWidth() * 0.85 ) + 'px', + 'max-width': settings.width + } ); + + // Load before img. + $modal.find( '.imagify-img-before' ).on( 'load', function() { + imgsLoaded++; + } ).attr( 'src', settings.originalUrl ); + + // Load after img. + $modal.find( '.imagify-img-after' ).on( 'load', function() { + imgsLoaded++; + } ).attr( 'src', settings.optimizedUrl + ( settings.optimizedUrl.indexOf( '?' ) > 0 ? '&' : '?' ) + 'v=' + Date.now() ); + + $tt = $modal.find( '.twentytwenty-container' ); + checkLoad = setInterval( function() { + if ( 2 !== imgsLoaded ) { + return; + } + + $tt.twentytwenty( { + handlePosition: 0.3, + orientation: 'horizontal', + labelBefore: imagifyTTT.labels.originalL, + labelAfter: imagifyTTT.labels.optimizedL + }, function() { + var windowH = $( w ).height(), + ttH = $modal.find( '.twentytwenty-container' ).height(), + ttTop = $modal.find( '.twentytwenty-wrapper' ).position().top, + $handle, $labels, $datas, datasH, handlePos, labelsPos; + + if ( ! $tt.closest( '.imagify-modal-content' ).hasClass( 'loaded' ) ) { + $tt.closest( '.imagify-modal-content' ).removeClass( 'loading' ).addClass( 'loaded' ); + drawMeAChart( $modal.find( '.imagify-level-optimized .imagify-chart canvas' ) ); + } + + // Check if image height is to big. + if ( windowH < ttH && ! $modal.hasClass( 'modal-is-too-high' ) ) { + $modal.addClass( 'modal-is-too-high' ); + + $handle = $modal.find( '.twentytwenty-handle' ); + $labels = $modal.find( '.twentytwenty-label-content' ); + $datas = $modal.find( '.imagify-comparison-levels' ); + datasH = $datas.outerHeight(); + handlePos = ( windowH - ttTop - $handle.height() ) / 2; + labelsPos = ( windowH - ttTop * 3 - datasH ); + + $handle.css( { + top: handlePos + } ); + $labels.css( { + top: labelsPos, + bottom: 'auto' + } ); + $modal.find( '.twentytwenty-wrapper' ).css( { + paddingBottom: datasH + } ); + $modal.find( '.imagify-modal-content' ).on( 'scroll.imagify', function() { + var scrollTop = $( this ).scrollTop(); + + $handle.css( { + top: handlePos + scrollTop + } ); + $labels.css( { + top: labelsPos + scrollTop + } ); + $datas.css( { + bottom: -scrollTop + } ); + } ); + } + } ); + + clearInterval( checkLoad ); + checkLoad = null; + return 'done'; + }, 75 ); + } ); + }; // imagifyTwentyModal( options ); + + + /** + * The complexe visual comparison + */ + $( '.imagify-visual-comparison-btn' ).on( 'click', function() { + var $tt, imgsLoaded, loader, + labelOriginal, labelNormal, labelAggressive, labelUltra, + originalLabel, originalAlt, originalSrc, originalDim, + normalAlt, normalSrc, normalDim, + aggressiveAlt, aggressiveSrc, aggressiveDim, + ultraLabel, ultraAlt, ultraSrc, ultraDim, + ttBeforeButtons, ttAfterButtons, image50, twentyMe; + + if ( $( '.twentytwenty-wrapper' ).length === 1 ) { + return; + } + + $( $( this ).data( 'target' ) ).find( '.imagify-modal-content' ).css( 'width', ( $( w ).outerWidth() * 0.95 ) + 'px' ); + + if ( $( '.twentytwenty-container' ).length > 0 && $( w ).outerWidth() <= 800 ) { + return; + } + + $tt = $( '.twentytwenty-container' ); + imgsLoaded = 0; + loader = $tt.data( 'loader' ); + labelOriginal = $tt.data( 'label-original' ); + labelNormal = $tt.data( 'label-normal' ); + labelAggressive = $tt.data( 'label-aggressive' ); + labelUltra = $tt.data( 'label-ultra' ); + + originalLabel = $tt.data( 'original-label' ).replace( /\*\*/, '' ).replace( /\*\*/, '' ); + originalAlt = $tt.data( 'original-alt' ); + originalSrc = $tt.data( 'original-img' ); + originalDim = $tt.data( 'original-dim' ).split( 'x' ); + + normalAlt = $tt.data( 'normal-alt' ); + normalSrc = $tt.data( 'normal-img' ); + normalDim = $tt.data( 'normal-dim' ).split( 'x' ); + + aggressiveAlt = $tt.data( 'aggressive-alt' ); + aggressiveSrc = $tt.data( 'aggressive-img' ); + aggressiveDim = $tt.data( 'aggressive-dim' ).split( 'x' ); + + ultraLabel = $tt.data( 'ultra-label' ).replace( /\*\*/, '' ).replace( /\*\*/, '' ); + ultraAlt = $tt.data( 'ultra-alt' ); + ultraSrc = $tt.data( 'ultra-img' ); + ultraDim = $tt.data( 'ultra-dim' ).split( 'x' ); + + ttBeforeButtons = ''; + /* eslint-disable indent */ + ttBeforeButtons += ''; + ttBeforeButtons += ''; + ttBeforeButtons += ''; + /* eslint-enable indent */ + ttBeforeButtons += ''; + ttAfterButtons = ''; + /* eslint-disable indent */ + ttAfterButtons += ''; + ttAfterButtons += ''; + ttAfterButtons += ''; + /* eslint-enable indent */ + ttAfterButtons += ''; + + // Loader. + $tt.before( 'Loading…' ); + + // Should be more locally integrated... + $( '.twentytwenty-left-buttons' ).append( ttBeforeButtons ); + $( '.twentytwenty-right-buttons' ).append( ttAfterButtons ); + + image50 = '' + originalAlt + ''; + image50 += '' + normalAlt + ''; + image50 += '' + aggressiveAlt + ''; + image50 += '' + ultraAlt + ''; + // Add switchers button only if needed. + // Should be more locally integrated... + image50 += $( '.twentytwenty-left-buttons' ).lenght ? ttBeforeButtons + ttAfterButtons : ''; + + // Add images to 50/50 area. + $tt.closest( '.imagify-modal-content' ).addClass( 'loading' ).find( '.twentytwenty-container' ).append( image50 ); + + // Load image original. + $( '.img-original' ).on( 'load', function() { + imgsLoaded++; + } ).attr( 'src', originalSrc ); + + // Load image normal. + $( '.img-normal' ).on( 'load', function() { + imgsLoaded++; + } ).attr( 'src', normalSrc ); + + // Load image aggressive. + $( '.img-aggressive' ).on( 'load', function() { + imgsLoaded++; + } ).attr( 'src', aggressiveSrc ); + + // Load image ultra. + $( '.img-ultra' ).on( 'load', function() { + imgsLoaded++; + } ).attr( 'src', ultraSrc ); + + twentyMe = setInterval( function() { + if ( 4 !== imgsLoaded ) { + return; + } + + $tt.twentytwenty({ + handlePosition: 0.6, + orientation: 'horizontal', + labelBefore: originalLabel, + labelAfter: ultraLabel + }, function() { + // Fires on initialisation & each time the handle is moving. + if ( ! $tt.closest( '.imagify-modal-content' ).hasClass( 'loaded' ) ) { + $tt.closest( '.imagify-modal-content' ).removeClass( 'loading' ).addClass( 'loaded' ); + drawMeAChart( $( '.imagify-level-ultra .imagify-chart canvas' ) ); + } + } ); + + clearInterval( twentyMe ); + twentyMe = null; + }, 75); + + // On click on button choices. + $( '.imagify-comparison-title' ).on( 'click', '.twentytwenty-duo-buttons button:not(.selected)', function( e ) { + var $this = $( this ), + $container = $this.closest( '.imagify-comparison-title' ).nextAll( '.twentytwenty-wrapper' ).find( '.twentytwenty-container' ), + side = $this.closest( '.twentytwenty-duo-buttons' ).hasClass( 'twentytwenty-duo-left' ) ? 'left' : 'right', + $otherSide = 'left' === side ? $this.closest( '.imagify-comparison-title' ).find( '.twentytwenty-duo-right' ) : $this.closest( '.imagify-comparison-title' ).find( '.twentytwenty-duo-left' ), + $duo = $this.closest( '.twentytwenty-duo-buttons' ).find( 'button' ), + $imgBefore = $container.find( '.twentytwenty-before' ), + $imgAfter = $container.find( '.twentytwenty-after' ), + image = $this.data( 'img' ), + clipStyles; + + e.stopPropagation(); + e.preventDefault(); + + // Button coloration. + $duo.removeClass( 'selected' ); + $this.addClass( 'selected' ); + + // Other side action (to not compare same images). + if ( $otherSide.find( '.selected' ).data( 'img' ) === image ) { + $otherSide.find( 'button:not(.selected)' ).eq( 0 ).trigger( 'click' ); + } + + // Left buttons. + if ( 'left' === side ) { + clipStyles = $imgBefore.css( 'clip' ); + $imgBefore.attr( 'style', '' ); + $imgBefore.removeClass( 'twentytwenty-before' ); + $container.find( '.img-' + image ).addClass( 'twentytwenty-before' ).css( 'clip', clipStyles ); + $( '.twentytwenty-before-label .twentytwenty-label-content' ).text( $container.data( image + '-label' ) ); + $( '.imagify-c-level.go-left' ).attr( 'aria-hidden', 'true' ).removeClass( 'go-left go-right' ); + $( '.imagify-level-' + image ).attr( 'aria-hidden', 'false' ).addClass( 'go-left' ); + } + + // Right buttons. + if ( 'right' === side ) { + $imgAfter.removeClass( 'twentytwenty-after' ); + $container.find( '.img-' + image ).addClass( 'twentytwenty-after' ); + $( '.twentytwenty-after-label .twentytwenty-label-content' ).text( $container.data( image + '-label' ) ); + $( '.imagify-c-level.go-right' ).attr( 'aria-hidden', 'true' ).removeClass( 'go-left go-right' ); + $( '.imagify-level-' + image ).attr( 'aria-hidden', 'false' ).addClass( 'go-right' ); + } + + drawMeAChart( $( '.imagify-level-' + image + ' .imagify-chart canvas' ) ); + } ); + } ); + + + /** + * Imagify comparison inside Media post edition. + */ + if ( imagifyTTT.imageWidth && $( '.post-php .wp_attachment_image .thumbnail' ).length > 0 ) { + + var $oriParent = $( '.post-php .wp_attachment_image' ), + oriSource = { src: $( '#imagify-full-original' ).val(), size: $( '#imagify-full-original-size' ).val() }, + $optimizeBtn = $( '#misc-publishing-actions' ).find( '.misc-pub-imagify .button-primary' ), + filesize, saving; + + imagifyTTT.widthLimit = parseInt( imagifyTTT.widthLimit, 10 ); + + // If shown image > 360, use twentytwenty. + if ( imagifyTTT.imageWidth > imagifyTTT.widthLimit && oriSource.src ) { + + filesize = $( '#imagify-full-optimized-size' ).val(); + saving = $( '.imagify-data-item .imagify-chart-value' ).text(); + + // Create button to trigger. + $( '[id^="imgedit-open-btn-"]' ).before( '' ); + + // Modal and trigger event creation. + imagifyTwentyModal( { + width: parseInt( imagifyTTT.imageWidth, 10 ), + height: parseInt( imagifyTTT.imageHeight, 10 ), + originalUrl: oriSource.src, + optimizedUrl: imagifyTTT.imageSrc, + originalSize: oriSource.size, + optimizedSize: filesize, + saving: saving, + modalAppendTo: $oriParent, + trigger: $( '#imagify-start-comparison' ), + modalId: 'imagify-visual-comparison' + } ); + } + // Else put images next to next. + else if ( imagifyTTT.imageWidth < imagifyTTT.widthLimit && oriSource.src ) { + // TODO + } + // If image has no backup. + else if ( $( '#imagify-full-original' ).length > 0 && '' === oriSource.src ) { + // do nothing ? + } + // In case image is not optimized. + else { + // If is not in optimizing process, propose the Optimize button trigger. + if ( $( '#misc-publishing-actions' ).find( '.misc-pub-imagify .button-primary' ).length === 1 ) { + $( '[id^="imgedit-open-btn-"]' ).before( '' + imagifyTTT.labels.optimize + '' ); + + $( '#imagify-optimize-trigger' ).on( 'click', function() { + $( this ).prev( '.spinner' ).removeClass( 'imagify-hidden' ).addClass( 'is-active' ); + } ); + } + } + + } + + /** + * Images comparison in attachments list page (upload.php). + */ + if ( $( '.upload-php .imagify-compare-images' ).length > 0 ) { + + $( '.imagify-compare-images' ).each( function() { + var $this = $( this ), + id = $this.data( 'id' ), + $datas = $this.closest( '#post-' + id ).find( '.column-imagify_optimized_file' ); + + // Modal and trigger event creation. + imagifyTwentyModal( { + width: parseInt( $this.data( 'full-width' ), 10 ), + height: parseInt( $this.data( 'full-height' ), 10 ), + originalUrl: $this.data( 'backup-src' ), + optimizedUrl: $this.data( 'full-src' ), + originalSize: $datas.find( '.original' ).text(), + optimizedSize: $datas.find( '#imagify_data_sum .big' ).text(), + saving: $datas.find( '.imagify-chart-value' ).text(), + modalAppendTo: $this.closest( '.column-primary' ), + trigger: $this, + modalId: 'imagify-comparison-' + id + } ); + } ); + } + + /** + * Images Comparison in Grid View modal. + */ + if ( $( '.upload-php' ).length > 0 ) { + + var getVar = function( param ) { + var vars = {}; + + w.location.href.replace( + /[?&]+([^=&]+)=?([^&]*)?/gi, + function( m, key, value ) { + vars[ key ] = undefined !== value ? value : ''; + } + ); + + if ( param ) { + return vars[ param ] ? vars[ param ] : null; + } + return vars; + }, + imagifyContentInModal = function() { + var tempTimer = setInterval( function() { + var $datas, originalSrc, $actions; + + if ( ! $( '.media-modal .imagify-datas-details' ).length ) { + return; + } + + originalSrc = $( '#imagify-original-src' ).val(); + + if ( originalSrc ) { + // Trigger creation. + $actions = $( '.media-frame-content .attachment-actions' ); + + $actions.find( '#imagify-media-frame-comparison-btn' ).remove(); + $actions.prepend( '' ); + + // Get datas. + $datas = $( '.media-frame-content .compat-field-imagify' ); + + // Modal and trigger event creation. + imagifyTwentyModal( { + width: parseInt( $( '#imagify-full-width' ).val(), 10 ), + height: parseInt( $( '#imagify-full-height' ).val(), 10 ), + originalUrl: originalSrc, + optimizedUrl: $( '#imagify-full-src' ).val(), + originalSize: $( '#imagify-original-size' ).val(), + optimizedSize: $datas.find( '#imagify_data_sum .big' ).text(), + saving: $datas.find( '.imagify-chart-value' ).text(), + modalAppendTo: $( '.media-frame-content .thumbnail-image' ), + trigger: $( '#imagify-media-frame-comparison-btn' ), + modalId: 'imagify-comparison-modal', + openModal: true + } ); + } + + clearInterval( tempTimer ); + tempTimer = null; + }, 20 ); + }; + + // If attachment is clicked, or the "Previous" and "Next" buttons, build the modal inside the modal. + $( '.upload-php' ).on( 'click', '.media-frame.mode-grid .attachment, .edit-media-header .left, .edit-media-header .right', function() { + imagifyContentInModal(); + } ); + + // If attachment is mentionned in URL, build the modal inside the modal. + if ( getVar( 'item' ) ) { + imagifyContentInModal(); + } + } + + /** + * Images comparison in custom folders list page. + */ + if ( $( '#imagify-files-list-form' ).length > 0 ) { + + var buildComparisonModal = function( $buttons ) { + $buttons.each( function() { + var $this = $( this ), + id = $this.data( 'id' ), + $datas = $this.closest( 'tr' ).find( '.column-optimization .imagify-data-item' ); + + $( '#imagify-comparison-' + id ).remove(); + + // Modal and trigger event creation. + imagifyTwentyModal( { + width: parseInt( $this.data( 'full-width' ), 10 ), + height: parseInt( $this.data( 'full-height' ), 10 ), + originalUrl: $this.data( 'backup-src' ), + optimizedUrl: $this.data( 'full-src' ), + originalSize: $datas.find( '.original' ).text(), + optimizedSize: $datas.find( '.optimized' ).text(), + saving: $datas.find( '.imagify-chart-value' ).text(), + modalAppendTo: $this.closest( '.column-primary' ), + trigger: $this, + modalId: 'imagify-comparison-' + id + } ); + } ); + }; + + /** + * Update the comparison tool window when a file row is updated via ajax, and the ones already printed. + */ + $( w ).on( 'comparisonprinted.imagify', function( e, id ) { + var $buttons; + + id = id || 0; + + if ( id ) { + $buttons = $( '#imagify-files-list-form' ).find( '.imagify-compare-images[data-id="' + id + '"]' ); + } else { + $buttons = $( '#imagify-files-list-form' ).find( '.imagify-compare-images' ); + } + + if ( $buttons.length ) { + buildComparisonModal( $buttons ); + } + } ) + .trigger( 'comparisonprinted.imagify' ); + } + +} )(jQuery, document, window); diff --git a/wp/wp-content/plugins/imagify/assets/js/jquery.twentytwenty.min.js b/wp/wp-content/plugins/imagify/assets/js/jquery.twentytwenty.min.js new file mode 100644 index 00000000..e8982a11 --- /dev/null +++ b/wp/wp-content/plugins/imagify/assets/js/jquery.twentytwenty.min.js @@ -0,0 +1 @@ +!function(u,w){u.fn.twentytwenty=function(p,h){return p=u.extend({handlePosition:.5,orientation:"horizontal",labelBefore:"Before",labelAfter:"After"},p),this.each(function(){function i(t){t=f(t),"vertical"===l?a.css("top",t.ch):a.css("left",t.cw),y(t)}var a,e=p.handlePosition,n=u(this),l=p.orientation,t="vertical"===l?"down":"left",o="vertical"===l?"up":"right",s=n.find("img:first"),r=n.find("img:last"),d=0,m=0,g=0,c=0,f=function(t){var i=parseInt(s.width(),10),a=parseInt(s.height(),10);return i&&a||(i=parseInt(s.attr("width"),10),a=parseInt(s.attr("height"),10)),{w:i+"px",h:a+"px",cw:t*i+"px",ch:t*a+"px"}},y=function(t){var i=n.find(".twentytwenty-before");"vertical"===l?i.css("clip","rect(0,"+t.w+","+t.ch+",0)"):i.css("clip","rect(0,"+t.cw+","+t.h+",0)"),n.css("height",t.h),"function"==typeof h&&h()};n.parent(".twentytwenty-wrapper").length&&n.unwrap(),n.wrap('
'),n.children(".twentytwenty-overlay, .twentytwenty-handle").remove(),n.append('
'),n.append('
'),(a=n.find(".twentytwenty-handle")).append(''),a.append(''),n.addClass("twentytwenty-container"),s.addClass("twentytwenty-before"),r.addClass("twentytwenty-after"),(t=n.find(".twentytwenty-overlay")).append('
'+p.labelBefore+"
"),t.append('
'+p.labelAfter+"
"),u(w).on("resize.twentytwenty",function(){i(e)}),a.on("movestart",function(t){("vertical"!==l&&(t.distX>t.distY&&t.distX<-t.distY||t.distX-t.distY)||"vertical"===l&&(t.distXt.distY&&t.distX>-t.distY))&&t.preventDefault(),n.addClass("active"),d=n.offset().left,m=n.offset().top,g=s.width(),c=s.height()}),a.on("moveend",function(){n.removeClass("active")}),a.on("move",function(t){n.hasClass("active")&&((e="vertical"===l?(t.pageY-m)/c:(t.pageX-d)/g)<0?e=0:1

'; ?> +

+ ', + '' + ); + ?> +

+ +
+
+display( + [ + 'input_suffix' => '', + 'values' => [ + 'origin' => $yoast_seo_origin_from_url, + 'target' => '', + 'type' => '', + ], + ] +); +?> + + +
+
+ +

 

+ + display( + [ + 'form_presenter' => $yoast_seo_form_presenter, + 'total_columns' => $yoast_seo_redirect_table->count_columns(), + ] + ); + ?> + +
+ + prepare_items(); + $yoast_seo_redirect_table->search_box( __( 'Search', 'wordpress-seo-premium' ), 'wpseo-redirect-search' ); + $yoast_seo_redirect_table->display(); + ?> +
+ diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/redirect/views/redirects-tab-settings.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/redirect/views/redirects-tab-settings.php new file mode 100644 index 00000000..4e382c0b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/redirect/views/redirects-tab-settings.php @@ -0,0 +1,125 @@ + +
+

+ +
Include +

+
+ +
+

+ .htaccess' + ); + ?> +

+
+ + +
+

+ +
include +

+
+ +
+

+ +

+
+ + +
+' . esc_html__( 'Redirects settings', 'wordpress-seo-premium' ) . ''; ?> + +' + . esc_html__( 'Read more about why web server redirect methods have been disabled on a multisite.', 'wordpress-seo-premium' ) + . ''; + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in Alert_Presenter. + echo new Alert_Presenter( $yoast_seo_disable_htaccess_message, 'info' ); +} +?> + +
+ set_option( 'wpseo_redirect' ); + + $yoast_seo_toggle_values = [ + 'off' => 'PHP', + 'on' => ( WPSEO_Utils::is_apache() ) ? '.htaccess' : __( 'Web server', 'wordpress-seo-premium' ), + ]; + $yoast_seo_form->toggle_switch( 'disable_php_redirect', $yoast_seo_toggle_values, __( 'Redirect method', 'wordpress-seo-premium' ), '', [ 'disabled' => $yoast_seo_disable_toggles ] ); + + $yoast_seo_opening_p = ( $yoast_seo_disable_toggles ) ? '

' : '

'; + + if ( WPSEO_Utils::is_apache() ) { + /* translators: 1: '.htaccess' file name */ + echo $yoast_seo_opening_p . sprintf( esc_html__( 'Write redirects to the %1$s file. Make sure the %1$s file is writable.', 'wordpress-seo-premium' ), '.htaccess' ) . '

'; + + $yoast_seo_form->light_switch( 'separate_file', __( 'Generate a separate redirect file', 'wordpress-seo-premium' ), [], true, '', false, [ 'disabled' => $yoast_seo_disable_toggles ] ); + + /* translators: %s: '.htaccess' file name */ + echo $yoast_seo_opening_p . sprintf( esc_html__( 'By default we write the redirects to your %s file, check this if you want the redirects written to a separate file. Only check this option if you know what you are doing!', 'wordpress-seo-premium' ), '.htaccess' ) . '

'; + } + else { + /* translators: %s: 'Yoast SEO Premium' */ + echo $yoast_seo_opening_p . sprintf( esc_html__( '%s can generate redirect files that can be included in your website web server configuration. If you choose this option the PHP redirects will be disabled. Only check this option if you know what you are doing!', 'wordpress-seo-premium' ), 'Yoast SEO Premium' ) . '

'; + } + ?> +

+ +

+
+
diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/redirect/views/redirects.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/redirect/views/redirects.php new file mode 100644 index 00000000..3696e7e0 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/redirect/views/redirects.php @@ -0,0 +1,36 @@ +admin_header( false, 'wpseo_redirects', false, 'yoast_wpseo_redirects_options' ); +?> + + + display( + [ + 'nonce' => wp_create_nonce( 'wpseo-redirects-ajax-security' ), + ] + ); + } + ?> + +
+admin_footer( false ); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/social-previews.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/social-previews.php new file mode 100644 index 00000000..69f1fbd2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/social-previews.php @@ -0,0 +1,34 @@ +term_redirect_can_be_made( $pagenow ) ) { + return; + } + + add_action( 'admin_enqueue_scripts', [ $this, 'page_scripts' ] ); + + // Get all taxonomies. + $taxonomies = get_taxonomies(); + + // Loop through all taxonomies. + if ( count( $taxonomies ) > 0 ) { + foreach ( $taxonomies as $taxonomy ) { + // Add old URL field to term edit screen. + add_action( $taxonomy . '_edit_form_fields', [ $this, 'old_url_field' ], 10, 2 ); + } + } + + add_action( 'wp_ajax_inline-save-tax', [ $this, 'set_old_url_quick_edit' ], 1 ); + + // Detect the term slug change. + add_action( 'edited_term', [ $this, 'detect_slug_change' ], 10, 3 ); + + // Detect a term delete. + add_action( 'delete_term_taxonomy', [ $this, 'detect_term_delete' ] ); + } + + /** + * Registers the page scripts. + * + * @param string $current_page The page that is opened at the moment. + * + * @return void + */ + public function page_scripts( $current_page ) { + if ( ! $this->term_redirect_can_be_made( $current_page ) ) { + return; + } + + parent::page_scripts( $current_page ); + + if ( $current_page === 'edit-tags.php' ) { + wp_enqueue_script( 'wp-seo-premium-quickedit-notification' ); + } + if ( $current_page === 'term.php' ) { + wp_enqueue_script( 'wp-seo-premium-redirect-notifications' ); + } + } + + /** + * Add an extra field to term edit screen. + * + * @param string $tag The current tag name. + * @param string $taxonomy The name of the current taxonomy. + * + * @return void + */ + public function old_url_field( $tag, $taxonomy ) { + $url = $this->get_target_url( $tag, $taxonomy ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Correctly escaped in parse_url_field() method. + echo $this->parse_url_field( $url, 'term' ); + } + + /** + * Set old URL when the quick edit is used for taxonomies. + * + * @return void + */ + public function set_old_url_quick_edit() { + check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' ); + + $permalink = $this->get_taxonomy_permalink(); + + if ( ! is_wp_error( $permalink ) ) { + $this->old_url = str_replace( home_url(), '', $permalink ); + } + } + + /** + * Detect if the slug changed, hooked into 'post_updated'. + * + * @param int $term_id The term id. + * @param int $tt_id The term taxonomy id. + * @param stdClass $taxonomy Object with the values of the taxonomy. + * + * @return bool + */ + public function detect_slug_change( $term_id, $tt_id, $taxonomy ) { + /** + * Filter: 'Yoast\WP\SEO\term_redirect_slug_change' - Check if a redirect should be created + * on term slug change. + * + * Note: This is a Premium plugin-only hook. + * + * @since 12.9.0 + * + * @param bool $create_redirect Whether a redirect should be created. + */ + if ( apply_filters( 'Yoast\WP\SEO\term_redirect_slug_change', false ) === true ) { + return true; + } + + /** + * Certain plugins use multisite context switching when saving terms. This can lead to incorrect redirects being + * created. + * + * See https://github.com/Yoast/bugreports/issues/437. + */ + if ( is_multisite() && ms_is_switched() ) { + return false; + } + + $old_url = $this->get_old_url(); + + if ( ! $old_url ) { + return false; + } + + // Get the new URL. + $new_url = $this->get_target_url( $term_id, $taxonomy ); + + // Maybe we can undo the created redirect. + $created_redirect = $this->notify_undo_slug_redirect( $old_url, $new_url, $term_id, 'term' ); + + if ( $created_redirect ) { + $redirect_info = [ + 'origin' => $created_redirect->get_origin(), + 'target' => $created_redirect->get_target(), + 'type' => $created_redirect->get_type(), + 'format' => $created_redirect->get_format(), + ]; + update_term_meta( $term_id, '_yoast_term_redirect_info', $redirect_info ); + } + } + + /** + * Offer to create a redirect from the term that is about to get deleted. + * + * @param int $term_taxonomy_id The term taxonomy id that will be deleted. + * + * @return void + */ + public function detect_term_delete( $term_taxonomy_id ) { + $term = get_term_by( 'term_taxonomy_id', (int) $term_taxonomy_id ); + + if ( ! $term || is_wp_error( $term ) ) { + return; + } + + $url = $this->get_target_url( $term, $term->taxonomy ); + if ( $this->is_redirect_needed( $term, $url ) ) { + $this->set_delete_notification( $url ); + } + } + + /** + * Checks if a redirect is needed for the term with the given ID. + * + * @param WP_Term $term The term to check. + * @param string $url The target url. + * + * @return bool If a redirect is needed. + */ + protected function is_redirect_needed( $term, $url ) { + $redirect_manager = new WPSEO_Redirect_Manager( 'plain' ); + $redirect = $redirect_manager->get_redirect( $url ); + return ! $redirect || ( ! is_nav_menu( $term->term_id ) && is_taxonomy_viewable( $term->taxonomy ) ); + } + + /** + * Parses the hidden field with the old URL to show in the form. + * + * @param string $url The old URL. + * @param string $type The type of the URL. + * + * @return string The parsed hidden input field. + */ + protected function parse_url_field( $url, $type ) { + + // Output the hidden field. + return ''; + } + + /** + * Gets the URL to the term and returns its path. + * + * @param string $tag The current tag name. + * @param string $taxonomy The name of the current taxonomy. + * + * @return string + */ + protected function get_target_url( $tag, $taxonomy ) { + // Get the term link. + $term_link = get_term_link( $tag, $taxonomy ); + + // Return early if the term link is not a string, i.e. a WP_Error Object. + if ( ! is_string( $term_link ) ) { + return ''; + } + + // Use the correct URL path. + $url = wp_parse_url( $term_link ); + if ( is_array( $url ) && isset( $url['path'] ) ) { + return $url['path']; + } + + return ''; + } + + /** + * Get permalink for taxonomy. + * + * @return string|WP_Error + */ + protected function get_taxonomy_permalink() { + // phpcs:disable WordPress.Security.NonceVerification.Missing -- Reason: We verify the nonce before coming here. + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We do sanitize by casting to int. + $term_id = isset( $_POST['tax_ID'] ) ? (int) wp_unslash( $_POST['tax_ID'] ) : 0; + $taxonomy = isset( $_POST['taxonomy'] ) ? sanitize_text_field( wp_unslash( $_POST['taxonomy'] ) ) : null; + // phpcs:enable + + return get_term_link( get_term( $term_id, $taxonomy ), $taxonomy ); + } + + /** + * Get the old URL. + * + * @return bool|string + */ + protected function get_old_url() { + // phpcs:disable WordPress.Security.NonceVerification.Missing -- Reason: This is used while hooked in an action thus we don't control the nonce creation. + // phpcs:disable WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: This data looks like it's being used only with WP functions later on. + $wpseo_old_term_url = isset( $_POST['wpseo_old_term_url'] ) ? wp_unslash( $_POST['wpseo_old_term_url'] ) : null; + // phpcs:enable + + if ( empty( $wpseo_old_term_url ) ) { + if ( ! empty( $this->old_url ) ) { + return $this->old_url; + } + + return false; + } + return $wpseo_old_term_url; + } + + /** + * Returns the undo message for the term. + * + * @return string + */ + protected function get_undo_slug_notification() { + /* translators: %1$s: Yoast SEO Premium, %2$s and %3$s expand to a link to the admin page. */ + return __( + '%1$s created a %2$sredirect%3$s from the old term URL to the new term URL.', + 'wordpress-seo-premium' + ); + } + + /** + * Returns the delete message for the term. + * + * @return string + */ + protected function get_delete_notification() { + /* translators: %1$s: Yoast SEO Premium, %2$s: List with actions, %3$s: , %4$s: , %5%s: The removed url. */ + return __( + '%1$s detected that you deleted a term (%5$s). You can either: %2$s Don\'t know what to do? %3$sRead this post %4$s.', + 'wordpress-seo-premium' + ); + } + + /** + * Is the current page valid to make a redirect from. + * + * @param string $current_page The currently opened page. + * + * @return bool True when a redirect can be made on this page. + */ + protected function term_redirect_can_be_made( $current_page ) { + return $this->is_term_page( $current_page ) || $this->is_action_inline_save_tax() || $this->is_action_delete_tag(); + } + + /** + * Is the current page related to a term (edit/overview). + * + * @param string $current_page The current opened page. + * + * @return bool True when page is a term edit/overview page. + */ + protected function is_term_page( $current_page ) { + return ( in_array( $current_page, [ 'edit-tags.php', 'term.php' ], true ) ); + } + + /** + * Is the page in an AJAX-request and is the action "inline save". + * + * @return bool True when in an AJAX-request and the action is inline-save. + */ + protected function is_action_inline_save_tax() { + if ( ! wp_doing_ajax() ) { + return false; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: We don't control the nonce creation. + $action = isset( $_POST['action'] ) ? sanitize_text_field( wp_unslash( $_POST['action'] ) ) : null; + return $action === 'inline-save-tax'; + } + + /** + * Is the page in an AJAX-request and is the action "delete-tag". + * + * @return bool True when in an AJAX-request and the action is delete-tag. + */ + protected function is_action_delete_tag() { + if ( ! wp_doing_ajax() ) { + return false; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: We don't control the nonce creation. + $action = isset( $_POST['action'] ) ? sanitize_text_field( wp_unslash( $_POST['action'] ) ) : null; + return $action === 'delete-tag'; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/upgrade-manager.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/upgrade-manager.php new file mode 100644 index 00000000..44bd142f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/upgrade-manager.php @@ -0,0 +1,387 @@ +check_update( $saved_version ); + + update_option( self::VERSION_OPTION_KEY, $current_version ); + + add_action( 'shutdown', 'flush_rewrite_rules' ); + } + } + + /** + * Runs the specific updates when it is necessary. + * + * @param string $version_number The version number that will be compared. + * + * @return void + */ + public function check_update( $version_number ) { + // Get current version. + $current_version = get_site_option( WPSEO_Premium::OPTION_CURRENT_VERSION, 1 ); + + // Check if update is required. + if ( WPSEO_Premium::PLUGIN_VERSION_CODE > $current_version ) { + + // Do update. + $this->do_update( $current_version ); + + // Update version code. + $this->update_current_version_code(); + } + + if ( version_compare( $version_number, '2.3', '<' ) ) { + add_action( 'wp', [ 'WPSEO_Redirect_Upgrade', 'import_redirects_2_3' ], 11 ); + add_action( 'admin_head', [ 'WPSEO_Redirect_Upgrade', 'import_redirects_2_3' ], 11 ); + } + + if ( version_compare( $version_number, '3.1', '<' ) ) { + add_action( 'wp', [ 'WPSEO_Redirect_Upgrade', 'upgrade_3_1' ], 12 ); + add_action( 'admin_head', [ 'WPSEO_Redirect_Upgrade', 'upgrade_3_1' ], 12 ); + } + + if ( version_compare( $version_number, '4.7', '<' ) ) { + add_action( 'wp', [ 'WPSEO_Premium_Prominent_Words_Versioning', 'upgrade_4_7' ], 12 ); + add_action( 'admin_head', [ 'WPSEO_Premium_Prominent_Words_Versioning', 'upgrade_4_7' ], 12 ); + } + + if ( version_compare( $version_number, '4.8', '<' ) ) { + add_action( 'wp', [ 'WPSEO_Premium_Prominent_Words_Versioning', 'upgrade_4_8' ], 12 ); + add_action( 'admin_head', [ 'WPSEO_Premium_Prominent_Words_Versioning', 'upgrade_4_8' ], 12 ); + } + + if ( version_compare( $version_number, '9.8-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_9_8' ], 12 ); + } + + if ( version_compare( $version_number, '10.3', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_11' ], 12 ); + } + + if ( version_compare( $version_number, '13.0-RC0', '<' ) ) { + add_action( 'init', [ 'WPSEO_Redirect_Upgrade', 'upgrade_13_0' ], 12 ); + } + + if ( version_compare( $version_number, '15.3-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_15_3' ], 12 ); + } + + if ( version_compare( $version_number, '16.2-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_16_2' ], 12 ); + } + + if ( version_compare( $version_number, '16.3-beta2', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_16_3' ], 12 ); + } + + if ( version_compare( $version_number, '17.2-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_17_2' ], 12 ); + } + + if ( version_compare( $version_number, '17.3-RC4', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_17_3' ], 12 ); + } + + if ( version_compare( $version_number, '17.4-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_17_4' ], 12 ); + } + + if ( version_compare( $version_number, '17.7-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_17_7' ], 12 ); + } + + if ( version_compare( $version_number, '19.3-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_19_3' ], 12 ); + } + + if ( version_compare( $version_number, '21.6-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_21_6' ], 12 ); + } + + if ( version_compare( $version_number, '22.6-RC0', '<' ) ) { + add_action( 'init', [ $this, 'upgrade_22_6' ], 12 ); + } + } + + /** + * Enables the AI feature if it was not enabled before. + * + * @return void + */ + public function upgrade_21_6() { + + if ( ! empty( WPSEO_Options::get( 'activation_redirect_timestamp' ) ) ) { + $is_ai_enabled = WPSEO_Options::get( 'enable_ai_generator' ); + + if ( $is_ai_enabled ) { + WPSEO_Options::set( 'ai_enabled_pre_default', true ); + + return; + } + WPSEO_Options::set( 'enable_ai_generator', true ); + } + } + + /** + * Removes the inclusive language feature notification from the Notification center. + * + * @return void + */ + public function upgrade_19_3() { + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-inclusive-language-notice' ); + } + + /** + * Make sure our options autoload. + * + * @return void + */ + public function upgrade_17_7() { + global $wpdb; + + foreach ( [ WPSEO_Redirect_Option::OPTION_PLAIN, WPSEO_Redirect_Option::OPTION_REGEX ] as $option ) { + // phpcs:ignore WordPress.DB.DirectDatabaseQuery -- Normal methods only work if the option value has changed. + $wpdb->update( $wpdb->options, [ 'autoload' => 'yes' ], [ 'option_name' => $option ] ); + } + + // Make sure we don't autoload the non-exported option. + $wpdb->update( $wpdb->options, [ 'autoload' => 'no' ], [ 'option_name' => WPSEO_Redirect_Option::OPTION ] ); + } + + /** + * Schedules the cleanup integration if it's no already scheduled. + * + * @return void + */ + public function upgrade_17_4() { + $this->retrigger_cleanup(); + } + + /** + * Clears the first step of the orphaned workout. + * + * @return void + */ + public function upgrade_17_3() { + $workouts_option = WPSEO_Options::get( 'workouts' ); + + if ( isset( $workouts_option['orphaned'] ) + && isset( $workouts_option['orphaned']['indexablesByStep'] ) + && is_array( $workouts_option['orphaned']['indexablesByStep'] ) + ) { + $workouts_option['orphaned']['indexablesByStep']['improveRemove'] = []; + WPSEO_Options::set( 'workouts', $workouts_option ); + } + } + + /** + * Schedules the cleanup integration if it's no already scheduled. + * + * @return void + */ + public function upgrade_17_2() { + $this->retrigger_cleanup(); + } + + /** + * Re-triggers the cleanup of old things from the database. + * + * @return void + */ + protected function retrigger_cleanup() { + // If Yoast SEO hasn't been upgraded to 17.2 the cleanup integration has not been implemented in the current way. + if ( ! defined( '\Yoast\WP\SEO\Integrations\Cleanup_Integration::START_HOOK' ) ) { + return; + } + // If Yoast SEO premium was upgraded after Yoast SEO, reschedule the task to clean out orphaned prominent words. + if ( ! wp_next_scheduled( Cleanup_Integration::START_HOOK ) ) { + wp_schedule_single_event( ( time() + ( MINUTE_IN_SECONDS * 5 ) ), Cleanup_Integration::START_HOOK ); + } + } + + /** + * Runs the language pack upgrader to migrate to TranslationsPress. + * + * @return void + */ + public function upgrade_16_3() { + 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 ); + } + + /** + * Makes sure the Premium capabilities exist. + * + * @return void + */ + public function upgrade_16_2() { + do_action( 'wpseo_register_capabilities_premium' ); + WPSEO_Capability_Manager_Factory::get( 'premium' )->add(); + } + + /** + * Renames the `prominent_words_indexation_completed` option. + * + * @return void + */ + public function upgrade_15_3() { + $old_value = WPSEO_Options::get( 'prominent_words_indexation_completed' ); + WPSEO_Options::set( 'prominent_words_indexing_completed', $old_value ); + } + + /** + * Removes the orphaned content notification. + * + * @return void + */ + public function upgrade_11() { + $orphaned_content_support = new WPSEO_Premium_Orphaned_Content_Support(); + $notification_manager = Yoast_Notification_Center::get(); + + foreach ( $orphaned_content_support->get_supported_post_types() as $post_type ) { + // We need to remove the dismissal first, to clean up better but also as otherwise the remove won't work. + delete_metadata( 'user', false, 'wpseo-premium-orphaned-content-' . $post_type, '', true ); + $notification_manager->remove_notification_by_id( 'wpseo-premium-orphaned-content-' . $post_type, true ); + } + + // Remove the cronjob if present. + wp_clear_scheduled_hook( 'wpseo-premium-orphaned-content' ); + } + + /** + * Removes the stale cornerstone content beta notification. + * + * @return void + */ + public function upgrade_9_8() { + $notification_manager = Yoast_Notification_Center::get(); + $notification_manager->remove_notification_by_id( 'wpseo-stale-content-notification' ); + + // Delete the user meta data that tracks whether the user has seen the notification. + delete_metadata( 'user', false, 'wp_wpseo-stale-content-notification', '', true ); + } + + /** + * Returns whether or not we should retry the 31 upgrade. + * + * @return bool + */ + public function should_retry_upgrade_31() { + $retry = false; + + $new_redirects = get_option( WPSEO_Redirect_Option::OPTION, null ); + if ( $new_redirects === null ) { + $old_plain_redirects = get_option( WPSEO_Redirect_Option::OLD_OPTION_PLAIN, [] ); + $old_regex_redirects = get_option( WPSEO_Redirect_Option::OLD_OPTION_REGEX, [] ); + + if ( ! empty( $old_plain_redirects ) || ! empty( $old_regex_redirects ) ) { + $retry = true; + } + } + + return $retry; + } + + /** + * Validates if the 31 upgrade routine has correctly run and if not retries to run it + * + * @param bool $immediately Whether to do the upgrade immediately when this function is called. + * + * @return void + */ + public function retry_upgrade_31( $immediately = false ) { + /* + * If we detect that the new redirect option doesn't exist but there are redirects in the old option we try the + * upgrade routine again. This brings the redirects back for people if the upgrade routine failed the first + * time. + */ + if ( $this->should_retry_upgrade_31() ) { + if ( $immediately ) { + WPSEO_Redirect_Upgrade::upgrade_3_1(); + + return; + } + add_action( 'wp', [ 'WPSEO_Redirect_Upgrade', 'upgrade_3_1' ], 12 ); + add_action( 'admin_head', [ 'WPSEO_Redirect_Upgrade', 'upgrade_3_1' ], 12 ); + } + } + + /** + * An update is required, do it + * + * @param string $current_version The current version number of the installation. + * + * @return void + */ + private function do_update( $current_version ) { + // Upgrade to version 1.2.0. + if ( $current_version < 15 ) { + /** + * Upgrade redirects + */ + add_action( 'wp', [ 'WPSEO_Redirect_Upgrade', 'upgrade_1_2_0' ], 10 ); + add_action( 'admin_head', [ 'WPSEO_Redirect_Upgrade', 'upgrade_1_2_0' ], 10 ); + } + } + + /** + * Update the current version code + * + * @return void + */ + private function update_current_version_code() { + update_site_option( WPSEO_Premium::OPTION_CURRENT_VERSION, WPSEO_Premium::PLUGIN_VERSION_CODE ); + } + + /** + * Performs the 22.6 upgrade routine. + * Schedules another cleanup scheduled action, but starting from the last cleanup action we just added (if there aren't any running cleanups already). + * + * @return void + */ + public function upgrade_22_6() { + // If Yoast SEO hasn't been upgraded to 17.2 the cleanup integration has not been implemented in the current way. + if ( ! class_exists( Cleanup_Integration::class ) ) { + return; + } + + if ( get_option( Cleanup_Integration::CURRENT_TASK_OPTION ) === false ) { + $cleanup_integration = YoastSEO()->classes->get( Cleanup_Integration::class ); + $cleanup_integration->start_cron_job( 'clean_selected_empty_usermeta' ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/validation-error.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/validation-error.php new file mode 100644 index 00000000..70a2ddca --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/validation-error.php @@ -0,0 +1,21 @@ +message = $message; + $this->set_fields( $fields ); + } + + /** + * Gets the validation result message. + * + * @return string + */ + public function get_message() { + return $this->message; + } + + /** + * Returns an Array representation of the validation result. + * + * @return array + */ + public function to_array() { + return [ + 'type' => $this->get_type(), + 'message' => $this->message, + 'fields' => $this->fields, + ]; + } + + /** + * Setting the fields with errors. + * + * @param string $fields The fields with errors on it. + * + * @return void + */ + protected function set_fields( $fields = '' ) { + if ( ! is_array( $fields ) && is_string( $fields ) ) { + $fields = [ $fields ]; + } + + $this->fields = $fields; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/validation-warning.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/validation-warning.php new file mode 100644 index 00000000..3f5ba361 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/validation-warning.php @@ -0,0 +1,21 @@ +%s', esc_html( $yoast_seo_button_label ) ) +); + +?> +
+

+

+

+ +
+ __( 'Export keyphrase scores', 'wordpress-seo-premium' ), + 'export-url' => __( 'Export URL', 'wordpress-seo-premium' ), + 'export-title' => __( 'Export title', 'wordpress-seo-premium' ), + 'export-seo-title' => __( 'Export SEO title', 'wordpress-seo-premium' ), + 'export-meta-description' => __( 'Export meta description', 'wordpress-seo-premium' ), + 'export-readability-score' => __( 'Export readability score', 'wordpress-seo-premium' ), + ]; + + foreach ( $yoast_seo_export_fields as $yoast_seo_export_field_name => $yoast_seo_export_field_label ) { + echo ''; + $yform->label( esc_html( $yoast_seo_export_field_label ), [ 'for' => $yoast_seo_export_field_name ] ); + echo '
'; + } + + ?> +
+ +
+ +

+
    +
  • +
  • +
+
diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/views/export-redirects.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/views/export-redirects.php new file mode 100644 index 00000000..331b020f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/views/export-redirects.php @@ -0,0 +1,17 @@ + +
+

+

+

+
+ + +
+
diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/views/import-redirects.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/views/import-redirects.php new file mode 100644 index 00000000..1c4c1c6d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/views/import-redirects.php @@ -0,0 +1,82 @@ +.htaccess' +); + +$yoast_seo_i18n_import_redirects_explain = sprintf( + /* translators: %1$s: '.htaccess' file name, %2$s: plugin name */ + __( 'You can copy the contents of any %1$s file in here, and it will import the redirects into %2$s.', 'wordpress-seo-premium' ), + '.htaccess', + 'Yoast SEO Premium' +); + +// The plugins we have import functions for. +$yoast_seo_plugins = [ + 'redirection' => __( 'Redirection', 'wordpress-seo-premium' ) . '
', + 'safe_redirect_manager' => __( 'Safe Redirect Manager', 'wordpress-seo-premium' ) . '
', + 'simple-301-redirects' => __( 'Simple 301 Redirects', 'wordpress-seo-premium' ) . '
', +]; + +?> +
+
+ msg ) ) : ?> +
+

msg; ?>

+
+ +

+
+ + radio( 'import_plugin', $yoast_seo_plugins, __( 'Import from:', 'wordpress-seo-premium' ) ); + ?> +
+ +
+
+ +
+ +
+

+
+ +

+
+ +

+ +
+
+ +
+ +
+

[] ] ); ?>

+

+ [] ] ); ?> +

+
+ + +
+ +
+
+
diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/views/thank-you.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/views/thank-you.php new file mode 100644 index 00000000..31e62342 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/views/thank-you.php @@ -0,0 +1,107 @@ + + +

+

+ +

+
+
+

+ +

+ Cornerstone +

+ , %2$s: */ + esc_html__( + '%1$sCornerstone content%2$s is the content on your site that’s most important. You want to rank highest in Google with these articles. Make sure your internal linking structure reflects what pages are most important. Want to know how?', + 'wordpress-seo-premium' + ), + '', + '' + ); + ?> +

+ + + +
+
+

+ +

+ Analysis +

+ , %2$s: */ + esc_html__( + 'Different people search with different search terms. With our %1$spremium analysis%2$s, you are free to use variations and synonyms of your keywords in your content, which will make your writing style far more natural.', + 'wordpress-seo-premium' + ), + '', + '' + ); + ?> +

+ + + +
+
+

+ +

+ redirect-manager +

+ , %3$s: */ + esc_html__( + 'The %1$s %2$sRedirect Manager%3$s automatically prevents visitors from reaching a dead end whenever you move or delete content. It also makes managing your existing redirects easy.', + 'wordpress-seo-premium' + ), + 'Yoast SEO', + '', + '' + ); + ?> +

+ + + +
+
+

+ +

+ Academy +

+ , %3$s: Yoast SEO, %4$s: */ + esc_html__( + '%1$s grants you direct access to %2$sall premium %3$s academy courses%4$s. Learn all the ins and outs of holistic SEO from industry experts.', + 'wordpress-seo-premium' + ), + 'Yoast SEO Premium', + '', + 'Yoast SEO', + '' + ); + ?> + +

+ + + +
+
diff --git a/wp/wp-content/plugins/wordpress-seo-premium/classes/watcher.php b/wp/wp-content/plugins/wordpress-seo-premium/classes/watcher.php new file mode 100644 index 00000000..979aaf65 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/classes/watcher.php @@ -0,0 +1,314 @@ +watch_type . '_' . $notification_type, + $show_notification + ); + + if ( $show_notification ) { + // Add the message to the notifications center. + $arguments = [ 'type' => 'updated' ]; + if ( ! empty( $id ) ) { + $arguments['id'] = $id; + } + + Yoast_Notification_Center::get()->add_notification( new Yoast_Notification( $message, $arguments ) ); + } + } + + /** + * Display the delete notification. + * + * @param string $url The redirect that will be deleted. + * + * @return void + */ + protected function set_delete_notification( $url ) { + $id = 'wpseo_delete_redirect_' . md5( $url ); + + // Format the message. + $message = sprintf( + $this->get_delete_notification(), + 'Yoast SEO Premium', + $this->get_delete_action_list( $url, $id ), + '', + '', + '' . esc_url( trim( $url ) ) . '' + ); + + $this->create_notification( $message, 'delete' ); + } + + /** + * Returns the string to the javascript method from where the added redirect can be undone + * + * @param int $object_id The post or term ID. + * @param string $object_type The object type: post or term. + * + * @return string + */ + protected function javascript_undo_redirect( $object_id, $object_type ) { + return sprintf( + 'wpseoUndoRedirectByObjectId( "%1$s", "%2$s", this );return false;', + esc_js( $object_id ), + esc_js( $object_type ) + ); + } + + /** + * Opens the redirect manager and create the redirect + * + * @param string $old_url The URL that will be redirected. + * @param string $new_url The URL where the old_url redirects to. + * @param int $header_code The redirect type. + * + * @return WPSEO_Redirect + */ + protected function create_redirect( $old_url, $new_url, $header_code = 301 ) { + // The URL redirect manager. + $redirect = new WPSEO_Redirect( $old_url, $new_url, $header_code ); + + // Create the redirect. + $this->get_redirect_manager()->create_redirect( $redirect ); + + return $redirect; + } + + /** + * Returns the string to the javascript method from where a new redirect can be added + * + * @param string $url The URL that can be redirected. + * @param string $id ID of the notice that is displayed. + * @param int $type The redirect type. Default is 301. + * + * @return string + */ + protected function javascript_create_redirect( $url, $id, $type = WPSEO_Redirect_Types::PERMANENT ) { + return sprintf( + 'wpseoCreateRedirect( "%1$s", "%2$s", "%3$s", this );', + esc_js( $url ), + $type, + wp_create_nonce( 'wpseo-redirects-ajax-security' ) + ); + } + + /** + * Return the URL to the admin page where the just added redirect can be found + * + * @param string $old_url String that filters the wpseo_redirect table to the just added redirect. + * + * @return string + */ + protected function admin_redirect_url( $old_url ) { + return admin_url( 'admin.php?page=wpseo_redirects&s=' . urlencode( $old_url ) ); + } + + /** + * There might be the possibility to undo the redirect, if it is so, we have to notify the user. + * + * @param string $old_url The origin URL. + * @param string $new_url The target URL. + * @param int $object_id The post or term ID. + * @param string $object_type The object type: post or term. + * + * @return WPSEO_Redirect|null The created redirect. + */ + protected function notify_undo_slug_redirect( $old_url, $new_url, $object_id, $object_type ) { + // Check if we should create a redirect. + if ( $this->should_create_redirect( $old_url, $new_url ) ) { + $redirect = $this->create_redirect( $old_url, $new_url ); + + $this->set_undo_slug_notification( $redirect, $object_id, $object_type ); + + return $redirect; + } + } + + /** + * Display the undo notification + * + * @param WPSEO_Redirect $redirect The old URL to the post. + * @param int $object_id The post or term ID. + * @param string $object_type The object type: post or term. + * + * @return void + */ + protected function set_undo_slug_notification( WPSEO_Redirect $redirect, $object_id, $object_type ) { + $old_url = $this->format_redirect_url( $redirect->get_origin() ); + $new_url = $this->format_redirect_url( $redirect->get_target() ); + + // Format the message. + $message = sprintf( + $this->get_undo_slug_notification(), + 'Yoast SEO Premium', + '', + '' + ); + + $message .= '
'; + $message .= esc_html__( 'Old URL:', 'wordpress-seo-premium' ) . ' ' . $this->create_hyperlink_from_url( $old_url ); + $message .= '
'; + $message .= esc_html__( 'New URL:', 'wordpress-seo-premium' ) . ' ' . $this->create_hyperlink_from_url( $new_url ); + $message .= '

'; + + $message .= sprintf( + '', + esc_html__( 'Ok', 'wordpress-seo-premium' ) + ); + + $message .= sprintf( + '%2$s', + $this->javascript_undo_redirect( $object_id, $object_type ), + esc_html__( 'Undo', 'wordpress-seo-premium' ) + ); + + // Only set notification when the slug change was not saved through quick edit. + $this->create_notification( $message, 'slug_change' ); + } + + /** + * Returns a list with the actions that the user can do on deleting a post/term + * + * @param string $url The URL that will be redirected. + * @param string $id The ID of the element. + * + * @return string + */ + protected function get_delete_action_list( $url, $id ) { + return sprintf( + '
    %1$s %2$s
', + '
  • ', + '
  • ' + ); + } + + /** + * Returns the passed url in hyperlink form. Both the target and the text of the hyperlink is the passed url. + * + * @param string $url The url in string form to convert to a hyperlink. + * + * @return string + */ + protected function create_hyperlink_from_url( $url ) { + return '' . esc_html( $url ) . ''; + } + + /** + * Formats the redirect url. + * + * @param string $url The url to format. + * + * @return string + */ + protected function format_redirect_url( $url ) { + $redirect_url_format = new WPSEO_Redirect_Url_Formatter( $url ); + + return home_url( $redirect_url_format->format_without_subdirectory( get_home_url() ) ); + } + + /** + * Retrieves an instance of the redirect manager. + * + * @return WPSEO_Redirect_Manager The redirect manager. + */ + protected function get_redirect_manager() { + static $redirect_manager; + + if ( $redirect_manager === null ) { + $redirect_manager = new WPSEO_Redirect_Manager(); + } + + return $redirect_manager; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-premium-requirement.php b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-premium-requirement.php new file mode 100644 index 00000000..8a0ab3c1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-premium-requirement.php @@ -0,0 +1,29 @@ +helpers->product->is_premium() ) { + return; + } + + // No premium commands allowed. + WP_CLI::error( + 'This command can only be run with an active Yoast SEO Premium license.' + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-base-command.php b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-base-command.php new file mode 100644 index 00000000..da490e03 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-base-command.php @@ -0,0 +1,152 @@ +redirect_manager = new WPSEO_Redirect_Manager(); + } + + /** + * Creates a new redirect. + * + * @param string $origin Origin of the redirect. + * @param string $target Target of the redirect. + * @param string $type Type of the redirect. + * @param string $format Format of the redirect. + * + * @return bool Whether creation was successful. + */ + protected function create_redirect( $origin, $target, $type, $format ) { + $redirect = new WPSEO_Redirect( $origin, $target, $type, $format ); + + return $this->redirect_manager->create_redirect( $redirect ); + } + + /** + * Updates an existing redirect. + * + * @param string $old_origin Origin of the redirect. + * @param string $new_origin Origin of the redirect. + * @param string $target Target of the redirect. + * @param string $type Type of the redirect. + * @param string $format Format of the redirect. + * + * @return bool Whether updating was successful. + */ + protected function update_redirect( $old_origin, $new_origin, $target, $type, $format ) { + $old_redirect = new WPSEO_Redirect( $old_origin ); + $new_redirect = new WPSEO_Redirect( $new_origin, $target, $type, $format ); + + return $this->redirect_manager->update_redirect( $old_redirect, $new_redirect ); + } + + /** + * Deletes an existing redirect. + * + * @param string $origin Origin of the redirect. + * + * @return bool Whether deletion was successful. + */ + protected function delete_redirect( $origin ) { + $redirect = new WPSEO_Redirect( $origin ); + + return $this->redirect_manager->delete_redirects( [ $redirect ] ); + } + + /** + * Gets the redirect for a given origin. + * + * @param string $origin Origin to check for. + * + * @return WPSEO_Redirect|false Redirect value object, or false if not found. + */ + protected function get_redirect( $origin ) { + return $this->redirect_manager->get_redirect( $origin ); + } + + /** + * Checks whether a redirect for a given origin already exists. + * + * @param string $origin Origin to check for. + * + * @return bool Whether a redirect for the given origin was found. + */ + protected function has_redirect( $origin ) { + return $this->get_redirect( $origin ) !== false; + } + + /** + * Checks whether a given redirect is valid. + * + * @param string $new_origin New origin of the redirect. + * @param string $target Target of the redirect. + * @param int $type Type of the redirect. + * @param string $format Format of the redirect. + * @param string|null $old_origin Optional. Old origin of the redirect to update. + * + * @return void + */ + protected function validate( $new_origin, $target, $type, $format, $old_origin = null ) { + $new_redirect = new WPSEO_Redirect( $new_origin, $target, $type, $format ); + + $old_redirect = null; + + if ( $old_origin !== null ) { + $old_redirect = $this->get_redirect( $old_origin ); + } + + $validator = new WPSEO_Redirect_Validator(); + + if ( $validator->validate( $new_redirect, $old_redirect ) === true ) { + return; + } + + $error = $validator->get_error(); + + $message = sprintf( + 'Failed to validate redirect \'%s\' => \'%s\': %s', + $new_redirect->get_origin(), + $new_redirect->get_target(), + $this->reformat_error( $error->get_message() ) + ); + + if ( $error->get_type() === 'warning' ) { + WP_CLI::warning( $message ); + } + + if ( $error->get_type() === 'error' ) { + WP_CLI::error( $message ); + } + } + + /** + * Reformats error messages by removing excessive whitespace. + * + * @param string $message Error message to reformat. + * + * @return string Reformatted error message. + */ + protected function reformat_error( $message ) { + $message = preg_replace( '/\s+/', ' ', $message ); + return trim( $message ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-command-namespace.php b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-command-namespace.php new file mode 100644 index 00000000..cbe5d455 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-command-namespace.php @@ -0,0 +1,16 @@ + + * : Origin of the redirect. + * + * + * : Target of the redirect. + * + * [--type=] + * : Type of the redirect. + * --- + * default: 301 + * options: + * - 301 + * - 302 + * - 307 + * - 410 + * - 451 + * --- + * + * [--format=] + * : Format of the redirect. + * --- + * default: plain + * options: + * - plain + * - regex + * --- + * + * [--force] + * : Force creation of the redirect, bypassing any validation. + * --- + * default: false + * --- + * + * @param array $args Array of positional arguments. + * @param array $assoc_args Associative array of associative arguments. + * + * @return void + */ + public function __invoke( $args, $assoc_args ) { + list( $origin, $target ) = $args; + + $type = (int) Utils\get_flag_value( $assoc_args, 'type', '301' ); + $format = Utils\get_flag_value( $assoc_args, 'format', 'plain' ); + $force = Utils\get_flag_value( $assoc_args, 'force', false ); + + $exists = $this->has_redirect( $origin ); + + if ( $exists && ! $force ) { + WP_CLI::error( "Redirect already exists for '{$origin}'." ); + } + + if ( ! $force ) { + $this->validate( $origin, $target, $type, $format ); + } + + if ( $exists ) { + $success = $this->update_redirect( $origin, $origin, $target, $type, $format ); + } + + if ( ! $exists ) { + $success = $this->create_redirect( $origin, $target, $type, $format ); + } + + if ( ! $success ) { + WP_CLI::error( "Could not create redirect: '{$origin}' => '{$target}'." ); + } + + WP_CLI::success( "Redirect created: '{$origin}' => '{$target}'." ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-delete-command.php b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-delete-command.php new file mode 100644 index 00000000..561ea9e2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-delete-command.php @@ -0,0 +1,41 @@ + + * : Origin of the redirect. + * + * @param array $args Array of positional arguments. + * @param array $assoc_args Associative array of associative arguments. + * + * @return void + */ + public function __invoke( $args, $assoc_args ) { + list( $origin ) = $args; + + if ( ! $this->has_redirect( $origin ) ) { + WP_CLI::error( "Redirect does not exist for '{$origin}'." ); + } + + $success = $this->delete_redirect( $origin ); + + if ( ! $success ) { + WP_CLI::error( "Could not delete redirect: '{$origin}'." ); + } + + WP_CLI::success( "Redirect delete: '{$origin}'." ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-follow-command.php b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-follow-command.php new file mode 100644 index 00000000..722f0f9b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-follow-command.php @@ -0,0 +1,118 @@ + + * : Origin of the redirect. + * + * [--trace] + * : Show a trace of all intermediary steps. + * + * [--limit=] + * : Limit the number of jumps to follow the redirect chain. '0' means unlimited. + * --- + * default: 0 + * --- + * + * @param array $args Array of positional arguments. + * @param array $assoc_args Associative array of associative arguments. + * + * @return void + */ + public function __invoke( $args, $assoc_args ) { + list( $origin ) = $args; + $trace = (bool) Utils\get_flag_value( $assoc_args, 'trace', false ); + $limit = (int) Utils\get_flag_value( $assoc_args, 'limit', '0' ); + + $redirect = $this->get_redirect( $origin ); + + if ( $redirect === false ) { + WP_CLI::error( "Redirect does not exist for '{$origin}'." ); + } + + $stack = $this->get_stack( $redirect, $limit ); + + if ( ! $trace ) { + $stack = (array) array_pop( $stack ); + } + + array_map( 'WP_CLI::line', $stack ); + + if ( $this->detected_loop ) { + WP_CLI::error( "Detected redirect loop for redirect: '{$origin}'." ); + } + } + + /** + * Gets the stack of redirect targets for a given starting redirect. + * + * @param WPSEO_Redirect $redirect Redirect to get the stack for. + * @param int $limit Number of steps to limit the stack to. + * + * @return array Array of target URL steps. + */ + private function get_stack( WPSEO_Redirect $redirect, $limit ) { + $steps = 0; + + while ( ! $this->detected_loop && $redirect !== false ) { + ++$steps; + if ( $limit > 0 && $steps >= $limit ) { + break; + } + + $target = $redirect->get_target(); + + $this->add_to_stack( $target ); + + $redirect = $this->get_redirect( $target ); + } + + return array_keys( $this->stack ); + } + + /** + * Adds a new target to the stack. + * + * @param string $target Target to add to the stack. + * + * @return void + */ + private function add_to_stack( $target ) { + if ( array_key_exists( $target, $this->stack ) ) { + $this->detected_loop = true; + + return; + } + + $this->stack[ $target ] = true; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-has-command.php b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-has-command.php new file mode 100644 index 00000000..15a1131d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-has-command.php @@ -0,0 +1,31 @@ + + * : Origin of the redirect. + * + * @param array $args Array of positional arguments. + * @param array $assoc_args Associative array of associative arguments. + * + * @return void + */ + public function __invoke( $args, $assoc_args ) { + list( $origin ) = $args; + + exit( $this->has_redirect( $origin ) ? 0 : 1 ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-list-command.php b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-list-command.php new file mode 100644 index 00000000..034bccae --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-list-command.php @@ -0,0 +1,185 @@ +=] + * : Filter the list to only show specific values for a given field. + * + * [--field=] + * : Prints the value of a single field for each redirect. + * + * [--fields=] + * : Limit the output to specific object fields. + * --- + * default: origin,target,type,format + * --- + * + * [--output=] + * : Render output in a particular format. + * --- + * default: table + * options: + * - table + * - csv + * - json + * - yaml + * - count + * --- + * + * ## AVAILABLE FIELDS + * + * These fields will be displayed by default for each redirect: + * + * * origin + * * target + * * type + * * format + * + * @param array $args Array of positional arguments. + * @param array $assoc_args Associative array of associative arguments. + * + * @return void + */ + public function __invoke( $args, $assoc_args ) { + $this->filter = $this->get_filter( $assoc_args ); + + /* + * By default, WP-CLI uses `--format=` to define the output + * format for lists. As we also have a `format` field here and want to + * be able to easily filter the list by a given format, we use + * `--output=` to define the format. + * We need to rename it back again here to be able to use the default + * format handling provided by WP-CLI. + */ + $assoc_args['format'] = $assoc_args['output']; + + $formatter = new Formatter( + $assoc_args, + $this->get_fields( $assoc_args ) + ); + + $redirects = array_filter( + $this->get_redirects(), + [ $this, 'filter_redirect' ] + ); + + $formatter->display_items( $redirects ); + } + + /** + * Gets the filtered list of redirects. + * + * @return array Associative array of redirects. + */ + private function get_redirects() { + $redirect_objects = $this->redirect_manager->get_all_redirects(); + + return array_map( + [ $this, 'adapt_redirect_data' ], + $redirect_objects + ); + } + + /** + * Filters the redirects based on whether they match the provided filter + * array. + * + * @param array $redirect Array data for an individual redirect. + * + * @return bool Whether to include the redirect or not. + */ + private function filter_redirect( $redirect ) { + foreach ( $this->filter as $key => $value ) { + /* + * Loose comparison to ignore type, as CLI arguments are always + * strings. + */ + if ( $value != $redirect[ $key ] ) { + return false; + } + } + + return true; + } + + /** + * Adapts redirect data fetched from the redirect manager to fit WP_CLI + * requirements. + * + * @param WPSEO_Redirect $redirect Redirection value object. + * + * @return array Associative array of redirects. + */ + private function adapt_redirect_data( $redirect ) { + return [ + 'origin' => $redirect->get_origin(), + 'target' => $redirect->get_target(), + 'type' => $redirect->get_type(), + 'format' => $redirect->get_format(), + ]; + } + + /** + * Gets the array of field names to use for formatting the table columns. + * + * @param array $assoc_args Parameters passed to command. Determines + * formatting. + * + * @return array Array of fields to use. + */ + private function get_fields( $assoc_args ) { + if ( empty( $assoc_args['fields'] ) ) { + return explode( ',', self::ALL_FIELDS ); + } + + if ( is_string( $assoc_args['fields'] ) ) { + return explode( ',', $assoc_args['fields'] ); + } + + return $assoc_args['fields']; + } + + /** + * Gets the filter array to filter values against. + * + * @param array $assoc_args Parameters passed to command. Determines + * formatting. + * + * @return array Associative array of filter values. + */ + private function get_filter( $assoc_args ) { + $filter = []; + + foreach ( [ 'origin', 'target', 'type', 'format' ] as $type ) { + if ( isset( $assoc_args[ $type ] ) ) { + $filter[ $type ] = $assoc_args[ $type ]; + } + } + + return $filter; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-update-command.php b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-update-command.php new file mode 100644 index 00000000..584f1d92 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/cli/cli-redirect-update-command.php @@ -0,0 +1,86 @@ + + * : Origin of the redirect to update. + * + * + * : New origin of the redirect. + * + * + * : Target of the redirect. + * + * [--type=] + * : Type of the redirect. + * --- + * default: 301 + * options: + * - 301 + * - 302 + * - 307 + * - 410 + * - 451 + * --- + * + * [--format=] + * : Format of the redirect. + * --- + * default: plain + * options: + * - plain + * - regex + * --- + * + * [--force] + * : Force updating of the redirect, bypassing any validation. + * --- + * default: false + * --- + * + * @param array $args Array of positional arguments. + * @param array $assoc_args Associative array of associative arguments. + * + * @return void + */ + public function __invoke( $args, $assoc_args ) { + list( $origin, $new_origin, $target ) = $args; + + $type = (int) Utils\get_flag_value( $assoc_args, 'type', '301' ); + $format = Utils\get_flag_value( $assoc_args, 'format', 'plain' ); + $force = Utils\get_flag_value( $assoc_args, 'force', false ); + + $exists = $this->has_redirect( $origin ); + + if ( ! $exists && ! $force ) { + WP_CLI::error( "Redirect does not exist for '{$origin}'." ); + } + + if ( ! $force ) { + $this->validate( $new_origin, $target, $type, $format, $origin ); + } + + $success = $this->update_redirect( $origin, $new_origin, $target, $type, $format ); + + if ( ! $success ) { + WP_CLI::error( "Could not update redirect: '{$new_origin}' => '{$target}'." ); + } + + WP_CLI::success( "Redirect updated: '{$new_origin}' => '{$target}'." ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/index.php b/wp/wp-content/plugins/wordpress-seo-premium/index.php new file mode 100644 index 00000000..e94d9a42 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/index.php @@ -0,0 +1,4 @@ +=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;","lang":"ar"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["عاد الطلب بالخطأ التالي: \"%s\""],"X share preview":["معاينة مشارŮŘ© X"],"AI X title generator":["ذŮاء اصطناعي X Ů…Ůلد العنŮان"],"AI X description generator":["ذŮاء اصطناعي X Ů…Ůلد الŮصŮ"],"X preview":["معاينة X"],"Please enter a valid focus keyphrase.":["الرجاء إدخال عبارة رئيسية Ů…Ůتاحية صالحة."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["لاستخدام هذه الميزة، يجب أن ŮŠŮŮن Ů…Ůقع٠متاحًا للعامة. ينطبق هذا على ŮŮ„ من Ů…Ůاقع الاختبار Ůالحالات التي ŘŞŮŮن Ůيها REST Ůاجهة برمجة التطبيقات (API) لدي٠محمية بŮلمة مرŮر. يرجى التأŮŘŻ من أن Ů…Ůقع٠متاح للعامة ثم حاŮŮ„ مرة أخرى. إذا استمرت المشŮلة، يرجى %1$s الاتصال بŮريق الدعم %2$s."],"Yoast AI cannot reach your site":["لا ŮŠŮ…Ůن لـ Yoast AI الŮصŮŮ„ إلى Ů…ŮقعŮ"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["للŮصŮŮ„ إلى هذه الميزة، تحتاج إلى اشتراŮات %2$s Ů%3$s نشطة. يرجى %5$s تنشيط الاشتراŮات٠خلال %1$s%6$s ŘŁŮ %7$sاحصل على %4$s%8$s جديد. بعد ذلŮŘŚ يرجى ŘŞŘ­ŘŻŮŠŘ« هذه الصŮŘ­Ř© حتى تعمل الميزة بشŮŮ„ صحيح، الأمر الذي قد يستغرق ما يصل إلى 30 ثانية."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["يتطلب منشئ عنŮان AI ŘŞŮ…Ůين تحليل تحسين محرŮات البحث (SEO) قبل الاستخدام. لتمŮينه، يرجى الانتقال إلى ميزات المŮقع %2$s لـ %1$s%3$sŘŚ Ůتشغيل تحليل تحسين محرŮات البحث (SEO)ŘŚ ثم النقر ŮŮŮ‚ \"Ř­Ůظ التغييرات\". إذا ŘŞŮ… تعطيل تحليل تحسين محرŮات البحث (SEO) ŮŮŠ المل٠الشخصي لمستخدم WordPress الخاص بŮŘŚ Ůادخل إلى Ů…Ů„Ů٠الشخصي Ůقم بتمŮينه هناŮ. يرجى الاتصال بالمسؤŮŮ„ الخاص ب٠إذا لم ŘŞŘŞŮ…Ůن من الدخŮŮ„ إلى هذه الإعدادات."],"Social share preview":["معاينة المشارŮŘ© الاجتماعية"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["لمŮاصلة استخدام ميزة الذŮاء الاصطناعي Ů„YoastŘŚ يرجى تقليل ŘŞŮرار طلباتŮ. ŘŞŮŮر %1$sمقالة المساعدة%2$s الخاصة بنا إرشادات Ř­ŮŮ„ التخطيط الŮعال لطلبات٠Ůتنظيمها من أجل سير عمل محسّن."],"You've reached the Yoast AI rate limit.":["لقد Ůصلت إلى الحد الأقصى لمعدل الذŮاء الاصطناعي Ů„Yoast."],"Allow":["سماح"],"Deny":["رŮض"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["لمشاهدة هذا الŮŮŠŘŻŮŠŮ ŘŚ تحتاج إلى السماح لـ %1$s بتحميل مقاطع الŮيدي٠المضمنة من %2$s."],"Text generated by AI may be offensive or inaccurate.":["قد ŮŠŮŮن النص الناتج عن الذŮاء الاصطناعي مسيئًا أ٠غير دقيق."],"(Opens in a new browser tab)":["(ŮŠŮŘŞŘ­ ŮŮŠ علامة تبŮيب متصŮŘ­ جديدة)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["قم بتسريع سير عمل٠باستخدام الذŮاء الاصطناعي التŮليدي. احصل على اقتراحات عالية الجŮŘŻŘ© للعناŮين ŮالŮص٠لبحث٠Ůمظهر٠الاجتماعي. %1$sتعر٠على المزيد%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["قم بإنشاء العناŮين ŮالأŮصا٠باستخدام الذŮاء الاصطناعي Ů„Yoast!"],"New to %1$s":["جديد ŮŮŠ %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["ŘŁŮاŮŮ‚ على %1$sشرŮŘ· الخدمة%2$s Ů%3$sسياسة الخصŮصية%4$s لخدمة الذŮاء الاصطناعي Ů„Yoast. يتضمن ذل٠المŮاŮقة على جمع البيانات Ůاستخدامها لتحسين تجربة المستخدم."],"Start generating":["ابدأ بالتŮليد"],"Yes, revoke consent":["نعم، إلغاء المŮاŮقة"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["من خلال إلغاء Ů…ŮاŮقتŮŘŚ لن ŘŞŘŞŮ…Ůن بعد الآن من الŮصŮŮ„ إلى ميزات الذŮاء الاصطناعي Ů„Yoast. هل أنت Ů…ŘŞŘŁŮŘŻ أن٠تريد إلغاء Ů…ŮاŮقتŮŘź"],"Something went wrong, please try again later.":["Ř­ŘŻŘ« خطأ ما، يرجى المحاŮلة Ůى Ůقت لاحق."],"Revoke AI consent":["إلغاء Ů…ŮاŮقة الذŮاء الاصطناعي"],"AI title generator":["Ů…Ůلد عنŮان الذŮاء الاصطناعي"],"AI description generator":["Ů…Ůلد Ůص٠الذŮاء الاصطناعي"],"AI social title generator":["Ů…Ůلد الذŮاء الاصطناعي للعنŮان الاجتماعي"],"AI social description generator":["Ů…Ůلد الذŮاء الاصطناعي للŮص٠الاجتماعي"],"Dismiss":["تجاهُل"],"Don’t show again":["لا تظهر مرة أخرى"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sنصيحة%2$s: قم بتحسين دقة Ů…Ůلد الذŮاء الاصطناعي لعناŮين٠عن طريق Ůتابة المزيد من المحتŮى ŮŮŠ صŮŘ­ŘŞŮ."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sنصيحة%2$s: قم بتحسين دقة ŘŁŮصا٠مŮلد الذŮاء الاصطناعي عن طريق Ůتابة المزيد من المحتŮى ŮŮŠ صŮŘ­ŘŞŮ."],"Try again":["حاŮŮ„ مجدداً"],"Social preview":["معاينة اجتماعية"],"Desktop result":["نتيجة سطح المŮتب"],"Mobile result":["نتيجة الجŮال"],"Apply %s description":[],"Apply %s title":[],"Next":["التالي"],"Previous":["السابق"],"Generate 5 more":["ŘŞŮليد 5 آخرين"],"Google preview":["معاينة Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["نظرًا لإرشادات OpenAI الأخلاقية الصارمة Ů %1$sسياسات الاستخدام%2$sŘŚ لا ŮŠŮ…Ůننا ŘŞŮليد عناŮين تحسين محرŮات البحث(SEO) لصŮŘ­ŘŞŮ. إذا Ůنت تنŮŮŠ استخدام الذŮاء الاصطناعي، Ůيرجى تجنب استخدام Ů…Ř­ŘŞŮى العن٠الصريح أ٠الجنسي الصريح. %3$sاقرأ المزيد Ř­ŮŮ„ ŮŮŠŮŮŠŘ© ŘŞŮŮين صŮحت٠للتأŮŘŻ من حصŮل٠على ŘŁŮضل النتائج باستخدام الذŮاء الاصطناعي%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["نظرًا لإرشادات OpenAI الأخلاقية الصارمة Ů%1$sسياسات الاستخدام%2$sŘŚ لا ŮŠŮ…Ůننا ŘŞŮليد ŘŁŮصا٠تعريŮŮŠŘ© لصŮŘ­ŘŞŮ. إذا Ůنت تنŮŮŠ استخدام الذŮاء الاصطناعي، Ůيرجى تجنب استخدام Ů…Ř­ŘŞŮى العن٠الصريح أ٠الجنسي الصريح. %3$sاقرأ المزيد Ř­ŮŮ„ ŮŮŠŮŮŠŘ© ŘŞŮŮين صŮحت٠للتأŮŘŻ من حصŮل٠على ŘŁŮضل النتائج باستخدام الذŮاء الاصطناعي %4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["للŮصŮŮ„ إلى هذه الميزة، تحتاج إلى اشترا٠%1$s نشط. يرجى %3$sتنشيط اشتراŮ٠خلال %2$s%4$s ŘŁŮ %5$sاحصل على %1$s اشترا٠جديد%6$s. بعد ذلŮŘŚ انقر على الزر لتحديث هذه الصŮŘ­Ř© حتى تعمل الميزة بشŮŮ„ صحيح Ůالذي قد يستغرق ما يصل إلى 30 ثانية."],"Refresh page":["بتحديث الصŮŘ­Ř©"],"Not enough content":["Ů…Ř­ŘŞŮى غير ŮاŮŮŠ"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["الرجاء اعادة المحاŮلة ŮŮŠ Ůقت لاحق. إذا استمرت المشŮلة، يرجى %1$sالاتصال بŮريق الدعم%2$s!"],"Something went wrong":["هنا٠خطأ ما"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["يبد٠أن مهلة الاتصال قد انتهت. يرجى التحقق من اتصال٠بالإنترنت ŮالمحاŮلة مرة أخرى لاحقًا. إذا استمرت المشŮلة، يرجى %1$sالاتصال بŮريق الدعم%2$s"],"Connection timeout":["انتهى الاتصال"],"Use AI":["استخدم الذŮاء الاصطناعي"],"Close modal":["اغلاق الŮسائط"],"Learn more about AI (Opens in a new browser tab)":["تعر٠على المزيد Ř­ŮŮ„ الذŮاء الاصطناعي (ŮŠŮŘŞŘ­ ŮŮŠ علامة تبŮيب متصŮŘ­ جديدة)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sالعنŮان%3$s: صŮحت٠ليس لها عنŮان حتى الآن. %2$sأض٠عنŮانا%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sالعنŮان%2$s: صŮحت٠لها عنŮان. أحسنت!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sŘŞŮزيع العبارة الرئيسية%3$s: %2$sقم بتضمين العبارة الرئيسية أ٠مرادŮاتها ŮŮŠ النص حتى نتمŮن من التحقق من ŘŞŮزيع العبارة الرئيسية%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sŘŞŮزيع العبارة الرئيسية%2$s: عمل جيد!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$s ŘŞŮزيع العبارة الرئيسية%3$s: غير متساŮ. لا ŘŞŘ­ŘŞŮŮŠ بعض أجزاء النص الخاص ب٠على العبارة الرئيسية أ٠مرادŮاتها. %2$s Ůزعهم بشŮŮ„ متساŮŮŤ%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sŘŞŮزيع العبارة الرئيسية%3$s: غير متساŮŮŤ للغاية. لا ŘŞŘ­ŘŞŮŮŠ الأجزاء الŮبيرة من النص على العبارة الرئيسية أ٠مرادŮاتها. %2$sŮزعهم بشŮŮ„ متساŮŮŤ%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: أنت لا تستخدم الŮثير من الŮلمات المعقدة ŘŚ مما يجعل نص٠سهل القراءة. أحسنت!"],"Word complexity":["تعقيد الŮلمات"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s من الŮلمات ŮŮŠ النص الخاص ب٠تعتبر معقدة. %3$s حاŮŮ„ استخدام Ůلمات أقصر ŮŘŁŮثر Ř´ŮŠŮعًا لتحسين سهŮلة القراءة %4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$s محاذاة %3$s: هنا٠قسم Ř·ŮŮŠŮ„ من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليسار%3$s.","%1$s محاذاة %3$s: هنا٠قسم Ř·ŮŮŠŮ„ من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليسار%3$s.","%1$s محاذاة %3$s: هنا٠%4$s أقسام من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليسار%3$s.","%1$s محاذاة %3$s: هنا٠%4$s أقسام من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليسار%3$s.","%1$s محاذاة %3$s: هنا٠%4$s أقسام من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليسار%3$s.","%1$s محاذاة %3$s: هنا٠%4$s أقسام من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليسار%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$s محاذاة %3$s: هنا٠قسم Ř·ŮŮŠŮ„ من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليمين%3$s.","%1$s محاذاة %3$s: هنا٠قسم Ř·ŮŮŠŮ„ من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليمين%3$s.","%1$s محاذاة %3$s: هنا٠%4$s أقسام من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليمين%3$s.","%1$s محاذاة %3$s: هنا٠%4$s أقسام من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليمين%3$s.","%1$s محاذاة %3$s: هنا٠%4$s أقسام من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليمين%3$s.","%1$s محاذاة %3$s: هنا٠%4$s أقسام من النص المحاذي للŮسط. %2$s نŮصي بجعله محاذيًا إلى اليمين%3$s."],"Select image":["ŘŞŘ­ŘŻŮŠŘŻ صŮرة"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["ربما لا تعر٠ذلŮŘŚ ŮŮ„Ůن قد ŘŞŮŮن هنا٠صŮحات على Ů…Ůقع٠لا ŘŞŘ­ŘŞŮŮŠ على ŘŁŮŠ رŮابط. هذه Ů…Ř´Ůلة تتعلق بتحسين محرŮات البحث (SEO)ŘŚ لأنه من الصعب على محرŮات البحث العثŮر على الصŮحات التي لا ŘŞŘ­ŘŞŮŮŠ على ŘŁŮŠ رŮابط. لذلŮŘŚ من الصعب عليهم الترتيب. نحن نسمي هذه الصŮحات بالمحتŮى اليتيم. ŮŮŠ هذا التمرين، نعثر على المحتŮى اليتيم على Ů…Ůقع٠Ůنرشد٠إلى إضاŮŘ© رŮابط إليه بسرعة، حتى تحصل على Ůرصة للترتيب!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["حان الŮقت لإضاŮŘ© بعض الرŮابط! أدناه، ترى قائمة بمقالات٠اليتيمة. ŮŠŮجد ŘŁŘłŮŮ„ ŮŮ„ صŮŘ­Ř© اقتراحات للصŮحات ذات الصلة التي ŮŠŮ…Ůن٠إضاŮŘ© رابط منها. عند إضاŮŘ© الرابط، ŘŞŘŁŮŘŻ من إدراجه ŮŮŠ جملة ذات صلة بمقالت٠اليتيمة. استمر ŮŮŠ إضاŮŘ© الرŮابط إلى ŮŮ„ مقالة من المقالات المعزŮلة حتى تشعر بالرضا عن ŮŮ…ŮŠŘ© الرŮابط التي تشير إليها."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["حان الŮقت لإضاŮŘ© بعض الرŮابط! أدناه ŘŚ ترى قائمة بالأساسي الخاصة بŮ. ŘŞŘ­ŘŞ ŮŮ„ أساسي ŘŚ ŘŞŮجد اقتراحات لمقالات ŮŠŮ…Ůن٠إضاŮŘ© رابط منها. عند إضاŮŘ© الارتباط ŘŚ ŘŞŘŁŮŘŻ من إدراجه ŮŮŠ الجملة ذات الصلة المتعلقة بالمقال الأساسي الخاص بŮ. استمر ŮŮŠ إضاŮŘ© رŮابط من ŘŁŮŠ عدد تريده من المقالات ذات الصلة ŘŚ حتى ŘŞŘ­ŘŞŮŮŠ أساسيات الخاصة ب٠على معظم الرŮابط الداخلية التي تشير إليها."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["بعض المقالات على Ů…ŮقعŮ%1$s هي الأŮثر أهمية%2$s. يجيبŮن على أسئلة الناس ŮŮŠŘ­Ů„Ůن مشاŮلهم. لذا Ůهم يستحقŮن أن ŮŠŮŮنŮا ŮŮŠ مرتبة جيدة! ŮŮŠ%3$s ŘŚ نطلق على هذه المقالات الأساسية. تتمثل إحدى طرق الحصŮŮ„ على ترتيب جيد لهم هي بتŮجيه رŮابط ŮاŮŮŠŘ© اليهم. تشير المزيد من الرŮابط لمحرŮات البحث إلى أن هذه المقالات مهمة Ůقيمة. ŮŮŠ هذا التمرين ŘŚ سنساعد٠ŮŮŠ إضاŮŘ© رŮابط إلى مقالات٠الأساسية!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["بمجرد إضاŮŘ© المزيد من المحتŮى ŘŚ سنتمŮن من إخبار٠بالمستŮى الشŮلي للنص الخاص بŮ."],"Overall, your text appears to be %1$s%3$s%2$s.":["بشŮŮ„ عام ŘŚ يبد٠أن النص الخاص ب٠هŮ%1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["ستتم إزالة ŘŞŮامل Zapier من %1$s ŮŮŠ 20.7 (تاريخ الإصدار ŮŮŠ 9 مايŮ). إذا Ůانت لدي٠أي أسئلة، يرجى التŮاصل Ů…Řą %2$s."],"Maximum heading level":["الحد الأقصى لمستŮى العنŮان"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["لقد قمت بتعطيل اقتراحات الارتباط ŘŚ Ůه٠أمر ضرŮري حتى تعمل الارتباطات ذات الصلة. إذا Ůنت تريد إضاŮŘ© الارتباطات ذات الصلة ŘŚ Ůالرجاء الانتقال إلى ميزات المŮقع ŮŘŞŮعيل اقتراحات الارتباط."],"Schema":["مخطط Schema"],"Meta tags":["الŮŘłŮŮ… الŮصŮŮŠŘ©"],"Not available":["غير Ů…ŘŞŮŮر"],"Checks":["الŮŘ­Ůصات"],"Focus Keyphrase":["الترŮيز على العبارة الرئيسية"],"Good":["جيدة"],"No index":["لا ŮŠŮجد Ůهرس"],"Front-end SEO inspector":["Ů…ŮŘŞŘ´ SEO للŮاجهة الأمامية"],"Focus keyphrase not set":["لم ŮŠŘŞŮ… تعيين ترŮيز العبارة الرئيسية."],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["بمجرد نشر Zap الخاص ب٠ŮŮŠ Ů„ŮŘ­Ř© معلŮمات %s ŘŚ ŮŠŮ…Ůن٠التحقق مما إذا Ůان نشطًا Ůمتصلاً بمŮقعŮ."],"Reset API key":["إعادة تعيين Ů…Ůتاح API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["أنت متصل حاليًا بـ %s باستخدام Ů…Ůتاح API التالي. إذا Ůنت ترغب ŮŮŠ إعادة الاتصال بمŮتاح API مختل٠، ŮŠŮ…Ůن٠إعادة تعيين Ů…Ůتاح٠أدناه."],"Your API key":["Ů…Ůتاح API الخاص بŮ"],"Go to your %s dashboard":["انتقل إلى Ů„ŮŘ­Ř© المعلŮمات %s الخاصة بŮ"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["لقد نجحت ŮŮŠ الاتصال بـ %1$s! لإدارة Zap الخاص ب٠، يرجى زيارة Ů„ŮŘ­Ř© المعلŮمات%2$s."],"Your %s dashboard":["Ů„ŮŘ­Ř© المعلŮمات %s الخاصة بŮ"],"Verify connection":["تحقق من الاتصال"],"Verify your connection":["تحقق من اتصالŮ"],"Create a Zap":["قم بإنشاء Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["قم بتسجيل الدخŮŮ„ إلى حساب %1$s Ůابدأ ŮŮŠ إنشاء ŘŁŮŮ„ Zap الخاص بŮ! لاحظ أنه ŮŠŮ…Ůن٠Ůقط إنشاء 1 Zap Ů…Řą Ř­ŘŻŘ« تشغيل من %2$s. ضمن هذا Zap ŮŠŮ…Ůن٠اختيار إجراء Ůاحد ŘŁŮ ŘŁŮثر."],"%s API key":["Ů…Ůتاح API %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["ستحتاج إلى Ů…Ůتاح API هذا لاحقًا ŮŮŠ %s عندما ŘŞŮ‚ŮŮ… بإعداد Zap."],"Copy your API key":["انسخ Ů…Ůتاح API الخاص بŮ"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["لإعداد اتصال ŘŚ ŘŞŘŁŮŘŻ من نسخ Ů…Ůتاح API المحدد أدناه Ůاستخدمه لإنشاء Ůتشغيل Zap داخل الحساب %s الخاص بŮ."],"Manage %s settings":["إدارة إعدادات %s"],"Connect to %s":["اتصل بـ %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["يرجى ملاحظة: Ů„ŮŮŠ يعمل هذا التمرين بشŮŮ„ جيد ŘŚ تحتاج إلى تشغيل أداة تحسين بيانات تحسين محرŮات البحث (SEO). ŮŠŮ…Ůن للمسؤŮلين تشغيل هذا ضمن%1$s تحسين محرŮات البحث (SEO)> الأدŮات%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["لقد أضŮŘŞ رŮابط إلى مقالات٠المعزŮلة ŘŚ Ůأزلت تل٠التي لم تعد ذات صلة. عمل عظيم! ألق نظرة على الملخص أدناه ŮاحتŮŮ„ بما أنجزته!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["قم بŮحص المحتŮى ŮŮŠ هذه القائمة بشŮŮ„ نقدي Ůقم بإجراء التحديثات اللازمة. إذا Ůنت بحاجة إلى مساعدة ŮŮŠ التحديث ŘŚ Ůلدينا%1$s مقالة Ů…ŘŻŮنة Ů…ŮŮŠŘŻ للغاية ŮŠŮ…Ůنها إرشاد٠طŮال الطريق%2$s (انقر Ů„Ůتحه ŮŮŠ علامة تبŮيب جديدة)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$s هل تحتاج إلى مزيد من الإرشادات؟ لقد تناŮلنا ŮŮ„ خطŮŘ© بمزيد من التŮصيل ŮŮŠ الدليل التالي:%2$s ŮŮŠŮŮŠŘ© استخدام تمرين%7$s للمحتŮى المعزŮŮ„ %3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["لقد جعلت للت٠أŮضل Ů…Ř­ŘŞŮى لدي٠من السهل العثŮر عليه ŘŚ Ůيزيد احتمال ترتيبه! أحسنت! من Ůقت لآخر ŘŚ تذŮر أن تتحقق مما إذا Ůانت أحجار الزاŮŮŠŘ© لدي٠تحصل على رŮابط ŮاŮŮŠŘ©!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["ألق نظرة على القائمة أدناه. هل أحجار الزاŮŮŠŘ© الخاصة ب٠(المميزة بـ%1$s) ŘŞŘ­ŘŞŮŮŠ على معظم الارتباطات الداخلية التي تشير إليها؟ انقر ŮŮŮ‚ الزر تحسين (Optimize) إذا Ůنت تعتقد أن حجر الأساس يحتاج إلى مزيد من الرŮابط. سيؤدي ذل٠إلى نقل المقالة إلى الخطŮŘ© التالية."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["هل ŮŮ„ من الأساسات الخاصة ب٠لها علامة خضراء؟ للحصŮŮ„ على ŘŁŮضل النتائج، ŮŮر ŮŮŠ تحرير تل٠التي ليست ŮذلŮ!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["ما هي المقالات التي تريد أن ŘŞŘ­ŘŞŮ„ المرتبة الأŮلى Ůيها؟ ŘŁŮŠ منها سيجد جمهŮر٠أŮثر Ůائدة ŮاŮتمالًا؟ انقر ŮŮŮ‚ السهم الذي يشير لأسŮŮ„ Ůابحث عن المقالات التي تناسب تل٠المعايير. سنقŮŮ… تلقائيًا بŮضع علامة على المقالات التي تحددها من القائمة Ůحجر زاŮŮŠŘ©."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$s هل تحتاج إلى مزيد من الإرشادات؟ لقد تناŮلنا ŮŮ„ خطŮŘ© بمزيد من التŮصيل ŮŮŠ: %2$s ŮŮŠŮŮŠŘ© استخدام تمرين حجر الزاŮŮŠŘ© %7$s %3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["جدŮŮ„ المحتŮيات Yoast"],"Yoast Related Links":["رŮابط ذات صلة بYoast"],"Finish optimizing":["ŘŁŘŞŮ…Ů… التحسين"],"You've finished adding links to this article.":["لقد ŘŁŘŞŮ…Ů…ŘŞ إضاŮŘ© الرŮابط إلى هذا المقال"],"Optimize":["تحسين "],"Added to next step":["ŘŞŮ…ŘŞ الإضاŮŘ© للخطŮŘ© التالية"],"Choose cornerstone articles...":["اختر المقالات الأساس..."],"Loading data...":["جارٍ ŘŞŘ­Ů…ŮŠŮ„ البيانات ..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["لم تقم بتنظي٠أ٠تحديث ŘŁŮŠ مقالات حتى الآن باستخدام هذا التدريب. بمجرد القيام بذل٠، سيظهر هنا ملخص لعملŮ."],"Skipped":["ŘŞŮ… تخطي"],"Hidden from search engines.":["Ů…Ř®ŮŮŠŘ© عن محرŮات البحث."],"Removed":["ŘŞŮ…ŘŞ الإزالة"],"Improved":["محسّن"],"Resolution":["القرار"],"Loading redirect options...":["جارٍ ŘŞŘ­Ů…ŮŠŮ„ خيارات إعادة التŮجيه ..."],"Remove and redirect":["إزالة Ůإعادة التŮجيه"],"Custom url:":["رابط مخصص:"],"Related article:":["مقالة ذات صلة:"],"Home page:":["الصŮŘ­Ř© الرئيسية:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["أنت على Ůش٠إزالة%1$s%2$s%3$s. لمنع ظهŮر أخطاء 404 على Ů…ŮقعŮŘŚ يجب إعادة ŘŞŮجيهها إلى صŮŘ­Ř© أخرى على Ů…ŮقعŮ. إلى أين تريد إعادة ŘŞŮجيهها؟"],"SEO Workout: Remove article":["تدريب تحسين محرŮات البحث: إزالة المقالة"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["ŮŮ„ شيء يبد٠على ما يرام! لم نعثر على ŘŁŮŠ مقالات على Ů…Ůقع٠مضى عليها ŘŁŮثر من ستة أشهر Ůلا تتلقى ŘłŮى عدد قليل جدًا من الرŮابط على Ů…ŮقعŮ. تحقق مرة أخرى هنا لاحقًا للحصŮŮ„ على اقتراحات تنظي٠جديدة!"],"Hide from search engines":["ŘĄŘ®Ůاء من محرŮات البحث"],"Improve":["حسن"],"Are you sure you wish to hide this article from search engines?":["هل أنت Ů…ŘŞŘŁŮŘŻ أن٠ترغب ŮŮŠ ŘĄŘ®Ůاء هذه المقالة من محرŮات البحث؟"],"Action":["إجراء"],"You've hidden this article from search engines.":["لقد قمت بإخŮاء هذه المقالة من محرŮات البحث."],"You've removed this article.":["لقد قمت بإزالة هذه المقالة."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["لم تقم حاليًا بتحديد ŘŁŮŠ مقالات لتحسينها. Ř­ŘŻŘŻ بعض المقالات ŮŮŠ الخطŮات السابقة لإضاŮŘ© رŮابط إليها Ůسنعرض ل٠هنا مقترحات الارتباط."],"Loading link suggestions...":["جارٍ ŘŞŘ­Ů…ŮŠŮ„ اقتراحات الارتباط ..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["لم نعثر على ŘŁŮŠ اقتراحات لهذه المقالة، ŮŮ„Ůن بالطبع لا يزال بإمŮان٠إضاŮŘ© رŮابط إلى المقالات التي تعتقد أنها ذات صلة."],"Skip":["تخطي"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["لم تقم بتحديد ŘŁŮŠ مقالات لهذه الخطŮŘ© حتى الآن. ŮŠŮ…Ůن٠القيام بذل٠ŮŮŠ الخطŮŘ© السابقة."],"Is it up-to-date?":["هل ه٠محدث؟"],"Last Updated":["التحديث الاخير"],"You've moved this article to the next step.":["لقد قمت بنقل هذه المقالة إلى الخطŮŘ© التالية."],"Unknown":["غير معرŮŮ"],"Clear summary":["ملخص Ůاضح"],"Add internal links towards your orphaned articles.":["أض٠رŮابط داخلية لمقالات٠المعزŮلة."],"Should you update your article?":["هل يجب علي٠تحديث مقالتŮŘź"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["غالبًا ما ŮŠŘ­ŘŞŮŮŠ Ů…Ůقع٠على الŮثير من المحتŮى الذي ŘŞŮ… إنشاؤه مرة Ůاحدة Ůلم ŮŠŘŞŮ… الرجŮŘą إليه بعد ذلŮ. من المهم المراجعة Ůاسأل نŮس٠ما إذا Ůان هذا المحتŮى لا يزال ذ٠صلة بمŮقعŮ. هل يجب علي تحسينه ŘŁŮ… إزالته؟"],"Start: Love it or leave it?":["ابدأ: أحبها ŘŁŮ… اترŮها؟"],"Clean up your unlinked content to make sure people can find it":["نظ٠المحتŮى غير المرتبط حتى ŮŠŘŞŮ…Ůن المستخدمŮن من العثŮر عليه"],"I've finished this workout":["لقد أنهيت هذا التمرين"],"Reset this workout":["إعادة تعيين هذا التمرين"],"Well done!":["أحسنت!"],"Add internal links towards your cornerstones":["أض٠رŮابط داخلية نح٠الأساس الخاصة بŮ"],"Check the number of incoming internal links of your cornerstones":["تحقق من عدد الرŮابط الداخلية الŮاردة للأساس الخاص بŮ"],"Start: Choose your cornerstones!":["ابدأ: اختر الأساس الخاص بŮ!"],"The cornerstone approach":["نهج الأساس"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["يرجى ملاحظة: Ů„ŮŮŠ يعمل هذا التمرين بشŮŮ„ جيد Ůلتقديم اقتراحات ربط Ů„ŮŘŚ تحتاج إلى تشغيل أداة تحسين بيانات تحسين محرŮات البحث (SEO). ŮŠŮ…Ůن المديرين تشغيل هذا ضمن تحسين محرŮات البحث SEO > ŘŁŘŻŮات Tools ."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["يرجى ملاحظة ما يلي: قام المدير بتعطيل الŮظيŮŘ© الأساسية ŮŮŠ إعدادات تحسين محرŮات البحث (SEO). إذا Ůنت ترغب ŮŮŠ استخدام هذا التمرين، Ůيجب ŘŞŮ…Ůينه."],"I've finished this step":["لقد انتهيت من هذه الخطŮŘ©"],"Revise this step":["تعديل هذه الخطŮŘ©"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["لم نتمŮن من العثŮر على رŮابط داخلية على صŮحاتŮ. إما أن٠لم تقم بإضاŮŘ© ŘŁŮŠ رŮابط داخلية إلى المحتŮى الخاص ب٠حتى الآن، أ٠أن Yoast SEO لم يقم بŮهرستها. ŮŠŮ…Ůن٠ل Yoast SEO Ůهرسة الرŮابط الخاصة ب٠عن طريق تشغيل تحسين بيانات SEO ضمن SEO تحسين محر٠البحث > ŘŁŘŻŮات Tools."],"Incoming links":["رŮابط Ůاردة"],"Edit to add link":["تحرير لإضاŮŘ© ارتباط"],"%s incoming link":["%s رابط Ůارد","%s رابط Ůارد","%s رابطان Ůاردان","%s رŮابط Ůاردة","%s رŮابط Ůاردة","%s رŮابط Ůاردة"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["ليس لدي٠حاليا ŘŁŮŠ مقالات Ůضعت لها علامة Ůأساس. عندما تضع علامة على مقالات٠Ůأساس، ŘłŮ٠يظهرŮن هنا."],"Focus keyphrase":["عبارة رئيسية Ů…Ůتاحية"],"Article":["مقالة"],"Readability score":["درجة قابلية القراءة"],"SEO score":["نتيجة SEO"],"Copy failed":["ŮŘ´Ů„ النسخ"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Ř­ŘłŮّن تصنيŮات جميع الأساس لدي٠باستخدام هذا التمرين%1$sخطŮŘ© بخطŮŘ©!%2$s"],"Rank with articles you want to rank with":["احتل مراتب جيدة Ů…Řą المقالات التي تريد الترتيب لها"],"Descriptive text":["النص الŮصŮŮŠ"],"Show the descriptive text":["عرض النص الŮصŮŮŠ"],"Show icon":["عرض الايقŮنة"],"Yoast Estimated Reading Time":["Ůقت القراءة المقدر من قبل yoast"],"Shows an estimated reading time based on the content length.":["يظهر Ůقت القراءة المقدرة بناء على Ř·ŮŮ„ المحتŮى"],"reading time":["Ůقت القراءة"],"content length":["Ř·ŮŮ„ المحتŮى"],"Estimated reading time:":["الŮقت المقدر للقراءة"],"minute":["دقيقة","دقيقة","دقائق","دقائق","دقائق","دقائق"],"Settings":["الإعدادات"],"OK":["مقبŮلة"],"Close":["إغلاق"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["ŘŁŮŮ„ Ř­Ů„ حقيقي شامل الŮŮ„ ŮŮŠ Ůاحد لتحسين محرŮات البحث SEO Ů„ŮŮردبريس، بما ŮŮŠ ذل٠تحليل المحتŮى على الصŮŘ­Ř© Ůخرائط Ů…Ůاقع XML Ůغير ذل٠الŮثير."],"Type":["نŮŘą"],"Team Yoast":["Ůريق Yoast"],"Orphaned content":["Ů…Ř­ŘŞŮى خص بالايتام"],"Synonyms":["مرادŮات"],"Internal linking suggestions":["اقتراحات الربط الداخلية"],"Enter a related keyphrase to calculate the SEO score":["ادخل عبارة Ů…Ůتاحية ذات صلة لحساب نقاط SEO"],"Related keyphrase":["عبارة رئيسية ذات صلة"],"Add related keyphrase":["إدخال Ůلمات دليلية ذات صلة"],"Analysis results":["نتائج التحليل"],"Help on choosing the perfect keyphrase":["المساعدة ŮŮŠ اختيار اŮضل عبارة Ů…Ůتاحية"],"Help on keyphrase synonyms":["مساعدة ŮŮŠ مرادŮات العبارة المŮتاحية"],"Keyphrase":["العبارة الرئيسية"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO بريميŮŮ…"],"New URL: {{link}}%s{{/link}}":["URL جديد: {{link}}%s{{/link}}"],"Undo":["تراجع"],"Redirect created":["ŘŞŮ… انشاء التحŮŮŠŮ„"],"%s just created a redirect from the old URL to the new URL.":["%s ŘŞŮ… انشاء ŘŞŘ­ŮŮŠŮ„ من URL قديم الى URL جديد"],"Old URL: {{link}}%s{{/link}}":["URL قديم: {{link}}%s{{/link}}"],"Keyphrase synonyms":["مرادŮات الŮلمة الرئيسية"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Ř­ŘŻŘ« خطأ: تحليل Premium SEO لا يعمل Ůما ه٠متŮقع. يرجى {{activateLink}}ŘŞŮعيل اشتراŮŮ ŮŮŠ MyYoast{{/activateLink}} ثم {{reloadButton}}إعادة ŘŞŘ­Ů…ŮŠŮ„ هذه الصŮŘ­Ř©{{/reloadButton}} حتى تعمل بشŮŮ„ صحيح."],"seo":["seo"],"internal linking":["الرŮابط الداخلية"],"site structure":["بنية المŮقع"],"We could not find any relevant articles on your website that you could link to from your post.":["لم نتمŮن من العثŮر على ŘŁŮŠ مقالات ذات صلة على Ů…Ůقع الŮيب الخاص ب٠Ůالتي ŮŠŮ…Ůن٠الارتباط بها من مقالتŮ."],"Load suggestions":["ŘŞŘ­Ů…ŮŠŮ„ اقتراحات"],"Refresh suggestions":["ŘŞŘ­ŘŻŮŠŘ« الاقتراحات"],"Write list…":["قائمة الŮتابة ..."],"Adds a list of links related to this page.":["يضي٠قائمة الرŮابط المتعلقة بهذه الصŮŘ­Ř©."],"related posts":["المقالات ذات الصلة"],"related pages":["الصŮحات ذات الصلة"],"Adds a table of contents to this page.":["يضي٠جدŮŮ„ المحتŮيات إلى هذه الصŮŘ­Ř©."],"links":["رŮابط"],"toc":["جدŮŮ„ المحتŮيات"],"Copy link":["نسخ الرابط"],"Copy link to suggested article: %s":["نسخ رابط المقالة المقترحة: %s"],"Add a title to your post for the best internal linking suggestions.":["أض٠عنŮانًا إلى مشارŮت٠للحصŮŮ„ على ŘŁŮضل اقتراحات الارتباط الداخلية."],"Add a metadescription to your post for the best internal linking suggestions.":["أض٠ŮصŮًا تعريŮيًا لمنشŮر٠للحصŮŮ„ على ŘŁŮضل اقتراحات الارتباط الداخلية"],"Add a title and a metadescription to your post for the best internal linking suggestions.":["أض٠عنŮانًا ŮŮصŮًا تعريŮيًا لمنشŮر٠للحصŮŮ„ على ŘŁŮضل اقتراحات الارتباط الداخلية."],"Also, add a title to your post for the best internal linking suggestions.":["أض٠أيضًا عنŮانًا إلى مشارŮت٠للحصŮŮ„ على ŘŁŮضل اقتراحات الارتباط الداخلية."],"Also, add a metadescription to your post for the best internal linking suggestions.":["أض٠أيضًا ŮصŮًا تعريŮيًا لمنشŮر٠للحصŮŮ„ على ŘŁŮضل اقتراحات الارتباط الداخلية."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["أض٠أيضًا عنŮانًا ŮŮصŮًا تعريŮيًا لمنشŮر٠للحصŮŮ„ على ŘŁŮضل اقتراحات الارتباط الداخلية"],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["بمجرد إضاŮŘ© نسخة ŘŁŮثر قليلاً ŘŚ سنقدم ل٠قائمة بالمحتŮى ذي الصلة هنا Ůالذي ŮŠŮ…Ůن٠الارتباط به ŮŮŠ منشŮرŮ."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["لتحسين هيŮŮ„ Ů…Ůقع٠، ضع ŮŮŠ اعتبار٠إنشاء رŮابط إلى منشŮرات أ٠صŮحات أخرى ذات صلة على Ů…Ůقع٠على الŮيب."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["يستغرق الأمر بضع Ř«Ůانٍ لتظهر ل٠قائمة بالمحتŮى ذي الصلة الذي ŮŠŮ…Ůن٠الارتباط به. سيتم عرض الاقتراحات هنا بمجرد الحصŮŮ„ عليها."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}} اقرأ دليلنا Ř­ŮŮ„ الربط الداخلي لتحسين محرŮات البحث {{/a}} لمعرŮŘ© المزيد."],"Copied!":["ŘŞŮ… النسخ!"],"Not supported!":["غير Ů…ŘŻŘąŮŮ…!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["هل تحاŮŮ„ استخدام جمل Ů…Ůاتيح متعددة ذات صلة؟ يجب علي٠إضاŮتهم بشŮŮ„ منŮصل"],"Your keyphrase is too long. It can be a maximum of 191 characters.":["العبارة الرئيسية الخاصة ب٠طŮيلة جدًا. ŮŠŮ…Ůن أن ŮŠŮŮن الحد الأقصى لعدد الأحر٠191 حرŮًا."],"Add as related keyphrase":["أض٠عبارة Ů…Ůتاح ذات صلة"],"Added!":["ŘŞŮ…ŘŞ اضاŮته!"],"Remove":["حذŮ"],"Table of contents":["جدŮŮ„ المحتŮيات"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["نحتاج إلى تحسين بيانات SEO ŮŮŠ Ů…Ůقع٠حتى نتمŮن من تقديم ŘŁŮضل %1$sربط للاقتراحات%2$s.\n%3$sابدأ تحسين بيانات SEO%4$s"],"Create a Zap in %s":["انشاء zap ŮŮŠ %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-bn_BD.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-bn_BD.json new file mode 100644 index 00000000..3647366a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-bn_BD.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"bn_BD"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":[],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":[],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":[],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":[],"Social preview":[],"Desktop result":[],"Mobile result":[],"Apply %s description":[],"Apply %s title":[],"Next":[],"Previous":[],"Generate 5 more":[],"Google preview":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":[],"%1$sKeyphrase distribution%2$s: Good job!":[],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[],"Word complexity":[],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":[],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":[],"Meta tags":[],"Not available":[],"Checks":[],"Focus Keyphrase":[],"Good":[],"No index":[],"Front-end SEO inspector":[],"Focus keyphrase not set":[],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":[],"Reset API key":[],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":[],"Your API key":[],"Go to your %s dashboard":[],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":[],"Your %s dashboard":[],"Verify connection":[],"Verify your connection":[],"Create a Zap":[],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":[],"%s API key":[],"You'll need this API key later on in %s when you're setting up your Zap.":[],"Copy your API key":[],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":[],"Manage %s settings":[],"Connect to %s":[],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":[],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":[],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":[],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":[],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":[],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":[],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":[],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":[],"Yoast Table of Contents":[],"Yoast Related Links":[],"Finish optimizing":[],"You've finished adding links to this article.":[],"Optimize":[],"Added to next step":[],"Choose cornerstone articles...":[],"Loading data...":[],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":[],"Skipped":[],"Hidden from search engines.":[],"Removed":[],"Improved":[],"Resolution":[],"Loading redirect options...":[],"Remove and redirect":[],"Custom url:":[],"Related article:":[],"Home page:":[],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":[],"SEO Workout: Remove article":[],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":[],"Hide from search engines":[],"Improve":[],"Are you sure you wish to hide this article from search engines?":[],"Action":[],"You've hidden this article from search engines.":[],"You've removed this article.":[],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":[],"Loading link suggestions...":[],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":[],"Skip":[],"You haven't selected any articles for this step yet. You can do so in the previous step.":[],"Is it up-to-date?":[],"Last Updated":[],"You've moved this article to the next step.":[],"Unknown":[],"Clear summary":[],"Add internal links towards your orphaned articles.":[],"Should you update your article?":[],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":[],"Start: Love it or leave it?":[],"Clean up your unlinked content to make sure people can find it":[],"I've finished this workout":[],"Reset this workout":[],"Well done!":[],"Add internal links towards your cornerstones":[],"Check the number of incoming internal links of your cornerstones":[],"Start: Choose your cornerstones!":[],"The cornerstone approach":[],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":[],"Revise this step":[],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":[],"Incoming links":[],"Edit to add link":[],"%s incoming link":[],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":[],"Focus keyphrase":[],"Article":[],"Readability score":[],"SEO score":[],"Copy failed":[],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":[],"Rank with articles you want to rank with":[],"Descriptive text":["বর্ণনামূলক লেখা"],"Show the descriptive text":["বর্ণনামূলক লেখা প্রদর্শন করŕ§ŕ¦¨"],"Show icon":["আইকন দেখান"],"Yoast Estimated Reading Time":["Yoast আনŕ§ŕ¦®ŕ¦ľŕ¦¨ŕ¦żŕ¦• পড়ার সময়"],"Shows an estimated reading time based on the content length.":["লেখার দŕ§ŕ¦°ŕ§Ťŕ¦ŕ§Ťŕ¦Żŕ§‡ŕ¦° ওপর ভিত্তি করে একটি আনŕ§ŕ¦®ŕ¦ľŕ¦¨ŕ¦żŕ¦• পড়ার সময় দেখান।"],"reading time":["পড়তে সময় লাগবে"],"content length":["লেখার দŕ§ŕ¦°ŕ§Ťŕ¦ŕ§Ťŕ¦Ż"],"Estimated reading time:":["আনŕ§ŕ¦®ŕ¦ľŕ¦¨ŕ¦żŕ¦• সময় লাগবে পড়তে:"],"minute":["মিনিট","মিনিট"],"Settings":["সেটিংস "],"OK":["ঠিক আছে"],"Close":["বন্ধ"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["সত্যিকারের প্রথম ওয়ার্ডপ্রেসের একের-মধ্যে-সব এসইও সমাধান, যার মধ্যে অন্তর্ভŕ§ŕ¦•্ত পŕ§ŕ¦·ŕ§Ťŕ¦ ŕ¦ľŕ¦° বিষয়বস্তৠবিশ্লেষণ, এক্সএমএল সাইটম্যাপ ও আরও অনেক কিছŕ§ŕĄ¤"],"Type":["প্রকার"],"Team Yoast":["Yoast দল"],"Orphaned content":["সংযোগহীন লেখা"],"Synonyms":["সমার্থক শব্দ"],"Internal linking suggestions":["অভ্যন্তরীণ লিংক পরামর্শ"],"Enter a related keyphrase to calculate the SEO score":["এসইও স্কোর হিসাব করতে একটি প্রাসঙ্গিক কিফ্রেইজ দিন।"],"Related keyphrase":["প্রাসঙ্গিক মূলশব্দ"],"Add related keyphrase":["প্রাসঙ্গিক কিফ্রেইজ যŕ§ŕ¦•্ত করŕ§ŕ¦¨"],"Analysis results":["বিশ্লেষণের ফলাফল"],"Help on choosing the perfect keyphrase":["যথাযথ কিফ্রেইজ নির্ধারণ করতে সহায়তা করŕ§ŕ¦¨"],"Help on keyphrase synonyms":["মূলশব্দের সমার্থক শব্দের জন্য সহায়তা করŕ§ŕ¦¨"],"Keyphrase":["মূলশব্দ"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast এসইও প্রিমিয়াম"],"New URL: {{link}}%s{{/link}}":["নতŕ§ŕ¦¨ ইউআরএল: {{link}}%s{{/link}}"],"Undo":["পূর্বাবস্থায় নিন"],"Redirect created":["পŕ§ŕ¦¨ŕ¦ŕ¦¨ŕ¦żŕ¦°ŕ§Ťŕ¦¦ŕ§‡ŕ¦¶ তŕ§ŕ¦°ŕ¦ż করা হয়েছে"],"%s just created a redirect from the old URL to the new URL.":["%s পŕ§ŕ¦°ŕ¦¨ŕ§‹ ইউআরএল থেকে নতŕ§ŕ¦¨ ইউআরএল-এর পŕ§ŕ¦¨ŕ¦ŕ¦¨ŕ¦żŕ¦°ŕ§Ťŕ¦¦ŕ§‡ŕ¦¶ তŕ§ŕ¦°ŕ¦ż করা হয়েছে।"],"Old URL: {{link}}%s{{/link}}":["পŕ§ŕ¦°ŕ¦¨ŕ§‹ ইউআরএল: {{link}}%s{{/link}}"],"Keyphrase synonyms":["মূলশব্দের সমার্থক শব্দসমূহ"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[],"seo":["এসইও"],"internal linking":["অভ্যন্তরীণ সংযোগ"],"site structure":["সাইট কাঠামো"],"We could not find any relevant articles on your website that you could link to from your post.":["আমরা আপনার ওয়েবসাইটে এমন কোনো প্রাসঙ্গিক লেখা খŕ§ŕ¦ŕ¦śŕ§‡ পাইনি যা এই লেখায় লিংক হিসেবে ব্যবহার করা যায়।"],"Load suggestions":["পরামর্শসমূহ চালৠকরŕ§ŕ¦¨"],"Refresh suggestions":["পরামর্শসমূহ রিফ্রেশ করŕ§ŕ¦¨"],"Write list…":["তালিকা তŕ§ŕ¦°ŕ¦ż করŕ§ŕ¦¨..."],"Adds a list of links related to this page.":["এই পŕ§ŕ¦·ŕ§Ťŕ¦ ŕ¦ľŕ¦° সাথে সম্পর্কিত লিংকসমূহের তালিকা যোগ করŕ§ŕ¦¨ŕĄ¤"],"related posts":["এই সম্পর্কিত লেখাসমূহ"],"related pages":["এই সম্পর্কিত পŕ§ŕ¦·ŕ§Ťŕ¦ ŕ¦ľŕ¦¸ŕ¦®ŕ§‚হ"],"Adds a table of contents to this page.":["এই পŕ§ŕ¦·ŕ§Ťŕ¦ ŕ¦ľŕ§ź সূচিপত্র যোগ করŕ§ŕ¦¨ŕĄ¤"],"links":["লিংকসমূহ"],"toc":["টিওসি"],"Copy link":["লিংক কপি করŕ§ŕ¦¨"],"Copy link to suggested article: %s":["পরামর্শকŕ§ŕ¦¤ লেখায় সংযোগ কপি করŕ§ŕ¦¨: %s"],"Add a title to your post for the best internal linking suggestions.":["সবচেয়ে ভালো সংযোগ পরামর্শের জন্য আপনি একটি শিরোনাম আপনার লেখায় যŕ§ŕ¦•্ত করŕ§ŕ¦¨ŕĄ¤"],"Add a metadescription to your post for the best internal linking suggestions.":["সবচেয়ে ভালো সংযোগ পরামর্শের জন্য আপনি মেটাতথ্য আপনার লেখায় যŕ§ŕ¦•্ত করŕ§ŕ¦¨ŕĄ¤"],"Add a title and a metadescription to your post for the best internal linking suggestions.":["পাশাপাশি, সবচেয়ে ভালো সংযোগ পরামর্শের জন্য আপনি একটি শিরোনাম ও মেটাতথ্য আপনার লেখায় যŕ§ŕ¦•্ত করŕ§ŕ¦¨ŕĄ¤"],"Also, add a title to your post for the best internal linking suggestions.":["পাশাপাশি, সবচেয়ে ভালো সংযোগ পরামর্শের জন্য আপনি একটি শিরোনাম আপনার লেখায় যŕ§ŕ¦•্ত করŕ§ŕ¦¨ŕĄ¤"],"Also, add a metadescription to your post for the best internal linking suggestions.":["পাশাপাশি, সবচেয়ে ভালো সংযোগ পরামর্শের জন্য আপনি মেটাতথ্য আপনার লেখায় যŕ§ŕ¦•্ত করŕ§ŕ¦¨ŕĄ¤"],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["পাশাপাশি, সবচেয়ে ভালো সংযোগ পরামর্শের জন্য আপনি মেটাতথ্য আপনার লেখায় যŕ§ŕ¦•্ত করŕ§ŕ¦¨ŕĄ¤"],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["আপনি যদি আরও কিছৠঅংশ কপি করেন তাহলে আমরা এই লেখার সম্পর্কিত অন্যান্য লেখার তালিকা দিতে পারবো যা আপনি আপনার লেখায় যŕ§ŕ¦•্ত করতে পারবেন।"],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["আপনার ওয়েবসাইটের কাঠামোর উন্নতির জন্য আপনার ওয়েবসাইটের অন্যান্য প্রাসঙ্গিক লেখা বা পŕ§ŕ¦·ŕ§Ťŕ¦ ŕ¦ľŕ¦•ে সংযŕ§ŕ¦•্ত করŕ§ŕ¦¨ŕĄ¤"],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["আপনি যেখানে লিংক করেছেন সেখানে প্রাসঙ্গিক লেখার তালিকা দেখাতে কয়েক মিনিট সময় লাগতে পারে। যতো দ্রŕ§ŕ¦¤ সম্ভব সŕ§ŕ¦Şŕ¦ľŕ¦°ŕ¦żŕ¦¶ŕ¦—ŕ§ŕ¦˛ŕ§‹ এখানে দেখানো হবে। "],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["বিস্তারিত জানার জন্য {{a}}আমাদের এসইওর অভ্যন্তরীণ সংযোগ গাইডটি পড়ŕ§ŕ¦¨{{/a}}।"],"Copied!":["কপি করা হয়েছে!"],"Not supported!":["সমর্থন করে না!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["আপনি কি একাধিক প্রাসঙ্গিক কিফ্রেইজ ব্যবহার করতে চেষ্টা করছেন? সেগŕ§ŕ¦˛ŕ§‹ŕ¦•ে আলাদা আলাদা করে দেখাতে হবে।"],"Your keyphrase is too long. It can be a maximum of 191 characters.":["আপনার কিফ্রেইজ অনেক বড়। এটি সর্বোচ্চ ŕ§§ŕ§Żŕ§§ ক্যারেক্টার হবে।"],"Add as related keyphrase":["প্রাসঙ্গিক কিফ্রেইজ হিসেবে যŕ§ŕ¦•্ত করŕ§ŕ¦¨"],"Added!":["যŕ§ŕ¦•্ত করা হয়েছে!"],"Remove":["মŕ§ŕ¦›ŕ§ŕ¦¨"],"Table of contents":["সূচিপত্র"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["আপনাকে সর্বোচ্চটŕ§ŕ¦•ৠসহায়তা করতে আপনার সাইটের এসইও তথ্য অপটিমাইজ করতে হবে আমাদের। %1$sলিংকের সŕ§ŕ¦Şŕ¦ľŕ¦°ŕ¦żŕ¦¶%2$s।\n\n%3$sএসইও ডেটা অপটিমাইজেশন শŕ§ŕ¦°ŕ§ করŕ§ŕ¦¨%4$s"],"Create a Zap in %s":["%s-এতে জ্যাপ তŕ§ŕ¦°ŕ¦ż করŕ§ŕ¦¨ŕĄ¤"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ca.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ca.json new file mode 100644 index 00000000..90e9fda3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ca.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"ca"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["La resposta ha tornat amb el segĂĽent error: \"%s\""],"X share preview":["PrevisualitzaciĂł de la comparticiĂł a X"],"AI X title generator":["Generador de tĂ­tols de X per IA"],"AI X description generator":["Generador de descripcions de X per IA"],"X preview":["PrevisualitzaciĂł a Twitter"],"Please enter a valid focus keyphrase.":["IntroduĂŻu una frase clau de focus vĂ lida."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Per utilitzar aquesta caracterĂ­stica, el vostre lloc ha de ser accessible pĂşblicament. Això s'aplica tant als llocs de prova com a les instĂ ncies on l'API REST estĂ  protegida amb contrasenya. Assegureu-vos que el vostre lloc Ă©s accessible al pĂşblic i torneu-ho a provar. Si el problema persisteix, %1$scontacteu amb el nostre equip de suport%2$s."],"Yoast AI cannot reach your site":["Yoast AI no pot accedir al vostre lloc web"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Per accedir a aquesta funciĂł, necessiteu una subscripciĂł activa a %2$s i %3$s. %5$sActiveu la vostra subscripciĂł a %1$s%6$s o %7$sobtingueu una nova subscripciĂł %4$s%8$s. DesprĂ©s, actualitzeu aquesta pĂ gina perquè la caracterĂ­stica funcioni correctament, la qual cosa pot trigar fins a 30 segons."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["El generador de tĂ­tols d'IA requereix que l'anĂ lisi SEO estigui habilitat abans d'utilitzar-lo. Per activar-lo, navegueu a les %2$sfuncions del lloc a %1$s%3$s, habiliteu l'anĂ lisi SEO i feu clic a \"Desa els canvis\". Si l'anĂ lisi SEO estĂ  desactivat a travĂ©s del vostre perfil d'usuari, navegueu fins al vostre perfil i activeu-lo allĂ . Contacteu amb l'administrador si no teniu accĂ©s a aquests parĂ metres."],"Social share preview":["Vista prèvia de la comparticiĂł social"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Per a continuar utilitzant la caracterĂ­stica IA del Yoast, reduĂŻu la freqüència de les vostres peticions. El nostre %1$sarticle d'ajuda%2$s proporciona orientaciĂł sobre la planificaciĂł efectiva i l'ajust de les vostres peticions per a un flux de treball optimitzat."],"You've reached the Yoast AI rate limit.":["Heu arribat al lĂ­mit de la taxa d'intel·ligència artificial del Yoast."],"Allow":["Permet"],"Deny":["Denega"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Per veure aquest vĂ­deo, heu de permetre que %1$s carregui vĂ­deos incrustats de %2$s."],"Text generated by AI may be offensive or inaccurate.":["El text generat per la IA pot ser ofensiu o inexacte."],"(Opens in a new browser tab)":["(S'obre en una nova pestanya del navegador)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Accelereu el flux de treball amb IA generativa. Obteniu suggeriments de descripciĂł i tĂ­tol d'alta qualitat per a la vostra cerca i aparença social. %1$sMĂ©s informaciĂł%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Genera descripcions de tĂ­tols amb Yoast AI!"],"New to %1$s":["Nou a %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Aprovo les %1$sPolĂ­tiques de Servei%2$s %3$sPolĂ­tica de Privadesa%4$s del servei d'intel·ligència artificial de Yoast. Això inclou el consentiment per a la recopilaciĂł i l'Ăşs de dades per millorar l'experiència de l'usuari."],"Start generating":["Inicia la generaciĂł"],"Yes, revoke consent":["SĂ­, revoca el consentiment"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Revocant el vostre consentiment, ja no tindreu accĂ©s a les funcions d'IA del Yoast. Segur que voleu revocar el vostre consentiment?"],"Something went wrong, please try again later.":["Alguna cosa ha anat malament, torneu-ho a provar mĂ©s tard."],"Revoke AI consent":["Revoca el consentiment de la IA"],"AI title generator":["Generador del tĂ­tol per IA"],"AI description generator":["Generador de la descripciĂł per IA"],"AI social title generator":["Generador de tĂ­tols socials per IA"],"AI social description generator":["Generador de la descripciĂł social per IA"],"Dismiss":["Descarta"],"Don’t show again":["No tornis a mostrar"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sRecomanaciĂł%2$s: Milloreu la precisiĂł dels tĂ­tols generats per IA escrivint mĂ©s contingut a la pĂ gina."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sRecomanaciĂł%2$s: Milloreu la precisiĂł de les descripcions d'IA generades escrivint mĂ©s contingut a la pĂ gina."],"Try again":["Prova de nou"],"Social preview":["PrevisualitzaciĂł social"],"Desktop result":["Resultat a l'escriptori"],"Mobile result":["Resultat al mòbil"],"Apply %s description":[],"Apply %s title":[],"Next":["SegĂĽent"],"Previous":["Anterior"],"Generate 5 more":["Genera 5 mĂ©s"],"Google preview":["Vista prèvia del Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["A causa de les estrictes directrius ètiques de l'OpenAI i les %1$spolĂ­tiques d'Ăşs%2$s, no podem generar tĂ­tols SEO per a la vostra pĂ gina. Si teniu la intenciĂł d'utilitzar IA, eviteu l'Ăşs de contingut explĂ­cit, violent o sexualment explĂ­cit. %3$sLlegiu mĂ©s sobre com configurar la pĂ gina per assegurar-vos que obteniu els millors resultats amb la IA%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["A causa de les estrictes directrius ètiques de l'OpenAI i les %1$spolĂ­tiques d'Ăşs%2$s, no podem generar metadescripcions per a la vostra pĂ gina. Si teniu la intenciĂł d'utilitzar IA, eviteu l'Ăşs de contingut explĂ­cit, violent o sexualment explĂ­cit. %3$sLlegiu mĂ©s sobre com configurar la pĂ gina per assegurar-vos que obteniu els millors resultats amb la IA%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Per accedir a aquesta funciĂł, necessiteu una subscripciĂł activa %1$s. %3$sactiveu la vostra subscripciĂł a %2$s%4$s o %5$sobtingueu una nova subscripciĂł %1$s%6$s. DesprĂ©s, feu clic al botĂł per actualitzar aquesta pĂ gina perquè la caracterĂ­stica funcioni correctament, el qual pot trigar fins a 30 segons."],"Refresh page":["Actualitza la pĂ gina"],"Not enough content":["No hi ha prou contingut"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Torneu-ho a provar mĂ©s tard. Si la incidència persisteix, %1$scontacteu el nostre equip de suport%2$s!"],"Something went wrong":["Alguna cosa ha anat malament"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Sembla que s'ha esgotat el temps d'espera de la connexiĂł. Comproveu la connexiĂł a Internet i torneu-ho a provar mĂ©s tard. Si la incidència persisteix, %1$scontacteu el nostre equip de suport%2$s"],"Connection timeout":["Temps d'espera de la connexiĂł"],"Use AI":["Utilitza la IA"],"Close modal":["Tanca la finestra"],"Learn more about AI (Opens in a new browser tab)":["MĂ©s informaciĂł sobre la IA (s'obre en una pestanya nova del navegador)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTĂ­tol%3$s: La pĂ gina encara no tĂ© tĂ­tol. %2$sAfegiu-ne un%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTĂ­tol%2$s: La pĂ gina tĂ© tĂ­tol. Ben fet!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribuciĂł de la frase clau%3$s %2$sIncloeu la vostra frase clau o sinònims al text de manera que puguem comprovar la distribuciĂł de frases clau%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sDistribuciĂł de la frase clau%2$s: bona feina!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuciĂł de la frase clau%3$s: Desigual. Algunes parts del text no contenen la frase clau ni els seus sinònims. %2$sDistribuĂŻu-los de manera mĂ©s uniforme%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuciĂł de frases clau%3$s: Molt desigual. Grans parts del text no contenen la frase clau o els seus sinònims. %2$sDistribuĂŻu-les de manera mĂ©s uniforme%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: No utilitzeu massa paraules complexes, el qual facilita la lectura del text. Bona feina!"],"Word complexity":["Complexitat de les paraules"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s de les paraules del text es consideren complexes. %3$sFeu servir paraules mĂ©s curtes i familiars per millorar la llegibilitat%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAlineament%3$s: Hi ha una secciĂł llarga amb text centrat. %2$sRecomanem alinear-lo a l'esquerra%3$s.","%1$sAlineament%3$s: Hi ha %4$s seccions llargues amb text centrat. %2$sRecomanem alinear-lo a l'esquerra%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAlineament%3$s: Hi ha una secciĂł llarga amb text centrat. %2$sRecomanem alinear-lo a la dreta%3$s.","%1$sAlineament%3$s: Hi ha %4$s seccions llargues amb text centrat. %2$sRecomanem alinear-les a la dreta%3$s."],"Select image":["Seleccioneu una imatge"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Potser ni ho sabeu, però poden haver-hi pĂ gines al vostre lloc que no tenen cap enllaç. Això Ă©s un problema de SEO, però Ă©s difĂ­cil per als motors de cerca trobar pĂ gines que no reben cap enllaç. AixĂ­, Ă©s mĂ©s complicat que s'indexin correctament. Anomenem aquestes pĂ gines contingut orfe. En aquest entrenament, trobarem contingut orfe del vostre lloc i us guiarem en com afegir enllaços cap a ell, per tal que tinguen l'oportunitat de ser indexades."],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["És l'hora d'afegir alguns enllaços. A baix, trobareu una llista dels articles orfes. Baix de cadascun, hi ha suggeriments per a pĂ gines relacionades de les quals podeu afegir enllaços. Quan afegiu l'enllaç, assegureu-vos de fer-ho en una frase rellevant a l'article orfe. Continueu afegint enllaços per a cadascun dels articles orfes fins que estigueu satisfet amb la quantitat d'enllaços que hi apunten."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["És l'hora d'afegir enllaços! Baix podeu veure una llista amb el contingut fonamental. Baix de cada peça de contingut, hi ha suggeriments per a articles dels quals podrĂ­eu afegir un enllaç. Quan l'afegiu, assegureu-vos de fer-ho en una frase rellevant a l'article fonamental. Continueu afegint enllaços des de tants articles relacionats com vulgueu, fins que els articles fonamentals tinguen la majoria d'enllaços interns apuntant a ells."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Alguns articles al vostre lloc web sĂłn %1$sels%2$smĂ©s importants. Responen a les preguntes de la gent i solucionen els seus problemes. Aleshores, mereixen estar ben posicionats! A %3$s, els anomenem articles fonamentals. Una de les maneres de posicionar-los Ă©s apuntar-los amb prou enllaços. MĂ©s enllaços indiquen als motors de cerca que els articles sĂłn importants i valuosos. En aquesta tasca, us ajudarem a afegir articles fonamentals."],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Quan afegiu una mica mĂ©s de contingut, serem capaços d'informar-vos del nivell de formalitat del text."],"Overall, your text appears to be %1$s%3$s%2$s.":["En resum, el text pareix %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["La integraciĂł amb Zappier s'eliminarĂ  de %1$s en la versiĂł 20.7 (data de llançament 9 de maig). Si teniu preguntes, poseu-vos en contacte amb nosaltres a %2$s."],"Maximum heading level":["Nivell mĂ xim de capçalera"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Heu deshabilitat els suggeriments dels enllaços, que Ă©s necessari perquè funcionin els enllaços relacionats. Si voleu afegir enllaços relacionats, aneu a Funcionalitats del lloc i habiliteu els suggeriments d'enllaços."],"Schema":["Esquema"],"Meta tags":["Etiquetes meta"],"Not available":["No estĂ  disponible"],"Checks":["Comprovacions"],"Focus Keyphrase":["Frase clau objectiu"],"Good":["Bo"],"No index":["No index"],"Front-end SEO inspector":["Inspector SEO de la interfĂ­cie"],"Focus keyphrase not set":["No s'ha definit la frase clau objectiu"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Una vegada publicat el vostre Zap al tauler de %s, podeu comprovar si estĂ  actiu i comprovat al vostre lloc."],"Reset API key":["Reinicia la clau API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Esteu connectat a %s utilitzant la segĂĽent clau API. Si voleu reconnectar-vos amb una clau API diferent podeu restablir la clau baix."],"Your API key":["La vostra clau API"],"Go to your %s dashboard":["Aneu al tauler del %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["S'heu connectat correctament amb %1$s. Per gestionar el vostre Zap, visiteu el tauler del %2$s."],"Your %s dashboard":["El vostre tauler del %s"],"Verify connection":["Comproveu la connexiĂł"],"Verify your connection":["Comproveu la connexiĂł"],"Create a Zap":["Crea un Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Identifiqueu-vos al vostre compte del %1$s i comenceu a crear el primer Zap! Tingueu en compte que nomĂ©s podeu crear 1 Zap amb un esdeveniment llançador des del %2$s. Amb aquest Zap podeu triar una o mĂ©s accions."],"%s API key":["Clau API del %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Necessiteu aquesta clau API desprĂ©s al %s quan estigueu configurant el vostre Zap."],"Copy your API key":["Copieu la clau API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Per a configurar la connexiĂł, assegureu-vos que copieu la clau API mostrada baix i utilitzeu-la per a crear i engegar un Zap al vostre compte de %s."],"Manage %s settings":["Gestioneu els parĂ metres del %s"],"Connect to %s":["Connecta al %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Tingueu en compte: Perquè aquest entrenament funcioni bĂ©, heu d'executar l'eina d'optimitzaciĂł de dades SEO. Els administradors poden executar això sota %1$sSEO > Eines%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Heu afegit enllaços als vostres articles orfes i heu netejat els que no eren rellevants. Bona feina! Ara doneu ullada al resum que hi ha a continuaciĂł i celebra l'aconseguit!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Examineu de forma crĂ­tica el contingut d'aquesta llista i feu les actualitzacions necessĂ ries. Si necessiteu ajuda actualitzant, tenim una %1$sentrada al blog molt Ăştil que pot guiar-vos completament%2$s (feu clic per a obrir-lo en una pestanya nova)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sNecessiteu mĂ©s orientaciĂł? Hem cobert cada pas amb mĂ©s detalls a la guia %2$sCom utilitzar %7$s per exercicis de contingut orfe%3$s%4$s%5$s%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Acabeu de fer el millor contingut fĂ cil de trobar, i mĂ©s probable d'indexar-se bĂ©! AixĂ­ Ă©s! De tant en tant, recordeu comprovar si el vostre contingut fonamental tĂ© prou enllaços!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Mireu la llista inferior. TĂ© el vostre contingut fonamental (marcat amb %1$s) la quantitat mĂ©s gran d'enllaços interns apuntant cap a ell? Feu clic al botĂł \"Optimitza\" si penseu que algun article necessita mĂ©s enllaços. Això mourĂ  l'article al pròxim pas."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Tenen la bombeta verda tots els articles de contingut fonamental? Per a obtenir els millors resultats, considereu editar els que no."],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Amb quins articles voleu situar-vos al mĂ©s alt? Quins sĂłn els que la vostra audiència trobarĂ  mĂ©s complets i Ăştils? Feu clic a la fletxa apuntant cap avall i cerqueu articles que encaixen amb eixe criteri. Marcarem automĂ ticament els articles que seleccioneu com a contingut fonamental."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sNecessiteu mĂ©s ajuda? Hem cobert cada pas en mĂ©s detall a %2$sCom utilitzar l'exercici de contingut fonamental del %7$s%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Taula de continguts del Yoast"],"Yoast Related Links":["Enllaços relacionats del Yoast"],"Finish optimizing":["Acabeu l'optimitzaciĂł"],"You've finished adding links to this article.":["Heu acabat d'afegir enllaços a aquest article."],"Optimize":["Optimitza"],"Added to next step":["Afegit al segĂĽent pas"],"Choose cornerstone articles...":["Trieu els articles fonamentals..."],"Loading data...":["S'estan carregant les dades..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Encara no heu netejat ni actualitzat cap article utilitzant aquest resum. Un cop ho feu, apareixerĂ  un resum del vostre treball aquĂ­."],"Skipped":["Omesos"],"Hidden from search engines.":["Ocult dels motors de cerca."],"Removed":["Eliminada"],"Improved":["Millorat"],"Resolution":["ResoluciĂł"],"Loading redirect options...":["S'estan carregant les opcions de redirecciĂł..."],"Remove and redirect":["Suprimeix i redirecciona"],"Custom url:":["URL personalitzat:"],"Related article:":["Article relacionat:"],"Home page:":["PĂ gina d'inici:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Esteu a punt d'eliminar %1$s%2$s%3$s. Per evitar 404 al vostre lloc, heu de redirigir-lo a una altra pĂ gina. On voleu redirigir-la?"],"SEO Workout: Remove article":["Treball SEO: Elimina l'article"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Tot estĂ  molt bĂ©! No hem trobat cap article al vostre lloc que tingui mĂ©s de sis mesos i que rebi massa pocs enllaços. Torneu aquĂ­ mĂ©s tard per a obtenir suggeriments de neteja nous!"],"Hide from search engines":["Oculta dels motors de cerca"],"Improve":["Millora"],"Are you sure you wish to hide this article from search engines?":["Esteu segur que voleu amagar aquest article dels motors de cerca?"],"Action":["AcciĂł"],"You've hidden this article from search engines.":["Heu amagat aquest article als motors de cerca."],"You've removed this article.":["Heu eliminat aquest article."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Actualment no heu seleccionat cap article per millorar. Seleccioneu alguns articles orfes en els passos anteriors per afegir enllaços i us mostrarem suggeriments d'enllaç aquĂ­."],"Loading link suggestions...":["S'estan carregant els suggeriments d'enllaços..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["No hem trobat cap suggeriment per a aquest article, però, per descomptat, encara podeu afegir enllaços a articles que penseu que estan relacionats."],"Skip":["Salta"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Encara no heu seleccionat cap article per a aquest pas. Pot fer-ho en el pas anterior."],"Is it up-to-date?":["EstĂ  actualitzat?"],"Last Updated":["Darrera actualitzaciĂł"],"You've moved this article to the next step.":["Heu mogut aquest article al segĂĽent pas."],"Unknown":["Desconegut"],"Clear summary":["Neteja el resum"],"Add internal links towards your orphaned articles.":["Afegiu enllaços interns als vostres articles orfes."],"Should you update your article?":["HaurĂ­eu d'actualitzar el vostre article?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["El vostre lloc pot contenir molts continguts que s'han creat una vegada i mai s'han tornat a mirar des d'aquell moment. És important revisar-los i preguntar-vos si aquest contingut encara Ă©s rellevant per al vostre lloc. Hauria de millorar-la o eliminar-la?"],"Start: Love it or leave it?":["Comença: l'estimeu o l'abandoneu?"],"Clean up your unlinked content to make sure people can find it":["Neteja el contingut no enllaçat per assegurar-vos que la gent el pot trobar"],"I've finished this workout":["He acabat la feina"],"Reset this workout":["Restableix aquesta feina"],"Well done!":["Ben fet!"],"Add internal links towards your cornerstones":["Afegeix enllaços interns als articles fonamentals."],"Check the number of incoming internal links of your cornerstones":["Comproveu el nombre d'enllaços interns entrants als articles fonamentals"],"Start: Choose your cornerstones!":["Inici: Trieu el vostre contingut fonamental!"],"The cornerstone approach":["L'enfocament de la pedra angular"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Tingueu en compte: Perquè aquest entrenament funcioni bĂ© i per oferir-vos enllaçar suggeriments, heu d'executar l'eina d'optimitzaciĂł de dades SEO. Els administradors poden executar això sota %1$sSEO > Eines%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["AtenciĂł: L'administrador ha desactivat la funcionalitat de contingut fonamental als parĂ metres de SEO. Si voleu fer aquest entrenament, s'ha d'activar."],"I've finished this step":["He acabat aquest pas"],"Revise this step":["Revisa aquest pas"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["No hem pogut trobar enllaços interns a les vostres pĂ gines. O encara no heu afegit cap enllaç intern al vostre contingut, o Yoast SEO no els ha indexat. Podeu fer que Yoast SEO indexi els vostres enllaços executant l'optimitzaciĂł de dades SEO sota les SEO > Eines."],"Incoming links":["Enllaços entrants"],"Edit to add link":["Editeu per afegir un enllaç"],"%s incoming link":["%1$s enllaç entrant","%1$s enllaços entrants"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Actualment no teniu cap article marcat com a fonamental. Quan marqueu els articles com a contingut fonamental, es mostraran aquĂ­."],"Focus keyphrase":["Frase clau objectiu"],"Article":["Article"],"Readability score":["PuntuaciĂł de llegibilitat"],"SEO score":["PuntuaciĂł SEO"],"Copy failed":["La còpia ha fallat"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Millora la classificaciĂł per a tot el contingut fonamental mitjançant l'Ăşs d'aquest %1$stasca gradual!%2$s"],"Rank with articles you want to rank with":["Ordena amb articles amb els quals voleu classificar"],"Descriptive text":["Text descriptiu"],"Show the descriptive text":["Mostra el text descriptiu"],"Show icon":["Mostra la icona"],"Yoast Estimated Reading Time":["Temps de lectura estimat de Yoast"],"Shows an estimated reading time based on the content length.":["Mostra un temps de lectura estimat basat en la longitud del contingut."],"reading time":["temps de lectura"],"content length":["longitud del contingut"],"Estimated reading time:":["Temps de lectura estimat:"],"minute":["minut","minuts"],"Settings":["ParĂ metres"],"OK":["D'acord"],"Close":["Tanca"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["La primera soluciĂł SEO realment tot en un per a WordPress, incloent-hi anĂ lisi del contingut de la pĂ gina, mapes del lloc XML i molt mĂ©s."],"Type":["Tipus"],"Team Yoast":["Equip Yoast"],"Orphaned content":["Contingut orfe"],"Synonyms":["Sinònims"],"Internal linking suggestions":["suggeriments d'enllaços interns"],"Enter a related keyphrase to calculate the SEO score":["IntroduĂŻu una frase clau per a calcular la puntuaciĂł SEO"],"Related keyphrase":["Paraula clau relacionada"],"Add related keyphrase":["Afegeix una frase clau relacionada"],"Analysis results":["Resultats de l'anĂ lisi:"],"Help on choosing the perfect keyphrase":["Ajuda triant la frase clau perfecta"],"Help on keyphrase synonyms":["Ajuda amb els sinònims de frases clau"],"Keyphrase":["Frase clau"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["URL nou:{{link}}%s{{/link}}"],"Undo":["DesfĂ©s"],"Redirect created":["S'ha creat una redirecciĂł"],"%s just created a redirect from the old URL to the new URL.":["%s acaba de crear una redirecciĂł des de l'URL vell cap a l'URL nou."],"Old URL: {{link}}%s{{/link}}":["URL vell: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Sinònims de frases clau"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["S'ha produĂŻt un error: l'anĂ lisi SEO Prèmium no estĂ  funcionant com s'esperava. {{activateLink}}activeu la vostra subscripciĂł a MyYoast{{/activateLink}} i desprĂ©s {{reloadButton}}recarregueu aquesta pĂ gina{{/reloadButton}} per a fer-la funcionar com cal."],"seo":["seo"],"internal linking":["enllaç intern"],"site structure":["estructura del lloc"],"We could not find any relevant articles on your website that you could link to from your post.":["No hem pogut trobar cap article rellevant a la pĂ gina web que pugui enllaçar des de l'entrada."],"Load suggestions":["Carrega els suggeriments"],"Refresh suggestions":["Refresca els suggeriments"],"Write list…":["Escriviu la llista..."],"Adds a list of links related to this page.":["Afegeix una llista d'enllaços relacionats amb aquesta pĂ gina."],"related posts":["entrades relacionades"],"related pages":["pĂ gines relacionades"],"Adds a table of contents to this page.":["Afegeix una taula de continguts a aquesta pĂ gina."],"links":["enllaços"],"toc":["taula de continguts"],"Copy link":["Copia l'enllaç"],"Copy link to suggested article: %s":["Copia l'enllaç a l'article suggerit: %s"],"Add a title to your post for the best internal linking suggestions.":["Afegiu un tĂ­tol a la vostra entrada per als millors suggeriments d'enllaços interns."],"Add a metadescription to your post for the best internal linking suggestions.":["Afegiu una descripciĂł de la vostra entrada per als millors suggeriments d'enllaços interns."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Afegiu un tĂ­tol i una descripciĂł de la vostra entrada per als millors suggeriments d'enllaços interns."],"Also, add a title to your post for the best internal linking suggestions.":["A mĂ©s, afegiu un tĂ­tol a la vostra entrada per als millors suggeriments d'enllaços interns."],"Also, add a metadescription to your post for the best internal linking suggestions.":["A mĂ©s, afegiu una descripciĂł de la vostra entrada per als millors suggeriments d'enllaços interns."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["A mĂ©s, afegiu un tĂ­tol i una descripciĂł de la vostra entrada per als millors suggeriments d'enllaços interns."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Una vegada afegiu una mica mĂ©s de text, us donarem una llista de continguts relacionats als quals podeu enllaçar a la vostra entrada."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Per millorar l'estructura del vostre lloc web, considereu enllaçar altres entrades o pĂ gines rellevants."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Tarda uns pocs segons a mostrar-vos una llista de contingut relacionat que podrĂ­eu enllaçar. Els suggeriments es mostraran aquĂ­ tan aviat com els tinguem."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Llegiu la nostra guia sobre els enllaços interns per a SEO{{/a}} per aprendre mĂ©s."],"Copied!":["S'ha copiat!"],"Not supported!":["No Ă©s compatible!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Esteu intentant utilitzar mĂşltiples frases clau relacionades? Heu d'afegir-les per separat."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["La frase clau Ă©s massa llarga. NomĂ©s pot tenir fins a 191 carĂ cters."],"Add as related keyphrase":["Afegeix com a frase clau relacionada"],"Added!":["S'ha afegit!"],"Remove":["Elimina"],"Table of contents":["Taula de continguts"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Hem d'optimitzar les dades SEO del vostre lloc web per poder oferir-vos els millors %1$ssuggeriments d'enllaços%2$s. %3$sComença l'optimitzaciĂł de dades SEO%4$s"],"Create a Zap in %s":["Crea un Zap a %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-cs_CZ.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-cs_CZ.json new file mode 100644 index 00000000..32dc363d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-cs_CZ.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;","lang":"cs_CZ"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["PoĹľadavek se vrátil s následujĂ­cĂ­ chybou: \"%s\""],"X share preview":["Náhled sdĂ­lenĂ­ na X"],"AI X title generator":["Generátor AI názvĹŻ na X"],"AI X description generator":["Generátor AI popisĹŻ na X"],"X preview":["Náhled X"],"Please enter a valid focus keyphrase.":["Zadejte platnou klĂ­ÄŤovou frázi pro zaměřenĂ­."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Chcete-li tuto funkci používat, musĂ­ bĂ˝t váš web veĹ™ejnÄ› přístupnĂ˝. To platĂ­ jak pro testovacĂ­ weby, tak pro případy, kdy je vaše rozhranĂ­ REST API chránÄ›no heslem. Zkontrolujte, zda je váš web veĹ™ejnÄ› přístupnĂ˝, a zkuste to znovu. Pokud problĂ©m pĹ™etrvává, obraĹĄte se na náš tĂ˝m podpory %1$skontakt%2$s."],"Yoast AI cannot reach your site":["UmÄ›lá inteligence Yoast se na váš web nedostane"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Pro přístup k tĂ©to funkci potĹ™ebujete aktivnĂ­ pĹ™edplatnĂ© %2$s a %3$s. ProsĂ­m %5$saktivujte si pĹ™edplatnĂ© v %1$s%6$s nebo %7$szĂ­skejte novĂ© %4$s%8$s. PotĂ© obnovte tuto stránku, aby funkce správnÄ› fungovala, coĹľ mĹŻĹľe trvat aĹľ 30 sekund."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["Generátor názvĹŻ AI vyĹľaduje, aby byla pĹ™ed pouĹľitĂ­m povolena analĂ˝za SEO. Chcete-li ji povolit, pĹ™ejdÄ›te do %2$sFunkce stránky %1$s%3$s, zapnÄ›te SEO analĂ˝zu a kliknÄ›te na tlaÄŤĂ­tko \"UloĹľit zmÄ›ny\". Pokud je SEO analĂ˝za ve vašem uĹľivatelskĂ©m profilu ve WordPressu zakázána, pĹ™istupte do svĂ©ho profilu a povolte ji tam. Pokud nemáte přístup k tÄ›mto nastavenĂ­m, obraĹĄte se na svĂ©ho správce."],"Social share preview":["Náhled sdĂ­lenĂ­ v sociálnĂ­ch sĂ­tĂ­ch"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Chcete-li funkci Yoast AI používat i nadále, sniĹľte frekvenci svĂ˝ch poĹľadavkĹŻ. Náš ÄŤlánek %1$sposkytuje návod%2$s, jak efektivnÄ› plánovat a rozvrhovat poĹľadavky pro optimalizaci pracovnĂ­ho postupu."],"You've reached the Yoast AI rate limit.":["Dosáhli jste limitu rychlosti Yoast AI."],"Allow":["Povolit"],"Deny":["OdmĂ­tnout"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Chcete-li zobrazit toto video, musĂ­te povolit %1$s naÄŤĂ­tat vloĹľená videa z %2$s."],"Text generated by AI may be offensive or inaccurate.":["Text generovanĂ˝ AI mĹŻĹľe bĂ˝t urážlivĂ˝ nebo nepĹ™esnĂ˝."],"(Opens in a new browser tab)":["(OtevĹ™enĂ­ v novĂ© záloĹľce)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Zrychlete svĹŻj pracovnĂ­ postup pomocĂ­ generativnĂ­ AI. ZĂ­skejte vysoce kvalitnĂ­ návrhy názvĹŻ a popisĹŻ pro vyhledávánĂ­ a vzhled na sociálnĂ­ch sĂ­tĂ­ch. %1$sZjistÄ›te vĂ­ce%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Generujte názvy a popisy pomocĂ­ Yoast AI!"],"New to %1$s":["Novinka na %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["SouhlasĂ­m s %1$spodmĂ­nky sluĹľby%2$s & %3$szásady ochrany osobnĂ­ch ĂşdajĹŻ%4$s sluĹľby Yoast AI. To zahrnuje souhlas se shromažďovánĂ­m a používánĂ­m ĂşdajĹŻ za účelem zlepšenĂ­ uĹľivatelskĂ©ho komfortu."],"Start generating":["ZaÄŤnÄ›te generovat"],"Yes, revoke consent":["Ano, odvolánĂ­ souhlasu"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["OdvolánĂ­m souhlasu jiĹľ nebudete mĂ­t přístup k funkcĂ­m Yoast AI. Jste si jisti, Ĺľe chcete svĹŻj souhlas odvolat?"],"Something went wrong, please try again later.":["NÄ›co se pokazilo, zkuste to pozdÄ›ji."],"Revoke AI consent":["OdvolánĂ­ souhlasu AI"],"AI title generator":["Generátor názvĹŻ AI"],"AI description generator":["Generátor popisu AI"],"AI social title generator":["Generátor sociálnĂ­ch názvĹŻ pĹ™es AI"],"AI social description generator":["Generátor sociálnĂ­ch popisĹŻ pĹ™es AI"],"Dismiss":["Zavřít"],"Don’t show again":["Znovu se neukázat"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTip%2$s: Zlepšete pĹ™esnost vygenerovanĂ˝ch názvĹŻ AI tĂ­m, Ĺľe na stránku napíšete vĂ­ce obsahu."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTip%2$s: Zlepšete pĹ™esnost vygenerovanĂ˝ch popisĹŻ AI tĂ­m, Ĺľe na stránku napíšete vĂ­ce obsahu."],"Try again":["Zkus to znovu"],"Social preview":["SociálnĂ­ náhled"],"Desktop result":["na poÄŤĂ­taÄŤi"],"Mobile result":["na mobilu"],"Apply %s description":[],"Apply %s title":[],"Next":["Další"],"Previous":["PĹ™edchozĂ­"],"Generate 5 more":["VytvoĹ™it dalších 5"],"Google preview":["Náhled příspÄ›vku v Googlu"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Vzhledem k přísnĂ˝m etickĂ˝m pravidlĹŻm a zásadám %1$spoužívánĂ­%2$s agentury OpenAI nemĹŻĹľeme pro vaši stránku generovat SEO titulky. Pokud máte v Ăşmyslu používat UI, vyvarujte se používánĂ­ explicitnĂ­ho, násilnĂ©ho nebo sexuálnÄ› explicitnĂ­ho obsahu. %3$sPĹ™eÄŤtÄ›te si další informace o tom, jak stránku nakonfigurovat, abyste s AI%4$s dosáhli co nejlepších vĂ˝sledkĹŻ."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Vzhledem k přísnĂ˝m etickĂ˝m pravidlĹŻm a zásadám %1$spoužívánĂ­%2$s agentury OpenAI nemĹŻĹľeme generovat meta popisy pro vaši stránku. Pokud máte v Ăşmyslu používat UI, vyvarujte se používánĂ­ explicitnĂ­ho, násilnĂ©ho nebo sexuálnÄ› explicitnĂ­ho obsahu. %3$sPĹ™eÄŤtÄ›te si další informace o tom, jak stránku nakonfigurovat, abyste s AI%4$s dosáhli co nejlepších vĂ˝sledkĹŻ."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Pro přístup k tĂ©to funkci potĹ™ebujete aktivnĂ­ pĹ™edplatnĂ© %1$s. ProsĂ­m %3$saktivujte svĂ© pĹ™edplatnĂ© v %2$s%4$s nebo %5$szĂ­skejte novĂ© pĹ™edplatnĂ© %1$s%6$s. PotĂ© kliknÄ›te na tlaÄŤĂ­tko pro obnovenĂ­ tĂ©to stránky, aby funkce správnÄ› fungovala, coĹľ mĹŻĹľe trvat aĹľ 30 sekund."],"Refresh page":["Obnovit stránku"],"Not enough content":["NedostateÄŤnĂ˝ obsah"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Zkuste to pozdÄ›ji. Pokud problĂ©m pĹ™etrvává, %1$skontaktujte náš tĂ˝m podpory%2$s!"],"Something went wrong":["NÄ›co se pokazilo"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Zdá se, Ĺľe došlo k ÄŤasovĂ©mu limitu pĹ™ipojenĂ­. Zkontrolujte svĂ© internetovĂ© pĹ™ipojenĂ­ a zkuste to pozdÄ›ji. Pokud problĂ©m pĹ™etrvává, %1$skontaktujte náš tĂ˝m podpory%2$s"],"Connection timeout":["ÄŚasovĂ˝ limit pĹ™ipojenĂ­"],"Use AI":["Použít umÄ›lou inteligneci"],"Close modal":["Zavřít modálnĂ­"],"Learn more about AI (Opens in a new browser tab)":["Další informace o AI (OtevĹ™e se v novĂ© záloĹľce prohlĂ­ĹľeÄŤe)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sNázev%3$s: Vaše stránka zatĂ­m nemá název. %2$sPĹ™idejte%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sNázev%2$s: Vaše stránka má název. Dobrá práce!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sVĂ˝skyt klĂ­ÄŤovĂ˝ch frázĂ­%3$s: %2$sVloĹľte vaše klĂ­ÄŤovĂ© fráze nebo synonyma do textu abychom mohli zkontrolovat ÄŤetnost vĂ˝skytu fráze%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sRozmĂ­stÄ›nĂ­ klĂ­ÄŤovĂ© fráze%2$s: Dobrá práce!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sRozmĂ­stÄ›nĂ­ klĂ­ÄŤovĂ© fráze%3$s: NerovnomÄ›rnĂ©. NÄ›kterĂ© části textu neobsahujĂ­ klĂ­ÄŤová slova nebo jejich synonyma. %2$sRozmĂ­stÄ›te je rovnomÄ›rnÄ›ji%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sRozmĂ­stÄ›nĂ­ klĂ­ÄŤovĂ© fráze%3$s: Velmi nerovnomÄ›rnĂ©. VelkĂ© části textu neobsahujĂ­ klĂ­ÄŤová slova nebo jejich synonyma. %2$sRozmĂ­stÄ›te je rovnomÄ›rnÄ›ji%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Nepoužíváte příliš mnoho sloĹľitĂ˝ch slov, coĹľ usnadĹuje ÄŤtenĂ­ textu. Dobrá práce!"],"Word complexity":["SlovnĂ­ sloĹľitost"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s slov ve vašem textu jsou povaĹľována za sloĹľitá. %3$sZkuste používat kratší a známÄ›jší slova ke zlepšenĂ­ ÄŤitelnosti%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sZarovnánĂ­%3$s: Je zde dlouhĂ˝ Ăşsek textu zarovnanĂ©ho na stĹ™ed. %2$sDoporuÄŤujeme zarovnat vlevo%3$s.","%1$sZarovnánĂ­%3$s: Jsou zde %4$s dlouhĂ© Ăşseky textu zarovnanĂ© na stĹ™ed. %2$sDoporuÄŤujeme je zarovnat vlevo%3$s.","%1$sZarovnánĂ­%3$s: Jsou zde %4$s dlouhĂ© Ăşseky textu zarovnanĂ© na stĹ™ed. %2$sDoporuÄŤujeme je zarovnat vlevo%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sZarovnánĂ­%3$s: Je zde dlouhĂ˝ Ăşsek textu zarovnanĂ©ho na stĹ™ed. %2$sDoporuÄŤujeme jej zarovnat doprava%3$s.","%1$sZarovnánĂ­%3$s: Jsou zde %4$s dlouhĂ© Ăşseky textu zarovnanĂ© na stĹ™ed. %2$sDoporuÄŤujeme je zarovnat doprava%3$s.","%1$sZarovnánĂ­%3$s: Jsou zde %4$s dlouhĂ© Ăşseky textu zarovnanĂ© na stĹ™ed. %2$sDoporuÄŤujeme je zarovnat doprava%3$s."],"Select image":["Vybrat obrázek"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["MoĹľná o tom ani nevĂ­te, ale na vašem webu mohou bĂ˝t stránky, na kterĂ© nevedou žádnĂ© odkazy. To je problĂ©m SEO, protoĹľe pro vyhledávaÄŤe je obtĂ­ĹľnĂ© najĂ­t stránky, na kterĂ© nevedou žádnĂ© odkazy. Je tedy pro nÄ› těžší je zaĹ™adit. TÄ›mto stránkám říkáme osiĹ™elĂ˝ obsah. V tomto trĂ©ninku najdeme osiĹ™elĂ˝ obsah na vašem webu a poradĂ­me vám, jak na nÄ›j rychle pĹ™idat odkazy, aby mÄ›l šanci zĂ­skat pozici!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Je ÄŤas pĹ™idat nÄ›jakĂ© odkazy! NĂ­Ĺľe vidĂ­te seznam s vašimi osiĹ™elĂ˝mi ÄŤlánky. Pod kaĹľdĂ˝m z nich jsou uvedeny návrhy souvisejĂ­cĂ­ch stránek, na kterĂ© byste mohli pĹ™idat odkaz. PĹ™i pĹ™idávánĂ­ odkazu se ujistÄ›te, Ĺľe je vloĹľen do relevantnĂ­ vÄ›ty souvisejĂ­cĂ­ s vaším osiĹ™elĂ˝m ÄŤlánkem. PokraÄŤujte v pĹ™idávánĂ­ odkazĹŻ na jednotlivĂ© osiĹ™elĂ© ÄŤlánky, dokud nebudete spokojeni s mnoĹľstvĂ­m odkazĹŻ, kterĂ© na nÄ› směřujĂ­."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Je ÄŤas pĹ™idat nÄ›jakĂ© odkazy! NĂ­Ĺľe vidĂ­te seznam s vašimi základnĂ­mi kameny. Pod kaĹľdĂ˝m základnĂ­m kamenem jsou uvedeny návrhy ÄŤlánkĹŻ, ze kterĂ˝ch byste mohli pĹ™idat odkaz. PĹ™i pĹ™idávánĂ­ odkazu se ujistÄ›te, Ĺľe jste ho vloĹľili do relevantnĂ­ vÄ›ty vztahujĂ­cĂ­ se k vašemu stěžejnĂ­mu ÄŤlánku. PĹ™idávejte odkazy z tolika souvisejĂ­cĂ­ch ÄŤlánkĹŻ, kolik potĹ™ebujete, dokud na vaše základnĂ­ kameny nebude směřovat co nejvĂ­ce internĂ­ch odkazĹŻ."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["NÄ›kterĂ© ÄŤlánky na vašem webu jsou %1$snejdĹŻleĹľitÄ›jší%2$s. OdpovĂ­dajĂ­ lidem na otázky a Ĺ™eší jejich problĂ©my. TakĹľe si zaslouží hodnocenĂ­! V %3$s nazĂ˝váme tyto základnĂ­ ÄŤlánky. JednĂ­m ze zpĹŻsobĹŻ, jak je zaĹ™adit, je umĂ­stit na nÄ› dostatek odkazĹŻ. VĂ­ce odkazĹŻ signalizuje vyhledávaÄŤĹŻm, Ĺľe tyto ÄŤlánky jsou dĹŻleĹľitĂ© a cennĂ©. V tomto cviÄŤenĂ­ vám pomĹŻĹľeme pĹ™idat odkazy na vaše základnĂ­ ÄŤlánky!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Jakmile pĹ™idáte trochu vĂ­ce kopiĂ­, budeme schopni urÄŤit ĂşroveĹ formálnosti vašeho textu."],"Overall, your text appears to be %1$s%3$s%2$s.":["CelkovÄ› váš text vypadá jako %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Integrace Zapier bude z %1$s odstranÄ›na ve verzi 20.7 (datum vydánĂ­ 9. kvÄ›tna). V případÄ› jakĂ˝chkoli dotazĹŻ se obraĹĄte na %2$s."],"Maximum heading level":["MaximálnĂ­ ĂşroveĹ smÄ›ru"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Máte zakázanĂ© návrhy odkazĹŻ, kterĂ© jsou nutnĂ© pro fungovánĂ­ SouvisejĂ­cĂ­ch odkazĹŻ. Pokud chcete pĹ™idat SouvisejĂ­cĂ­ odkazy, pĹ™ejdÄ›te na Funkce webu a povolte Návrhy odkazĹŻ."],"Schema":["SchĂ©ma"],"Meta tags":["Meta štĂ­tky"],"Not available":["NenĂ­ dostupnĂ˝"],"Checks":["Kontroly"],"Focus Keyphrase":["Focus Keyphrase"],"Good":["DobrĂ©"],"No index":["ŽádnĂ˝ index"],"Front-end SEO inspector":["Front-end SEO inspektor"],"Focus keyphrase not set":["KlĂ­ÄŤová fráze ostĹ™enĂ­ nenĂ­ nastavena"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Jakmile svĹŻj Zap publikujete na svĂ© %s nástÄ›nce, mĹŻĹľete zkontrolovat, zda je aktivnĂ­ a pĹ™ipojenĂ˝ k vašemu webu."],"Reset API key":["Obnovit klĂ­ÄŤ API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["AktuálnÄ› jste pĹ™ipojeni k %s pomocĂ­ následujĂ­cĂ­ho klĂ­ÄŤe API. Pokud se chcete znovu pĹ™ipojit pomocĂ­ jinĂ©ho klĂ­ÄŤe API, mĹŻĹľete svĹŻj klĂ­ÄŤ resetovat nĂ­Ĺľe."],"Your API key":["Váš klĂ­ÄŤ API"],"Go to your %s dashboard":["PĹ™ejdÄ›te na svojĂ­ nástÄ›nku %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Jste ĂşspěšnÄ› pĹ™ipojeni k %1$s! Chcete-li spravovat svĹŻj Zap, navštivte svojĂ­ nástÄ›nku %2$s."],"Your %s dashboard":["Váše nástÄ›nka %s"],"Verify connection":["Ověřte pĹ™ipojenĂ­"],"Verify your connection":["Ověřte pĹ™ipojenĂ­"],"Create a Zap":["VytvoĹ™te Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["PĹ™ihlaste se ke svĂ©mu účtu %1$s a zaÄŤnÄ›te vytvářet svĹŻj prvnĂ­ Zap! VšimnÄ›te si, Ĺľe mĹŻĹľete vytvoĹ™it pouze 1 Zap se spouštÄ›cĂ­ událostĂ­ z %2$s. V rámci tohoto Zapu si mĹŻĹľete vybrat jednu nebo vĂ­ce akcĂ­."],"%s API key":["API klĂ­ÄŤ %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Tento klĂ­ÄŤ API budete potĹ™ebovat pozdÄ›ji v %s, kdyĹľ budete nastavovat Zap."],"Copy your API key":["ZkopĂ­rujte svĹŻj klĂ­ÄŤ API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Chcete-li nastavit pĹ™ipojenĂ­, zkopĂ­rujte nĂ­Ĺľe uvedenĂ˝ klĂ­ÄŤ API a pouĹľijte jej k vytvoĹ™enĂ­ a zapnutĂ­ Zap ve vašem účtu %s."],"Manage %s settings":["Spravovat nastavenĂ­ %s"],"Connect to %s":["PĹ™ipojte se k %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Poznámka: Aby toto cviÄŤenĂ­ dobĹ™e fungovalo, musĂ­te spustit nástroj pro optimalizaci dat SEO. Správci to mohou spustit pod %1$sSEO > Nástroje%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["PĹ™idali jste odkazy na svĂ© osiĹ™elĂ© ÄŤlánky a vyÄŤistili jste ty, kterĂ© jiĹľ nebyly relevantnĂ­. Dobrá práce! PodĂ­vejte se na shrnutĂ­ nĂ­Ĺľe a oslavte, co jste dokázali!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Kriticky prozkoumejte obsah tohoto seznamu a proveÄŹte potĹ™ebnĂ© aktualizace. Pokud potĹ™ebujete pomoc s aktualizacĂ­, máme velmi %1$suĹľiteÄŤnĂ˝ blogovĂ˝ příspÄ›vek, kterĂ˝ vás mĹŻĹľe vĂ©st %2$s (kliknutĂ­m otevĹ™ete na novĂ© kartÄ›)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sPotĹ™ebujete další pokyny? KaĹľdĂ˝ krok jsme podrobnÄ›ji probrali v následujĂ­cĂ­m prĹŻvodci: %2$sJak používat %7$s cviÄŤenĂ­ se osiĹ™elĂ˝m obsahem%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["PrávÄ› jste usnadnili nalezenĂ­ svĂ©ho nejlepšího obsahu a s vyšší pravdÄ›podobnostĂ­ hodnocenĂ­! Dobrá práce! ÄŚas od ÄŤasu nezapomeĹte zkontrolovat, zda vaše základnĂ­ kameny dostávajĂ­ dostatek odkazĹŻ!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["PodĂ­vejte se na nĂ­Ĺľe uvedenĂ˝ seznam. MajĂ­ vaše základnĂ­ kameny (oznaÄŤenĂ© %1$s) nejvĂ­ce internĂ­ch odkazĹŻ, kterĂ© na nÄ› směřujĂ­? Pokud si myslĂ­te, Ĺľe základnĂ­ kámen potĹ™ebuje vĂ­ce odkazĹŻ, kliknÄ›te na tlaÄŤĂ­tko Optimalizovat. TĂ­m se ÄŤlánek posune k dalšímu kroku."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["MajĂ­ všechny vaše základnĂ­ kameny zelenĂ© odrážky? Pro dosaĹľenĂ­ nejlepších vĂ˝sledkĹŻ zvaĹľte Ăşpravu tÄ›ch, kterĂ© ne!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["KterĂ© ÄŤlánky chcete umĂ­stit nejvýše? KterĂ© z nich by vaše publikum povaĹľovalo za nejuĹľiteÄŤnÄ›jší a nejĂşplnÄ›jší? KliknÄ›te na šipku směřujĂ­cĂ­ dolĹŻ a vyhledejte ÄŤlánky, kterĂ© splĹujĂ­ tato kritĂ©ria. ÄŚlánky, kterĂ© vyberete ze seznamu, automaticky oznaÄŤĂ­me jako základnĂ­ kámen."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sPotĹ™ebujete další pokyny? KaĹľdĂ˝ krok jsme podrobnÄ›ji probrali v: %2$sJak používat základnĂ­ cviÄŤenĂ­ %7$s%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Obsah Yoast"],"Yoast Related Links":["Yoast souvisejĂ­cĂ­ odkazy"],"Finish optimizing":["DokonÄŤete optimalizaci"],"You've finished adding links to this article.":["DokonÄŤili jste pĹ™idávánĂ­ odkazĹŻ do tohoto ÄŤlánku."],"Optimize":["Optimalizovat"],"Added to next step":["PĹ™idáno k dalšímu kroku"],"Choose cornerstone articles...":["Vyberte základnĂ­ ÄŤlánky..."],"Loading data...":["NaÄŤĂ­tánĂ­ dat..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["TĂ­mto cviÄŤenĂ­m jste zatĂ­m nevyÄŤistili ani neaktualizovali žádnĂ© ÄŤlánky. Jakmile to udÄ›láte, zobrazĂ­ se zde souhrn vaší práce."],"Skipped":["PĹ™eskoÄŤeno"],"Hidden from search engines.":["SkrytĂ© pĹ™ed vyhledávaÄŤi."],"Removed":["OdstranÄ›no"],"Improved":["Vylepšeno"],"Resolution":["ĹešenĂ­"],"Loading redirect options...":["NaÄŤĂ­tánĂ­ moĹľnostĂ­ pĹ™esmÄ›rovánĂ­..."],"Remove and redirect":["Odebrat a pĹ™esmÄ›rovat"],"Custom url:":["VlastnĂ­ adresa URL:"],"Related article:":["SouvisejĂ­cĂ­ ÄŤlánek:"],"Home page:":["Domovská stránka:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Chystáte se odebrat %1$s%2$s%3$s. Chcete -li zabránit 404 na vašem webu, mÄ›li byste jej pĹ™esmÄ›rovat na jinou stránku na vašem webu. Kam byste jej chtÄ›li pĹ™esmÄ›rovat?"],"SEO Workout: Remove article":["SEO cviÄŤenĂ­: Odstranit ÄŤlánek"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Všechno vypadá dobĹ™e! Na vašem webu jsme nenašli žádnĂ© ÄŤlánky starší neĹľ šest mÄ›sĂ­cĹŻ a neobdrĹľelo na váš web příliš málo odkazĹŻ. VraĹĄte se sem pozdÄ›ji a zĂ­skejte novĂ© návrhy na vyÄŤištÄ›nĂ­!"],"Hide from search engines":["SkrĂ˝t pĹ™ed vyhledávaÄŤi"],"Improve":["Zlepšit"],"Are you sure you wish to hide this article from search engines?":["Opravdu chcete skrĂ˝t tento ÄŤlánek pĹ™ed vyhledávaÄŤi?"],"Action":["Akce"],"You've hidden this article from search engines.":["Tento ÄŤlánek jste skryli pĹ™ed vyhledávaÄŤi."],"You've removed this article.":["Tento ÄŤlánek jste odstranili."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["AktuálnÄ› jste nevybrali žádnĂ© ÄŤlánky ke zlepšenĂ­. Vyberte nÄ›kolik osiĹ™elĂ˝ch ÄŤlánkĹŻ v pĹ™edchozĂ­ch krocĂ­ch, na kterĂ© chcete pĹ™idat odkazy, a my vám zde ukážeme návrhy odkazĹŻ."],"Loading link suggestions...":["NaÄŤĂ­tánĂ­ návrhĹŻ odkazĹŻ..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["K tomuto ÄŤlánku jsme nenašli žádnĂ© návrhy, ale samozĹ™ejmÄ› stále mĹŻĹľete pĹ™idávat odkazy na ÄŤlánky, kterĂ© si myslĂ­te, Ĺľe spolu souvisejĂ­."],"Skip":["PĹ™eskoÄŤit"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Pro tento krok jste ještÄ› nevybrali žádnĂ© ÄŤlánky. MĹŻĹľete to udÄ›lat v pĹ™edchozĂ­m kroku."],"Is it up-to-date?":["Je to aktuálnĂ­?"],"Last Updated":["Naposledy aktualizováno"],"You've moved this article to the next step.":["Tento ÄŤlánek jste pĹ™esunuli na další krok."],"Unknown":["NeznámĂ©"],"Clear summary":["JasnĂ© shrnutĂ­"],"Add internal links towards your orphaned articles.":["PĹ™idejte do svĂ˝ch osiĹ™elĂ˝ch ÄŤlánkĹŻ internĂ­ odkazy."],"Should you update your article?":["MÄ›li byste svĹŻj ÄŤlánek aktualizovat?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Váš web ÄŤasto obsahuje spoustu obsahu, kterĂ˝ je vytvoĹ™en jednou a na kterĂ˝ se jiĹľ potom nikdo neohlíží. Je dĹŻleĹľitĂ© si je projĂ­t a poloĹľit si otázku, zda je tento obsah pro váš web stále relevantnĂ­. Mám to vylepšit nebo odstranit?"],"Start: Love it or leave it?":["ZaÄŤĂ­t: Milujete to, nebo toho necháte?"],"Clean up your unlinked content to make sure people can find it":["VyÄŤistÄ›te svĹŻj nepropojenĂ˝ obsah, aby jej lidĂ© mohli najĂ­t"],"I've finished this workout":["I've finished this workout"],"Reset this workout":["Resetujte toto cviÄŤenĂ­"],"Well done!":["VĂ˝bornÄ›!"],"Add internal links towards your cornerstones":["PĹ™idejte internĂ­ odkazy k základnĂ­m kamenĹŻm"],"Check the number of incoming internal links of your cornerstones":["Zkontrolujte poÄŤet příchozĂ­ch internĂ­ch odkazĹŻ vašich základnĂ­ch kamenĹŻ"],"Start: Choose your cornerstones!":["ZaÄŤnÄ›te: Vyberte si základnĂ­ kameny!"],"The cornerstone approach":["ZákladnĂ­ přístup"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["VezmÄ›te prosĂ­m na vÄ›domĂ­: Aby toto cviÄŤenĂ­ fungovalo dobĹ™e a aby vám nabĂ­dlo návrhy propojenĂ­, musĂ­te spustit nástroj pro optimalizaci dat SEO. Správci to mohou spustit v části %1$sSEO> Nástroje%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["UpozornÄ›nĂ­: Váš správce zakázal funkci cornerstone v nastavenĂ­ SEO. Pokud chcete toto cviÄŤenĂ­ používat, mÄ›lo by bĂ˝t povoleno."],"I've finished this step":["Tento krok jsem dokonÄŤil"],"Revise this step":["Zrevidujte tento krok"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["NepodaĹ™ilo se nám najĂ­t internĂ­ odkazy na vašich stránkách. BuÄŹ jste dosud nepĹ™idali žádnĂ© internĂ­ odkazy na svĹŻj obsah, nebo Yoast SEO je neindexoval. Yoast SEO mĹŻĹľete nechat indexovat svĂ© odkazy spuštÄ›nĂ­m optimalizace dat SEO v části SEO> Nástroje."],"Incoming links":["PříchozĂ­ odkazy"],"Edit to add link":["Upravit a pĹ™idat odkaz"],"%s incoming link":["%s příchozĂ­ odkaz","%s příchozĂ­ odkazy","%s příchozĂ­ odkazĹŻ"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["MomentálnÄ› nemáte žádnĂ© ÄŤlánky oznaÄŤenĂ© jako základnĂ­ kámen. KdyĹľ svĂ© ÄŤlánky oznaÄŤĂ­te jako základnĂ­ kámen, zobrazĂ­ se zde."],"Focus keyphrase":["HlavnĂ­ klĂ­ÄŤovĂ© slovo"],"Article":["ÄŚlánek"],"Readability score":["SkĂłre ÄŤitelnosti"],"SEO score":["SEO skĂłre"],"Copy failed":["KopĂ­rovánĂ­ se nezdaĹ™ilo"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Vylepšete hodnocenĂ­ všech svĂ˝ch základnĂ­ch kamenĹŻ pomocĂ­ tohoto cviÄŤenĂ­ %1$skrok za krokem!%2$s"],"Rank with articles you want to rank with":["OhodnoĹĄte ÄŤlánky, kterĂ© chcete ohodnotit"],"Descriptive text":["Text popisu"],"Show the descriptive text":["Zobrazit text popisnĂ˝ text"],"Show icon":["Zobrazit ikonu"],"Yoast Estimated Reading Time":["PĹ™edpokládaná doba ÄŤtenĂ­"],"Shows an estimated reading time based on the content length.":["Zobrazuje odhadovanou dobu ÄŤtenĂ­ na základÄ› dĂ©lky obsahu."],"reading time":["ÄŤas na ÄŤtenĂ­"],"content length":["dĂ©lka obsahu"],"Estimated reading time:":["PĹ™edpokládaná doba ÄŤtenĂ­:"],"minute":["minuta","minuty","minut"],"Settings":["NastavenĂ­"],"OK":["OK"],"Close":["Zavřít"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["PrvnĂ­ opravdu plnohodnotnĂ© SEO Ĺ™ešenĂ­ pro WordPress, vÄŤetnÄ› analĂ˝zy obsahu stránky, XML map webu a dalších vychytávek."],"Type":["Typ"],"Team Yoast":["TĂ˝m Yoast"],"Orphaned content":["NepropojenĂ˝ obsah"],"Synonyms":["Synonyma"],"Internal linking suggestions":["Návrhy internĂ­ch odkazĹŻ"],"Enter a related keyphrase to calculate the SEO score":["Chcete-li vypoÄŤĂ­tat skĂłre SEO, zadejte souvisejĂ­cĂ­ klĂ­ÄŤovou frázi"],"Related keyphrase":["SouvisejĂ­cĂ­ klĂ­ÄŤová fráze"],"Add related keyphrase":["PĹ™idejte souvisĂ­cĂ­ klĂ­ÄŤovĂ© slovo/frázi"],"Analysis results":["VĂ˝sledky analĂ˝zy"],"Help on choosing the perfect keyphrase":["Pomoc pĹ™i hledánĂ­ tĂ© nejlepší klĂ­ÄŤovĂ© fráze"],"Help on keyphrase synonyms":["Pomoc pĹ™i hledánĂ­ synonym klĂ­ÄŤovĂ˝ch frázĂ­"],"Keyphrase":["KlĂ­ÄŤovĂ© slovo"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nová URL: {{link}}%s{{/link}}"],"Undo":["ZpÄ›t"],"Redirect created":["PĹ™esmÄ›rovánĂ­ vytvoĹ™eno"],"%s just created a redirect from the old URL to the new URL.":["%s vytvoĹ™il pĹ™esmÄ›rovánĂ­ ze starĂ© URL na novou."],"Old URL: {{link}}%s{{/link}}":["Stará URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Synonyma klĂ­ÄŤovĂ© fráze"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Došlo k chybÄ›: analĂ˝za Premium SEO nefunguje podle oÄŤekávánĂ­. ProsĂ­m {{activateLink}}aktivujte svĂ© pĹ™edplatnĂ© v MyYoast{{/activateLink}} a potĂ© {{reloadButton}} znovu naÄŤtÄ›te tuto stránku{{/reloadButton}}, aby fungovala správnÄ›."],"seo":["seo"],"internal linking":["internĂ­ propojenĂ­"],"site structure":["struktura stránek"],"We could not find any relevant articles on your website that you could link to from your post.":["Na vašem webu jsme nenašli žádnĂ© relevantnĂ­ ÄŤlánky, na kterĂ© byste mohli odkazovat z vašeho příspÄ›vku."],"Load suggestions":["NaÄŤĂ­st návrhy"],"Refresh suggestions":["Aktualizovat návrhy"],"Write list…":["Napsat seznam…"],"Adds a list of links related to this page.":["PĹ™idá seznam odkazĹŻ souvisejĂ­cĂ­ch s touto stránkou."],"related posts":["SouvisejĂ­cĂ­ příspÄ›vky"],"related pages":["SouvisejĂ­cĂ­ stránky"],"Adds a table of contents to this page.":["PĹ™idá na tuto stránku obsah."],"links":["odkazy"],"toc":["pata"],"Copy link":["KopĂ­rovat odkaz"],"Copy link to suggested article: %s":["ZkopĂ­rovat odkaz na navrĹľenĂ˝ ÄŤlánek: %s"],"Add a title to your post for the best internal linking suggestions.":["Chcete-li zĂ­skat nejlepší návrhy internĂ­ch odkazĹŻ, pĹ™idejte do svĂ©ho příspÄ›vku název."],"Add a metadescription to your post for the best internal linking suggestions.":["Chcete-li zĂ­skat nejlepší návrhy internĂ­ch odkazĹŻ, pĹ™idejte ke svĂ©mu příspÄ›vku metapopis."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Chcete-li zĂ­skat nejlepší návrhy internĂ­ch odkazĹŻ, pĹ™idejte do svĂ©ho příspÄ›vku nadpis a popis."],"Also, add a title to your post for the best internal linking suggestions.":["K příspÄ›vku takĂ© pĹ™idejte nadpis, kterĂ˝ obsahuje nejlepší návrhy internĂ­ch odkazĹŻ."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Chcete-li zĂ­skat nejlepší návrhy internĂ­ch odkazĹŻ, do svĂ©ho příspÄ›vku takĂ© pĹ™idejte popis."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Chcete-li zĂ­skat nejlepší návrhy internĂ­ch odkazĹŻ, pĹ™idejte do svĂ©ho příspÄ›vku takĂ© nadpis a popis."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Jakmile pĹ™idáte trochu vĂ­ce kopiĂ­, dáme vám zde seznam souvisejĂ­cĂ­ho obsahu, na kterĂ˝ mĹŻĹľete ve svĂ©m příspÄ›vku odkazovat."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Chcete-li vylepšit strukturu svĂ©ho webu, zvaĹľte propojenĂ­ s dalšími relevantnĂ­mi příspÄ›vky nebo stránkami na vašem webu."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["ZobrazenĂ­ seznamu souvisejĂ­cĂ­ho obsahu, na kterĂ˝ mĹŻĹľete odkazovat, trvá nÄ›kolik sekund. Návrhy se zde zobrazĂ­, jakmile je budeme mĂ­t."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}} PĹ™eÄŤtÄ›te si našeho prĹŻvodce internĂ­m propojovánĂ­m pro SEO {{/a}} a dozvĂ­te se vĂ­ce."],"Copied!":["ZkopĂ­rováno!"],"Not supported!":["NenĂ­ podpováno!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Pokoušíte se použít vĂ­ce souvisejĂ­cĂ­ch frázĂ­? MÄ›li byste je pĹ™idat samostatnÄ›."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["KlĂ­ÄŤová fráze je příliš dlouhá. Maximum je 191 znakĹŻ."],"Add as related keyphrase":["PĹ™idat jako souvisejĂ­cĂ­ frázi"],"Added!":["PĹ™idáno!"],"Remove":["Odstranit"],"Table of contents":["Tabule s obsahem"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["PotĹ™ebujeme optimalizovat SEO data vašeho webu, abychom vám mohli nabĂ­dnout nejlepší %1$sĂşhlednĂ© návrhy%2$s. %3$sStart SEO Optimalizace dat%4$s"],"Create a Zap in %s":["VytvoĹ™te zapuntĂ­ v %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-da_DK.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-da_DK.json new file mode 100644 index 00000000..84031f5b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-da_DK.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"da_DK"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Anmodningen resulterede i følgende fejl: \"%s\""],"X share preview":["X share forhĂĄndsvisning"],"AI X title generator":["AI X titelgenerator"],"AI X description generator":["AI X beskrivelsesgenerator"],"X preview":["X forhĂĄndsvisning"],"Please enter a valid focus keyphrase.":["Indtast en gyldig fokusnøglefrase."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["For at bruge denne funktion skal dit websted være offentligt tilgængeligt. Dette gælder bĂĄde testwebsteder og situationer, hvor dit REST API er beskyttet med en adgangskode. Vær sikker pĂĄ, at dit websted er offentligt tilgængeligt og prøv igen. Hvis problemet fortsætter, sĂĄ %1$skontakt vores supportteam%2$s."],"Yoast AI cannot reach your site":["Yoast AI kan ikke komme i kontakt med dit websted"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["For at fĂĄ adgang til denne funktion, sĂĄ skal du have aktive %2$s og %3$s abennementer. SĂĄ %5$saktiver venligst dine abonnementer i %1$s%6$s eller %7$sfĂĄ et nyt %4$s%8$s. Bagefter, sĂĄ genindlæs venligst denne side for at fĂĄ denne funktion til at fungere efter hensigten, hvilket kan tage op til 30 sekunder."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["AI-titelgeneratoren kræver, at SEO-analysen er aktiveret før brug. For at aktivere det skal du navigere til %2$swebstedsfunktioner for s%1$s%3$s, slĂĄ SEO-analysen til og vælge \"Gem ændringer\". Hvis SEO-analysen er deaktiveret i din brugerprofil, skal du gĂĄ til din profil og aktivere den der. Kontakt din administrator, hvis du ikke har adgang til disse indstillinger."],"Social share preview":["ForhĂĄndsvisning af deling pĂĄ sociale medier"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["For at fortsætte med at bruge Yoast AI-funktionen skal du reducere hyppigheden af dine anmodninger. Vores %1$shjælpeartikel%2$s giver vejledning i, hvordan du effektivt planlægger og fĂĄr tempo pĂĄ dine anmodninger om en optimeret arbejdsgang."],"You've reached the Yoast AI rate limit.":["Du har nĂĄet Yoast AI-grænsen."],"Allow":["Tillad"],"Deny":["Afvis"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["For at se denne video skal du tillade %1$s at indlæse indlejrede videoer fra %2$s."],"Text generated by AI may be offensive or inaccurate.":["Tekst, der genereres af AI, kan være stødende eller unøjagtig."],"(Opens in a new browser tab)":["(Ă…bner i en ny browserfane)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Fremskynd din arbejdsgang med generativ AI. FĂĄ forslag til titler og beskrivelser af høj kvalitet til din søgning og dit sociale udseende. %1$sFĂĄ flere oplysninger%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Generer titler og beskrivelser med Yoast AI!"],"New to %1$s":["Ny i forhold til %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Jeg godkender %1$sServicevilkĂĄr%2$s og %3$sFortrolighedspolitik%4$s for Yoast AI-tjenesten. Dette omfatter samtykke til indsamling og brug af data for at forbedre brugeroplevelsen."],"Start generating":["Begynd at generere"],"Yes, revoke consent":["Ja, tilbagekald samtykke"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Ved at tilbagekalde dit samtykke har du ikke længere adgang til Yoast AI-funktioner. Er du sikker pĂĄ, at du vil tilbagekalde dit samtykke?"],"Something went wrong, please try again later.":["Noget gik galt, prøv igen senere."],"Revoke AI consent":["Tilbagekald AI-samtykke"],"AI title generator":["AI titelgenerator"],"AI description generator":["AI beskrivelsesgenerator"],"AI social title generator":["AI social titelgenerator"],"AI social description generator":["AI social beskrivelsesgenerator"],"Dismiss":["Ignorer"],"Don’t show again":["Vis ikke igen"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTip%2$s: Ăg nøjagtigheden af dine genererede AI-titler ved at skrive mere indhold pĂĄ din side."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTip%2$s: Gør dine genererede AI-beskrivelser mere nøjagtige ved at skrive mere indhold pĂĄ din side."],"Try again":["Prøv igen"],"Social preview":["Social forhĂĄndsvisning"],"Desktop result":["Resultat computer"],"Mobile result":["Mobilresultat"],"Apply %s description":[],"Apply %s title":[],"Next":["Næste"],"Previous":["Forrige"],"Generate 5 more":["Generer 5 mere"],"Google preview":["Google forhĂĄndsvisning"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["PĂĄ grund af OpenAIs strenge etiske retningslinjer og %1$sbrugspolitikker%2$s kan vi ikke generere SEO-titler til din side. Hvis du har til hensigt at bruge AI, skal du undgĂĄ brugen af eksplicit voldeligt eller seksuelt eksplicit indhold. %3$sLæs mere om, hvordan du konfigurerer din side for at sikre, at du fĂĄr de bedste resultater med AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["PĂĄ grund af OpenAIs strenge etiske retningslinjer og %1$sbrugspolitikker%2$s kan vi ikke generere metabeskrivelser til din side. Hvis du har til hensigt at bruge AI, skal du undgĂĄ brugen af eksplicit, voldeligt eller seksuelt eksplicit indhold. %3$sLæs mere om, hvordan du konfigurerer din side for at sikre, at du fĂĄr de bedste resultater med AI%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["For at fĂĄ adgang til denne funktion skal du have et aktivt %1$s abonnement. %3$saktiver dit abonnement i %2$s%4$s eller %5$sfĂĄ et nyt %1$s abonnement%6$s. Klik derefter pĂĄ knappen for at opdatere denne side, sĂĄ funktionen fungerer korrekt, hvilket kan tage op til 30 sekunder."],"Refresh page":["Opdater side"],"Not enough content":["Ikke nok indhold"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Prøv igen senere. Hvis problemet fortsætter, bedes du %1$skontakte vores supportteam%2$s!"],"Something went wrong":["Noget gik galt"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Det ser ud til, at der er opstĂĄet en timeout for forbindelsen. Kontroller din internetforbindelse, og prøv igen senere. Hvis problemet fortsætter, skal du %1$skontakte vores supportteam%2$s"],"Connection timeout":["Timeout for forbindelse"],"Use AI":["Brug AI"],"Close modal":["Luk modal"],"Learn more about AI (Opens in a new browser tab)":["FĂĄ mere at vide om AI (ĂĄbner i en ny browserfane)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitel%3$s: Din side har endnu ikke en titel. %2$sTilføj en%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$s Titel%2$s: Din side har en titel. Godt gĂĄet!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sSøgefrasefordeling%3$s:%2$sInkluder din søgefrase eller dens synonymer i teksten, sĂĄ vi kan kontrollere søgefrasefordeling%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sSøgefrasefordeling%2$s: Flot arbejde!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sSøgefrasefordeling%3$s: Ujævn. Nogle dele af din tekst indeholder ikke søgefrase eller synonymer. %2$sDistribuer dem mere jævnt%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sSøgefrasefordeling%3$s: Meget ujævn. Store dele af din tekst indeholder ikke søgefrase eller synonymer. %2$sFordel dem mere jævnt%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Du bruger ikke for mange komplekse ord, hvilket gør din tekst let at læse. Godt gĂĄet!"],"Word complexity":["Ordkompleksitet"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s af ordene i din tekst betragtes som komplekse. %3$s Prøv at bruge kortere og mere velkendte ord for at forbedre læsbarheden%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sJustering%3$s: Der er et langt afsnit med centreret tekst. %2$sVi anbefaler, at du gør den venstrejusteret%3$s.","%1$sJustering%3$s: Der er %4$s lange afsnit med centreret tekst. %2$sVi anbefaler, at du gør dem venstrejusterede%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sJustering%3$s: Der er et langt afsnit med centreret tekst. %2$sVi anbefaler, at du gør den højrejusteret%3$s.","%1$sJustering%3$s: Der er %4$s lange afsnit med centreret tekst. %2$sVi anbefaler, at du gør dem højrejusterede%3$s."],"Select image":["Vælg billede"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Du ved det nok ikke, men der kan være sider pĂĄ dit websted, der ikke fĂĄr nogen links. Det er et SEO-problem, fordi det er svært for søgemaskiner at finde sider, der ikke har nogen links. Det er sværere for dem at rangere. Vi kalder disse sider for forældreløst indhold. I denne øvelse, finder vi det forældreløse indhold pĂĄ dit websted og viser, hvordan du hurtigt kan tilføje links til det, sĂĄ det fĂĄr en chance for at blive rangeret!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Til til at tilføje nogle links! Herunder, ser du en liste over dine forældreløse artikler. Under hver af dem er der forslag til relaterede sider, som du kan tilføje links fra. NĂĄr et link tilføjes, sĂĄ vær sikker pĂĄ, at indsætte det i en relevant sætning, der har noget at gøre med din forældreløse artikel. Bliv ved med at tilføje links til de forældreløse artikler, indtil du er tilfreds med mængden af links, der peger pĂĄ dem."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Tid til at tilføje nogle links! Nedenfor ser du en liste med dine hjørnesten. Under hver hjørnesten er der forslag til artikler, du kan tilføje et link fra. NĂĄr du tilføjer linket, skal du sørge for at indsætte det i en relevant sætning relateret til din hjørnestensartikel. Bliv ved med at tilføje links fra sĂĄ mange relaterede artikler, som du har brug for, indtil dine hjørnesten har de mest interne links, der peger mod dem."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Nogle artikler pĂĄ dit websted er de %1$s%2$s vigtigste. De besvarer folks spørgsmĂĄl og løser deres problemer. SĂĄ de fortjener at rangere! Hos %3$s kalder vi disse hjørnestensartikler. En af mĂĄderne at fĂĄ dem til at rangere er at pege nok links til dem. Flere links signalerer til søgemaskiner, at disse artikler er vigtige og værdifulde. I denne træning hjælper vi dig med at tilføje links til dine hjørnestensartikler!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["NĂĄr du har tilføjet lidt mere tekst, kan vi fortælle dig formalitetsniveauet for din tekst."],"Overall, your text appears to be %1$s%3$s%2$s.":["Samlet set ser din tekst ud til at være %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Zapier-integrationen vil blive fjernet fra %1$s i 20.7 (udgivelsesdato 9. maj). Hvis du har spørgsmĂĄl, bedes du kontakte %2$s."],"Maximum heading level":["Maksimalt overskriftsniveau"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Du har deaktiveret funktionen til at foreslĂĄ link, som er nødvendigt for at relaterede links virker. Hvis du vil tilføje relaterede links, sĂĄ aktiver venligst funktionen til at foreslĂĄ links i Webstedsfunktioner."],"Schema":["Skema"],"Meta tags":["Metatags"],"Not available":["Ikke tilgængelig"],"Checks":["Kontrol"],"Focus Keyphrase":["Fokussøgeordsfrase"],"Good":["God"],"No index":["Intet indeks"],"Front-end SEO inspector":["Seo-inspektør i frontend"],"Focus keyphrase not set":["Fokusnøglefrase ikke indstillet"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["NĂĄr du har offentliggjort din Zap i dit %s kontrolpanel, kan du kontrollere, om den er aktiv og forbundet til dit websted."],"Reset API key":["Nulstil API-nøgle"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Du har i øjeblikket forbindelse til %s ved hjælp af følgende API-nøgle. Hvis du vil oprette forbindelse til en anden API-nøgle, kan du nulstille din nøgle nedenfor."],"Your API key":["Din API-nøgle"],"Go to your %s dashboard":["GĂĄ til dit %s kontrolpanel"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Du har forbindelse til %1$s! For at administrere din Zap skal du besøge dit %2$s kontrolpanel."],"Your %s dashboard":["Dit %s kontrolpanel"],"Verify connection":["Bekræft forbindelse"],"Verify your connection":["Bekræft din forbindelse"],"Create a Zap":["Opret en Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Log ind pĂĄ din %1$s-konto, og begynd at oprette din første Zap! Bemærk, at du kun kan oprette 1 Zap med en udløserhændelse fra %2$s. Inden for denne Zap kan du vælge en eller flere handlinger."],"%s API key":["%s API-nøgle"],"You'll need this API key later on in %s when you're setting up your Zap.":["Du skal bruge denne API-nøgle senere i %s, nĂĄr du konfigurerer din Zap."],"Copy your API key":["Kopier din API-nøgle"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Hvis du vil oprette en forbindelse, skal du sørge for at kopiere den givne API-nøgle nedenfor og bruge den til at oprette og aktivere en Zap pĂĄ din %s-konto."],"Manage %s settings":["HĂĄndter %s indstillinger"],"Connect to %s":["Opret forbindelse til %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Bemærk venligst: For at denne træning skal fungere godt, skal du køre SEO-dataoptimeringsværktøjet. Administratorer kan køre dette under %1$sSEO > Værktøjer%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Du har tilføjet links til dine forældreløse artikler, og du har ryddet op i dem, der ikke længere var relevante. Godt arbejde! Tag et kig pĂĄ oversigten nedenfor og fejr det, du har opnĂĄet!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Undersøg kritisk indholdet i denne liste og foretag de nødvendige opdateringer. Hvis du har brug for hjælp til at opdatere, har vi et meget %1$sbrugbart blogindlæg, der kan guide dig hele vejen%2$s (klik for at ĂĄbne i en ny fane)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sHar du brug for mere vejledning? Vi har dækket hvert trin mere detaljeret i den følgende guide: %2$sSĂĄdan bruger du %7$s forældreløst indhold- træning%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Du har lige gjort dit bedste indhold nemt at finde, og det er mere sandsynligt, at du rangerer! Godt gĂĄet! Husk fra tid til anden at tjekke, om dine hjørnesten fĂĄr nok links!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Tag et kig pĂĄ listen nedenfor. Har dine hjørnesten (markeret med %1$s) de fleste interne links, der peger mod dem? Klik pĂĄ knappen Optimer, hvis du mener, at en hjørnesten har brug for flere links. Det vil flytte artiklen til næste trin."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Har alle dine hjørnesten grønne kugler? For de bedste resultater, overvej at redigere dem, der ikke gør det!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Hvilke artikler vil du rangere højest med? Hvilke ville dit publikum finde de mest nyttige og komplette? Klik pĂĄ den nedadgĂĄende pil, og se efter artikler, der passer til disse kriterier. Vi markerer automatisk de artikler, du vælger fra listen, som hjørnesten."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sHar du brug for mere vejledning? Vi har dækket hvert trin mere detaljeret i: %2$sSĂĄdan bruger du %7$s hjørnestenstræning%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast Indholdsfortegnelse"],"Yoast Related Links":["Yoast relaterede links"],"Finish optimizing":["Afslut optimering"],"You've finished adding links to this article.":["Du er færdig med at tilføje links til denne artikel."],"Optimize":["Optimer"],"Added to next step":["Tilføjet til næste trin"],"Choose cornerstone articles...":["Vælg hjørnestensartikler..."],"Loading data...":["Indlæser data..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Du har ikke ryddet op eller opdateret nogen artikler endnu ved hjælp af denne træning. NĂĄr du gør det, vil en oversigt over dit arbejde dukke op her."],"Skipped":["Sprunget over"],"Hidden from search engines.":["Skjult for søgemaskiner."],"Removed":["Fjernet"],"Improved":["Forbedret"],"Resolution":["Opløsning"],"Loading redirect options...":["Indlæser omdirigeringsindstillinger..."],"Remove and redirect":["Fjerne og omdirigere"],"Custom url:":["Brugerdefineret URL-adresse:"],"Related article:":["Relateret artikel:"],"Home page:":["Forside:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Du er ved at fjerne %1$s%2$s%3$s. Hvis du vil forhindre 404'ere pĂĄ dit websted, skal du omdirigere det til en anden side pĂĄ dit websted. Hvor vil du omdirigere den til?"],"SEO Workout: Remove article":["SEO træning: Fjern artikel"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Alt ser godt ud! Vi har ikke fundet nogen artikler pĂĄ dit websted, der er ældre end seks mĂĄneder og modtager for fĂĄ links pĂĄ dit websted. Vend tilbage her til senere for at finde nye oprydningsforslag!"],"Hide from search engines":["Skjul fra søgemaskiner"],"Improve":["Optimer"],"Are you sure you wish to hide this article from search engines?":["Er du sikker pĂĄ, at du ønsker at skjule denne artikel for søgemaskiner?"],"Action":["Handling"],"You've hidden this article from search engines.":["Du har skjult denne artikel for søgemaskiner."],"You've removed this article.":["Du har fjernet denne artikel."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Du har i øjeblikket ikke valgt nogen artikler, der skal forbedres. Vælg et par artikler i de foregĂĄende trin, som du vil føje links til, sĂĄ viser vi dig linkforslag her."],"Loading link suggestions...":["Indlæser linkforslag..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Vi fandt ikke nogen forslag til denne artikel, men selvfølgelig kan du stadig tilføje links til artikler, som du mener er relaterede."],"Skip":["Spring over"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Du har endnu ikke valgt nogen artikler til dette trin. Det kan du gøre i forrige trin."],"Is it up-to-date?":["Er det up-to-date?"],"Last Updated":["Sidst opdateret"],"You've moved this article to the next step.":["Du har flyttet denne artikel til næste trin."],"Unknown":["Ubekendt"],"Clear summary":["Ryd resume"],"Add internal links towards your orphaned articles.":["Tilføj interne links til dine forældreløse artikler."],"Should you update your article?":["Bør du opdatere din artikel?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Dit websted indeholder ofte masser af indhold, der er oprettet Ă©n gang, og som du aldrig er vendt tilbage til. Det er vigtigt at gennemgĂĄ dette og spørge dig selv, om dette indhold stadig er relevant for dit websted. Skal du forbedre det eller fjerne det?"],"Start: Love it or leave it?":["Start: Er vild med det eller sig farvel til det?"],"Clean up your unlinked content to make sure people can find it":["Ryd op i det indhold, der ikke er sammenkædet, for at sikre, at andre kan finde det"],"I've finished this workout":["Jeg er færdig med denne workout"],"Reset this workout":["Nulstil denne øvelse"],"Well done!":["Godt klaret!"],"Add internal links towards your cornerstones":["Tilføj interne links som henviser til dine cornerstones"],"Check the number of incoming internal links of your cornerstones":["Tjek nummeret af interne links til dine cornerstones"],"Start: Choose your cornerstones!":["Start: Vælg dine hjørnesten!"],"The cornerstone approach":["Hjørnestenstilgang"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Bemærk: For at denne øvelse skal fungere godt og tilbyde dig forslag til links, sĂĄ skal du køre SEO-dataoptimeringsværktøjet. Administratorer kan køre dette under %1$sSEO > Værktøjer%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Bemærk venligst: Din administrator har deaktiveret hjørnestensfunktionen i SEO-indstillingerne. Hvis du ønsker at bruge denne øvelse, sĂĄ skal den aktiveres."],"I've finished this step":["Jeg er færdig med dette trin"],"Revise this step":["Revider dette trin"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Vi kunne ikke finde interne links pĂĄ dine sider. Enten har du ikke tilføjet nogen interne links til dit indhold endnu, eller ogsĂĄ har Yoast SEO ikke indekseret dem. Du kan fĂĄ Yoast SEO til at indeksere dine links ved at køre SEO-dataoptimeringen under SEO > Værktøjer."],"Incoming links":["Indkommende links"],"Edit to add link":["Rediger for at tilføje link"],"%s incoming link":["%s indgĂĄende link","%s indgĂĄende links"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Du har i øjeblikket ingen artikler markeret som hjørnesten. NĂĄr du markerer dine artikler som hjørnesten, vil de dukke op her."],"Focus keyphrase":["Fokus-søgeordsfrase"],"Article":["Artikel"],"Readability score":["Læsbarheds-score"],"SEO score":["SEO-score"],"Copy failed":["Kopiering mislykkedes"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Du kan forbedre placeringen for alle dine hjørnesten ved at bruge denne %1$strin-for-trin øvelse! %2$s"],"Rank with articles you want to rank with":["Ranger med artikler, du vil rangere med"],"Descriptive text":["Beskrivende tekst"],"Show the descriptive text":["Vis den beskrivende tekst"],"Show icon":["Vis ikon"],"Yoast Estimated Reading Time":["Yoast anslĂĄet læsetid"],"Shows an estimated reading time based on the content length.":["Viser en anslĂĄet læsetid baseret pĂĄ indholdslængden."],"reading time":["læsetid"],"content length":["indholdslængde"],"Estimated reading time:":["AnslĂĄet læsetid:"],"minute":["Minut","Minutter"],"Settings":["Indstillinger"],"OK":["OK"],"Close":["Luk"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Den første rigtige alt-i-en SEO-løsning for WordPress, inklusiv analyse af siders indhold, XML-sitemaps og meget mere."],"Type":["Type"],"Team Yoast":["Team Yoast"],"Orphaned content":["Forældreløst (orphaned) indhold"],"Synonyms":["Synonymer"],"Internal linking suggestions":["Forslag til interne links"],"Enter a related keyphrase to calculate the SEO score":["Indtast en lignende nøglefrase for at beregne SEO-scoren"],"Related keyphrase":["Relateret søgeordsfrase"],"Add related keyphrase":["Tilføj relateret søgefrase"],"Analysis results":["Analyseresultat:"],"Help on choosing the perfect keyphrase":["Hjælp til at vælge den perfekte nøglefrase"],"Help on keyphrase synonyms":["Hjælp til nøglefrase-synonymer"],"Keyphrase":["Søgefrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Ny URL: {{link}}%s{{/link}}"],"Undo":["Fortryd"],"Redirect created":["redirect oprettet"],"%s just created a redirect from the old URL to the new URL.":["%s har lige oprettet et redirect fra den gamle URL til den nye."],"Old URL: {{link}}%s{{/link}}":["Gammel URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Søgeord synonymer"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["En fejl er opstĂĄet: Premium SEO-analysen virker ikke som ventet. Vær venlig at {{activateLink}}aktivere dit abonnement i MyYoast{{/activateLink}} og {{reloadButton}}genindlæs denne side{{/reloadButton}} for at fĂĄ den til at virke ordentligt."],"seo":["seo"],"internal linking":["Interne links"],"site structure":["sidestruktur"],"We could not find any relevant articles on your website that you could link to from your post.":["Vi kunne ikke finde nogen relevante artikler pĂĄ dit websted, som du kan linke til i dit indlæg."],"Load suggestions":["Indlæs foreslag"],"Refresh suggestions":["Genopfrisk foreslag"],"Write list…":["Skriv liste..."],"Adds a list of links related to this page.":["Tilføjer en liste af links relaterede til denne side."],"related posts":["relaterede indlæg"],"related pages":["relaterede sider"],"Adds a table of contents to this page.":["Tilføjer en indholdsfortegnelse til denne side."],"links":["links"],"toc":["indholdsfortegnelse"],"Copy link":["KopiĂ©r link"],"Copy link to suggested article: %s":["KopiĂ©r link til foreslĂĄet artikel: %s"],"Add a title to your post for the best internal linking suggestions.":["Føj en titel til dit indlæg for at fĂĄ de bedste interne linkforslag."],"Add a metadescription to your post for the best internal linking suggestions.":["Tilføj en metabeskrivelse til dit indlæg for at fĂĄ de bedste interne linkforslag."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Tilføj en titel og en metabeskrivelse til dit indlæg for at fĂĄ de bedste interne linkforslag."],"Also, add a title to your post for the best internal linking suggestions.":["Tilføj ogsĂĄ en titel til dit indlæg for at fĂĄ de bedste interne linkforslag."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Tilføj ogsĂĄ en metabeskrivelse til dit indlæg for at fĂĄ de bedste interne linkforslag."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Tilføj ogsĂĄ en titel og en metabeskrivelse til dit indlæg for at fĂĄ de bedste interne linkforslag."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["NĂĄr du har tilføjet lidt mere tekst, giver vi dig en liste over relateret indhold her, som du kan linke til i dit indlæg."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Hvis du vil forbedre din webstedsstruktur, kan du overveje at linke til andre relevante indlæg eller sider pĂĄ dit websted."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Det tager et par sekunder at vise dig en liste over relateret indhold, som du kan linke til. Forslagene vil blive vist her, sĂĄ snart vi har dem."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}} Læs vores vejledning om intern linkning for SEO{{/a}} for at fĂĄ mere at vide."],"Copied!":["Kopieret!"],"Not supported!":["Ikke understøttet!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Forsøger du at bruge flere relaterede søgeord? Du bør tilføje dem separat."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Din søgefrase er for lang. Den kan højst være pĂĄ 191 tegn."],"Add as related keyphrase":["Tilføj som relateret søgeord"],"Added!":["Tilføjet!"],"Remove":["Fjern"],"Table of contents":["Indholdsfortegnelse"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Vi er nødt til at optimere dit websteds SEO-data, sĂĄ vi kan tilbyde dig de bedste %1$slinkforslag%2$s.\n\n%3$s Start SEO-dataoptimering%4$s"],"Create a Zap in %s":["Opret en Zap i %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-de_DE.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-de_DE.json new file mode 100644 index 00000000..31456ea3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-de_DE.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"de"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Die Anfrage wurde mit folgenden Fehler beantwortet: „%s“"],"X share preview":["X-Teilen-Vorschau"],"AI X title generator":["KI-X-Titelgenerator"],"AI X description generator":["KI-X-Beschreibungsgenerator"],"X preview":["X-Vorschau"],"Please enter a valid focus keyphrase.":["Bitte gib eine gĂĽltige Fokus-Keyphrase ein."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Um diese Funktion benutzen zu können, muss deine Website öffentlich zugänglich sein. Dies gilt sowohl fĂĽr Websites zum Testen als auch fĂĽr Instanzen, bei denen deine REST-API passwortgeschĂĽtzt ist. Bitte stelle sicher, dass deine Website öffentlich zugänglich ist und versuche es erneut. Wenn das Problem weiterhin besteht, %1$skontaktiere bitte unser Support-Team%2$s."],"Yoast AI cannot reach your site":["Yoast AI kann deine Website nicht erreichen"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Um diese Funktion nutzen zu können, benötigst du aktive %2$s und %3$s Abonnements. Bitte %5$saktiviere deine Abonnements in %1$s%6$s oder %7$serhalte ein neues %4$s%8$s. Bitte aktualisiere anschlieĂźend diese Seite, damit die Funktion korrekt funktioniert. Dies kann bis zu 30 Sekunden dauern."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["FĂĽr den KI-Titelgenerator muss die SEO-Analyse vor der Verwendung aktiviert werden. Um sie zu aktivieren, navigiere bitte zu den %2$sWebsite-Funktionen von %1$s%3$s, aktiviere die SEO-Analyse und klicke auf 'Ă„nderungen speichern'. Wenn die SEO-Analyse in deinem WordPress-Benutzerprofil deaktiviert ist, ruf dein Profil auf und aktiviere sie dort. Wende dich bitte an deinen Administrator, wenn du keinen Zugang zu diesen Einstellungen hast."],"Social share preview":["Vorschau fĂĽr soziale Netzwerke"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Wenn du die KI-Funktion von Yoast weiterhin nutzen möchtest, solltest du die Häufigkeit deiner Anfragen reduzieren. In unserem %1$sHilfe-Artikel%2$s findest du eine Anleitung zur effektiven Planung und Taktung deiner Anfragen fĂĽr einen optimierten Arbeitsablauf."],"You've reached the Yoast AI rate limit.":["Du hast das Limit der KI-Anfragen in Yoast erreicht."],"Allow":["Zulassen"],"Deny":["Ablehnen"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Um dieses Video anzusehen, musst du %1$s erlauben, eingebettete Videos von %2$s zu laden."],"Text generated by AI may be offensive or inaccurate.":["Von der KI generierter Text kann beleidigend oder unpassend sein."],"(Opens in a new browser tab)":["(Ă–ffnet in einem neuen Browser Tab)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Beschleunige deinen Workflow mit generativer KI. Erhalte hochwertige Titel- und Beschreibungsvorschläge fĂĽr deine Suche und deinen sozialen Auftritt. %1$sWeitere Informationen%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Generiere Titel und Beschreibungen mit Yoast-KI!"],"New to %1$s":["Neu bei %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Ich stimme den %1$sAllgemeinen Geschäftsbedingungen%2$s und den %3$sDatenschutzbestimmungen%4$s des KI-Dienstes von Yoast zu. Dies beinhaltet die Zustimmung zur Sammlung und Verwendung von Daten zur Verbesserung der Benutzererfahrung."],"Start generating":["Mit der Erzeugung beginnen"],"Yes, revoke consent":["Ja, Zustimmung widerrufen"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Wenn du deine Zustimmung widerrufst, hast du keinen Zugriff mehr auf die Funktionen der Yoast-KI. Bist du sicher, dass du deine Zustimmung widerrufen möchtest?"],"Something went wrong, please try again later.":["Etwas ist schiefgelaufen, bitte versuche es später erneut."],"Revoke AI consent":["KI-Zustimmung widerrufen"],"AI title generator":["KI-Titel-Generator"],"AI description generator":["KI-Beschreibungsgenerator"],"AI social title generator":["KI-Generator fĂĽr soziale Titel"],"AI social description generator":["KI-Generator fĂĽr soziale Beschreibungen"],"Dismiss":["Verwerfen"],"Don’t show again":["Nicht mehr anzeigen"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTipp%2$s: Verbessere die Genauigkeit der von dir generierten KI-Titel, indem du mehr Inhalt auf deiner Seite schreibst."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTipp%2$s: Verbessere die Genauigkeit der von dir generierten KI-Beschreibungen, indem du mehr Inhalt auf deiner Seite schreibst."],"Try again":["Erneut versuchen"],"Social preview":["Voransicht sozialer Medien"],"Desktop result":["Ergebnis fĂĽr den Desktop"],"Mobile result":["Ergebnis fĂĽr die mobilen Geräte"],"Apply %s description":[],"Apply %s title":[],"Next":["Weiter"],"Previous":["ZurĂĽck"],"Generate 5 more":["5 weitere generieren"],"Google preview":["Google-Vorschau"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Aufgrund der strengen ethischen Richtlinien und %1$sNutzungsrichtlinien%2$s von OpenAI können wir keine SEO-Titel fĂĽr deine Seite erstellen. Wenn du beabsichtigst, KI zu nutzen, vermeide bitte die Verwendung von expliziten, gewalttätigen oder sexuell eindeutigen Inhalten. %3$sMehr darĂĽber erfahren, wie du deine Seite konfigurierst, um sicherzustellen, dass du mit KI die besten Ergebnisse erzielst%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Aufgrund der strengen ethischen Richtlinien und %1$sNutzungsrichtlinien%2$s von OpenAI können wir keine Meta-Beschreibungen fĂĽr deine Seite erstellen. Wenn du beabsichtigst, KI zu nutzen, vermeide bitte die Verwendung von expliziten, gewalttätigen oder sexuell eindeutigen Inhalten. %3$sMehr darĂĽber erfahren, wie du deine Seite konfigurierst, um sicherzustellen, dass du mit KI die besten Ergebnisse erzielst%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Um diese Funktion nutzen zu können, benötigst du ein aktives Abonnement von %1$s. Bitte %3$saktiviere dein Abonnement in %2$s%4$s oder %5$serhalte ein neues %1$s Abonnement%6$s. Klicke anschlieĂźend auf den Button zum Aktualisieren dieser Seite, damit die Funktion korrekt funktioniert. Dies kann bis zu 30 Sekunden dauern."],"Refresh page":["Seite aktualisieren"],"Not enough content":["Nicht genug Inhalt"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Bitte versuche es später erneut. Wenn das Problem weiterhin besteht, %1$skontaktiere bitte unser Support-Team%2$s!"],"Something went wrong":["Etwas ist schiefgelaufen"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Es scheint, dass bei der Verbindung eine ZeitĂĽberschreitung aufgetreten ist. Bitte ĂĽberprĂĽfe deine Internetverbindung und versuche es später erneut. Sollte das Problem weiterhin bestehen, %1$skontaktiere bitte unser Support-Team%2$s"],"Connection timeout":["ZeitĂĽberschreitung der Verbindung"],"Use AI":["KI verwenden"],"Close modal":["Modal schlieĂźen"],"Learn more about AI (Opens in a new browser tab)":["Mehr ĂĽber KI erfahren (Ă–ffnet in einem neuen Browser-Tab)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitel%3$s: Deine Seite hat noch keinen Titel. %2$sFĂĽge einen hinzu%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitel%2$s: Deine Seite hat einen Titel. Gut gemacht!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sVerteilung der Keyphrase%3$s: %2$sVerwende deine Keyphrase oder deren Synonyme im Text, damit wir die Verteilung der Keyphrase prĂĽfen können%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sVerteilung der Keyphrase%2$s: Gut gemacht!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sVerteilung der Keyphrase%3$s: Ungleichmäßig. Einige Textabschnitte enthalten weder die Keyphrase noch deren Synonyme. %2$sVerteile diese gleichmäßiger%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sVerteilung der Keyphrase%3$s: Sehr ungleichmäßig. Viele Textabschnitte enthalten weder die Keyphrase noch deren Synonyme. %2$sVerteile diese gleichmäßiger%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Du nutzt nicht zu viele komplexe Worte, was deinen Text leicht zu lesen macht. Gute Arbeit!"],"Word complexity":["Komplexität der Wörter"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s der Worte in deinem Text werden als komplex eingestuft. %3$sVersuche, kĂĽrzere und gebräuchlichere Wörter zu verwenden, um die Lesbarkeit zu erhöhen%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAusrichtung%3$s: Es gibt einen langen Abschnitt mit mittig ausgerichtetem Text. %2$sWir empfehlen, ihn linksbĂĽndig auszurichten%3$s.","%1$sAusrichtung%3$s: Es gibt %4$s lange Abschnitte mit mittig ausgerichtetem Text. %2$sWir empfehlen, sie linksbĂĽndig auszurichten%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAusrichtung%3$s: Es gibt einen langen Abschnitt mit mittig ausgerichtetem Text. %2$sWir empfehlen, ihn rechtsbĂĽndig auszurichten%3$s.","%1$sAusrichtung%3$s: Es gibt %4$s lange Abschnitte mit mittig ausgerichtetem Text. %2$sWir empfehlen, sie rechtsbĂĽndig auszurichten.%3$s"],"Select image":["Bild auswählen"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Vielleicht weiĂźt du es gar nicht, aber möglicherweise gibt es Seiten auf deiner Website, die nicht verlinkt sind. Das ist ein SEO-Problem, denn es ist schwierig fĂĽr Suchmaschinen, Seiten zu finden, die nicht verlinkt sind. Es ist also schwieriger fĂĽr sie zu ranken. Wir nennen diese Seiten verwaiste Inhalte. In diesem Training finden wir die verwaisten Inhalte auf deiner Website und helfen dir, diese schnell mit Links zu versehen, damit sie eine Chance auf ein gutes Ranking haben!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Zeit, ein paar Links hinzuzufĂĽgen! Unten siehst du eine Liste mit deinen verwaisten Artikeln. Unter jedem Artikel findest du Vorschläge fĂĽr verwandte Seiten, von denen aus du einen Link hinzufĂĽgen kannst. Achte beim HinzufĂĽgen des Links darauf, dass du ihn in einen relevanten Satz einfĂĽgst, der mit deinem verwaisten Artikel zusammenhängt. FĂĽge so lange Links zu den verwaisten Artikeln hinzu, bis du mit der Anzahl der Links zufrieden bist, die auf diese Artikel verweisen."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Es ist Zeit, ein paar Links hinzuzufĂĽgen! Unten siehst du eine Liste mit deinen Cornerstone-Inhalten. Unter jedem Cornerstone-Inhalt findest du Vorschläge fĂĽr Artikel, von denen aus du einen Link hinzufĂĽgen kannst. Wenn du den Link hinzufĂĽgst, achte darauf, dass du ihn in einen relevanten Satz einfĂĽgst, der mit deinem Cornerstone-Artikel zusammenhängt. FĂĽge so viele Links aus verwandten Artikeln hinzu, bis die meisten internen Links auf deine Cornerstone-Inhalte verweisen."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Einige Artikel auf deiner Website sind %1$sdie%2$s wichtigsten. Sie beantworten die Fragen der Besucher und lösen ihre Probleme. Sie verdienen es also, zu ranken! In %3$s nennen wir diese Cornerstone-Artikel. Eine der Möglichkeiten, sie hoch zu platzieren, besteht darin, dass genĂĽgend Links auf sie verweisen. Mehr Links signalisieren den Suchmaschinen, dass diese Artikel wichtig und wertvoll sind. In diesem Training helfen wir dir, deinen Cornerstone-Artikel Links hinzuzufĂĽgen!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Sobald du ein wenig mehr Text hinzugefĂĽgt hast, können wir den Formalitätsgrad deines Textes bewerten."],"Overall, your text appears to be %1$s%3$s%2$s.":["Insgesamt scheint dein Text %1$s%3$s%2$s zu sein."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Die Zapier-Integration wird in 20.7 (Erscheinungsdatum 9. Mai) aus %1$s entfernt. Wenn du Fragen hast, wende dich bitte an %2$s."],"Maximum heading level":["Maximale Ăśberschriftenebene"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Du hast die Link-Vorschläge deaktiviert, die erforderlich sind, damit Relevante Links funktionieren. Wenn du Relevante Links hinzufĂĽgen möchtest, gehe bitte zu Seitenfunktionen und aktiviere Link-Vorschläge."],"Schema":["Schema"],"Meta tags":["Meta-Tags"],"Not available":["Nicht verfĂĽgbar"],"Checks":["PrĂĽfungen"],"Focus Keyphrase":["Fokus-Keyphrase"],"Good":["Gut"],"No index":["Nicht indexieren"],"Front-end SEO inspector":["Front-end SEO inspector"],"Focus keyphrase not set":["Fokus-Keyphrase nicht gesetzt"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Sobald du deinen Zap in deinem %s-Dashboard veröffentlicht hast, kannst du ĂĽberprĂĽfen, ob er aktiv und mit deiner Website verbunden ist."],"Reset API key":["API-SchlĂĽssel zurĂĽcksetzen"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Du bist derzeit mit %s mit dem folgenden API-SchlĂĽssel verbunden. Wenn du die Verbindung mit einem anderen API-SchlĂĽssel wiederherstellen möchtest, kannst du deinen SchlĂĽssel unten zurĂĽcksetzen."],"Your API key":["Dein API-SchlĂĽssel"],"Go to your %s dashboard":["Zu deinem %s-Dashboard gehen"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Du wurdest erfolgreich mit %1$s verbunden! Um deinen Zap zu verwalten, besuche bitte dein %2$s-Dashboard."],"Your %s dashboard":["Dein %s-Dashboard"],"Verify connection":["Verbindung ĂĽberprĂĽfen"],"Verify your connection":["ĂśberprĂĽfe deine Verbindung"],"Create a Zap":["Einen Zap erstellen"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Melde dich in deinem %1$s-Konto an und beginne mit der Erstellung deines ersten Zaps! Beachte, dass du nur 1 Zap mit einem Auslöseereignis von %2$s erstellen kannst. In diesem Zap kannst du eine oder mehrere Aktionen auswählen."],"%s API key":["%s-API-SchlĂĽssel"],"You'll need this API key later on in %s when you're setting up your Zap.":["Du brauchst diesen API-SchlĂĽssel später in %s, wenn du deinen Zap einrichtest."],"Copy your API key":["Deinen API-SchlĂĽssel kopieren"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Um eine Verbindung einzurichten, kopiere den unten angegebenen API-SchlĂĽssel und benutze ihn, um einen Zap in deinem %s-Konto zu erstellen und zu aktivieren."],"Manage %s settings":["%s-Einstellungen verwalten"],"Connect to %s":["Verbinden mit %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Bitte beachte: Damit dieses Training gut funktioniert, musst du das SEO-Datenoptimierungstool ausfĂĽhren. Administratoren können dies ausfĂĽhren unter %1$sSEO > Werkzeuge%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Du hast Links zu deinen verwaisten Artikeln hinzugefĂĽgt und die nicht mehr relevanten Artikel bereinigt. Gute Arbeit! Wirf einen Blick auf die folgende Zusammenfassung und freu dich ĂĽber das, was du erreicht hast!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["PrĂĽfe die Inhalte in dieser Liste kritisch und nimm die notwendigen Aktualisierungen vor. Wenn du Hilfe bei der Aktualisierung benötigst, haben wir einen sehr %1$snĂĽtzlichen Blogbeitrag, der dich auf dem ganzen Weg begleiten kann%2$s (Anklicken, um ihn in einem neuen Tab zu öffnen)"],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sDu benötigst mehr UnterstĂĽtzung? Im folgenden Leitfaden haben wir jeden Schritt detailliert beschrieben: %2$sSo benutzt du das %7$s Training fĂĽr verwaiste Inhalte%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Du hast soeben dafĂĽr gesorgt, dass deine besten Inhalte leicht auffindbar sind und mit größerer Wahrscheinlichkeit gefunden werden! Weiter so! Vergiss nicht, von Zeit zu Zeit zu ĂĽberprĂĽfen, ob deine Cornerstone-Inhalte genĂĽgend Links erhalten!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Wirf einen Blick auf die folgende Liste. Haben deine Cornerstone-Inhalte (markiert mit %1$s) die meisten internen Links, die auf sie zeigen? Klicke auf den Button Optimieren, wenn du der Meinung bist, dass ein Cornerstone-Inhalt mehr Links benötigt. Dadurch wird der Beitrag zum nächsten Schritt gebracht."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Haben alle deine Cornerstone-Inhalte grĂĽne Punkte? Um die besten Ergebnisse zu erzielen, solltest du diejenigen bearbeiten, die keine haben!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Welche Artikel möchtest du am höchsten platzieren? Welche wĂĽrden deine Leser am nĂĽtzlichsten und vollständigsten finden? Klicke auf den nach unten zeigenden Pfeil und suche nach Artikeln, die diese Kriterien erfĂĽllen. Die von dir ausgewählten Artikel werden von uns automatisch als Cornerstone-Inhalte markiert."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sBenörigst du mehr UnterstĂĽtzung? Wir haben jeden Schritt detailliert beschrieben: %2$sSo verwendest du das %7$sCornerstone-Training%3$s%4$s%5$s verwenden.%6$s"],"Yoast Table of Contents":["Yoast Inhaltsverzeichnis"],"Yoast Related Links":["Yoast Relevante Links"],"Finish optimizing":["Optimierung abschlieĂźen"],"You've finished adding links to this article.":["Sie haben das HinzufĂĽgen von Links zu diesem Artikel abgeschlossen."],"Optimize":["Optimieren"],"Added to next step":["Zum nächsten Schritt hinzugefĂĽgt"],"Choose cornerstone articles...":["Wähle die Cornerstone-Artikel ..."],"Loading data...":["Lade Daten …"],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Du hast bisher keine Beiträge innerhalb dieses Workouts aufgeräumt oder aktualisiert. Sobald du das tust, wird hier eine Zusammenfassung deiner Arbeit erscheinen."],"Skipped":["Ăśbersprungen"],"Hidden from search engines.":["Vor Suchmaschinen verborgen."],"Removed":["Entfernt"],"Improved":["Verbessert"],"Resolution":["Auflösung"],"Loading redirect options...":["Umleitungs-Optionen laden..."],"Remove and redirect":["Entfernen und umleiten"],"Custom url:":["Individuelle URL:"],"Related article:":["Verwandter Beitrag:"],"Home page:":["Homepage:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Du bist dabei, %1$s%2$s%3$s zu entfernen. Um 404-Fehler auf deiner Website zu vermeiden, solltest du es auf eine andere Seite deiner Website umleiten. Wohin möchtest du umleiten?"],"SEO Workout: Remove article":["SEO-Workout: Beitrag entfernen"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Das sieht alles gut aus! Wir haben keine Beiträge auf deiner Website gefunden, die älter als 6 Monate sind und zu wenige Links auf deine Website erhalten. Komm später wieder fĂĽr neue Vorschläge zum Aufräumen!"],"Hide from search engines":["Vor Suchmaschinen verbergen"],"Improve":["Verbessern"],"Are you sure you wish to hide this article from search engines?":["Bist du sicher, dass du diesen Beitrag vor Suchmaschinen verbergen willst?"],"Action":["Aktion"],"You've hidden this article from search engines.":["Du hast diesen Beitrag vor Suchmaschinen verborgen."],"You've removed this article.":["Du hast diesen Beitrag entfernt."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Du hast momentan keine Beiträge zum Verbessern ausgewählt. Wähle in den vorherigen Schritten ein paar verwaiste Beiträge aus, um Links hinzuzufĂĽgen und wir werden dir hier Vorschläge fĂĽr Links anzeigen."],"Loading link suggestions...":["Link-Vorschläge laden..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Wir haben keine Vorschläge fĂĽr diesen Beitrag gefunden, aber du kannst natĂĽrlich trotzdem Links zu Beiträgen hinzufĂĽgen, die du fĂĽr relevant hältst."],"Skip":["Ăśberspringen"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Du hast keine Beiträge fĂĽr diesem Schritt ausgewählt. Du kannst das im vorherigen Schritt tun."],"Is it up-to-date?":["Ist das der neueste Stand?"],"Last Updated":["Zuletzt aktualisiert"],"You've moved this article to the next step.":["Du hast diesen Beitrag zu dem nächsten Schritt verschoben."],"Unknown":["Unbekannt"],"Clear summary":["Zusammenfassung leeren"],"Add internal links towards your orphaned articles.":["FĂĽge interne Links auf deine verwaisten Beiträge hinzu."],"Should you update your article?":["Solltest du deinen Beitrag aktualisieren?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Ihre Website enthält oft viele Inhalte, die einmal erstellt wurden und auf die du danach nie wieder zurĂĽckblickst. Es ist wichtig, dass Sie diese durchgehen und sich fragen, ob diese Inhalte noch relevant fĂĽr Ihre Website sind. Sollte ich sie verbessern oder entfernen?"],"Start: Love it or leave it?":["Start: Love it or leave it?"],"Clean up your unlinked content to make sure people can find it":["Räume deine nicht verlinkten Inhalte auf, um sicherzustellen, dass jeder sie finden kann"],"I've finished this workout":["Ich habe dieses Training beendet"],"Reset this workout":["Dieses Training zurĂĽcksetzen"],"Well done!":["Gut gemacht!"],"Add internal links towards your cornerstones":["FĂĽge interne Links zu deinen Cornerstone-Inhalten hinzu"],"Check the number of incoming internal links of your cornerstones":["ĂśberprĂĽfe die Anzahl der eingehenden internen Links deiner Cornerstone-Inhalte"],"Start: Choose your cornerstones!":["Start: Wähle deine Cornerstone-Inhalte!"],"The cornerstone approach":["Der Cornerstone-Ansatz"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Bitte beachte: Damit dieses Training gut funktioniert und dir Verlinkungsvorschläge anbieten kann, musst du das SEO-Datenoptimierungstool ausfĂĽhren. Administratoren können dies unter %1$sSEO > Werkzeuge%2$s ausfĂĽhren."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Bitte beachten: Dein Administrator hat die Cornerstone-Funktion in den SEO-Einstellungen deaktiviert. Wenn du dieses Training nutzen möchtest, sollte sie aktiviert sein."],"I've finished this step":["Ich habe diesen Schritt abgeschlossen"],"Revise this step":["Diesen Schritt ĂĽberarbeiten"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Wir konnten keine internen Links auf Ihren Seiten finden. Entweder haben Sie noch keine internen Links zu Ihren Inhalten hinzugefĂĽgt oder Yoast SEO hat sie nicht indiziert. Sie können Yoast SEO Ihre Links indizieren lassen, indem Sie die SEO-Datenoptimierung unter SEO > Werkzeuge ausfĂĽhren."],"Incoming links":["Eingehende Links"],"Edit to add link":["Bearbeiten, um Link hinzuzufĂĽgen"],"%s incoming link":["%s eingehender Link","%s eingehende Links"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Du hast derzeit keine Artikel als Cornerstone-Inhalt markiert. Wenn du deine Artikel als Cornerstone markierst, werden sie hier angezeigt."],"Focus keyphrase":["Fokus-Keyphrase"],"Article":["Artikel"],"Readability score":["Lesbarkeitsbewertung"],"SEO score":["SEO-Wert"],"Copy failed":["Kopieren fehlgeschlagen"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Verbessere die Rankings all deiner Cornerstone-Inhalte mit diesem %1$sSchritt-fĂĽr-Schritt-Training!%2$s"],"Rank with articles you want to rank with":["Erziele ein gutes Ranking mit Artikeln, mit denen du auch ranken willst"],"Descriptive text":["Beschreibungstext"],"Show the descriptive text":["Beschreibungstext anzeigen"],"Show icon":["Icon anzeigen"],"Yoast Estimated Reading Time":["Yoast Voraussichtliche Lesedauer"],"Shows an estimated reading time based on the content length.":["Zeit die voraussichtliche Lesedauer basierend auf der Länge des Inhalts an."],"reading time":["Lesezeit"],"content length":["Länge des Inhalts"],"Estimated reading time:":["Voraussichtliche Lesedauer:"],"minute":["Minute","Minuten"],"Settings":["Einstellungen"],"OK":["OK"],"Close":["schliessen"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Die erste echte All-in-One-SEO-Lösung fĂĽr WordPress, einschlieĂźlich On-Page Inhaltsanalyse, XML-Sitemaps und vielem mehr."],"Type":["Typ"],"Team Yoast":["Team Yoast"],"Orphaned content":["Verwaister Inhalt"],"Synonyms":["Synonyme"],"Internal linking suggestions":["Vorschläge zur internen Verlinkung"],"Enter a related keyphrase to calculate the SEO score":["Gib eine relevante Keyphrase ein, um den SEO-Wert zu berechnen"],"Related keyphrase":["Ă„hnliche Keyphrase"],"Add related keyphrase":["Relevante Keyphrase hinzufĂĽgen"],"Analysis results":["Analyse-Ergebnisse"],"Help on choosing the perfect keyphrase":["Hilfe bei der Wahl einer perfekten Keyphrase"],"Help on keyphrase synonyms":["Hilfe bei Synonymen zur Keyphrase"],"Keyphrase":["Keyphrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Neue URL: {{link}}%s{{/link}}"],"Undo":["RĂĽckgängig"],"Redirect created":["Umleitung angelegt"],"%s just created a redirect from the old URL to the new URL.":["%s hat gerade eine Umleitung von der alten URL zur neuen URL erstellt."],"Old URL: {{link}}%s{{/link}}":["Alte URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Keyphrase-Synonyme"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Es ist ein Fehler aufgetreten: Die Premium-SEO-Analyse funktioniert nicht wie erwartet. Bitte {{activateLink}}aktiviere dein Abonnement in MyYoast{{/activateLink}} und {{reloadButton}}lade diese Seite neu{{/reloadButton}}, damit sie richtig funktioniert."],"seo":["SEO"],"internal linking":["Interne Verlinkung"],"site structure":["Website-Struktur"],"We could not find any relevant articles on your website that you could link to from your post.":["Wir konnten keine relevanten Beiträge auf deiner Website finden, auf die du von deinem Beitrag aus verlinken könntet."],"Load suggestions":["Vorschläge laden"],"Refresh suggestions":["Vorschläge neu laden"],"Write list…":["Schreibe eine Liste…"],"Adds a list of links related to this page.":["FĂĽgt eine Liste von mit dieser Seite verwandten Links hinzu."],"related posts":["Verwandte Beiträge"],"related pages":["Verwandte Seiten"],"Adds a table of contents to this page.":["FĂĽgt dieser Seite ein Inhaltsverzeichnis hinzu."],"links":["Links"],"toc":["Inhaltsverzeichnis"],"Copy link":["Link kopieren"],"Copy link to suggested article: %s":["Link zum vorgeschlagenen Artikel kopieren: %s"],"Add a title to your post for the best internal linking suggestions.":["FĂĽge deinem Beitrag eine Ăśberschrift hinzu, fĂĽr die besten internen Link-Vorschläge."],"Add a metadescription to your post for the best internal linking suggestions.":["FĂĽge deinem Beitrag eine Meta-Beschreibung hinzu, fĂĽr die besten internen Link-Vorschläge."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["FĂĽge deinem Beitrag eine Ăśberschrift und eine Meta-Beschreibung hinzu, fĂĽr die besten internen Link-Vorschläge."],"Also, add a title to your post for the best internal linking suggestions.":["FĂĽge deinem Beitrag auch eine Ăśberschrift hinzu, fĂĽr die besten internen Link-Vorschläge."],"Also, add a metadescription to your post for the best internal linking suggestions.":["FĂĽge deinem Beitrag auch eine Meta-Beschreibung hinzu, fĂĽr die besten internen Link-Vorschläge."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["FĂĽge deinem Beitrag auch eine Ăśberschrift und eine Meta-Beschreibung hinzu, fĂĽr die besten internen Link-Vorschläge."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Hast du deiner Seite einmal etwas mehr Inhalt hinzugefĂĽgt, werden wir dir hier eine Liste mit verwandten Inhalten anzeigen, die du in deinem Beitrag verlinken kannst."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Um die Struktur deiner Website zu verbessern, denk darĂĽber nach, andere relevante Beiträge oder Seiten auf deiner Website zu verlinken."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Es dauert ein paar Sekunden, um die eine Liste verwandter Inhalte anzuzeigen, die du verlinken kannst. Die Vorschläge werden hier angezeigt, sobald sie uns vorliegen."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Lies unsere Anleitung ĂĽber interne Verlinkung fĂĽr SEO{{/a}}, um mehr zu erfahren."],"Copied!":["Kopiert!"],"Not supported!":["Nicht unterstĂĽtzt!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Versuchst du, mehrere verwandte Keyphrasen zu benutzen? Du solltest sie separat hinzufĂĽgen."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Deine Keyphrase ist zu lang. Die Länge kann maximal 191 Zeichen betragen."],"Add as related keyphrase":["Verwandte Keyphrase hinzufĂĽgen"],"Added!":["HinzugefĂĽgt!"],"Remove":["Entfernen"],"Table of contents":["Inhaltsverzeichnis"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Wir mĂĽssen die SEO-Daten deiner Website optimieren, damit wir die die besten %1$sLink-Vorschläge%2$s anbieten können. %3$sSEO-Datenoptimierung starten%4$s"],"Create a Zap in %s":["Einen Zap in %s erstellen"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-el.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-el.json new file mode 100644 index 00000000..6c83be98 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-el.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"el_GR"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Το αίτημα επέĎĎ„ĎεĎε με το ακόλουθο Ďφάλμα: \"%s\""],"X share preview":["ΠĎοεπιĎκόπηĎη διαμοιĎαĎμού X"],"AI X title generator":["ΓεννήτĎια τίτλου AI X"],"AI X description generator":["ΓεννήτĎια πεĎιγĎαφής AI X"],"X preview":["ΠĎοεπιĎκόπηĎη X"],"Please enter a valid focus keyphrase.":["ΕιĎαγάγετε μια έγκυĎη φĎάĎη-κλειδί εĎτίαĎης."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Για να χĎηĎιμοποιήĎετε αυτήν τη δυνατότητα, Îż ÎąĎτότοπός Ďας Ď€Ďέπει να είναι δημόĎια Ď€ĎÎżĎβάĎιμος. Αυτό ÎąĎχύει τόĎÎż για δοκιμαĎτικούς ÎąĎτότοπους ĎŚĎÎż και για πεĎιπτώĎεις όπου το REST API Ďας Ď€ĎÎżĎτατεύεται με κωδικό Ď€ĎĎŚĎβαĎης. Βεβαιωθείτε ότι Îż ÎąĎτότοπός Ďας είναι δημόĎια Ď€ĎÎżĎβάĎιμος και Ď€ĎÎżĎπαθήĎτε ξανά. Εάν το Ď€Ďόβλημα παĎαμένει, %1$sεπικοινωνήĎτε με την ομάδα υποĎτήĎιξης%2$s."],"Yoast AI cannot reach your site":["Το Yoast AI δεν μποĎεί να επικοινωνήĎει με τον ÎąĎτότοπο Ďας"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Για να αποκτήĎετε Ď€ĎĎŚĎβαĎη Ďε αυτήν τη δυνατότητα, χĎειάζεĎτε ενεĎγές ĎυνδĎομές %2$s και %3$s. %5$sαπενεĎγοποιήĎτε τις ĎυνδĎομές Ďας Ďτο %1$s%6$s ή %7$s αποκτήĎτε μια νέα %4$s%8$s. Στη Ďυνέχεια, ανανεώĎτε αυτήν τη Ďελίδα για να λειτουĎγεί ĎωĎτά η λειτουĎγία, κάτι που μποĎεί να διαĎκέĎει έως και 30 δευτεĎόλεπτα."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["Η δημιουĎγία τίτλων TN απαιτεί να ενεĎγοποιηθεί η ανάλυĎη SEO Ď€Ďιν από τη χĎήĎη. Για να το ενεĎγοποιήĎετε, μεταβείτε Ďτις %2$sδυνατότητες του ÎąĎτότοπου%1$s%3$s, ενεĎγοποιήĎτε την ανάλυĎη SEO και κάντε κλικ Ďτην 'ΑποθήκευĎη αλλαγών'. Εάν η ανάλυĎη SEO είναι απενεĎγοποιημένη Ďτο Ď€Ďοφίλ χĎήĎτη του WordPress, αποκτήĎτε Ď€ĎĎŚĎβαĎη Ďτο Ď€Ďοφίλ Ďας και ενεĎγοποιήĎτε το εκεί. ΕπικοινωνήĎτε με τον διαχειĎÎąĎτή Ďας εάν δεν έχετε Ď€ĎĎŚĎβαĎη Ďε αυτές τις ĎυθμίĎεις."],"Social share preview":["ΠĎοεπιĎκόπηĎη διαμοιĎαĎμού κοινωνικών δικτύων"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Για να ĎυνεχίĎετε να χĎηĎιμοποιείτε τη λειτουĎγία Yoast AI, μειώĎτε τη Ďυχνότητα των αιτημάτων Ďας. Το %1$sάĎθĎÎż βοήθειας%2$s μας παĎέχει οδηγίες για τον αποτελεĎματικό ĎχεδιαĎÎĽĎŚ και τον Ďυθμό των αιτημάτων Ďας για μια βελτιĎτοποιημένη Ďοή εĎγαĎίας."],"You've reached the Yoast AI rate limit.":["Îχετε φτάĎει το ĎŚĎιο ποĎÎżĎτού Yoast AI."],"Allow":["ΕπιτĎέπεται"],"Deny":["ΆĎνηĎη"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Για να δείτε το βίντεο, χĎειάζεται να επιτĎέĎετε το %1$s να φοĎτώĎει τα ενĎωματωμένα βίντεο από %2$s."],"Text generated by AI may be offensive or inaccurate.":["Το κείμενο που δημιουĎγείται από AI μποĎεί να είναι Ď€ĎÎżĎβλητικό ή ανακĎιβές."],"(Opens in a new browser tab)":["(Ανοίγει Ďε νέα καĎτέλα)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Επιταχύνετε τη Ďοή εĎγαĎίας Ďας με τη δημιουĎγική Τεχνητή ΝοημοĎύνη. ΑποκτήĎτε Ď€ĎοτάĎεις τίτλων και πεĎιγĎαφών Ď…Ďηλής ποιότητας για την αναζήτηĎη και την Ď€Ďοβολή Ďτα κοινωνική δίκτυα. %1$sΜάθετε πεĎÎąĎĎότεĎα%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["ΔημιουĎγήĎτε τίτλους και πεĎιγĎαφές με το Yoast AI!"],"New to %1$s":["Νέο Ďτο %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["ΕγκĎίνω τους %1$sÎŚĎους των ΥπηĎεĎιών%2$s & %3$sΠολιτική ΑποĎĎήτου%4$s της υπηĎεĎίας Yoast AI. Αυτό πεĎιλαμβάνει τη ĎυναίνεĎη Ďτη Ďυλλογή και χĎήĎη δεδομένων για τη βελτίωĎη της εμπειĎίας χĎήĎτη."],"Start generating":["ÎναĎξη δημιουĎγίας"],"Yes, revoke consent":["Ναι, ανάκληĎη ĎυγκατάθεĎης"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Με την ανάκληĎη της ĎυγκατάθεĎή Ďας, δεν θα έχετε πλέον Ď€ĎĎŚĎβαĎη Ďτις λειτουĎγίες Yoast AI. ΕίĎτε βέβαιοι ότι θέλετε να ανακαλέĎετε τη ĎυγκατάθεĎή Ďας;"],"Something went wrong, please try again later.":["Κάτι πήγε ĎĎ„Ďαβά, παĎακαλούμε δοκιμάĎτε ξανά αĎγότεĎα."],"Revoke AI consent":["ΑνάκληĎη ĎυγκατάθεĎης AI"],"AI title generator":["ΓεννήτĎια τίτλου TN"],"AI description generator":["ΓεννήτĎια πεĎιγĎαφής TN"],"AI social title generator":["ΓεννήτĎια τίτλου AI για κοινωνικά δίκτυα"],"AI social description generator":["ΓεννήτĎια πεĎιγĎαφής AI για κοινωνικά δίκτυα"],"Dismiss":["ΑπόĎĎÎąĎη"],"Don’t show again":["Να μην εμφανιĎτεί ξανά"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sΣυμβουλή%2$s: ΒελτιώĎτε την ακĎίβεια των τίτλων AI που δημιουĎγείτε ÎłĎάφοντας πεĎÎąĎĎότεĎÎż πεĎιεχόμενο Ďτη Ďελίδα Ďας."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sΣυμβουλή%2$s: ΒελτιώĎτε την ακĎίβεια των πεĎιγĎαφών AI που δημιουĎγείτε ÎłĎάφοντας πεĎÎąĎĎότεĎÎż πεĎιεχόμενο Ďτη Ďελίδα Ďας."],"Try again":["ΠĎÎżĎπαθήĎτε ξανά"],"Social preview":["ΠĎοεπιĎκόπηĎη κοινωνικής δικτύωĎης"],"Desktop result":["ΑποτέλεĎμα επιτĎαπέζιου"],"Mobile result":["Mobile αποτέλεĎμα"],"Apply %s description":[],"Apply %s title":[],"Next":["Επόμενο"],"Previous":["ΠĎοηγούμενο"],"Generate 5 more":["ΔημιουĎγήĎτε άλλα 5"],"Google preview":["ΠĎοεπιĎκόπηĎη Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Λόγω των αυĎτηĎών δεοντολογικών οδηγιών του OpenAI και των %1$sπολιτικών χĎήĎης%2$s, δεν μποĎούμε να δημιουĎγήĎουμε τίτλους SEO για τη Ďελίδα Ďας. Εάν Ďκοπεύετε να χĎηĎιμοποιήĎετε τεχνητή νοημοĎύνη, αποφύγετε τη χĎήĎη άĎεμνου, βίαιου ή Ďεξουαλικού πεĎιεχομένου. %3$sΔιαβάĎτε πεĎÎąĎĎότεĎα Ďχετικά με τον Ď„Ďόπο διαμόĎφωĎης της Ďελίδας Ďας για να βεβαιωθείτε ότι έχετε τα καλύτεĎα αποτελέĎματα με την AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Λόγω των αυĎτηĎών δεοντολογικών οδηγιών του OpenAI και των %1$sπολιτικών χĎήĎης%2$s, δεν μποĎούμε να δημιουĎγήĎουμε μετα-πεĎιγĎαφές για τη Ďελίδα Ďας. Εάν Ďκοπεύετε να χĎηĎιμοποιήĎετε τεχνητή νοημοĎύνη, αποφύγετε τη χĎήĎη άĎεμνου, βίαιου ή Ďεξουαλικού πεĎιεχομένου. %3$sΔιαβάĎτε πεĎÎąĎĎότεĎα Ďχετικά με τον Ď„Ďόπο διαμόĎφωĎης της Ďελίδας Ďας για να βεβαιωθείτε ότι έχετε τα καλύτεĎα αποτελέĎματα με την AI%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Για να αποκτήĎετε Ď€ĎĎŚĎβαĎη Ďε αυτήν τη δυνατότητα, χĎειάζεĎτε μια ενεĎγή ĎυνδĎομή %1$s. %3$sενεĎγοποιήĎτε τη ĎυνδĎομή Ďας Ďτο %2$s%4$s ή %5$s αποκτήĎτε μια νέα ĎυνδĎομή %1$s%6$s. Στη Ďυνέχεια, κάντε κλικ Ďτο κουμπί για να ανανεώĎετε αυτήν τη Ďελίδα για να λειτουĎγήĎει ĎωĎτά η λειτουĎγία, κάτι που μποĎεί να διαĎκέĎει έως και 30 δευτεĎόλεπτα."],"Refresh page":["ΑνανέωĎη Ďελίδας"],"Not enough content":["ΧωĎÎŻĎ‚ αĎκετό πεĎιεχόμενο"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["ΠαĎακαλούμε δοκιμάĎτε ξανά αĎγότεĎα. Εάν το Ď€Ďόβλημα παĎαμένει, %1$sεπικοινωνήĎτε με την ομάδα υποĎτήĎιξης%2$s!"],"Something went wrong":["ΠαĎουĎιάĎτηκε κάποιο Ďφάλμα"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Φαίνεται ότι Ď€ĎοέκυĎε ένα χĎονικό ĎŚĎιο ĎύνδεĎης. Ελέγξτε τη ĎύνδεĎή Ďας Ďτο διαδίκτυο και δοκιμάĎτε ξανά αĎγότεĎα. Εάν το Ď€Ďόβλημα παĎαμένει, %1$sεπικοινωνήĎτε με την ομάδα υποĎτήĎιξης%2$s"],"Connection timeout":["ΧĎονικό ĎŚĎιο ĎύνδεĎης"],"Use AI":["ΧĎήĎη AI"],"Close modal":["ΚλείĎιμο παĎαθύĎου"],"Learn more about AI (Opens in a new browser tab)":["Μάθετε πεĎÎąĎĎότεĎα για την Τεχνητή ΝοημοĎύνη (Ανοίγει Ďε νέα καĎτέλα του Ď€ĎογĎάμματος πεĎιήγηĎης)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sΤίτλος%3$s: Η Ďελίδα Ďας δεν έχει ακόμη τίτλο. %2$sΠĎÎżĎθέĎτε έναν%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sΤίτλος%2$s: Η Ďελίδα Ďας έχει τίτλο. ΜπĎάβο!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sΚατανομή φĎάĎης-κλειδί%3$s: %2$sΣυμπεĎιλάβετε τη φĎάĎη-κλειδί ή Ďυνώνυμά της Ďτο κείμενο ĎŽĎτε να αναλύĎουμε την κατανομή της φĎάĎης-κλειδί%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sΚατανομή φĎάĎης-κλειδιού%2$s: Καλή δουλειά!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sΚατανομή φĎάĎης-κλειδιού%3$s: ΆνιĎη. ÎźĎÎąĎμένα μέĎη του κειμένου Ďας δεν πεĎιέχουν τη φĎάĎη-κλειδί ή τα Ďυνώνυμά της. %2$sΚατανείμετε τα πιο ομοιόμοĎφα%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sΚατανομή φĎάĎης-κλειδιού%3$s: Πολύ άνιĎη. Μεγάλα μέĎη του κειμένου Ďας δεν πεĎιέχουν τη φĎάĎη-κλειδί ή Ďυνώνυμά της. %2$sΚατανείμετε τα πιο ομοιόμοĎφα%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Δεν χĎηĎιμοποιείτε πάĎα πολλές Ďύνθετες λέξεις, γεγονός που καθιĎτά το κείμενό Ďας εύκολο Ďτην ανάγνωĎη. Καλή δουλειά!"],"Word complexity":["Πολυπλοκότητα λέξεων"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s από τις λέξεις Ďτο κείμενό Ďας θεωĎούνται Ďύνθετες. %3$sΠĎÎżĎπαθήĎτε να χĎηĎιμοποιήĎετε μικĎότεĎες και πιο οικείες λέξεις για να βελτιώĎετε την αναγνωĎιμότητα%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sΣτοίχιĎη%3$s: ΥπάĎχει μια μεγάλη ενότητα κειμένου με ĎτοίχιĎη Ďτο κέντĎÎż. %2$sΣυνιĎτούμε να την κάνετε με αĎÎąĎτεĎή ĎτοίχιĎη%3$s.","%1$sΣτοίχιĎη%3$s: ΥπάĎχουν %4$s μεγάλες ενότητες κειμένου με ĎτοίχιĎη Ďτο κέντĎÎż. %2$sΣυνιĎτούμε να τις κάνετε αĎÎąĎτεĎή ĎτοίχιĎη%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sΣτοίχιĎη%3$s: ΥπάĎχει μια μεγάλη ενότητα κειμένου με ĎτοίχιĎη Ďτο κέντĎÎż. %2$sΣυνιĎτούμε να την κάνετε δεξιά ĎτοίχιĎη%3$s.","%1$sΣτοίχιĎη%3$s: ΥπάĎχουν %4$s μεγάλες ενότητες κειμένου με ĎτοίχιĎη Ďτο κέντĎÎż. %2$sΣυνιĎτούμε να τις κάνετε δεξιά ĎτοίχιĎη%3$s."],"Select image":["Επιλέξτε εικόνα"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["ΜποĎεί να μην το γνωĎίζετε καν, αλλά μποĎεί να υπάĎχουν Ďελίδες Ďτον ÎąĎτότοπό Ďας που δεν λαμβάνουν ĎυνδέĎμους. Αυτό είναι ένα ζήτημα SEO, επειδή είναι δύĎκολο για τις μηχανές αναζήτηĎης να βĎουν Ďελίδες που δεν λαμβάνουν ĎυνδέĎμους. ÎĎ„ĎÎą, είναι πιο δύĎκολο για αυτούς να τις κατατάξουν. Ονομάζουμε αυτές τις Ďελίδες ÎżĎφανό πεĎιεχόμενο. Σε αυτήν την άĎκηĎη, βĎÎŻĎκουμε το ÎżĎφανό πεĎιεχόμενο Ďτον ÎąĎτότοπό Ďας και Ďας καθοδηγούμε Ďτη ÎłĎήγοĎη Ď€ĎÎżĎθήκη ĎυνδέĎμων Ďε αυτό, ĎŽĎτε να έχει την ευκαιĎία να ταξινομηθεί!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["ÎŹĎα να Ď€ĎÎżĎθέĎετε μεĎικούς ĎυνδέĎμους! ΠαĎακάτω, βλέπετε μια λίĎτα με τα ÎżĎφανά άĎθĎα Ďας. Κάτω από κάθε ένα, υπάĎχουν Ď€ĎοτάĎεις για τις Ďχετικές Ďελίδες από τις οποίες θα μποĎούĎατε να Ď€ĎÎżĎθέĎετε έναν ĎύνδεĎÎĽÎż. Κατά την Ď€ĎÎżĎθήκη του ĎυνδέĎμου, φĎοντίĎτε να τον ειĎάγετε Ďε Ďχετική Ď€ĎόταĎη που Ďχετίζεται με το ÎżĎφανό άĎθĎÎż Ďας. ΣυνεχίĎτε να Ď€ĎÎżĎθέτετε ĎυνδέĎμους Ďε κάθε ένα από τα ÎżĎφανά άĎθĎα μέχĎÎą να είĎτε ικανοποιημένοι με τον αĎιθμό των ĎυνδέĎμων που δείχνουν Ď€Ďος αυτά."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["ÎŹĎα να Ď€ĎÎżĎθέĎετε μεĎικούς ĎυνδέĎμους! ΠαĎακάτω, βλέπετε μια λίĎτα με βαĎικό πεĎιεχόμενο Ďας. Κάτω από κάθε βαĎικό πεĎιεχόμενο, υπάĎχουν Ď€ĎοτάĎεις για άĎθĎα από τα οποία θα μποĎούĎατε να Ď€ĎÎżĎθέĎετε έναν ĎύνδεĎÎĽÎż. Κατά την Ď€ĎÎżĎθήκη του ĎυνδέĎμου, φĎοντίĎτε να τον ειĎαγάγετε Ďε μια Ďχετική Ď€ĎόταĎη που Ďχετίζεται με το άĎθĎÎż βαĎικό πεĎιεχόμενο Ďας. ΣυνεχίĎτε να Ď€ĎÎżĎθέτετε ĎυνδέĎμους από ĎŚĎα Ďχετικά άĎθĎα χĎειάζεĎτε, έως ότου τα βαĎικά Ďας πεĎιεχόμενα έχουν τους πεĎÎąĎĎότεĎους εĎωτεĎικούς ĎυνδέĎμους που δείχνουν Ď€Ďος αυτά."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["ÎźĎÎąĎμένα άĎθĎα Ďτον ÎąĎτότοπό Ďας είναι %1$sτα%2$s πιο Ďημαντικά. Απαντούν Ďτις εĎωτήĎεις των ανθĎώπων και λύνουν τα Ď€Ďοβλήματά τους. ΆĎα, τους αξίζει η κατάταξη! Στο %3$s, ονομάζουμε αυτά τα άĎθĎα βαĎικό πεĎιεχόμενο. Îνας από τους Ď„Ďόπους για να τα κατατάξετε είναι να τους υποδείξετε αĎκετούς ĎυνδέĎμους. ΠεĎÎąĎĎότεĎοι ĎύνδεĎμοι Ďηματοδοτούν Ďτις μηχανές αναζήτηĎης ότι αυτά τα άĎθĎα είναι Ďημαντικά και πολύτιμα. Σε αυτήν την Ď€ĎοπόνηĎη, θα Ďας βοηθήĎουμε να Ď€ĎÎżĎθέĎετε ĎυνδέĎμους Ďτα άĎθĎα με το βαĎικό Ďας πεĎιεχόμενο!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Μόλις Ď€ĎÎżĎθέĎετε λίγο πεĎÎąĎĎότεĎÎż κείμενο, θα μποĎούμε να Ďας πούμε το επίπεδο τυπικότητας του κειμένου Ďας."],"Overall, your text appears to be %1$s%3$s%2$s.":["Συνολικά, το κείμενό Ďας φαίνεται να είναι %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Η ενĎωμάτωĎη του Zapier θα καταĎγηθεί από το %1$s Ďτην έκδοĎη 20.7 (ημεĎομηνία κυκλοφοĎίας 9 ΜαÎου). Εάν έχετε εĎωτήĎεις, απευθυνθείτε Ďτο %2$s."],"Maximum heading level":["ΜέγιĎτο επίπεδο επικεφαλίδας"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Îχετε απενεĎγοποιήĎει τις Ď€ĎοτάĎεις ĎυνδέĎμων, οι οποίες είναι απαĎαίτητες για να λειτουĎγήĎουν οι Ďχετικοί ĎύνδεĎμοι. Εάν θέλετε να Ď€ĎÎżĎθέĎετε Σχετικούς ĎυνδέĎμους, μεταβείτε Ďτις ΛειτουĎγίες ÎąĎτότοπου και ενεĎγοποιήĎτε τις Ď€ĎοτάĎεις ĎυνδέĎμων."],"Schema":["Schema"],"Meta tags":["Μέτα ετικέτες"],"Not available":["Μη διαθέĎιμο"],"Checks":["Îλεγχοι"],"Focus Keyphrase":["ΦĎάĎη-κλειδί εĎτίαĎης"],"Good":["Καλό"],"No index":["No index"],"Front-end SEO inspector":["ΕπιθεωĎητής SEO Front-end"],"Focus keyphrase not set":["Δεν έχει ÎżĎÎąĎτεί φĎάĎη-κλειδί εĎτίαĎης"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Αφότου δημοĎιεύĎετε το Zap Ďας Ďτον πίνακα ελέγχου %s, μποĎείτε να ελέγξετε εάν είναι ενεĎγό και Ďυνδεδεμένο Ďτον ÎąĎτότοπό Ďας."],"Reset API key":["ΕπαναφοĎά API κλειδιού"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Αυτήν τη Ďτιγμή είĎτε Ďυνδεδεμένοι Ďτο %s χĎηĎιμοποιώντας το ακόλουθο κλειδί API. Εάν θέλετε να Ďυνδεθείτε ξανά με διαφοĎετικό κλειδί API, μποĎείτε να επαναφέĎετε το κλειδί Ďας παĎακάτω."],"Your API key":["Το κλειδί Ďας API"],"Go to your %s dashboard":["Μεταβείτε Ďτον πίνακα ελέγχου %s Ďας"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Îχετε Ďυνδεθεί επιτυχώς Ďτο %1$s! Για να διαχειĎÎąĎτείτε το Zap Ďας, επιĎκεφτείτε τον πίνακα ελέγχου %2$s."],"Your %s dashboard":["Η πίνακας ελέγχου Ďας %s"],"Verify connection":["ΕπιβεβαίωĎη ĎύνδεĎης"],"Verify your connection":["ΕπιβεβαιώĎτε την ĎύνδεĎη Ďας"],"Create a Zap":["ΔημιουĎγία Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Συνδεθείτε Ďτον λογαĎιαĎÎĽĎŚ Ďας %1$s και ξεκινήĎτε να δημιουĎγείτε το Ď€Ďώτο Ďας Zap! Λάβετε υπόĎη ότι μποĎείτε να δημιουĎγήĎετε μόνο 1 Zap με ένα Ďυμβάν ενεĎγοποίηĎης από %2$s. ΜέĎα Ďε αυτό το Zap μποĎείτε να επιλέξετε μία ή πεĎÎąĎĎότεĎες ενέĎγειες."],"%s API key":["Κλειδί API %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Îα χĎειαĎτείτε αυτό το κλειδί API αĎγότεĎα Ďτο %s όταν Ďυθμίζετε το Zap Ďας."],"Copy your API key":["ΑντιγĎαφή του κλειδιού Ďας API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Για να ĎυθμίĎετε μια ĎύνδεĎη, βεβαιωθείτε ότι έχετε αντιγĎάĎει το ĎυγκεκĎιμένο κλειδί API παĎακάτω και το χĎηĎιμοποιείτε για να δημιουĎγήĎετε και να ενεĎγοποιήĎετε ένα Zap Ďτον λογαĎιαĎÎĽĎŚ Ďας %s."],"Manage %s settings":["ΔιαχείĎÎąĎη ĎυθμίĎεων %s"],"Connect to %s":["Συνδεθείτε Ďτο %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["ΣημείωĎη: Για να λειτουĎγήĎει καλά αυτή η άĎκηĎη, Ď€Ďέπει να εκτελέĎετε το εĎγαλείο βελτιĎτοποίηĎης δεδομένων SEO. Οι διαχειĎÎąĎτές μποĎούν να το εκτελέĎουν κάτω από %1$sSEO > ΕĎγαλεία%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Îχετε Ď€ĎÎżĎθέĎει ĎυνδέĎμους Ďτα ÎżĎφανά άĎθĎα Ďας και έχετε καθαĎÎŻĎει αυτά που δεν ήταν πλέον Ďχετικά. Καλή δουλειά! Ρίξτε μια ματιά Ďτην παĎακάτω πεĎίληĎη και γιοĎτάĎτε ĎŚĎα καταφέĎατε!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["ΕξετάĎτε ÎşĎιτικά το πεĎιεχόμενο αυτής της λίĎτας και κάντε τις απαĎαίτητες ενημεĎĎŽĎεις. Εάν χĎειάζεĎτε βοήθεια για την ενημέĎωĎη, έχουμε ένα πολύ %1$sχĎήĎιμο άĎθĎÎż ÎąĎτολογίου που μποĎεί να Ďας καθοδηγήĎει Ďε όλη τη διαδĎομή%2$s (κάντε κλικ για άνοιγμα Ďε νέα καĎτέλα)"],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sΧĎειάζεĎτε πεĎÎąĎĎότεĎη καθοδήγηĎη; Îχουμε καλύĎει κάθε βήμα με πεĎÎąĎĎότεĎες λεπτομέĎειες Ďτον ακόλουθο οδηγό: %2$sΠώς να χĎηĎιμοποιήĎετε την άĎκηĎη%7$s ÎżĎφανού πεĎιεχομένου%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Μόλις κάνατε το καλύτεĎÎż πεĎιεχόμενό Ďας να είναι εύκολο να βĎεθεί και πιο πιθανό να ταξινομηθεί! ΜπĎάβο! Από καιĎĎŚ Ďε καιĎĎŚ, θυμηθείτε να ελέγχετε εάν το βαĎικό Ďας πεĎιεχόεμνο λαμβάνει αĎκετούς ĎυνδέĎμους!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Ρίξτε μια ματιά Ďτην παĎακάτω λίĎτα. Το βαĎικό Ďας πεĎιεχόμενο (που επιĎημαίνονται με %1$s) έχουν τους πεĎÎąĎĎότεĎους εĎωτεĎικούς ĎυνδέĎμους που δείχνουν Ď€Ďος αυτούς; Κάντε κλικ Ďτο κουμπί ΒελτιĎτοποίηĎη εάν πιĎτεύετε ότι ένα βαĎικό πεĎιεχόμενο χĎειάζεται πεĎÎąĎĎότεĎους ĎυνδέĎμους. Αυτό θα μετακινήĎει το άĎθĎÎż Ďτο επόμενο βήμα."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Îχουν όλα τα βαĎικά Ďας πεĎιεχόμενα έχουν Ď€ĎάĎινες ĎφαίĎες; Για καλύτεĎα αποτελέĎματα, Ďκεφτείτε να επεξεĎγαĎτείτε αυτά που δεν το έχουν!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Ποια άĎθĎα θέλετε να κατατάξετε την Ď…ĎηλότεĎη βαθμολογία; Ποια θα έβĎÎąĎκε το κοινό Ďας πιο χĎήĎιμα και ολοκληĎωμένα; Κάντε κλικ Ďτο βέλος που δείχνει Ď€Ďος τα κάτω και αναζητήĎτε άĎθĎα που ταιĎιάζουν Ďε αυτά τα ÎşĎιτήĎια. Îα επιĎημάνουμε αυτόματα τα άĎθĎα που επιλέγετε από τη λίĎτα ως βαĎικό πεĎιεχόμενο."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sΧĎειάζεĎτε πεĎÎąĎĎότεĎη καθοδήγηĎη; ΚαλύĎαμε κάθε βήμα με πεĎÎąĎĎότεĎες λεπτομέĎειες Ďτο: %2$sΤĎόπος χĎήĎης της άĎκηĎης%7$s βαĎικού πεĎιεχομένου%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Πίνακας πεĎιεχομένων Yoast"],"Yoast Related Links":["Σχετικοί ĎύνδεĎμοι με Yoast"],"Finish optimizing":["ΟλοκληĎĎŽĎτε την βελτιĎτοποίηĎη"],"You've finished adding links to this article.":["ΟλοκληĎĎŽĎατε την Ď€ĎÎżĎθήκη ĎυνδέĎμων Ďε αυτό το άĎθĎÎż."],"Optimize":["ΒελτιĎτοποίηĎη"],"Added to next step":["ΠĎÎżĎτέθηκε Ďτο επόμενο βήμα"],"Choose cornerstone articles...":["Επιλέξτε τα ακĎογωνιαία άĎθĎα Ďας..."],"Loading data...":["ΦόĎτωĎη δεδομένων..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Δεν έχετε καθαĎÎŻĎει ή ενημεĎĎŽĎει κάποια άĎθĎα Ďας ακόμη χĎηĎιμοποιώντας αυτή την άĎκηĎη. Μόλις το κάνετε, μια ĎύνοĎη της δουλειάς Ďας θα εμφανιĎτεί εδώ."],"Skipped":["ΠαĎακάμφθηκε"],"Hidden from search engines.":["ΚĎυφό από τις μηχανές αναζήτηĎης."],"Removed":["ΑφαιĎέθηκε"],"Improved":["Βελτιώθηκε"],"Resolution":["ΑνάλυĎη"],"Loading redirect options...":["ΦόĎτωĎη επιλογών ανακατεύθυνĎης..."],"Remove and redirect":["ΑφαιĎέθηκε και ανακατευθύνθηκε"],"Custom url:":["ΠĎÎżĎαĎÎĽÎżĎμένο url:"],"Related article:":["Σχετικό άĎθĎÎż:"],"Home page:":["ΑĎχική Ďελίδα:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["ΠĎόκειται να αφαιĎέĎετε %1$s%2$s%3$s. Για να αποφύγετε τα 404 Ďτον ÎąĎτότοπο Ďας, θα Ď€Ďέπει να το ανακετευθύνετε Ďε άλλη Ďελίδα του ÎąĎτότοπου Ďας. Που θέλετε να το ανακατευθείνετε;"],"SEO Workout: Remove article":["ΕξάĎκηĎη SEO: ΑφαίĎεĎη άĎθĎου"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Τα πάντα δείχνουν καλά! Δεν βĎήκαμε κάποια άĎθĎα Ďτον ÎąĎτότοπο Ďας τα οποία είναι παλιότεĎα από έξι μήνες και λαμβάνουν λίγους ĎυνδέĎμους Ďτον ÎąĎτότοπο Ďας. Επανέλθετε αĎγότεĎα για νέες Ď€ĎοτάĎεις βελτίωĎης!"],"Hide from search engines":["ΑπόκĎĎ…Ďη από τις μηχανές αναζήτηĎης"],"Improve":["ΒελτίωĎη"],"Are you sure you wish to hide this article from search engines?":["ΕίĎτε ĎίγουĎοι ότι θέλετε να ÎşĎĎŤĎετε αυτό το άĎθĎÎż από τις μηχανές αναζήτηĎης;"],"Action":["ΕνέĎγεια"],"You've hidden this article from search engines.":["Îχετε ÎşĎĎŤĎει αυτό το άĎθĎÎż από τις μηχανές αναζήτηĎης."],"You've removed this article.":["Îχετε αφαιĎέĎει αυτό το άĎθĎÎż."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Δεν έχετε επιλέξει κανένα άĎθĎÎż για βελτίωĎη. Επιλέξτε μεĎικά άĎθĎα Ďτα Ď€Ďηγούμενα βήματα ĎŽĎτε να Ď€ĎÎżĎθέĎετε ĎυνδέĎμους και να Ďας Ď€Ďοβάλουμε Ď€ĎοτάĎεις ĎυνδέĎμων εδώ."],"Loading link suggestions...":["ΦόĎτωĎη Ď€ĎοτάĎεων ĎυνδέĎμων..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Δεν βĎήκαμε καμία Ď€ĎόταĎη για αυτό το άĎθĎÎż, αλλά μποĎείτε να Ď€ĎÎżĎθέĎετε ĎυνδέĎμους άĎθĎων που πιĎτεύετε ότι είναι Ďχετικά."],"Skip":["ΠαĎάλειĎη"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Δεν έχετε επιλέξει κανένα άĎθĎÎż για αυτό το βήμα ακόμη. ΜποĎεί να το κάνετε Ďτο Ď€Ďοηγούμενο βήμα."],"Is it up-to-date?":["Είναι ενημεĎωμένο;"],"Last Updated":["Τελευταία ενημέĎωĎη"],"You've moved this article to the next step.":["Îχετε μετακινήĎεις αυτό το άĎθĎÎż Ďτο επόμενο βήμα."],"Unknown":["ΆγνωĎτο"],"Clear summary":["ΚαθαĎÎąĎÎĽĎŚĎ‚ πεĎίληĎης"],"Add internal links towards your orphaned articles.":["ΠĎÎżĎθέĎτε εĎωτεĎικούς ĎυνδέĎμους Ď€Ďος τα ÎżĎφανά άĎθĎα Ďας"],"Should you update your article?":["ΠĎέπει να ενημεĎĎŽĎετε το άĎθĎÎż Ďας;"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Îź ÎąĎτότοπός Ďας μποĎεί να πεĎιλαμβάνει αĎκετό πεĎιεχόμενο που δημιουĎγήĎατε μια φοĎά και δεν το ξανακοίταξα έκτοτε. Είναι Ďημαντικό να πεĎάĎετε από αυτές τις Ďελίδες και να αναĎωτηθείτε εάν αυτό το πεĎιεχόμενο εξακολουθεί να είναι Ďχετικό με τον ÎąĎτότοπό Ďας. Αν Ď€Ďέπει να το βελτιώĎετε ή να το αφαιĎέĎετε;"],"Start: Love it or leave it?":["ÎναĎξη: ΑγάπηĎε το ή άφηĎε το"],"Clean up your unlinked content to make sure people can find it":["ΚαθαĎÎŻĎτε το αĎύνδετο πεĎιεχόμενο Ďας ĎŽĎτε να ĎιγουĎευτείται ότι οι επιĎκέπτες μποĎούν τα το βĎούν."],"I've finished this workout":["ΟλοκλήĎωĎα αυτή την εξάĎκηĎη"],"Reset this workout":["Κάνε επαναφοĎά της εξάĎκηĎης"],"Well done!":["ΣυγχαĎητήĎια!"],"Add internal links towards your cornerstones":["ΠĎÎżĎθέĎτε εĎωτεĎικούς ĎυνδέĎμους Ď€Ďος τα βαĎικά άĎθĎα Ďας"],"Check the number of incoming internal links of your cornerstones":["Ελέγξτε τον αĎιθμό των ειĎεĎχομένων εĎωτεĎικών ĎυνδέĎμων των βαĎικών πεĎιεχομένων άĎθĎων Ďας"],"Start: Choose your cornerstones!":["Επιλέξτε τα βαĎικά πεĎιεχόμενα κείμενα Ďας (cornerstones)!"],"The cornerstone approach":["ΠĎÎżĎέγγιĎη βαĎικού πεĎιεχομένου"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["ΠαĎακαλούμε λάβετε υπόĎιν ότι: για να λειτουĎγήĎει ĎωĎτά αυτή η άĎκηĎη και να Ďας Ď€ĎÎżĎφέĎει Ď€ĎοτάĎεις ĎυνδέĎμων, Ď€Ďέπει Ď€Ďώτα να Ď„Ďέξετε το εĎγαλείο βελτιĎτοποίηĎης δεδομένων SEO. Οι διαχειĎÎąĎτές μποĎούν να το Ď„Ďέξουν Ďτο μενού %1$sSEO > ΕĎγαλεία%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["ΣημείωĎη: Îź διαχειĎÎąĎτής έχει απενεĎγοποιήĎει τη λειτουĎγία του κυĎίου πεĎιεχομένου Ďτις ĎυθμίĎεις SEO. Εάν θέλετε να χĎηĎιμοποιήĎετε αυτήν την άĎκηĎη, θα Ď€Ďέπει να είναι ενεĎγοποιημένη."],"I've finished this step":["Îχω ολοκληĎĎŽĎει αυτό το βήμα"],"Revise this step":["ΑναθεωĎείĎτε αυτό το βήμα"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Δεν μποĎέĎαμε να βĎούμε εĎωτεĎικούς ĎυνδέĎμους Ďτις Ďελίδες Ďας. Είτε δεν έχετε Ď€ĎÎżĎθέĎει ακόμη κανένα εĎωτεĎικό ĎύνδεĎÎĽÎż Ďτο πεĎιεχόμενο Ďας, ή η Yoast SEO δεν τους ενέταξε Ďτο ευĎετήĎιο. ΜποĎείτε να ζητήĎετε απο τη Yoast SEO να εντάξει Ďτο ευĎετήĎιο τους ĎυνδέĎμους Ďας, Ď„Ďέχοντας το εĎγαλείο βελτιĎτοποίηĎης δεδομένων SEO Ďτο μενού SEO > ΕĎγαλεία."],"Incoming links":["ΕιĎεĎχόμενοι ĎύνδεĎμοι"],"Edit to add link":["ΕπεξεĎγαĎία για Ď€ĎÎżĎθήκη ĎύνδεĎμου"],"%s incoming link":["%s ειĎεĎχόμενος ĎύνδεĎμος","%s ειĎεĎχόμενοι ĎύνδεĎμοι"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Επί του παĎόντος δεν έχετε ĎημειώĎει άĎθĎα ως Ďημαντικού πεĎιεχομένου. Όταν ĎημειώĎετε τα άĎθĎα που θέλετε ως Ďημαντικά άĎθĎα, θα εμφανιĎτούν εδώ."],"Focus keyphrase":["ΦĎάĎη-κλειδί εĎτίαĎης"],"Article":["ΆĎθĎÎż"],"Readability score":["Βαθμολογία αναγνωĎιμότητας"],"SEO score":["SEO ĎκόĎ"],"Copy failed":["Η αντιγĎαφή απέτυχε"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["ΒελτιώĎτε την κατάταξη για όλα τα βαĎικού πεĎιεχομένου άĎθĎα Ďας, χĎηĎιμοποιώντας αυτή τη %1$sβήμα-Ď€Ďος-βήμα άĎκηĎη!%2$s"],"Rank with articles you want to rank with":["Ανεβείτε Ďτην κατάταξη με τα άĎθĎα που Ď€Ďαγματικά επιθυμείτε. "],"Descriptive text":["ΠεĎιγĎαφικό κείμενο"],"Show the descriptive text":["ΕμφάνιĎε το πεĎιγĎαφικό κείμενο"],"Show icon":["ΕμφάνιĎε το εικονίδιο"],"Yoast Estimated Reading Time":["Yoast Εκτιμώμενος ΧĎόνος ΑνάγνωĎης"],"Shows an estimated reading time based on the content length.":["Εμφανίζει έναν εκτιμώμενο χĎόνο ανάγνωĎης με βάĎη το μήκος του πεĎιεχομένου."],"reading time":["χĎόνος ανάγνωĎης"],"content length":["μήκος πεĎιεχομένου"],"Estimated reading time:":["Εκτιμώμενος χĎόνος ανάγνωĎης:"],"minute":["λεπτό","λεπτά"],"Settings":["ΡυθμίĎεις"],"OK":["OK"],"Close":["ΚλείĎιμο"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Η Ď€Ďώτη Ď€Ďαγματικά όλα-Ďε-ένα SEO λύĎη για WordPress, η οποία πεĎιλαμβάνει ανάλυĎη πεĎιεχομένου Ďελίδας, χάĎτες XML και πολλά πεĎÎąĎĎότεĎα."],"Type":["Τύπος"],"Team Yoast":["Ομάδα Yoast"],"Orphaned content":["ÎźĎφανό πεĎιεχόμενο"],"Synonyms":["Συνώνυμα"],"Internal linking suggestions":["ΠĎοτάĎεις εĎωτεĎικών ĎυνδέĎεων"],"Enter a related keyphrase to calculate the SEO score":["ΕιĎάγετε μία Ďχετική φĎάĎη-κλειδί για να υπολογιĎτεί η SEO βαθμολογία"],"Related keyphrase":["Σχετική φĎάĎη-κλειδί"],"Add related keyphrase":["ΠĎÎżĎθέĎτε Ďχετική φĎάĎη-κλειδί"],"Analysis results":["ΑποτελέĎματα ανάλυĎης"],"Help on choosing the perfect keyphrase":["Βοήθεια για την επιλογή της τέλειας φĎάĎης-κλειδί"],"Help on keyphrase synonyms":["Βοήθεια για τα Ďυνώνυμα των φĎάĎεων-κλειδιών"],"Keyphrase":["ΦĎάĎη κλειδί"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Νέα διεύθυνĎη URL: {{link}}%s{{/link}}"],"Undo":["ΑναίĎεĎη"],"Redirect created":["ΔημιουĎγήθηκε η ανακατεύθυνĎη"],"%s just created a redirect from the old URL to the new URL.":["%s μόλις δημιουĎγήθηκε μια ανακατεύθυνĎη από την παλιά διεύθυνĎη URL Ďτη νέα διεύθυνĎη URL."],"Old URL: {{link}}%s{{/link}}":["Παλιά διεύθυνĎη URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Συνώνυμα φĎάĎης-κλειδί"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["ΠαĎουĎιάĎτηκε Ďφάλμα: η ανάλυĎη Premium SEO δεν λειτουĎγεί όπως αναμενόταν. ΠαĎακαλούμε {{activateLink}}ενεĎγοποιήĎτε τη ĎυνδĎομή Ďας Ďτο MyYoast{{/activateLink}} και, Ďτη Ďυνέχεια, {{reloadButton}}επαναφοĎτώĎτε αυτήν τη Ďελίδα{{/reloadButton}} για να λειτουĎγήĎει ĎωĎτά."],"seo":["SEO"],"internal linking":["εĎωτεĎική ĎύνδεĎη"],"site structure":["Δομή ÎąĎτοτόπου"],"We could not find any relevant articles on your website that you could link to from your post.":["Δεν ήταν δυνατή η εύĎεĎη Ďχετικών άĎθĎων Ďτον ÎąĎτότοπό Ďας που θα μποĎούĎατε να ĎυνδέĎετε την ανάĎτηĎη Ďας."],"Load suggestions":["ΦόĎτωĎη Ď€ĎοτάĎεων"],"Refresh suggestions":["ΑνανέωĎη Ď€ĎοτάĎεων"],"Write list…":["ΕγγĎαφή λίĎτας..."],"Adds a list of links related to this page.":["ΠĎÎżĎθέτει μία λίĎτα ĎυνδέĎμων Ďχετικών με αυτή τη Ďελίδα."],"related posts":["Ďχετικές δημοĎιεύĎεις"],"related pages":["Ďχετικές Ďελίδες"],"Adds a table of contents to this page.":["ΠĎÎżĎθέτει ένα πίνακα πεĎιεχομένων Ďε αυτή τη Ďελίδα."],"links":["ĎύνδεĎμοι"],"toc":["πίνακας πεĎιεχομένων"],"Copy link":["ΑντιγĎαφή ĎυνδέĎμου"],"Copy link to suggested article: %s":["ΑντιγĎαφή ĎυνδέĎμου Ďτο Ď€Ďοτεινόμενο άĎθĎÎż: %s"],"Add a title to your post for the best internal linking suggestions.":["ΠĎÎżĎθέĎτε ένα τίτλο Ďτην δημοĎίευĎη Ďας για να λάβετε τις καλύτεĎες Ď€ĎοτάĎεις εĎωτεĎικής ĎύνδεĎης."],"Add a metadescription to your post for the best internal linking suggestions.":["ΠĎÎżĎθέĎτε μία μέτα πεĎιγĎαφή Ďτην ανάĎτηĎη Ďας για να λάβετε τις καλύτεĎες Ď€ĎοτάĎεις εĎωτεĎικής ĎύνδεĎης."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["ΠĎÎżĎθέĎτε ένα τίτλο και μία μέτα πεĎιγĎαφή Ďτην ανάĎτηĎη Ďας για να λάβετε τις καλύτεĎες Ď€ĎοτάĎεις εĎωτεĎικής ĎύνδεĎης."],"Also, add a title to your post for the best internal linking suggestions.":["ΕπίĎης, Ď€ĎÎżĎθέĎτε ένα τίτλο Ďτην δημοĎίευĎη Ďας για να λάβετε τις καλύτεĎες Ď€ĎοτάĎεις εĎωτεĎικής ĎύνδεĎης."],"Also, add a metadescription to your post for the best internal linking suggestions.":["ΕπίĎης, Ď€ĎÎżĎθέĎτε μία μέτα πεĎιγĎαφή Ďτην δημοĎίευĎη Ďας για να λάβετε τις καλύτεĎες Ď€ĎοτάĎεις εĎωτεĎικής ĎύνδεĎης."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["ΕπίĎης, Ď€ĎÎżĎθέĎτε ένα τίτλο και μία μέτα πεĎιγĎαφή Ďτην δημοĎίευĎη Ďας για να λάβετε τις καλύτεĎες Ď€ĎοτάĎεις εĎωτεĎικής ĎύνδεĎης."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Μόλις Ď€ĎÎżĎθέĎετε λίγο πεĎÎąĎĎότεĎÎż κείμενο, θα Ďας παĎέχουμε εδώ μία λίĎτα με Ďχετικό πεĎιεχόμενο το οποίο θα μποĎούĎατε να ĎυνδέĎετε Ďτην δημοĎίευĎη Ďας."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Για να βελτιώĎετε τη δομή του ÎąĎτοτόπου Ďας, εξετάĎτε το ενδεχόμενο να χĎηĎιμοποιήĎετε ĎυνδέĎεις Ď€Ďος άλλες Ďχετικές δημοĎιεύĎεις ή Ďελίδες Ďτον ÎąĎτότοπο Ďας."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["ΧĎειάζονται μεĎικά δευτεĎόλεπτα μέχĎÎą να εμφανιĎτεί μία λίĎτα με Ďχετικό πεĎιεχόμενο με το οποίο θα μποĎούĎατε να Ď€ĎαγματοποιήĎετε ĎύνδεĎη. Οι Ď€ĎοτάĎεις θα εμφανιĎτούν εδώ μόλις τις έχουμε."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}ΔιαβάĎτε τον οδηγό μας Ďχετικά με την εĎωτεĎική ĎύνδεĎη για SEO{{/a}} για να μάθετε πεĎÎąĎĎότεĎα."],"Copied!":["ΑντιγĎάφηκε!"],"Not supported!":["Δεν υποĎτηĎίζεται!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Μήπως Ď€ĎÎżĎπαθείτε να χĎηĎιμοποιήĎετε πολλαπλές Ďχετικές φĎάĎεις-κλειδιά; Îα Ď€Ďέπει να τις Ď€ĎÎżĎθέĎετε ξεχωĎÎąĎτά."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Η φĎάĎη κλειδί που ειĎάγατε είναι πολύ μεγάλη. Το ανώτατο επιτĎεπόμενο ĎŚĎιο ÎżĎίζεται έως 191 χαĎακτήĎες."],"Add as related keyphrase":["ΠĎÎżĎθήκη ως Ďχετική φĎάĎη-κλειδί"],"Added!":["ΠĎÎżĎτέθηκε!"],"Remove":["ΑφαίĎεĎη"],"Table of contents":["Πίνακας πεĎιεχομένων (TOC)"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["ΠĎέπει να βελτιώĎουμε τα δεδομένα SEO του ÎąĎτοτόπου Ďας για να Ďας Ď€ĎÎżĎφέĎουμε τις καλύτεĎες %1$sĎ€ĎοτάĎεις ĎυνδέĎμων%2$s. %3$sΕκκίνηĎη βελτιĎτοποιήĎης δεδομένων SEO%4$s"],"Create a Zap in %s":["ΔημιουĎγήĎτε ένα Zap Ďτο %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_AU.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_AU.json new file mode 100644 index 00000000..e7a51f94 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_AU.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"en_AU"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["The request came back with the following error: \"%s\""],"X share preview":["X share preview"],"AI X title generator":["AI X title generator"],"AI X description generator":["AI X description generator"],"X preview":["X preview"],"Please enter a valid focus keyphrase.":["Please enter a valid focus keyphrase."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s."],"Yoast AI cannot reach your site":["Yoast AI cannot reach your site"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings."],"Social share preview":["Social share preview"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimised workflow."],"You've reached the Yoast AI rate limit.":["You've reached the Yoast AI rate limit."],"Allow":["Allow"],"Deny":["Deny"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["To see this video, you need to allow %1$s to load embedded videos from %2$s."],"Text generated by AI may be offensive or inaccurate.":["Text generated by AI may be offensive or inaccurate."],"(Opens in a new browser tab)":["(Opens in a new browser tab)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Generate titles & descriptions with Yoast AI!"],"New to %1$s":["New to %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience."],"Start generating":["Start generating"],"Yes, revoke consent":["Yes, revoke consent"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?"],"Something went wrong, please try again later.":["Something went wrong, please try again later."],"Revoke AI consent":["Revoke AI consent"],"AI title generator":["AI title generator"],"AI description generator":["AI description generator"],"AI social title generator":["AI social title generator"],"AI social description generator":["AI social description generator"],"Dismiss":["Dismiss"],"Don’t show again":["Don’t show again"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page."],"Try again":["Try again"],"Social preview":["Social preview"],"Desktop result":["Desktop result"],"Mobile result":["Mobile result"],"Apply %s description":[],"Apply %s title":[],"Next":["Next"],"Previous":["Previous"],"Generate 5 more":["Generate 5 more"],"Google preview":["Google preview"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, click the button to refresh this page for the feature to function correctly, which may take up to 30 seconds."],"Refresh page":["Refresh page"],"Not enough content":["Not enough content"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Please try again later. If the issue persists, please %1$scontact our support team%2$s!"],"Something went wrong":["Something went wrong"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s"],"Connection timeout":["Connection timeout"],"Use AI":["Use AI"],"Close modal":["Close modal"],"Learn more about AI (Opens in a new browser tab)":["Learn more about AI (Opens in a new browser tab)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitle%2$s: Your page has a title. Well done!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sKeyphrase distribution%2$s: Good job!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: You are not using too many complex words, which makes your text easy to read. Good job!"],"Word complexity":["Word complexity"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAlignment%3$s: There is a long section of centre-aligned text. %2$sWe recommend making it left-aligned%3$s.","%1$sAlignment%3$s: There are %4$s long sections of centre-aligned text. %2$sWe recommend making them left-aligned%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAlignment%3$s: There is a long section of centre-aligned text. %2$sWe recommend making it right-aligned%3$s.","%1$sAlignment%3$s: There are %4$s long sections of centre-aligned text. %2$sWe recommend making them right-aligned%3$s."],"Select image":["Select image"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["You might not even know it, but there may be pages on your site that do not get any links. That is an SEO issue because it is difficult for search engines to find pages that don't get any links. It is harder for them to rank. We call these pages orphaned content. In this workout, we will find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Time to add some links! Below, you will see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link. When adding the link, make sure to insert it in a relevant sentence, and related to your orphaned article. Keep adding links to each of the orphaned article's until you are satisfied with the amount of links pointing to them."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Once you add a bit more copy, we'll be able to tell you the formality level of your text."],"Overall, your text appears to be %1$s%3$s%2$s.":["Overall, your text appears to be %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s."],"Maximum heading level":["Maximum heading level"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions."],"Schema":["Schema"],"Meta tags":["Meta tags"],"Not available":["Not available"],"Checks":["Checks"],"Focus Keyphrase":["Focus Keyphrase"],"Good":["Good"],"No index":["No index"],"Front-end SEO inspector":["Front-end SEO inspector"],"Focus keyphrase not set":["Focus keyphrase not set"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site."],"Reset API key":["Reset API key"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below."],"Your API key":["Your API key"],"Go to your %s dashboard":["Go to your %s dashboard"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard."],"Your %s dashboard":["Your %s dashboard"],"Verify connection":["Verify connection"],"Verify your connection":["Verify your connection"],"Create a Zap":["Create a Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions."],"%s API key":["%s API key"],"You'll need this API key later on in %s when you're setting up your Zap.":["You'll need this API key later on in %s when you're setting up your Zap."],"Copy your API key":["Copy your API key"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account."],"Manage %s settings":["Manage %s settings"],"Connect to %s":["Connect to %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: For this to work well, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you've accomplished!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["You've just made your best content easy to find, and more likely to rank! Way to go Cobber! From time to time, remember to check if your cornerstones are getting enough links!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimise button if you think a cornerstone needs more links. That will move the article to the next step."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sNeed more help? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast Table of Contents"],"Yoast Related Links":["Yoast Related Links"],"Finish optimizing":["Finish optimising"],"You've finished adding links to this article.":["You've finished adding links to this article."],"Optimize":["Optimise"],"Added to next step":["Added to next step"],"Choose cornerstone articles...":["Choose cornerstone articles…"],"Loading data...":["Loading data…"],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here."],"Skipped":["Skipped"],"Hidden from search engines.":["Hidden from search engines."],"Removed":["Removed"],"Improved":["Improved"],"Resolution":["Resolution"],"Loading redirect options...":["Loading redirect options..."],"Remove and redirect":["Remove and redirect"],"Custom url:":["Custom URL:"],"Related article:":["Related article:"],"Home page:":["Home page:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?"],"SEO Workout: Remove article":["SEO Workout: Remove article"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!"],"Hide from search engines":["Hide from search engines"],"Improve":["Improve"],"Are you sure you wish to hide this article from search engines?":["Are you sure you wish to hide this article from search engines?"],"Action":["Action"],"You've hidden this article from search engines.":["You've hidden this article from search engines."],"You've removed this article.":["You've removed this article."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["You currently haven't selected any articles to improve. Select a few orphaned articles in the previous steps to add links to and we will show you link suggestions here."],"Loading link suggestions...":["Loading link suggestions..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related."],"Skip":["Skip"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["You haven't selected any articles for this step yet. You can do so in the previous step."],"Is it up-to-date?":["Is it up-to-date?"],"Last Updated":["Last Updated"],"You've moved this article to the next step.":["You've moved this article to the next step."],"Unknown":["Unknown"],"Clear summary":["Clear summary"],"Add internal links towards your orphaned articles.":["Add internal links towards your orphaned articles."],"Should you update your article?":["Should you update your article?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Your site often contains lots of content that's created once and never looked back to afterwards. It's important to go through these and ask yourself if this content is still relevant to your site. Should I improve it or remove it?"],"Start: Love it or leave it?":["Start: Love it or leave it?"],"Clean up your unlinked content to make sure people can find it":["Clean up your unlinked content to make sure people can find it"],"I've finished this workout":["I've finished this workout"],"Reset this workout":["Reset this workout"],"Well done!":["Well done!"],"Add internal links towards your cornerstones":["Add internal links towards your cornerstones"],"Check the number of incoming internal links of your cornerstones":["Check the number of incoming internal links of your cornerstones"],"Start: Choose your cornerstones!":["Start: Choose your cornerstones!"],"The cornerstone approach":["The cornerstone approach"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled."],"I've finished this step":["I've finished this step"],"Revise this step":["Revise this step"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["We were unable to find any internal links on your pages. Either you haven't added any, or Yoast SEO failed to index them. However, you can have them indexed by running the SEO data optimization under SEO > Tools."],"Incoming links":["Incoming links"],"Edit to add link":["Edit to add link"],"%s incoming link":["%s incoming link","%s incoming links"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here."],"Focus keyphrase":["Focus keyphrase"],"Article":["Article"],"Readability score":["Readability score"],"SEO score":["SEO score"],"Copy failed":["Copy failed"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Improve your cornerstones rankings by using this %1$sstep-by-step workout!%2$s"],"Rank with articles you want to rank with":["Rank with articles you want to rank with"],"Descriptive text":["Descriptive text"],"Show the descriptive text":["Show the descriptive text"],"Show icon":["Show icon"],"Yoast Estimated Reading Time":["Yoast Estimated Reading Time"],"Shows an estimated reading time based on the content length.":["Shows an estimated reading time based on content length"],"reading time":["reading time"],"content length":["content length"],"Estimated reading time:":["Estimated reading time:"],"minute":["minute","minutes"],"Settings":["Settings"],"OK":["OK"],"Close":["Close"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more."],"Type":["Type"],"Team Yoast":["Team Yoast"],"Orphaned content":["Orphaned content"],"Synonyms":["Synonyms"],"Internal linking suggestions":["Internal linking suggestions"],"Enter a related keyphrase to calculate the SEO score":["Enter a related keyphrase to calculate the SEO score"],"Related keyphrase":["Related keyphrase"],"Add related keyphrase":["Add related keyphrase"],"Analysis results":["Analysis results"],"Help on choosing the perfect keyphrase":["Help on choosing the perfect keyphrase"],"Help on keyphrase synonyms":["Help on keyphrase synonyms"],"Keyphrase":["Keyphrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["New URL: {{link}}%s{{/link}}"],"Undo":["Undo"],"Redirect created":["Redirect created"],"%s just created a redirect from the old URL to the new URL.":["%s just created a redirect from the old URL to the new URL."],"Old URL: {{link}}%s{{/link}}":["Old URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Keyphrase synonyms"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["An error occurred: unfortunately our Morphology feature is not working. Please make sure you {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly."],"seo":["seo"],"internal linking":["internal linking"],"site structure":["site structure"],"We could not find any relevant articles on your website that you could link to from your post.":["We could not find any relevant articles on your website that you could link to from your post."],"Load suggestions":["Load suggestions"],"Refresh suggestions":["Refresh suggestions"],"Write list…":["Write list…"],"Adds a list of links related to this page.":["Adds a list of links related to this page."],"related posts":["related posts"],"related pages":["related pages"],"Adds a table of contents to this page.":["Adds a table of contents to this page."],"links":["links"],"toc":["toc"],"Copy link":["Copy link"],"Copy link to suggested article: %s":["Copy link to suggested article: %s"],"Add a title to your post for the best internal linking suggestions.":["Add a title to your post for the best internal linking suggestions."],"Add a metadescription to your post for the best internal linking suggestions.":["Add a metadescription to your post for the best internal linking suggestions."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Add a title and a metadescription to your post for the best internal linking suggestions."],"Also, add a title to your post for the best internal linking suggestions.":["Also, add a title to your post for the best internal linking suggestions."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Also, add a metadescription to your post for the best internal linking suggestions."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Also, add a title and a metadescription to your post for the best internal linking suggestions."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["To improve your site structure, consider linking to other relevant posts or pages on your website."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["It takes a few seconds to build a list of related content that you could link. suggestions will show here as soon as we have them."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Read our guide on internal linking for SEO{{/a}} to learn more."],"Copied!":["Copied!"],"Not supported!":["Not supported!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["If you trying to use multiple related keyphrases? You should add them separately."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Your keyphrase is too long. It can be a maximum of 191 characters."],"Add as related keyphrase":["Add as related keyphrase"],"Added!":["Added!"],"Remove":["Remove"],"Table of contents":["Table of contents"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["We need to optimise your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimisation%4$s"],"Create a Zap in %s":["Create a Zap in %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_CA.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_CA.json new file mode 100644 index 00000000..a706aa20 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_CA.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"en_CA"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":[],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":[],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":[],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":[],"Social preview":[],"Desktop result":[],"Mobile result":[],"Apply %s description":[],"Apply %s title":[],"Next":[],"Previous":[],"Generate 5 more":[],"Google preview":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":[],"%1$sKeyphrase distribution%2$s: Good job!":[],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[],"Word complexity":["Word complexity"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":["Select image"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["You might not even know it, but there may be pages on your site that do not get any links. That is an SEO issue because it is difficult for search engines to find pages that don't get any links. It is harder for them to rank. We call these pages orphaned content. In this workout, we will find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Time to add some links! Below, you will see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link. When adding the link, make sure to insert it in a relevant sentence, and related to your orphaned article. Keep adding links to each of the orphaned article's until you are satisfied with the amount of links pointing to them."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":["Schema"],"Meta tags":["Meta tags"],"Not available":["Unavailable"],"Checks":["Checks"],"Focus Keyphrase":["Focus Keyphrase"],"Good":["Good"],"No index":["No index"],"Front-end SEO inspector":["Front-end SEO inspector"],"Focus keyphrase not set":["Focus keyphrase not set"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site."],"Reset API key":["Reset API key"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below."],"Your API key":["Your API key"],"Go to your %s dashboard":["Go to your %s dashboard"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard."],"Your %s dashboard":["Your %s dashboard"],"Verify connection":["Verify connection"],"Verify your connection":["Verify your connection"],"Create a Zap":["Create a Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions."],"%s API key":["%s API key"],"You'll need this API key later on in %s when you're setting up your Zap.":["You'll need this API key later on in %s when you're setting up your Zap."],"Copy your API key":["Copy your API key"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account."],"Manage %s settings":["Manage %s settings"],"Connect to %s":["Connect to %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: for this workout to work well, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimise button if you think a cornerstone needs more links. That will move the article to the next step."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast table of contents"],"Yoast Related Links":["Yoast related links"],"Finish optimizing":["Finish optimising"],"You've finished adding links to this article.":["You've finished adding links to this article."],"Optimize":["Optimise"],"Added to next step":["Added to next step"],"Choose cornerstone articles...":["Choose cornerstone articles..."],"Loading data...":["Loading data..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here."],"Skipped":["Skipped"],"Hidden from search engines.":["Hidden from search engines."],"Removed":["Removed"],"Improved":["Improved"],"Resolution":["Resolution"],"Loading redirect options...":["Loading redirect options..."],"Remove and redirect":["Remove and redirect"],"Custom url:":["Custom URL:"],"Related article:":["Related article:"],"Home page:":["Homepage:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?"],"SEO Workout: Remove article":["SEO Workout: remove article"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!"],"Hide from search engines":["Hide from search engines"],"Improve":["Improve"],"Are you sure you wish to hide this article from search engines?":["Are you sure you wish to hide this article from search engines?"],"Action":["Action"],"You've hidden this article from search engines.":["You've hidden this article from search engines."],"You've removed this article.":["You've removed this article."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["You currently haven't selected any articles to improve. Select a few articles in the previous steps to which to add links and we will show you link suggestions here."],"Loading link suggestions...":["Loading link suggestions..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["We didn’t find any suggestions for this article, but, of course, you can still add links to articles that you think are related."],"Skip":["Skip"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["You haven't selected any articles for this step yet. You can do so in the previous step."],"Is it up-to-date?":["Is it up to date?"],"Last Updated":["Last Updated"],"You've moved this article to the next step.":["You've moved this article to the next step."],"Unknown":["Unknown"],"Clear summary":["Clear summary"],"Add internal links towards your orphaned articles.":["Add internal links towards your orphaned articles."],"Should you update your article?":["Should you update your article?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?"],"Start: Love it or leave it?":["Start: love it or leave it?"],"Clean up your unlinked content to make sure people can find it":["Clean up your unlinked content to make sure people can find it"],"I've finished this workout":["I've finished this workout"],"Reset this workout":["Reset this workout"],"Well done!":["Well done!"],"Add internal links towards your cornerstones":["Add internal links towards your cornerstones"],"Check the number of incoming internal links of your cornerstones":["Check the number of incoming internal links of your cornerstones"],"Start: Choose your cornerstones!":["Start: choose your cornerstones!"],"The cornerstone approach":["The cornerstone approach"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: for this workout to work well and to offer you linking suggestions, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":["I've finished this step"],"Revise this step":["Revise this step"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimisation under SEO > Tools."],"Incoming links":["Incoming links"],"Edit to add link":["Edit to add link"],"%s incoming link":["%s incoming link","%s incoming links"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here."],"Focus keyphrase":["Focus keyphrase"],"Article":["Article"],"Readability score":["Readability score"],"SEO score":["SEO score"],"Copy failed":["Copy failed"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s"],"Rank with articles you want to rank with":["Rank with articles with which you want to rank"],"Descriptive text":["Descriptive text"],"Show the descriptive text":["Show the descriptive text"],"Show icon":["Show icon"],"Yoast Estimated Reading Time":["Yoast Estimated Reading Time"],"Shows an estimated reading time based on the content length.":["Shows an estimated reading time based on the content length."],"reading time":["reading time"],"content length":["content length"],"Estimated reading time:":["Estimated reading time:"],"minute":["minute","minutes"],"Settings":["Settings"],"OK":["OK"],"Close":["Close"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more."],"Type":["Type"],"Team Yoast":["Team Yoast"],"Orphaned content":["Orphaned content"],"Synonyms":["Synonyms"],"Internal linking suggestions":["Internal linking suggestions"],"Enter a related keyphrase to calculate the SEO score":["Enter a related keyphrase in order to calculate the SEO score"],"Related keyphrase":["Related keyphrase"],"Add related keyphrase":["Add related keyphrase"],"Analysis results":["Analysis results"],"Help on choosing the perfect keyphrase":["Help on choosing the perfect keyphrase"],"Help on keyphrase synonyms":["Help on keyphrase synonyms"],"Keyphrase":["Keyphrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["New URL: {{link}}%s{{/link}}"],"Undo":["Undo"],"Redirect created":["Redirect created"],"%s just created a redirect from the old URL to the new URL.":["%s just created a redirect from the old URL to the new URL."],"Old URL: {{link}}%s{{/link}}":["Old URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Keyphrase synonyms"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["An error occurred: unfortunately our Morphology feature is not working. Please make sure you {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly."],"seo":[],"internal linking":["internal linking"],"site structure":["site structure"],"We could not find any relevant articles on your website that you could link to from your post.":["We could not find any relevant articles on your website that you could link to from your post."],"Load suggestions":["Load suggestions"],"Refresh suggestions":["Refresh suggestions"],"Write list…":["Write list…"],"Adds a list of links related to this page.":["Adds a list of links related to this page."],"related posts":["related posts"],"related pages":["related pages"],"Adds a table of contents to this page.":["Adds a table of contents to this page."],"links":["links"],"toc":["toc"],"Copy link":["Copy link"],"Copy link to suggested article: %s":["Copy link to suggested article: %s"],"Add a title to your post for the best internal linking suggestions.":["Add a title to your post for the best internal linking suggestions."],"Add a metadescription to your post for the best internal linking suggestions.":["Add a meta description to your post for the best internal linking suggestions."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Add a title and a meta description to your post for the best internal linking suggestions."],"Also, add a title to your post for the best internal linking suggestions.":["Also, add a title to your post for the best internal linking suggestions."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Also, add a meta description to your post for the best internal linking suggestions."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Also, add a title and a meta description to your post for the best internal linking suggestions."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["To improve your site structure, consider linking to other relevant posts or pages on your website."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Read our guide on internal linking for SEO{{/a}} to learn more."],"Copied!":["Copied!"],"Not supported!":["Not supported!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Are you trying to use multiple related keyphrases? You should add them separately."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Your keyphrase is too long. It can be a maximum of 191 characters."],"Add as related keyphrase":["Add as related keyphrase"],"Added!":["Added!"],"Remove":["Remove"],"Table of contents":["Table of contents"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["We need to optimise your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimisation%4$s"],"Create a Zap in %s":["Create a Zap in %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_GB.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_GB.json new file mode 100644 index 00000000..e4698240 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_GB.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"en_GB"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["The request came back with the following error: \"%s\""],"X share preview":["X share preview"],"AI X title generator":["AI X title generator"],"AI X description generator":["AI X description generator"],"X preview":["X preview"],"Please enter a valid focus keyphrase.":["Please enter a valid focus keyphrase."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s."],"Yoast AI cannot reach your site":["Yoast AI cannot reach your site"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings."],"Social share preview":["Social share preview"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimised workflow."],"You've reached the Yoast AI rate limit.":["You've reached the Yoast AI rate limit."],"Allow":["Allow"],"Deny":["Deny"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["To see this video, you need to allow %1$s to load embedded videos from %2$s."],"Text generated by AI may be offensive or inaccurate.":["Text generated by AI may be offensive or inaccurate."],"(Opens in a new browser tab)":["(Opens in a new browser tab)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Generate titles & descriptions with Yoast AI!"],"New to %1$s":["New to %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience."],"Start generating":["Start generating"],"Yes, revoke consent":["Yes, revoke consent"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?"],"Something went wrong, please try again later.":["Something went wrong, please try again later."],"Revoke AI consent":["Revoke AI consent"],"AI title generator":["AI title generator"],"AI description generator":["AI description generator"],"AI social title generator":["AI social title generator"],"AI social description generator":["AI social description generator"],"Dismiss":["Dismiss"],"Don’t show again":["Don’t show again"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page."],"Try again":["Try again"],"Social preview":["Social preview"],"Desktop result":["Desktop result"],"Mobile result":["Mobile result"],"Apply %s description":[],"Apply %s title":[],"Next":["Next"],"Previous":["Previous"],"Generate 5 more":["Generate 5 more"],"Google preview":["Google preview"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, click the button to refresh this page for the feature to function correctly, which may take up to 30 seconds."],"Refresh page":["Refresh page"],"Not enough content":["Not enough content"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Please try again later. If the issue persists, please %1$scontact our support team%2$s!"],"Something went wrong":["Something went wrong"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s"],"Connection timeout":["Connection timeout"],"Use AI":["Use AI"],"Close modal":["Close modal"],"Learn more about AI (Opens in a new browser tab)":["Learn more about AI (Opens in a new browser tab)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitle%2$s: Your page has a title. Well done!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sKeyphrase distribution%2$s: Good job!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: You are not using too many complex words, which makes your text easy to read. Good job!"],"Word complexity":["Word complexity"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.","%1$sAlignment%3$s: There are %4$s long sections of center-aligned text. %2$sWe recommend making them left-aligned%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.","%1$sAlignment%3$s: There are %4$s long sections of center-aligned text. %2$sWe recommend making them right-aligned%3$s."],"Select image":["Select image"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["You might not even know it, but there may be pages on your site that do not get any links. That is an SEO issue because it is difficult for search engines to find pages that don't get any links. It is harder for them to rank. We call these pages orphaned content. In this workout, we will find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Time to add some links! Below, you will see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link. When adding the link, make sure to insert it in a relevant sentence, and related to your orphaned article. Keep adding links to each of the orphaned article's until you are satisfied with the amount of links pointing to them."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Once you add a bit more copy, we'll be able to tell you the formality level of your text."],"Overall, your text appears to be %1$s%3$s%2$s.":["Overall, your text appears to be %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s."],"Maximum heading level":["Maximum heading level"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions."],"Schema":["Schema"],"Meta tags":["Meta tags"],"Not available":["Unavailable"],"Checks":["Checks"],"Focus Keyphrase":["Focus Keyphrase"],"Good":["Good"],"No index":["No index"],"Front-end SEO inspector":["Front-end SEO inspector"],"Focus keyphrase not set":["Focus keyphrase not set"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site."],"Reset API key":["Reset API key"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below."],"Your API key":["Your API key"],"Go to your %s dashboard":["Go to your %s dashboard"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard."],"Your %s dashboard":["Your %s dashboard"],"Verify connection":["Verify connection"],"Verify your connection":["Verify your connection"],"Create a Zap":["Create a Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions."],"%s API key":["%s API key"],"You'll need this API key later on in %s when you're setting up your Zap.":["You'll need this API key later on in %s when you're setting up your Zap."],"Copy your API key":["Copy your API key"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account."],"Manage %s settings":["Manage %s settings"],"Connect to %s":["Connect to %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: for this workout to work well, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimise button if you think a cornerstone needs more links. That will move the article to the next step."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast table of contents"],"Yoast Related Links":["Yoast related links"],"Finish optimizing":["Finish optimising"],"You've finished adding links to this article.":["You've finished adding links to this article."],"Optimize":["Optimise"],"Added to next step":["Added to next step"],"Choose cornerstone articles...":["Choose cornerstone articles..."],"Loading data...":["Loading data..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here."],"Skipped":["Skipped"],"Hidden from search engines.":["Hidden from search engines."],"Removed":["Removed"],"Improved":["Improved"],"Resolution":["Resolution"],"Loading redirect options...":["Loading redirect options..."],"Remove and redirect":["Remove and redirect"],"Custom url:":["Custom URL:"],"Related article:":["Related article:"],"Home page:":["Homepage:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?"],"SEO Workout: Remove article":["SEO Workout: remove article"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!"],"Hide from search engines":["Hide from search engines"],"Improve":["Improve"],"Are you sure you wish to hide this article from search engines?":["Are you sure you wish to hide this article from search engines?"],"Action":["Action"],"You've hidden this article from search engines.":["You've hidden this article from search engines."],"You've removed this article.":["You've removed this article."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["You currently haven't selected any articles to improve. Select a few articles in the previous steps to which to add links and we will show you link suggestions here."],"Loading link suggestions...":["Loading link suggestions..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["We didn’t find any suggestions for this article, but, of course, you can still add links to articles that you think are related."],"Skip":["Skip"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["You haven't selected any articles for this step yet. You can do so in the previous step."],"Is it up-to-date?":["Is it up to date?"],"Last Updated":["Last Updated"],"You've moved this article to the next step.":["You've moved this article to the next step."],"Unknown":["Unknown"],"Clear summary":["Clear summary"],"Add internal links towards your orphaned articles.":["Add internal links towards your orphaned articles."],"Should you update your article?":["Should you update your article?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?"],"Start: Love it or leave it?":["Start: love it or leave it?"],"Clean up your unlinked content to make sure people can find it":["Clean up your unlinked content to make sure people can find it"],"I've finished this workout":["I've finished this workout"],"Reset this workout":["Reset this workout"],"Well done!":["Well done!"],"Add internal links towards your cornerstones":["Add internal links towards your cornerstones"],"Check the number of incoming internal links of your cornerstones":["Check the number of incoming internal links of your cornerstones"],"Start: Choose your cornerstones!":["Start: choose your cornerstones!"],"The cornerstone approach":["The cornerstone approach"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: for this workout to work well and to offer you linking suggestions, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled."],"I've finished this step":["I've finished this step"],"Revise this step":["Revise this step"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimisation under SEO > Tools."],"Incoming links":["Incoming links"],"Edit to add link":["Edit to add link"],"%s incoming link":["%s incoming link","%s incoming links"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here."],"Focus keyphrase":["Focus keyphrase"],"Article":["Article"],"Readability score":["Readability score"],"SEO score":["SEO score"],"Copy failed":["Copy failed"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s"],"Rank with articles you want to rank with":["Rank with articles with which you want to rank"],"Descriptive text":["Descriptive text"],"Show the descriptive text":["Show the descriptive text"],"Show icon":["Show icon"],"Yoast Estimated Reading Time":["Yoast Estimated Reading Time"],"Shows an estimated reading time based on the content length.":["Shows an estimated reading time based on the content length."],"reading time":["reading time"],"content length":["content length"],"Estimated reading time:":["Estimated reading time:"],"minute":["minute","minutes"],"Settings":["Settings"],"OK":["OK"],"Close":["Close"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more."],"Type":["Type"],"Team Yoast":["Team Yoast"],"Orphaned content":["Orphaned content"],"Synonyms":["Synonyms "],"Internal linking suggestions":["Internal linking suggestions"],"Enter a related keyphrase to calculate the SEO score":["Enter a related keyphrase in order to calculate the SEO score"],"Related keyphrase":["Related keyphrase"],"Add related keyphrase":["Add related keyphrase"],"Analysis results":["Analysis results"],"Help on choosing the perfect keyphrase":["Help on choosing the perfect keyphrase"],"Help on keyphrase synonyms":["Help on keyphrase synonyms"],"Keyphrase":["Keyphrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["New URL: {{link}}%s{{/link}}"],"Undo":["Undo"],"Redirect created":["Redirect created"],"%s just created a redirect from the old URL to the new URL.":["%s just created a redirect from the old URL to the new URL."],"Old URL: {{link}}%s{{/link}}":["Old URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Keyphrase synonyms"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["An error occurred: unfortunately our Morphology feature is not working. Please make sure you {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly."],"seo":["SEO"],"internal linking":["internal linking"],"site structure":["site structure"],"We could not find any relevant articles on your website that you could link to from your post.":["We could not find any relevant articles on your website that you could link to from your post."],"Load suggestions":["Load suggestions"],"Refresh suggestions":["Refresh suggestions"],"Write list…":["Write list…"],"Adds a list of links related to this page.":["Adds a list of links related to this page."],"related posts":["related posts"],"related pages":["related pages"],"Adds a table of contents to this page.":["Adds a table of contents to this page."],"links":["links"],"toc":["toc"],"Copy link":["Copy link"],"Copy link to suggested article: %s":["Copy link to suggested article: %s"],"Add a title to your post for the best internal linking suggestions.":["Add a title to your post for the best internal linking suggestions."],"Add a metadescription to your post for the best internal linking suggestions.":["Add a meta description to your post for the best internal linking suggestions."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Add a title and a meta description to your post for the best internal linking suggestions."],"Also, add a title to your post for the best internal linking suggestions.":["Also, add a title to your post for the best internal linking suggestions."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Also, add a meta description to your post for the best internal linking suggestions."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Also, add a title and a meta description to your post for the best internal linking suggestions."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["To improve your site structure, consider linking to other relevant posts or pages on your website."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Read our guide on internal linking for SEO{{/a}} to learn more."],"Copied!":["Copied!"],"Not supported!":["Not supported!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Are you trying to use multiple related keyphrases? You should add them separately."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Your keyphrase is too long. It can be a maximum of 191 characters."],"Add as related keyphrase":["Add as related keyphrase"],"Added!":["Added!"],"Remove":["Remove"],"Table of contents":["Table of contents"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["We need to optimise your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimisation%4$s"],"Create a Zap in %s":["Create a Zap in %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_NZ.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_NZ.json new file mode 100644 index 00000000..0943aa42 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-en_NZ.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"en_NZ"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":[],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":["(Opens in a new browser tab)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":["Dismiss"],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":["Try again"],"Social preview":[],"Desktop result":[],"Mobile result":[],"Apply %s description":[],"Apply %s title":[],"Next":["Next"],"Previous":["Previous"],"Generate 5 more":[],"Google preview":["Google preview"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sKeyphrase distribution%2$s: Good job!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: You are not using too many complex words, which makes your text easy to read. Good job!"],"Word complexity":["Word complexity"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":["Select image"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["You might not even know it, but there may be pages on your site that do not get any links. That is an SEO issue because it is difficult for search engines to find pages that don't get any links. It is harder for them to rank. We call these pages orphaned content. In this workout, we will find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Time to add some links! Below, you will see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link. When adding the link, make sure to insert it in a relevant sentence, and related to your orphaned article. Keep adding links to each of the orphaned article's until you are satisfied with the amount of links pointing to them."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions."],"Schema":["Schema"],"Meta tags":["Meta tags"],"Not available":["Not available"],"Checks":["Checks"],"Focus Keyphrase":["Focus Keyphrase"],"Good":["Good"],"No index":["No index"],"Front-end SEO inspector":["Front-end SEO inspector"],"Focus keyphrase not set":["Focus keyphrase not set"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site."],"Reset API key":["Reset API key"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below."],"Your API key":["Your API key"],"Go to your %s dashboard":["Go to your %s dashboard"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard."],"Your %s dashboard":["Your %s dashboard"],"Verify connection":["Verify connection"],"Verify your connection":["Verify your connection"],"Create a Zap":["Create a Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions."],"%s API key":["%s API key"],"You'll need this API key later on in %s when you're setting up your Zap.":["You'll need this API key later on in %s when you're setting up your Zap."],"Copy your API key":["Copy your API key"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account."],"Manage %s settings":["Manage %s settings"],"Connect to %s":["Connect to %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: For this workout to work well, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimise button if you think a cornerstone needs more links. That will move the article to the next step."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast Table of Contents"],"Yoast Related Links":["Yoast Related Links"],"Finish optimizing":["Finish optimising"],"You've finished adding links to this article.":["You've finished adding links to this article."],"Optimize":["Optimise"],"Added to next step":["Added to next step"],"Choose cornerstone articles...":["Choose cornerstone articles..."],"Loading data...":["Loading data..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here."],"Skipped":["Skipped"],"Hidden from search engines.":["Hidden from search engines."],"Removed":["Removed"],"Improved":["Improved"],"Resolution":["Resolution"],"Loading redirect options...":["Loading redirect options..."],"Remove and redirect":["Remove and redirect"],"Custom url:":["Custom url:"],"Related article:":["Related article:"],"Home page:":["Home page:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?"],"SEO Workout: Remove article":["SEO Workout: Remove article"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!"],"Hide from search engines":["Hide from search engines"],"Improve":["Improve"],"Are you sure you wish to hide this article from search engines?":["Are you sure you wish to hide this article from search engines?"],"Action":["Action"],"You've hidden this article from search engines.":["You've hidden this article from search engines."],"You've removed this article.":["You've removed this article."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here."],"Loading link suggestions...":["Loading link suggestions..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related."],"Skip":["Skip"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["You haven't selected any articles for this step yet. You can do so in the previous step."],"Is it up-to-date?":["Is it up-to-date?"],"Last Updated":["Last Updated"],"You've moved this article to the next step.":["You've moved this article to the next step."],"Unknown":["Unknown"],"Clear summary":["Clear summary"],"Add internal links towards your orphaned articles.":["Add internal links towards your orphaned articles."],"Should you update your article?":["Should you update your article?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?"],"Start: Love it or leave it?":["Start: Love it or leave it?"],"Clean up your unlinked content to make sure people can find it":["Clean up your unlinked content to make sure people can find it"],"I've finished this workout":["I've finished this workout"],"Reset this workout":["Reset this workout"],"Well done!":["Well done!"],"Add internal links towards your cornerstones":["Add internal links towards your cornerstones"],"Check the number of incoming internal links of your cornerstones":["Check the number of incoming internal links of your cornerstones"],"Start: Choose your cornerstones!":["Start: Choose your cornerstones!"],"The cornerstone approach":["The cornerstone approach"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":["I've finished this step"],"Revise this step":["Revise this step"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimisation under SEO > Tools."],"Incoming links":["Incoming links"],"Edit to add link":["Edit to add link"],"%s incoming link":["%s incoming link","%s incoming links"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here."],"Focus keyphrase":["Focus keyphrase"],"Article":["Article"],"Readability score":["Readability score"],"SEO score":["SEO score"],"Copy failed":["Copy failed"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s"],"Rank with articles you want to rank with":["Rank with articles you want to rank with"],"Descriptive text":["Descriptive text"],"Show the descriptive text":["Show the descriptive text"],"Show icon":["Show icon"],"Yoast Estimated Reading Time":["Yoast Estimated Reading Time"],"Shows an estimated reading time based on the content length.":["Shows an estimated reading time based on the content length."],"reading time":["reading time"],"content length":["content length"],"Estimated reading time:":["Estimated reading time:"],"minute":["minute","minutes"],"Settings":["Settings"],"OK":["OK"],"Close":["Close"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more."],"Type":["Type"],"Team Yoast":["Team Yoast"],"Orphaned content":["Orphaned content"],"Synonyms":["Synonyms"],"Internal linking suggestions":["Internal linking suggestions"],"Enter a related keyphrase to calculate the SEO score":["Enter a related keyphrase to calculate the SEO score"],"Related keyphrase":["Related keyphrase"],"Add related keyphrase":["Add related keyphrase"],"Analysis results":["Analysis results"],"Help on choosing the perfect keyphrase":["Help on choosing the perfect keyphrase"],"Help on keyphrase synonyms":["Help on keyphrase synonyms"],"Keyphrase":["Keyphrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["New URL: {{link}}%s{{/link}}"],"Undo":["Undo"],"Redirect created":["Redirect created"],"%s just created a redirect from the old URL to the new URL.":["%s just created a redirect from the old URL to the new URL."],"Old URL: {{link}}%s{{/link}}":["Old URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Keyphrase synonyms"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["An error occurred: unfortunately our Morphology feature is not working. Please make sure you {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly."],"seo":["seo"],"internal linking":["internal linking"],"site structure":["site structure"],"We could not find any relevant articles on your website that you could link to from your post.":["We could not find any relevant articles on your website that you could link to from your post."],"Load suggestions":["Load suggestions"],"Refresh suggestions":["Refresh suggestions"],"Write list…":["Write list…"],"Adds a list of links related to this page.":["Adds a list of links related to this page."],"related posts":["related posts"],"related pages":["related pages"],"Adds a table of contents to this page.":["Adds a table of contents to this page."],"links":["links"],"toc":["toc"],"Copy link":["Copy link"],"Copy link to suggested article: %s":["Copy link to suggested article: %s"],"Add a title to your post for the best internal linking suggestions.":["Add a title to your post for the best internal linking suggestions."],"Add a metadescription to your post for the best internal linking suggestions.":["Add a metadescription to your post for the best internal linking suggestions."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Add a title and a metadescription to your post for the best internal linking suggestions."],"Also, add a title to your post for the best internal linking suggestions.":["Also, add a title to your post for the best internal linking suggestions."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Also, add a metadescription to your post for the best internal linking suggestions."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Also, add a title and a metadescription to your post for the best internal linking suggestions."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["To improve your site structure, consider linking to other relevant posts or pages on your website."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Read our guide on internal linking for SEO{{/a}} to learn more."],"Copied!":["Copied!"],"Not supported!":["Not supported!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Are you trying to use multiple related keyphrases? You should add them separately."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Your keyphrase is too long. It can be a maximum of 191 characters."],"Add as related keyphrase":["Add as related keyphrase"],"Added!":["Added!"],"Remove":["Remove"],"Table of contents":["Table of contents"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["We need to optimise your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimisation%4$s"],"Create a Zap in %s":["Create a Zap in %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-es_ES.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-es_ES.json new file mode 100644 index 00000000..706c185c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-es_ES.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"es"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["La solicitud volviĂł con el siguiente error: \"%s\""],"X share preview":["Vista previa al compartir X"],"AI X title generator":["Generador de tĂ­tulos para X con IA"],"AI X description generator":["Generador de descripciones para X por IA"],"X preview":["Vista previa en X"],"Please enter a valid focus keyphrase.":["Por favor, introduce una frase clave válida."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Para utilizar esta funciĂłn, tu sitio debe ser de acceso pĂşblico. Esto se aplica tanto a los sitios de prueba como a los casos en los que tu REST API está protegida por contraseña. AsegĂşrate de que tu sitio es accesible al pĂşblico y vuelva a intentarlo. Si el problema persiste, por favor %1$scontacta con nuestro equipo de soporte%2$s."],"Yoast AI cannot reach your site":["Yoast AI no puede acceder a tu sitio"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Para acceder a esta funciĂłn, necesitas suscripciones activas a %2$s y %3$s. Por favor, %5$sactiva tus suscripciones en %1$s%6$s u %7$sobtĂ©n una nueva %4$s%8$s. DespuĂ©s, actualiza esta página para que la funciĂłn funcione correctamente, lo que puede tardar hasta 30 segundos."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["El generador de tĂ­tulos AI requiere que el análisis SEO estĂ© activado antes de su uso. Para activarlo, ve a %2$sCaracterĂ­sticas del sitio de %1$s%3$s, activa el análisis SEO y haz clic en \"Guardar cambios\". Si el análisis SEO está desactivado en tu perfil de usuario de WordPress, accede a tu perfil y actĂ­valo allĂ­. Ponte en contacto con tu administrador si no tienes acceso a esta configuraciĂłn."],"Social share preview":["Vista previa para compartir en redes sociales"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Para seguir utilizando la funciĂłn Yoast AI, reduce la frecuencia de tus solicitudes. Nuestro %1$sartĂ­culo de ayuda%2$s proporciona orientaciĂłn sobre cĂłmo planificar y espaciar eficazmente tus solicitudes para un flujo de trabajo optimizado."],"You've reached the Yoast AI rate limit.":["Has alcanzado el lĂ­mite de la IA de Yoast."],"Allow":["Permitir"],"Deny":["Denegar"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Para ver este vĂ­deo tienes que permitir a %1$s cargar vĂ­deos incrustados desde %2$s."],"Text generated by AI may be offensive or inaccurate.":["El texto generado por la IA puede ser ofensivo o inexacto."],"(Opens in a new browser tab)":["(Se abre en una nueva pestaña del navegador)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Acelera tu flujo de trabajo con la IA generativa. Consigue sugerencias de tĂ­tulo y descripciĂłn de alta calidad para tu apariencia social y en el buscador. %1$sSaber más%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["¡Genera tĂ­tulos y descripciones con la IA de Yoast!"],"New to %1$s":["Nuevo en %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Acepto las %1$sCondiciones del servicio%2$s y la %3$sPolĂ­tica de privacidad%4$s del servicio Yoast AI. Esto incluye dar mi consentimiento a la recopilaciĂłn y uso de datos para mejorar la experiencia del usuario."],"Start generating":["Empieza a generar"],"Yes, revoke consent":["SĂ­, revoca el consentimiento"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Al revocar tu consentimiento, dejarás de tener acceso a las funciones de la IA de Yoast. ÂżEstás seguro de que quieres revocar tu consentimiento?"],"Something went wrong, please try again later.":["Algo saliĂł mal. Vuelve a intentarlo más tarde."],"Revoke AI consent":["Revocar el consentimiento de la IA"],"AI title generator":["Generador de tĂ­tulos con IA"],"AI description generator":["Generador de descripciones con IA"],"AI social title generator":["Generador de tĂ­tulos sociales con AI"],"AI social description generator":["Generador de descripciones sociales con IA"],"Dismiss":["Descartar"],"Don’t show again":["No volver a mostrar"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sConsejo%2$s: Mejora la precisiĂłn de los tĂ­tulos generados por la IA escribiendo más contenido en tu página."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sConsejo%2$s: Mejora la precisiĂłn de las descripciones generadas por la IA escribiendo más contenido en tu página."],"Try again":["IntĂ©ntalo de nuevo"],"Social preview":["Vista previa en medios sociales"],"Desktop result":["Resultado en escritorio"],"Mobile result":["Resultado mĂłvil"],"Apply %s description":[],"Apply %s title":[],"Next":["Siguiente"],"Previous":["Anterior"],"Generate 5 more":["Genera 5 más"],"Google preview":["Vista previa de Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Debido a las estrictas directrices Ă©ticas de OpenAI y a sus %1$spolĂ­ticas de uso%2$s, no podemos generar tĂ­tulos SEO para tu página. Si tienes intenciĂłn de utilizar la IA, por favor, evita el uso de contenido explĂ­cito, violento o sexualmente explĂ­cito. %3$sLee más sobre cĂłmo configurar tu página para asegurarte de que obtienes los mejores resultados con la IA%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Debido a las estrictas directrices Ă©ticas y polĂ­ticas de uso de %1$sOpenAI%2$s, no podemos generar meta descripciones para tu página. Si tienes intenciĂłn de utilizar la IA, por favor, evita el uso de contenido explĂ­cito, violento o sexualmente explĂ­cito. %3$sLee más sobre cĂłmo configurar tu página para asegurarte de que obtienes los mejores resultados con la IA%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Para acceder a esta caracterĂ­stica, necesitas una suscripciĂłn activa de %1$s. Por favor, %3$sactiva tu suscripciĂłn en %2$s%4$s u %5$sobtĂ©n una nueva suscripciĂłn %1$s%6$s. DespuĂ©s, haz clic en el botĂłn para actualizar esta página para que la funciĂłn funcione correctamente, lo que puede tardar hasta 30 segundos."],"Refresh page":["Recarga la página"],"Not enough content":["Contenido insuficiente"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Vuelve a intentarlo más tarde. Si el problema persiste, ponte %1$sen contacto con nuestro equipo de asistencia%2$s!"],"Something went wrong":["Algo saliĂł mal"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Parece que se ha agotado el tiempo de conexiĂłn. Comprueba tu conexiĂłn a Internet y vuelve a intentarlo más tarde. Si el problema persiste, ponte %1$sen contacto con nuestro equipo de asistencia%2$s"],"Connection timeout":["Tiempo de espera de conexiĂłn"],"Use AI":["Usa la IA"],"Close modal":["Cerrar modal"],"Learn more about AI (Opens in a new browser tab)":["Más informaciĂłn sobre la IA (Se abre en una nueva pestaña del navegador)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTĂ­tulo%3$s: Tu página todavĂ­a no tiene tĂ­tulo. ¡%2$sAñade uno%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTĂ­tulo%2$s: Tu página tiene tĂ­tulo. ¡Bien hecho!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribuciĂłn de frase clave%3$s: %2$sIncluye tu frase clave o sus sinĂłnimos en el texto para que podamos comprobar la distribuciĂłn de la frase clave%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sDistribuciĂłn de frase clave%2$s: ¡Buen trabajo!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuciĂłn de frase clave%3$s: Desigual. Algunas partes de tu texto no contienen la frase clave o sus sinĂłnimos. %2$sDistribĂşyelas de manera más uniforme%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuciĂłn de frase clave%3$s: Muy desigual. Grandes partes de tu texto no contienen la frase clave o sus sinĂłnimos. %2$sDistribĂşyelas de manera más uniforme%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: No estás usando demasiadas palabras complejas, lo que hace que tu texto sea fácil de leer. ¡Buen trabajo!"],"Word complexity":["Complejidad de palabras"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: El %2$s de las palabras de tu texto se consideran complejas. %3$sIntenta usar palabras más familiares para mejorar la legibilidad%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAlineaciĂłn%3$s: Hay una secciĂłn muy larga con texto alineado al centro. %2$sRecomendamos alinearla a la izquierda%3$s.","%1$sAlineaciĂłn%3$s: Hay %4$s secciones muy largas con texto alineado al centro. %2$sRecomendamos alinearlas a la izquierda%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAlineaciĂłn%3$s: Hay una secciĂłn muy larga con texto alineado al centro. %2$sRecomendamos alinearla a la derecha%3$s.","%1$sAlineaciĂłn%3$s: Hay %4$s secciones muy largas con texto alineado al centro. %2$sRecomendamos alinearlas a la derecha%3$s."],"Select image":["Seleccionar imagen"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Puede que no lo sepas, pero podrĂ­a haber páginas en tu sitio que no tengan ningĂşn enlace. Eso es un problema de SEO, porque es difĂ­cil para los motores de bĂşsqueda encontrar páginas que no tengan ningĂşn enlace. Por lo que es más difĂ­cil que las posicionen. Llamamos a estas páginas contenido huĂ©rfano. En este ejercicio encontraremos el contenido huĂ©rfano de tu sitio y te guiaremos a que le añadas enlaces rápidamente, ¡para que tengan la posibilidad de posicionar!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["¡Es momento de añadir algunos enlaces! Abajo verás una lista de tus artĂ­culos huĂ©rfanos. Debajo de cada uno hay sugerencias de páginas relacionadas desde las que podrĂ­as añadir un enlace. Cuando añadas el enlace asegĂşrate de insertar una frase relevante relacionada con tu artĂ­culo huĂ©rfano. Sigue añadiendo enlaces a cada uno de los artĂ­culos huĂ©rfanos hasta que estĂ©s satisfecho con la cantidad de enlaces que les apunten."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["¡Es momento de añadir algunos enlaces! Abajo verás una lista de tus contenidos esenciales. Debajo de cada contenido esencial hay sugerencias de artĂ­culos relacionados desde las que podrĂ­as añadir un enlace. Cuando añadas el enlace asegĂşrate de insertar una frase relevante relacionada con tu contenido esencial. Sigue añadiendo enlaces a cada uno de los contenidos esenciales hasta que tus contenidos esenciales tengan la mayorĂ­a de los enlaces internos apuntando hacia ellos."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Algunos artĂ­culos de tu sitio son %1$slos%2$s más importantes. Responden a preguntas de la gente y resuelven sus problemas. ¡AsĂ­ que merecen posicionar!. En %3$s los llamamos artĂ­culos de contenido esencial. Uno de los mĂ©todos para hacer que posicionen es apuntar enlaces hacia ellos. Cuantos más enlaces haya se indica a los motores de bĂşsqueda que esos artĂ­culos son importantes y valiosos. ¡En este ejercicio te ayudaremos a añadir enlaces a tus artĂ­culos de contenido esencial!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Una vez añadas algo más de texto podremos decirte el nivel de formalidad de tu texto."],"Overall, your text appears to be %1$s%3$s%2$s.":["En conjunto, tu texto parece ser %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["La integraciĂłn con Zapier se eliminará de %1$s en la versiĂłn 20.7 (fecha de lanzamiento 9 de mayo). Si tienes alguna pregunta, por favor, contacta con %2$s."],"Maximum heading level":["Nivel máximo de encabezado"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Has desactivado las sugerencias de enlaces, que son necesarias para que funcionen los enlaces relacionados. Si quieres añadir enlaces relacionados, por favor, ve a caracterĂ­sticas del sitio y activa las sugerencias de enlaces."],"Schema":["Schema"],"Meta tags":["Etiquetas meta"],"Not available":["No disponible"],"Checks":["Comprobaciones"],"Focus Keyphrase":["Frase clave objetivo"],"Good":["Bien"],"No index":["No indexar"],"Front-end SEO inspector":["Inspector SEO en portada"],"Focus keyphrase not set":["La frase clave objetivo no está establecida"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Cuando hayas publicado tu Zap en tu escritorio de %s, puedes comprobar si está activo y conectado a tu sitio."],"Reset API key":["Restablecer clave API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Actualmente estás conectado a %s usando la siguiente clave APi. Si quieres volver a conectar con una clave API diferente puedes restablecer tu clave a continuaciĂłn."],"Your API key":["Tu clave API"],"Go to your %s dashboard":["Ve a tu escritorio de %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["¡Te has conectado correctamente a %1$s! Para gestionar tu Zap, por favor, visita tu escritorio de %2$s."],"Your %s dashboard":["Tu escritorio de %s"],"Verify connection":["Verificar conexiĂłn"],"Verify your connection":["Verifica tu conexiĂłn"],"Create a Zap":["Crea un Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["¡Accede a tu cuenta de %1$s y empieza a crear tu primer Zap! Ten en cuenta que solo puedes crear 1 Zap con un evento disparador desde %2$s. Dentro de este Zap puedes elegir una o más acciones."],"%s API key":["Clave API de %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Necesitarás esta clave API más tarde en %s, cuando estĂ©s configurando tu Zap."],"Copy your API key":["Copia tu clave API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Para configurar una conexiĂłn, asegĂşrate de que has copiado la clave API indicada abajo y Ăşsala para crear y activar un Zap dentro de tu cuenta de %s."],"Manage %s settings":["Gestionar ajustes de %s"],"Connect to %s":["Conectar a %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Nota: Para que este ejercicio funcione bien tienes que ejecutar la herramienta de optimizaciĂłn de datos SEO. Los administradores pueden ejecutarla en %1$sEsSEO > Herramientas%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Has añadido enlaces a tus artĂ­culos huĂ©rfanos, y has limpiado los que ya no eran relevantes. ¡Gran trabajo! ¡Echa un vistazo al resumen de abajo y celebra lo que has logrado!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Examina crĂ­ticamente el contenido de esta lista y haz los cambios necesarios. Si necesitas ayuda tenemos una %1$sentrada de blog muy Ăştil que puede ayudarte en todo el proceso%2$s (clic para abrir en una pestaña nueva)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sÂżNecesitas más orientaciĂłn? Hemos cubierto cada paso en más detalle en la siguiente guĂ­a: %2$sEjercicio de cĂłmo usar el %7$s contenido huĂ©rfano%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["¡Has hecho que tu mejor contenido sea fácil de encontrar, y con más posibilidades de posicionar! ¡Bien hecho! ¡De vez en cuando, recuerda revisar si tus contenidos esenciales están recibiendo suficientes enlaces!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Echa un vistazo a la lista de abajo. ÂżTienen tus contenidos esenciales (marcados con %1$s) la mayor parte de enlaces internos apuntando hacia ellos? Haz clic en el botĂłn de optimizar si crees que un contenido esencial necesita más enlaces. Eso moverá el artĂ­culo al siguiente paso."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["ÂżTienen todos tus contenidos esenciales bolitas verdes? ¡Para obtener los mejores resultados posibles plantĂ©ate editar los que no las tengan!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["ÂżCon quĂ© artĂ­culos quieres posicionar más? ÂżCuáles serĂ­an los más Ăştiles y completos para tu audiencia? Haz clic en la flecha hacia abajo y busca artĂ­culos que coincidan con estos criterios. Marcaremos automáticamente los artĂ­culos que selecciones de la lista como esenciales."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sÂżNecesitas más orientaciĂłn? Hemos cubierto cada paso en más detalle en: %2$sEjercicio de cĂłmo usar el %7$s contenido esencial%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Tabla de contenidos de Yoast"],"Yoast Related Links":["Enlaces relacionados de Yoast"],"Finish optimizing":["Terminar de optimizar"],"You've finished adding links to this article.":["Has terminado de añadir enlaces a este artĂ­culo."],"Optimize":["Optimizar"],"Added to next step":["Añadido al siguiente paso"],"Choose cornerstone articles...":["Elige artĂ­culos esenciales…"],"Loading data...":["Cargando datos…"],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["TodavĂ­a no has realizado o actualizado ningĂşn artĂ­culo usando este ejercicio. Cuando lo hagas, se mostrará aquĂ­ un resumen de tu ejercicio."],"Skipped":["Omitidas"],"Hidden from search engines.":["Oculto de los motores de bĂşsqueda."],"Removed":["Eliminado"],"Improved":["Mejorado"],"Resolution":["ResoluciĂłn"],"Loading redirect options...":["Cargando las opciones de redirecciĂłn…"],"Remove and redirect":["Eliminar y redirigir"],"Custom url:":["URL personalizada:"],"Related article:":["ArtĂ­culo relacionado:"],"Home page:":["Página de inicio:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Estás a punto de eliminar %1$s%2$s%3$s. Para evitar 404s en tu sitio deberĂ­as redirigir a otra página en tu sitio. ÂżA dĂłnde te gustarĂ­a redirigir?"],"SEO Workout: Remove article":["Ejercicio SEO: Eliminar artĂ­culo"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["¡Todo parece estar bien! No hemos encontrado ningĂşn artĂ­culo en tu sitio de más de seis meses y que reciba demasiados pocos enlaces. ¡Vuelve a comprobar esto más tarde para más sugerencias de limpieza!"],"Hide from search engines":["Ocultar de los motores de bĂşsqueda"],"Improve":["Mejorar"],"Are you sure you wish to hide this article from search engines?":["ÂżSeguro que quieres ocultar este artĂ­culo de los motores de bĂşsqueda?"],"Action":["AcciĂłn"],"You've hidden this article from search engines.":["Has ocultado este artĂ­culo de los motores de bĂşsqueda."],"You've removed this article.":["Has eliminado este artĂ­culo."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["En este momento no has seleccionado ningĂşn artĂ­culo para mejorarlo. Selecciona unos cuantos artĂ­culos en los pasos anteriores para añadirles enlaces y te mostraremos aquĂ­ tus sugerencias de enlaces."],"Loading link suggestions...":["Cargando sugerencias de enlaces…"],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["No hemos encontrado ninguna sugerencia de enlaces para este artĂ­culo, pero, por supuesto, todavĂ­a puedes añadir enlaces a los artĂ­culos que creas que estĂ©n relacionados."],"Skip":["Saltar"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["TodavĂ­a no has seleccionado ningĂşn artĂ­culo para este paso. Puedes hacerlo en el paso anterior."],"Is it up-to-date?":["ÂżEstá al dĂ­a?"],"Last Updated":["Ăšltima actualizaciĂłn"],"You've moved this article to the next step.":["Has movido este artĂ­culo al siguiente paso."],"Unknown":["Desconocido"],"Clear summary":["Vaciar resumen"],"Add internal links towards your orphaned articles.":["Añade enlaces internos hacia tus artĂ­culos huĂ©rfanos."],"Should you update your article?":["ÂżDeberĂ­as actualizar tu artĂ­culo?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Tu sitio puede que contenga mucho contenido que creaste una vez y nunca volviste a mirar. Es importante revisar esas páginas y preguntarte si ese contenido sigue siendo relevante para tu sitio. ÂżDeberĂ­as mejorarlo o eliminarlo?"],"Start: Love it or leave it?":["Inicio: ÂżAmarlo o dejarlo?"],"Clean up your unlinked content to make sure people can find it":["Actualiza tu contenido sin enlazar para asegurarte de que la gente puede encontrarlo"],"I've finished this workout":["He terminado este ejercicio"],"Reset this workout":["Restablecer este ejercicio"],"Well done!":["¡Bien hecho!"],"Add internal links towards your cornerstones":["Añade enlaces internos hacia tus contenidos esenciales"],"Check the number of incoming internal links of your cornerstones":["Comprueba la cantidad de enlaces internos entrantes de tus contenidos esenciales"],"Start: Choose your cornerstones!":["Empieza: ¡Elige tus contenidos esenciales!"],"The cornerstone approach":["El enfoque en el contenido esencial"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Nota: Para que este ejercicio funcione bien y te ofrezca sugerencias de enlaces, necesitas ejecutar la herramienta de optimizaciĂłn de datos SEO. Los administradores pueden ejecutarla en %1$sEsSEO > Herramientas%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Por favor, ten en cuenta lo siguiente: Tu administrador ha desactivado la funcionalidad de contenido esencial en los ajustes de SEO. Si quieres utilizar este ejercicio deberĂ­a estar activada."],"I've finished this step":["He terminado este paso"],"Revise this step":["Revisar este paso"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["No hemos sido capaces de encontrar enlaces internos en tus páginas. O no has añadido aĂşn ningĂşn enlace interno a tu contenido o Yoast SEO no los ha indexado. Puedes hacer que Yoast SEO indexe tus enlaces ejecutando la optimizaciĂłn de datos SEO en SEO > Herramientas."],"Incoming links":["Enlaces entrantes"],"Edit to add link":["Editar para añadir enlace"],"%s incoming link":["%s enlace entrantes","%s enlace entrantes"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Actualmente no tienes ningĂşn artĂ­culo marcado como esencial. Cuando marques tus artĂ­culos como esenciales se mostrarán aquĂ­."],"Focus keyphrase":["Frase clave objetivo"],"Article":["ArtĂ­culo"],"Readability score":["PuntuaciĂłn de legibilidad"],"SEO score":["PuntuaciĂłn SEO"],"Copy failed":["La copia ha fallado"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["¡Mejora el posicionamiento de tus contenidos esenciales usando este %1$sejercicio paso a paso!%2$s"],"Rank with articles you want to rank with":["Posiciona con los artĂ­culos con los que quieres posicionar"],"Descriptive text":["Texto descriptivo"],"Show the descriptive text":["Mostrar el texto descriptivo"],"Show icon":["Mostrar icono"],"Yoast Estimated Reading Time":["Tiempo de lectura estimado de Yoast"],"Shows an estimated reading time based on the content length.":["Muestra un tiempo de lectura estimado basado en la longitud del contenido."],"reading time":["tiempo de lectura"],"content length":["longitud del contenido"],"Estimated reading time:":["Tiempo de lectura estimado:"],"minute":["minuto","minutos"],"Settings":["Ajustes"],"OK":["Aceptable"],"Close":["Cerrar"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["La primera verdadera soluciĂłn SEO todo en uno para WordPress, incluyendo análisis de contenido de páginas, mapas del sitio en XML y mucho más."],"Type":["Tipo"],"Team Yoast":["Equipo Yoast"],"Orphaned content":["Contenido huĂ©rfano"],"Synonyms":["SinĂłnimos"],"Internal linking suggestions":["Sugerencias de enlaces internos"],"Enter a related keyphrase to calculate the SEO score":["Introduce una frase clave relacionada para calcular la puntuaciĂłn SEO"],"Related keyphrase":["Frase clave relacionada"],"Add related keyphrase":["Añadir frase clave relacionada"],"Analysis results":["Resultados del análisis"],"Help on choosing the perfect keyphrase":["Ayuda sobre cĂłmo elegir la frase clave perfecta"],"Help on keyphrase synonyms":["Ayuda sobre sinĂłnimos de frases clave"],"Keyphrase":["Frase clave"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nueva URL: {{link}}%s{{/link}}"],"Undo":["Deshacer"],"Redirect created":["RedirecciĂłn creada"],"%s just created a redirect from the old URL to the new URL.":["%s acaba de crear una redirecciĂłn de la URL antigua a la nueva."],"Old URL: {{link}}%s{{/link}}":["URL antigua: {{link}}%s{{/link}}"],"Keyphrase synonyms":["SinĂłnimos de la frase clave"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Ha ocurrido un error: el análisis Premium SEO no está funcionando como se esperaba. Por favor, asegĂşrate de que has {{activateLink}}activado tu suscripciĂłn en MyYoast{{/activateLink}} y luego {{reloadButton}}recarga esta página{{/reloadButton}} para que funcione correctamente."],"seo":["seo"],"internal linking":["enlaces internos"],"site structure":["estructura del sitio"],"We could not find any relevant articles on your website that you could link to from your post.":["No hemos podido encontrar ningĂşn artĂ­culo relevante en tu web al que puedas enlazar desde tu entrada."],"Load suggestions":["Cargar sugerencias"],"Refresh suggestions":["Recargar sugerencias"],"Write list…":["Escribe una lista…"],"Adds a list of links related to this page.":["Añade una lista de enlaces relacionados con esta página."],"related posts":["entradas relacionadas"],"related pages":["páginas relacionadas"],"Adds a table of contents to this page.":["Añade una tabla de contenidos a esta página."],"links":["enlaces"],"toc":["toc"],"Copy link":["Copiar enlace"],"Copy link to suggested article: %s":["Copiar enlace al artĂ­culo sugerido: %s"],"Add a title to your post for the best internal linking suggestions.":["Añade un tĂ­tulo a tu entrada para obtener mejores sugerencias de enlazado interno."],"Add a metadescription to your post for the best internal linking suggestions.":["Añade una metadescription a tu entrada para obtener mejores sugerencias de enlazado interno."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Añade un tĂ­tulo y una metadescription a tu entrada para obtener mejores sugerencias de enlazado interno."],"Also, add a title to your post for the best internal linking suggestions.":["TambiĂ©n, añade un tĂ­tulo a tu entrada para obtener mejores sugerencias de enlazado interno."],"Also, add a metadescription to your post for the best internal linking suggestions.":["TambiĂ©n, añade una metadescripciĂłn a tu entrada para obtener mejores sugerencias de enlazado interno."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["TambiĂ©n, añade un tĂ­tulo y una metadescripciĂłn a tu entrada para obtener mejores sugerencias de enlazado interno."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["En cuanto añadas algo más de texto te daremos aquĂ­ una lista de contenido relacionado con el que podrĂ­as enlazar en tu entrada."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["PlantĂ©ate enlazar a otras entradas o páginas relevantes de tu web para mejorar la estructura de tu sitio ."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Mostrarte una lista de contenido relacionado al cual podrĂ­as enlazar tarda unos segundos. Las sugerencias se mostrarán aquĂ­ en cuanto las tengamos."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Lee nuestra guĂ­a sobre enlazado interno para SEO{{/a}} para aprender más."],"Copied!":["¡Copiado!"],"Not supported!":["¡No compatible!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["ÂżEstas tratando de usar varias frases claves relacionadas? DeberĂ­as añadirlas por separado."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Tu frase clave es demasiado larga. Puede tener un máximo de 191 caracteres."],"Add as related keyphrase":["Añadir como frase clave relacionada"],"Added!":["¡Añadida!"],"Remove":["Quitar"],"Table of contents":["Tabla de contenidos"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Necesitamos optimizar los datos SEO de tu sitio para poder ofrecerte las mejores %1$ssugerencias de enlaces%2$s.\n\n%3$sIniciar la optimizaciĂłn de datos SEO%4$s"],"Create a Zap in %s":["Crear un Zap en %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-es_MX.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-es_MX.json new file mode 100644 index 00000000..e62588bb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-es_MX.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"es_MX"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["La solicitud volviĂł con el siguiente error: \"%s\""],"X share preview":["Vista previa en X"],"AI X title generator":["Generador IA de tĂ­tulo para X"],"AI X description generator":["Generador IA de descripciĂłn de X"],"X preview":["Vista Previa de X"],"Please enter a valid focus keyphrase.":["Por favor ingresa una frase clave válida"],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Para usar esta caracterĂ­stica, tu sitio debe ser de acceso pĂşblico. Esto aplica para sitios de prueba e instancias donde tu REST API necesite contraseña. Por favor asegĂşrate sea accesible al pĂşblico e intenta de nuevo. Si el problema persiste, por favor %1$scontáctanos%2$s."],"Yoast AI cannot reach your site":["La IA de Yoast no puede acceder a tu sitio."],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Para acceder a esta funciĂłn, necesitas suscripciones activas a %2$s y %3$s. Por favor, %5$sactiva tus suscripciones en %1$s%6$s u %7$sobtĂ©n una nueva %4$s%8$s. DespuĂ©s, actualiza esta página para que la funciĂłn funcione correctamente, lo que puede tardar hasta 30 segundos."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["El generador de tĂ­tulos de IA requiere que el análisis SEO estĂ© activado antes de su uso. Para activarlo, ve a %2$sCaracterĂ­sticas del sitio de %1$s%3$s, activa el análisis SEO y haz clic en \"Guardar cambios\". Si el análisis SEO está desactivado en tu perfil de usuario de WordPress, accede a tu perfil y actĂ­valo allĂ­. Ponte en contacto con tu administrador si no tienes acceso a esta configuraciĂłn."],"Social share preview":["Vista previa para compartir en redes sociales"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Para seguir utilizando la funciĂłn Yoast AI, reduce la frecuencia de tus solicitudes. Nuestro %1$sartĂ­culo de ayuda%2$s proporciona orientaciĂłn sobre cĂłmo planificar y espaciar eficazmente tus solicitudes para un flujo de trabajo optimizado."],"You've reached the Yoast AI rate limit.":["Has alcanzado el lĂ­mite de la IA de Yoast."],"Allow":["Permitir"],"Deny":["Denegar"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Para ver este video tienes que permitir a %1$s cargar videos incrustados desde %2$s."],"Text generated by AI may be offensive or inaccurate.":["El texto generado por la IA puede ser ofensivo o inexacto."],"(Opens in a new browser tab)":["Abrir en nueva pestaña de buscador"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Acelera tu flujo de trabajo con la IA generativa. Consigue sugerencias de tĂ­tulo y descripciĂłn de alta calidad para tu apariencia social y en el buscador. %1$sSaber más%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["¡Genera tĂ­tulos y descripciones con la IA de Yoast!"],"New to %1$s":["Nuevo en %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Acepto las %1$sCondiciones del servicio%2$s y la %3$sPolĂ­tica de privacidad%4$s del servicio Yoast AI. Esto incluye dar mi consentimiento a la recopilaciĂłn y uso de datos para mejorar la experiencia del usuario."],"Start generating":["Empieza a generar"],"Yes, revoke consent":["SĂ­, revoca el consentimiento"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Al revocar tu consentimiento, dejarás de tener acceso a las funciones de la IA de Yoast. ÂżEstás seguro de que quieres revocar tu consentimiento?"],"Something went wrong, please try again later.":["Algo saliĂł mal. Vuelve a intentarlo más tarde."],"Revoke AI consent":["Revocar el consentimiento de la IA"],"AI title generator":["Generador de tĂ­tulos con IA"],"AI description generator":["Generador de descripciones con IA"],"AI social title generator":["Generador de tĂ­tulos sociales con AI"],"AI social description generator":["Generador de descripciones sociales con IA"],"Dismiss":["Descartar"],"Don’t show again":["No volver a mostrar"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sConsejo%2$s: Mejora la precisiĂłn de los tĂ­tulos generados por la IA escribiendo más contenido en tu página."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sConsejo%2$s: Mejora la precisiĂłn de las descripciones generadas por la IA escribiendo más contenido en tu página."],"Try again":["IntĂ©ntalo de nuevo"],"Social preview":["Vista previa en medios sociales"],"Desktop result":["Resultado en escritorio"],"Mobile result":["Resultado mĂłvil"],"Apply %s description":[],"Apply %s title":[],"Next":["Siguiente"],"Previous":["Anterior"],"Generate 5 more":["Genera 5 más"],"Google preview":["Vista previa de Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Debido a las estrictas directrices Ă©ticas de OpenAI y a sus %1$spolĂ­ticas de uso%2$s, no podemos generar tĂ­tulos SEO para tu página. Si tienes intenciĂłn de utilizar la IA, por favor, evita el uso de contenido explĂ­cito, violento o sexualmente explĂ­cito. %3$sLee más sobre cĂłmo configurar tu página para asegurarte de que obtienes los mejores resultados con la IA%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Debido a las estrictas directrices Ă©ticas y polĂ­ticas de uso de %1$sOpenAI%2$s, no podemos generar meta descripciones para tu página. Si tienes intenciĂłn de utilizar la IA, por favor, evita el uso de contenido explĂ­cito, violento o sexualmente explĂ­cito. %3$sLee más sobre cĂłmo configurar tu página para asegurarte de que obtienes los mejores resultados con la IA%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Para acceder a esta caracterĂ­stica, necesitas una suscripciĂłn activa de %1$s. Por favor, %3$sactiva tu suscripciĂłn en %2$s%4$s u %5$sobtĂ©n una nueva suscripciĂłn %1$s%6$s. DespuĂ©s, haz clic en el botĂłn para actualizar esta página para que la funciĂłn funcione correctamente, lo que puede tardar hasta 30 segundos."],"Refresh page":["Actualiza la página"],"Not enough content":["Contenido insuficiente"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Vuelve a intentarlo más tarde. Si el problema persiste, %1$sponte en contacto con nuestro equipo de asistencia%2$s"],"Something went wrong":["Algo saliĂł mal"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Parece que se ha agotado el tiempo de conexiĂłn. Comprueba tu conexiĂłn a Internet y vuelve a intentarlo más tarde. Si el problema persiste, ponte %1$sen contacto con nuestro equipo de asistencia%2$s"],"Connection timeout":["La conexiĂłn superĂł el tiempo de espera"],"Use AI":["Usar la IA"],"Close modal":["Cerrar modal"],"Learn more about AI (Opens in a new browser tab)":["Más informaciĂłn sobre la IA (Se abre en una nueva pestaña del navegador)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTĂ­tulo%3$s: Tu página todavĂ­a no tiene tĂ­tulo. ¡%2$sAñade uno%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTĂ­tulo%2$s: Tu página tiene tĂ­tulo. ¡Bien hecho!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribuciĂłn de frase clave%3$s: %2$sIncluye tu frase clave o sus sinĂłnimos en el texto para que podamos checar la distribuciĂłn de la frase clave%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sLongitud de frase clave%2$s: ¡Buen trabajo!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuciĂłn de frase clave%3$s: Desigual. Algunas partes de tu texto no contiene la frase clave o sus sinĂłnimos. %2$sDistribĂşyelos de manera más equitativa%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuciĂłn de frase clave%3$s: Muy desigual. Piezas grandes de su texto no contienen la frase clave o sus sinĂłnimos. %2$sDistribĂşyelos de manera más equitativa%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: No estás usando demasiadas palabras complejas, lo que hace que tu texto sea fácil de leer. ¡Buen trabajo!"],"Word complexity":["Complejidad de palabras"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: El %2$s de las palabras de tu texto se consideran complejas. %3$sIntenta usar palabras más familiares para mejorar la legibilidad%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAlineaciĂłn%3$s: Hay una secciĂłn muy larga con texto alineado al centro. %2$sRecomendamos alinearla a la izquierda%3$s.","%1$sAlineaciĂłn%3$s: Hay %4$s secciones muy largas con texto alineado al centro. %2$sRecomendamos alinearlas a la izquierda%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAlineaciĂłn%3$s: Hay una secciĂłn muy larga con texto alineado al centro. %2$sRecomendamos alinearla a la derecha%3$s.","%1$sAlineaciĂłn%3$s: Hay %4$s secciones muy largas con texto alineado al centro. %2$sRecomendamos alinearlas a la derecha%3$s."],"Select image":["Seleccionar imagen"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Quizás no lo sepas, pero podrĂ­a haber páginas en tu sitio que no tengan ningĂşn enlace. Eso es un problema de SEO, porque es difĂ­cil para los motores de bĂşsqueda encontrar páginas que no tengan enlaces. Por lo que es más difĂ­cil que rankeen. Llamamos a estas páginas \"contenido huĂ©rfano\". En este ejercicio encontraremos el contenido huĂ©rfano de tu sitio y te guiaremos para que le añadas enlaces rápidamente, ¡y que tengan la posibilidad de posicionar!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["¡Es momento de añadir algunos enlaces! Abajo verás una lista de tus entradas huĂ©rfanas. Debajo de cada una hay sugerencias de páginas relacionadas desde las que podrĂ­as añadir un enlace. Cuando añadas el enlace asegĂşrate de insertar una frase relevante relacionada con tu entrada huĂ©rfana. Sigue añadiendo enlaces a cada una de las entradas huĂ©rfanos hasta que te guste la cantidad de enlaces que les apunten."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["¡Es momento de añadir algunos enlaces! Abajo verás una lista de tus contenidos esenciales. Debajo de cada contenido esencial hay sugerencias de artĂ­culos relacionados desde las que podrĂ­as añadir un enlace. Cuando añadas el enlace asegĂşrate de insertar una frase relevante relacionada con tu contenido esencial. Sigue añadiendo enlaces a cada uno de los contenidos esenciales hasta que tus contenidos esenciales tengan la mayorĂ­a de los enlaces internos apuntando hacia ellos."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Algunos artĂ­culos de tu sitio son %1$slos%2$s más importantes. Responden a preguntas de la gente y resuelven sus problemas. ¡AsĂ­ que merecen posicionar!. En %3$s los llamamos artĂ­culos de contenido esencial. Uno de los mĂ©todos para hacer que posicionen es apuntar enlaces hacia ellos. Cuantos más enlaces haya se indica a los motores de bĂşsqueda que esos artĂ­culos son importantes y valiosos. ¡En este ejercicio te ayudaremos a añadir enlaces a tus artĂ­culos de contenido esencial!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Una vez añadas algo más de texto podremos decirte el nivel de formalidad de tu texto."],"Overall, your text appears to be %1$s%3$s%2$s.":["En conjunto, tu texto parece ser %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["La integraciĂłn con Zapier será removida de %1$s en 20.7 (fecha de lanzamiento 9 de Mayo). Si tienes otras preguntas, por favor contáctanos en %2$s."],"Maximum heading level":["Nivel máximo de encabezado"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Has desactivado las sugerencias de enlaces, que son necesarias para que funcionen los enlaces relacionados. Si quieres añadir enlaces relacionados, por favor, ve a CaracterĂ­sticas del Sitio y activa las Sugerencias de Enlaces."],"Schema":["Esquema"],"Meta tags":["Etiquetas meta"],"Not available":["No disponible"],"Checks":["Comprobaciones"],"Focus Keyphrase":["Frase clave objetivo"],"Good":["Bueno"],"No index":["No indexar"],"Front-end SEO inspector":["Inspector SEO en portada"],"Focus keyphrase not set":["La frase clave objetivo no está establecida"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Cuando hayas publicado tu Zap en tu escritorio de %s, puedes comprobar si está activo y conectado a tu sitio."],"Reset API key":["Restablecer clave API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Actualmente estás conectado a %s usando la siguiente clave APi. Si quieres volver a conectar con una clave API diferente puedes restablecer tu clave a continuaciĂłn."],"Your API key":["Tu clave API"],"Go to your %s dashboard":["Ve a tu escritorio de %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["¡Te has conectado correctamente a %1$s! Para gestionar tu Zap, por favor, visita tu escritorio de %2$s."],"Your %s dashboard":["Tu escritorio de %s"],"Verify connection":["Verificar conexiĂłn"],"Verify your connection":["Verifica tu conexiĂłn"],"Create a Zap":["Crea un Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["¡Accede a tu cuenta de %1$s y empieza a crear tu primer Zap! Ten en cuenta que solo puedes crear 1 Zap con un evento disparador desde %2$s. Dentro de este Zap puedes elegir una o más acciones."],"%s API key":["Clave API de %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Necesitarás esta clave API más tarde en %s, cuando estĂ©s configurando tu Zap."],"Copy your API key":["Copia tu clave API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Para configurar una conexiĂłn, asegĂşrate de que has copiado la clave API indicada abajo y Ăşsala para crear y activar un Zap dentro de tu cuenta de %s."],"Manage %s settings":["Gestionar ajustes de %s"],"Connect to %s":["Conectar a %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Nota: Para que este ejercicio funcione bien tienes que ejecutar la herramienta de optimizaciĂłn de datos SEO. Los administradores pueden ejecutarla en %1$sEsSEO > Herramientas%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Has añadido enlaces a tus artĂ­culos huĂ©rfanos, y has limpiado los que ya no eran relevantes. ¡Gran trabajo! ¡Echa un vistazo al resumen de abajo y celebra lo que has logrado!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Examina crĂ­ticamente el contenido de esta lista y haz los cambios necesarios. Si necesitas ayuda tenemos una %1$sentrada de blog muy Ăştil que puede ayudarte en todo el proceso%2$s (clic para abrir en una pestaña nueva)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sÂżNecesitas más orientaciĂłn? Hemos cubierto cada paso en más detalle en la siguiente guĂ­a: %2$sEjercicio de cĂłmo usar el %7$s contenido huĂ©rfano%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["¡Has hecho que tu mejor contenido sea fácil de encontrar, y con más posibilidades de posicionar! ¡Bien hecho! ¡De vez en cuando, recuerda revisar si tus contenidos esenciales están recibiendo suficientes enlaces!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Echa un vistazo a la lista de abajo. ÂżTienen tus contenidos esenciales (marcados con %1$s) la mayor parte de enlaces internos apuntando hacia ellos? Haz clic en el botĂłn de optimizar si crees que un contenido esencial necesita más enlaces. Eso moverá el artĂ­culo al siguiente paso."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["ÂżTienen todos tus contenidos esenciales bolitas verdes? ¡Para obtener los mejores resultados posibles plantĂ©ate editar los que no las tengan!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["ÂżCon quĂ© artĂ­culos quieres posicionar más? ÂżCuáles serĂ­an los más Ăştiles y completos para tu audiencia? Haz clic en la flecha hacia abajo y busca artĂ­culos que coincidan con estos criterios. Marcaremos automáticamente los artĂ­culos que selecciones de la lista como esenciales."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sÂżNecesitas más orientaciĂłn? Hemos cubierto cada paso en más detalle en: %2$sEjercicio de cĂłmo usar el %7$s contenido esencial%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Tabla de contenidos de Yoast"],"Yoast Related Links":["Enlaces relacionados de Yoast"],"Finish optimizing":["Terminar de optimizar"],"You've finished adding links to this article.":["Has terminado de agregar enlaces a este artĂ­culo."],"Optimize":["Optimizar"],"Added to next step":["Añadido al siguiente paso"],"Choose cornerstone articles...":["Elije artĂ­culos fundamentales..."],"Loading data...":["Cargando datos..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["TodavĂ­a no has realizado o actualizado ningĂşn artĂ­culo usando este ejercicio. Cuando lo hagas, se mostrará aquĂ­ un resumen de tu ejercicio."],"Skipped":["Omitidas"],"Hidden from search engines.":["Oculto de los motores de bĂşsqueda."],"Removed":["Eliminado"],"Improved":["Mejorado"],"Resolution":["ResoluciĂłn"],"Loading redirect options...":["Cargando las opciones de redirecciĂłn…"],"Remove and redirect":["Eliminar y redirigir"],"Custom url:":["URL personalizada:"],"Related article:":["ArtĂ­culo relacionado:"],"Home page:":["Página de inicio:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Estás a punto de eliminar %1$s%2$s%3$s. Para evitar 404s en tu sitio deberĂ­as redirigir a otra página en tu sitio. ÂżA dĂłnde te gustarĂ­a redirigir?"],"SEO Workout: Remove article":["Ejercicio SEO: Eliminar artĂ­culo"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["¡Todo parece estar bien! No hemos encontrado ningĂşn artĂ­culo en tu sitio de más de seis meses y que reciba demasiados pocos enlaces. ¡Vuelve a comprobar esto más tarde para más sugerencias de limpieza!"],"Hide from search engines":["Ocultar de los motores de bĂşsqueda"],"Improve":["Mejorar"],"Are you sure you wish to hide this article from search engines?":["ÂżSeguro que quieres ocultar este artĂ­culo de los motores de bĂşsqueda?"],"Action":["AcciĂłn"],"You've hidden this article from search engines.":["Has ocultado este artĂ­culo de los motores de bĂşsqueda."],"You've removed this article.":["Has eliminado este artĂ­culo."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["En este momento no has seleccionado ningĂşn artĂ­culo para mejorarlo. Selecciona unos cuantos artĂ­culos en los pasos anteriores para añadirles enlaces y te mostraremos aquĂ­ tus sugerencias de enlaces."],"Loading link suggestions...":["Cargando sugerencias de enlaces…"],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["No hemos encontrado ninguna sugerencia de enlaces para este artĂ­culo, pero, por supuesto, todavĂ­a puedes añadir enlaces a los artĂ­culos que creas que estĂ©n relacionados."],"Skip":["Saltar"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["TodavĂ­a no has seleccionado ningĂşn artĂ­culo para este paso. Puedes hacerlo en el paso anterior."],"Is it up-to-date?":["ÂżEstá al dĂ­a?"],"Last Updated":["Ăšltima actualizaciĂłn"],"You've moved this article to the next step.":["Has movido este artĂ­culo al siguiente paso."],"Unknown":["Desconocido"],"Clear summary":["Vaciar resumen"],"Add internal links towards your orphaned articles.":["Añade enlaces internos hacia tus artĂ­culos huĂ©rfanos."],"Should you update your article?":["ÂżDeberĂ­as actualizar tu artĂ­culo?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Tu sitio puede que contenga mucho contenido que creaste una vez y nunca volviste a mirar. Es importante revisar esas páginas y preguntarte si ese contenido sigue siendo relevante para tu sitio. ÂżDeberĂ­as mejorarlo o eliminarlo?"],"Start: Love it or leave it?":["Inicia: ÂżAmarlo o dejarlo?"],"Clean up your unlinked content to make sure people can find it":["Actualiza tu contenido sin enlazar para asegurarte de que la gente puede encontrarlo"],"I've finished this workout":["He terminado este ejercicio"],"Reset this workout":["Restablecer este ejercicio"],"Well done!":["¡Bien hecho!"],"Add internal links towards your cornerstones":["Añade enlaces internos hacia tus contenidos esenciales"],"Check the number of incoming internal links of your cornerstones":["Comprueba la cantidad de enlaces internos entrantes de tus contenidos esenciales"],"Start: Choose your cornerstones!":["Empieza: ¡Elige tus contenidos esenciales!"],"The cornerstone approach":["El enfoque en el contenido esencial"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Nota: Para que este ejercicio funcione bien y te ofrezca sugerencias de enlaces, necesitas ejecutar la herramienta de optimizaciĂłn de datos SEO. Los administradores pueden ejecutarla en %1$sEsSEO > Herramientas%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Por favor toma en cuenta lo siguiente: Tu administrador ha desactivado la funcionalidad de contenido esencial en los ajustes de SEO. Si quieres utilizar este ejercicio deberĂ­a estar activada."],"I've finished this step":["He terminado este paso"],"Revise this step":["Revisar este paso"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["No hemos sido capaces de encontrar enlaces internos en tus páginas. O no has añadido aĂşn ningĂşn enlace interno a tu contenido o Yoast SEO no los ha indexado. Puedes hacer que Yoast SEO indexe tus enlaces ejecutando la optimizaciĂłn de datos SEO en SEO > Herramientas."],"Incoming links":["Enlaces entrantes"],"Edit to add link":["Editar para añadir enlace"],"%s incoming link":["%s enlace entrante","%s enlaces entrantes"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Actualmente no tienes ningĂşn artĂ­culo marcado como esencial. Cuando marques tus artĂ­culos como esenciales se mostrarán aquĂ­. "],"Focus keyphrase":["Frase clave de enfoque"],"Article":["ArtĂ­culo"],"Readability score":["Puntaje de legibilidad"],"SEO score":["PuntuaciĂłn SEO"],"Copy failed":["La copia ha fallado"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["¡Mejora el posicionamiento de tus contenidos esenciales usando este %1$sejercicio paso a paso!%2$s"],"Rank with articles you want to rank with":["Posiciona con los artĂ­culos con los que quieres posicionar"],"Descriptive text":["Texto descriptivo"],"Show the descriptive text":["Mostrar el texto descriptivo"],"Show icon":["Mostrar icono"],"Yoast Estimated Reading Time":["Tiempo de lectura estimado de Yoast"],"Shows an estimated reading time based on the content length.":["Muestra un tiempo de lectura estimado basado en la longitud del contenido."],"reading time":["tiempo de lectura"],"content length":["longitud del contenido"],"Estimated reading time:":["Tiempo de lectura estimado:"],"minute":["minuto","minutos"],"Settings":["Ajustes"],"OK":["Bien"],"Close":["Cerrar"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["La primera verdadera soluciĂłn all-in-one SEO para WordPress, incluyendo el análisis de páginas de contenidos, mapas de sitio XML y mucho más."],"Type":["Tipo"],"Team Yoast":["Equipo Yoast"],"Orphaned content":["Contenido huĂ©rfano"],"Synonyms":["SinĂłnimos"],"Internal linking suggestions":["Sugerencias de enlaces internos"],"Enter a related keyphrase to calculate the SEO score":["Introduce una frase clave relacionada para calcular la puntuaciĂłn SEO"],"Related keyphrase":["Frase clave relacionada"],"Add related keyphrase":["Agregar palabra clave relacionada "],"Analysis results":["Resultado del análisis:"],"Help on choosing the perfect keyphrase":["Ayuda sobre cĂłmo elegir la frase clave perfecta"],"Help on keyphrase synonyms":["Ayuda sobre sinĂłnimos de frases clave"],"Keyphrase":["Frase clave"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nueva URL: {{link}}%s{{/link}}"],"Undo":["Deshacer"],"Redirect created":["RedirecciĂłn creada"],"%s just created a redirect from the old URL to the new URL.":["%s acaba de crear una redirecciĂłn de la URL antigua a la nueva."],"Old URL: {{link}}%s{{/link}}":["URL antigua: {{link}}%s{{/link}}"],"Keyphrase synonyms":["SinĂłnimos de la frase clave"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Ha ocurrido un error: el análisis Premium SEO no está funcionando como se esperaba. Por favor, asegĂşrate de que has {{activateLink}}activado tu suscripciĂłn en MyYoast{{/activateLink}} y luego {{reloadButton}}recarga esta página{{/reloadButton}} para que funcione correctamente."],"seo":["seo"],"internal linking":["enlaces internos"],"site structure":["estructura del sitio"],"We could not find any relevant articles on your website that you could link to from your post.":["No pudimos encontrar ningĂşn artĂ­culo relevante en su sitio web que pudiera vincular desde su publicaciĂłn."],"Load suggestions":["Cargar sugerencias"],"Refresh suggestions":["Recargar sugerencias"],"Write list…":["Escribe una lista…"],"Adds a list of links related to this page.":["Añade una lista de enlaces relacionados con esta página."],"related posts":["entradas relacionadas"],"related pages":["páginas relacionadas"],"Adds a table of contents to this page.":["Añade una tabla de contenidos a esta página."],"links":["enlaces"],"toc":["toc"],"Copy link":["Copiar enlace"],"Copy link to suggested article: %s":["Copiar enlace al artĂ­culo sugerido: %s"],"Add a title to your post for the best internal linking suggestions.":["Añade un tĂ­tulo a tu entrada para obtener mejores sugerencias de enlazado interno."],"Add a metadescription to your post for the best internal linking suggestions.":["Añade una metadescription a tu entrada para obtener mejores sugerencias de enlazado interno."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Añade un tĂ­tulo y una metadescription a tu entrada para obtener mejores sugerencias de enlazado interno."],"Also, add a title to your post for the best internal linking suggestions.":["TambiĂ©n, añade un tĂ­tulo a tu entrada para obtener mejores sugerencias de enlazado interno."],"Also, add a metadescription to your post for the best internal linking suggestions.":["TambiĂ©n, añade una metadescripciĂłn a tu entrada para obtener mejores sugerencias de enlazado interno."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["TambiĂ©n, añade un tĂ­tulo y una metadescripciĂłn a tu entrada para obtener mejores sugerencias de enlazado interno."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["En cuanto añadas algo más de texto te daremos aquĂ­ una lista de contenido relacionado con el que podrĂ­as enlazar en tu entrada."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["PlantĂ©ate enlazar a otras entradas o páginas relevantes de tu web para mejorar la estructura de tu sitio ."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Mostrarte una lista de contenido relacionado al cual podrĂ­as enlazar tarda unos segundos. Las sugerencias se mostrarán aquĂ­ en cuanto las tengamos."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Lee nuestra guĂ­a sobre enlazado interno para SEO{{/a}} para aprender más."],"Copied!":["Copiado!"],"Not supported!":["No soportado!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["ÂżEstas tratando de usar varias frases claves relacionadas? DeberĂ­as añadirlas por separado."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Tu frase clave es demasiado larga. Puede tener un máximo de 191 caracteres."],"Add as related keyphrase":["Añadir como frase clave relacionada"],"Added!":["¡Añadida!"],"Remove":["Eliminar"],"Table of contents":["Tabla de contenidos"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Necesitamos optimizar los datos SEO de tu sitio para poder ofrecerte las mejores %1$ssugerencias de enlaces%2$s.\n\n%3$sIniciar la optimizaciĂłn de datos SEO%4$s"],"Create a Zap in %s":["Crear un Zap en %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fa_IR.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fa_IR.json new file mode 100644 index 00000000..b232cce1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fa_IR.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=1; plural=0;","lang":"fa"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":[],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":[],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":[],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":[],"Social preview":[],"Desktop result":[],"Mobile result":[],"Apply %s description":[],"Apply %s title":[],"Next":["بعدی"],"Previous":["قبلی"],"Generate 5 more":[],"Google preview":["پیش نمایش ÚŻŮÚŻŮ„"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":[],"%1$sKeyphrase distribution%2$s: Good job!":[],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[],"Word complexity":[],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":["انتخاب تصŮیر"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":[],"Meta tags":["برچسب های متا"],"Not available":["در دسترس نیست"],"Checks":["برسی ها"],"Focus Keyphrase":["عبارت کلیدی کانŮنی"],"Good":["Ř®Ůب"],"No index":["ایندکس نشده"],"Front-end SEO inspector":["بازرس سئŮŰŚ ظاهر"],"Focus keyphrase not set":["عبارت کلیدی کانŮنی تنظیم نشده است"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["هنگامی که Zap Ř®ŮŘŻ را در داشبŮرد %s Ř®ŮŘŻ منتشر کردید، Ů…ŰŚ ŘŞŮانید بررسی کنید که آیا Zap Ůعال ٠به سایت شما متصل است یا خیر."],"Reset API key":["کلید API را بازنشانی کنید"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["شما در حال حاضر با استŮاده از کلید API زیر به %s متصل هستید. اگر می‌خŮاهید ŘŻŮباره با ŰŚÚ© کلید API دیگر Ůصل Ř´ŮŰŚŘŻŘŚ می‌تŮانید کلید Ř®ŮŘŻ را در زیر بازنشانی کنید."],"Your API key":["کلید API شما"],"Go to your %s dashboard":["به داشبŮرد %s Ř®ŮŘŻ برŮŰŚŘŻ"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["شما با Ů…ŮŮقیت به %1$s متصل Ř´ŘŻŰŚŘŻ! برای مدیریت Zap Ř®ŮŘŻŘŚ لطŮاً از داشبŮرد %2$s Ř®ŮŘŻ بازدید کنید."],"Your %s dashboard":["داشبŮرد %s شما"],"Verify connection":["ŘŞŘŁŰŚŰŚŘŻ اتصال"],"Verify your connection":["اتصال Ř®ŮŘŻ را ŘŞŘŁŰŚŰŚŘŻ کنید"],"Create a Zap":["ŰŚÚ© Zap ایجاد کنید"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["به حساب %1$s Ř®ŮŘŻ Ůارد Ř´ŮŰŚŘŻ ٠شرŮŘą به ایجاد اŮلین Zap Ř®ŮŘŻ کنید! ŘŞŮجه داشته باشید که Ůقط می‌تŮانید 1 Zap با ŰŚÚ© رŮیداد راه‌اندازی از %2$s ایجاد کنید. در این Zap Ů…ŰŚ ŘŞŮانید ŰŚÚ© یا چند عمل را انتخاب کنید."],"%s API key":["کلید API %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Ůقتی Zap Ř®ŮŘŻ را راه‌اندازی می‌کنید، بعداً در %s به این کلید API نیاز Ř®Ůاهید داشت."],"Copy your API key":["کلید API Ř®ŮŘŻ را کپی کنید"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["برای راه‌اندازی ŰŚÚ© اتصال، مطمئن Ř´ŮŰŚŘŻ که کلید API داده شده را در زیر کپی کرده‌اید ٠از آن برای ایجاد ٠رŮشن کردن Zap در حساب %s Ř®ŮŘŻ استŮاده کنید."],"Manage %s settings":["تنظیمات %s را مدیریت کنید"],"Connect to %s":["به %s متصل Ř´ŮŰŚŘŻ"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["لطŮا ŘŞŮجه داشته باشید: برای اینکه این تمرین به Ř®Ůبی کار کند، باید ابزار بهینه سازی داده سئ٠را اجرا کنید. مدیران می‌تŮانند این را در %1$sSEO > Tools%2$s اجرا کنند."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["شما پیŮندهایی را به مقالات ŰŚŘŞŰŚŮ… Ř®ŮŘŻ اضاŮه کرده اید، Ů Ů…Ůاردی را که دیگر مرتبط نبŮدند پاکسازی کرده اید. کارت عالی بŮŘŻ! به خلاصه زیر نگاهی بیندازید ٠آنچه را که به دست آŮرده اید جشن بگیرید"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Ů…Ř­ŘŞŮای این لیست را به صŮرت انتقادی بررسی کنید ٠به رŮز رسانی های لازم را انجام دهید. اگر برای به رŮز رسانی به Ú©Ů…Ú© نیاز دارید، ما ŰŚÚ© پست Ůبلاگ بسیار Ů…ŮŰŚŘŻ %1$s داریم که Ů…ŰŚ ŘŞŮاند شما را راهنمایی%2$s کند (برای باز کردن در ŰŚÚ© برگه جدید کلیک کنید)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sبه راهنمایی بیشتری نیاز دارید؟ ما همه مراحل را با جزئیات بیشتری در راهنمای زیر ŮľŮŘ´Ř´ داده‌ایم: %2$sنحŮه استŮاده از %7$s تمرین Ů…Ř­ŘŞŮای ŰŚŘŞŰŚŮ…%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["شما Ůقط پیدا کردن بهترین Ů…Ř­ŘŞŮای Ř®ŮŘŻ را آسان کرده‌اید ٠احتمال رتبه‌بندی را اŮزایش می‌دهید! Ů…ŮŮŮ‚ باشی! هر از گاهی، به یاد داشته باشید که بررسی کنید که آیا سنگ بنای شما به اندازه کاŮŰŚ لینک دریاŮŘŞ Ů…ŰŚ کند یا خیر!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["به لیست زیر نگاهی بیندازید. آیا سنگ بنای شما (که با %1$s مشخص شده است) بیشترین پیŮندهای داخلی را دارند که به سمت آنها اشاره Ů…ŰŚ کنند؟ اگر Ůکر می‌کنید که سنگ بنا به پیŮندهای بیشتری نیاز دارد، رŮŰŚ دکمه Optimize کلیک کنید. که مقاله را به مرحله بعدی منتقل Ů…ŰŚ کند."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["آیا همه سنگ بنای شما دارای ŘŞŰŚÚ© سبز هستند؟ برای بهترین نتیجه، Ůیرایش هایی را که انجام نمی دهند در نظر بگیرید"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["کدام مقالات را Ů…ŰŚ Ř®Ůاهید بالاترین رتبه را کسب کنند؟ کدام ŰŚÚ© از مخاطبان شما Ů…Ůیدتر ٠کامل تر هستند؟ رŮŰŚ Ůلش ر٠به پایین کلیک کنید ٠به دنبال مقالاتی بگردید که با این معیارها مطابقت دارند. مقالاتی را که از Ůهرست انتخاب می‌کنید به‌طŮر Ř®Ůدکار به‌عنŮان سنگ بنا علامت‌گذاری می‌کنیم."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sبه راهنمایی بیشتری نیاز دارید؟ ما هر مرحله را با جزئیات بیشتری در این Ů…Ůرد ŮľŮŘ´Ř´ داده‌ایم: %2$sنحŮه استŮاده از %7$s تمرین سنگ بنای%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Ůهرست Ů…Ř­ŘŞŮای Yoast"],"Yoast Related Links":["پیŮندهای مرتبط با Yoast"],"Finish optimizing":["پایان بهینه سازی"],"You've finished adding links to this article.":["شما اŮزŮدن پیŮندها به این مقاله را به پایان رسانده اید."],"Optimize":["بهینه سازی"],"Added to next step":["به مرحله بعد اضاŮه Ř´ŘŻ"],"Choose cornerstone articles...":["مقالات سنگ بنا را انتخاب کنید..."],"Loading data...":["در حال بارگذاری..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["با استŮاده از این تمرین هنŮز هیچ مقاله ای را پاک یا به رŮز نکرده اید. پس از انجام این کار، خلاصه ای از کار شما در اینجا نشان داده Ů…ŰŚ Ř´ŮŘŻ."],"Skipped":["صر٠نظر Ř´ŘŻ"],"Hidden from search engines.":["از Ů…ŮŘŞŮرهای جستج٠مخŮŰŚ شده است"],"Removed":["حذ٠شد"],"Improved":["بهبŮŘŻ یاŮŘŞ"],"Resolution":["ŮضŮŘ­ تصŮیر"],"Loading redirect options...":["در حال بارگیری گزینه های تغییر مسیر..."],"Remove and redirect":["حذ٠٠تغییر مسیر دهید"],"Custom url:":["لینک دلخŮاه:"],"Related article:":["مقاله های مرتبط:"],"Home page:":["صŮحه اصلی:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["شما در شر٠حذ٠%1$s%2$s%3$s هستید. برای جلŮگیری از 404 در سایت Ř®ŮŘŻŘŚ باید آن را به صŮحه دیگری در سایت Ř®ŮŘŻ هدایت کنید. به کجا Ů…ŰŚ Ř®Ůاهید آن را تغییر مسیر دهید؟"],"SEO Workout: Remove article":["تمرین سئŮ: حذ٠مقاله"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["همه چیز Ř®Ůب به نظر Ů…ŰŚ رسد! ما هیچ مقاله ای در سایت شما پیدا نکردیم که بیش از Ř´Ř´ ماه قدمت داشته باشد ٠لینک های بسیار Ú©Ů…ŰŚ در سایت شما دریاŮŘŞ کند. برای پیشنهادات پاکسازی جدید بعداً اینجا را بررسی کنید!"],"Hide from search engines":["پنهان کردن از Ů…ŮŘŞŮرهای جستجŮ"],"Improve":["بهبŮŘŻ"],"Are you sure you wish to hide this article from search engines?":["آیا مطمئنید Ů…ŰŚŘ®Ůاهید این مقاله را از Ů…ŮŘŞŮرهای جستج٠مخŮŰŚ کنید؟"],"Action":["اقدام"],"You've hidden this article from search engines.":["شما این مقاله را از Ů…ŮŘŞŮرهای جستج٠پنهان کرده اید."],"You've removed this article.":["شما این مقاله را حذ٠کرده اید."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["شما در حال حاضر هیچ مقاله ای را برای بهبŮŘŻ انتخاب نکرده اید. چند مقاله را در مراحل قبلی برای اŮزŮدن پیŮند انتخاب کنید ٠ما پیشنهادات پیŮند را در اینجا به شما نشان Ř®Ůاهیم داد."],"Loading link suggestions...":["در حال بارگیری پیشنهادات پیŮند..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["ما هیچ پیشنهادی برای این مقاله پیدا نکردیم، اما البته همچنان می‌تŮانید به مقالاتی که Ůکر می‌کنید مرتبط هستند، پیŮند اضاŮه کنید."],"Skip":["بیخیال شدن"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["شما هنŮز هیچ مقاله ای را برای این مرحله انتخاب نکرده اید. در مرحله قبل Ů…ŰŚ ŘŞŮانید این کار را انجام دهید."],"Is it up-to-date?":["آیا به رŮز است؟"],"Last Updated":["اخرین به رŮز رسانی"],"You've moved this article to the next step.":["شما این مقاله را به مرحله بعدی منتقل کرده اید."],"Unknown":["ناشناخته"],"Clear summary":["پاک کردن خلاصه"],"Add internal links towards your orphaned articles.":["پیŮندهای داخلی را به مقالات ŰŚŘŞŰŚŮ… Ř®ŮŘŻ اضاŮه کنید."],"Should you update your article?":["آیا باید مقاله Ř®ŮŘŻ را به رŮز کنید؟"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["سایت شما ممکن است حاŮŰŚ Ů…Ř­ŘŞŮای زیادی باشد که ŰŚÚ© بار ایجاد کرده اید ٠از آن زمان به بعد هرگز به آن نگاه نکرده اید. مهم است که از طریق آن صŮحات مرŮر کنید ٠از Ř®ŮŘŻ بپرسید که آیا آن Ů…Ř­ŘŞŮا همچنان به سایت شما مرتبط است یا خیر. آیا باید آن را بهبŮŘŻ بخشید یا حذ٠کنید؟"],"Start: Love it or leave it?":["شرŮŘą کنید: آن را ŘŻŮست داشته باشید یا ترک کنید؟"],"Clean up your unlinked content to make sure people can find it":["Ů…Ř­ŘŞŮای بدŮن پیŮند Ř®ŮŘŻ را پاک کنید تا مطمئن Ř´ŮŰŚŘŻ اŮراد Ů…ŰŚ ŘŞŮانند آن را پیدا کنند"],"I've finished this workout":["من این تمرین را تمام کردم"],"Reset this workout":["این تمرین را بازنشانی کنید"],"Well done!":["آŮرین!"],"Add internal links towards your cornerstones":["پیŮندهای داخلی را به سنگ بنای Ř®ŮŘŻ اضاŮه کنید"],"Check the number of incoming internal links of your cornerstones":["تعداد پیŮندهای داخلی ŮرŮŘŻŰŚ سنگ بنای Ř®ŮŘŻ را بررسی کنید"],"Start: Choose your cornerstones!":["شرŮŘą: سنگ بنای Ř®ŮŘŻ را انتخاب کنید!"],"The cornerstone approach":["رŮیکرد سنگ بنا"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["لطŮاً ŘŞŮجه داشته باشید: برای اینکه این تمرین به Ř®Ůبی کار کند ٠به شما پیشنهادهای پیŮند ارائه دهد، باید ابزار بهینه سازی داده سئ٠را اجرا کنید. مدیران می‌تŮانند این را در %1$sSEO > Tools%2$s اجرا کنند."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":["من این مرحله را تمام کردم"],"Revise this step":["این مرحله را اصلاح کنید"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["ما نتŮانستیم پیŮندهای داخلی را در صŮحات شما پیدا کنیم. یا هنŮز هیچ لینک داخلی به Ů…Ř­ŘŞŮای Ř®ŮŘŻ اضاŮه نکرده اید یا Yoast SEO آنها را ایندکس نکرده است. می‌تŮانید با اجرای بهینه‌سازی داده‌های SEO در زیر SEO > ToolsŘŚ پیŮندهای Ř®ŮŘŻ را Yoast SEO ایندکس کنید."],"Incoming links":["لینک های ŮرŮŘŻŰŚ"],"Edit to add link":["برای اŮزŮدن پیŮند Ůیرایش کنید"],"%s incoming link":[],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["شما در حال حاضر هیچ مقاله ای ندارید که به عنŮان سنگ بنا علامت گذاری شده باشد. Ůقتی مقالات Ř®ŮŘŻ را به عنŮان سنگ بنا علامت گذاری Ů…ŰŚ کنید، در اینجا نشان داده Ů…ŰŚ Ř´Ůند."],"Focus keyphrase":["کلیدŮاÚه کانŮنی"],"Article":["مقاله"],"Readability score":["امتیاز Ř®Ůانایی"],"SEO score":["امتیاز سئŮ"],"Copy failed":["کپی نامŮŮŮ‚ بŮŘŻ"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["با استŮاده از این %1$s تمرین گام به گام، رتبه‌بندی همه پایه‌های Ř®ŮŘŻ را بهبŮŘŻ بخشید!%2$s"],"Rank with articles you want to rank with":["رتبه با مقالاتی که Ů…ŰŚ Ř®Ůاهید با آنها رتبه بندی کنید"],"Descriptive text":["متن ŘŞŮصیŮŰŚ"],"Show the descriptive text":["متن ŘŞŮصیŮŰŚ را نشان دهید"],"Show icon":["نمایش نماد"],"Yoast Estimated Reading Time":["زمان Ř®Ůاندن تخمینی Yoast"],"Shows an estimated reading time based on the content length.":["زمان تخمینی Ř®Ůاندن را بر اساس Ř·ŮŮ„ Ů…Ř­ŘŞŮا نشان Ů…ŰŚ دهد."],"reading time":["زمان Ř®Ůاندن"],"content length":["Ř·ŮŮ„ Ů…Ř­ŘŞŮا"],"Estimated reading time:":["زمان تخمینی مطالعه:"],"minute":["دقیقه"],"Settings":["تنظیمات"],"OK":["قابل قبŮŮ„"],"Close":["بستن"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["اŮلین راه Ř­Ů„ Ůاقعی همه در ŰŚÚ© سئ٠برای Ůردپرس، از جمله تجزیه ٠تحلیل Ů…Ř­ŘŞŮای رŮŰŚ صŮحه، نقشه های سایت XML Ů Ů…Ůارد دیگر."],"Type":["نŮŘą"],"Team Yoast":["ŘŞŰŚŮ… ŰŚŮست"],"Orphaned content":["Ů…Ř­ŘŞŮای ŰŚŘŞŰŚŮ…"],"Synonyms":["متراد٠ها"],"Internal linking suggestions":["پیشنهادات پیŮند داخلی"],"Enter a related keyphrase to calculate the SEO score":["ŰŚÚ© عبارت کلیدی مرتبط را برای محاسبه امتیاز سئ٠Ůارد کنید"],"Related keyphrase":["عبارت کلیدی مرتبط"],"Add related keyphrase":["عبارت کلیدی مرتبط را اضاŮه کنید"],"Analysis results":["نتایج آنالیز"],"Help on choosing the perfect keyphrase":["در انتخاب عبارت کلیدی عالی Ú©Ů…Ú© کنید"],"Help on keyphrase synonyms":["Ú©Ů…Ú© به متراد٠عبارات کلیدی"],"Keyphrase":["کلیدŮاÚه"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["ŰŚŮاست سئ٠پریمیŮŮ…"],"New URL: {{link}}%s{{/link}}":["نشانی Ůب جدید: {{link}}%s{{/link}}"],"Undo":["بازگشت"],"Redirect created":["ریدایرکت ایجاد Ř´ŘŻ"],"%s just created a redirect from the old URL to the new URL.":["%s Ůقط ŰŚÚ© تغییر مسیر از URL قدیمی به URL جدید ایجاد کرد."],"Old URL: {{link}}%s{{/link}}":["آدرس قدیمی: {{link}}%s{{/link}}"],"Keyphrase synonyms":["متراد٠عبارات کلیدی"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[],"seo":["سئŮ"],"internal linking":["لینک‌های داخلی"],"site structure":["ساختار سایت"],"We could not find any relevant articles on your website that you could link to from your post.":["ما نمی‌تŮانیم مقالات مرتبط با سایت شما برای پیŮند به نŮشته پیدا کنیم."],"Load suggestions":["بارگیری پیشنهادات"],"Refresh suggestions":["پیشنهادات را به رŮز کنید"],"Write list…":["نŮشتن لیست…"],"Adds a list of links related to this page.":["لیستی از پیŮندهای مربŮŘ· به این صŮحه را اضاŮه Ů…ŰŚ کند."],"related posts":["نŮشته‌های مرتبط"],"related pages":["برگه‌های مرتبط"],"Adds a table of contents to this page.":["اŮزŮدن جدŮŮ„ Ů…Ř­ŘŞŮا به این برگه."],"links":["لینک‌ها"],"toc":["toc"],"Copy link":["کپی لینک"],"Copy link to suggested article: %s":["کپی لینک به مقاله پیشنهادی: %s"],"Add a title to your post for the best internal linking suggestions.":["برای بهترین پیشنهادهای پیŮند داخلی، عنŮانی را به پست Ř®ŮŘŻ اضاŮه کنید."],"Add a metadescription to your post for the best internal linking suggestions.":["برای بهترین پیشنهادات پیŮند داخلی، ŰŚÚ© متا ŘŞŮصی٠به پست Ř®ŮŘŻ اضاŮه کنید."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["برای بهترین پیشنهادات پیŮند داخلی، ŰŚÚ© عنŮان Ů ŰŚÚ© متا ŘŞŮصی٠به پست Ř®ŮŘŻ اضاŮه کنید."],"Also, add a title to your post for the best internal linking suggestions.":["همچنین، برای بهترین پیشنهادات پیŮند داخلی، عنŮانی به پست Ř®ŮŘŻ اضاŮه کنید."],"Also, add a metadescription to your post for the best internal linking suggestions.":["همچنین، برای بهترین پیشنهادات پیŮند داخلی، ŰŚÚ© متا ŘŞŮصی٠به پست Ř®ŮŘŻ اضاŮه کنید."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["همچنین، برای بهترین پیشنهادات پیŮند داخلی، ŰŚÚ© عنŮان Ů ŰŚÚ© متا ŘŞŮصی٠به پست Ř®ŮŘŻ اضاŮه کنید."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["هنگامی که Ú©Ů…ŰŚ کپی اضاŮه کردید، لیستی از Ů…Ř­ŘŞŮای مرتبط را در اینجا به شما Ů…ŰŚ دهیم که Ů…ŰŚ ŘŞŮانید در پست Ř®ŮŘŻ به آن پیŮند دهید."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["برای بهبŮŘŻ ساختار سایت Ř®ŮŘŻŘŚ پیŮند دادن به سایر پست ها یا صŮحات مرتبط در Ůب سایت Ř®ŮŘŻ را در نظر بگیرید."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["چند ثانیه Ř·ŮŮ„ Ů…ŰŚ Ú©Ř´ŘŻ تا لیستی از Ů…Ř­ŘŞŮای مرتبط را به شما نشان دهد که Ů…ŰŚ ŘŞŮانید به آن پیŮند دهید. به محض اینکه پیشنهادات را دریاŮŘŞ کنیم، اینجا نشان داده Ů…ŰŚ Ř´ŮŘŻ."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["برای کسب اطلاعات بیشتر، {{a}}راهنمای ما در Ů…Ůرد پیŮندهای داخلی برای SEO را بخŮانید{{/a}}."],"Copied!":["کپی Ř´ŘŻ!"],"Not supported!":["پشتیبانی نمی‌شŮŘŻ!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["آیا سعی Ů…ŰŚ کنید از چند عبارت کلیدی مرتبط استŮاده کنید؟ شما باید آنها را جداگانه اضاŮه کنید."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["کلیدŮاÚه شما بسیار Ř·Ůلانی است. بیشترین Ř­ŘŻ آن Ů…ŰŚ ŘŞŮاند 191 کاراکتر باشد."],"Add as related keyphrase":["عبارت کلیدی مرتبط را اضاŮه کنید"],"Added!":["اضاŮه Ř´ŘŻ"],"Remove":["پاک کردن"],"Table of contents":["جدŮŮ„ Ů…Ř­ŘŞŮا"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["ما باید داده‌های SEO سایت شما را بهینه کنیم تا بتŮانیم بهترین %1$slinking پیشنهادات%2$s را به شما ارائه دهیم. %3$sبهینه سازی داده های SEO%4$s را شرŮŘą کنید"],"Create a Zap in %s":["ŰŚÚ© Zap در %s ایجاد کنید"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fi.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fi.json new file mode 100644 index 00000000..ad69085a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fi.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"fi"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":["Salli"],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":["(Avataan uudessa välilehdessä)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":[],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":["Yritä uudelleen"],"Social preview":[],"Desktop result":["Tietokonetulokset"],"Mobile result":["Mobiilitulokset"],"Apply %s description":[],"Apply %s title":[],"Next":["Seuraava"],"Previous":["Edellinen"],"Generate 5 more":[],"Google preview":["Google-esikatselu"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sAvainfraasin jakauma%3$s: %2$sSisällytä tekstiin avainfraasisi tai synonyymeja, jotta voimme tarkistaa niiden jakauman%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sAvainfraasin jakauma%2$s: Hyvin toimittu!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sAvainfraasin jakauma%3$s: Epätasainen. Jotkut osat tekstistäsi eivät sisällä avainfraasia tai synonyymeja. %2$sJaa ne tasaisemmin%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sAvainfraasin jakauma%3$s: Hyvin epätasainen. Huomattava osa tekstistäsi eivät sisällä avainfraasia tai synonyymeja. %2$sJaa ne tasaisemmin%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[],"Word complexity":[],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":[],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":[],"Meta tags":[],"Not available":["Ei saatavilla"],"Checks":[],"Focus Keyphrase":[],"Good":["Hyvä"],"No index":[],"Front-end SEO inspector":[],"Focus keyphrase not set":[],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":[],"Reset API key":[],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":[],"Your API key":[],"Go to your %s dashboard":[],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":[],"Your %s dashboard":[],"Verify connection":[],"Verify your connection":[],"Create a Zap":[],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":[],"%s API key":[],"You'll need this API key later on in %s when you're setting up your Zap.":[],"Copy your API key":[],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":[],"Manage %s settings":[],"Connect to %s":[],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":[],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":[],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":[],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":[],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":[],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":[],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":[],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":[],"Yoast Table of Contents":[],"Yoast Related Links":[],"Finish optimizing":["Finish optimising"],"You've finished adding links to this article.":["You've finished adding links to this article."],"Optimize":["Optimise"],"Added to next step":["Added to next step"],"Choose cornerstone articles...":["Choose cornerstone articles..."],"Loading data...":[],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Et ole siivonnut tai päivittänyt yhtään artikkelia tämän harjoitteen aikana. Kun teet niin, yhteenveto toimistasi ilmestyy tänne."],"Skipped":["Ohitettu"],"Hidden from search engines.":["Kätketty hakukoneilta."],"Removed":["Poistettu"],"Improved":["Parannettu"],"Resolution":["Tarkkuus"],"Loading redirect options...":["Ladataan uudelleenohjauksien valintoja..."],"Remove and redirect":["Poista ja edelleenohjaa"],"Custom url:":["Mukautettu URL:"],"Related article:":["Liittyvä artikkeli:"],"Home page:":["Etusivu:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Olet aikeissa poistaa %1$s%2$s%3$s. Estääksesi 404-virheet sivustollasi, sinun kannattaa edelleenohjata se toiselle sivulle sivustollasi. Minne tahtoisit sen ohjata?"],"SEO Workout: Remove article":["SEO-harjoite: poista artikkeli"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Kaikki näyttää hyvältä! Emme löytäneet yhtään artikkelia sivustollasi, joka olisi kuutta kuukautta vanhempi ja jolle osoittaisi liian vähän linkkejä. Palaa tänne uudelleen saadaksesi siivousehdotuksia."],"Hide from search engines":["Kätke hakukoneilta"],"Improve":["Paranna"],"Are you sure you wish to hide this article from search engines?":["Haluatko varmasti kätkeä tämän artikkelin hakukoneilta?"],"Action":["Toiminto"],"You've hidden this article from search engines.":["Tämä artikkeli on kätketty hakukoneilta."],"You've removed this article.":["Olet poistanut tämän artikkelin."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Et ole toistaiseksi merkinnyt yhtään artikkelia parannettavaksi. Valitse jokunen artikkeli ilman viitteitä ja me esitämme sinulle linkkiehdotuksia tässä."],"Loading link suggestions...":["Ladataan linkkiehdotuksia..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Emme löytäneet yhtään ehdotusta tälle artikkelilla, mutta voit toki silti lisätä linkkejä artikkeleihin, joiden katsot liittyvän aiheeseen."],"Skip":["Ohita"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Et ole vielä valinnut yhtään artikkelia tähän vaiheeseen. Voit tehdä sen edellisessä vaiheessa."],"Is it up-to-date?":["Onko se ajan tasalla?"],"Last Updated":["Viimeksi päivitetty"],"You've moved this article to the next step.":["Olet siirtänyt tämän artikkelin seuraavaan vaiheeseen."],"Unknown":["Tuntematon"],"Clear summary":["Pyyhi yhteenveto"],"Add internal links towards your orphaned articles.":["Lisää sisäisiä linkkejä viitteettömiin artikkeleihisi."],"Should you update your article?":["Kannattaisiko sinun päivittää artikkeliasi?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Sivustosi sisältää paljon sisältöä, johon ei koskaan palata sen luomisen jälkeen. On tärkeää käydä näitä läpi ja kysyä itseltäsi vieläkö tämä sisältö on relevanttia sivustollesi. Pitäisikö minun parantaa niitä vai poistaa ne?"],"Start: Love it or leave it?":["Aloita: Rakasta vai hylkää?"],"Clean up your unlinked content to make sure people can find it":["Siivoa linkittämätön sisältösi ja varmista, että se on ihmisten löydettävissä"],"I've finished this workout":["Olen päättänyt tämän harjoitteen"],"Reset this workout":["Nollaa tämä harjoite"],"Well done!":["Hyvin tehty!"],"Add internal links towards your cornerstones":["Lisää sisäisiä linkkejä keskeiseen sisältöösi"],"Check the number of incoming internal links of your cornerstones":["Tarkistaa keskeiseen sisältöösi osoittavien sisäisten linkkien lukumäärä"],"Start: Choose your cornerstones!":["Aloita: valitse kulmakivesi"],"The cornerstone approach":["Kulmakivi-lähestymistapa"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Please note: for this workout to work well and to offer you linking suggestions, you need to run the SEO data optimisation tool. Admins can run this under %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":["Olen käynyt tämän askeleen läpi"],"Revise this step":["Muokkaa tätä askelta"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Emme löytäneet sisäisiä linkkejä sivustoltasi. Joko et ole vielä lisännyt yhtään, tai Yoast SEO ei ole indeksoinut niitä. Voit suorittaa linkkiesi indeksoinnin SEO datan optimointityökalun avulla kohdassa SEO > Työkalut."],"Incoming links":["Sisääntulevat linkit"],"Edit to add link":["Muokkaa lisätäksesi linkki"],"%s incoming link":[],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Et ole toistaiseksi merkinnyt yhtään artikkelia kulmakiveksi. Kun olet tehnyt niin, ne näkyvät täällä."],"Focus keyphrase":["Kohdennettu avainfraasi"],"Article":["Artikkeli"],"Readability score":["Luettavuuspisteet"],"SEO score":["SEO-pisteet"],"Copy failed":["Kopiointi epäonnistui"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Paranna kulmakiviesi hakutuloksia tämän %1$sharjoitteen avulla!%2$s"],"Rank with articles you want to rank with":["Erotu artikkeleilla, joilla haluat erottua"],"Descriptive text":["Kuvaava teksti"],"Show the descriptive text":["Näytä kuvaava teksti"],"Show icon":["Näytä kuvake"],"Yoast Estimated Reading Time":["Yoastin arvioitu lukuaika"],"Shows an estimated reading time based on the content length.":["Näyttää arvioidun lukuajan sisällön pituuden perusteella."],"reading time":["lukuaika"],"content length":["sisällön pituus"],"Estimated reading time:":["Arvioitu lukuaika:"],"minute":["minuutti","minuuttia"],"Settings":["Asetukset"],"OK":["OK"],"Close":["Sulje"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Ensimmäinen all-in-one SEO-ratkaisu WordPressiin, sisältäe sisältöanalyysin suoraan sivulla, XML-sitemapit ja paljon muuta."],"Type":["Tyyppi"],"Team Yoast":["Yoast -tiimi"],"Orphaned content":["Hylätty sisältö"],"Synonyms":["Synonyymit"],"Internal linking suggestions":["Sisäisten linkkien ehdotukset"],"Enter a related keyphrase to calculate the SEO score":["Lisää asiaan liittyvä hakulause laskeaksesi SEO-pisteesi"],"Related keyphrase":["Liittyvä avainfraasi"],"Add related keyphrase":["LIsää liittyvä avainfraasi"],"Analysis results":["Analyysin tulokset"],"Help on choosing the perfect keyphrase":["Apua täydellisen hakulauseen valitsemiseen"],"Help on keyphrase synonyms":["Apua hakulauseen synonyymeihin"],"Keyphrase":["Avainfraasi"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Uusi osoite: {{link}}%s{{/link}}"],"Undo":["Kumoa"],"Redirect created":["Uudelleenohjaus luotu"],"%s just created a redirect from the old URL to the new URL.":["%s loi juuri uudelleenohjauksen vanhasta osoitteesta uuteen. "],"Old URL: {{link}}%s{{/link}}":["Vanha osoite: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Hakulauseen synonyymit"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[],"seo":["SEO"],"internal linking":["sisäiset linkit"],"site structure":["sivuston rakenne"],"We could not find any relevant articles on your website that you could link to from your post.":["Emme löytäneet yhtään relevanttia artikkelia sivustollasi johon voisit linkata."],"Load suggestions":["Lataa suosituksia"],"Refresh suggestions":["Päivitä suositukset"],"Write list…":["Kirjoita luettelo..."],"Adds a list of links related to this page.":["Lisää listan linkkejä, jotka liittyvät tähän sivuun."],"related posts":["liittyvät artikkelit"],"related pages":["liittyvät sivut"],"Adds a table of contents to this page.":["Lisää hakemiston tälle sivulle."],"links":["linkit"],"toc":["hakemisto"],"Copy link":["Kopioi linkki"],"Copy link to suggested article: %s":["Kopioi linkki ehdotettuun artikkeliin: %s"],"Add a title to your post for the best internal linking suggestions.":["Lisää otsikko viestiisi, niin saat parhaat sisäiset linkitysehdotukset."],"Add a metadescription to your post for the best internal linking suggestions.":["Lisää metakuvaus viestiisi, jotta saat parhaat sisäiset linkitysehdotukset."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Lisää otsikko ja metakuvaus viestiisi saadaksesi parhaat sisäiset linkitysehdotukset."],"Also, add a title to your post for the best internal linking suggestions.":["Lisää myös viestiisi otsikko, niin saat parhaat sisäiset linkitysehdotukset."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Lisää myös metakuvaus viestiisi, jotta saat parhaat sisäiset linkitysehdotukset."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Lisää myös viestiisi otsikko ja metakuvaus, jotta saat parhaat sisäiset linkitysehdotukset."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Kunhan lisäät hieman tekstisisältöä, tarjoamme sinulle tässä listan liittyvästä sisällöstä, johon voit artikkelissasi linkittää."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Parantaaksesi sivustosi rakennetta, harkitse linkittämistä muihin asiaankuuluviin viesteihin tai sivuihin verkkosivustollasi."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Muutaman sekunnin kuluttua näet luettelon asiaan liittyvästä sisällöstä, johon voit linkittää. Ehdotukset näytetään täällä heti, kun meillä on niitä."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Lue oppaamme sisäisistä linkeistä SEO:n kannalta{{/a}} oppiaksesi lisää."],"Copied!":["Kopioitu!"],"Not supported!":["Ei tuettu!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Yritätkö käyttää useita asiaan liittyviä avainsanoja? Sinun tulisi lisätä ne erikseen."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Avainfraasisi on liian pitkä. Sen enimmäispituus on 191 merkkiä."],"Add as related keyphrase":["LIsää liittyvänä avainfraasina"],"Added!":["Lisätty!"],"Remove":["Poista"],"Table of contents":["Sisällysluettelo"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Meidän on optimoitava sivustosi SEO-data, jotta voimme tarjota sinulle parhaat %1$slinkkisuositukset%2$s. %3$sAloita SEO-datan optimointi%4$s"],"Create a Zap in %s":["Luo Zap %sissa."]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fr_FR.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fr_FR.json new file mode 100644 index 00000000..f6dd7f26 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-fr_FR.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n > 1;","lang":"fr"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["La demande est revenue avec lâ€erreur suivante : « %s »"],"X share preview":["Aperçu du partage sur X"],"AI X title generator":["GĂ©nĂ©rateur IA de titre X"],"AI X description generator":["GĂ©nĂ©rateur IA de description X"],"X preview":["Aperçu X"],"Please enter a valid focus keyphrase.":["Veuillez saisir une requĂŞte cible valide."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Pour utiliser cette fonctionnalitĂ©, votre site doit ĂŞtre publiquement accessible. Cela sâ€applique Ă  la fois aux sites de test et aux instances oĂą votre API REST est protĂ©gĂ©e par un mot de passe. Veuillez vous assurer que votre site est publiquement accessible et rĂ©essayez. Si le problème persiste, veuillez %1$scontacter notre Ă©quipe de support%2$s."],"Yoast AI cannot reach your site":["Lâ€IA de Yoast ne peut pas accĂ©der Ă  votre site"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Pour accĂ©der Ă  cette fonctionnalitĂ©, vous devez disposer dâ€abonnements %2$s et %3$s activĂ©s. Veuillez %5$sactiver vos abonnements dans %1$s%6$s ou %7$sobtenir un nouveau %4$s%8$s. Veuillez ensuite actualiser cette page pour que la fonctionnalitĂ© fonctionne correctement, ce qui pourra prendre jusquâ€Ă  30 secondes."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["Le gĂ©nĂ©rateur de titres IA nĂ©cessite lâ€activation de lâ€analyse SEO avant dâ€ĂŞtre utilisĂ©. Pour lâ€activer, veuillez vous rendre dans les %2$sFonctionnalitĂ©s du site de %1$s%3$s, activer lâ€analyse SEO et cliquer sur « Enregistrer les modifications » . Si lâ€analyse SEO est dĂ©sactivĂ©e dans votre profil WordPress, accĂ©dez Ă  votre profil et activez-la. Veuillez contacter votre administrateur ou administratrice si vous nâ€avez pas accès Ă  ces rĂ©glages."],"Social share preview":["Aperçu des partages sociaux"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Pour continuer Ă  utiliser la fonctionnalitĂ© Yoast IA, veuillez rĂ©duire la frĂ©quence de vos demandes. Notre %1$sarticle d’aide%2$s fournit des conseils pour planifier et rythmer efficacement vos demandes afin d’optimiser le flux de travail."],"You've reached the Yoast AI rate limit.":["Vous avez atteint la limite de taux de Yoast IA."],"Allow":["Autoriser"],"Deny":["Refuser"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Pour consulter cette vidĂ©o, vous devez autoriser %1$s Ă  charger des vidĂ©os embarquĂ©es depuis %2$s."],"Text generated by AI may be offensive or inaccurate.":["Le texte gĂ©nĂ©rĂ© par l’IA peut ĂŞtre offensant ou inexact."],"(Opens in a new browser tab)":["(S’ouvre dans un nouvel onglet)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["AccĂ©lĂ©rez vos processus avec l’IA gĂ©nĂ©rative. Obtenez des suggestions qualitatives de titres et descriptions pour vos rĂ©glages SEO. %1$sEn savoir plus%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["GĂ©nĂ©rez les titres et descriptions avec Yoast AI !"],"New to %1$s":["Vous dĂ©couvrez %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["J’approuve les %1$sConditions d’utilisation%2$s et la %3$sPolitique de confidentialitĂ©%4$s du service Yoast IA. Cela inclut le consentement Ă  la collecte et Ă  l’utilisation des donnĂ©es pour amĂ©liorer l’expĂ©rience utilisateur."],"Start generating":["Commencer Ă  gĂ©nĂ©rer"],"Yes, revoke consent":["Oui, rĂ©voquer le consentement"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["En rĂ©voquant votre consentement, vous n’aurez plus accès aux fonctionnalitĂ©s de Yoast IA. Confirmez-vous vouloir rĂ©voquer votre consentement ?"],"Something went wrong, please try again later.":["Quelque chose c’est mal passĂ©, veuillez rĂ©essayer ultĂ©rieurement."],"Revoke AI consent":["RĂ©voquer le consentement Ă  l’IA"],"AI title generator":["GĂ©nĂ©rateur IA de titre"],"AI description generator":["GĂ©nĂ©rateur IA de description"],"AI social title generator":["GĂ©nĂ©rateur IA de titres sociaux"],"AI social description generator":["GĂ©nĂ©rateur IA de descriptions sociales"],"Dismiss":["Ignorer"],"Don’t show again":["Ne plus afficher"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sConseil%2$s : AmĂ©liorez la prĂ©cision des titres gĂ©nĂ©rĂ©s par l’IA en rĂ©digeant davantage de contenu dans votre page."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sConseil%2$s : AmĂ©liorez la prĂ©cision des descriptions gĂ©nĂ©rĂ©es par l’IA en rĂ©digeant davantage de contenu dans votre page."],"Try again":["RĂ©essayer"],"Social preview":["Aperçu social"],"Desktop result":["RĂ©sultat bureau"],"Mobile result":["RĂ©sultat mobile"],"Apply %s description":[],"Apply %s title":[],"Next":["Suivant"],"Previous":["PrĂ©cĂ©dent"],"Generate 5 more":["GĂ©nĂ©rer 5 autres"],"Google preview":["Aperçu Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["En raison des directives Ă©thiques strictes dâ€OpenAI et des %1$suspensions dâ€utilisation%2$s, nous ne sommes pas en mesure de gĂ©nĂ©rer de titre SEO pour votre page. Si vous avez lâ€intention dâ€utiliser lâ€IA, veuillez Ă©viter tout contenu explicite, violent ou sexuellement explicite. %3$sPour en savoir plus sur la manière de configurer votre page afin dâ€obtenir les meilleurs rĂ©sultats avec lâ€IA%4$s"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["En raison des directives Ă©thiques strictes de l’OpenAI et des %1$spolitiques d’utilisation%2$s, nous ne sommes pas en mesure de gĂ©nĂ©rer des mĂ©ta-descriptions pour votre page. Si vous avez l’intention d’utiliser l’IA, veuillez Ă©viter tout contenu explicite, violent ou sexuellement explicite. %3$sEn savoir plus sur la manière de configurer votre page afin d’obtenir les meilleurs rĂ©sultats avec l’IA%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Pour accĂ©der Ă  cette fonctionnalitĂ©, vous devez disposer d’un abonnement %1$s actif. Veuillez %3$sactiver votre abonnement dans %2$s%4$s ou %5$ssouscrire un nouvel abonnement %1$s%6$s. Ensuite, cliquez sur le bouton pour actualiser cette page pour que cela fonctionne correctement, ce qui peut prendre jusqu’à 30 secondes."],"Refresh page":["Actualiser la page"],"Not enough content":["Pas assez de contenu"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Veuillez rĂ©essayer ultĂ©rieurement. Si le problème persiste, veuillez %1$scontacter notre Ă©quipe de support%2$s !"],"Something went wrong":["Quelque chose s’est mal passĂ©"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Il semble que le dĂ©lai de connexion soit dĂ©passĂ©. Veuillez vĂ©rifier votre connexion internet et rĂ©essayer ultĂ©rieurement. Si le problème persiste, veuillez %1$scontacter notre Ă©quipe de support%2$s"],"Connection timeout":["DĂ©lai de connexion dĂ©passĂ©"],"Use AI":["Utiliser l’IA"],"Close modal":["Fermer la modale"],"Learn more about AI (Opens in a new browser tab)":["En savoir plus sur l’IA (s’ouvre dans un nouvel onglet du navigateur)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitre%3$s : Votre page n’a pas encore de titre. %2$sAjoutez-en un%3$s !"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitre%2$s : Votre page a un titre. Bien joué !"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribution de requĂŞte%3$s : %2$sÉcrivez votre requĂŞte ou ses synonymes dans le texte afin que nous puissions calculer leur distribution%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sDistribution de la requĂŞte%2$s : Bon travail !"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribution de la requĂŞte%3$s : inĂ©gale. Certaines parties de votre texte ne contiennent ni la requĂŞte, ni ses synonymes. %2$sDistribuez-les plus Ă©quitablement%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribution de la requĂŞte%3$s : très inĂ©gale. De grandes parties de votre texte ne contiennent ni votre requĂŞte, ni ses synonymes. %2$sDistribuez-les plus Ă©quitablement%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s : Vous n’utilisez pas trop de mots complexes, ce qui rend votre texte facilement lisible. Bon travail !"],"Word complexity":["ComplexitĂ© des mots"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s : %2$s des mots utilisĂ©s sont considĂ©rĂ©s comme complexes. %3$sEssayez d’utilisez des mots moins longs et plus courants pour amĂ©liorer la lisibilitĂ©%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAlignement%3$s : Il y a une longue section de texte alignĂ©e au centre. %2$sNous recommandons de l’aligner Ă  gauche%3$s.","%1$sAlignement%3$s : Il y a %4$s longues sections de texte alignĂ©es au centre. %2$sNous recommandons de les aligner Ă  gauche%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAlignement%3$s : Il y a une longue section de texte alignĂ© au centre. %2$sNous recommandons de l’aligner Ă  droite%3$s.","%1$sAlignement%3$s : Il y a %4$s longues sections de texte alignĂ©es au centre. %2$sNous recommandons de les aligner Ă  droite%3$s."],"Select image":["SĂ©lectionner une image"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Vous ne le savez peut-ĂŞtre mĂŞme pas, mais certaines pages de votre site ne reçoivent aucun lien. Câ€est un problème de rĂ©fĂ©rencement, car il est difficile pour les moteurs de recherche de trouver des pages qui nâ€ont pas de liens. Il est donc plus difficile de les classer. Nous appelons ces pages des contenus orphelins. Dans cette atelier, nous trouvons les contenus orphelins de votre site et nous vous aidons Ă  ajouter rapidement des liens vers ces contenus, afin quâ€ils aient une chance dâ€ĂŞtre classé !"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Il est temps dâ€ajouter des liens ! Vous trouverez ci-dessous une liste de vos articles orphelins. Sous chacun dâ€eux, vous trouverez des suggestions de pages connexes Ă  partir desquelles vous pouvez ajouter un lien. Lorsque vous ajoutez un lien, veillez Ă  â€'insĂ©rer dans une phrase pertinente en rapport avec lâ€article orphelin. Continuez Ă  ajouter des liens vers chacun des articles orphelins jusquâ€Ă  ce que vous soyez satisfait du nombre de liens pointant vers eux."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Il est temps d'ajouter des liens ! Vous trouverez ci-dessous une liste de vos piliers. Sous chaque pilier, vous trouverez des suggestions de publications pour lesquels vous pouvez ajouter un lien. Quand vous ajoutez un lien, assurez-vous de l’insĂ©rer dans une phrase pertinente et similaire Ă  la publication de votre pilier. Continuez Ă  ajouter des liens Ă  partir d’autant de publications similaires que nĂ©cessaire, jusqu'Ă  ce que vos piliers aient le plus grand nombre de liens internes pointant vers eux."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Certaines publications de votre site sont %1$sles%2$s plus importants. Ils rĂ©pondent aux questions des internautes et rĂ©solvent leurs problèmes. Ils mĂ©ritent donc d’être classĂ©s ! Chez %3$s, nous appelons ces articles des piliers. L’un des moyens de les classer est de faire pointer suffisamment de liens vers eux. Un plus grand nombre de liens indique aux moteurs de recherche que ces publications sont importantes et prĂ©cieuses. Dans cet atelier, nous vous aiderons Ă  ajouter des liens Ă  vos contenus piliers !"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Une fois que vous aurez ajoutĂ© un peu plus de texte, nous pourrons vous indiquer le niveau de formalitĂ© de votre texte."],"Overall, your text appears to be %1$s%3$s%2$s.":["Dans l'ensemble, votre texte semble ĂŞtre %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Lâ€intĂ©gration Zapier sera retirĂ©e de %1$s dans la version 20.7 (date de sortie le 9 mai). Si vous avez des questions, veuillez contacter %2$s."],"Maximum heading level":["Niveau maximum de titre"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Vous avez dĂ©sactivĂ© les suggestions de liens, qui sont nĂ©cessaires pour que les liens similaires fonctionnent. Si vous souhaitez ajouter des liens similaires, allez dans FonctionnalitĂ©s du site et activez les suggestions de liens."],"Schema":["SchĂ©ma"],"Meta tags":["Balises mĂ©ta"],"Not available":["Non disponible"],"Checks":["VĂ©rifications"],"Focus Keyphrase":["RequĂŞte cible"],"Good":["Bon"],"No index":["Aucun index"],"Front-end SEO inspector":["Inspecteur SEO de lâ€interface publique"],"Focus keyphrase not set":["RequĂŞte cible non dĂ©finie"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Une fois que vous avez publiĂ© votre Zap dans votre tableau de bord %s, vous pouvez vĂ©rifier s’il est actif et connectĂ© Ă  votre site."],"Reset API key":["RĂ©initialiser la clĂ© de l’API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["La clĂ© de l’API suivante est utilisĂ©e pour vous connecter Ă  %s. Si vous souhaitez vous reconnecter avec une clĂ© de l’API diffĂ©rente, vous pouvez rĂ©initialiser votre clĂ© ci-dessous."],"Your API key":["Votre clĂ© de l’API"],"Go to your %s dashboard":["Aller Ă  votre tableau de bord %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Connexion Ă  %1$s rĂ©ussie ! Pour gĂ©rer votre Zap, veuillez visiter votre tableau de bord %2$s."],"Your %s dashboard":["Votre tableau de bord %s"],"Verify connection":["VĂ©rifier la connexion"],"Verify your connection":["VĂ©rifiez votre connexion"],"Create a Zap":["CrĂ©ez un Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Connectez-vous Ă  votre compte %1$s et commencez Ă  crĂ©er votre premier Zap ! Notez que vous ne pouvez crĂ©er qu’un seul Zap avec un Ă©vènement dĂ©clencheur de %2$s. Dans ce Zap, vous pouvez choisir une ou plusieurs actions."],"%s API key":["ClĂ© de l’API %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Vous aurez besoin de cette clĂ© de l’API plus tard dans %s lorsque vous configurerez votre Zap."],"Copy your API key":["Copiez votre clĂ© de l’API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Pour Ă©tablir une connexion, assurez-vous de copier la clĂ© de l’API donnĂ©e ci-dessous et utilisez-la pour crĂ©er et activer un Zap dans votre compte %s."],"Manage %s settings":["GĂ©rer les rĂ©glages de %s"],"Connect to %s":["Se connecter Ă  %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Veuillez noter : pour que cet atelier fonctionne correctement, vous devez exĂ©cuter l’outil d’optimisation des donnĂ©es SEO. Les administrateurs peuvent l’exĂ©cuter sous %1$sSEO > Outils%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Vous avez ajoutĂ© des liens vers vos articles orphelins, et vous avez nettoyĂ© ceux qui n’étaient plus pertinents. Excellent travail ! Jetez un coup d’œil au rĂ©sumĂ© ci-dessous et cĂ©lĂ©brez ce que vous avez accompli !"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Examinez d’un Ĺ“il critique le contenu de cette liste et effectuez les mises Ă  jour nĂ©cessaires. Si vous avez besoin d’aide pour effectuer les mises Ă  jour, nous avons un %1$sarticle de blog très utile qui peut vous guider tout au long du processus%2$s (cliquez pour ouvrir un nouvel onglet)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sBesoin de plus dâ€aide ? Nous avons dĂ©taillĂ© chaque Ă©tape plus en dĂ©tail dans le guide suivant : %2$sComment utiliser l’atelier liĂ© contenu orphelin %7$s %3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Vous venez de rendre votre meilleur contenu facile Ă  trouver, et plus susceptible d’être classé ! Bravo ! De temps en temps, n’oubliez pas de vĂ©rifier si vos piliers reçoivent suffisamment de liens !"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Jetez un coup d’œil Ă  la liste ci-dessous. Vos piliers (marquĂ©es avec %1$s) ont-elles le plus de liens internes pointant vers elles ? Cliquez sur le bouton Optimiser si vous pensez qu’un contenu pilier a besoin de plus de liens. L’article passera alors Ă  l’étape suivante."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Tous vos contenus piliers ont-ils des puces vertes ? Pour obtenir les meilleurs rĂ©sultats, pensez Ă  modifier ceux qui n’en ont pas !"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Quels sont les articles que vous voulez classer le plus haut ? Quels sont ceux que votre public trouverait les plus utiles et les plus complets ? Cliquez sur la flèche pointant vers le bas et recherchez les articles qui rĂ©pondent Ă  ces critères. Nous marquerons automatiquement les articles que vous sĂ©lectionnez dans la liste comme pilier."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sBesoin de plus dâ€aide ? Nous avons dĂ©taillĂ© chaque Ă©tape plus en dĂ©tail dans : %2$sComment utiliser l’atelier des piliers %7$s %3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Table des matières Yoast"],"Yoast Related Links":["Liens en relations Yoast"],"Finish optimizing":["Terminez lâ€optimisation"],"You've finished adding links to this article.":["Vous avez fini d'ajouter des liens Ă  cet article"],"Optimize":["Optimiser"],"Added to next step":["Nouvelle Ă©tape ajoutĂ©e"],"Choose cornerstone articles...":["Choisir vos articles piliers…"],"Loading data...":["Chargement des donnĂ©es..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Vous n’avez pas encore nettoyĂ© ou mis Ă  jour d’articles en utilisant cet atelier. Une fois que vous l’aurez fait, un rĂ©sumĂ© de votre travail sera affichĂ© ici."],"Skipped":["IgnorĂ©"],"Hidden from search engines.":["MasquĂ© des moteurs de recherche."],"Removed":["RetirĂ©"],"Improved":["AmĂ©liorĂ©"],"Resolution":["RĂ©solution"],"Loading redirect options...":["Chargement des options de redirection…"],"Remove and redirect":["Supprimer et rediriger"],"Custom url:":["URL personnalisĂ©e :"],"Related article:":["Article similaire :"],"Home page:":["Page d’accueil :"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Vous ĂŞtes sur le point de supprimer %1$s%2$s%3$s. Pour Ă©viter les 404 sur votre site, vous devez le rediriger vers une autre page de votre site. OĂą voulez-vous le rediriger ?"],"SEO Workout: Remove article":["Atelier SEO : Supprimer un article"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Tout semble bon ! Nous n’avons trouvĂ© aucun article sur votre site de plus de six mois recevant trop peu de liens sur votre site. Nâ€hĂ©sitez pas Ă  revenir ici plus tard pour de nouvelles suggestions de nettoyage !"],"Hide from search engines":["Masquer dans les moteurs de recherche"],"Improve":["AmĂ©liorer"],"Are you sure you wish to hide this article from search engines?":["Confirmez-vous vouloir masquer cet article aux moteurs de recherche ?"],"Action":["Action"],"You've hidden this article from search engines.":["Vous avez masquĂ© cet article aux moteurs de recherche."],"You've removed this article.":["Vous avez supprimĂ© cet article."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Vous n’avez actuellement sĂ©lectionnĂ© aucun article Ă  amĂ©liorer. SĂ©lectionnez quelques publications dans les Ă©tapes prĂ©cĂ©dentes pour y ajouter des liens et nous vous afficherons des suggestions de liens ici."],"Loading link suggestions...":["Chargement des suggestions de liens…"],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Nous n’avons pas trouvĂ© de suggestions pour cet article, mais vous pouvez bien sĂ»r ajouter des liens vers des articles que vous pensez ĂŞtre liĂ©s."],"Skip":["Passer"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Vous n’avez pas encore sĂ©lectionnĂ© d’articles pour cette Ă©tape. Vous pouvez le faire dans l’étape prĂ©cĂ©dente."],"Is it up-to-date?":["Est-il Ă  jour ?"],"Last Updated":["Dernière mise Ă  jour"],"You've moved this article to the next step.":["Vous avez passĂ© cet article Ă  l’étape suivante."],"Unknown":["Inconnu"],"Clear summary":["Effacer le rĂ©sumĂ©"],"Add internal links towards your orphaned articles.":["Ajoutez des liens internes vers vos articles orphelins."],"Should you update your article?":["Devriez-vous mettre Ă  jour votre article ?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Votre site contient souvent beaucoup de contenu créé une fois et auquel on ne revient jamais par la suite. Il est important de les passer en revue et de se demander si ces contenus sont toujours pertinents pour votre site. Devez-vous les amĂ©liorer ou les supprimer ?"],"Start: Love it or leave it?":["Commencer : Vous aimez ou vous arrĂŞtez ?"],"Clean up your unlinked content to make sure people can find it":["Nettoyez votre contenu non liĂ© pour vous assurer que les internautes puissent le trouver."],"I've finished this workout":["J’ai terminĂ© cet atelier"],"Reset this workout":["RĂ©initialiser cet atelier"],"Well done!":["Bien joué !"],"Add internal links towards your cornerstones":["Ajoutez des liens internes vers vos contenus piliers"],"Check the number of incoming internal links of your cornerstones":["VĂ©rifiez le nombre de liens internes entrants de vos contenus piliers"],"Start: Choose your cornerstones!":["DĂ©but : Choisissez vos piliers !"],"The cornerstone approach":["L’approche pilier"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Veuillez noter : pour que cet atelier fonctionne correctement et vous propose des suggestions de liens, vous devez exĂ©cuter l’outil d’optimisation des donnĂ©es SEO. Les administrateurs peuvent l’exĂ©cuter sous %1$sSEO > Outils%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Veuillez noter : votre admin a dĂ©sactivĂ© la fonctionnalitĂ© pilier dans les rĂ©glages SEO. Si vous souhaitez utiliser cet atelier, elle doit ĂŞtre activĂ©e."],"I've finished this step":["J’ai fini cette Ă©tape"],"Revise this step":["Revoir cette Ă©tape"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Nous n’avons pas pu trouver de liens internes sur vos pages. Soit vous n’avez pas encore ajoutĂ© de liens internes Ă  votre contenu, soit Yoast SEO ne les a pas indexĂ©s. Vous pouvez demander Ă  Yoast SEO d’indexer vos liens en exĂ©cutant l’optimisation des donnĂ©es SEO sous SEO > Outils."],"Incoming links":["Liens entrants"],"Edit to add link":["Modifier pour ajouter un lien"],"%s incoming link":["%s lien entrant","%s liens entrants"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Vous n’avez actuellement aucun article marquĂ© comme article pilier. Lorsque vous marquerez vos articles en tant qu’articles piliers, ils apparaĂ®tront ici."],"Focus keyphrase":["RequĂŞte cible"],"Article":["Article"],"Readability score":["Score de lisibilitĂ©"],"SEO score":["Score SEO"],"Copy failed":["La copie a Ă©chouĂ©"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["AmĂ©liorez le classement de tous vos contenus piliers en utilisant cet %1$satelier Ă©tape par Ă©tape !%2$s"],"Rank with articles you want to rank with":["Soyez visibles avec les articles souhaitĂ©s"],"Descriptive text":["Texte descriptif"],"Show the descriptive text":["Afficher le texte descriptif"],"Show icon":["Afficher l’icĂ´ne"],"Yoast Estimated Reading Time":["Temps de lecture estimĂ© par Yoast"],"Shows an estimated reading time based on the content length.":["Affiche une estimation du temps de lecture en fonction de la longueur du contenu."],"reading time":["Temps de lecture"],"content length":["longueur du contenu"],"Estimated reading time:":["Temps de lecture estimé : "],"minute":["minute","minutes"],"Settings":["RĂ©glages"],"OK":["OK"],"Close":["Fermer"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["La première solution SEO tout-en-un pour WordPress, y compris l’analyse des pages de contenu, les plans de site XML et bien plus encore."],"Type":["Type"],"Team Yoast":["L’équipe Yoast"],"Orphaned content":["Contenu orphelin"],"Synonyms":["Synonymes"],"Internal linking suggestions":["Suggestions de liens internes"],"Enter a related keyphrase to calculate the SEO score":["Saisissez une phrase clĂ© associĂ©e pour calculer le score de rĂ©fĂ©rencement"],"Related keyphrase":["RequĂŞte cible liĂ©e"],"Add related keyphrase":["Ajouter une variante"],"Analysis results":["RĂ©sultats de l’analyse"],"Help on choosing the perfect keyphrase":["Aide sur le choix de la phrase clĂ© idĂ©ale"],"Help on keyphrase synonyms":["Aide sur les synonymes de phrase clĂ©"],"Keyphrase":["RequĂŞte"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["nouvelle URL:{{link}}%s{{/link}}"],"Undo":["RĂ©tablir"],"Redirect created":["Redirection créée"],"%s just created a redirect from the old URL to the new URL.":["%s vient de crĂ©er une redirection de l’ancienne URL vers la nouvelle URL."],"Old URL: {{link}}%s{{/link}}":["Ancienne URL :{{link}}%s{{/link}}"],"Keyphrase synonyms":["Synonymes de la phrase clĂ©"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Une erreur sâ€est produite : lâ€analyse SEO Premium ne fonctionne pas comme prĂ©vu. Veuillez {{activateLink}} activer votre abonnement dans MyYoast{{/activateLink}} puis {{reloadButton}}recharger cette page{{/reloadButton}} pour quâ€elle fonctionne correctement."],"seo":["seo"],"internal linking":["maillage interne"],"site structure":["structure de site"],"We could not find any relevant articles on your website that you could link to from your post.":["Nous n’avons pas trouvĂ© d’article pertinent sur votre site vers lequel vous pourriez faire un lien."],"Load suggestions":["Chargement des suggestions"],"Refresh suggestions":["RafraĂ®chir les suggestions"],"Write list…":["RĂ©digez une liste…"],"Adds a list of links related to this page.":["Ajoute une liste de liens en relation avec cette page."],"related posts":["articles en relation"],"related pages":["pages en relation"],"Adds a table of contents to this page.":["Ajoute une table des matières Ă  cette page."],"links":["liens"],"toc":["tdm"],"Copy link":["Copier le lien"],"Copy link to suggested article: %s":["Copier le lien de l’article suggĂ©ré : %s"],"Add a title to your post for the best internal linking suggestions.":["Ajoutez un titre Ă  votre article pour obtenir des meilleures suggestions de maillage interne."],"Add a metadescription to your post for the best internal linking suggestions.":["Ajouter une mĂ©ta-description Ă  votre article pour obtenir de meilleures suggestions de liens."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Ajoutez un titre et une mĂ©ta-description Ă  votre article pour obtenir de meilleures suggestions de maillage interne."],"Also, add a title to your post for the best internal linking suggestions.":["Ajoutez Ă©galement un titre Ă  votre article pour obtenir de meilleures suggestions de maillage interne."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Ajoutez Ă©galement une mĂ©ta-description Ă  votre article pour obtenir de meilleures suggestions de maillage interne."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Ajoutez Ă©galement un titre et une mĂ©ta-description Ă  votre article pour obtenir de meilleures suggestions de maillage interne."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Lorsque vous aurez rĂ©digĂ© plus de contenus, nous vous proposerons une liste d’articles en relation que vous pourrez ajouter en lien dans votre publication."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Pour amĂ©liorer la structure de votre site, pensez au maillage interne en ajoutant des liens vers des articles ou pages de votre site."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["L’affichage de la liste des contenus en relation vers lesquels vous pourriez faire des liens prend quelques secondes. Les propositions apparaĂ®tront ici dès que possible."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Lisez notre guide sur le maillage interne en SEO{{/a}} pour en savoir plus."],"Copied!":["Copié !"],"Not supported!":["Non compatible !"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Essayez-vous d’utiliser des requĂŞtes cibles multiples ? Vous devriez les ajouter sĂ©parĂ©ment."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Votre requĂŞte cible est trop longue. Elle peut ĂŞtre composĂ©e de 191 caractères au maximum."],"Add as related keyphrase":["Ajouter en tant que requĂŞte cible"],"Added!":["Ajouté !"],"Remove":["Supprimer"],"Table of contents":["Table des matières"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Nous avons besoin d’optimiser les donnĂ©es SEO pour vous proposer les meilleures %1$ssuggestions de liens%2$s.\n\n%3$sDĂ©marrage de l’optimisation des donnĂ©es SEO%4$s"],"Create a Zap in %s":["CrĂ©er un Zap dans %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-he_IL.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-he_IL.json new file mode 100644 index 00000000..4a4c9ec4 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-he_IL.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"he_IL"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":["להרשות"],"Deny":["×ś× ×ś×שר"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["כדי לר×ות סר×ון ×–×”, עליך ל×פשר ל-%1$s ל×עון סר×ונים מו×מעים מ-%2$s."],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":["(פתח ב××ב חדש בדפדפן)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":["סגור"],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":["לנסות שוב"],"Social preview":[],"Desktop result":["תוצ×ות דסק×ופ"],"Mobile result":["תוצ×ות מובייל"],"Apply %s description":[],"Apply %s title":[],"Next":["הב×"],"Previous":["קודם"],"Generate 5 more":[],"Google preview":["תצוגת גוגל"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sפיזור בי×ויי מפתח%3$s: %2$sיש לכלול בי×וי מפתח ×ו ×ת המילים הנרדפות שלו בתוכן כדי שנוכל לבדוק ×ת פיזור בי×ויי המפתח%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sפיזור בי×ויי מפתח%2$s: עבודה ×ובה!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sפיזור בי×ויי מפתח%3$s: ×ś× ×חיד. חלקים מסוימים בתוכן ×ינם מכילים בי×וי מפתח ×ו ×ת המילים הנרדפות שלו. %2$sיש לפזר ×ותם ב×ופן שווה יותר%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sפיזור בי×ויי מפתח%3$s: מ×וד ×ś× ×חיד. חלקים גדולים בתוכן ×ינם מכילים בי×וי מפתח ×ו ×ת המילים הנרדפות שלו. %2$sיש לפזר ×ותם ב×ופן שווה יותר%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: ×ינך משתמש ביותר מדי מילים מורכבות, מה שהופך ×ת ×”××§×ˇ× ×ś×§×¨×™× ×™×•×Ş×¨. עבודה ×ובה!"],"Word complexity":["מורכבות מילים"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s:%2$s מהמילים בנוסח נחשבות כמסובכות. %3$s תנסו להשתמש במילים קצרות יותר, ×ו יותר מוכרות כדי לשפר ×ת רמת הקרי×ות %4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":["בחירת תמונה"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":["סכימה"],"Meta tags":[],"Not available":["×ś× ×–×ž×™×ź"],"Checks":[],"Focus Keyphrase":[],"Good":["×וב"],"No index":[],"Front-end SEO inspector":[],"Focus keyphrase not set":[],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":[],"Reset API key":[],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":[],"Your API key":[],"Go to your %s dashboard":[],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":[],"Your %s dashboard":[],"Verify connection":[],"Verify your connection":[],"Create a Zap":[],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":[],"%s API key":[],"You'll need this API key later on in %s when you're setting up your Zap.":[],"Copy your API key":[],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":[],"Manage %s settings":[],"Connect to %s":[],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":[],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":[],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":[],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":[],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":[],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":[],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":[],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":[],"Yoast Table of Contents":[],"Yoast Related Links":[],"Finish optimizing":[],"You've finished adding links to this article.":[],"Optimize":[],"Added to next step":[],"Choose cornerstone articles...":[],"Loading data...":[],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":[],"Skipped":[],"Hidden from search engines.":[],"Removed":["נמחק"],"Improved":[],"Resolution":[],"Loading redirect options...":[],"Remove and redirect":[],"Custom url:":[],"Related article:":[],"Home page:":[],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":[],"SEO Workout: Remove article":[],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":[],"Hide from search engines":[],"Improve":[],"Are you sure you wish to hide this article from search engines?":[],"Action":["פעולה"],"You've hidden this article from search engines.":[],"You've removed this article.":[],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":[],"Loading link suggestions...":[],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":[],"Skip":["דלג"],"You haven't selected any articles for this step yet. You can do so in the previous step.":[],"Is it up-to-date?":[],"Last Updated":["עדכון ×חרון"],"You've moved this article to the next step.":[],"Unknown":["×ś× ×™×“×•×˘"],"Clear summary":[],"Add internal links towards your orphaned articles.":[],"Should you update your article?":[],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":[],"Start: Love it or leave it?":[],"Clean up your unlinked content to make sure people can find it":["× ×§×” ×ת הקישורים השבורים כדי להקל על הגולשים ×ś×ž×¦×•× ×ת התוכן הנדרש."],"I've finished this workout":[],"Reset this workout":[],"Well done!":[],"Add internal links towards your cornerstones":[],"Check the number of incoming internal links of your cornerstones":[],"Start: Choose your cornerstones!":[],"The cornerstone approach":[],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":[],"Revise this step":[],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":[],"Incoming links":[],"Edit to add link":[],"%s incoming link":[],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":[],"Focus keyphrase":["בי×וי מפתח למיקוד"],"Article":["מ×מר"],"Readability score":["ציון קרי×ות"],"SEO score":[],"Copy failed":[],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":[],"Rank with articles you want to rank with":[],"Descriptive text":["××§×ˇ× ×Ş×™×ורי"],"Show the descriptive text":["הצג ×ת ×”××§×ˇ× ×”×Ş×™×ורי"],"Show icon":["הצג ×ייקון"],"Yoast Estimated Reading Time":["זמן קרי××” משוער על ידי Yoast"],"Shows an estimated reading time based on the content length.":["מציג זמן קרי××” משוער בהתבסס על ×ורך התוכן."],"reading time":["זמן קרי××”"],"content length":["×ורך התוכן"],"Estimated reading time:":["זמן קרי××” משוער:"],"minute":["דקה","דקות"],"Settings":["הגדרות"],"OK":["תקין"],"Close":["סגור"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["פתרון ×”-SEO הכולל הר×שון עבור וורדפרס, הכולל ניתוח עמוד, מפות ×תר ועוד."],"Type":["סוג"],"Team Yoast":["צוות Yoast"],"Orphaned content":["תוכן יתום"],"Synonyms":["מילים נרדפות"],"Internal linking suggestions":["הצעות לקישור פנימי"],"Enter a related keyphrase to calculate the SEO score":["הזן בי×וי מפתח כדי לחשב ×ת ציון ×”-SEO"],"Related keyphrase":["בי×וי מפתח קשור"],"Add related keyphrase":["הוסף בי×וי מפתח רלוונ×יים"],"Analysis results":["תוצ×ות ניתוח"],"Help on choosing the perfect keyphrase":["עזרה בבחירת בי×וי מפתח מושלמים"],"Help on keyphrase synonyms":["עזרה על משפ××™ מפתח נרדפים"],"Keyphrase":["בי×וי מפתח"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["יו××ˇ× SEO פרימיום"],"New URL: {{link}}%s{{/link}}":["כתובת חדשה: {{קישור}}%s{{/קישור}}"],"Undo":["ב×ל"],"Redirect created":["נוצרה הפניה"],"%s just created a redirect from the old URL to the new URL.":["%s יצר הפניה מכתובת ×”×תר הישנה לכתובת ×”×תר החדשה."],"Old URL: {{link}}%s{{/link}}":["כתובת ישנה: {{link}}%s{{/link}}"],"Keyphrase synonyms":["מילים נרדפות לבי×ויי מפתח"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[],"seo":["seo"],"internal linking":["קישורים פנימיים"],"site structure":["מבנה ×תר"],"We could not find any relevant articles on your website that you could link to from your post.":["×ś× × ×ž×¦×ו מ×מרים רלוונ×יים ב×תר ש×ליהם ניתן לקשר מהפוס×."],"Load suggestions":["×ען הצעות"],"Refresh suggestions":["רענן הצעות"],"Write list…":["הוספת רשימה…"],"Adds a list of links related to this page.":["מוסיף רשימה של קישורים הקשורים לעמוד ×–×”."],"related posts":["פוס×ים קשורים"],"related pages":["עמודים קשורים"],"Adds a table of contents to this page.":["מוסיף תוכן עניינים לעמוד ×–×”."],"links":["קישורים"],"toc":["תוכן עניינים"],"Copy link":["העתק קישור"],"Copy link to suggested article: %s":["העתק קישור למ×מר מוצע: %s"],"Add a title to your post for the best internal linking suggestions.":["הוסף כותרת ×ś×¤×•×ˇ× ×›×“×™ לקבל ×ת הצעות ×”×ובות ביותר לקישורים פנימיים."],"Add a metadescription to your post for the best internal linking suggestions.":["הוסף תי×ור ×ś×¤×•×ˇ× ×›×“×™ לקבל ×ת ההצעות ×”×ובות ביותר לקישורים פנימיים."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["הוסף כותרת ותי×ור ×ś×¤×•×ˇ× ×›×“×™ לקבל ×ת ההצעות ×”×ובות ביותר לקישורים פנימיים."],"Also, add a title to your post for the best internal linking suggestions.":["כמו כן, הוסף כותרת ×ś×¤×•×ˇ× ×›×“×™ לקבל ×ת ההצעות ×”×ובות ביותר לקישורים פנימיים."],"Also, add a metadescription to your post for the best internal linking suggestions.":["כמו כן, הוסף תי×ור ×ś×¤×•×ˇ× ×›×“×™ לקבל ×ת ההצעות ×”×ובות ביותר לקישורים פנימיים."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["כמו כן, הוסף כותרת ותי×ור ×ś×¤×•×ˇ× ×›×“×™ לקבל ×ת ההצעות ×”×ובות ביותר לקישורים פנימיים."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["ל×חר הוספת תוכן נוסף, תוצג רשימה של תוכן קשור ש×ליו ניתן ×™×”×™×” לקשר ×ž×”×¤×•×ˇ× ×”×–×”."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["כדי לשפר ×ת מבנה ×”×תר, יש לשקול להוסיף קישור לפוס×ים ×ו עמודים רלוונ×יים ×חרים ב×תר."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["×–×” ×™×§×— כמה שניות להר×ות רשימה של תוכן קשור ש×ליו ×תה יכול לקשר. ההצעות יוצגו ×›×ן ברגע שנקבל ×ותן."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["למידע נוסף, {{a}}כד××™ ×ś×§×¨×•× ×ת המדריך שלנו ×‘× ×•×©× ×§×™×©×•×¨ פנימי למ×רת SEO.\n{{/a}}"],"Copied!":["הועתק!"],"Not supported!":["×ś× × ×Ş×ž×š!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["×”×ם ×תה מנסה להשתמש בבי×ויי מפתח מרובים קשורים? כד××™ להוסיף ×ותם בנפרד."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["בי×וי המפתח שלך ×רוך מדי. ×”×•× ×™×›×•×ś להכיל עד 191 תווים לכל היותר."],"Add as related keyphrase":["הוסף כבי×וי מפתח רלוונ××™"],"Added!":["נוסף!"],"Remove":["הסר"],"Table of contents":["תוכן עניינים"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["%2$s%1$sעלינו למ×ב ×ת נתוני ×”-SEO של ×”×תר כדי שנוכל להציע לך ×ת ×פשרויות הקישור ×”×ובות ביותר.\n\n\n%3$sלהתחלת מי×וב של נתוני SEO %4$s"],"Create a Zap in %s":["צור Zap ב×מצעות %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-hi_IN.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-hi_IN.json new file mode 100644 index 00000000..e95901e5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-hi_IN.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"hi_IN"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["अनŕĄŕ¤°ŕĄ‹ŕ¤§ निम्न त्रŕĄŕ¤źŕ¤ż के साथ वापस आया: \"%s\""],"X share preview":["एक्स शेयर पूर्वावलोकन"],"AI X title generator":["एआठएक्स शीर्षक जनरेटर"],"AI X description generator":["एआठएक्स विवरण जनरेटर"],"X preview":["एक्स पूर्वावलोकन"],"Please enter a valid focus keyphrase.":["कŕĄŕ¤Şŕ¤Żŕ¤ľ एक मान्य फ़ोकस कीफ़्रेज़ दर्ज करें।"],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["इस सŕĄŕ¤µŕ¤żŕ¤§ŕ¤ľ का उपयोग करने के लिए, आपकी साइट सार्वजनिक रूप से पहŕĄŕ¤‚च योग्य होनी चाहिए। यह परीक्षण साइटों और उदाहरणों दोनों पर लागू होता हॠजहां आपका रेस्ट एपीआठपासवर्ड से सŕĄŕ¤°ŕ¤•्षित हŕĄŕĄ¤ कŕĄŕ¤Şŕ¤Żŕ¤ľ सŕĄŕ¤¨ŕ¤żŕ¤¶ŕĄŤŕ¤šŕ¤żŕ¤¤ करें कि आपकी साइट जनता के लिए सŕĄŕ¤˛ŕ¤­ हॠऔर पŕĄŕ¤¨ŕ¤ प्रयास करें। यदि समस्या बनी रहती हŕĄ, तो कŕĄŕ¤Şŕ¤Żŕ¤ľ %1$sहमारी सहायता टीम से संपर्क करें%2$s।"],"Yoast AI cannot reach your site":["योस्ट एआठआपकी साइट तक नहीं पहŕĄŕ¤‚च सकता"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["इस सŕĄŕ¤µŕ¤żŕ¤§ŕ¤ľ तक पहŕĄŕ¤‚चने के लिए, आपको सक्रिय %2$s और %3$s सदस्यता की आवश्यकता हŕĄŕĄ¤ कŕĄŕ¤Şŕ¤Żŕ¤ľ %5$sअपनी सदस्यताएठ%1$s में सक्रिय करें%6$s या %7$sनया %4$s प्राप्त करें%8$s। बाद में, सŕĄŕ¤µŕ¤żŕ¤§ŕ¤ľ के सही ढंग से काम करने के लिए कŕĄŕ¤Şŕ¤Żŕ¤ľ इस पेज को रीफ्रेश करें, जिसमें 30 सेकंड तक का समय लग सकता हŕĄŕĄ¤"],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["एआठशीर्षक जनरेटर को उपयोग से पहले एसŕ¤ŕ¤“ विश्लेषण को सक्षम करने की आवश्यकता होती हŕĄŕĄ¤ इसे सक्षम करने के लिए, कŕĄŕ¤Şŕ¤Żŕ¤ľ %1$s%3$s की %2$sसाइट सŕĄŕ¤µŕ¤żŕ¤§ŕ¤ľŕ¤“ं पर जाएŕ¤, एसŕ¤ŕ¤“ विश्लेषण चालू करें, और 'परिवर्तन सहेजें' पर क्लिक करें। यदि आपके वर्डप्रेस उपयोगकर्ता प्रोफ़ाइल में एसŕ¤ŕ¤“ विश्लेषण अक्षम हŕĄ, तो अपनी प्रोफ़ाइल तक पहŕĄŕ¤‚चें और इसे वहां सक्षम करें। यदि आपके पास इन सेटिंग्स तक पहŕĄŕ¤‚च नहीं हॠतो कŕĄŕ¤Şŕ¤Żŕ¤ľ अपने व्यवस्थापक से संपर्क करें।"],"Social share preview":["सामाजिक शेयर पूर्वावलोकन"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["योस्ट एआठसŕĄŕ¤µŕ¤żŕ¤§ŕ¤ľ का उपयोग जारी रखने के लिए, कŕĄŕ¤Şŕ¤Żŕ¤ľ अपने अनŕĄŕ¤°ŕĄ‹ŕ¤§ŕĄ‹ŕ¤‚ की आवŕĄŕ¤¤ŕĄŤŕ¤¤ŕ¤ż कम करें। हमारा %1$sसहायता आलेख%2$s एक अनŕĄŕ¤•ूलित वर्कफ़्लो के लिए आपके अनŕĄŕ¤°ŕĄ‹ŕ¤§ŕĄ‹ŕ¤‚ को प्रभावी ढंग से योजना बनाने और गति देने पर मार्गदर्शन प्रदान करता हŕĄŕĄ¤"],"You've reached the Yoast AI rate limit.":["आप योस्ट एआठदर सीमा तक पहŕĄŕ¤‚च गए हŕĄŕ¤‚।"],"Allow":["अनŕĄŕ¤®ŕ¤¤ŕ¤ż दें"],"Deny":["अस्वीकार करना"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["इस वीडियो को देखने के लिए, आपको %1$s को %2$s से एम्बेड किए गए वीडियो लोड करने की अनŕĄŕ¤®ŕ¤¤ŕ¤ż देनी होगी।"],"Text generated by AI may be offensive or inaccurate.":["एआठद्वारा उत्पन्न पाठ आपत्तिजनक या गलत हो सकता हŕĄŕĄ¤"],"(Opens in a new browser tab)":["(नए ब्राउज़र टŕĄŕ¤¬ में खŕĄŕ¤˛ŕ¤¤ŕ¤ľ हŕĄ)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["जेनरेटिव एआठके साथ अपने वर्कफ़्लो को तेज़ करें। अपनी खोज और सामाजिक उपस्थिति के लिए उच्च गŕĄŕ¤Łŕ¤µŕ¤¤ŕĄŤŕ¤¤ŕ¤ľ वाले शीर्षक और विवरण सŕĄŕ¤ťŕ¤ľŕ¤µ प्राप्त करें। %1$sऔर अधिक जानें%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["योस्ट एआठके साथ शीर्षक और विवरण तŕĄŕ¤Żŕ¤ľŕ¤° करें!"],"New to %1$s":["%1$s पर नया"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["मŕĄŕ¤‚ योस्ट एआठसेवा की %1$sसेवा की शर्तों%2$s और %3$sगोपनीयता नीति%4$s को मंजूरी देता हूं। इसमें उपयोगकर्ता अनŕĄŕ¤­ŕ¤µ को बेहतर बनाने के लिए डेटा के संग्रह और उपयोग के लिए सहमति शामिल हŕĄŕĄ¤"],"Start generating":["उत्पन्न करना प्रारंभ करें"],"Yes, revoke consent":["हां, सहमति रद्द करें"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["अपनी सहमति रद्द करने से, अब आपको योस्ट एआठसŕĄŕ¤µŕ¤żŕ¤§ŕ¤ľŕ¤“ं तक पहŕĄŕ¤‚च नहीं मिलेगी। क्या आप वाकठअपनी सहमति रद्द करना चाहते हŕĄŕ¤‚?"],"Something went wrong, please try again later.":["कŕĄŕ¤› गलत हो गया हŕĄŕĄ¤ कŕĄŕ¤Şŕ¤Żŕ¤ľ बाद में दोबारा प्रयास करें।"],"Revoke AI consent":["एआठसहमति रद्द करें"],"AI title generator":["एआठशीर्षक जनरेटर"],"AI description generator":["एआठविवरण जनरेटर"],"AI social title generator":["एआठसामाजिक शीर्षक जनरेटर"],"AI social description generator":["एआठसामाजिक विवरण जनरेटर"],"Dismiss":["खारिज"],"Don’t show again":["दोबारा मत दिखाओ"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sयŕĄŕ¤•्ति%2$s: अपने पŕĄŕ¤·ŕĄŤŕ¤  में अधिक सामग्री लिखकर अपने जेनरेट किए गए एआठशीर्षकों की सटीकता में सŕĄŕ¤§ŕ¤ľŕ¤° करें।"],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sयŕĄŕ¤•्ति%2$s: अपने पŕĄŕ¤·ŕĄŤŕ¤  में अधिक सामग्री लिखकर अपने जेनरेट किए गए एआठविवरणों की सटीकता में सŕĄŕ¤§ŕ¤ľŕ¤° करें।"],"Try again":["पŕĄŕ¤¨ŕ¤ कोशिश करें"],"Social preview":["सामाजिक पूर्वावलोकन"],"Desktop result":["डेस्कटॉप परिणाम"],"Mobile result":["मोबाइल परिणाम"],"Apply %s description":[],"Apply %s title":[],"Next":["अगला"],"Previous":["पिछला "],"Generate 5 more":["5 और उत्पन्न करें"],"Google preview":["गूगल पूर्वावलोकन"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["OpenAI के सख्त नŕĄŕ¤¤ŕ¤żŕ¤• दिशानिर्देशों और %1$sउपयोग नीतियों%2$s के कारण, हम आपके पेज के लिए SEO शीर्षक उत्पन्न करने में असमर्थ हŕĄŕ¤‚। यदि आप एआठका उपयोग करने का इरादा रखते हŕĄŕ¤‚, तो कŕĄŕ¤Şŕ¤Żŕ¤ľ स्पष्ट, हिंसक या स्पष्ट यौन सामग्री के उपयोग से बचें। %3$sयह सŕĄŕ¤¨ŕ¤żŕ¤¶ŕĄŤŕ¤šŕ¤żŕ¤¤ करने के लिए कि आपको एआठके साथ सर्वोत्तम परिणाम प्राप्त हों, अपने पेज को कॉन्फ़िगर करने के तरीके के बारे में और पढ़ें%4$s।"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["OpenAI के सख्त नŕĄŕ¤¤ŕ¤żŕ¤• दिशानिर्देशों और %1$sउपयोग नीतियों%2$s के कारण, हम आपके पेज के लिए मेटा विवरण तŕĄŕ¤Żŕ¤ľŕ¤° करने में असमर्थ हŕĄŕ¤‚। यदि आप एआठका उपयोग करने का इरादा रखते हŕĄŕ¤‚, तो कŕĄŕ¤Şŕ¤Żŕ¤ľ स्पष्ट, हिंसक या स्पष्ट यौन सामग्री के उपयोग से बचें। %3$sयह सŕĄŕ¤¨ŕ¤żŕ¤¶ŕĄŤŕ¤šŕ¤żŕ¤¤ करने के लिए कि आपको एआठके साथ सर्वोत्तम परिणाम प्राप्त हों, अपने पेज को कॉन्फ़िगर करने के तरीके के बारे में और पढ़ें%4$s।"],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["इस सŕĄŕ¤µŕ¤żŕ¤§ŕ¤ľ तक पहŕĄŕ¤‚चने के लिए, आपको एक सक्रिय %1$s सदस्यता की आवश्यकता हŕĄŕĄ¤ कŕĄŕ¤Şŕ¤Żŕ¤ľ %3$sअपनी सदस्यता %2$s%4$s में सक्रिय करें या %5$sएक नठ%1$s सदस्यता प्राप्त करें%6$s। इसके बाद, सŕĄŕ¤µŕ¤żŕ¤§ŕ¤ľ के सही ढंग से काम करने के लिए इस पेज को रीफ्रेश करने के लिए बटन पर क्लिक करें, जिसमें 30 सेकंड तक का समय लग सकता हŕĄŕĄ¤"],"Refresh page":["Addons रिफ्रेश करें"],"Not enough content":["पर्याप्त सामग्री नहीं"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["कŕĄŕ¤Şŕ¤Żŕ¤ľ बाद में पŕĄŕ¤¨: प्रयास करें। यदि समस्या बनी रहती हŕĄ, तो कŕĄŕ¤Şŕ¤Żŕ¤ľ %1$sहमारी सहायता टीम से संपर्क करें%2$s!"],"Something went wrong":["कŕĄŕ¤› गलत हो गया"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["ŕ¤ŕ¤¸ŕ¤ľ लगता हॠकि कनेक्शन टाइमआउट हो गया हŕĄ. कŕĄŕ¤Şŕ¤Żŕ¤ľ अपना इंटरनेट कनेक्शन जांचें और बाद में पŕĄŕ¤¨ŕ¤ प्रयास करें। यदि समस्या बनी रहती हŕĄ, तो कŕĄŕ¤Şŕ¤Żŕ¤ľ %1$sहमारी सहायता टीम से संपर्क करें%2$s"],"Connection timeout":["कनेक्शन समय समाप्त"],"Use AI":["एआठका प्रयोग करें"],"Close modal":["मोडल बंद करें"],"Learn more about AI (Opens in a new browser tab)":["एआठके बारे में और जानें (एक नए ब्राउज़र टŕĄŕ¤¬ में खŕĄŕ¤˛ŕ¤¤ŕ¤ľ हŕĄ)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sशीर्षक%3$s: आपके पेज का अभी तक कोठशीर्षक नहीं हŕĄŕĄ¤ %2$sएक जोड़ें%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sशीर्षक%2$s: आपके पŕĄŕ¤·ŕĄŤŕ¤  का शीर्षक हŕĄŕĄ¤ बहŕĄŕ¤¤ अच्छा!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sकीफ्रेज वितरण%3$s: %2$sपाठ में अपने कीफ्रेज या इसके पर्यायवाची को शामिल करें ताकि हम कीफ्रेज वितरण की जांच कर सकें%3$s।"],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sकीफ्रेज़ वितरण%2$s: अच्छा काम!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sकीफ्रेज वितरण%3$s: असमान। आपके पाठ के कŕĄŕ¤› हिस्सों में कीफ़्रेज़ या इसके पर्यायवाची शब्द नहीं हŕĄŕ¤‚। %2$sउन्हें समान रूप से वितरित करें%3$s।"],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sकीफ्रेज़ वितरण%3$s: बहŕĄŕ¤¤ असमान। आपके पाठ के बड़े हिस्से में कीफ़्रेज़ या इसके पर्यायवाची शब्द नहीं हŕĄŕ¤‚। %2$sउन्हें समान रूप से वितरित करें%3$s।"],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: आप बहŕĄŕ¤¤ अधिक जटिल शब्दों का उपयोग नहीं कर रहे हŕĄŕ¤‚, जिससे आपके पाठ को पढ़ना आसान हो जाता हŕĄŕĄ¤ अच्छी नौकरी!"],"Word complexity":["शब्द जटिलता"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: आपके टेक्स्ट के %2$s शब्दों को जटिल माना जाता हŕĄŕĄ¤ %3$sपठनीयता में सŕĄŕ¤§ŕ¤ľŕ¤° के लिए छोटे और अधिक परिचित शब्दों का उपयोग करने का प्रयास करें%4$s।"],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sसंरेखण%3$s: केंद्र-संरेखित पाठ का एक लंबा खंड हŕĄŕĄ¤ %2$sहम अनŕĄŕ¤¶ŕ¤‚सा करते हŕĄŕ¤‚ कि इसे वाम-संरेखित करें%3$s।","%1$sसंरेखण%3$s: केंद्र-संरेखित पाठ के %4$s लंबे खंड हŕĄŕ¤‚। %2$sहम उन्हें वाम-संरेखित बनाने की सलाह देते हŕĄŕ¤‚%3$s।"],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sसंरेखण%3$s: केंद्र-संरेखित पाठ का एक लंबा खंड हŕĄŕĄ¤ %2$sहम इसे सही-संरेखित करने की सलाह देते हŕĄŕ¤‚%3$s।","%1$sसंरेखण%3$s: केंद्र-संरेखित पाठ के %4$s लंबे खंड हŕĄŕ¤‚। %2$sहम उन्हें सही-संरेखित करने की सलाह देते हŕĄŕ¤‚%3$s।"],"Select image":["छवि चŕĄŕ¤¨ŕĄ‡"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["हो सकता हॠकि आपको यह पता भी न हो, लेकिन आपकी साइट पर ŕ¤ŕ¤¸ŕĄ‡ पेज हो सकते हŕĄŕ¤‚ जिन पर कोठलिंक नहीं हŕĄŕĄ¤ यह एक एसŕ¤ŕ¤“ मŕĄŕ¤¦ŕĄŤŕ¤¦ŕ¤ľ हŕĄ, क्योंकि खोज इंजनों के लिए ŕ¤ŕ¤¸ŕĄ‡ पेज ढूंढना मŕĄŕ¤¶ŕĄŤŕ¤•िल हॠजिनमें कोठलिंक नहीं हŕĄŕĄ¤ इसलिए, उनके लिए रŕĄŕ¤‚क करना कठिन हŕĄŕĄ¤ हम इन पेजों को अनाथ सामग्री कहते हŕĄŕ¤‚। इस वर्कआउट में, हम आपकी साइट पर अनाथ सामग्री ढूंढते हŕĄŕ¤‚ और इसमें जल्दी से लिंक जोड़ने में आपका मार्गदर्शन करते हŕĄŕ¤‚, ताकि इसे रŕĄŕ¤‚क करने का मौका मिल सके!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["कŕĄŕ¤› लिंक जोड़ने का समय! नीचे, आप अपने अनाथ लेखों की एक सूची देखते हŕĄŕ¤‚। प्रत्येक के अंतर्गत, संबंधित पŕĄŕ¤·ŕĄŤŕ¤ ŕĄ‹ŕ¤‚ के लिए सŕĄŕ¤ťŕ¤ľŕ¤µ हŕĄŕ¤‚ जिनमें से आप एक लिंक जोड़ सकते हŕĄŕ¤‚। लिंक जोड़ते समय, इसे अपने अनाथ लेख से संबंधित प्रासंगिक वाक्य में सम्मिलित करना सŕĄŕ¤¨ŕ¤żŕ¤¶ŕĄŤŕ¤šŕ¤żŕ¤¤ करें। प्रत्येक अनाथ लेख में लिंक तब तक जोड़ते रहें जब तक आप उनकी ओर इशारा करने वाले लिंक की मात्रा से संतŕĄŕ¤·ŕĄŤŕ¤ź न हो जाएŕ¤ŕĄ¤"],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["कŕĄŕ¤› लिंक जोड़ने का समय! नीचे, आप अपने आधारशिलाओं के साथ एक सूची देखते हŕĄŕ¤‚। प्रत्येक आधारशिला के नीचे, उन लेखों के लिए सŕĄŕ¤ťŕ¤ľŕ¤µ दिए गए हŕĄŕ¤‚ जिनसे आप लिंक जोड़ सकते हŕĄŕ¤‚। लिंक जोड़ते समय, इसे अपने आधारशिला लेख से संबंधित प्रासंगिक वाक्य में सम्मिलित करना सŕĄŕ¤¨ŕ¤żŕ¤¶ŕĄŤŕ¤šŕ¤żŕ¤¤ करें। जब तक आपके कोने के पत्थरों में सबसे अधिक आंतरिक लिंक उनकी ओर इशारा करते हŕĄŕ¤‚, तब तक जितने आवश्यक हो उतने संबंधित लेखों से लिंक जोड़ते रहें।"],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["आपकी साइट पर कŕĄŕ¤› लेख %1$sसबसे%2$s महत्वपूर्ण हŕĄŕ¤‚। वे लोगों के सवालों का जवाब देते हŕĄŕ¤‚ और उनकी समस्याओं का समाधान करते हŕĄŕ¤‚। तो, वे रŕĄŕ¤‚क के पात्र हŕĄŕ¤‚! %3$s पर, हम इन आधारशिला लेखों को कहते हŕĄŕ¤‚। उन्हें रŕĄŕ¤‚क दिलाने का एक तरीका यह हॠकि उनसे पर्याप्त लिंक्स जोड़े जाएं। अधिक लिंक खोज इंजनों को संकेत देते हŕĄŕ¤‚ कि वे लेख महत्वपूर्ण और मूल्यवान हŕĄŕ¤‚। इस कसरत में, हम आपके आधारशिला लेखों के लिंक जोड़ने में आपकी सहायता करेंगे!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["जब आप थोड़ी और प्रतिलिपि जोड़ देंगे, तो हम आपको आपके पाठ के औपचारिकता स्तर के बारे में बता सकेंगे।"],"Overall, your text appears to be %1$s%3$s%2$s.":["कŕĄŕ¤˛ मिलाकर, आपका टेक्स्ट %1$s%3$s%2$s प्रतीत होता हŕĄŕĄ¤"],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["जŕĄŕ¤Şŕ¤żŕ¤Żŕ¤° एकीकरण 20.7 में %1$s से हटा दिया जाएगा (रिलीज़ दिनांक 9 मŕ¤)। यदि आपके कोठप्रश्न हŕĄŕ¤‚, तो कŕĄŕ¤Şŕ¤Żŕ¤ľ %2$s से संपर्क करें।"],"Maximum heading level":["अधिकतम शीर्षक स्तर"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["आपने लिंक सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ को अक्षम कर दिया हŕĄ, जो कार्य करने के लिए संबंधित लिंक के लिए आवश्यक हŕĄŕĄ¤ यदि आप संबंधित लिंक जोड़ना चाहते हŕĄŕ¤‚, तो कŕĄŕ¤Şŕ¤Żŕ¤ľ साइट की विशेषताएं पर जाएं और लिंक सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ को सक्षम करें।"],"Schema":["स्कीमा"],"Meta tags":["मेटा टŕĄŕ¤—"],"Not available":["उपलब्ध नही हॠ|"],"Checks":["चेक"],"Focus Keyphrase":["फोकस कीफ्रेज"],"Good":["अच्छा"],"No index":["कोठसूचकांक नहीं"],"Front-end SEO inspector":["फ्रंट-एंड एसŕ¤ŕ¤“ इंस्पेक्टर"],"Focus keyphrase not set":["फ़ोकस कीफ़्रेज़ सेट नहीं हŕĄ"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["एक बार जब आप अपने जŕĄŕ¤Ş को अपने %s डŕĄŕ¤¶ŕ¤¬ŕĄ‹ŕ¤°ŕĄŤŕ¤ˇ में प्रकाशित कर लेते हŕĄŕ¤‚, तो आप जांच सकते हŕĄŕ¤‚ कि यह सक्रिय हॠया आपकी साइट से जŕĄŕ¤ˇŕ¤Ľŕ¤ľ हŕĄŕĄ¤"],"Reset API key":["एपीआठकŕĄŕ¤‚जी रीसेट करें"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["आप वर्तमान में निम्न एपीआठकŕĄŕ¤‚जी का उपयोग करके %s से जŕĄŕ¤ˇŕ¤ĽŕĄ‡ हŕĄŕ¤Ź हŕĄŕ¤‚। यदि आप किसी भिन्न एपीआठकŕĄŕ¤‚जी के साथ पŕĄŕ¤¨: कनेक्ट करना चाहते हŕĄŕ¤‚ तो आप नीचे अपनी कŕĄŕ¤‚जी रीसेट कर सकते हŕĄŕ¤‚।"],"Your API key":["आपकी एपीआठकŕĄŕ¤‚जी"],"Go to your %s dashboard":["अपने %s डŕĄŕ¤¶ŕ¤¬ŕĄ‹ŕ¤°ŕĄŤŕ¤ˇ पर जाएŕ¤"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["आप %1$s से सफलतापूर्वक कनेक्ट हो गए हŕĄŕ¤‚! अपने जŕĄŕ¤Ş को प्रबंधित करने के लिए, कŕĄŕ¤Şŕ¤Żŕ¤ľ अपने %2$s डŕĄŕ¤¶ŕ¤¬ŕĄ‹ŕ¤°ŕĄŤŕ¤ˇ पर जाएं।"],"Your %s dashboard":["आपका %s डŕĄŕ¤¶ŕ¤¬ŕĄ‹ŕ¤°ŕĄŤŕ¤ˇ"],"Verify connection":["कनेक्शन सत्यापित करें"],"Verify your connection":["अपना कनेक्शन सत्यापित करें"],"Create a Zap":["एक जŕĄŕ¤Ş बनाएं"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["अपने %1$s खाते में लॉग इन करें और अपना पहला जŕĄŕ¤Ş बनाना शŕĄŕ¤°ŕĄ‚ करें! ध्यान दें कि आप %2$s के ट्रिगर इवेंट के साथ केवल 1 जŕĄŕ¤Ş बना सकते हŕĄŕ¤‚। इस जŕĄŕ¤Ş के भीतर आप एक या अधिक क्रियाओं को चŕĄŕ¤¨ सकते हŕĄŕ¤‚।"],"%s API key":["%s एपीआठकŕĄŕ¤‚जी"],"You'll need this API key later on in %s when you're setting up your Zap.":["जब आप अपना जŕĄŕ¤Ş सेट अप कर रहे हों तो आपको बाद में %s में इस एपीआठकŕĄŕ¤‚जी की आवश्यकता होगी।"],"Copy your API key":["अपनी एपीआठकŕĄŕ¤‚जी कॉपी करें"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["एक कनेक्शन स्थापित करने के लिए, सŕĄŕ¤¨ŕ¤żŕ¤¶ŕĄŤŕ¤šŕ¤żŕ¤¤ करें कि आप नीचे दी गठएपीआठकŕĄŕ¤‚जी की प्रतिलिपि बनाते हŕĄŕ¤‚ और इसका उपयोग अपने %s खाते में जŕĄŕ¤Ş बनाने और चालू करने के लिए करते हŕĄŕ¤‚।"],"Manage %s settings":["%s सेटिंग प्रबंधित करें"],"Connect to %s":["%s से कनेक्ट करें"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["कŕĄŕ¤Şŕ¤Żŕ¤ľ ध्यान दें: इस कसरत को अच्छी तरह से काम करने के लिए, आपको एसŕ¤ŕ¤“ डेटा ऑप्टिमाइजेशन टूल चलाने की आवश्यकता हŕĄŕĄ¤ व्यवस्थापक इसे %1$sएसŕ¤ŕ¤“ > टूल्स%2$s के अंतर्गत चला सकते हŕĄŕ¤‚।"],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["आपने अपने अनाथ लेखों में लिंक जोड़ दिए हŕĄŕ¤‚, और आपने उन लेखों को साफ कर दिया हॠजो अब प्रासंगिक नहीं थे। अच्छा काम! नीचे दिए गए सारांश पर एक नज़र डालें और जो आपने पूरा किया उसका जश्न मनाएं!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["इस सूची की सामग्री का समालोचनात्मक परीक्षण करें और आवश्यक अद्यतन करें। यदि आपको अद्यतन करने में सहायता की आवश्यकता हŕĄ, तो हमारे पास एक बहŕĄŕ¤¤ ही %1$sउपयोगी ब्लॉग पोस्ट हॠजो आपको हर तरह से मार्गदर्शन कर सकती हŕĄ%2$s (नए टŕĄŕ¤¬ में खोलने के लिए क्लिक करें)।"],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sअधिक मार्गदर्शन की आवश्यकता हŕĄ? हमने निम्नलिखित मार्गदर्शिका में प्रत्येक चरण को अधिक विस्तार से कवर किया हŕĄ: %2$s %7$s अनाथ सामग्री कसरत का उपयोग कŕĄŕ¤¸ŕĄ‡ करें%3$s%4$s%5$s।%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["आपने अभी-अभी अपनी सर्वश्रेष्ठ सामग्री को ढूंढना आसान बना दिया हŕĄ, और रŕĄŕ¤‚क करने की अधिक संभावना हŕĄ! जाने के लिए रास्ता! समय-समय पर, यह जांचना याद रखें कि क्या आपके कॉर्नरस्टोन को पर्याप्त लिंक मिल रहे हŕĄŕ¤‚!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["नीचे दी गठसूची पर एक नज़र डालें। क्या आपके आधारशिला (%1$s के साथ चिह्नित) में सबसे अधिक आंतरिक लिंक हŕĄŕ¤‚ जो उनकी ओर इशारा करते हŕĄŕ¤‚? ऑप्टिमाइज़ बटन पर क्लिक करें यदि आपको लगता हॠकि आधारशिला को अधिक लिंक की आवश्यकता हŕĄŕĄ¤ यह लेख को अगले चरण में ले जाएगा।"],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["क्या आपके सभी कोने के पत्थरों में हरे बŕĄŕ¤˛ŕĄ‡ŕ¤źŕĄŤŕ¤¸ हŕĄŕ¤‚? सर्वोत्तम परिणामों के लिए, उन परिणामों को संपादित करने पर विचार करें जो नहीं करते हŕĄŕ¤‚!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["आप किन लेखों को सर्वोच्च रŕĄŕ¤‚क देना चाहते हŕĄŕ¤‚? आपके दर्शकों को कौन सा सबसे उपयोगी और संपूर्ण लगेगा? नीचे की ओर इंगित करने वाले तीर पर क्लिक करें और उन मानदंडों को पूरा करने वाले लेखों की तलाश करें। हम सूची से आपके द्वारा चŕĄŕ¤¨ŕĄ‡ गए लेखों को आधारशिला के रूप में स्वतठचिह्नित कर देंगे।"],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sअधिक मार्गदर्शन की आवश्यकता हŕĄ? हमने प्रत्येक चरण को अधिक विस्तार से इसमें शामिल किया हŕĄ: %2$s %7$s आधारशिला कसरत का उपयोग कŕĄŕ¤¸ŕĄ‡ करें%3$s%4$s%5$s।%6$s"],"Yoast Table of Contents":["योस्ट सामग्री तालिका"],"Yoast Related Links":["योस्ट संबंधित कड़ियाŕ¤"],"Finish optimizing":["अनŕĄŕ¤•ूलन समाप्त करें"],"You've finished adding links to this article.":["आपने इस लेख में लिंक जोड़ना समाप्त कर लिया हŕĄŕĄ¤"],"Optimize":["अनŕĄŕ¤•ूलन"],"Added to next step":["अगले चरण में जोड़ा गया"],"Choose cornerstone articles...":["आधारशिला लेख चŕĄŕ¤¨ŕĄ‡ŕ¤‚..."],"Loading data...":["डेटा लोड हो रहा हŕĄ..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["आपने अभी तक इस कसरत का उपयोग करके किसी भी लेख को साफ़ या अपडेट नहीं किया हŕĄŕĄ¤ एक बार ŕ¤ŕ¤¸ŕ¤ľ करने के बाद, आपके काम का सारांश यहां दिखाठदेगा।"],"Skipped":["छोड़ा गया"],"Hidden from search engines.":["सर्च इंजन से छिपा हŕĄŕ¤† हŕĄŕĄ¤"],"Removed":["निकाला गया"],"Improved":["सŕĄŕ¤§ŕ¤ľŕ¤°ŕ¤ľ हŕĄŕ¤†"],"Resolution":["स्थिरता"],"Loading redirect options...":["रीडायरेक्ट विकल्प लोड हो रहे हŕĄŕ¤‚..."],"Remove and redirect":["हटाएं और रीडायरेक्ट करें"],"Custom url:":["कस्टम यूआरएल:"],"Related article:":["संबंधित लेख:"],"Home page:":["मŕĄŕ¤– पŕĄŕ¤·ŕĄŤŕ¤ :"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["आप %1$s%2$s%3$s को निकालने वाले हŕĄŕ¤‚। अपनी साइट पर 404 को रोकने के लिए, आपको इसे अपनी साइट के किसी अन्य पŕĄŕ¤·ŕĄŤŕ¤  पर पŕĄŕ¤¨ŕ¤°ŕĄŤŕ¤¨ŕ¤żŕ¤°ŕĄŤŕ¤¦ŕĄ‡ŕ¤¶ŕ¤żŕ¤¤ करना चाहिए। आप इसे कहाठपŕĄŕ¤¨ŕ¤°ŕĄŤŕ¤¨ŕ¤żŕ¤°ŕĄŤŕ¤¦ŕĄ‡ŕ¤¶ŕ¤żŕ¤¤ करना चाहेंगे?"],"SEO Workout: Remove article":["एसŕ¤ŕ¤“ वर्कआउट: लेख हटाएं"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["सब कŕĄŕ¤› अच्छा लग रहा हŕĄ! हमें आपकी साइट पर ŕ¤ŕ¤¸ŕ¤ľ कोठलेख नहीं मिला हॠजो छह महीने से अधिक पŕĄŕ¤°ŕ¤ľŕ¤¨ŕ¤ľ हो और आपकी साइट पर बहŕĄŕ¤¤ कम लिंक प्राप्त करता हो। नए सफाठसŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ के लिए बाद में यहां देखें!"],"Hide from search engines":["सर्च इंजन से छŕĄŕ¤Şŕ¤ľŕ¤Źŕ¤‚"],"Improve":["सŕĄŕ¤§ŕ¤ľŕ¤°ŕĄ‡ŕ¤‚"],"Are you sure you wish to hide this article from search engines?":["क्या आप वाकठइस लेख को सर्च इंजन से छिपाना चाहते हŕĄŕ¤‚?"],"Action":["Aksi"],"You've hidden this article from search engines.":["आपने इस लेख को सर्च इंजन से छŕĄŕ¤Şŕ¤ľŕ¤Żŕ¤ľ हŕĄŕĄ¤"],"You've removed this article.":["आपने यह लेख हटा दिया हŕĄ."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["आपने वर्तमान में सŕĄŕ¤§ŕ¤ľŕ¤° के लिए किसी लेख का चयन नहीं किया हŕĄŕĄ¤ लिंक जोड़ने के लिए पिछले चरणों में कŕĄŕ¤› लेखों का चयन करें और हम आपको यहां लिंक सŕĄŕ¤ťŕ¤ľŕ¤µ दिखाएंगे।"],"Loading link suggestions...":["लिंक सŕĄŕ¤ťŕ¤ľŕ¤µ लोड हो रहे हŕĄŕ¤‚..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["हमें इस लेख के लिए कोठसŕĄŕ¤ťŕ¤ľŕ¤µ नहीं मिला, लेकिन निश्चित रूप से आप अभी भी उन लेखों के लिंक जोड़ सकते हŕĄŕ¤‚ जो आपको लगता हॠकि संबंधित हŕĄŕ¤‚।"],"Skip":["छोड़ें"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["आपने अभी तक इस चरण के लिए किसी लेख का चयन नहीं किया हŕĄŕĄ¤ आप इसे पिछले चरण में कर सकते हŕĄŕ¤‚।"],"Is it up-to-date?":["क्या यह अप-टू-डेट हŕĄ?"],"Last Updated":["अंतिम बार अपडेट"],"You've moved this article to the next step.":["आपने इस लेख को अगले चरण पर ले जाया हŕĄŕĄ¤"],"Unknown":["अज्ञात"],"Clear summary":["सारांश साफ़ करें"],"Add internal links towards your orphaned articles.":["अपने अनाथ लेखों के लिए आंतरिक लिंक जोड़ें।"],"Should you update your article?":["क्या आपको अपना लेख अपडेट करना चाहिए?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["आपकी साइट में बहŕĄŕ¤¤ सारी सामग्री हो सकती हॠजिसे आपने एक बार बनाया था और उसके बाद कभी पीछे मŕĄŕ¤ˇŕ¤Ľŕ¤•र नहीं देखा। उन पŕĄŕ¤·ŕĄŤŕ¤ ŕĄ‹ŕ¤‚ को देखना और स्वयं से पूछना महत्वपूर्ण हॠकि क्या वह सामग्री अभी भी आपकी साइट के लिए प्रासंगिक हŕĄŕĄ¤ क्या आपको इसे सŕĄŕ¤§ŕ¤ľŕ¤°ŕ¤¨ŕ¤ľ चाहिए या इसे हटा देना चाहिए?"],"Start: Love it or leave it?":["प्रारंभ करें: इसे प्यार करें या छोड़ दें?"],"Clean up your unlinked content to make sure people can find it":["लोगों को यह सŕĄŕ¤¨ŕ¤żŕ¤¶ŕĄŤŕ¤šŕ¤żŕ¤¤ करने के लिए अपनी अनलिंक की गठसामग्री को साफ़ करें"],"I've finished this workout":["मŕĄŕ¤‚ने यह कसरत पूरी कर ली हŕĄ"],"Reset this workout":["इस कसरत को रीसेट करें"],"Well done!":["बहŕĄŕ¤¤ बढ़िया!"],"Add internal links towards your cornerstones":["अपने आधारशिलाओं की ओर आंतरिक लिंक जोड़ें"],"Check the number of incoming internal links of your cornerstones":["अपने आधारशिला के आने वाले आंतरिक लिंक की संख्या की जाŕ¤ŕ¤š करें"],"Start: Choose your cornerstones!":["प्रारंभ करें: अपने आधारशिला चŕĄŕ¤¨ŕĄ‡ŕ¤‚!"],"The cornerstone approach":["कार्नरस्टोन दŕĄŕ¤·ŕĄŤŕ¤źŕ¤żŕ¤•ोण"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["कŕĄŕ¤Şŕ¤Żŕ¤ľ ध्यान दें: इस कसरत के लिए अच्छी तरह से काम करने के लिए और आपको जोड़ने के सŕĄŕ¤ťŕ¤ľŕ¤µ देने के लिए, आपको एसŕ¤ŕ¤“ डेटा ऑप्टिमाइज़ेशन टूल चलाने की आवश्यकता हŕĄŕĄ¤ व्यवस्थापक इसे %1$sएसŕ¤ŕ¤“ > टूल्स%2$s के अंतर्गत चला सकते हŕĄŕ¤‚।"],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["कŕĄŕ¤Şŕ¤Żŕ¤ľ ध्यान दें: आपके व्यवस्थापक ने एसŕ¤ŕ¤“ सेटिंग्स में आधारशिला कार्यक्षमता को अक्षम कर दिया हŕĄŕĄ¤ यदि आप इस वर्कआउट का उपयोग करना चाहते हŕĄŕ¤‚, तो इसे सक्षम किया जाना चाहिए।"],"I've finished this step":["मŕĄŕ¤‚ने यह चरण पूरा कर लिया हŕĄ"],"Revise this step":["इस चरण को संशोधित करें"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["हम आपके पŕĄŕ¤·ŕĄŤŕ¤ ŕĄ‹ŕ¤‚ पर आंतरिक लिंक नहीं खोज सके। या तो आपने अभी तक अपनी सामग्री में कोठआंतरिक लिंक नहीं जोड़ा हŕĄ, या योस्ट एसŕ¤ŕ¤“ ने उन्हें अनŕĄŕ¤•्रमित नहीं किया हŕĄŕĄ¤ आप एसŕ¤ŕ¤“ > टूल्स के अंतर्गत एसŕ¤ŕ¤“ डेटा ऑप्टिमाइजेशन चलाकर योस्ट एसŕ¤ŕ¤“ को अपने लिंक्स को इंडेक्स कर सकते हŕĄŕ¤‚।"],"Incoming links":["आने वाले लिंक"],"Edit to add link":["लिंक जोड़ने के लिए संपादित करें"],"%s incoming link":["%s इनकमिंग लिंक","%s इनकमिंग लिंक"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["वर्तमान में आपके पास कार्नरस्टोन के रूप में चिह्नित कोठलेख नहीं हŕĄŕĄ¤ जब आप अपने लेखों को कार्नरस्टोन के रूप में चिह्नित करते हŕĄŕ¤‚, तो वे यहां दिखाठदेंगे।"],"Focus keyphrase":["Frasa kunci utama"],"Article":["Artikel"],"Readability score":["Skor keterbacaan"],"SEO score":["Skor SEO"],"Copy failed":["कॉपी विफल"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["इस %1$sचरण-दर-चरण कसरत%2$s का उपयोग करके अपने सभी आधारशिलाओं के लिए रŕĄŕ¤‚किंग में सŕĄŕ¤§ŕ¤ľŕ¤° करें!"],"Rank with articles you want to rank with":["उन लेखों के साथ रŕĄŕ¤‚क करें जिनके साथ आप रŕĄŕ¤‚क करना चाहते हŕĄŕ¤‚"],"Descriptive text":["स्पष्ट टेक्स्ट"],"Show the descriptive text":["स्पष्ट टेक्स्ट दिखाएं"],"Show icon":["आइकन दिखाएं"],"Yoast Estimated Reading Time":["योस्ट अनŕĄŕ¤®ŕ¤ľŕ¤¨ŕ¤żŕ¤¤ पढ़ने का समय"],"Shows an estimated reading time based on the content length.":["सामग्री की लंबाठके आधार पर अनŕĄŕ¤®ŕ¤ľŕ¤¨ŕ¤żŕ¤¤ पढ़ने का समय दिखाता हŕĄŕĄ¤"],"reading time":["पढ़ने का समय"],"content length":["सामग्री की लंबाŕ¤"],"Estimated reading time:":["अनŕĄŕ¤®ŕ¤ľŕ¤¨ŕ¤żŕ¤¤ पढ़ने का समय:"],"minute":["मिनट","मिनटों"],"Settings":["सेटिंग"],"OK":["OK"],"Close":["पास"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Plugin pertama yang benar-benar memberikan semua solusi SEO untuk WordPress, termasuk analisis konten pada halaman, Peta Situs XML, dan masih banyak lagi."],"Type":["प्रकार"],"Team Yoast":["Tim Yoast"],"Orphaned content":["अनाथ सामग्री"],"Synonyms":["समानार्थक शब्द"],"Internal linking suggestions":["आंतरिक लिंकिंग सŕĄŕ¤ťŕ¤ľŕ¤µ"],"Enter a related keyphrase to calculate the SEO score":["एसŕ¤ŕ¤“ स्कोर की गणना करने के लिए संबंधित कीफ़्रेज़ दर्ज करें"],"Related keyphrase":["Frasa kunci terkait"],"Add related keyphrase":["Tambahkan frasa kunci terkait"],"Analysis results":["Hasil analisis"],"Help on choosing the perfect keyphrase":["सही कीफ्रेज़ चŕĄŕ¤¨ŕ¤¨ŕĄ‡ में मदद करें"],"Help on keyphrase synonyms":["कीफ्रेज समानार्थी शब्द पर मदद करें"],"Keyphrase":["Frasa-kunci"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["योस्ट एसŕ¤ŕ¤“ प्रीमियम"],"New URL: {{link}}%s{{/link}}":["नया यूआरएल: {{link}}%s{{/link}}"],"Undo":["पहले जŕĄŕ¤¸ŕ¤ľ"],"Redirect created":["पŕĄŕ¤¨ŕ¤°ŕĄŤŕ¤¨ŕ¤żŕ¤°ŕĄŤŕ¤¦ŕĄ‡ŕ¤¶ŕ¤żŕ¤¤ बनाया गया"],"%s just created a redirect from the old URL to the new URL.":["%s ने पŕĄŕ¤°ŕ¤ľŕ¤¨ŕĄ‡ यूआरएल से नए यूआरएल पर पŕĄŕ¤¨ŕ¤°ŕĄŤŕ¤¨ŕ¤żŕ¤°ŕĄŤŕ¤¦ŕĄ‡ŕ¤¶ŕ¤żŕ¤¤ किया।"],"Old URL: {{link}}%s{{/link}}":["पŕĄŕ¤°ŕ¤ľŕ¤¨ŕ¤ľ यूआरएल: {{link}}%s{{/link}}"],"Keyphrase synonyms":["कीफ्रेज पर्यायवाची"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["एक त्रŕĄŕ¤źŕ¤ż उत्पन्न हŕĄŕ¤: प्रीमियम एसŕ¤ŕ¤“ विश्लेषण अपेक्षा के अनŕĄŕ¤°ŕĄ‚प काम नहीं कर रहा हŕĄŕĄ¤ कŕĄŕ¤Şŕ¤Żŕ¤ľ {{activateLink}}अपनी सदस्यता MyYoast में सक्रिय करें{/activateLink}} और फिर इसे ठीक से काम करने के लिए {{reloadButton}}इस पŕĄŕ¤·ŕĄŤŕ¤  को पŕĄŕ¤¨ŕ¤ लोड करें{{/reloadButton}}।"],"seo":["seo"],"internal linking":["Tautan internal"],"site structure":["struktur situs"],"We could not find any relevant articles on your website that you could link to from your post.":["Kami tidak dapat menemukan artikel yang relevan pada situs web Anda yang bisa dijadikan tautan dari artikel ini."],"Load suggestions":["सŕĄŕ¤ťŕ¤ľŕ¤µ लोड करें"],"Refresh suggestions":["सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ को रिफ्रेश करें"],"Write list…":["लिस्ट लिखें ..."],"Adds a list of links related to this page.":["इस पŕĄŕ¤·ŕĄŤŕ¤  से संबंधित लिंक की एक सूची जोड़ता हŕĄŕĄ¤"],"related posts":["संबंधित पोस्ट"],"related pages":["संबंधित पŕĄŕ¤·ŕĄŤŕ¤ "],"Adds a table of contents to this page.":["इस पŕĄŕ¤·ŕĄŤŕ¤  पर सामग्री की एक तालिका जोड़ता हŕĄŕĄ¤"],"links":["लिंक"],"toc":["toc"],"Copy link":["Salin tautan"],"Copy link to suggested article: %s":["Salin tautan ke artikel yang disarankan: %s"],"Add a title to your post for the best internal linking suggestions.":["सर्वोत्तम आंतरिक लिंकिंग सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ के लिए अपनी पोस्ट में एक शीर्षक जोड़ें।"],"Add a metadescription to your post for the best internal linking suggestions.":["सर्वोत्तम आंतरिक लिंकिंग सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ के लिए अपनी पोस्ट में एक metadescription जोड़ें।"],"Add a title and a metadescription to your post for the best internal linking suggestions.":["सर्वोत्तम आंतरिक लिंकिंग सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ के लिए अपनी पोस्ट में एक शीर्षक और एक metadescription जोड़ें।"],"Also, add a title to your post for the best internal linking suggestions.":["इसके अलावा, सर्वोत्तम आंतरिक लिंकिंग सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ के लिए अपनी पोस्ट में एक शीर्षक जोड़ें।"],"Also, add a metadescription to your post for the best internal linking suggestions.":["साथ ही, बेहतरीन आंतरिक लिंकिंग सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ के लिए अपनी पोस्ट में एक metadescription जोड़ें।"],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["इसके अलावा, सर्वोत्तम आंतरिक लिंकिंग सŕĄŕ¤ťŕ¤ľŕ¤µŕĄ‹ŕ¤‚ के लिए अपनी पोस्ट में एक शीर्षक और एक metadescription जोड़ें।"],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["एक बार जब आप थोड़ी और कॉपी जोड़ लेते हŕĄŕ¤‚, तो हम आपको यहां संबंधित सामग्री की एक सूची देंगे, जिसे आप अपनी पोस्ट में लिंक कर सकते हŕĄŕ¤‚।"],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["अपनी साइट संरचना में सŕĄŕ¤§ŕ¤ľŕ¤° करने के लिए, अपनी वेबसाइट पर अन्य प्रासंगिक पोस्ट या पŕĄŕ¤·ŕĄŤŕ¤  से लिंक करने पर विचार करें।"],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["आपको संबंधित सामग्री की एक सूची दिखाने में कŕĄŕ¤› सेकंड लगते हŕĄŕ¤‚ जिससे आप लिंक कर सकते हŕĄŕ¤‚। जŕĄŕ¤¸ŕĄ‡ ही हम उनके पास होंगे वŕĄŕ¤¸ŕĄ‡ ही सŕĄŕ¤ťŕ¤ľŕ¤µ यहाठदिखाए जाएŕ¤ŕ¤—े।"],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["अधिक जानने के लिए {{a}}एसŕ¤ŕ¤“ के लिए इंटरनल लिंकिंग पर हमारे गाइड को पढ़ें{{/a}}।"],"Copied!":["Disalin!"],"Not supported!":["Tidak didukung!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["क्या आप कठसंबंधित कीफ़्रेज़ का उपयोग करने का प्रयास कर रहे हŕĄŕ¤‚? आपको उन्हें अलग से जोड़ना चाहिए।"],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Frasa kunci Anda terlalu panjang. Maksimal 191 karakter."],"Add as related keyphrase":["संबंधित कीफ्रेज़ के रूप में जोड़ें"],"Added!":["जोड़ा गया!"],"Remove":["हटायें"],"Table of contents":["विषयसूची"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["हमें आपकी साइट के एसŕ¤ŕ¤“ डेटा को अनŕĄŕ¤•ूलित करने की आवश्यकता हॠताकि हम आपको सर्वोत्तम %1$sलिंकिंग सŕĄŕ¤ťŕ¤ľŕ¤µ%2$s दे सकें। %3$sएसŕ¤ŕ¤“ डेटा अनŕĄŕ¤•ूलन शŕĄŕ¤°ŕĄ‚ करें%4$s"],"Create a Zap in %s":["%s में एक Zap बनाएŕ¤"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-hu_HU.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-hu_HU.json new file mode 100644 index 00000000..35eaeb2d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-hu_HU.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"hu"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":[],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":[],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":[],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":[],"Social preview":[],"Desktop result":[],"Mobile result":[],"Apply %s description":[],"Apply %s title":[],"Next":[],"Previous":[],"Generate 5 more":[],"Google preview":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":[],"%1$sKeyphrase distribution%2$s: Good job!":[],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[],"Word complexity":[],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":[],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":["sĂ©ma"],"Meta tags":["meta leĂ­rás"],"Not available":["Nem támogatott"],"Checks":["EllenĹ‘rzĂ©sek"],"Focus Keyphrase":["KapcsolĂłdĂł kulcsszĂł"],"Good":["JĂł"],"No index":["Nincs index cĂ­m"],"Front-end SEO inspector":["FelhasználĂłi SEO ellenĹ‘rzĹ‘"],"Focus keyphrase not set":["KapcsolĂłdĂł kulcsszĂł nincs beállĂ­tva"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Miután közzĂ©tetted a listád a %s irányĂ­tĂłpulton, ellenĹ‘rizheted hogy az aktĂ­v-e, Ă©s kapcsolĂłdik-e webhelyĂ©hez."],"Reset API key":["API kulcs törlĂ©se"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":[],"Your API key":[],"Go to your %s dashboard":[],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":[],"Your %s dashboard":[],"Verify connection":[],"Verify your connection":[],"Create a Zap":[],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":[],"%s API key":[],"You'll need this API key later on in %s when you're setting up your Zap.":[],"Copy your API key":[],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":[],"Manage %s settings":[],"Connect to %s":[],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":[],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":[],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":[],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":[],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":[],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":[],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":[],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":[],"Yoast Table of Contents":[],"Yoast Related Links":[],"Finish optimizing":[],"You've finished adding links to this article.":[],"Optimize":[],"Added to next step":[],"Choose cornerstone articles...":[],"Loading data...":[],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":[],"Skipped":[],"Hidden from search engines.":[],"Removed":[],"Improved":[],"Resolution":[],"Loading redirect options...":[],"Remove and redirect":[],"Custom url:":[],"Related article:":[],"Home page:":[],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":[],"SEO Workout: Remove article":[],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":[],"Hide from search engines":[],"Improve":[],"Are you sure you wish to hide this article from search engines?":[],"Action":[],"You've hidden this article from search engines.":[],"You've removed this article.":[],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":[],"Loading link suggestions...":[],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":[],"Skip":[],"You haven't selected any articles for this step yet. You can do so in the previous step.":[],"Is it up-to-date?":[],"Last Updated":[],"You've moved this article to the next step.":[],"Unknown":[],"Clear summary":[],"Add internal links towards your orphaned articles.":[],"Should you update your article?":[],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":[],"Start: Love it or leave it?":[],"Clean up your unlinked content to make sure people can find it":[],"I've finished this workout":[],"Reset this workout":[],"Well done!":[],"Add internal links towards your cornerstones":[],"Check the number of incoming internal links of your cornerstones":[],"Start: Choose your cornerstones!":[],"The cornerstone approach":[],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":[],"Revise this step":[],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":[],"Incoming links":[],"Edit to add link":[],"%s incoming link":[],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":[],"Focus keyphrase":[],"Article":[],"Readability score":[],"SEO score":[],"Copy failed":[],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":[],"Rank with articles you want to rank with":[],"Descriptive text":["Descriptive text"],"Show the descriptive text":["Show the descriptive text"],"Show icon":["Show icon"],"Yoast Estimated Reading Time":["Yoast Estimated Reading Time"],"Shows an estimated reading time based on the content length.":["Shows an estimated reading time based on the content length."],"reading time":["reading time"],"content length":["content length"],"Estimated reading time:":["Estimated reading time:"],"minute":["perc","percek"],"Settings":["BeállĂ­tások"],"OK":["OK"],"Close":["Bezár"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["A legelsĹ‘ igazi minden-benne-van SEO megoldás WordPresshez, belĂ©rtve egyoldalas tartalom analĂ­zist, XML sitemap-eket Ă©s mĂ©g sok minden mást is."],"Type":["TĂ­pus"],"Team Yoast":["Yoast Team"],"Orphaned content":["Elárvult tartalom"],"Synonyms":["SzinonĂ­mák:"],"Internal linking suggestions":["BelsĹ‘ linkelĂ©si javaslatok"],"Enter a related keyphrase to calculate the SEO score":[],"Related keyphrase":["KapcsolĂłdĂł kulcsszĂł"],"Add related keyphrase":[],"Analysis results":["ElemzĂ©si eredmĂ©nyek"],"Help on choosing the perfect keyphrase":[],"Help on keyphrase synonyms":["SegĂ­tsĂ©g egy kulcskifejezĂ©s szinonĂ­mához"],"Keyphrase":["KulcskifejezĂ©s"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Ăšj URL: {{link}}%s{{/link}}"],"Undo":["Undo"],"Redirect created":["ĂtirányĂ­tás lĂ©trehozva"],"%s just created a redirect from the old URL to the new URL.":["%s csak egy átirányĂ­tást hozott lĂ©tre a rĂ©gi URL-rĹ‘l az Ăşj URL-re."],"Old URL: {{link}}%s{{/link}}":["RĂ©gi URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Kulcs kifejezĂ©s szinonĂ­ma"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[],"seo":["seo"],"internal linking":["belsĹ‘ hivatkozások"],"site structure":["webhely szerkezete"],"We could not find any relevant articles on your website that you could link to from your post.":[],"Load suggestions":["Javaslatok betöltĂ©se"],"Refresh suggestions":["Javaslatok frissĂ­tĂ©se"],"Write list…":["Lista Ă­rás..."],"Adds a list of links related to this page.":["Az oldalhoz kapcsolĂłdĂł hivatkozások listájának lĂ©trehozása."],"related posts":["kapcsolĂłdĂł bejegyzĂ©sek"],"related pages":["kapcsolĂłdĂł oldalak"],"Adds a table of contents to this page.":["TartalomjegyzĂ©k hozzáadása az oldalhoz"],"links":["hivatkozások"],"toc":[],"Copy link":["Hivatkozás másolása"],"Copy link to suggested article: %s":["KapcsolĂłdĂł cikk hivatkozás másolása: %s"],"Add a title to your post for the best internal linking suggestions.":["Adjunk cĂ­met a bejegyzĂ©snek a pontosabb belsĹ‘ hivatkozási javaslatokhoz."],"Add a metadescription to your post for the best internal linking suggestions.":["Adjunk meta leĂ­rást a bejegyzĂ©snek a pontosabb belsĹ‘ hivatkozási javaslatokhoz."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Adjunk cĂ­met Ă©s meta leĂ­rást a bejegyzĂ©snek a pontosabb belsĹ‘ hivatkozási javaslatokhoz."],"Also, add a title to your post for the best internal linking suggestions.":["Továbbá, adjunk cĂ­met a bejegyzĂ©snek a pontosabb belsĹ‘ hivatkozási javaslatokhoz."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Továbbá, adjunk meta leĂ­rást a bejegyzĂ©snek a pontosabb belsĹ‘ hivatkozási javaslatokhoz."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Továbbá, adjunk cĂ­met Ă©s meta leĂ­rást a bejegyzĂ©snek a pontosabb belsĹ‘ hivatkozási javaslatokhoz."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Ha mĂ©g többet adunk hozzá, akkor a kapcsolĂłdĂł tartalmakrĂłl kapunk egy listát, amit felhasználhatunk a bejegyzĂ©sben."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":[],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":[],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["További informáciĂłkĂ©rt {{a}}Olvassuk el a belsĹ‘ hivatkozási ĂştmutatĂłt{{/a}}."],"Copied!":["Másolva!"],"Not supported!":["Nem támogatott"],"Are you trying to use multiple related keyphrases? You should add them separately.":[],"Your keyphrase is too long. It can be a maximum of 191 characters.":[],"Add as related keyphrase":[],"Added!":[],"Remove":[],"Table of contents":["TartalomjegyzĂ©k"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":[],"Create a Zap in %s":["Zap lĂ©trehozása %s -ben"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-id_ID.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-id_ID.json new file mode 100644 index 00000000..91cb0596 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-id_ID.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n > 1;","lang":"id"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Permintaan menghasilkan eror sebagai berikut: \"%s\""],"X share preview":["Pratinjau berbagi di X"],"AI X title generator":["AI pembuat judul X"],"AI X description generator":["AI pembuat deskripsi X"],"X preview":["Pratinjau X"],"Please enter a valid focus keyphrase.":["Mohon masukkan frasa kunci utama yang valid."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Untuk menggunakan fitur ini, situs Anda harus dapat diakses publik. Hal ini berlaku untuk situs pengujian dan instance di mana REST API Anda dilindungi kata sandi. Mohon pastikan situs Anda dapat diakses oleh publik dan coba lagi. Jika masalah terus berlanjut, mohon %1$shubungi tim layanan bantuan kami%2$s."],"Yoast AI cannot reach your site":["Yoast AI tidak dapat menjangkau situs Anda"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Untuk mengakses fitur ini, Anda memerlukan langganan %2$s dan %3$s yang aktif. Mohon %5$saktifkan langganan Anda di %1$s%6$s atau %7$sdapatkan langganan baru %4$s%8$s. Setelah itu, mohon segarkan halaman ini agar fitur berfungsi dengan benar, yang mana akan memerlukan waktu hingga 30 detik."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["AI pembuat judul memerlukan analisis SEO yang diaktifkan sebelumnya. Untuk mengaktifkannya, buka %2$sFitur Situs dari %1$s%3$s, aktifkan analisis SEO, dan klik 'Simpan perubahan'. Jika analisis SEO dinonaktifkan di profil pengguna WordPress Anda, akses profil Anda dan aktifkan di sini. Mohon hubungi administrator Anda, jika Anda tidak punya akses ke pengaturan ini."],"Social share preview":["Pratinjau di media sosial"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Untuk melanjutkan menggunakan fitur Yoast AI, harap kurangi frekuensi permintaan Anda. %1$sArtikel bantuan%2$s kami menyediakan panduan tentang merencanakan dan mempertahankan alur kerja yang optimal secara efektif."],"You've reached the Yoast AI rate limit.":["Anda telah melewati batas rasio Yoast AI."],"Allow":["Izinkan"],"Deny":["Abaikan"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Untuk melihat video ini, Anda harus mengizinkan %1$s untuk memuat sematan video dari %2$s."],"Text generated by AI may be offensive or inaccurate.":["Teks yang dihasilkan oleh AI mungkin menyinggung atau tidak akurat."],"(Opens in a new browser tab)":["(Buka di tab peramban baru)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Tingkatkan kecepatan alur kerja Anda dengan AI generatif. Dapatkan judul berkualitas tinggi dan saran deskripsi untuk pencarian dan tampilan di media sosial Anda. %1$sPelajari lebih lanjut%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Buat judul & deskripsi dengan Yoast AI"],"New to %1$s":["Baru di %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Saya menyetujui %1$sKetentuan Layanan%2$s & %3$sKebijakan Privasi%4$s layanan Yoast AI. Hal ini termasuk menyetujui pengumpulan dan penggunaan data untuk meningkatkan pengalaman pengguna."],"Start generating":["Mulai membuat"],"Yes, revoke consent":["Ya, cabut persetujuan"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Dengan mencabut persetujuan Anda, Anda tidak lagi memiliki akses ke fitur Yoast AI. Apakah Anda yakin ingin mencabut persetujuan Anda?"],"Something went wrong, please try again later.":["Terjadi kendala, mohon coba lagi."],"Revoke AI consent":["Cabut persetujuan AI"],"AI title generator":["Pembuat judul AI"],"AI description generator":["AI pembuat deskripsi"],"AI social title generator":["Pembuat judul media sosial AI"],"AI social description generator":["AI pembuat deskripsi media sosial"],"Dismiss":["Tutup"],"Don’t show again":["Jangan tampilkan lagi"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTip%2$s: Tingkatkan akurasi judul AI yang Anda buat dengan menulis lebih banyak konten di halaman Anda."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTip%2$s: Tingkatkan akurasi deskripsi AI yang Anda buat dengan menulis lebih banyak konten di halaman Anda."],"Try again":["Coba lagi"],"Social preview":["Pratinjau sosial"],"Desktop result":["Hasil desktop"],"Mobile result":["Hasil seluler"],"Apply %s description":[],"Apply %s title":[],"Next":["Selanjutnya"],"Previous":["Sebelumnya"],"Generate 5 more":["Buat 5 lagi"],"Google preview":["Pratinjau Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Karena pedoman etika OpenAI yang ketat dan %1$skebijakan penggunaan%2$s, kami tidak dapat membuat judul SEO untuk halaman Anda. Jika Anda berniat menggunakan AI, harap hindari penggunaan konten eksplisit, kekerasan, atau seksual eksplisit. %3$sBaca selengkapnya tentang cara mengonfigurasi halaman Anda untuk memastikan Anda mendapatkan hasil terbaik dengan AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Karena pedoman etika OpenAI yang ketat dan %1$skebijakan penggunaan%2$s, kami tidak dapat membuat deskripsi meta untuk halaman Anda. Jika Anda berniat menggunakan AI, harap hindari penggunaan konten eksplisit, kekerasan, atau seksual eksplisit. %3$sBaca selengkapnya tentang cara mengonfigurasi halaman Anda untuk memastikan Anda mendapatkan hasil terbaik dengan AI%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Untuk mengakses fitur ini, Anda memerlukan langganan %1$s yang aktif. Mohon %3$saktifkan langganan Anda di %2$s%4$s atau %5$sdapatkan %1$s langganan baru%6$s. Setelah itu, klik tombol untuk menyegarkan halaman ini agar fitur berfungsi dengan benar, yang mana mungkin memerlukan waktu hingga 30 detik."],"Refresh page":["Segarkan halaman"],"Not enough content":["Konten tidak cukup"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Mohon coba lagi nanti. Jika kendala masih terjadi, mohon %1$shubungi tim bantuan kami%2$s!"],"Something went wrong":["Terjadi kendala"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Tampaknya telah terjadi timeout koneksi. Mohon periksa koneksi internet Anda dan coba lagi nanti. Jika masalah terus berlanjut, harap %1$shubungi tim bantuan kami%2$s"],"Connection timeout":["Koneksi timeout"],"Use AI":["Gunakan AI"],"Close modal":["Tutup modal"],"Learn more about AI (Opens in a new browser tab)":["Pelajari lebih lanjut tentang AI (Buka di tab browser baru)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sJudul%3$s: Artikel Anda belum memiliki judul. %2$sTambahkan judul%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sJudul%2$s: Artikel Anda memiliki judul. Bagus!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sSebaran frasa kunci%3$s: %2$sMasukkan frasa kunci atau sinonimnya ke dalam teks, sehingga kami dapat memeriksa sebaran frasa kunci%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sSebaran frasa kunci%2$s: Bagus!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sSebaran frasa kunci%3$s: Tidak merata. Beberapa bagian dari artikel Anda tidak berisi frasa kunci maupun sinonimnya. %2$sLetakkan frasa kunci secara lebih merata%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sSebaran frasa kunci%3$s: Sangat tidak merata. Sebagian besar artikel Anda tidak mengandung frasa kunci maupun sinonimnya. %2$sLetakkan frasa kunci secara lebih merata%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Anda tidak menggunakan terlalu banyak kata kompleks, yang membuat teks Anda mudah dibaca. Kerja yang bagus!"],"Word complexity":["Kompleksitas kata"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s kata dalam teks Anda tergolong kompleks. %3$sCoba gunakan kata-kata yang lebih pendek dan lebih familiar untuk meningkatkan keterbacaan%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sPerataan%3$s: Ada bagian teks yang panjang dengan format rata tengah. %2$sKami sarankan untuk mengubahnya ke rata kiri%3$s.","%1$sPerataan%3$s: Ada %4$s bagian teks yang panjang dengan format rata tengah. %2$sKami sarankan untuk mengubahnya ke rata kiri%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sPerataan%3$s: Ada bagian teks yang panjang dengan format rata tengah. %2$sKami sarankan untuk mengubahnya ke rata kanan%3$s.","%1$sPerataan%3$s: Ada %4$s bagian teks yang panjang dengan format rata tengah. %2$sKami sarankan untuk mengubahnya ke rata kanan%3$s."],"Select image":["Pilih gambar"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Anda mungkin tidak mengetahuinya, namun mungkin ada halaman di situs Anda yang tidak mendapatkan tautan apa pun. Itu masalah SEO, karena sulit bagi mesin pencari menemukan halaman yang tidak mendapatkan link apa pun. Jadi, lebih sulit bagi mesin pencari untuk menentukan peringkat. Kami menyebut halaman-halaman ini sebagai orphaned content. Dalam latihan ini, kami menemukan orphaned content di situs Anda dan memandu Anda dengan cepat menambahkan tautan ke situs tersebut, sehingga dapat memperoleh peluang untuk menentukan peringkat!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Saatnya menambahkan beberapa tautan! Di bawah ini, Anda melihat daftar artikel yang terabaikan Anda. Di bawah masing-masing halaman, terdapat saran untuk halaman terkait yang dapat Anda tambahkan tautannya. Saat menambahkan tautan, pastikan untuk memasukkannya ke dalam kalimat relevan yang terkait dengan artikel yang terabaikan Anda. Terus tambahkan tautan ke setiap artikel yang terabaikan tersebut sampai Anda puas dengan jumlah tautan yang mengarah ke artikel tersebut."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Ayo tambahkan tautan! Berikut daftar landasan Anda. Pada masing-masing landasan, terdapat saran tautan artikel yang dapat Anda pilih. Saat menambahkan tautan, harap tambahkan dalam kalimat yang relevan dengan artikel landasan Anda. Tambahkan terus tautan dari artikel terkait sebanyak yang Anda inginkan, hingga landasan Anda memiliki tautan internal paling banyak yang mengarah ke sana."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Beberapa artikel di situs Anda %1$ssangat%2$s penting. Artikel tersebut memberi solusi dan memecahkan kendala banyak orang. Jadi, artikel tersebut pantas mendapat ranking! Di %3$s, kami menyebutnya sebagai artikel landasan. Salah satu cara untuk menaikkan ranking adalah dengan mengarahkan tautan yang cukup padanya. Lebih banyak tautan memberi sinyal pada mesin pencari bahwa artikel tersebut penting dan bermakna. Pada latihan ini, kami akan membantu Anda menambahkan tautan ke artikel landasan Anda!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Setelah menambahkan lebih banyak kata, kami akan dapat memberi tahu Anda tingkat formalitas teks Anda."],"Overall, your text appears to be %1$s%3$s%2$s.":["Secara umum, teks Anda terlihat %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Integrasi Zapier akan dihapus dari %1$s pada 20.7 (tanggal rilis 9 Mei). Jika Anda punya pertanyaan, mohon hubungi %2$s."],"Maximum heading level":["Level judul maksimum"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Anda telah menonaktifkan Saran Tautan, yang diperlukan untuk Tautan Berhubungan dapat berfungsi. Jika Anda ingin menambahkan Tautan Berhubungan, mohon menuju Fitur situs dan aktifkan Saran Tautan."],"Schema":["Skema"],"Meta tags":["Tag meta"],"Not available":["Tidak tersedia"],"Checks":["Periksa"],"Focus Keyphrase":["Frasa kunci utama"],"Good":["Bagus"],"No index":["No index"],"Front-end SEO inspector":["Inspector Front-end SEO"],"Focus keyphrase not set":["Frasa kunci utama tidak diatur"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Setelah Anda memublikasikan Zap di dasbor %s, Anda dapat memeriksa apakah Zap aktif dan terhubung ke situs Anda."],"Reset API key":["Reset API key"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Saat ini Anda terhubung ke %s menggunakan API key berikut. Jika Anda ingin terhubung kembali dengan API key lainnya, Anda dapat mengatur ulang key Anda di bawah."],"Your API key":["API key Anda"],"Go to your %s dashboard":["Buka dasbor %s Anda"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Anda berhasil terhubung ke %1$s! Untuk mengelola Zap Anda, kunjungi dasbor %2$s Anda."],"Your %s dashboard":["Dasbor %s Anda"],"Verify connection":["Verifikasi koneksi"],"Verify your connection":["Verifikasi koneksi Anda"],"Create a Zap":["Buat Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Login ke akun %1$s Anda dan mulai buat Zap pertama Anda! Perhatikan bahwa Anda hanya dapat membuat 1 Zap dengan trigger event dari %2$s. Dalam Zap berikut Anda dapat memilih satu atau lebih tindakan."],"%s API key":["API key %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Anda akan memerlukan API key ini nanti di %s saat menyiapkan Zap."],"Copy your API key":["Salin API key Anda"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Untuk menyiapkan koneksi, pastikan Anda menyalin API key yang diberikan di bawah ini dan menggunakannya untuk membuat dan mengaktifkan Zap dalam akun %s Anda."],"Manage %s settings":["Kelola pengaturan %s"],"Connect to %s":["Sambungkan ke %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Harap diperhatikan: Agar latihan berikut berfungsi dengan baik, Anda perlu menjalankan alat pengoptimalan data SEO. Admin dapat menjalankannya dari menu %1$sSEO > Alat%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Anda telah menambahkan tautan ke artikel terbengkalai Anda, dan Anda telah membersihkan yang tidak lagi relevan. Kerja bagus! Lihatlah ringkasan berikut dan rayakan apa yang telah Anda capai!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Periksa secara kritis konten dalam daftar ini dan buat pembaruan yang diperlukan. Jika Anda memerlukan bantuan untuk memperbarui, kami memiliki %1$sartikel blog yang sangat berguna yang dapat memandu Anda sepenuhnya%2$s (klik untuk membuka di tab baru)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sPerlu panduan lebih lanjut? Kami telah membahas setiap langkah secara lebih mendetail dalam panduan berikut: %2$sCara menggunakan %7$s latihan konten yang terbengkalai%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Anda baru saja membuat konten terbaik Anda yang mudah ditemukan, dan kemungkinan besar akan mendapat peringkat! Bagus! Ingatlah selalu untuk memeriksa apakah landasan Anda memiliki tautan yang cukup!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Lihatlah daftar berikut. Apakah landasan Anda (ditandai dengan %1$s) memiliki tautan internal paling banyak yang mengarah ke sana? Klik tombol Optimalkan jika menurut Anda landasan membutuhkan lebih banyak tautan. Proses tersebut akan memindahkan artikel ke langkah berikutnya."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Apakah semua landasan Anda mendapatkan bulatan hijau? Untuk hasil terbaik, edit mana yang tidak ada bulatan hijau!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Artikel mana yang ingin Anda targetkan mendapatkan peringkatkan tertinggi? Mana yang menurut audiens Anda paling berguna dan lengkap? Klik panah yang mengarah ke bawah dan cari artikel yang sesuai dengan kriteria tersebut. Kami akan secara otomatis menandai artikel yang Anda pilih sebagai landasan."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sPerlu panduan lebih lanjut? Kami telah membahas setiap langkah secara lebih mendetail di: %2$sCara menggunakan latihan dasar %7$s%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast Table of Contents"],"Yoast Related Links":["Tautan Terkait Yoast"],"Finish optimizing":["Selesaikan pengoptimalan"],"You've finished adding links to this article.":["Anda telah selesai menambahkan tautan ke artikel berikut."],"Optimize":["Optimalkan"],"Added to next step":["Ditambahkan ke langkah selanjutnya"],"Choose cornerstone articles...":["Pilih artikel landasan..."],"Loading data...":["Memuat data..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Anda belum membersihkan atau memperbarui artikel menggunakan latihan ini. Setelah Anda melakukannya, rangkuman kerja Anda akan tampil di sini."],"Skipped":["Dilewati"],"Hidden from search engines.":["Disembunyikan dari mesin pencari."],"Removed":["Dihapus"],"Improved":["Ditingkatkan"],"Resolution":["Resolusi"],"Loading redirect options...":["Memuat pilihan pengalihan..."],"Remove and redirect":["Hapus dan alihkan"],"Custom url:":["Url khusus:"],"Related article:":["Artikel terkait:"],"Home page:":["Halaman beranda:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Anda akan menghapus %1$s%2$s%3$s. Untuk mencegah 404 di situs Anda, Anda harus mengalihkannya ke halaman lain di situs Anda. Ke mana Anda akan mengalihkannya?"],"SEO Workout: Remove article":["Latihan SEO: Hapus artikel"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Semuanya tampak bagus! Kami belum menemukan artikel apa pun di situs Anda lebih lama dari 6 bulan dan kami menemukan situs Anda terdapat terlalu sedikit tautan. Cek lagi nanti untuk saran pembersihan baru!"],"Hide from search engines":["Sembunyikan dari mesin pencari"],"Improve":["Tingkatkan"],"Are you sure you wish to hide this article from search engines?":["Apakah Anda yakin ingin menyembunyikan artikel dari mesin pencari?"],"Action":["Aksi"],"You've hidden this article from search engines.":["Anda telah menyembunyikan artikel ini dari mesin pencari."],"You've removed this article.":["Anda telah menghapus artikel ini."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Anda belum memilih artikel untuk ditingkatkan. Pilih beberapa artikel pada langkah sebelumnya untuk menambahkan tautan dan kami akan menampilkan saran tautan untuk Anda di sini."],"Loading link suggestions...":["Memuat saran tautan..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Kami tidak menemukan saran apa pun untuk artikel ini, namun tentu Anda tetap dapat menambahkan tautan ke artikel yang menurut Anda cocok."],"Skip":["Lewati"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Anda belum memilih artikel mana pun di langkah ini. Anda dapat melakukannya di langkah sebelumnya."],"Is it up-to-date?":["Apakah ini terbaru?"],"Last Updated":["Pembaruan Terakhir"],"You've moved this article to the next step.":["Anda telah memindahkan artikel ini ke langkah selanjutnya."],"Unknown":["Tak dikenal"],"Clear summary":["Hapus ringkasan"],"Add internal links towards your orphaned articles.":["Tambahkan tautan internal ke artikel yang terbengkalai Anda."],"Should you update your article?":["Apakah Anda harus memperbarui artikel Anda?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Situs Anda banyak mengandung konten yang sekali dibuat tidak pernah dilihat kembali setelahnya. Sangat penting untuk mengeceknya dan tanyakan ke diri Anda apakah konten tersebut masih relevan untuk situs Anda. Haruskah Anda meningkatkannya atau menghapusnya?"],"Start: Love it or leave it?":["Mulai: Suka atau tinggalkan?"],"Clean up your unlinked content to make sure people can find it":["Bersihkan konten Anda yang tidak ditautkan supaya dapat ditemukan pengunjung"],"I've finished this workout":["Saya telah menyelesaikan latihan ini"],"Reset this workout":["Reset latihan ini"],"Well done!":["Bagus sekali!"],"Add internal links towards your cornerstones":["Tambahkan tautan internal menuju landasan Anda"],"Check the number of incoming internal links of your cornerstones":["Periksa jumlah tautan internal yang masuk dari landasan Anda"],"Start: Choose your cornerstones!":["Mulai: Pilih landasan Anda!"],"The cornerstone approach":["Pendekatan landasan"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Mohon diperhatikan: Agar latihan ini berfungsi dengan baik dan menawarkan saran penautan, Anda perlu menjalankan alat pengoptimalan data SEO. Admin dapat menjalankan ini di bawah %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Harap diperhatikan: Admin Anda telah menonaktifkan fungsi landasan di pengaturan SEO. Jika Anda ingin menggunakan latihan ini, ini harus diaktifkan."],"I've finished this step":["Saya telah menyelesaikan tahap ini"],"Revise this step":["Perbaiki tahap ini"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Kami tidak dapat menemukan tautan internal di halaman Anda. Mungkin Anda belum menambahkan tautan internal apa pun ke konten Anda, atau Yoast SEO tidak mengindeksnya. Anda dapat meminta Yoast SEO mengindeks tautan Anda dengan menjalankan pengoptimalan data SEO di menu SEO > Peralatan."],"Incoming links":["Tautan masuk"],"Edit to add link":["Edit untuk menambahkan tautan"],"%s incoming link":["%s tautan masuk","%s tautan masuk"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Saat ini Anda tidak memiliki artikel yang ditandai sebagai landasan. Ketika Anda menandai artikel Anda sebagai landasan, mereka akan muncul di sini."],"Focus keyphrase":["Frasa kunci utama"],"Article":["Artikel"],"Readability score":["Skor keterbacaan"],"SEO score":["Skor SEO"],"Copy failed":["Gagal menyalin"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Tingkatkan peringkat untuk semua landasan Anda dengan menggunakan %1$slangkah-demi-langkah latihan!%2$s"],"Rank with articles you want to rank with":["Peringkatkan dengan artikel yang Anda inginkan"],"Descriptive text":["Teks deskriptif"],"Show the descriptive text":["Tampilkan teks deskriptif"],"Show icon":["Tampilkan ikon"],"Yoast Estimated Reading Time":["Estimasi Waktu Baca Yoast"],"Shows an estimated reading time based on the content length.":["Tampilkan estimasi waktu baca berdasarkan panjang konten."],"reading time":["waktu baca"],"content length":["panjang konten"],"Estimated reading time:":["Estimasi waktu baca:"],"minute":["menit","menit"],"Settings":["Pengaturan"],"OK":["OK"],"Close":["Tutup"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Plugin pertama yang benar-benar memberikan semua solusi SEO untuk WordPress, termasuk analisis konten pada halaman, Peta Situs XML, dan masih banyak lagi."],"Type":["Tipe"],"Team Yoast":["Tim Yoast"],"Orphaned content":["Orphaned content"],"Synonyms":["Sinonim"],"Internal linking suggestions":["Saran penautan internal"],"Enter a related keyphrase to calculate the SEO score":["Masukkan frasa kunci terkait untuk menampilkan skor SEO"],"Related keyphrase":["Frasa kunci terkait"],"Add related keyphrase":["Tambahkan frasa kunci terkait"],"Analysis results":["Hasil analisis"],"Help on choosing the perfect keyphrase":["Bantuan memilih frasa kunci yang tepat"],"Help on keyphrase synonyms":["Bantuan memilih sinonim untuk frasa kunci"],"Keyphrase":["Frasa-kunci"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["URL baru: {{link}}%s{{/link}}"],"Undo":["Batalkan"],"Redirect created":["Pengalihan telah dibuat"],"%s just created a redirect from the old URL to the new URL.":["%s baru saja membuat pengalihan dari URL lama ke URL baru."],"Old URL: {{link}}%s{{/link}}":["URL lama: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Sinonim frasa kunci"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Terjadi eror: analisis SEO Premium tidak berfungsi seperti yang diharapkan. Mohon {{activateLink}}aktifkan langganan Anda di MyYoast{{/activateLink}} lalu {{reloadButton}}muat ulang halaman ini{{/reloadButton}} agar berfungsi dengan baik."],"seo":["seo"],"internal linking":["Tautan internal"],"site structure":["struktur situs"],"We could not find any relevant articles on your website that you could link to from your post.":["Kami tidak dapat menemukan artikel yang relevan pada situs web Anda yang bisa dijadikan tautan dari artikel ini."],"Load suggestions":["Menambahkan daftar link yang terkait dengan halaman ini."],"Refresh suggestions":["Refresh saran"],"Write list…":["Tulis daftar..."],"Adds a list of links related to this page.":["Tambahkan daftar tautan terkait ke halaman ini."],"related posts":["artikel terkait"],"related pages":["halaman terkait"],"Adds a table of contents to this page.":["Tambahkan tabel daftar isi pada halaman ini."],"links":["tautan"],"toc":["toc"],"Copy link":["Salin tautan"],"Copy link to suggested article: %s":["Salin tautan ke artikel yang disarankan: %s"],"Add a title to your post for the best internal linking suggestions.":["Tambahkan judul ke pos untuk saran internal linking terbaik."],"Add a metadescription to your post for the best internal linking suggestions.":["Tambahkan metadescription ke pos Anda untuk saran internal linking terbaik."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Tambahkan judul dan metadescription ke pos Anda untuk saran internal linking terbaik."],"Also, add a title to your post for the best internal linking suggestions.":["Serta, tambahkan judul ke pos Anda untuk saran internal linking terbaik."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Serta, tambahkan metadescription ke pos Anda untuk saran internal linking terbaik Anda."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Serta, tambahkan judul dan metadescription ke pos Anda untuk saran internal linking terbaik."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Ketika Anda menambahkan sejumlah tulisan, kami akan menyajikan daftar konten terkait di sini yang dapat Anda tautkan dalam pos Anda."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Untuk meningkatkan struktur situs, tentukan penautan ke pos atau halaman lain yang relevan pada situs web Anda."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Dibutuhkan beberapa detik untuk menampilkan daftar konten terkait yang mana dapat Anda kaitkan. Saran akan ditampilkan di sini segera setelah ditemukan."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Baca panduan internal linking kami untuk SEO{{/a}} untuk mempelajari selengkapnya."],"Copied!":["Disalin!"],"Not supported!":["Tidak didukung!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Apakah Anda mencoba menggunakan banyak frasa kunci terkait? Anda harus menambahkannya secara terpisah."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Frasa kunci Anda terlalu panjang. Maksimal 191 karakter."],"Add as related keyphrase":["Tambahkan sebagai frasa kunci terkait"],"Added!":["Ditambahkan!"],"Remove":["Hapus"],"Table of contents":["Daftar isi"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Kami perlu mengoptimalkan data SEO Anda supaya kami dapat menawarkan %1$slinking suggestions%2$s. %3$sMulai optimasi Data SEO%4$s"],"Create a Zap in %s":["Buat Zap dalam %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-it_IT.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-it_IT.json new file mode 100644 index 00000000..d3d55669 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-it_IT.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"it"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["La richiesta è tornata indietro con questo errore: \"%s\""],"X share preview":["Anteprima della condivisione su X"],"AI X title generator":["Generatore IA del titolo"],"AI X description generator":["Generatore IA di descrizioni per X"],"X preview":["Anteprima di X"],"Please enter a valid focus keyphrase.":["Inserisci una frase chiave valida."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Per usare questa funzionalitĂ , il sito deve essere accessibile pubblicamente. Questo vale sia per i siti di prova sia per le istanze in cui l'API REST è protetta da password. Assicurati che il sito sia accessibile al pubblico e riprova. Se il problema persiste, %1$scontatta il nostro team di assistenza %2$s."],"Yoast AI cannot reach your site":["L'IA di Yoast non riesce a raggiungere il tuo sito"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Per accedere a questa funzionalitĂ  devi attivare gli abbonamenti a %2$s e a %3$s. %5$sAttiva il tuo abbonamento in %1$s%6$s o %7$scomprane un nuovo %4$s%8$s. Dopo, aggiorna la pagina affinchĂ© la funzionalitĂ  funzioni correttamente. Questo può richiedere fino a 30 secondi."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["Prima di potere usare il generatore di titoli con l'IA devi attivare l'analisi SEO. Per attivarla, vai all sezione %2$sCaratteristiche del sito di %1$s%3$s, attiva l'analisi SEO e fai clic su 'Salva le modifiche'. Verifica anche se l'analisi SEO è disattivata nel tuo profilo sul sito. Se non lo è, attivala e salva. Se non hai accesso a queste impostazioni, contatta il tuo amministratore."],"Social share preview":["Anteprima di condivisione sui social"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Per continuare a usare la funzione IA di Yoast, riduci la frequenza delle richieste. Il %1$snostro articolo di supporto%2$s fornisce indicazioni su come pianificare e cadenzare efficacemente le richieste per ottimizzare il flusso di lavoro."],"You've reached the Yoast AI rate limit.":["Hai raggiunto il limite di richieste di Yoast IA."],"Allow":["Permetti"],"Deny":["Rifiuta"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Per vedere questo video, devi permettere a %1$s di caricare video incorporati da %2$s."],"Text generated by AI may be offensive or inaccurate.":["Il testo generato dall'intelligenza artificiale (IA) può essere offensivo o impreciso."],"(Opens in a new browser tab)":["(Si apre in una nuova scheda del browser)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Velocizza il flusso di lavoro con l'intelligenza artificiale generativa. Ottieni suggerimenti per titoli e descrizioni di alta qualitĂ  per le tue ricerche e per il modo in cui appari sui social. %1$sMaggiori informazioni%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Genera titoli e descrizioni con l'IA di Yoast!"],"New to %1$s":["Nuovo in %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Approvo i %1$sTermini di servizio%2$s e la %3$sPrivacy Policy%4$s del servizio Yoast IA. Questo include il consenso alla raccolta e all'utilizzo dei dati per migliorare l'esperienza utente."],"Start generating":["Inizia con la generazione"],"Yes, revoke consent":["Sì, revoca il consenso"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Se revochi il consenso non avrai piĂą accesso alle funzioni di Yoast IA. Confermi di voler revocare il tuo consenso?"],"Something went wrong, please try again later.":["Qualcosa è andato storto, riprova piĂą tardi."],"Revoke AI consent":["Revoca il consenso all'IA"],"AI title generator":["Generatore IA di titoli"],"AI description generator":["Generatore IA di descrizioni"],"AI social title generator":["Generatore IA di titoli per i social"],"AI social description generator":["Generatore IA di meta descrizioni per i social"],"Dismiss":["Ignora"],"Don’t show again":["Non mostrare di nuovo"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sSuggerimento%2$s: Migliora l'accuratezza dei titoli IA scrivendo piĂą contenuti nella tua pagina."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sSuggerimento%2$s: Migliora l'accuratezza delle descrizioni IA scrivendo piĂą contenuti nella tua pagina."],"Try again":["Riprova"],"Social preview":["Anteprima social"],"Desktop result":["Risultato per il desktop"],"Mobile result":["Risultato per i dispositivi mobili"],"Apply %s description":[],"Apply %s title":[],"Next":["Successivo"],"Previous":["Precedente"],"Generate 5 more":["Generane altre 5"],"Google preview":["Anteprima di Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["A causa delle rigide linee guida etiche di OpenAI e delle %1$spolitiche di utilizzo%2$s, non possiamo generare titoli SEO per la tua pagina. Se vuoi usare l'intelligenza artificiale, evita i contenuti violenti o sessualmente espliciti. %3$sLeggi qui per saperne di piĂą su come configurare la tua pagina e ottenere i migliori risultati con l'intelligenza artificiale%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["A causa delle rigide linee guida etiche di OpenAI e delle %1$spolitiche di utilizzo%2$s, non possiamo generare descrizioni SEO per la tua pagina. Se vuoi usare l'intelligenza artificiale, evita i contenuti violenti o sessualmente espliciti. %3$sLeggi qui per saperne di piĂą su come configurare la tua pagina e ottenere i migliori risultati con l'intelligenza artificiale%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Per accedere a questa funzione, è necessario un abbonamento %1$s attivo. %3$sAttiva il tuo abbonamento in %2$s%4$s o %5$ssottoscrivi un nuovo abbonamento a %1$s%6$s. Dopo, fai clic sul pulsante per aggiornare la pagina affinchĂ© questa caratteristica funzioni correttamente, il che potrebbe richiedere fino a 30 secondi."],"Refresh page":["Aggiorna la pagina"],"Not enough content":["Non c'è abbastanza contenuto"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Riprova piĂą tardi. Se il problema persiste, %1$scontatta il nostro team di supporto%2$s!"],"Something went wrong":["Qualcosa è andato storto"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Sembra che si sia verificato un timeout della connessione. Controlla la connessione a Internet e riprova piĂą tardi. Se il problema persiste, %1$scontratta il nostro team di supporto%2$s."],"Connection timeout":["Timeout della connessione"],"Use AI":["Usa la IA"],"Close modal":["Chiudi modal"],"Learn more about AI (Opens in a new browser tab)":["Per saperne di piĂą sull'IA (apre una nuova scheda del browser)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitolo%3$s: La tua pagina non ha ancora un titolo. %2$sAggiungine uno%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitolo%2$s: La tua pagina ha un titolo, ottimo lavoro!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribuzione della frase chiave%3$s: %2$sincludi la parola chiave o i suoi sinonimi nel testo così è possibile calcolarne la distribuzione%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sDistribuzione della frase chiave%2$s: ottimo lavoro!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuzione della frase chiave%3$s: irregolare. Alcune parti del tuo testo non contengono la frase chiave o i suoi sinonimi. %2$sTi suggeriamo di distribuirli in modo piĂą regolare%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuzione della frase chiave%3$s: molto irregolare. Molte parti del tuo testo non contengono la frase chiave o i suoi sinonimi. %2$sTi suggeriamo di distribuirli in modo piĂą regolare%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: non stai usando troppe parole complesse, il che rende il testo facile da leggere. Ottimo lavoro!"],"Word complexity":["ComplessitĂ  della parola"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s delle parole del testo sono considerate complesse. %3$sProva a usare parole piĂą brevi e familiari per migliorare la leggibilitĂ %4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAllineamento%3$s: C'è una lunga sezione di testo allineata al centro. %2$sTi raccomandiamo di allinearla a sinistra%3$s.","%1$sAllineamento%3$s: Ci sono %4$s lunghe sezioni di testo allineate al centro. %2$sTi raccomandiamo di allinearle a sinistra%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAllineamento%3$s: C'è una lunga sezione di testo allineata al centro. %2$sTi raccomandiamo di allinearla a destra.%3$s","%1$sAllineamento%3$s: Ci sono %4$s lunghe sezioni di testo allineate al centro. %2$sTi raccomandiamo di allinearle a destra.%3$s"],"Select image":["Seleziona un'immagine"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Forse non lo sai, ma sul tuo sito potrebbero esserci pagine che non ricevono nemmeno un link. Questo è un problema per la SEO, perchĂ© è difficile per i motori di ricerca trovare le pagine che non ricevono link. Di conseguenza, queste pagine avranno piĂą difficoltĂ  a posizionarsi. Sono pagine che vengono chiamate contenuti orfani. In questo workout, troviamo i contenuti orfani sul tuo sito e ti aiutiamo ad aggiungere loro i link, così avranno piĂą probabilitĂ  di posizionarsi!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Ă ora di aggiungere alcuni link! Di seguito riportiamo un elenco di articoli orfani. Sotto ognuno di essi, trovi suggerimenti per le pagine correlate da cui puoi aggiungere un link. Quando aggiungi il link, assicurati di inserirlo in una frase pertinente all'articolo orfano. Continua ad aggiungere link a ciascuno degli articoli orfani fino a quando la quantitĂ  di link che puntano a essi non ti soddisfa."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Ă ora di aggiungere alcuni link! Qui di seguito trovi un elenco con i tuoi contenuti centrali (cornerstone). Sotto ognuno di loro, ci sono dei suggerimenti di articoli da cui potresti aggiungere un link. Quando aggiungi il link, inseriscilo in una frase che sia pertinente all'articolo di riferimento. Continua ad aggiungere link da tutti gli articoli correlati di cui hai bisogno, fino a che i tuoi contenuti centrali (cornerstone) non avranno il maggior numero di link interni che puntano verso di loro."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Alcuni articoli del tuo sito sono %1$spiĂą importanti di altri%2$s: rispondono alle domande delle persone e risolvono i loro problemi. Per questo meritano di posizionarsi nella SERP! Noi di %3$s li chiamiamo articoli cornerstone o articoli centrali. Uno dei modi per farli posizionare bene è quello di puntare su di essi un numero sufficiente di link. La presenza di piĂą link segnala ai motori di ricerca che quegli articoli sono importanti e di valore. In questo workout ti aiutiamo ad aggiungere link ai tuoi articoli centrali!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Una volta che aggiungerai un po' di testo potremo dirti qualcosa sul livello di formalitĂ  del tuo testo."],"Overall, your text appears to be %1$s%3$s%2$s.":["Nel complesso, il tuo testo sembra essere %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["L'integrazione Zapier verrĂ  eliminata da %1$s dalla versione 20.7 (data di rilascio 9 maggio). Per qualsiasi domanda, contattaci tramite il %2$s."],"Maximum heading level":["Livello massimo di intestazione"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Hai disattivato i suggerimenti di link, che sono necessari per il funzionamento dei link correlati. Se vuoi aggiungere i link correlati, vai su FunzionalitĂ  del sito e attiva la funzione Link suggeriti."],"Schema":["Schema"],"Meta tags":["Meta tag"],"Not available":["Non disponibile"],"Checks":["Controlli"],"Focus Keyphrase":["Frase chiave"],"Good":["Buona"],"No index":["Noindex"],"Front-end SEO inspector":["Tool di ispezione SEO nel front-end"],"Focus keyphrase not set":["La frase chiave non è stata impostata"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Una volta pubblicato lo Zap nella tua bacheca di %s, puoi verificare se è attivo e collegato al tuo sito."],"Reset API key":["Reimposta la chiave API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Al momento la tua connessione a %s usa la seguente chiave API. Se desideri riconnetterti con una chiave API diversa, puoi reimpostare la chiave qui sotto."],"Your API key":["La tua chiave API"],"Go to your %s dashboard":["Vai alla tua bacheca di %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Il collegamento a %1$s è andato bene! Per gestire il tuo Zap, visita la tua bacheca %2$s."],"Your %s dashboard":["La tua bacheca di %s"],"Verify connection":["Verifica la connessione"],"Verify your connection":["Verifica la tua connessione"],"Create a Zap":["Crea uno Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Accedi al tuo account %1$s e inizia a creare il tuo primo Zap! Puoi creare solo 1 Zap con un evento di attivazione da %2$s. All'interno di questo Zap puoi scegliere una o piĂą azioni."],"%s API key":["Chiave API di %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Questa chiave API sarĂ  necessaria piĂą avanti su %s, quando configurerai lo Zap."],"Copy your API key":["Copia la tua chiave API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Per impostare una connessione, copia la chiave API indicata di seguito e usala per creare e attivare uno Zap all'interno del tuo account %s."],"Manage %s settings":["Gestisci le impostazioni %s"],"Connect to %s":["Connetti a %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Nota bene: affinchĂ© questo workout funzioni bene, devi eseguire lo strumento di ottimizzazione dei dati SEO. Se sei admin puoi eseguirlo in %1$sYoast SEO > Strumenti%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Hai aggiunto i link agli articoli orfani e hai ripulito quelli che non erano piĂą rilevanti. Ottimo lavoro! Dai un'occhiata al riepilogo qui sotto e festeggia i risultati ottenuti!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Esamina criticamente i contenuti di questo elenco e apporta gli aggiornamenti necessari. Se hai bisogno di aiuto per l'aggiornamento, c'è %1$sun articolo del blog molto utile che può guidarti lungo tutto il percorso%2$s (fai clic per aprire una nuova scheda)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sTi serve una guida? Abbiamo scritto un articolo che ti spiega come fare passo a passo: %2$sCome usare%7$s il workout per i contenuti orfani (in inglese)%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Hai appena reso i tuoi contenuti migliori facili da trovare e con maggiori probabilitĂ  di posizionamento: complimenti! Di tanto in tanto, ricordati di controllare se i tuoi contenuti Cornerstone ricevono abbastanza link!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Dai un'occhiata all'elenco qui sotto. I tuoi contenuti Cornerstone (contrassegnati con %1$s) ricevono il maggior numero di link interni? Fai clic sul pulsante Ottimizza se pensi che un contenuto Cornerstone abbia bisogno di piĂą link. L'articolo passerĂ  alla fase successiva."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Tutti i tuoi contenuti Cornerstone hanno il pallino verde? Per ottenere risultati migliori, puoi modificare quelli che non ce l'hanno!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Quali sono gli articoli che vuoi posizionare piĂą in alto? Quali sono quelli che il tuo pubblico troverebbe piĂą utili e completi? Fai clic sulla freccia rivolta verso il basso e cerca gli articoli che corrispondono a questi criteri. Gli articoli selezionati dall'elenco saranno automaticamente classificati come \"Cornerstone\"."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sHai bisogno di una guida piĂą dettagliata? Abbiamo descritto ogni passo in dettaglio nella %2$sguida pratica%7$s al workout dei contenuti Cornerstone%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Blocco per creare un indice di Yoast"],"Yoast Related Links":["Blocco per i Link correlati di Yoast"],"Finish optimizing":["Termina l'ottimizzazione"],"You've finished adding links to this article.":["Hai finito di aggiungere link a questo articolo."],"Optimize":["Ottimizza"],"Added to next step":["Aggiunto alla fase successiva"],"Choose cornerstone articles...":["Scegli gli articoli Cornerstone..."],"Loading data...":["Caricamento dei dati in corso..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Non hai ancora ripulito o aggiornato nessun articolo dopo questo workout. Una volta fatto, qui apparirĂ  un riassunto del tuo lavoro."],"Skipped":["Saltata "],"Hidden from search engines.":["Nascosto ai motori di ricerca."],"Removed":["Rimosso"],"Improved":["Migliorato"],"Resolution":["Risoluzione"],"Loading redirect options...":["Caricamento delle opzioni di reindirizzamento..."],"Remove and redirect":["Rimuovi e reindirizza"],"Custom url:":["URL personalizzato:"],"Related article:":["Articolo correlato:"],"Home page:":["Homapage:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Stai per eliminare %1$s%2$s%3$s. Per evitare i 404 sul tuo sito, dovresti reindirizzarlo a un'altra pagina del tuo sito. Dove vorresti reindirizzarlo?"],"SEO Workout: Remove article":["Workout SEO: Rimuovi l'articolo"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Sembra tutto a posto! Non abbiamo trovato nessun articolo sul tuo sito che sia piĂą vecchio di sei mesi e che riceva troppi pochi link sul tuo sito. Torna piĂą tardi per nuovi suggerimenti di miglioramento!"],"Hide from search engines":["Nascondi ai motori di ricerca"],"Improve":["Migliora"],"Are you sure you wish to hide this article from search engines?":["Confermi di voler nascondere questo articolo ai motori di ricerca?"],"Action":["Azione"],"You've hidden this article from search engines.":["Hai nascosto questo articolo dai motori di ricerca."],"You've removed this article.":["Hai rimosso questo articolo."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Al momento non hai selezionato nessun articolo da migliorare. Seleziona alcuni articoli orfani dei passi precedenti a cui aggiungere link e ti mostreremo dei suggerimenti di link."],"Loading link suggestions...":["Caricamento dei suggerimenti di link..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Non abbiamo trovato nessun suggerimento per questo articolo, ma naturalmente puoi ancora aggiungere link ad articoli che pensi siano correlati."],"Skip":["Salta"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Non hai ancora selezionato nessun articolo per questo passaggio. Puoi farlo nel passaggio precedente."],"Is it up-to-date?":["Ă aggiornato?"],"Last Updated":["Ultimo aggiornamento"],"You've moved this article to the next step.":["Hai spostato questo articolo al passo successivo."],"Unknown":["Sconosciuto"],"Clear summary":["Cancella il riepilogo"],"Add internal links towards your orphaned articles.":["Aggiungi dei link interni verso i tuoi articoli orfani."],"Should you update your article?":["Dovresti aggiornare il tuo articolo?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Il tuo sito spesso contiene molti contenuti creati una volta e mai piĂą rivisti in seguito. Ă importante esaminarli e chiederti se questi contenuti sono ancora rilevanti per il tuo sito. Chiediti: dovrei migliorarlo o rimuoverlo?"],"Start: Love it or leave it?":["Inizio: rimuovere o tenere?"],"Clean up your unlinked content to make sure people can find it":["Pulisci il tuo contenuto non collegato per assicurarti che le persone possano trovarlo"],"I've finished this workout":["Ho finito questo workout"],"Reset this workout":["Reimposta questo workout"],"Well done!":["Ottimo!"],"Add internal links towards your cornerstones":["Aggiungi link interni verso i tuoi contenuti Cornerstone"],"Check the number of incoming internal links of your cornerstones":["Verifica il numero di link interni in entrata dei tuoi contenuti Cornerstone"],"Start: Choose your cornerstones!":["Inizia: scegli i tuoi contenuti Cornerstone!"],"The cornerstone approach":["L'approccio Cornerstone"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Nota bene: affinchĂ© questo workout funzioni bene e ti offra buoni suggerimenti per i link, devi avviare lo strumento di ottimizzazione dei dati SEO. Gli amministratori possono avviarlo dal menu %1$sYoastSEO > Strumenti%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Nota: L'amministratore ha disabilitato la funzionalitĂ  cornerstone nelle impostazioni SEO. Se vuoi seguire questo workout, la funzionalitĂ  deve essere abilitata."],"I've finished this step":["Ho terminato questo passaggio"],"Revise this step":["Rivedi questo passaggio"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Non siamo riusciti a trovare i link interni sulle tue pagine. O non hai ancora aggiunto alcun link interno al tuo contenuto, oppure Yoast SEO non li ha indicizzati. Puoi fare in modo che Yoast SEO indicizzi i tuoi link eseguendo l'ottimizzazione dei dati SEO sotto SEO > Strumenti."],"Incoming links":["Link in entrata"],"Edit to add link":["Modifica per aggiungere un link"],"%s incoming link":["%s link in entrata","%s link in entrata"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Al momento non hai articoli contrassegnati come contenuti Cornerstone. Quando contrassegnerai i tuoi articoli come Cornerstone, li troverai elencati qui."],"Focus keyphrase":["Frase chiave"],"Article":["Articolo"],"Readability score":["Punteggio di leggibilitĂ "],"SEO score":["Punteggio SEO"],"Copy failed":["Copia non riuscita"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Migliora il posizionamento di tutti i tuoi contenuti Cornerstone seguendo questi %1$sworkout passo a passo!%2$s"],"Rank with articles you want to rank with":["Posizionati meglio con gli articoli che vuoi che vengano mostrati per primi"],"Descriptive text":["Testo descrittivo"],"Show the descriptive text":["Mostra il testo descrittivo"],"Show icon":["Mostra l'icona"],"Yoast Estimated Reading Time":["Tempo di lettura stimato di Yoast"],"Shows an estimated reading time based on the content length.":["Mostra il tempo di lettura stimato in base alla lunghezza del testo."],"reading time":["tempo di lettura"],"content length":["lunghezza del testo"],"Estimated reading time:":["Tempo di lettura stimato:"],"minute":["% minuto","minuti"],"Settings":["Impostazioni"],"OK":["OK"],"Close":["Chiudi"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["La prima vera soluzione SEO tutto-in-uno per WordPress, compresa l’analisi dei contenuti su ogni pagina, sitemap XML e molto altro."],"Type":["Tipo"],"Team Yoast":["Team Yoast"],"Orphaned content":["Contenuti orfani"],"Synonyms":["Sinonimi:"],"Internal linking suggestions":["Suggerimenti di link interni"],"Enter a related keyphrase to calculate the SEO score":["Inserisci una frase chiave per calcolare il punteggio SEO"],"Related keyphrase":["Frase chiave correlata"],"Add related keyphrase":["Aggiungi una frase chiave correlata"],"Analysis results":["Risultati dell'analisi"],"Help on choosing the perfect keyphrase":["Aiuto per scegliere le frase chiave perfetta"],"Help on keyphrase synonyms":["Aiuto per i sinonimi delle frasi chiave"],"Keyphrase":["Frase chiave"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nuova URL: {{link}}%s{{/link}}"],"Undo":["Annulla"],"Redirect created":["Reindirizzamento creato"],"%s just created a redirect from the old URL to the new URL.":["%s appena creato un reindirizzamento dalla vecchia URL alla nuova URL."],"Old URL: {{link}}%s{{/link}}":["Vecchia URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Sinonimi della keyphrase"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Si è verificato un errore: l'analisi SEO Premium non sta funzionando. Assicurati {{activateLink}}di aver attivato il tuo abbonamento in MyYoast{{/activateLink}} e poi {{reloadButton}}ricarica questa pagina{{/reloadButton}} in modo che funzioni in modo corretto."],"seo":["seo"],"internal linking":["link interni"],"site structure":["struttura del sito"],"We could not find any relevant articles on your website that you could link to from your post.":["Non troviamo nessun articolo rilevante sul tuo sito che possa essere inserito come link nel tuo articolo."],"Load suggestions":["Carica i suggerimenti"],"Refresh suggestions":["Aggiorna i suggerimenti"],"Write list…":["Scrivi una lista..."],"Adds a list of links related to this page.":["Aggiunge un elenco di link correlati a questa pagina."],"related posts":["articoli correlati"],"related pages":["pagine correlate"],"Adds a table of contents to this page.":["Aggiunge un indice a questa pagina."],"links":["link"],"toc":["Indice"],"Copy link":["Copia il link"],"Copy link to suggested article: %s":["Copia il link all'articolo suggerito: %s"],"Add a title to your post for the best internal linking suggestions.":["Aggiungi un titolo al tuo articolo per ottenere i migliori suggerimenti di collegamenti interni."],"Add a metadescription to your post for the best internal linking suggestions.":["Aggiungi una metadescrizione al tuo articolo per ottenere i migliori suggerimenti di collegamenti interni."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Aggiungi un titolo e una metadescrizione al tuo articolo per ottenere i migliori suggerimenti di collegamenti interni."],"Also, add a title to your post for the best internal linking suggestions.":["Inoltre, aggiungi un titolo al tuo articolo per ottenere i migliori suggerimenti di collegamenti interni."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Inoltre, aggiungi una metadescrizione al tuo articolo per ottenere i migliori suggerimenti di collegamenti interni."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Inoltre, aggiungi un titolo e una metadescrizione al tuo articolo per ottenere i migliori suggerimenti di collegamenti interni."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Una volta che hai aggiunto un po' piĂą di testo, ti daremo qui un elenco di contenuti correlati che puoi inserire nel tuo articolo."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Per migliorare la struttura del tuo sito, prendi in considerazione di aggiungere link ad altri articoli o pagine correlate del tuo sito."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Ci vogliono alcuni secondi per mostrarti un elenco di contenuti correlati a cui puoi collegare i tuoi contenuti. I suggerimenti saranno mostrati qui non appena li avremo individuati."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Leggi la nostra guida sui Link interni per la SEO{{/a}} per saperne di piĂą."],"Copied!":["Copiato!"],"Not supported!":["Non supportato!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Stai cercando di usare piĂą frasi chiave correlate? Dovresti aggiungerle separatamente."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["La tua frase chiave è troppo lunga. Può contenere un massimo di 191 caratteri."],"Add as related keyphrase":["Aggiungi come frase chiave correlata"],"Added!":["Aggiunto!"],"Remove":["Rimuovi"],"Table of contents":["Indice"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Dobbiamo ottimizzare i tuoi dati SEO per offrirti i migliori %1$ssuggerimenti di link%2$s.\n\n%3$sInizia l'ottimizzazione dei tuoi dati SEO%4$s"],"Create a Zap in %s":["Crea uno Zap in %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ja.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ja.json new file mode 100644 index 00000000..0c887f68 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ja.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=1; plural=0;","lang":"ja_JP"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["ăŞă‚Żă‚¨ă‚ąăăŻć¬ˇă®ă‚¨ă©ăĽă¨ă¨ă‚‚ă«čż”ă•れăľă—ăźă€‚\"%s\""],"X share preview":["X ă®ă‚·ă‚§ă‚˘ă—ă¬ă“ăĄăĽ"],"AI X title generator":["AI Xă®ă‚żă‚¤ăă«ă‚¸ă‚§ăŤă¬ăĽă‚żăĽ"],"AI X description generator":["AI X ă®čެćŽă‚¸ă‚§ăŤă¬ăĽă‚żăĽ"],"X preview":["X ă—ă¬ă“ăĄăĽ"],"Please enter a valid focus keyphrase.":["有効ăŞă•ă‚©ăĽă‚«ă‚ąă‚­ăĽă•ă¬ăĽă‚şă‚’入力ă—ă¦ăŹă ă•ă„。"],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["ă“ă®ć©źč˝ă‚’使用ă™ă‚‹ă«ăŻă€ă‚µă‚¤ăăŚă‘ă–ăŞăクă«ă‚˘ă‚Żă‚»ă‚ąă§ăŤă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚ă“れăŻă€REST API ăŚă‘スăŻăĽă‰ă§äżťč­·ă•れă¦ă„ă‚‹ă†ă‚ąăサイăă¨ă‚¤ăłă‚ąă‚żăłă‚ąă®ä¸ˇć–ąă«é©ç”¨ă•れăľă™ă€‚サイăăŚä¸€č¬ĺ…¬é–‹ă•れă¦ă„ă‚‹ă“ă¨ă‚’確認ă—ă¦ă€ă‚‚ă†ä¸€ĺş¦ăŠč©¦ă—ăŹă ă•ă„。 問題ăŚč§Łć±şă—ăŞă„ĺ ´ĺăŻă€%1$sサăťăĽăăăĽă ă«ăŠĺ•Źă„ĺわă›ăŹă ă•ă„%2$s。"],"Yoast AI cannot reach your site":["Yoast AI ăŚă‚µă‚¤ăă«ă‚˘ă‚Żă‚»ă‚ąă§ăŤăľă›ă‚“"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["ă“ă®ć©źč˝ă«ă‚˘ă‚Żă‚»ă‚ąă™ă‚‹ă«ăŻă€ćś‰ĺŠąĺŚ–ăŞ %2$s ăŠă‚ăł %3$s 購読ăŚĺż…č¦ă§ă™ă€‚%5$s %1$s%6$s ă§čłĽčŞ­ă‚’ćś‰ĺŠąĺŚ–ă™ă‚‹ă‹ă€%7$sć–°ă—ă„ %4$s%8$s を取得ă—ă¦ăŹă ă•ă„。ăťă®ĺľŚă€ć©źč˝ăŚć­Łă—ăŹć©źč˝ă™ă‚‹ăźă‚ă«ă“ă®ăšăĽă‚¸ă‚’ć›´ć–°ă—ă¦ăŹă ă•ă„。ă“れă«ăŻćś€ĺ¤§ 30 ç§’ă‹ă‹ă‚‹ĺ ´ĺăŚă‚りăľă™ă€‚"],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["AI タイă㫠ジェăŤă¬ăĽă‚żăĽă‚’使用ă™ă‚‹ă«ăŻă€ä˝żç”¨ĺ‰Ťă« SEO ĺ†ćžă‚’有効ă«ă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚ă“れを有効ă«ă™ă‚‹ă«ăŻă€%2$s%1$s ă®ă‚µă‚¤ă機č˝%3$să«ç§»ĺ‹•ă—ă€SEO ĺ†ćžă‚’オăłă«ă—ă¦ă€ă€Śĺ¤‰ć›´ă‚’äżťĺ­ă€Ťă‚’クăŞăクă—ă¦ăŹă ă•ă„。WordPress ă¦ăĽă‚¶ăĽă—ă­ă•ァイă«ă§ SEO ĺ†ćžăŚç„ˇĺŠąă«ăŞăŁă¦ă„ă‚‹ĺ ´ĺăŻă€ă—ă­ă•ァイă«ă«ă‚˘ă‚Żă‚»ă‚ąă—ă¦ćś‰ĺŠąă«ă—ăľă™ă€‚ă“れらă®č¨­ĺ®šă«ă‚˘ă‚Żă‚»ă‚ąă§ăŤăŞă„ĺ ´ĺăŻă€ç®ˇç†č€…ă«ĺ•Źă„ĺわă›ă¦ăŹă ă•ă„。"],"Social share preview":["ă‚˝ăĽă‚·ăŁă«ă‚·ă‚§ă‚˘ă®ă—ă¬ă“ăĄăĽ"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Yoast AI 機č˝ă‚’引ăŤç¶šăŤä˝żç”¨ă™ă‚‹ă«ăŻă€ăŞă‚Żă‚¨ă‚ąăă®é »ĺş¦ă‚’減らă—ă¦ăŹă ă•ă„。 %1$săă«ă—č¨äş‹%2$să§ăŻă€ăŻăĽă‚Żă•ă­ăĽă‚’最é©ĺŚ–ă™ă‚‹ăźă‚ă«ăŞă‚Żă‚¨ă‚ąăを効果的ă«č¨ç”»ă—ă€ăšăĽă‚ąă‚’調整ă™ă‚‹ăźă‚ă®ă‚¬ă‚¤ă€ăłă‚ąă‚’ćŹäľ›ă—ăľă™ă€‚"],"You've reached the Yoast AI rate limit.":["Yoast AI ă®ă¬ăĽăĺ¶é™ă«é”ă—ăľă—ăźă€‚"],"Allow":["許可"],"Deny":["ć‹’ĺ¦"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["ă“ă®ĺ‹•画を表示ă™ă‚‹ă«ăŻă€%1$s ㌠%2$s ă‹ă‚‰ĺź‹ă‚込ăżĺ‹•画を読ăżčľĽă‚ă‚‹ă‚ă†ă«ă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚"],"Text generated by AI may be offensive or inaccurate.":["AI ă«ă‚ăŁă¦ç”źćă•れăźă†ă‚­ă‚ąăăŻć”»ć’çš„ăľăźăŻä¸Ťć­Łç˘şă§ă‚る可č˝ć€§ăŚă‚りăľă™ă€‚"],"(Opens in a new browser tab)":["(ć–°ă—ă„ă–ă©ă‚¦ă‚¶ăĽă‚żă–ă§é–‹ăŹ)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["生ć AI ă§ăŻăĽă‚Żă•ă­ăĽă‚’スă”ăĽă‰ă‚˘ăă—ă—ăľă™ă€‚ 検索や社会的外観ă«ĺわă›ă¦ă€é«ĺ“質ă®ă‚żă‚¤ăă«ă¨čެćŽă®ćŹćˇă‚’取得ă—ăľă™ă€‚ %1$s詳細ă«ă¤ă„ă¦ăŻă€ă“ă“をクăŞăクă—ă¦ăŹă ă•ă„%2$s%3$s。"],"Generate titles & descriptions with Yoast AI!":["Yoast AI ă§ă‚żă‚¤ăă«ă¨čެćŽă‚’生ć!"],"New to %1$s":["%1$s ăŻĺťă‚ă¦ă§ă™"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Yoast AI サăĽă“ス㮠%1$sĺ©ç”¨č¦Źç´„%2$s ăŠă‚ăł %3$să—ă©ă‚¤ăシ㼠ăťăŞă‚·ăĽ%4$s を承認ă—ăľă™ă€‚ ă“れă«ăŻă€ă¦ăĽă‚¶ăĽ エクスăšăŞă‚¨ăłă‚ąă‚’ĺ‘上ă•ă›ă‚‹ăźă‚ă®ă‡ăĽă‚żă®ĺŹŽé›†ă¨ä˝żç”¨ă¸ă®ĺŚć„ŹăŚĺ«ăľă‚Śăľă™ă€‚"],"Start generating":["生ćă‚’é–‹ĺ§‹"],"Yes, revoke consent":["ăŻă„ă€ĺŚć„Źă‚’取りć¶ă—ăľă™"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["ĺŚć„Źă‚’取りć¶ă™ă¨ă€Yoast AI ă®ć©źč˝ă«ă‚˘ă‚Żă‚»ă‚ąă§ăŤăŞăŹăŞă‚Šăľă™ă€‚ ĺŚć„Źă‚’取りć¶ă—ă¦ă‚‚ă‚ろă—ă„ă§ă™ă‹?"],"Something went wrong, please try again later.":["何ă‹ăŚé–“é•ăŁă¦ă„ăľă™ă€‚後ă§ă‚‚ă†ä¸€ĺş¦č©¦ă—ă¦ăŹă ă•ă„。"],"Revoke AI consent":["AI ă®ĺŚć„Źă‚’取りć¶ă™"],"AI title generator":["AI タイăă«ă‚¸ă‚§ăŤă¬ăĽă‚żăĽ"],"AI description generator":["AI 説ćŽă‚¸ă‚§ăŤă¬ăĽă‚żăĽ"],"AI social title generator":["AI ソシアă«ă®ă‚żă‚¤ăă«ă‚¸ă‚§ăŤă¬ăĽă‚żăĽ"],"AI social description generator":["AI ソシアă«ă®čެćŽă‚¸ă‚§ăŤă¬ăĽă‚żăĽ"],"Dismiss":["非表示"],"Don’t show again":["二度ă¨čˇ¨ç¤şă—ăŞă„ă§"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$să’ăłă%2$s: ăšăĽă‚¸ă«ă•らă«ĺ¤šăŹă®ă‚łăłă†ăłă„を書ăŤčľĽă‚€ă“ă¨ă§ă€ç”źćă•れ㟠AI タイăă«ă®ç˛ľĺş¦ăŚĺ‘上ă—ăľă™ă€‚"],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$să’ăłă%2$s: ăšăĽă‚¸ă«ă•らă«ĺ¤šăŹă®ă‚łăłă†ăłă„ă‚’č¨čż°ă™ă‚‹ă“ă¨ă§ă€ç”źćă•れ㟠AI ă®čެćŽă®ç˛ľĺş¦ăŚĺ‘上ă—ăľă™ă€‚"],"Try again":["再試行"],"Social preview":["ă‚˝ăĽă‚·ăŁă«ă—ă¬ă“ăĄăĽ"],"Desktop result":["ă‡ă‚ąă‚Żăăă—ă®çµćžś"],"Mobile result":["ă˘ăイă«ă®çµćžś"],"Apply %s description":[],"Apply %s title":[],"Next":["次"],"Previous":["前"],"Generate 5 more":["ă•ら㫠5 ă¤ç”źćă™ă‚‹"],"Google preview":["Google ă—ă¬ă“ăĄăĽ"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["OpenAI ă®ĺŽłć ĽăŞĺ€«ç†ă‚¬ă‚¤ă‰ă©ă‚¤ăłă¨%1$s使用ăťăŞă‚·ăĽ%2$să®ăźă‚ă€ăšăĽă‚¸ă® SEO タイăă«ă‚’生ćă§ăŤăľă›ă‚“。AI を使用ă™ă‚‹ĺ ´ĺăŻă€éś˛éިă€ćš´ĺŠ›çš„ă€ăľăźăŻć€§çš„ă«éś˛éިăŞă‚łăłă†ăłă„ă®ä˝żç”¨ăŻéżă‘ă¦ăŹă ă•ă„。%3$s AI ă§ćś€č‰Żă®çµćžśă‚’確実ă«ĺľ—ă‚‹ăźă‚ă«ăšăĽă‚¸ă‚’ć§‹ćă™ă‚‹ć–ąćł•ă«ă¤ă„ă¦č©łă—ăŹčŞ­ă‚“ă§ăŹă ă•ă„%4$s。"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["OpenAI ă®ĺŽłć ĽăŞĺ€«ç†ă‚¬ă‚¤ă‰ă©ă‚¤ăłă¨%1$s使用ăťăŞă‚·ăĽ%2$să®ăźă‚ă€ăšăĽă‚¸ă® SEO ăˇă‚żčެćŽă‚’生ćă§ăŤăľă›ă‚“。AI を使用ă™ă‚‹ĺ ´ĺăŻă€éś˛éިă€ćš´ĺŠ›çš„ă€ăľăźăŻć€§çš„ă«éś˛éިăŞă‚łăłă†ăłă„ă®ä˝żç”¨ăŻéżă‘ă¦ăŹă ă•ă„。%3$s AI ă§ćś€č‰Żă®çµćžśă‚’確実ă«ĺľ—ă‚‹ăźă‚ă«ăšăĽă‚¸ă‚’ć§‹ćă™ă‚‹ć–ąćł•ă«ă¤ă„ă¦č©łă—ăŹčŞ­ă‚“ă§ăŹă ă•ă„%4$s。"],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["ă“ă®ć©źč˝ă«ă‚˘ă‚Żă‚»ă‚ąă™ă‚‹ă«ăŻă€ćś‰ĺŠąăŞ %1$s 購読ăŚĺż…č¦ă§ă™ă€‚%3$s%2$s ă§čłĽčŞ­ă‚’ćś‰ĺŠąĺŚ–ă™ă‚‹%4$să‹ă€%5$sć–°ă—ă„ %1$s 購読を取得ă—ă¦ăŹă ă•ă„%6$s。ăťă®ĺľŚă€ć©źč˝ăŚć­Łă—ăŹć©źč˝ă™ă‚‹ăźă‚ă«ăśă‚żăłă‚’クăŞăクă—ă¦ă“ă®ăšăĽă‚¸ă‚’ć›´ć–°ă—ăľă™ă€‚ă“れă«ăŻćś€ĺ¤§ 30 ç§’ă‹ă‹ă‚‹ĺ ´ĺăŚă‚りăľă™ă€‚"],"Refresh page":["ăšăĽă‚¸ă®ć›´ć–°"],"Not enough content":["コăłă†ăłă„ăŚä¸ŤĺŤĺ†ă§ă™"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["ă‚‚ă†ä¸€ĺş¦ăŠč©¦ă—ăŹă ă•ă„。 問題ăŚč§Łć±şă—ăŞă„ĺ ´ĺăŻă€%1$sサăťăĽă ăăĽă ă«ă”連絡ăŹă ă•ă„%2$s!"],"Something went wrong":["問題ăŚç™şç”źă—ăľă—ăźă€‚"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["接続タイă ă‚˘ă‚¦ăăŚç™şç”źă—ăźă‚ă†ă§ă™ă€‚ イăłă‚żăĽăŤăă接続を確認ă—ă€ĺľŚă§ă‚‚ă†ä¸€ĺş¦č©¦ă—ă¦ăŹă ă•ă„。 問題ăŚč§Łć±şă—ăŞă„ĺ ´ĺăŻă€%1$sサăťăĽă ăăĽă ă«ăŠĺ•Źă„ĺわă›ăŹă ă•ă„%2$s"],"Connection timeout":["接続タイă ă‚˘ă‚¦ă"],"Use AI":["AIを活用"],"Close modal":["ă˘ăĽă€ă«ă‚’é–‰ăă‚‹"],"Learn more about AI (Opens in a new browser tab)":["AI ă«ă¤ă„ă¦č©łă—ăŹč¦‹ă‚‹ (ć–°ă—ă„ă–ă©ă‚¦ă‚¶ăĽ タă–ă§é–‹ăŤăľă™)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sタイăă«%3$s: ăšăĽă‚¸ă«ăŻăľă ă‚żă‚¤ăă«ăŚă‚りăľă›ă‚“。%2$s1ă¤čż˝ĺŠ ă—ă¦ăŹă ă•ă„%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sタイăă«%2$s: ăšăĽă‚¸ă«ăŻă‚żă‚¤ăă«ăŚă‚りăľă™ă€‚ 素晴らă—ă„ďĽ"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$să‚­ăĽă•ă¬ăĽă‚şĺ†ĺ¸%3$s: %2$să‚­ăĽă•ă¬ăĽă‚şăľăźăŻĺŚçľ©čŞžă‚’ă†ă‚­ă‚ąăă«ĺ«ă‚€ă¨ă€ă‚­ăĽă•ă¬ăĽă‚şĺ†ĺ¸ă‚’ăă‚§ăクă™ă‚‹ă“ă¨ăŚă§ăŤăľă™%3$s。"],"%1$sKeyphrase distribution%2$s: Good job!":["%1$să‚­ăĽă•ă¬ăĽă‚şĺ†ĺ¸%2$s: ă„ă„ă§ă™ă­ !"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$să‚­ăĽă•ă¬ăĽă‚şĺ†ĺ¸%3$s: 均一ă§ăŻă‚りăľă›ă‚“。一é¨ă®ă†ă‚­ă‚ąăăŻă‚­ăĽă•ă¬ăĽă‚şă‚„ĺŚçľ©čŞžă‚’ĺ«ă‚“ă§ă„ăľă›ă‚“。%2$sĺ†ĺ¸ă‚’均一ă«ă—ăľă—ょă†%3$s。"],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$să‚­ăĽă•ă¬ăĽă‚şĺ†ĺ¸%3$s: ă¨ă¦ă‚‚均一ă¨ăŻč¨€ăăľă›ă‚“。大é¨ĺ†ă®ă†ă‚­ă‚ąăăŻă‚­ăĽă•ă¬ăĽă‚şă‚„ĺŚçľ©čŞžă‚’ĺ«ă‚“ă§ă„ăľă›ă‚“。%2$sĺ†ĺ¸ă‚’均一ă«ă—ăľă—ょă†%3$s。"],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: 複雑ăŞĺŤčŞžă‚’ă‚ăľă‚Šä˝żç”¨ă—ă¦ă„ăŞă„ăźă‚ă€ă†ă‚­ă‚ąăăŚčŞ­ăżă‚„ă™ăŹăŞăŁă¦ă„ăľă™ă€‚ ă‚ăŹă§ăŤăźďĽ"],"Word complexity":["ĺŤčŞžă®č¤‡é›‘ă•"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: ă†ă‚­ă‚ąăă®ĺŤčŞžă®ă†ăˇ%2$să¤ăŻč¤‡é›‘ă¨č¦‹ăŞă•れăľă™ă€‚ %3$s読ăżă‚„ă™ăŹă™ă‚‹ăźă‚ă«ă€ă‚り短ăŹă€ă‚り親ă—ăżă‚„ă™ă„言葉を使用ă™ă‚‹ă‚ă†ă«ă—ă¦ăŹă ă•ă„%4$s。"],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$s位置ĺわă›%3$s: %4$s ă®ä¸­ĺ¤®ćŹăă®ă†ă‚­ă‚ąăă®é•·ă„セクシă§ăłăŚă‚りăľă™ă€‚%2$sĺ·¦ćŹăă«ă™ă‚‹ă“ă¨ă‚’ăŠĺ‹§ă‚ă—ăľă™%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$s位置ĺわă›%3$s: %4$s ă®ä¸­ĺ¤®ćŹăă®ă†ă‚­ă‚ąăă®é•·ă„セクシă§ăłăŚă‚りăľă™ă€‚%2$s右ćŹăă«ă™ă‚‹ă“ă¨ă‚’ăŠĺ‹§ă‚ă—ăľă™%3$s."],"Select image":["ç”»ĺŹă‚’é¸ćŠž"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["ć°—ăĄă„ă¦ă„ăŞă„ă‹ă‚‚ă—れăľă›ă‚“ăŚă€ă‚µă‚¤ăă«ăŻăŞăłă‚ŻăŚăľăŁăźăŹĺŹ–ĺľ—ă•れă¦ă„ăŞă„ăšăĽă‚¸ăŚă‚る可č˝ć€§ăŚă‚りăľă™ă€‚検索エăłă‚¸ăłăŚăŞăłă‚Żă®ăŞă„ăšăĽă‚¸ă‚’見ă¤ă‘ă‚‹ă®ăŻé›Łă—ă„ăźă‚ă€ă“れ㯠SEO ă®ĺ•ŹéˇŚă§ă™ă€‚ăťă®çµćžśă€ć¤śç´˘çµćžśă«čˇ¨ç¤şă•れăŞăŹăŞă‚Šăľă™ă€‚ă“れらă®ăšăĽă‚¸ă‚’孤立コăłă†ăłă„ă¨ĺ‘Ľăłăľă™ă€‚ă“ă®ăŻăĽă‚Żă‚˘ă‚¦ăă§ăŻă€ă‚µă‚¤ă上ă®ĺ­¤ç«‹ă—ăźă‚łăłă†ăłă„を見ă¤ă‘ă¦ă€ăťă®ă‚łăłă†ăłă„ă«ăŞăłă‚Żă‚’ă™ăă«čż˝ĺŠ ă§ăŤă‚‹ă‚ă†ă«ă‚¬ă‚¤ă‰ă—ăľă™ă€‚ă“れă«ă‚りă€ă©ăłă‚Żä»ă‘ă®ăăŁăłă‚ąă‚’ĺľ—ă‚‹ă“ă¨ăŚă§ăŤăľă™ă€‚"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["ăŞăłă‚Żă‚’追加ă—ăľă—ょă†ă€‚以下ă«ă€ĺ­¤ç«‹ă—ăźćŠ•ç¨żă®ăŞă‚ąăăŚčˇ¨ç¤şă•れăľă™ă€‚ĺ„投稿ă®ä¸‹ă«ăŻă€ăŞăłă‚Żă‚’追加ă§ăŤă‚‹é–˘é€ŁăšăĽă‚¸ă®ćŹćˇăŚčˇ¨ç¤şă•れăľă™ă€‚ăŞăłă‚Żă‚’追加ă™ă‚‹ă¨ăŤăŻă€ĺ­¤ç«‹ă—ăźćŠ•ç¨żă«é–˘é€Łă™ă‚‹é–˘é€Łć–‡ă«ăŞăłă‚Żă‚’挿入ă—ăľă™ă€‚孤立ă—ăźĺ„投稿ă¸ă®ăŞăłă‚Żă‚’ă€ăťă‚Śă‚‰ă®ćŠ•ç¨żă‚’ćŚ‡ă™ăŞăłă‚Żă®ć•°ă«ćş€č¶łă™ă‚‹ăľă§čż˝ĺŠ ă—ç¶šă‘ăľă™ă€‚"],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["ăŞăłă‚Żă‚’追加ă—ăľă—ょă†ă€‚以下ă«ă€ĺźşç¤Žă¨ăŞă‚‹č¦ç´ ă®ăŞă‚ąăăŚčˇ¨ç¤şă•れăľă™ă€‚ĺ„コăĽăŠăĽă‚ąăăĽăłă‚łăłă†ăłă„ă®ä¸‹ă«ăŻă€ăŞăłă‚Żă‚’追加ă§ăŤă‚‹ćŠ•ç¨żă®ćŹćˇăŚčˇ¨ç¤şă•れăľă™ă€‚ăŞăłă‚Żă‚’追加ă™ă‚‹ă¨ăŤăŻă€ĺż…ăšĺźşç¤ŽćŠ•ç¨żă«é–˘é€Łă™ă‚‹é–˘é€Łć–‡ă«ăŞăłă‚Żă‚’挿入ă—ă¦ăŹă ă•ă„。基礎ă¨ăŞă‚‹ĺ†…é¨ăŞăłă‚ŻăŚăťă®ćŠ•ç¨żă«ĺ‘ă‘られるăľă§ă€ĺż…č¦ăŞć•°ă®é–˘é€ŁćŠ•ç¨żă‹ă‚‰ă®ăŞăłă‚Żă‚’追加ă—ç¶šă‘ăľă™ă€‚"],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["サイă上ă®ă„ăŹă¤ă‹ă®ćŠ•ç¨żăŻ%1$s最も%2$s重č¦ă§ă™ă€‚ ă“ă®ă‚łăłă†ăłă„ăŻäşşă€…ă®čłŞĺ•Źă«ç­”ăă€ĺ•ŹéˇŚă‚’解決ă—ăľă™ă€‚ ă—ăźăŚăŁă¦ă€ă“れらă®ćŠ•ç¨żăŻă©ăłă‚Żä»ă‘ă«ĺ€¤ă—ăľă™ă€‚%3$s ă§ăŻă€ă“れらă®ćŠ•ç¨żă‚’ă‚łăĽăŠăĽă‚ąăăĽăłă‚łăłă†ăłă„ă¨ĺ‘Ľăłăľă™ă€‚ăťă‚Śă‚‰ă‚’ă©ăłă‚Żä»ă‘ă™ă‚‹ć–ąćł•ă® 1 ă¤ăŻă€ăťă‚Śă‚‰ă¸ă®ĺŤĺ†ăŞăŞăłă‚Żă‚’ăťă‚¤ăłăă™ă‚‹ă“ă¨ă§ă™ă€‚ăŞăłă‚ŻăŚĺ˘—ăă‚‹ă¨ă€ăťă‚Śă‚‰ă®ćŠ•ç¨żăŚé‡Ťč¦ă§äľˇĺ€¤ăŚă‚ă‚‹ă¨ă„ă†ă“ă¨ăŚć¤śç´˘ă‚¨ăłă‚¸ăłă«äĽťă‚Źă‚Šăľă™ă€‚ă“ă®ăŻăĽă‚Żă‚˘ă‚¦ăă§ăŻă€ă‚łăĽăŠăĽă‚ąăăĽăłă‚łăłă†ăłă„ă«ăŞăłă‚Żă‚’追加ă™ă‚‹ă®ă‚’ăŠć‰‹äĽťă„ă—ăľă™ă€‚"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["ă‚‚ă†ĺ°‘ă—ă†ă‚­ă‚ąăを追加ă™ă‚‹ă¨ă€ă†ă‚­ă‚ąăă®ĺ˝˘ĺĽŹă¬ă™ă«ăŚă‚Źă‹ă‚Šăľă™ă€‚"],"Overall, your text appears to be %1$s%3$s%2$s.":["全体ă¨ă—ă¦ă€ă†ă‚­ă‚ąă㯠%1$s%3$s%2$s ă®ă‚ă†ă«č¦‹ăăľă™ă€‚"],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Zapier çµ±ĺ㯠20.7 (ăŞăŞăĽă‚ąć—Ą 5 ćś 9 ć—Ą) ă§ %1$s ă‹ă‚‰ĺ‰Šé™¤ă•れăľă™ă€‚ ă”質問ăŚă‚ă‚‹ĺ ´ĺăŻă€%2$s ăľă§ăŠĺ•Źă„ĺわă›ăŹă ă•ă„。"],"Maximum heading level":["最大見出ă—ă¬ă™ă«"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["「関連ăŞăłă‚Żă€ŤăŚć©źč˝ă™ă‚‹ăźă‚ă«ĺż…č¦ăŞă€ŚăŞăłă‚Żă®ćŹćˇă€ŤăŚç„ˇĺŠąă«ăŞăŁă¦ă„ăľă™ă€‚関連ăŞăłă‚Żă‚’追加ă—ăźă„ĺ ´ĺăŻă€ă€Śă‚µă‚¤ăă®ć©źč˝ă€Ťă«ç§»ĺ‹•ă—ă€ă€ŚăŞăłă‚Żă®ćŹćˇă€Ťă‚’有効ă«ă—ă¦ăŹă ă•ă„。"],"Schema":["スキăĽăž"],"Meta tags":["ăˇă‚żă‚żă‚°"],"Not available":["ĺ©ç”¨ă§ăŤăľă›ă‚“"],"Checks":["ăă‚§ăク"],"Focus Keyphrase":["ă•ă‚©ăĽă‚«ă‚ąă‚­ăĽă•ă¬ăĽă‚ş"],"Good":["良好"],"No index":["No index"],"Front-end SEO inspector":["ă•ă­ăłăエăłă‰ SEO イăłă‚ąăšă‚Żă‚żăĽ"],"Focus keyphrase not set":["ă•ă‚©ăĽă‚«ă‚ą ă‚­ăĽă•ă¬ăĽă‚şăŚč¨­ĺ®šă•れă¦ă„ăľă›ă‚“"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["%s ă€ăă‚·ăĄăśăĽă‰ă§ Zap を公開ă—ăźă‚‰ă€Zap ăŚćś‰ĺŠąĺŚ–ă§ă‚µă‚¤ăă«ćŽĄç¶šă•れă¦ă„ă‚‹ă‹ă©ă†ă‹ă‚’確認ă§ăŤăľă™ă€‚"],"Reset API key":["API ă‚­ăĽă®ăŞă‚»ăă"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["現在ă€ć¬ˇă® API ă‚­ăĽă‚’使用ă—㦠%s ă«ćŽĄç¶šă—ă¦ă„ăľă™ă€‚ ĺĄă® API ă‚­ăĽă§ĺ†ŤćŽĄç¶šă™ă‚‹ĺ ´ĺăŻă€ä»Ąä¸‹ă§ă‚­ăĽă‚’ăŞă‚»ăăă§ăŤăľă™ă€‚"],"Your API key":["API ă‚­ăĽ"],"Go to your %s dashboard":["%s ă€ăă‚·ăĄăśăĽă‰ă«ç§»ĺ‹•ă—ăľă™ "],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["%1$s ă«ć­Łĺ¸¸ă«ćŽĄç¶šă•れăľă—ăźă€‚ Zap を管ç†ă™ă‚‹ă«ăŻă€%2$s ă€ăă‚·ăĄăśăĽă‰ă«ă‚˘ă‚Żă‚»ă‚ąă—ă¦ăŹă ă•ă„。"],"Your %s dashboard":["%s ă€ăă‚·ăĄăśăĽă‰"],"Verify connection":["接続を確認"],"Verify your connection":["接続を確認"],"Create a Zap":["Zap を作ć"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["%1$s アカウăłăă«ă­ă‚°ă‚¤ăłă—ă¦ă€ćś€ĺťă® Zap ă®ä˝śćă‚’é–‹ĺ§‹ă—ă¦ăŹă ă•ă„。%2$s ă‹ă‚‰ă®ăăŞă‚¬ăĽ イă™ăłăă§ä˝śćă§ăŤă‚‹ Zap 㯠1 ă¤ă ă‘ă§ă‚ă‚‹ă“ă¨ă«ćł¨ć„Źă—ă¦ăŹă ă•ă„。 ă“ă® Zap 内㧠1 ă¤ä»Ąä¸Šă®ă‚˘ă‚Żă‚·ă§ăłă‚’é¸ćŠžă§ăŤăľă™ă€‚"],"%s API key":["%s ă® API ă‚­ăĽÂ "],"You'll need this API key later on in %s when you're setting up your Zap.":["ă“ă® API ă‚­ăĽăŻă€ĺľŚă§ Zap を設定ă™ă‚‹ă¨ăŤă« %s ă§ĺż…č¦ă«ăŞă‚Šăľă™ă€‚"],"Copy your API key":["API ă‚­ăĽă‚’コă”ăĽă—ăľă™"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["接続をセăăアăă—ă™ă‚‹ă«ăŻă€ä»Ąä¸‹ă®ç‰ąĺ®šă® API ă‚­ăĽă‚’コă”ăĽă—ă€ăťă‚Śă‚’使用ă—ă¦%s アカウăłă内㧠Zap を作ćă—ă¦ćś‰ĺŠąă«ă—ă¦ăŹă ă•ă„。"],"Manage %s settings":["%s 設定ă®ç®ˇç†"],"Connect to %s":["%să«ćŽĄç¶šă™ă‚‹"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["注意:ă“ă®ăă¬ăĽă‹ăłă‚°ăŚă†ăľăŹć©źč˝ă—ă€SEO ă‡ăĽă‚żćś€é©ĺŚ–ă„ăĽă«ă‚’実行ă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚ 管ç†č€…ăŻă“れを %1$sSEO > ă„ăĽă«%2$s ă§ĺ®źčˇŚă§ăŤăľă™ă€‚"],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["孤立ă—ăźćŠ•ç¨żă¸ă®ăŞăłă‚Żă‚’追加ă—ă€é–˘é€Łć€§ăŚăŞăŹăŞăŁăźćŠ•ç¨żă‚’ă‚ŻăŞăĽăłă‚˘ăă—ă—ăľă—ăźă€‚ ă‚ăŹă‚„ăŁăźďĽ 以下ă®ć¦‚č¦ă‚’見ă¦ă€é”ćă—ăźă“ă¨ă‚’祝ă„ăľă—ょă†!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["ă“ă®ăŞă‚ąăă®ĺ†…容を批ĺ¤çš„ă«čŞżăąă€ĺż…č¦ăŞć›´ć–°ă‚’行ăŁă¦ăŹă ă•ă„。 ć›´ć–°ă«ă¤ă„ă¦ă‚µăťăĽăăŚĺż…č¦ăŞĺ ´ĺăŻă€%1$s非常ă«äľżĺ©ăŞă–ă­ă‚°ćŠ•ç¨żă‚’ă”ĺ©ç”¨ăŹă ă•ă„%2$s。ă™ăąă¦ă®ć‰‹é †ă‚’ă”ćˇĺ†…ă—ăľă™ (クăŞăクă—ă¦ć–°ă—ă„タă–ă§é–‹ăŤăľă™)。"],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$să•らă«ă‚¬ă‚¤ă€ăłă‚ąăŚĺż…č¦ă§ă™ă‹? 次ă®ă‚¬ă‚¤ă‰ă§ăŻă€ă™ăąă¦ă®ă‚ąă†ăă—ă«ă¤ă„ă¦č©łă—ăŹčެćŽă—ă¦ă„ăľă™ă€‚%2$s%7$s ă®ĺ­¤ç«‹ă—ăźă‚łăłă†ăłă„ăă¬ăĽă‹ăłă‚°ă®ä˝żç”¨ć–ąćł•%3$s%4$s%5$s。%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["最é«ă®ă‚łăłă†ăłă„を見ă¤ă‘ă‚„ă™ăŹă—ă€ă©ăłă‚Żä»ă‘ă™ă‚‹ĺŹŻč˝ć€§ă‚’é«ă‚ăľă—ăź! ă¨ăŤă©ăŤă€ă‚łăĽăŠăĽă‚ąăăĽăłăŚĺŤĺ†ăŞăŞăłă‚Żă‚’獲得ă—ă¦ă„ă‚‹ă‹ă©ă†ă‹ă‚’確認ă™ă‚‹ă“ă¨ă‚’ĺżă‚ŚăŞă„ă§ăŹă ă•ă„!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["以下ă®ăŞă‚ąăを見ă¦ăŹă ă•ă„。 コăĽăŠăĽă‚ąăăĽăł (%1$să§ăžăĽă‚Żă•れă¦ă„ă‚‹) ă«ăŻă€ăťă‚Śă‚‰ă‚’指ă™ĺ†…é¨ăŞăłă‚ŻăŚćś€ă‚‚多ăŹă‚りăľă™ă‹? コăĽăŠăĽă‚ąăăĽăłă«ă•らă«ăŞăłă‚ŻăŚĺż…č¦ă ă¨ć€ťă‚Źă‚Śă‚‹ĺ ´ĺăŻă€ă€Śćś€é©ĺŚ–ă€Ť ăśă‚żăłă‚’クăŞăクă—ăľă™ă€‚ ă“れă«ă‚りă€ćŠ•ç¨żăŻć¬ˇă®ă‚ąă†ăă—ă«é€˛ăżăľă™ă€‚"],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["ă™ăąă¦ă®ă‚łăĽăŠăĽă‚ąăăĽăłă«ç·‘ă®ç®‡ćťˇć›¸ăŤăŚă‚りăľă™ă‹? 最良ă®çµćžśă‚’ĺľ—ă‚‹ă«ăŻă€ăťă†ă§ăŞă„ă‚‚ă®ă‚’編集ă™ă‚‹ă“ă¨ă‚’検討ă—ă¦ăŹă ă•ă„!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["ă©ă®ćŠ•ç¨żă‚’ćś€é«ă«ă©ăłă‚Żä»ă‘ă—ăźă„ă§ă™ă‹?č´čˇ†ăŚćś€ă‚‚有用ă§ĺ®Śĺ…¨ă ă¨ć€ťă†ă‚‚ă®ăŻă©ă‚Śă§ă™ă‹?下ĺ‘ăŤçź˘ĺŤ°ă‚’クăŞăクă—ă¦ă€ăťă®ĺźşćş–ă«é©ĺă™ă‚‹ă‚’探ă—ăľă™ă€‚ăŞă‚ąăă‹ă‚‰é¸ćŠžă—ăźćŠ•ç¨żăŻč‡Şĺ‹•çš„ă«ă€Śă‚łăĽăŠăĽă‚ąăăĽăłă€Ťă¨ă—ă¦ăžăĽă‚Żă•れăľă™ă€‚"],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$să•らă«ă‚¬ă‚¤ă€ăłă‚ąăŚĺż…č¦ă§ă™ă‹? ă™ăąă¦ă®ă‚ąă†ăă—ă«ă¤ă„ă¦ăŻă€ć¬ˇă§č©łă—ăŹčެćŽă—ă¦ă„ăľă™ă€‚%2$s%7$s コăĽăŠăĽă‚ąăăĽăłăă¬ăĽă‹ăłă‚°ă®ä˝żă„ć–ą%3$s%4$s%5$s。%6$s"],"Yoast Table of Contents":["Yoast 目次"],"Yoast Related Links":["Yoast 関連ăŞăłă‚Ż"],"Finish optimizing":["最é©ĺŚ–ă‚’çµ‚äş†"],"You've finished adding links to this article.":["ă“ă®ćŠ•ç¨żă¸ă®ăŞăłă‚Żă®čż˝ĺŠ ăŚĺ®Śäş†ă—ăľă—ăźă€‚"],"Optimize":["最é©ĺŚ–"],"Added to next step":["次ă®ă‚ąă†ăă—ă«čż˝ĺŠ "],"Choose cornerstone articles...":["コăĽăŠăĽă‚ąăăĽăłćŠ•ç¨żă®é¸ćŠž..."],"Loading data...":["ă‡ăĽă‚żă‚’ă­ăĽă‰ä¸­"],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["ă“ă®ăă¬ăĽă‹ăłă‚°ă‚’使用ă—ă¦ă€ăľă č¨äş‹ă‚’クăŞăĽăłă‚˘ăă—ăľăźăŻć›´ć–°ă—ă¦ă„ăľă›ă‚“。実行ă™ă‚‹ă¨ă€ä˝śćĄ­ă®ć¦‚č¦ăŚă“ă“ă«čˇ¨ç¤şă•れăľă™ă€‚"],"Skipped":["スキăă—ă—ăľă—ăź"],"Hidden from search engines.":["検索エăłă‚¸ăłă‹ă‚‰éš ă•れă¦ă„ăľă™ă€‚"],"Removed":["削除"],"Improved":["改善"],"Resolution":[" 解決"],"Loading redirect options...":["ăŞă€ă‚¤ă¬ă‚Żăオă—ă‚·ă§ăłă‚’読ăżčľĽă‚“ă§ă„ăľă™..."],"Remove and redirect":["削除ă—ă¦ăŞă€ă‚¤ă¬ă‚Żă"],"Custom url:":["ă‚«ă‚ąă‚żă  URL:"],"Related article:":["関連投稿:"],"Home page:":["ă›ăĽă ăšăĽă‚¸ďĽš"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":[" %1$s%2$s%3$s を削除ă—ă‚ă†ă¨ă—ă¦ă„ăľă™ă€‚サイăă§ 404 ă‚’é˛ăă«ăŻă€ă‚µă‚¤ăă®ĺĄă®ăšăĽă‚¸ă«ăŞă€ă‚¤ă¬ă‚Żăă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚ă©ă“ă«ăŞă€ă‚¤ă¬ă‚Żăă—ăľă™ă‹ďĽź"],"SEO Workout: Remove article":["SEO ăă¬ăĽă‹ăłă‚°ďĽšćŠ•ç¨żă‚’ĺ‰Šé™¤"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["ă™ăąă¦ăŚă‚ă•ăťă†ă ďĽ6 ă‹ćśä»Ąä¸ŠçµŚéŽă—ă¦ă„ă¦ă€ă‚µă‚¤ă上ă®ăŞăłă‚ŻăŚĺ°‘ăŞă™ăŽă‚‹č¨äş‹ăŻč¦‹ă¤ă‹ă‚Šăľă›ă‚“ă§ă—ăźă€‚ć–°ă—ă„クăŞăĽăłă‚˘ăă—ă®ćŹćˇă«ă¤ă„ă¦ăŻă€ĺľŚă§ă“ă“ă«ć»ăŁă¦ç˘şčŞŤă—ă¦ăŹă ă•ă„。"],"Hide from search engines":["検索エăłă‚¸ăłă‹ă‚‰éš ă™"],"Improve":["改良ă™ă‚‹"],"Are you sure you wish to hide this article from search engines?":["ă“ă®ćŠ•ç¨żă‚’ć¤śç´˘ă‚¨ăłă‚¸ăłă‹ă‚‰éš ă—ă¦ă‚‚ă‚ろă—ă„ă§ă™ă‹ďĽź"],"Action":["操作"],"You've hidden this article from search engines.":["ă“ă®ćŠ•ç¨żă‚’ć¤śç´˘ă‚¨ăłă‚¸ăłă‹ă‚‰éš ă—ăľă—ăźă€‚"],"You've removed this article.":["ă“ă®ćŠ•ç¨żă‚’ĺ‰Šé™¤ă—ăľă—ăźă€‚"],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["現在ă€ć”ąĺ–„ă™ă‚‹ćŠ•ç¨żă‚’é¸ćŠžă—ă¦ă„ăľă›ă‚“。前ă®ć‰‹é †ă§ćŠ•ç¨żă‚’ă„ăŹă¤ă‹é¸ćŠžă—ă¦ăŞăłă‚Żă‚’追加ă™ă‚‹ă¨ă€ă“ă“ă«ăŞăłă‚Żă®ćŹćˇăŚčˇ¨ç¤şă•れăľă™ă€‚"],"Loading link suggestions...":["ăŞăłă‚Żă®ćŹćˇă‚’読ăżčľĽă‚“ă§ă„ăľă™..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["ă“ă®ćŠ•ç¨żă«ĺŻľă™ă‚‹ćŹćˇăŻč¦‹ă¤ă‹ă‚Šăľă›ă‚“ă§ă—ăźăŚă€ă‚‚ăˇă‚Ťă‚“ă€é–˘é€Łă—ă¦ă„ă‚‹ă¨ć€ťă‚Źă‚Śă‚‹ćŠ•ç¨żă¸ă®ăŞăłă‚Żă‚’追加ă™ă‚‹ă“ă¨ăŻă§ăŤăľă™ă€‚"],"Skip":["スキăă—"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["ă“ă®ă‚ąă†ăă—ă®ćŠ•ç¨żăŻăľă é¸ćŠžă—ă¦ă„ăľă›ă‚“。前ă®ă‚ąă†ăă—ă§ă“れを行ă†ă“ă¨ăŚă§ăŤăľă™ă€‚"],"Is it up-to-date?":["最新ă§ă™ă‹ďĽź"],"Last Updated":["最終更新日時"],"You've moved this article to the next step.":["ă“ă®ćŠ•ç¨żă‚’ć¬ˇă®ă‚ąă†ăă—ă«ç§»ĺ‹•ă—ăľă—ăźă€‚"],"Unknown":["不ćŽ"],"Clear summary":["č¦ç´„をクăŞă‚˘ă—ăľă™"],"Add internal links towards your orphaned articles.":["孤立ă—ăźćŠ•ç¨żă¸ă®ĺ†…é¨ăŞăłă‚Żă‚’追加ă—ăľă™ă€‚"],"Should you update your article?":["投稿を更新ă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă‹ďĽź"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["サイăă«ăŻă€ä¸€ĺş¦ä˝śćă—ă¦ä»ĄćťĄă€ä¸€ĺş¦ă‚‚見ăźă“ă¨ă®ăŞă„多ăŹă®ă‚łăłă†ăłă„ăŚĺ«ăľă‚Śă¦ă„る可č˝ć€§ăŚă‚りăľă™ă€‚ ă“れらă®ăšăĽă‚¸ă«ç›®ă‚’通ă—ă¦ă€ăťă®ă‚łăłă†ăłă„ăŚăľă ă‚µă‚¤ăă«é–˘é€Łă—ă¦ă„ă‚‹ă‹ă©ă†ă‹ă‚’自問ă™ă‚‹ă“ă¨ăŚé‡Ťč¦ă§ă™ă€‚改善ă—ăźă„ă§ă™ă‹ă€ăťă‚Śă¨ă‚‚削除ă—ăľă™ă‹ďĽź"],"Start: Love it or leave it?":["開始:ăťă‚Śă‚’ć„›ă™ă‚‹ă‹ă€ăťă‚Śă¨ă‚‚残ă™ă‹ďĽź"],"Clean up your unlinked content to make sure people can find it":["ăŞăłă‚Żă•れă¦ă„ăŞă„コăłă†ăłă„をクăŞăĽăłă‚˘ăă—ă—ă¦ă€ä»–ă®äşşăŚč¦‹ă¤ă‘られるă‚ă†ă«ă—ăľă™"],"I've finished this workout":["ă“ă®ăă¬ăĽă‹ăłă‚°ă‚’終ăăľă—ăź"],"Reset this workout":["ăă¬ăĽă‹ăłă‚°ă‚’ăŞă‚»ăă"],"Well done!":["ă‚ăŹă‚„ăŁăźďĽ"],"Add internal links towards your cornerstones":["コăĽăŠăĽă‚ąăăĽăłă®ćŠ•ç¨żă¸ă®ĺ†…é¨ăŞăłă‚Żă‚’追加"],"Check the number of incoming internal links of your cornerstones":["コăĽăŠăĽă‚ąăăĽăłćŠ•ç¨żă®ĺŹ—äżˇĺ†…é¨ăŞăłă‚Żă®ć•°ă‚’確認ă—ăľă™"],"Start: Choose your cornerstones!":["開始:コăĽăŠăĽă‚ąăăĽăłă‚’é¸ćŠžă—ă¦ă­ďĽ"],"The cornerstone approach":["コăĽăŠăĽă‚ąăăĽăłă®ă‚˘ă—ă­ăĽă"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["注意:ă“ă®ăă¬ăĽă‹ăłă‚°ăŚă†ăľăŹć©źč˝ă—ă€ăŞăłă‚Żă®ćŹćˇă‚’ćŹäľ›ă™ă‚‹ă«ăŻă€SEO ă‡ăĽă‚żćś€é©ĺŚ–ă„ăĽă«ă‚’実行ă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚ 管ç†č€…ăŻă“れを %1$sSEO > ă„ăĽă«%2$să§ĺ®źčˇŚă§ăŤăľă™ă€‚"],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["注: 管ç†č€…㯠SEO 設定ă®ă‚łăĽăŠăĽă‚ąăăĽăłć©źč˝ă‚’無効ă«ă—ăľă—ăźă€‚ ă“ă®ăŻăĽă‚Żă‚˘ă‚¦ăを使用ă™ă‚‹ĺ ´ĺăŻă€ćś‰ĺŠąă«ă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚"],"I've finished this step":["ă“ă®ă‚ąă†ăă—を終了ă—ăľă—ăź"],"Revise this step":["ă“ă®ă‚ąă†ăă—を修正ă—ăľă™"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["ăšăĽă‚¸ă«ĺ†…é¨ăŞăłă‚ŻăŚč¦‹ă¤ă‹ă‚Šăľă›ă‚“ă§ă—ăźă€‚ コăłă†ăłă„ă«ĺ†…é¨ăŞăłă‚Żă‚’ăľă čż˝ĺŠ ă—ă¦ă„ăŞă„ă‹ă€Yoast SEO ăŚăťă‚Śă‚‰ă‚’イăłă‡ăクスă«ç™»éڞă—ă¦ă„ăľă›ă‚“。SEO > ă„ăĽă«ă§ SEO ă‡ăĽă‚żćś€é©ĺŚ–ă‚’ĺ®źčˇŚă™ă‚‹ă¨ă€Yoast SEO ă«ăŞăłă‚Żă®ă‚¤ăłă‡ăクスを作ćă•ă›ă‚‹ă“ă¨ăŚă§ăŤăľă™ă€‚"],"Incoming links":["着信ăŞăłă‚Ż"],"Edit to add link":["ăŞăłă‚Żă‚’追加ă™ă‚‹ăźă‚ă«ç·¨é›†"],"%s incoming link":["%s 着信ăŞăłă‚Ż"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["現在ă€ă‚łăĽăŠăĽă‚ąăăĽăłă¨ăžăĽă‚Żă•れăźćŠ•ç¨żăŻă‚りăľă›ă‚“。 投稿をコăĽăŠăĽă‚ąăăĽăłă¨ă—ă¦ăžăĽă‚Żă™ă‚‹ă¨ă€ă“ă“ă«čˇ¨ç¤şă•れăľă™ă€‚ "],"Focus keyphrase":["ă•ă‚©ăĽă‚«ă‚ąă‚­ăĽă•ă¬ăĽă‚ş"],"Article":["投稿"],"Readability score":["可読性スコア"],"SEO score":["SEO スコア"],"Copy failed":["コă”ăĽă«ĺ¤±ć•—ă—ăľă—ăź"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["ă“ă®%1$sスă†ăă—ăイスă†ăă—%2$să®ăă¬ăĽă‹ăłă‚°ă‚’使用ă—ă¦ă€ă™ăąă¦ă®ă‚łăĽăŠăĽă‚ąăăĽăłă®ă©ăłă‚­ăłă‚°ă‚’ĺ‘上ă•ă›ă¦ă­ďĽ"],"Rank with articles you want to rank with":["ăŠć°—ă«ĺ…Ąă‚Šă®ćŠ•ç¨żă§ă©ăłă‚­ăłă‚°ă‚’é”ć"],"Descriptive text":["説ćŽć–‡"],"Show the descriptive text":["説ćŽă†ă‚­ă‚ąăを表示"],"Show icon":["アイコăłă‚’表示"],"Yoast Estimated Reading Time":["Yoast 推定読書時間"],"Shows an estimated reading time based on the content length.":["コăłă†ăłă„ă®é•·ă•ă«ĺźşăĄă„ăźćŽ¨ĺ®ščŞ­ăżĺŹ–ă‚Šć™‚é–“ă‚’čˇ¨ç¤şă—ăľă™ă€‚"],"reading time":["読書時間"],"content length":["コăłă†ăłă„ă®é•·ă•"],"Estimated reading time:":["推定読書時間:"],"minute":["ĺ†"],"Settings":["設定"],"OK":["OK"],"Close":["é–‰ăă‚‹"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["WordPress ă®ă‚ŞăĽă«ă‚¤ăłăŻăłĺž‹ SEO ă‚˝ăŞăĄăĽă‚·ă§ăłă‚’ćŹäľ›ă—ăľă™ă€‚ăšăĽă‚¸ă‚łăłă†ăłă„ă®č§Łćžă‚„ XML サイăăžăă—ăŞă©ć§ă€…ăŞć©źč˝ăŚă‚りăľă™ă€‚"],"Type":["タイă—"],"Team Yoast":["ăăĽă  Yoast"],"Orphaned content":["孤立ă—ăźă‚łăłă†ăłă„"],"Synonyms":["類義語"],"Internal linking suggestions":["内é¨ăŞăłă‚Żă®ćŹćˇ"],"Enter a related keyphrase to calculate the SEO score":["関連ă™ă‚‹ă‚­ăĽă•ă¬ăĽă‚şă‚’入力ă—ă¦ă€SEO スコアをč¨ç®—ă—ăľă™"],"Related keyphrase":["関連性ă®ă‚ă‚‹ă‚­ăĽă•ă¬ăĽă‚ş"],"Add related keyphrase":["関連キăĽă•ă¬ăĽă‚şă‚’追加"],"Analysis results":["č§Łćžçµćžś"],"Help on choosing the perfect keyphrase":["完璧ăŞă‚­ăĽă•ă¬ăĽă‚şă‚’é¸ă¶ă«ăŻ"],"Help on keyphrase synonyms":["ă‚­ăĽă•ă¬ăĽă‚şă®ĺŚçľ©čŞžă«é–˘ă™ă‚‹ăă«ă—"],"Keyphrase":["ă‚­ăĽă•ă¬ăĽă‚ş"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["ć–°ă—ă„URL:{{link}}%s{{/link}}"],"Undo":["ĺ…ă«ć»ă™"],"Redirect created":["ăŞă€ă‚¤ă¬ă‚ŻăăŚä˝śćă•れăľă—ăź"],"%s just created a redirect from the old URL to the new URL.":["%să«ă‚りă€ĺʤă„URLă‹ă‚‰ć–°ă—ă„URLă¸ă®ăŞă€ă‚¤ă¬ă‚ŻăăŚä˝śćă•れăľă—ăźă€‚"],"Old URL: {{link}}%s{{/link}}":["古ㄠURL:{{link}}%s{{/link}}"],"Keyphrase synonyms":["ă‚­ăĽă•ă¬ăĽă‚şă®ĺŚçľ©čŞž"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["An error occurred: unfortunately our Morphology feature is not working. Please make sure you {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly."],"seo":["seo"],"internal linking":["内é¨ăŞăłă‚Ż"],"site structure":["サイă構造"],"We could not find any relevant articles on your website that you could link to from your post.":["投稿ă‹ă‚‰ăŞăłă‚Żă§ăŤă‚‹é–˘é€Łč¨äş‹ă‚’サイă内ă«č¦‹ă¤ă‘ă‚‹ă“ă¨ăŚă§ăŤăľă›ă‚“ă§ă—ăźă€‚"],"Load suggestions":["ćŹćˇă‚’ă­ăĽă‰"],"Refresh suggestions":["ćŹćˇă‚’ć›´ć–°"],"Write list…":["ăŞă‚ąăを入力..."],"Adds a list of links related to this page.":["ă“ă®ăšăĽă‚¸ă«é–˘é€Łă™ă‚‹ăŞăłă‚Żă®ăŞă‚ąăを追加ă—ăľă™ă€‚"],"related posts":["関連投稿"],"related pages":["関連ăšăĽă‚¸"],"Adds a table of contents to this page.":["ă“ă®ăšăĽă‚¸ă«ç›®ć¬ˇă‚’追加ă—ăľă™ă€‚"],"links":["ăŞăłă‚Ż"],"toc":["目次"],"Copy link":["ăŞăłă‚Żă‚’コă”ăĽ"],"Copy link to suggested article: %s":["ćŹćˇč¨äş‹ă¸ă®ăŞăłă‚Żă‚’コă”ăĽ: %s"],"Add a title to your post for the best internal linking suggestions.":["最é«ă®ĺ†…é¨ăŞăłă‚Żă®ćŹćˇă®ăźă‚ă«ă‚ăŞăźă®ćŠ•ç¨żă«ă‚żă‚¤ăă«ă‚’追加ă—ă¦ăŹă ă•ă„。"],"Add a metadescription to your post for the best internal linking suggestions.":["最良ă®ĺ†…é¨ăŞăłă‚Żă®ćŹćˇă®ăźă‚ă«ă€ăˇă‚żčެćŽă‚’投稿ă«čż˝ĺŠ ă—ă¦ăŹă ă•ă„。"],"Add a title and a metadescription to your post for the best internal linking suggestions.":["最良ă®ĺ†…é¨ăŞăłă‚Żă®ćŹćˇă®ăźă‚ă«ă€ćŠ•ç¨żă«ă‚żă‚¤ăă«ă¨ăˇă‚żčެćŽă‚’追加ă—ă¦ăŹă ă•ă„。"],"Also, add a title to your post for the best internal linking suggestions.":["ăľăźă€ćś€é«ă®ĺ†…é¨ăŞăłă‚Żă®ćŹćˇă®ăźă‚ă«ćŠ•ç¨żă«ă‚żă‚¤ăă«ă‚’追加ă—ă¦ăŹă ă•ă„。"],"Also, add a metadescription to your post for the best internal linking suggestions.":["ăľăźă€ćś€č‰Żă®ĺ†…é¨ăŞăłă‚Żă®ćŹćˇă®ăźă‚ă«ă€ćŠ•ç¨żă«ăˇă‚żčެćŽă‚’追加ă—ă¦ăŹă ă•ă„。"],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["ăľăźă€ćś€é«ă®ĺ†…é¨ăŞăłă‚Żă®ćŹćˇă®ăźă‚ă«ă€ćŠ•ç¨żă«ă‚żă‚¤ăă«ă¨ăˇă‚żčެćŽă‚’追加ă—ă¦ăŹă ă•ă„。"],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["ă†ă‚­ă‚ąăを追加ă™ă‚‹ă¨ă™ăă«ă€ćŠ•ç¨żă«ăŞăłă‚Żă§ăŤă‚‹é–˘é€Łă‚łăłă†ăłă„ă®ăŞă‚ąăăŚčˇ¨ç¤şă•れăľă™ă€‚"],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["サイăă®ć§‹é€ ă‚’改善ă™ă‚‹ă«ăŻă€ă‚µă‚¤ă上ă®ä»–ă®é–˘é€Łă™ă‚‹ćŠ•ç¨żăľăźăŻăšăĽă‚¸ă«ăŞăłă‚Żă™ă‚‹ă“ă¨ă‚’検討ă—ă¦ăŹă ă•ă„。 "],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["ăŞăłă‚Żă§ăŤă‚‹é–˘é€Łă‚łăłă†ăłă„ă®ăŞă‚ąăăŚčˇ¨ç¤şă•れるăľă§ă«ć•°ç§’ă‹ă‹ă‚Šăľă™ă€‚ ćŹćˇăŚă‚り次第ă€ă“ă“ă«čˇ¨ç¤şă•れăľă™ă€‚"],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}詳細ă«ă¤ă„ă¦ăŻă€SEO{{/a}} ă®ĺ†…é¨ăŞăłă‚Żă«é–˘ă™ă‚‹ă‚¬ă‚¤ă‰ă‚’ă”覧ăŹă ă•ă„。"],"Copied!":["コă”ăĽă—ăľă—ăźă€‚"],"Not supported!":["サăťăĽă対象外ă§ă™ă€‚"],"Are you trying to use multiple related keyphrases? You should add them separately.":["関連ă™ă‚‹č¤‡ć•°ă®ă‚­ăĽă•ă¬ăĽă‚şă‚’使用ă—ă‚ă†ă¨ă—ă¦ă„ăľă™ă‹ďĽź 個ĺĄă«čż˝ĺŠ ă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚"],"Your keyphrase is too long. It can be a maximum of 191 characters.":["ă‚­ăĽă•ă¬ăĽă‚şăŚé•·ă™ăŽăľă™ă€‚最大191文字ă«ă™ă‚‹ă“ă¨ăŚă§ăŤăľă™ă€‚"],"Add as related keyphrase":["関連ă™ă‚‹ă‚­ăĽă•ă¬ăĽă‚şă¨ă—ă¦čż˝ĺŠ "],"Added!":["追加!"],"Remove":["削除"],"Table of contents":["目次"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["最é©ăŞ%1$săŞăłă‚Żă®ćŹćˇ%2$să‚’ćŹäľ›ă§ăŤă‚‹ă‚ă†ă«ă€ă‚µă‚¤ăă®SEOă‡ăĽă‚żă‚’最é©ĺŚ–ă™ă‚‹ĺż…č¦ăŚă‚りăľă™ă€‚%3$sSEO ă‡ăĽă‚żă®ćś€é©ĺŚ–ă‚’é–‹ĺ§‹ă™ă‚‹%4$s"],"Create a Zap in %s":["%să§ Zap を作ćă™ă‚‹ "]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nb_NO.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nb_NO.json new file mode 100644 index 00000000..da576de6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nb_NO.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"nb_NO"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":[],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":[],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":[],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":[],"Social preview":[],"Desktop result":[],"Mobile result":[],"Apply %s description":[],"Apply %s title":[],"Next":[],"Previous":[],"Generate 5 more":[],"Google preview":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":[],"%1$sKeyphrase distribution%2$s: Good job!":[],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[],"Word complexity":[],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":[],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":[],"Meta tags":[],"Not available":[],"Checks":[],"Focus Keyphrase":[],"Good":[],"No index":[],"Front-end SEO inspector":[],"Focus keyphrase not set":[],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":[],"Reset API key":[],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":[],"Your API key":[],"Go to your %s dashboard":[],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":[],"Your %s dashboard":[],"Verify connection":[],"Verify your connection":[],"Create a Zap":[],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":[],"%s API key":[],"You'll need this API key later on in %s when you're setting up your Zap.":[],"Copy your API key":[],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":[],"Manage %s settings":[],"Connect to %s":[],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Merk: For at denne øvelsen skal fungere godt, mĂĄ du kjøre SEO-dataoptimaliseringsverktøyet. Administratorer kan kjøre dette under %1$sSEO > Tools%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Du har lagt til koblinger til foreldreløse artikler, og du har ryddet opp i de som ikke lenger var relevante. Flott jobb! Ta en titt pĂĄ sammendraget nedenfor og du kan feire det du har oppnĂĄdd!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Undersøk innholdet i denne listen nøye, og foreta de nødvendige oppdateringene. Hvis du trenger hjelp med ĂĄ oppdatere, har vi et godt %1$s blogginnlegg som kan veilede deg hele veien%2$s (klikk for ĂĄ ĂĄpne i en ny fane)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$s Trenger du mer veiledning? Vi har dekket hvert eneste trinn detaljert i følgende guide: %2$sHvordan bruke den %7$s foreldreløse-innholdstreningen%3$s%4$s%5$s. %6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Du har nettopp gjort ditt aller beste innhold enkelt ĂĄ finne, og mer sannsynlig ĂĄ rangere høyt! SĂĄnn skal det gjøres! Fra tid til annen sĂĄ mĂĄ du huske ĂĄ sjekke om hjørnesteinene dine fĂĄr nok lenker!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Ta en titt pĂĄ listen nedenfor. Har hjørnesteinene dine (merket med %1$s) flest interne koblingene som leder til de? Klikk pĂĄ Optimaliser-knappen hvis du tror en hjørnestein trenger flere koblinger. Det vil ta artikkelen din til nye høyder."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Har alle hjørnesteinene dine grønne punkter? For ĂĄ oppnĂĄ det beste resultatet, vurder ĂĄ redigere de som ikke har det!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Hvilke artikler vil du at skal rangere høyest? Hvilke artikler vil publikum finne nyttigst og mest komplette? Klikk pilen som peker nedover, og se etter artikler som oppfyller disse vilkĂĄrene. Vi merker automatisk de artiklene som du velger fra listen som hjørnesteinsinnhold."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$s Trenger du mer veiledning? Vi har dekket hvert trinn mer detaljert i: %2$sHvordan bruke %7$s hjørnesteinstrening%3$s%4$s%5$s. %6$s"],"Yoast Table of Contents":["Yoast innholdsfortegnelse"],"Yoast Related Links":["Yoast relaterte lenker"],"Finish optimizing":["Fullfør optimalisering"],"You've finished adding links to this article.":["Du er ferdig med ĂĄ legge til lenker i denne artikkelen."],"Optimize":["Optimaliser"],"Added to next step":["Lagt til i neste trinn"],"Choose cornerstone articles...":["Velg hjørnesteinsartikler..."],"Loading data...":["Laster inn data..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Du har ikke ryddet opp eller oppdatert noen artikler ennĂĄ ved hjelp av denne treningsøkten. NĂĄr du har gjort det, vises et sammendrag av arbeidet ditt her."],"Skipped":["Hoppet over"],"Hidden from search engines.":["Skjult for søkemotorer."],"Removed":["Fjernet"],"Improved":["Forbedret"],"Resolution":["Oppløsning"],"Loading redirect options...":["Laster inn alternativer for omadressering..."],"Remove and redirect":["Fjern og omadresser"],"Custom url:":["Egendefinert URL-adresse:"],"Related article:":["Relatert artikkel:"],"Home page:":["Hjemmeside:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Du er i ferd med ĂĄ fjerne %1$s%2$s%3$s. For ĂĄ forhindre 404s pĂĄ nettstedet ditt, bør du omdirigere den til en annen side pĂĄ nettstedet ditt. Hvor vil du omdirigere den?"],"SEO Workout: Remove article":["SEO-trening: Fjern artikkel"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Alt ser bra ut! Vi har ikke funnet noen artikler pĂĄ nettstedet ditt som er eldre enn seks mĂĄneder og mottar for fĂĄ lenker pĂĄ nettstedet ditt. Kom tilbake hit senere for nye forslag til opprydding!"],"Hide from search engines":["Skjul fra søkemotorer"],"Improve":["Forbedre"],"Are you sure you wish to hide this article from search engines?":["Er du sikker pĂĄ at du vil skjule denne artikkelen fra søkemotorer?"],"Action":["Handling"],"You've hidden this article from search engines.":["Du har skjult denne artikkelen for søkemotorer."],"You've removed this article.":["Du har fjernet denne artikkelen."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Du har for øyeblikket ikke valgt noen artikler som skal forbedres. Velg noen artikler i de forrige trinnene for ĂĄ legge til koblinger, sĂĄ viser vi deg koblingsforslag her."],"Loading link suggestions...":["Laster inn koblingsforslag..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Vi fant ingen forslag til denne artikkelen, men selvfølgelig kan du fortsatt legge til lenker til artikler du tror er relatert."],"Skip":["Hopp over"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Du har ikke valgt noen artikler for dette trinnet ennĂĄ. Du kan gjøre det i forrige trinn."],"Is it up-to-date?":["Er det oppdatert?"],"Last Updated":["Sist oppdatert"],"You've moved this article to the next step.":["Du har flyttet denne artikkelen til neste trinn."],"Unknown":["Ukjent"],"Clear summary":["Fjern sammendrag"],"Add internal links towards your orphaned articles.":["Legg til interne lenker til foreldreløse artikler."],"Should you update your article?":["Bør du oppdatere artikkelen?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Nettsiden kan inneholde mye innhold som du har opprettet Ă©n gang, og som du aldri har sett tilbake pĂĄ siden. Det er viktig ĂĄ gĂĄ gjennom disse sidene og spørre deg selv om innholdet fortsatt er relevant for nettstedet ditt. Bør du forbedre den eller fjerne den?"],"Start: Love it or leave it?":["Start: Elsk det eller forlat det?"],"Clean up your unlinked content to make sure people can find it":["Rydd opp i innhold uten koblinger for ĂĄ sikre at andre kan finne det"],"I've finished this workout":["Jeg er ferdig med denne treningsøkten"],"Reset this workout":["Tilbakestill denne treningsøkten"],"Well done!":["Godt gjort!"],"Add internal links towards your cornerstones":["Legg til interne koblinger mot hjørnesteinene dine"],"Check the number of incoming internal links of your cornerstones":["Sjekk antall innkommende interne koblinger til hjørnesteinene dine"],"Start: Choose your cornerstones!":["Start: Velg dine hjørnesteiner!"],"The cornerstone approach":["Hjørnestein tilnærming"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Merk: For at denne treningsøkten skal fungere bra og for ĂĄ tilby deg koblingsforslag, mĂĄ du kjøre SEO-dataoptimaliseringsverktøyet. Administratorer kan kjøre dette under %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":["Jeg er ferdig med dette trinnet"],"Revise this step":["Revider dette trinnet"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Finner ikke interne koblinger pĂĄ sidene dine. Enten har du ikke lagt til noen interne lenker til innholdet ditt ennĂĄ, eller Yoast SEO indeksert dem ikke. Du kan fĂĄ Yoast SEO til ĂĄ indeksere koblingene dine ved ĂĄ kjøre SEO-dataoptimalisering under SEO > Tools."],"Incoming links":["Innkommende lenker"],"Edit to add link":["Rediger for ĂĄ legge til kobling"],"%s incoming link":[],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Du har for øyeblikket ingen artikler merket som hjørnestein. NĂĄr du merker artiklene dine som hjørnestein, vil de dukke opp her."],"Focus keyphrase":["Nøkkelfrase for fokus"],"Article":["Artikkel"],"Readability score":["Lesbarhetspoeng"],"SEO score":["Alle SEO-resultater"],"Copy failed":["Kopiering mislyktes"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Forbedre rangeringen for alle hjørnesteinene dine ved ĂĄ bruke denne %1$strinn-for-steg-treningen! %2$s"],"Rank with articles you want to rank with":["Ranger med artikler du vil rangere med"],"Descriptive text":["Beskrivende tekst"],"Show the descriptive text":["Vis den beskrivende teksten"],"Show icon":["Vis ikon"],"Yoast Estimated Reading Time":["Yoast beregnet lesetid"],"Shows an estimated reading time based on the content length.":["Viser en beregnet lesetid basert pĂĄ innholdslengde."],"reading time":["lesetid"],"content length":["innholdslengde"],"Estimated reading time:":["Bergenet lesetid:"],"minute":["minutt","minutter"],"Settings":["Innstillinger"],"OK":["OK"],"Close":["Lukk"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Den første virkelige allt-i-ett SEO løsning for WordPress, inkluderer innholdsanalyse, XML, sidekart og mye mer."],"Type":["Type"],"Team Yoast":["Team Yoast"],"Orphaned content":["Foreldreløst innhold"],"Synonyms":["Synonymer"],"Internal linking suggestions":["Forslag til interne lenker"],"Enter a related keyphrase to calculate the SEO score":["Angi en relatert nøkkelfrase for ĂĄ beregne SEO-poengsummen"],"Related keyphrase":["Relatert nøkkelfrase"],"Add related keyphrase":["Legg til beslektet nøkkelfrase"],"Analysis results":["Analyseresultater"],"Help on choosing the perfect keyphrase":["Hjelp til ĂĄ velge den perfekte nøkkelfrasen"],"Help on keyphrase synonyms":["Hjelp for synonymer til nøkkelfrase"],"Keyphrase":["Nøkkelfrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Ny URL: {{link}}%s{{/link}}"],"Undo":["Angre"],"Redirect created":["Omdirigering opprettet"],"%s just created a redirect from the old URL to the new URL.":["%s lagde akkurat en omdirigering fra den gamle URLen til den nye URLen."],"Old URL: {{link}}%s{{/link}}":["Gammel URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Nøkkelord-synonymer"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[],"seo":["seo"],"internal linking":["Internlenking"],"site structure":["nettstedstruktur"],"We could not find any relevant articles on your website that you could link to from your post.":["Vi kunne ikke finne noen relevante artikler pĂĄ nettstedet ditt som du kan lenke til fra innlegget ditt."],"Load suggestions":["Last forslag"],"Refresh suggestions":["Gjenoppfrisk forslag"],"Write list…":["Skriv liste..."],"Adds a list of links related to this page.":["Legger til en liste over lenker relatert til denne siden."],"related posts":["relaterte innlegg"],"related pages":["relaterte sider"],"Adds a table of contents to this page.":["Legger til en innholdstabell til denne siden."],"links":["lenker"],"toc":["ift"],"Copy link":["Kopier lenke"],"Copy link to suggested article: %s":["Kopier lenke til foreslĂĄtt artikkel: %s"],"Add a title to your post for the best internal linking suggestions.":["Legg til en tittel til ditt innlegg for ĂĄ fĂĄ de beste internlenkeforslagene."],"Add a metadescription to your post for the best internal linking suggestions.":["Leg til en metabeskrivelse til ditt innlegg for ĂĄ fĂĄ de beste forslagene tii interne lenker."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Legg til en tittel og metabeskrivelse til ditt innlegg for ĂĄ fĂĄ de beste forslagene for interne lenker."],"Also, add a title to your post for the best internal linking suggestions.":["Legg dessuten til en metabeskrivele til ditt innlegg for de beste interne lenkeforslagene."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Legg dessuten til en metabeskrivel for ditt innlegg for de beste interne lenkeforslagene."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Legg dessuten til tittel og en metabeskrivelse for ditt innlegg for ĂĄ fĂĄ de beste interene lenkeforslagene."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Straks du legger til litt mer brødtekst vil vi her gi deg en liste over relatert innhold som du kan lenke til i ditt innlegg."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Hvis du vil forbedre nettstedstrukturen, kan du vurdere ĂĄ koble til andre relevante innlegg eller sider pĂĄ nettstedet ditt."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Det tar noen sekunder ĂĄ vise deg en liste over relatert innhold som du kan koble til. Forslagene vil bli vist her sĂĄ snart vi har dem."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Les vĂĄr veileder om internlenking for SEO{{/a}} for ĂĄ lære mer."],"Copied!":["Kopiert!"],"Not supported!":["Ikke støttet!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Prøver du ĂĄ bruke flere beslektede nøkkelfraser? Du bør legge dem til separat."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Nøkkelfrasen er for lang. Det kan maksimalt være 191 tegn."],"Add as related keyphrase":["Legg til som beslektet nøkkelfrase"],"Added!":["Lagt til!"],"Remove":["Fjern"],"Table of contents":["Innholdsfortegnelse"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Vi mĂĄ optimalisere nettstedets SEO-data slik at vi kan tilby deg de beste %1$skoblingsforslag%2$s.\n\n%3$s Start SEO-dataoptimalisering%4$s"],"Create a Zap in %s":["Lag en Zap pĂĄ %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nl_BE.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nl_BE.json new file mode 100644 index 00000000..b28aae5f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nl_BE.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl_BE"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["De aanvraag kwam terug met de volgende fout: \"%s\""],"X share preview":["X deelvoorbeeld"],"AI X title generator":["AI X titelgenerator"],"AI X description generator":["AI X beschrijving generator"],"X preview":["X voorbeeld"],"Please enter a valid focus keyphrase.":["Voer een geldige focus keyphrase in."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Om deze functie te gebruiken, moet je site publiek toegankelijk zijn. Dit geldt zowel voor test websites als voor instanties waar je REST-API is beveiligd met een wachtwoord. Zorg ervoor dat je website toegankelijk is voor het publiek en probeer het opnieuw. Als het probleem zich blijft voordoen, neem dan %1$scontact op met ons ondersteuningsteam%2$s."],"Yoast AI cannot reach your site":["Yoast AI kan je website niet bereiken"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Om toegang te krijgen tot deze functie heb je actieve %2$s en %3$s abonnementen nodig. %5$sActiveer je abonnementen in %1$s%6$s of %7$svraag een nieuwe aan %4$s%8$s. Vernieuw daarna deze pagina zodat de functie correct werkt. Dit kan tot 30 seconden duren."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["De AI titelgenerator vereist dat de SEO analyse is ingeschakeld voor gebruik. Om deze in te schakelen, navigeer je naar %2$sSite functies van %1$s%3$s, schakel je de SEO analyse in en klik je op 'Wijzigingen opslaan'. Als de SEO analyse is uitgeschakeld in je WordPress gebruikersprofiel, ga dan naar je profiel en schakel het daar in. Neem contact op met je beheerder als je geen toegang hebt tot deze instellingen."],"Social share preview":["Voorbeeld social delen"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Om de Yoast AI functie te kunnen blijven gebruiken, aanvragen we je om de frequentie van je aanvragen te verlagen. Ons %1$shulpartikel%2$s biedt richtlijnen voor het effectief abonnementen en abonnementen van je aanvragen voor een geoptimaliseerde workflow."],"You've reached the Yoast AI rate limit.":["Je hebt de Yoast AI rate limiet bereikt."],"Allow":["Toestaan"],"Deny":["Weigeren"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Om deze video te zien, moet je %1$s toestaan om ingesloten video's van %2$s te laden."],"Text generated by AI may be offensive or inaccurate.":["Door AI gegenereerde tekst kan beledigend of onnauwkeurig zijn."],"(Opens in a new browser tab)":["(Opent in een nieuwe browsertab)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Versnel je workflow met generatieve AI. Ontvang titel- en beschrijvingssuggesties van hoge kwaliteit voor je zoekopdracht en sociale uitstraling. %1$sMeer informatie%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Genereer titels en beschrijvingen met Yoast AI!"],"New to %1$s":["Nieuw bij %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Ik ga akkoord met de %1$sDienstvoorwaarden%2$s & %3$s Privacybeleid%4$s van de Yoast AI dienst. Dit houdt ook in dat ik toestemming geef voor het verzamelen en gebruiken van gegevens om de gebruikerservaring te verbeteren."],"Start generating":["Begin met genereren"],"Yes, revoke consent":["Ja, toestemming intrekken"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Als je je toestemming intrekt, heb je geen toegang meer tot de Yoast AI functies. Weet je zeker dat je je toestemming wil intrekken?"],"Something went wrong, please try again later.":["Er is iets misgegaan, probeer het later nog eens."],"Revoke AI consent":["AI toestemming intrekken"],"AI title generator":["AI titel generator"],"AI description generator":["AI beschrijving generator"],"AI social title generator":["AI social titelgenerator"],"AI social description generator":["AI social beschrijving generator"],"Dismiss":["Negeren"],"Don’t show again":["Niet meer laten zien"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTip%2$s: Verbeter de nauwkeurigheid van je gegenereerde AI titels door meer inhoud op je pagina te schrijven."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTip%2$s: Verbeter de nauwkeurigheid van je gegenereerde AI beschrijvingen door meer inhoud te schrijven op je pagina."],"Try again":["Opnieuw proberen"],"Social preview":["Sociaal voorbeeld"],"Desktop result":["Desktop resultaat"],"Mobile result":["Resultaat op mobiel"],"Apply %s description":[],"Apply %s title":[],"Next":["Volgende"],"Previous":["Vorige"],"Generate 5 more":["Genereer nog 5"],"Google preview":["Google voorbeeld"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Vanwege de strenge ethische richtlijnen van OpenAI en het %1$sgebruiksbeleid%2$s kunnen we geen SEO titels voor je pagina genereren. Als je van plan bent om AI te gebruiken, vermijd dan het gebruik van expliciete, gewelddadige of seksueel expliciete inhoud. %3$sLees meer over hoe je je pagina kunt configureren om de beste resultaten met AI te behalen%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Vanwege de strenge ethische richtlijnen van OpenAI en het beleid voor %1$sgebruik%2$s kunnen we geen metabeschrijvingen voor je pagina genereren. Als je van plan bent AI te gebruiken, vermijd dan expliciete, gewelddadige of seksueel expliciete inhoud. %3$sLees meer over hoe je je pagina kunt configureren om de beste resultaten met AI te behalen%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Om toegang te krijgen tot deze functie heb je een actief %1$s abonnement nodig. Gelieve %3$sje abonnement te activeren in %2$s%4$s of %5$seen nieuw %1$s abonnement te nemen%6$s. Klik daarna op de knop om deze pagina te verversen zodat de functie correct werkt. Dit kan tot 30 seconden duren."],"Refresh page":["Pagina vernieuwen"],"Not enough content":["Niet genoeg inhoud"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Probeer het later nog eens. Als het probleem zich blijft voordoen, neem dan %1$scontact op met ons ondersteuningsteam%2$s!"],"Something went wrong":["Er ging iets mis"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Er lijkt een time-out van de verbinding te zijn opgetreden. Controleer je internetverbinding en probeer het later nog eens. Als het probleem zich blijft voordoen, neem dan %1$scontact op met ons ondersteuningsteam.%2$s"],"Connection timeout":["Time-out verbinding"],"Use AI":["Gebruik AI"],"Close modal":["Modal sluiten"],"Learn more about AI (Opens in a new browser tab)":["Meer informatie over AI (Opent in een nieuw browserscherm)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitle%3$s: je pagina heeft nog geen titel. %2$sVoeg er een toe%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitle%2$s: je pagina heeft een titel. Goed gedaan!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sKeyphrase verdeling%3$s: %2$sGebruik je keyphrases of synoniemen in de tekst zodat we de keyphrase dichtheid kunnen bepalen%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sKeyphrase verdeling%2$s: Goed gedaan!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase verdeling%3$s: Slecht verdeeld. In sommige delen van je tekst komen de keyphrase of synoniemen niet voor. %2$sVerdeel ze beter over de tekst%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase verdeling%3$s: Zeer slecht verdeeld. In sommige delen van je tekst komen de keyphrase of synoniemen niet voor. %2$sVerdeel ze beter over de tekst%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: je gebruikt niet te veel ingewikkelde woorden, waardoor je tekst makkelijk te lezen is. Goed gedaan!"],"Word complexity":["Woord complexiteit"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s van de woorden in je tekst wordt als complex beschouwd. %3$sProbeer om kortere en meer bekende woorden te gebruiken om de leesbaarheid te verbeteren%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sUitlijning%3$s: er is een lange sectie met tekst die uitgelijnd is in het midden. %2$sWe raden aan deze links uit te lijnen%3$s.","%1$sUitlijning%3$s: er zijn %4$s lange secties met tekst die uit het midden zijn uitgelijnd. %2$sWe raden aan deze links uit te lijnen%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sUitlijning%3$s: er is een lange sectie met tekst die uitgelijnd is in het midden. %2$sWe raden aan deze rechts uit te lijnen%3$s.","%1$sUitlijning%3$s: er zijn %4$s lange secties tekst die uit het midden zijn uitgelijnd. %2$sWe raden aan om ze rechts uit te lijnen%3$s."],"Select image":["Selecteer afbeelding"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Misschien weet je het niet eens, maar er kunnen pagina's op je website zijn die geen links krijgen. Dat is een SEO probleem, want het is moeilijk voor zoekmachines om pagina's te vinden die geen links krijgen. Het is dus moeilijker voor ze om te scoren. We noemen deze pagina's verweesde inhoud. In deze training vinden we de verweesde inhoud op je website en helpen we je om er snel links aan toe te voegen, zodat het een kans krijgt om te scoren!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Tijd om links toe te voegen! Hieronder zie je een lijst met je verweesde artikelen. Onder elk artikel staan suggesties voor gerelateerde pagina's waarvan je een link kunt toevoegen. Wanneer je de link toevoegt, zorg er dan voor dat je hem in een relevante zin plaatst die gerelateerd is aan je verweesde artikel. Blijf links toevoegen aan elk van de verweesde artikels tot je tevreden bent met het aantal links dat naar hen verwijst."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Tijd om wat links toe te voegen! Hieronder zie je een lijst met je cornerstone. Onder elke cornerstone staan suggesties voor artikelen waar je een link van zou kunnen toevoegen. Wanneer je de link toevoegt, zorg er dan voor dat je hem in een relevante zin plaatst die gerelateerd is aan je cornerstone artikel. Blijf links toevoegen van zoveel gerelateerde artikelen als je nodig hebt, totdat je cornerstones de meeste interne links hebben die ernaar verwijzen."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Sommige artikelen op je site zijn %1$sde%2$s belangrijkste. Ze beantwoorden vragen van mensen en lossen hun problemen op. Ze verdienen het dus om te worden gerangschikt! Bij %3$s noemen we deze artikelen cornerstones. Een van de manieren om ze te laten scoren is om er voldoende links naar te laten verwijzen. Meer links geven zoekmachines het signaal dat deze artikelen belangrijk en waardevol zijn. In deze training helpen we je om links toe te voegen aan je cornerstone artikelen!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Zodra je wat meer tekst hebt toegevoegd, kunnen we je vertellen wat het formaliteit niveau van je tekst is."],"Overall, your text appears to be %1$s%3$s%2$s.":["Over het algemeen lijkt je tekst %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["De Zapier integratie wordt verwijderd uit %1$s in 20.7 (releasedatum 9 mei). Als je vragen hebt, neem dan contact op met %2$s."],"Maximum heading level":["Maximum koptekst niveau"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Je hebt Link suggesties uitgeschakeld, wat nodig is om gerelateerde links te laten werken. Als je gerelateerde links wil toevoegen, ga dan naar Website eigenschappen en schakel Link suggesties in."],"Schema":["Schema"],"Meta tags":["Meta tags"],"Not available":["Niet beschikbaar"],"Checks":["Checks"],"Focus Keyphrase":["Focus Keyphrase"],"Good":["Goed"],"No index":["Noindex"],"Front-end SEO inspector":["Front-end SEO inspector"],"Focus keyphrase not set":["Focus keyphrase niet ingevuld"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Zodra je je zap hebt gepubliceerd in je %s dashboard, kan je controleren of hij actief is en verbonden met je website."],"Reset API key":["Reset API sleutel"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Je bent momenteel verbonden met %s met de volgende API sleutel. Als je opnieuw verbinding wilt maken met een andere API sleutel, kun je hieronder je sleutel resetten."],"Your API key":["Je API sleutel"],"Go to your %s dashboard":["Ga naar je %s dashboard"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Je bent succesvol verbonden met %1$s! Om je zap te beheren, ga je naar je %2$s dashboard."],"Your %s dashboard":["Je %s dashboard"],"Verify connection":["Controleer verbinding"],"Verify your connection":["Controleer je verbinding"],"Create a Zap":["Maak een zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Log in op je %1$s account en begin met het maken van je eerste zap! Merk op dat je maar 1 zap kunt maken met een trigger event uit %2$s. Binnen deze zap kun je een of meer acties kiezen."],"%s API key":["%s API key"],"You'll need this API key later on in %s when you're setting up your Zap.":["Deze API sleutel heb je later nodig in %s bij het opzetten van je zap."],"Copy your API key":["Kopieer je API sleutel"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Om een verbinding op te zetten, zorg ervoor dat je de gegeven API sleutel hieronder kopieert en gebruikt om een zap te maken en aan te zetten binnen je %s account."],"Manage %s settings":["Beheer %s instellingen"],"Connect to %s":["Maak verbinding met %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Let op: Om deze workout goed te laten werken, moet je je SEO gegevens optimaliseren. Beheerders kunnen dit doen via %1$sSEO > Tools%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Je hebt links toegevoegd naar je verweesde artikelen, en je hebt de artikelen opgeruimd die niet langer relevant waren. Goed gedaan! Bekijk de samenvatting hieronder en vier wat je hebt bereikt!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Kijk kritisch naar de inhoud van deze lijst en breng de nodige updates aan. Als je hulp nodig hebt bij het bijwerken, hebben we een heel %1$snuttig blogbericht dat je helemaal op weg kan helpen%2$s (klik om te openen in een nieuwe tab)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sMeer begeleiding nodig? we hebben elke stap in meer detail behandeld in de volgende gids: %2$sHoe gebruik je de %7$s verweesde inhoud workout%3$s%4$s %5$s .%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Je hebt zojuist je beste inhoud makkelijk vindbaar gemaakt, en meer kans om te scoren! Goed gedaan! Van tijd tot tijd, vergeet niet om te controleren of je cornerstones genoeg links krijgen!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Kijk eens naar de lijst hieronder. Hebben je cornerstones (gemarkeerd met %1$s) de meeste interne links die ernaartoe wijzen? Klik op de optimaliseren knop als je denkt dat een cornerstone meer links nodig heeft. Dat zal het artikel naar de volgende stap brengen."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Hebben al je cornerstones groene kogels? Voor het beste resultaat kun je overwegen degene die dat niet hebben te bewerken!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Met welke artikelen wil je het hoogst ranken? Welke artikelen zou je publiek het meest nuttig en compleet vinden? Klik op het pijltje en selecteer de artikelen die aan die criteria voldoen. De artikelen die je op deze manier selecteert, markeren we automatisch als cornerstone."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sMeer hulp nodig? We lichten elke stap uitgebreid toe in: %2$sHoe gebruik je de %7$s cornerstone workout%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast inhoudsopgave"],"Yoast Related Links":["Yoast gerelateerde links"],"Finish optimizing":["Optimaliseren afronden"],"You've finished adding links to this article.":["Je bent klaar met het toevoegen van links aan dit artikel."],"Optimize":["Optimaliseer"],"Added to next step":["Toegevoegd aan volgende stap"],"Choose cornerstone articles...":["Kies cornerstone artikelen..."],"Loading data...":["Gegevens laden..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Je hebt nog geen artikelen opgeschoond of bijgewerkt met deze workout. Zodra je dit hebt gedaan, wordt hier een samenvatting van je werk weergegeven."],"Skipped":["Overgeslagen"],"Hidden from search engines.":["Verborgen voor zoekmachines."],"Removed":["Verwijderd"],"Improved":["Verbeterd"],"Resolution":["Oplossing"],"Loading redirect options...":["Redirect opties aan het laden ..."],"Remove and redirect":["Verwijder en redirect"],"Custom url:":["Aangepaste URL:"],"Related article:":["Gerelateerd artikel:"],"Home page:":["Homepage:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Je staat op het punt om %1$s%2$s%3$s te verwijderen. Om 404s te voorkomen, zou je het moeten redirecten naar een andere pagina op je site. Waar wil je het naartoe redirecten?"],"SEO Workout: Remove article":["SEO Workout: Verwijder artikel"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Alles ziet er goed uit! We hebben geen artikelen op je website gevonden die ouder zijn dan zes maanden en die te weinig links op je website ontvangen. Kom hier later terug voor nieuwe suggesties!"],"Hide from search engines":["Verberg voor zoekmachines"],"Improve":["Verbeter"],"Are you sure you wish to hide this article from search engines?":["Weet je zeker dat je dit artikel voor zoekmachines wilt verbergen?"],"Action":["Actie"],"You've hidden this article from search engines.":["Je hebt dit artikel verborgen voor zoekmachines."],"You've removed this article.":["Je hebt dit artikel verwijderd."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Je hebt op dit moment nog geen artikelen geselecteerd om te verbeteren. Selecteer een paar artikelen in de vorige stappen om links aan toe te voegen en wij zullen je link suggesties hier laten zien."],"Loading link suggestions...":["Linksuggesties aan het laden ..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["We hebben geen suggesties voor dit artikel gevonden, maar je kan natuurlijk nog steeds links toevoegen naar artikelen waarvan je denkt dat ze gerelateerd zijn."],"Skip":["Overslaan"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Je hebt nog geen artikelen geselecteerd voor deze stap. Dat kan in de vorige stap."],"Is it up-to-date?":["Is het actueel?"],"Last Updated":["Laatst GeĂĽpdatet"],"You've moved this article to the next step.":["Je hebt dit artikel verplaatst naar de volgende stap."],"Unknown":["Onbekend"],"Clear summary":["Samenvatting leegmaken"],"Add internal links towards your orphaned articles.":["Voeg interne links toe naar je orphaned artikelen."],"Should you update your article?":["Moet je je artikel bijwerken?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Je website kan veel inhoud bevatten die je ooit hebt gemaakt en sindsdien nooit meer hebt bekeken. Het is belangrijk om die pagina's door te nemen en je af te vragen of die inhoud nog relevant is voor je website. Moet je het verbeteren of verwijderen?"],"Start: Love it or leave it?":["Start: Houden of laten?"],"Clean up your unlinked content to make sure people can find it":["Ruim je niet-gelinkte inhoud op om ervoor te zorgen dat mensen deze kunnen vinden"],"I've finished this workout":["Ik heb deze workout afgerond"],"Reset this workout":["De workout resetten"],"Well done!":["Goed gedaan! "],"Add internal links towards your cornerstones":["Voeg interne links naar je cornerstones toe"],"Check the number of incoming internal links of your cornerstones":["Controleer het aantal inkomende interne links van je cornerstones"],"Start: Choose your cornerstones!":["Start: kies je cornerstones!"],"The cornerstone approach":["De cornerstone aanpak"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Let op: om deze training goed te laten werken en om je linksuggesties te geven, moet je de SEO-tool voor gegevensoptimalisatie gebruiken. Beheerders kunnen dit uitvoeren onder %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Let op: Je beheerder heeft de cornerstone functionaliteit uitgeschakeld in de SEO instellingen. Als je deze training wil gebruiken, moet deze zijn ingeschakeld."],"I've finished this step":["Ik heb deze stap voltooid"],"Revise this step":["Herzie deze stap"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["We hebben geen interne links op je pagina's kunnen vinden. Of je hebt nog geen interne links aan je inhoud toegevoegd, of Yoast SEO heeft ze niet geĂŻndexeerd. Je kan Yoast SEO je links laten indexeren door de SEO-gegevensoptimalisatie onder SEO > Tools uit te voeren."],"Incoming links":["Inkomende links"],"Edit to add link":["Bewerk om een link toe te voegen"],"%s incoming link":["%s inkomende link","%s inkomende links"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Je hebt momenteel geen artikelen gemarkeerd als cornerstone. Wanneer je je artikelen als cornerstone markeert, worden ze hier weergegeven."],"Focus keyphrase":["Focus keyphrase"],"Article":["Artikel"],"Readability score":["Leesbaarheidsscore"],"SEO score":["SEO score"],"Copy failed":["KopiĂ«ren mislukt"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Verbeter je ranking voor al je cornerstones door deze %1$sstapsgewijze workout te gebruiken!%2$s"],"Rank with articles you want to rank with":["Rank met artikelen waarmee je wilt ranken"],"Descriptive text":["Beschrijvende tekst"],"Show the descriptive text":["Laat de beschrijvende tekst zien"],"Show icon":["Toon icoon"],"Yoast Estimated Reading Time":["Yoast geschatte leestijd"],"Shows an estimated reading time based on the content length.":["Toont een geschatte leestijd op basis van de inhoudslengte."],"reading time":["leestijd"],"content length":["inhoudslengte"],"Estimated reading time:":["Geschatte leestijd:"],"minute":["minuut","minuten"],"Settings":["Instellingen"],"OK":["OK"],"Close":["Sluit"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["De eerste echte alles-in-één SEO-oplossing voor WordPress, inclusief inhoudsanalyse per pagina, XML-sitemaps en veel meer."],"Type":["Type"],"Team Yoast":["Team Yoast"],"Orphaned content":["Verweesde inhoud"],"Synonyms":["Synoniemen"],"Internal linking suggestions":["Interne link suggesties"],"Enter a related keyphrase to calculate the SEO score":["Vul een focus keyphrase in om de SEO score te berekenen"],"Related keyphrase":["Gerelateerde keyphrase"],"Add related keyphrase":["Voeg een gerelateerde keyphrase toe"],"Analysis results":["Analyse-resultaten"],"Help on choosing the perfect keyphrase":["Hulp bij het kiezen van de perfecte focus keyphrase"],"Help on keyphrase synonyms":["Hulp met keyphrase synoniemen"],"Keyphrase":["Keyphrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nieuwe URL: {{link}}%s{{/link}}"],"Undo":["Ongedaan maken"],"Redirect created":["Redirect aangemaakt"],"%s just created a redirect from the old URL to the new URL.":["%s heeft een redirect gemaakt van de oude URL naar de nieuwe URL."],"Old URL: {{link}}%s{{/link}}":["Oude URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Keyphrase synoniemen"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Er is een fout opgetreden: de Premium SEO analyse werkt niet zoals verwacht. Activeer {{activateLink}}je abonnement in MyYoast{{/activateLink}} en vervolgens {{reloadButton}} deze pagina opnieuw te laden{{/reloadButton}} om het goed te laten werken."],"seo":["seo"],"internal linking":["intern linken"],"site structure":["websitestructuur"],"We could not find any relevant articles on your website that you could link to from your post.":["We hebben geen relevante artikelen gevonden op je website waar je naartoe kan linken vanuit je bericht."],"Load suggestions":["Laad suggesties"],"Refresh suggestions":["Ververs suggesties"],"Write list…":["Maak lijst..."],"Adds a list of links related to this page.":["Voegt een lijst met links toe gerelateerd aan deze pagina."],"related posts":["gerelateerde berichten"],"related pages":["gerelateerde pagina's"],"Adds a table of contents to this page.":["Voegt een inhoudsopgave toe aan deze pagina."],"links":["links"],"toc":["toc"],"Copy link":["Link kopieĂ«ren"],"Copy link to suggested article: %s":["Kopieer de link naar het voorgestelde artikel: %s"],"Add a title to your post for the best internal linking suggestions.":["Voeg een titel toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Add a metadescription to your post for the best internal linking suggestions.":["Voeg een metabeschrijving toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Voeg een titel en een metabeschrijving toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Also, add a title to your post for the best internal linking suggestions.":["Voeg ook een titel toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Voeg ook een metabeschrijving toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Voeg ook een titel en metabeschrijving toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Zodra je wat meer inhoud hebt toegevoegd, geven we je hier een lijst met gerelateerde content waarnaar je zou kunnen linken in je bericht."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Overweeg om naar andere relevante berichten of pagina's op je website te linken om de structuur van je site te verbeteren."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Het duurt een paar seconden om je een lijst met gerelateerde inhoud te tonen waarnaar je kan linken. De suggesties worden hier weergegeven zodra we ze hebben."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Lees onze gids over interne links voor SEO{{/a}} voor meer informatie."],"Copied!":["Gekopieerd!"],"Not supported!":["Niet ondersteund!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Probeer je meerdere gerelateerde keyphrases te gebruiken? Je zou ze apart moeten toevoegen."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Je sleutelzin is te lang. Het kan maximaal 191 tekens lang zijn."],"Add as related keyphrase":["Toevoegen als gerelateerde keyphrase"],"Added!":["Toegevoegd!"],"Remove":["Verwijderen"],"Table of contents":["Inhoudsopgave"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["We moeten de SEO-gegevens van je site optimaliseren, zodat we je de beste %1$sinterne linksuggesties%2$s kunnen tonen. %3$sStart SEO-gegevensoptimalisatie%4$s"],"Create a Zap in %s":["Maak een Zap in %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nl_NL.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nl_NL.json new file mode 100644 index 00000000..d5f2d26a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-nl_NL.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["De aanvraag kwam terug met de volgende fout: \"%s\""],"X share preview":["X delen voorbeeld"],"AI X title generator":["AI X titelgenerator"],"AI X description generator":["AI X beschrijving generator"],"X preview":["X voorvertoning"],"Please enter a valid focus keyphrase.":["Voer een geldige focus keyphrase in."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Om deze functie te gebruiken, moet je site openbaar toegankelijk zijn. Dit geldt voor zowel testsites als gevallen waar je REST API met een wachtwoord is beveiligd. Zorg ervoor dat je site toegankelijk is voor het publiek en probeer het opnieuw. Als het probleem aanhoudt, neem dan %1$scontact op met ons ondersteuningsteam%2$s."],"Yoast AI cannot reach your site":["Yoast AI kan je site niet bereiken"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Om toegang te krijgen tot deze functie heb je actieve %2$s en %3$s abonnementen nodig. %5$sactiveer je abonnementen in %1$s%6$s of %7$svraag een nieuwe aan%4$s%8$s. Vernieuw daarna deze pagina zodat de functie correct werkt. Dit kan tot 30 seconden duren."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["De AI titelgenerator vereist dat de SEO analyse is ingeschakeld voor gebruik. Om deze in te schakelen, navigeer je naar %2$sSite functies van %1$s%3$s, schakel je de SEO analyse in en klik je op 'Wijzigingen opslaan'. Als de SEO analyse is uitgeschakeld in je WordPress gebruikersprofiel, ga dan naar je profiel en schakel het daar in. Neem contact op met je beheerder als je geen toegang hebt tot deze instellingen."],"Social share preview":["Voorbeeld social delen"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Om de Yoast AI functie te kunnen blijven gebruiken, vragen we je om de frequentie van je aanvragen te verlagen. Ons %1$shulpartikel%2$s biedt richtlijnen voor het effectief plannen en temporiseren van je aanvragen voor een geoptimaliseerde workflow."],"You've reached the Yoast AI rate limit.":["Je hebt de Yoast AI rate limiet bereikt."],"Allow":["Toestaan"],"Deny":["Weigeren"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Om deze video te zien, moet je %1$s toestaan om ingesloten video's van %2$s te laden."],"Text generated by AI may be offensive or inaccurate.":["Door AI gegenereerde tekst kan beledigend of onnauwkeurig zijn."],"(Opens in a new browser tab)":["(Opent in een nieuwe browsertab)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Versnel je workflow met generatieve AI. Krijg hoogwaardige titel en beschrijving suggesties voor je zoekopdracht en sociale weergave. %1$sMeer informatie%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Genereer titels & beschrijvingen met Yoast AI!"],"New to %1$s":["Nieuw bij %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Ik ga akkoord met de %1$sDienstvoorwaarden%2$s & %3$s Privacybeleid%4$s van de Yoast AI dienst. Dit houdt ook in dat ik toestemming geef voor het verzamelen en gebruiken van gegevens om de gebruikerservaring te verbeteren."],"Start generating":["Begin met genereren"],"Yes, revoke consent":["Ja, toestemming intrekken"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Als je je toestemming intrekt, heb je geen toegang meer tot de Yoast AI functies. Weet je zeker dat je je toestemming wil intrekken?"],"Something went wrong, please try again later.":["Er is iets misgegaan, probeer het later nog eens."],"Revoke AI consent":["AI toestemming intrekken"],"AI title generator":["AI titel generator"],"AI description generator":["AI beschrijving generator"],"AI social title generator":["AI social titelgenerator"],"AI social description generator":["AI social beschrijving generator"],"Dismiss":["Negeren"],"Don’t show again":["Niet meer laten zien"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTip%2$s: Verbeter de nauwkeurigheid van je gegenereerde AI titels door meer inhoud op je pagina te schrijven."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTip%2$s: Verbeter de nauwkeurigheid van je gegenereerde AI beschrijvingen door meer inhoud te schrijven op je pagina."],"Try again":["Probeer het opnieuw"],"Social preview":["Sociaal voorbeeld"],"Desktop result":["Desktop resultaat"],"Mobile result":["Resultaat op mobiel"],"Apply %s description":[],"Apply %s title":[],"Next":["Volgende"],"Previous":["Vorige"],"Generate 5 more":["Genereer nog 5"],"Google preview":["Google voorbeeld"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Vanwege de strenge ethische richtlijnen van OpenAI en het %1$sgebruiksbeleid%2$s kunnen we geen SEO titels voor je pagina genereren. Als je van plan bent om AI te gebruiken, vermijd dan het gebruik van expliciete, gewelddadige of seksueel expliciete inhoud. %3$sLees meer over hoe je je pagina kunt configureren om de beste resultaten met AI te behalen%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Vanwege de strenge ethische richtlijnen van OpenAI en het beleid voor %1$sgebruik%2$s kunnen we geen metabeschrijvingen voor je pagina genereren. Als je van plan bent AI te gebruiken, vermijd dan expliciete, gewelddadige of seksueel expliciete inhoud. %3$sLees meer over hoe je je pagina kunt configureren om de beste resultaten met AI te behalen%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Om toegang te krijgen tot deze functie heb je een actief %1$s abonnement nodig. Gelieve %3$sje abonnement te activeren in %2$s%4$s of %5$seen nieuw %1$s abonnement te nemen%6$s. Klik daarna op de knop om deze pagina te verversen zodat de functie correct werkt. Dit kan tot 30 seconden duren."],"Refresh page":["Pagina vernieuwen"],"Not enough content":["Niet genoeg inhoud"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Probeer het later nog eens. Als het probleem zich blijft voordoen, neem dan %1$scontact op met ons ondersteuningsteam%2$s!"],"Something went wrong":["Er ging iets mis"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Er lijkt een time-out van de verbinding te zijn opgetreden. Controleer je internetverbinding en probeer het later nog eens. Als het probleem zich blijft voordoen, neem dan %1$scontact op met ons ondersteuningsteam.%2$s"],"Connection timeout":["Time-out verbinding"],"Use AI":["Gebruik AI"],"Close modal":["Modal sluiten"],"Learn more about AI (Opens in a new browser tab)":["Meer informatie over AI (Opent in een nieuw browserscherm)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitle%3$s: je pagina heeft nog geen titel. %2$sVoeg er een toe%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitle%2$s: je pagina heeft een titel. Goed gedaan!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sKeyphrase verdeling%3$s: %2$sGebruik je keyphrases of synoniemen in de tekst zodat we de keyphrase dichtheid kunnen bepalen%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sKeyphrase verdeling%2$s: Goed gedaan!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase verdeling%3$s: Slecht verdeeld. In sommige delen van je tekst komen de keyphrase of synoniemen niet voor. %2$sVerdeel ze beter over de tekst%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sKeyphrase verdeling%3$s: Zeer slecht verdeeld. In sommige delen van je tekst komen de keyphrase of synoniemen niet voor. %2$sVerdeel ze beter over de tekst%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: je gebruikt niet te veel moeilijke woorden, waardoor je tekst makkelijk te lezen is. Goed gedaan!"],"Word complexity":["Woord complexiteit"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s van de woorden in je tekst wordt als moeilijk beschouwd. %3$sGebruik kortere en meer bekende woorden om de leesbaarheid te verbeteren%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sUitlijning%3$s: Er is een lange sectie met tekst die uitgelijnd is in het midden. %2$sWe raden aan deze links uit te lijnen%3$s.","%1$sUitlijning%3$s: er zijn %4$s lange secties met tekst die uit het midden zijn uitgelijnd. %2$sWe raden aan deze links uit te lijnen%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sUitlijning%3$s: er is een lange sectie met tekst die uitgelijnd is in het midden. %2$sWe raden aan deze rechts uit te lijnen%3$s.","%1$sUitlijning%3$s: er zijn %4$s lange secties met tekst die uit het midden zijn uitgelijnd. %2$sWe raden aan om ze rechts uit te lijnen%3$s."],"Select image":["Selecteer afbeelding"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Misschien weet je het niet eens, maar er kunnen pagina's op je site zijn die geen links krijgen. Dat is een SEO probleem, want het is moeilijk voor zoekmachines om pagina's te vinden die geen links krijgen. Het is dus moeilijker voor ze om te scoren. We noemen deze pagina's verweesde inhoud. In deze training vinden we de verweesde inhoud op je site en helpen we je om er snel links aan toe te voegen, zodat het een kans krijgt om te scoren!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Tijd om links toe te voegen! Hieronder zie je een lijst met je verweesde artikelen. Onder elk artikel staan suggesties voor gerelateerde pagina's waarvan je een link kunt toevoegen. Wanneer je de link toevoegt, zorg er dan voor dat je hem in een relevante zin plaatst die gerelateerd is aan je verweesde artikel. Blijf links toevoegen aan elk van de verweesde artikels tot je tevreden bent met het aantal links dat naar hen verwijst."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Tijd om wat links toe te voegen! Hieronder zie je een lijst met je cornerstone. Onder elke cornerstone staan suggesties voor artikelen waar je een link van zou kunnen toevoegen. Wanneer je de link toevoegt, zorg er dan voor dat je hem in een relevante zin plaatst die gerelateerd is aan je cornerstone artikel. Blijf links toevoegen van zoveel gerelateerde artikelen als je nodig hebt, totdat je cornerstones de meeste interne links hebben die ernaar verwijzen."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Sommige artikelen op je site zijn %1$sde%2$s belangrijkste. Ze beantwoorden vragen van mensen en lossen hun problemen op. Ze verdienen het dus om te worden gerangschikt! Bij %3$s noemen we deze artikelen cornerstones. Een van de manieren om ze te laten scoren is om er voldoende links naar te laten verwijzen. Meer links geven zoekmachines het signaal dat deze artikelen belangrijk en waardevol zijn. In deze training helpen we je om links toe te voegen aan je cornerstone artikelen!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Zodra je wat meer tekst hebt toegevoegd, kunnen we je vertellen wat het formaliteit niveau van je tekst is."],"Overall, your text appears to be %1$s%3$s%2$s.":["Over het algemeen lijkt je tekst %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["De Zapier integratie wordt verwijderd uit %1$s in 20.7 (releasedatum 9 mei). Als je vragen hebt, neem dan contact op met %2$s."],"Maximum heading level":["Maximum koptekst niveau"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Je hebt Link suggesties uitgeschakeld, wat nodig is om gerelateerde links te laten werken. Als je gerelateerde links wil toevoegen, ga dan naar Site eigenschappen en schakel Link suggesties in."],"Schema":["Schema"],"Meta tags":["Meta tags"],"Not available":["Niet beschikbaar"],"Checks":["Checks"],"Focus Keyphrase":["Focus Keyphrase"],"Good":["Goed"],"No index":["Noindex"],"Front-end SEO inspector":["Front-end SEO inspector"],"Focus keyphrase not set":["Focus keyphrase niet ingevuld"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Zodra je je zap hebt gepubliceerd in je %s dashboard, kan je controleren of hij actief is en verbonden met je site."],"Reset API key":["Reset API sleutel"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Je bent momenteel verbonden met %s met de volgende API-sleutel. Als je opnieuw verbinding wil maken met een andere API-sleutel, kun je hieronder je sleutel resetten."],"Your API key":["Je API-sleutel"],"Go to your %s dashboard":["Ga naar je %s dashboard"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Je bent succesvol verbonden met %1$s! Om je zap te beheren, ga naar je %2$s dashboard."],"Your %s dashboard":["Je %s dashboard"],"Verify connection":["Controleer verbinding"],"Verify your connection":["Controleer je verbinding"],"Create a Zap":["Maak een zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Log in op je %1$s account en begin met het maken van je eerste zap! Merk op dat je maar 1 zap kan aanmaken met een trigger event van %2$s. Binnen deze zap kan je één of meerdere acties kiezen."],"%s API key":["%s API-sleutel"],"You'll need this API key later on in %s when you're setting up your Zap.":["Je hebt deze AP-sleutel later in %s nodig wanneer je je zap instelt."],"Copy your API key":["Kopieer je API-sleutel"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Om een verbinding op te zetten, zorg ervoor dat je de gegeven API-sleutel hieronder kopieert en gebruikt om een zap te maken en aan te zetten binnen je %s account."],"Manage %s settings":["Beheer %s instellingen"],"Connect to %s":["Maak verbinding met %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Let op: Om deze workout goed te laten werken, moet je je SEO-gegevens optimaliseren. Beheerders kunnen dit doen via %1$sSEO > Gereedschap%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Je hebt links toegevoegd naar je verweesde artikelen, en je hebt de artikelen opgeruimd die niet langer relevant waren. Goed gedaan! Bekijk de samenvatting hieronder en vier wat je hebt bereikt!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Kijk kritisch naar de inhoud van deze lijst en breng de nodige updates aan. Als je hulp nodig hebt bij het updaten, hebben we een heel %1$snuttig blogbericht dat je helemaal op weg kan helpen%2$s (klik om te openen in een nieuwe tab)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sMeer begeleiding nodig? we hebben elke stap in meer detail behandeld in de volgende gids: %2$sHoe gebruik je de %7$s verweesde inhoud workout%3$s%4$s %5$s .%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Je hebt zojuist je beste inhoud makkelijk vindbaar gemaakt, en meer kans om te scoren! Goed gedaan! Van tijd tot tijd, vergeet niet om te controleren of je cornerstones genoeg links krijgen!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Bekijk de lijst hieronder. Ontvangen je cornerstones (aangegeven met %1$s) de meeste interne links? Klik op de knop Optimize als je denkt dat een cornerstone meer links nodig heeft. Het artikel wordt dan verplaatst naar de volgende stap. "],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Hebben al je cornerstones groene bolletjes? Voor de beste resultaten kijk je of je de artikelen zonder groene bolletjes nog kunt verbeteren."],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Met welke artikelen wil je het hoogst ranken? Welke artikelen zou je publiek het meest nuttig en compleet vinden? Klik op het pijltje en selecteer de artikelen die aan die criteria voldoen. De artikelen die je op deze manier selecteert, markeren we automatisch als cornerstone."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sMeer hulp nodig? We lichten elke stap uitgebreid toe in: %2$sHoe gebruik je de %7$s cornerstone workout%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast inhoudsopgave"],"Yoast Related Links":["Yoast gerelateerde links"],"Finish optimizing":["Optimaliseren afronden"],"You've finished adding links to this article.":["Je bent klaar met het toevoegen van links aan dit artikel."],"Optimize":["Optimaliseer"],"Added to next step":["Toegevoegd aan volgende stap"],"Choose cornerstone articles...":["Kies cornerstone artikelen..."],"Loading data...":["Gegevens laden..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Je hebt nog geen artikelen opgeschoond of bijgewerkt met deze workout. Zodra je dit hebt gedaan, wordt hier een samenvatting van je werk weergegeven."],"Skipped":["Overgeslagen"],"Hidden from search engines.":["Verborgen voor zoekmachines."],"Removed":["Verwijderd"],"Improved":["Verbeterd"],"Resolution":["Oplossing"],"Loading redirect options...":["Redirect opties aan het laden ..."],"Remove and redirect":["Verwijder en redirect"],"Custom url:":["Aangepaste URL:"],"Related article:":["Gerelateerd artikel:"],"Home page:":["Homepage:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Je staat op het punt om %1$s%2$s%3$s te verwijderen. Om 404s te voorkomen, zou je het moeten redirecten naar een andere pagina op je site. Waar wil je het naartoe redirecten?"],"SEO Workout: Remove article":["SEO Workout: Verwijder artikel"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Alles ziet er goed uit! We hebben geen artikelen op je site gevonden die ouder zijn dan zes maanden en die te weinig links op je site ontvangen. Kom hier later terug voor nieuwe suggesties!"],"Hide from search engines":["Verberg voor zoekmachines"],"Improve":["Verbeter"],"Are you sure you wish to hide this article from search engines?":["Weet je zeker dat je dit artikel voor zoekmachines wilt verbergen?"],"Action":["Actie"],"You've hidden this article from search engines.":["Je hebt dit artikel verborgen voor zoekmachines."],"You've removed this article.":["Je hebt dit artikel verwijderd."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Je hebt op dit moment nog geen artikelen geselecteerd om te verbeteren. Selecteer een paar artikelen in de vorige stappen om links aan toe te voegen en wij zullen je link suggesties hier laten zien."],"Loading link suggestions...":["Linksuggesties aan het laden ..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["We hebben geen suggesties voor dit artikel gevonden, maar je kan natuurlijk nog steeds links toevoegen naar artikelen waarvan je denkt dat ze gerelateerd zijn."],"Skip":["Overslaan"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Je hebt nog geen artikelen geselecteerd voor deze stap. Dat kan in de vorige stap."],"Is it up-to-date?":["Is het actueel?"],"Last Updated":["Laatst bijgewerkt"],"You've moved this article to the next step.":["Je hebt dit artikel verplaatst naar de volgende stap."],"Unknown":["Onbekend"],"Clear summary":["Samenvatting leegmaken"],"Add internal links towards your orphaned articles.":["Voeg interne links toe naar je orphaned artikelen."],"Should you update your article?":["Moet je je artikel bijwerken?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Je site kan veel inhoud bevatten die je ooit hebt gemaakt en sindsdien nooit meer hebt bekeken. Het is belangrijk om die pagina's door te nemen en je af te vragen of die inhoud nog relevant is voor je site. Moet je het verbeteren of verwijderen?"],"Start: Love it or leave it?":["Start: Houden of laten?"],"Clean up your unlinked content to make sure people can find it":["Ruim je niet-gelinkte inhoud op om ervoor te zorgen dat mensen deze kunnen vinden"],"I've finished this workout":["Ik heb deze workout afgerond"],"Reset this workout":["De workout resetten"],"Well done!":["Goed gedaan! "],"Add internal links towards your cornerstones":["Voeg interne links naar je cornerstones toe"],"Check the number of incoming internal links of your cornerstones":["Controleer het aantal inkomende interne links van je cornerstones"],"Start: Choose your cornerstones!":["Begin: kies je cornerstones!"],"The cornerstone approach":["De cornerstone aanpak"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Let op: om deze workout goed te laten werken en je linking suggesties te laten doen, moet je de SEO gegevens optimalisatie tool draaien. Beheerders kunnen deze uitvoeren onder %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Let op: je beheerder heeft de cornerstone functionaliteit uitgeschakeld in de SEO instellingen. Als je deze training wil gebruiken, moet deze zijn ingeschakeld."],"I've finished this step":["Ik heb deze stap voltooid"],"Revise this step":["Herzie deze stap"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["We hebben geen interne links op je pagina's kunnen vinden. Of je hebt nog geen interne links aan je inhoud toegevoegd, of Yoast SEO heeft ze niet geĂŻndexeerd. Je kan Yoast SEO je links laten indexeren door de SEO gegevensoptimalisatie onder SEO > Tools uit te voeren."],"Incoming links":["Inkomende links"],"Edit to add link":["Bewerk om een link toe te voegen"],"%s incoming link":["%s inkomende link","%s inkomende links"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Je hebt momenteel geen artikelen gemarkeerd als cornerstone. Wanneer je je artikelen als cornerstone markeert, worden ze hier weergegeven."],"Focus keyphrase":["Focus keyphrase"],"Article":["Artikel"],"Readability score":["Leesbaarheidsscore"],"SEO score":["SEO score"],"Copy failed":["KopiĂ«ren mislukt"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Verbeter je ranking voor al je cornerstones door deze %1$sstapsgewijze workout te gebruiken!%2$s"],"Rank with articles you want to rank with":["Rank met artikelen waarmee je wilt ranken"],"Descriptive text":["Beschrijvende tekst"],"Show the descriptive text":["Laat de beschrijvende tekst zien"],"Show icon":["Toon icoon"],"Yoast Estimated Reading Time":["Yoast geschatte leestijd"],"Shows an estimated reading time based on the content length.":["Toont een geschatte leestijd op basis van de inhoudslengte."],"reading time":["leestijd"],"content length":["inhoudslengte"],"Estimated reading time:":["Geschatte leestijd:"],"minute":["minuut","minuten"],"Settings":["Instellingen"],"OK":["OK"],"Close":["Sluit"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["De eerste echte alles-in-één SEO-oplossing voor WordPress, inclusief inhoudsanalyse per pagina, XML-sitemaps en veel meer."],"Type":["Type"],"Team Yoast":["Team Yoast"],"Orphaned content":["Verweesde content"],"Synonyms":["Synoniemen"],"Internal linking suggestions":["Interne link suggesties"],"Enter a related keyphrase to calculate the SEO score":["Vul een focus keyphrase in om de SEO score te berekenen"],"Related keyphrase":["Gerelateerde keyphrase"],"Add related keyphrase":["Voeg een gerelateerde keyphrase toe"],"Analysis results":["Analyse-resultaten"],"Help on choosing the perfect keyphrase":["Hulp bij het kiezen van de perfecte focus keyphrase"],"Help on keyphrase synonyms":["Hulp met keyphrase synoniemen"],"Keyphrase":["Keyphrase"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nieuwe URL: {{link}}%s{{/link}}"],"Undo":["Ongedaan maken"],"Redirect created":["Redirect aangemaakt"],"%s just created a redirect from the old URL to the new URL.":["%s heeft een redirect gemaakt van de oude URL naar de nieuwe URL."],"Old URL: {{link}}%s{{/link}}":["Oude URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Keyphrase synoniemen"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Er is een fout opgetreden: de Premium SEO analyse werkt niet zoals verwacht. Activeer je {{activateLink}} abonnement in MyYoast{{/activateLink}} en vervolgens {{reloadButton}} deze pagina opnieuw te laden{{/reloadButton}} om het goed te laten werken."],"seo":["seo"],"internal linking":["intern linken"],"site structure":["sitestructuur"],"We could not find any relevant articles on your website that you could link to from your post.":["We hebben geen relevante artikelen gevonden op je website waar je naartoe kan linken vanuit je bericht."],"Load suggestions":["Laad suggesties"],"Refresh suggestions":["Ververs suggesties"],"Write list…":["Maak lijst..."],"Adds a list of links related to this page.":["Voegt een lijst met links toe gerelateerd aan deze pagina."],"related posts":["gerelateerde berichten"],"related pages":["gerelateerde pagina's"],"Adds a table of contents to this page.":["Voegt een inhoudsopgave toe aan deze pagina."],"links":["links"],"toc":["toc"],"Copy link":["Link kopieĂ«ren"],"Copy link to suggested article: %s":["Kopieer de link naar het voorgestelde artikel: %s"],"Add a title to your post for the best internal linking suggestions.":["Voeg een titel toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Add a metadescription to your post for the best internal linking suggestions.":["Voeg een metabeschrijving toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Voeg een titel en een metabeschrijving toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Also, add a title to your post for the best internal linking suggestions.":["Voeg ook een titel toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Voeg ook een metabeschrijving toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Voeg ook een titel en metabeschrijving toe aan je bericht om de beste suggesties voor interne links te krijgen."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Zodra je wat meer inhoud hebt toegevoegd, geven we je hier een lijst met gerelateerde content waarnaar je zou kunnen linken in je bericht."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Overweeg om naar andere relevante berichten of pagina's op je website te linken om de structuur van je site te verbeteren."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Het duurt een paar seconden om je een lijst met gerelateerde inhoud te tonen waarnaar je kan linken. De suggesties worden hier weergegeven zodra we ze hebben."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Lees onze gids over interne links voor SEO{{/a}} voor meer informatie."],"Copied!":["Gekopieerd!"],"Not supported!":["Niet ondersteund!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Probeer je meerdere gerelateerde keyphrases te gebruiken? Je zou ze apart moeten toevoegen."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Je keyphrase is te lang. Het kan maximaal 191 tekens lang zijn."],"Add as related keyphrase":["Toevoegen als gerelateerde keyphrase"],"Added!":["Toegevoegd!"],"Remove":["Verwijderen"],"Table of contents":["Inhoudsopgave"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["We moeten de SEO-gegevens van je site optimaliseren, zodat we je de beste %1$sinterne linksuggesties%2$s kunnen tonen. %3$sStart SEO-gegevensoptimalisatie%4$s"],"Create a Zap in %s":["Maak een Zap in %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pl_PL.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pl_PL.json new file mode 100644 index 00000000..7b4a5dab --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pl_PL.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);","lang":"pl"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Żądanie wrĂłciĹ‚o z nastÄ™pujÄ…cym błędem: \"%s\""],"X share preview":["PodglÄ…d w X"],"AI X title generator":["Generator tytułów AI X"],"AI X description generator":["Generator opisu AI X"],"X preview":["PodglÄ…d w X"],"Please enter a valid focus keyphrase.":["WprowadĹş prawidĹ‚owÄ… frazÄ™ kluczowÄ…."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Aby korzystać z tej funkcji, witryna musi być publicznie dostÄ™pna. Dotyczy to zarĂłwno witryn testowych, jak i instancji, w ktĂłrych interfejs API REST jest chroniony hasĹ‚em. Upewnij siÄ™, ĹĽe witryna jest publicznie dostÄ™pna i sprĂłbuj ponownie. JeĹ›li problem nie ustÄ…pi, %1$sskontaktuj siÄ™ z naszym zespoĹ‚em pomocy technicznej%2$s."],"Yoast AI cannot reach your site":["Yoast AI nie ma dostÄ™pu do witryny"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Aby uzyskać dostÄ™p do tej funkcji, wymagane sÄ… aktywne subskrypcje %2$s i %3$s. Prosimy o %5$saktywacjÄ™ subskrypcji w %1$s%6$s lub %7$skupienie nowej %4$s%8$s. NastÄ™pnie odĹ›wieĹĽ tÄ™ stronÄ™, aby funkcja dziaĹ‚aĹ‚a poprawnie, co moĹĽe potrwać do 30 sekund."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["Generator tytułów AI wymaga włączenia analizy SEO. Aby jÄ… włączyć, przejdĹş do %2$sfunkcji witryny %1$s%3$s, włącz analizÄ™ SEO i kliknij \"zapisz zmiany\". JeĹ›li analiza SEO jest wyłączona w profilu uĹĽytkownika WordPress, przejdĹş do swojego profilu i włącz jÄ… tam. JeĹ›li nie masz dostÄ™pu do tych ustawieĹ„, skontaktuj siÄ™ z administratorem."],"Social share preview":["PodglÄ…d udostÄ™pniania w mediach spoĹ‚ecznoĹ›ciowych"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Aby nadal korzystać z funkcji Yoast AI, uprzejmie prosimy o zmniejszenie czÄ™stotliwoĹ›ci ĹĽÄ…daĹ„. Nasz %1$sartykuĹ‚ pomocy%2$s zawiera wskazĂłwki dotyczÄ…ce skutecznego planowania i planowania ĹĽÄ…daĹ„ w celu zoptymalizowania przepĹ‚ywu pracy."],"You've reached the Yoast AI rate limit.":["OsiÄ…gnÄ…Ĺ‚eĹ› limit stawki Yoast AI."],"Allow":["ZezwĂłl"],"Deny":["Odrzuć"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Aby zobaczyć ten film, musisz zezwolić %1$s na Ĺ‚adowanie osadzonych filmĂłw z %2$s."],"Text generated by AI may be offensive or inaccurate.":["Tekst generowany przez sztucznÄ… inteligencjÄ™ moĹĽe być obraĹşliwy lub niedokĹ‚adny."],"(Opens in a new browser tab)":["(Otworzy siÄ™ w nowej zakĹ‚adce)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Przyspiesz swĂłj przepĹ‚yw pracy dziÄ™ki generatywnej sztucznej inteligencji. Uzyskaj wysokiej jakoĹ›ci sugestie dotyczÄ…ce tytułów i opisĂłw dla wyszukiwania i wyglÄ…du spoĹ‚ecznoĹ›ciowego. %1$sDowiedz siÄ™ wiÄ™cej%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Generuj tytuĹ‚y i opisy za pomocÄ… Yoast AI!"],"New to %1$s":["Nowy w %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["AkceptujÄ™ %1$sWarunki korzystania z usĹ‚ugi%2$s i %3$sPolitykÄ™ prywatnoĹ›ci%4$s usĹ‚ugi Yoast AI. Obejmuje to zgodÄ™ na gromadzenie i wykorzystywanie danych w celu poprawy komfortu uĹĽytkowania."],"Start generating":["Rozpocznij generowanie"],"Yes, revoke consent":["Tak, cofnij zgodÄ™"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["CofniÄ™cie zgody spowoduje utratÄ™ dostÄ™pu do funkcji Yoast AI. Czy na pewno chcesz cofnąć swojÄ… zgodÄ™?"],"Something went wrong, please try again later.":["CoĹ› poszĹ‚o nie tak, sprĂłbuj ponownie później."],"Revoke AI consent":["CofniÄ™cie zgody AI"],"AI title generator":["Generator tytułów AI"],"AI description generator":["Generator opisĂłw AI"],"AI social title generator":["Generator tytułów spoĹ‚ecznoĹ›ciowych AI"],"AI social description generator":["Generator opisĂłw spoĹ‚ecznoĹ›ciowych AI"],"Dismiss":["Ukryj"],"Don’t show again":["Nie pokazuj tego ponownie"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sWskazĂłwka%2$s: ZwiÄ™ksz dokĹ‚adność generowanych tytułów AI, piszÄ…c wiÄ™cej treĹ›ci na swojej stronie."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sWskazĂłwka%2$s: Popraw dokĹ‚adność wygenerowanych opisĂłw AI, piszÄ…c wiÄ™cej treĹ›ci na swojej stronie."],"Try again":["SprĂłbuj ponownie"],"Social preview":["PodglÄ…d spoĹ‚ecznoĹ›ciowy"],"Desktop result":["Wynik na komputerze"],"Mobile result":["Wynik na urzÄ…dzeniach mobilnych"],"Apply %s description":[],"Apply %s title":[],"Next":["Dalej"],"Previous":["Poprzedni"],"Generate 5 more":["Wygeneruj 5 kolejnych"],"Google preview":["PodglÄ…d Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Ze wzglÄ™du na Ĺ›cisĹ‚e wytyczne etyczne OpenAI i %1$szasady uĹĽytkowania%2$s, nie jesteĹ›my w stanie wygenerować tytułów SEO dla tej strony. JeĹ›li zamierzasz korzystać ze sztucznej inteligencji, uprzejmie unikaj uĹĽywania treĹ›ci o charakterze jednoznacznym, brutalnym lub seksualnym. %3$sPrzeczytaj wiÄ™cej o tym, jak skonfigurować swojÄ… stronÄ™, aby uzyskać najlepsze wyniki z AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Ze wzglÄ™du na Ĺ›cisĹ‚e wytyczne etyczne OpenAI i %1$szasady uĹĽytkowania%2$s, nie jesteĹ›my w stanie wygenerować meta opisĂłw dla tej strony. JeĹ›li zamierzasz korzystać ze sztucznej inteligencji, uprzejmie unikaj uĹĽywania treĹ›ci o charakterze jednoznacznym, brutalnym lub seksualnym. %3$sPrzeczytaj wiÄ™cej o tym, jak skonfigurować swojÄ… stronÄ™, aby uzyskać najlepsze wyniki z AI%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Aby uzyskać dostÄ™p do tej funkcji, wymagana jest aktywna subskrypcja %1$s. NaleĹĽy %3$saktywować subskrypcjÄ™ w %2$s%4$s lub %5$suzyskać nowÄ… %1$s subskrypcjÄ™%6$s. NastÄ™pnie kliknij przycisk, aby odĹ›wieĹĽyć tÄ™ stronÄ™, aby funkcja dziaĹ‚aĹ‚a poprawnie, co moĹĽe potrwać do 30 sekund."],"Refresh page":["OdĹ›wieĹĽ stronÄ™"],"Not enough content":["Za maĹ‚o treĹ›ci"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["SprĂłbuj ponownie później. JeĹ›li problem nadal wystÄ™puje, %1$sskontaktuj siÄ™ z naszym zespoĹ‚em pomocy technicznej%2$s!"],"Something went wrong":["Ups... CoĹ› poszlo nie tak"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["WyglÄ…da na to, ĹĽe wystÄ…piĹ‚ limit czasu połączenia. SprawdĹş połączenie internetowe i sprĂłbuj ponownie później. JeĹ›li problem nie ustÄ…pi, %1$sskontaktuj siÄ™ z naszym zespoĹ‚em pomocy technicznej%2$s"],"Connection timeout":["Limit czasu połączenia"],"Use AI":["UĹĽyj AI"],"Close modal":["Zamknij modal"],"Learn more about AI (Opens in a new browser tab)":["Dowiedz siÄ™ wiÄ™cej o sztucznej inteligencji (Otwiera siÄ™ w nowej karcie przeglÄ…darki)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitle%3$s: Twoja strona nie ma jeszcze tytuĹ‚u. %2$sDodaj tytuĹ‚%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTytuĹ‚%2$s: Twoja strona ma tytuĹ‚. Dobra robota!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sRozkĹ‚ad fraz kluczowych%3$s: %2$sUwzglÄ™dnij frazÄ™ kluczowÄ… lub jej synonimy w tekĹ›cie, aby sprawdzić jej rozkĹ‚ad%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sRozkĹ‚ad frazy kluczowej%2$s: Dobra robota!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sRozkĹ‚ad frazy kluczowej%3$s: NierĂłwny. NiektĂłre partie tekstu nie zawierajÄ… fraz kluczowych lub ich synonimĂłw. %2$sRozłóż je rĂłwnomiernie%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sRozkĹ‚ad frazy kluczowej%3$s: Bardzo nierĂłwny. DuĹĽe części tekstu nie zawierajÄ… frazy kluczowej lub jej synonimĂłw. %2$sRozłóż je rĂłwnomiernie%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Nie uĹĽywasz zbyt wielu skomplikowanych słów, co sprawia, ĹĽe tekst jest Ĺ‚atwy do odczytania. Dobra robota!"],"Word complexity":["ZĹ‚oĹĽoność słów"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$ssĹ‚owa w tekĹ›cie sÄ… uwaĹĽane za zĹ‚oĹĽone. %3$sStaraj siÄ™ uĹĽywać krĂłtszych i bardziej znanych słów, aby poprawić czytelność%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sWyrĂłwnanie%3$s: Istnieje dĹ‚uga sekcja tekstu wyrĂłwnanego do Ĺ›rodka. %2$sZalecamy wyrĂłwnanie do lewej%3$s.","%1$sWyrĂłwnanie%3$s: IstniejÄ… %4$s dĹ‚ugie sekcje tekstu wyrĂłwnanego do Ĺ›rodka. %2$sZalecamy wyrĂłwnanie do lewej%3$s.","%1$sWyrĂłwnanie%3$s: Istnieje %4$s dĹ‚ugich sekcji tekstu wyrĂłwnanego do Ĺ›rodka. %2$sZalecamy wyrĂłwnanie do lewej%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sWyrĂłwnanie%3$s: Istnieje dĹ‚uga sekcja tekstu wyrĂłwnanego do Ĺ›rodka. %2$sZalecamy wyrĂłwnanie do prawej%3$s.","%1$sWyrĂłwnanie%3$s: IstniejÄ… %4$s dĹ‚ugie sekcje tekstu wyrĂłwnanego do Ĺ›rodka. %2$sZalecamy wyrĂłwnanie do prawej%3$s.","%1$sWyrĂłwnanie%3$s: Istnieje %4$s dĹ‚ugich sekcji tekstu wyrĂłwnanego do Ĺ›rodka. %2$sZalecamy wyrĂłwnanie do prawej%3$s."],"Select image":["Wybierz obrazek"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Być moĹĽe nawet o tym nie wiesz, ale w witrynie mogÄ… znajdować siÄ™ strony, do ktĂłrych nie prowadzÄ… ĹĽadne linki. Jest to problem SEO, poniewaĹĽ wyszukiwarkom trudno jest znaleźć strony, do ktĂłrych nie prowadzÄ… ĹĽadne linki. Dlatego teĹĽ trudniej jest je pozycjonować. Takie strony nazywamy osieroconÄ… treĹ›ciÄ…. W tym treningu znajdziemy osierocone treĹ›ci w witrynie i poprowadzimy ciÄ™ przez szybkie dodanie do nich linkĂłw, aby miaĹ‚y szansÄ™ na ranking!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Czas dodać kilka linkĂłw! PoniĹĽej znajduje siÄ™ lista osieroconych artykułów. Pod kaĹĽdym z nich znajdujÄ… siÄ™ sugestie dotyczÄ…ce powiÄ…zanych stron, do ktĂłrych moĹĽna dodać link. DodajÄ…c link, pamiÄ™taj, by umieĹ›cić go w odpowiednim zdaniu zwiÄ…zanym z osieroconym artykuĹ‚em. Dodawaj linki do kaĹĽdego z osieroconych artykułów, aĹĽ bÄ™dziesz zadowolony z iloĹ›ci linkĂłw do nich prowadzÄ…cych."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Czas dodać kilka linkĂłw! PoniĹĽej znajduje siÄ™ lista z kluczowymi treĹ›ciami. Pod kaĹĽdÄ… z nich znajdujÄ… siÄ™ sugestie dotyczÄ…ce artykułów, do ktĂłrych moĹĽna dodać link. DodajÄ…c link, upewnij siÄ™, ĹĽe wstawiasz go w odpowiednim zdaniu zwiÄ…zanym z artykuĹ‚em. Dodawaj linki z tylu powiÄ…zanych artykułów, ile potrzebujesz, aĹĽ kluczowe treĹ›ci miaĹ‚y najwiÄ™cej wewnÄ™trznych linkĂłw kierujÄ…cych do nich."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["NiektĂłre artykuĹ‚y na sÄ… %1$snajwaĹĽniejsze%2$s. OdpowiadajÄ… na pytania uĹĽytkownikĂłw i rozwiÄ…zujÄ… ich problemy. ZasĹ‚ugujÄ… wiÄ™c na wysokie pozycje! W %3$s nazywamy je kluczowymi treĹ›ciami. Jednym ze sposobĂłw na ich pozycje jest skierowanie do nich wystarczajÄ…cej liczby linkĂłw. WiÄ™cej linkĂłw sygnalizuje wyszukiwarkom, ĹĽe te artykuĹ‚y sÄ… waĹĽne i wartoĹ›ciowe. W tym treningu pomoĹĽemy ci dodać linki do twoich najwaĹĽniejszych artykułów!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Gdy dodasz nieco wiÄ™cej tekstu, bÄ™dziemy w stanie okreĹ›lić poziom jego formalnoĹ›ci."],"Overall, your text appears to be %1$s%3$s%2$s.":["OgĂłlnie rzecz biorÄ…c, tekst wyglÄ…da na %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Integracja Zapier zostanie usuniÄ™ta z %1$s w wersji 20.7 (data wydania 9 maja). JeĹ›li masz jakieĹ› pytania, skontaktuj siÄ™ z %2$s."],"Maximum heading level":["Maksymalny poziom nagłówka"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Sugestie linkĂłw, ktĂłre sÄ… niezbÄ™dne do dziaĹ‚ania linkĂłw powiÄ…zanych, zostaĹ‚y wyłączone. JeĹ›li chcesz dodać powiÄ…zane linki, przejdĹş do funkcji witryny i włącz sugestie linkĂłw."],"Schema":["Schemat"],"Meta tags":["Meta tagi"],"Not available":["NiedostÄ™pne"],"Checks":["Sprawdzanie"],"Focus Keyphrase":["Fraza kluczowa"],"Good":["Dobre"],"No index":["No index"],"Front-end SEO inspector":["Inspektor SEO front-end"],"Focus keyphrase not set":["Nie ustawiono frazy kluczowej"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Po opublikowaniu Zapa w swoim panelu %s moĹĽesz sprawdzić, czy jest on aktywny i połączony z witrynÄ…."],"Reset API key":["Resetuj klucz API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Obecnie połączono z %s uĹĽywajÄ…c nastÄ™pujÄ…cego klucza API. JeĹ›li chcesz ponownie połączyć siÄ™ z innym kluczem API, moĹĽesz zresetować swĂłj klucz poniĹĽej."],"Your API key":["TwĂłj klucz API"],"Go to your %s dashboard":["PrzejdĹş do swojego panelu %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Połączenie z %1$s przebiegĹ‚o pomyĹ›lnie! Aby zarzÄ…dzać swoim Zap, odwiedĹş swĂłj panel %2$s."],"Your %s dashboard":["TwĂłj panel %s"],"Verify connection":["Zweryfikuj połączenie"],"Verify your connection":["Zweryfikuj swoje połączenie"],"Create a Zap":["UtwĂłrz Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Zaloguj siÄ™ na konto %1$s i utwĂłrz pierwszy Zap! MoĹĽesz utworzyć tylko 1 Zap ze zdarzeniem wyzwalajÄ…cym z %2$s. W ramach tego Zapa moĹĽesz wybrać jednÄ… lub wiÄ™cej akcji."],"%s API key":["Klucz API %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["BÄ™dziesz potrzebować tego klucza API później w %s, podczas konfiguracji Zap."],"Copy your API key":["Skopiuj swĂłj klucz API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Aby skonfigurować połączenie, skopiuj klucz API poniĹĽej i uĹĽyj go do utworzenia i włączenia Zap w ramach swojego konta %s."],"Manage %s settings":["ZarzÄ…dzaj ustawieniami %s"],"Connect to %s":["Połącz siÄ™ z %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Uwaga: Aby ten trening dziaĹ‚aĹ‚ dobrze, musisz uruchomić narzÄ™dzie do optymalizacji danych SEO. Administratorzy mogÄ… je uruchomić w zakĹ‚adce %1$sSEO > NarzÄ™dzia%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Dodano linki do osieroconych artykułów i wyczyszczono te, ktĂłre nie miaĹ‚y juĹĽ znaczenia. Ĺšwietna robota! PoniĹĽej znajdziesz podsumowanie."],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Przeanalizuj zawartość tej listy i dokonaj niezbÄ™dnych aktualizacji. JeĹ›li potrzebujesz pomocy w aktualizacji, mamy bardzo %1$suĹĽyteczny wpis na blogu, ktĂłry moĹĽe poprowadzić ciÄ™ przez całą drogÄ™%2$s (kliknij, aby otworzyć w nowej karcie)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sPotrzebujesz wiÄ™cej wskazĂłwek? KaĹĽdy krok omĂłwiliĹ›my bardziej szczegółowo w poniĹĽszym przewodniku: %2$sJak wykorzystać trening %7$s osieroconych treĹ›ci%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["WĹ‚aĹ›nie sprawiĹ‚eĹ›, ĹĽe twoje najlepsze treĹ›ci sÄ… Ĺ‚atwe do znalezienia i wyĹĽej w rankingu! Brawo! Od czasu do czasu pamiÄ™taj, aby sprawdzić, czy treĹ›ci kluczowe zdobywajÄ… wystarczajÄ…cÄ… ilość linkĂłw!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Przyjrzyj siÄ™ poniĹĽszej liĹ›cie. Czy treĹ›ci kluczowe (oznaczone symbolem %1$s) majÄ… najwiÄ™cej linkĂłw wewnÄ™trznych skierowanych w ich stronÄ™? Kliknij przycisk Optymalizuj, jeĹ›li uwaĹĽasz, ĹĽe dana treść kluczowa potrzebuje wiÄ™cej linkĂłw. DziÄ™ki temu artykuĹ‚ zostanie przeniesiony do kolejnego kroku."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Czy wszystkie treĹ›ci kluczowe majÄ… zielone oznaczenie? Aby uzyskać najlepsze wyniki, rozwaĹĽ edycjÄ™ tych, ktĂłre nie majÄ…!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["KtĂłre artykuĹ‚y chcesz mieć najwyĹĽej w rankingu? KtĂłre z nich odbiorcy uznaliby za najbardziej przydatne i kompletne? Kliknij strzaĹ‚kÄ™ skierowanÄ… w dół i poszukaj artykułów, ktĂłre speĹ‚niajÄ… te kryteria. ArtykuĹ‚y, ktĂłre wybierzesz z listy, automatycznie oznaczymy jako treĹ›ci kluczowe."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sPotrzebujesz wiÄ™cej wskazĂłwek? KaĹĽdy krok omĂłwiliĹ›my bardziej szczegółowo w: %2$sJak korzystać z treningu %7$s treĹ›ci kluczowe%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Spis TreĹ›ci Yoast"],"Yoast Related Links":["Linki powiÄ…zane Yoast"],"Finish optimizing":["ZakoĹ„cz optymalizacjÄ™"],"You've finished adding links to this article.":["ZakoĹ„czono dodawanie linkĂłw do tego artykuĹ‚u."],"Optimize":["Optymalizuj"],"Added to next step":["Dodano do nastÄ™pnego kroku"],"Choose cornerstone articles...":["Wybierz treĹ›ci kluczowe…"],"Loading data...":["Ĺadowanie danych…"],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Nie wyczyĹ›ciĹ‚eĹ› jeszcze ani nie zaktualizowaĹ‚eĹ› ĹĽadnych artykułów za pomocÄ… tego treningu. Kiedy to zrobisz, pojawi siÄ™ tutaj podsumowanie pracy."],"Skipped":["PominiÄ™to"],"Hidden from search engines.":["Ukryte przed wyszukiwarkami."],"Removed":["UsuniÄ™to"],"Improved":["Ulepszone"],"Resolution":["Rozdzielczość"],"Loading redirect options...":["Ĺadowanie opcji przekierowania..."],"Remove and redirect":["UsuĹ„ i przekieruj"],"Custom url:":["WĹ‚asny adres url:"],"Related article:":["PowiÄ…zany artykuĹ‚:"],"Home page:":["Strona główna:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Zamierzasz usunąć %1$s%2$s%3$s. Aby zapobiec błędom 404 w witrynie, trzeba przekierować go na innÄ… stronÄ™. Gdzie chcesz jÄ… przekierować?"],"SEO Workout: Remove article":["Trening SEO: UsuĹ„ artykuĹ‚"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Wszystko wyglÄ…da dobrze! Nie znaleĹşliĹ›my ĹĽadnych artykułów, ktĂłre sÄ… starsze niĹĽ sześć miesiÄ™cy i otrzymujÄ… zbyt maĹ‚o linkĂłw. Wróć tu później po nowe sugestie!"],"Hide from search engines":["Ukryj siÄ™ przed wyszukiwarkami"],"Improve":["Ulepsz"],"Are you sure you wish to hide this article from search engines?":["Czy na pewno chcesz ukryć ten artykuĹ‚ przed wyszukiwarkami?"],"Action":["Akcja"],"You've hidden this article from search engines.":["Ukryto ten artykuĹ‚ przed wyszukiwarkami."],"You've removed this article.":["UsuniÄ™to ten artykuĹ‚."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Nie wybrano jeszcze ĹĽadnych artykułów do poprawy. Wybierz kilka artykułów w poprzednich krokach, do ktĂłrych chcesz dodać linki, a my pokaĹĽemy propozycje linkĂłw."],"Loading link suggestions...":["Ĺadowanie propozycji linkĂłw..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Nie znaleĹşliĹ›my ĹĽadnych sugestii dotyczÄ…cych tego artykuĹ‚u, ale oczywiĹ›cie moĹĽesz dodać linki do artykułów, ktĂłre sÄ… z nim powiÄ…zane."],"Skip":["PomiĹ„"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Nie wybrano jeszcze ĹĽadnych artykułów do tego kroku. MoĹĽesz to zrobić w poprzednim kroku."],"Is it up-to-date?":["Czy jest on aktualny?"],"Last Updated":["Ostatnia aktualizacja"],"You've moved this article to the next step.":["Przeniesiono ten artykuĹ‚ do nastÄ™pnego kroku."],"Unknown":["Nieznany"],"Clear summary":["Wyczyść podsumowanie"],"Add internal links towards your orphaned articles.":["Dodaj wewnÄ™trzne linki do osieroconych artykułów."],"Should you update your article?":["Czy trzeba zaktualizować artykuĹ‚?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Witryna zawiera wiele treĹ›ci, ktĂłre zostaĹ‚y stworzone raz i nigdy później do nich nie wracano. WaĹĽne jest, aby przejrzeć je i zadać sobie pytanie, czy te treĹ›ci sÄ… nadal istotne. Czy trzeba jÄ… poprawić, czy usunąć?"],"Start: Love it or leave it?":["Start: Zostawić czy usunąć?"],"Clean up your unlinked content to make sure people can find it":["UporzÄ…dkuj swoje niepowiÄ…zane treĹ›ci, aby upewnić siÄ™, ĹĽe ludzie mogÄ… je znaleźć"],"I've finished this workout":["SkoĹ„czyĹ‚em ten trening"],"Reset this workout":["Zresetuj ten trening"],"Well done!":["Ĺšwietnie!"],"Add internal links towards your cornerstones":["Dodaj linki wewnÄ™trzne do kluczowych treĹ›ci"],"Check the number of incoming internal links of your cornerstones":["SprawdĹş liczbÄ™ przychodzÄ…cych linkĂłw wewnÄ™trznych swoich kluczowych treĹ›ci"],"Start: Choose your cornerstones!":["Zacznij: Wybierz swoje kluczowe treĹ›ci!"],"The cornerstone approach":["PodejĹ›cie oparte na kluczowych treĹ›ciach"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Uwaga: Aby ten trening dziaĹ‚aĹ‚ dobrze i mĂłgĹ‚ zaoferować sugestie dotyczÄ…ce linkowania, musisz uruchomić narzÄ™dzie do optymalizacji danych SEO. Administratorzy mogÄ… je uruchomić w %1$sSEO > NarzÄ™dzia%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Uwaga: Administrator wyłączyĹ‚ funkcjÄ™ artykułów kluczowych w ustawieniach SEO. JeĹ›li chcesz korzystać z tego treningu, naleĹĽy go włączyć."],"I've finished this step":["Etap zakoĹ„czony"],"Revise this step":["PowtĂłrz ten krok"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Nie udaĹ‚o nam siÄ™ znaleźć linkĂłw wewnÄ™trznych. Albo nie dodano jeszcze ĹĽadnych linkĂłw wewnÄ™trznych do treĹ›ci, albo Yoast SEO ich nie zaindeksowaĹ‚o. MoĹĽesz zlecić Yoast SEO indeksowanie linkĂłw, uruchamiajÄ…c optymalizacjÄ™ danych SEO w sekcji SEO > NarzÄ™dzia."],"Incoming links":["Linki przychodzÄ…ce"],"Edit to add link":["Edytuj, aby dodać link"],"%s incoming link":["%s link przychodzÄ…cy","%s linki przychodzÄ…ce","%s linkĂłw przychodzÄ…cych"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Obecnie nie masz ĹĽadnych artykułów oznaczonych jako kluczowe treĹ›ci. Kiedy oznaczysz swoje artykuĹ‚y jako kluczowe treĹ›ci, pojawiÄ… siÄ™ one tutaj."],"Focus keyphrase":["Fraza kluczowa"],"Article":["ArtykuĹ‚"],"Readability score":["Ocena czytelnoĹ›ci"],"SEO score":["Ocena SEO"],"Copy failed":["Kopiowanie nie powiodĹ‚o siÄ™"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Poprawiaj rankingi dla wszystkich swoich kluczowych treĹ›ci, korzystajÄ…c z tego %1$streningu krok po kroku%2$s!"],"Rank with articles you want to rank with":["Pozycjonuj artykuĹ‚y, ktĂłre sÄ… najwaĹĽniejsze"],"Descriptive text":["Opis"],"Show the descriptive text":["PokaĹĽ opis"],"Show icon":["PokaĹĽ ikonÄ™"],"Yoast Estimated Reading Time":["Szacowany Czas Czytania Yoast"],"Shows an estimated reading time based on the content length.":["Pokazuje szacowany czas czytania na podstawie dĹ‚ugoĹ›ci zawartoĹ›ci."],"reading time":["czas czytania"],"content length":["dĹ‚ugość zawartoĹ›ci"],"Estimated reading time:":["Szacowany czas czytania:"],"minute":["minuta","minuty","minut"],"Settings":["Ustawienia"],"OK":["OK"],"Close":["Zamknij"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Pierwsze, prawdziwie kompletne rozwiÄ…zanie SEO dla WordPressa, ktĂłre zawiera analizator podstron, mapy XML i wiele wiÄ™cej."],"Type":["Rodzaj"],"Team Yoast":["Zespół Yoast"],"Orphaned content":["Osierocone treĹ›ci"],"Synonyms":["Synonimy"],"Internal linking suggestions":["Sugestie linkowania wewnÄ™trznego"],"Enter a related keyphrase to calculate the SEO score":["WprowadĹş powiÄ…zanÄ… frazÄ™ kluczowÄ… do kalkulacji oceny SEO"],"Related keyphrase":["PowiÄ…zana fraza kluczowa"],"Add related keyphrase":["Dodaj podobnÄ… frazÄ™ kluczowÄ…"],"Analysis results":["Wyniki analizy"],"Help on choosing the perfect keyphrase":["Pomoc w wyborze najlepszej frazy kluczowej"],"Help on keyphrase synonyms":["Pomoc w doborze frazy kluczowej synonimĂłw"],"Keyphrase":["Fraza kluczowa"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nowy URL: {{link}}%s{{/link}}"],"Undo":["Cofnij"],"Redirect created":["Przekierowanie utworzone"],"%s just created a redirect from the old URL to the new URL.":["%s przekierowanie ze starego adresu URL do nowego, zostaĹ‚o utworzone pomyĹ›lnie."],"Old URL: {{link}}%s{{/link}}":["Stary URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Synonimy frazy kluczowej"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["WystÄ…piĹ‚ błąd: analiza SEO Premium nie dziaĹ‚a zgodnie z oczekiwaniami. Prosimy o {{activateLink}}aktywowanie subskrypcji w MyYoast{{/activateLink}}, a nastÄ™pnie {{reloadButton}}ponowne zaĹ‚adowanie tej strony{{/reloadButton}}, aby dziaĹ‚aĹ‚a poprawnie."],"seo":["seo"],"internal linking":["WewnÄ™trzne linkowanie"],"site structure":["Struktura witryny"],"We could not find any relevant articles on your website that you could link to from your post.":["Nie mogliĹ›my znaleźć ĹĽadnych istotnych artykułów w twojej witrynie, do ktĂłrych moĹĽna by byĹ‚o wstawić odnoĹ›niki w tym wpisie."],"Load suggestions":["Sugestie dotyczÄ…ce obciÄ…ĹĽenia"],"Refresh suggestions":["Sugestie dotyczÄ…ce odĹ›wieĹĽenia"],"Write list…":["Napisz listÄ™..."],"Adds a list of links related to this page.":["Dodaje listÄ™ linkĂłw zwiÄ…zanych z tÄ… stronÄ…."],"related posts":["posty powiÄ…zane"],"related pages":["strony powiÄ…zane"],"Adds a table of contents to this page.":["Dodaje spis treĹ›ci do tej strony."],"links":["linki"],"toc":["spis treĹ›ci"],"Copy link":["Skopiuj link"],"Copy link to suggested article: %s":["Skopiuj link do sugerowanego artykuĹ‚u: %s"],"Add a title to your post for the best internal linking suggestions.":["Dodaj tytuĹ‚ do swojego postu, aby uzyskać najlepsze sugestie dotyczÄ…ce linkowania wewnÄ™trznego."],"Add a metadescription to your post for the best internal linking suggestions.":["Dodaj metaopis do swojego postu, aby uzyskać najlepsze sugestie dotyczÄ…ce linkowania wewnÄ™trznego."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Dodaj tytuĹ‚ i metaopis do swojego postu, aby uzyskać najlepsze sugestie dotyczÄ…ce linkowania wewnÄ™trznego."],"Also, add a title to your post for the best internal linking suggestions.":["Dodaj rĂłwnieĹĽ tytuĹ‚ do swojego postu, aby uzyskać najlepsze sugestie dotyczÄ…ce linkowania wewnÄ™trznego."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Dodaj rĂłwnieĹĽ metaopis do swojego postu, aby uzyskać najlepsze sugestie dotyczÄ…ce linkowania wewnÄ™trznego."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Dodaj rĂłwnieĹĽ tytuĹ‚ i opis do swojego postu, aby uzyskać najlepsze sugestie dotyczÄ…ce linkowania wewnÄ™trznego."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Kiedy dodasz nieco wiÄ™cej tekstu, otrzymasz listÄ™ powiÄ…zanych treĹ›ci, do ktĂłrych bÄ™dziesz mĂłgĹ‚ zamieĹ›cić link w swoim poĹ›cie."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Aby poprawić strukturÄ™ swojej witryny, rozwaĹĽ linkowanie do innych istotnych postĂłw lub stron na swojej stronie."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["To zajmie kilka sekund, aby pokazać Ci listÄ™ powiÄ…zanych treĹ›ci, do ktĂłrych mĂłgĹ‚byĹ› zamieĹ›cić link. Propozycje zostanÄ… wyĹ›wietlone tutaj, jak tylko bÄ™dziemy je mieli."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Przeczytaj nasz przewodnik na temat wewnÄ™trznego linkowania dla celĂłw SEO{{/a}} aby dowiedzieć siÄ™ wiÄ™cej."],"Copied!":["Skopiowano!"],"Not supported!":["Brak wsparcia!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["PrĂłbujesz uĹĽyć wielu powiÄ…zanych fraz kluczowych? PowinieneĹ› dodać je osobno."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Twoja fraza kluczowa jest za dĹ‚uga. Powinna mieć maksymalnie 191 znakĂłw."],"Add as related keyphrase":["Dodaj jako powiÄ…zanÄ… frazÄ™ kluczowÄ…"],"Added!":["Dodano!"],"Remove":["UsuĹ„"],"Table of contents":["Tabela zawartoĹ›ci"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Musimy zoptymalizować dane SEO Twojej strony, abyĹ›my mogli zaproponować najlepsze %1$spropozycje linkowania%2$s.\n\n%3$sRozpocznij optymalizacjÄ™ danych SEO%4$s"],"Create a Zap in %s":["UtwĂłrz Zap za %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pt_BR.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pt_BR.json new file mode 100644 index 00000000..7e47d3bd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pt_BR.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=(n > 1);","lang":"pt_BR"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["A solicitação retornou com o seguinte erro: \"%s\""],"X share preview":["PrĂ©-visualização do compartilhamento X"],"AI X title generator":["Gerador de tĂ­tulos AI para X"],"AI X description generator":["Gerador de descrição AI do X"],"X preview":["PrĂ©-visualização X"],"Please enter a valid focus keyphrase.":["Informe uma frase-chave de foco válida."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Para usar esse recurso, seu site deve estar acessĂ­vel publicamente. Isso se aplica a sites de teste e instâncias em que sua API REST Ă© protegida por senha. Certifique-se de que seu site esteja acessĂ­vel ao pĂşblico e tente novamente. Se o problema persistir, %1$sentre em contato com nossa equipe de suporte%2$s."],"Yoast AI cannot reach your site":["Yoast AI nĂŁo consegue acessar seu site"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Para acessar esse recurso, vocĂŞ precisa de assinaturas ativas de %2$s e %3$s. Por favor %5$sative suas assinaturas em %1$s%6$s ou %7$sobtenha um novo %4$s%8$s. Depois, atualize esta página para que o recurso funcione corretamente, o que pode levar atĂ© 30 segundos."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["O gerador de tĂ­tulos de IA requer que a análise de SEO seja habilitada antes do uso. Para habilitá-lo, navegue atĂ© %2$sRecursos do site %1$s%3$s, ative a análise de SEO e clique em 'Salvar alterações'. Se a análise SEO estiver desabilitada no seu perfil de usuário do WordPress, acesse o seu perfil e habilite-o lá. Entre em contato com seu administrador se vocĂŞ nĂŁo tiver acesso a essas configurações."],"Social share preview":["Visualização de compartilhamento social"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Para continuar usando o recurso Yoast AI, reduza a frequĂŞncia de suas solicitações. Nosso %1$sartigo de ajuda%2$s fornece orientação sobre como planejar e acompanhar com eficiĂŞncia suas solicitações para um fluxo de trabalho otimizado."],"You've reached the Yoast AI rate limit.":["VocĂŞ atingiu o limite de taxa do Yoast AI."],"Allow":["Permitir"],"Deny":["Negar"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Para ver este vĂ­deo, vocĂŞ precisa permitir que %1$s carregue vĂ­deos incorporados de %2$s."],"Text generated by AI may be offensive or inaccurate.":["O texto gerado pela IA pode ser ofensivo ou impreciso."],"(Opens in a new browser tab)":["(Abre numa nova aba do navegador)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Acelere seu fluxo de trabalho com IA generativa. Obtenha sugestões de tĂ­tulos e descrições de alta qualidade para sua pesquisa e aparĂŞncia social. %1$sSaiba mais%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Gere tĂ­tulos e descrições com Yoast AI!"],"New to %1$s":["Novo em %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Eu aprovo os %1$stermos de serviço%2$s e a %3$spolĂ­tica de privacidade%4$s do serviço Yoast AI. Isto inclui consentir na recolha e utilização de dados para melhorar a experiĂŞncia do utilizador."],"Start generating":["Comece a gerar"],"Yes, revoke consent":["Sim, revogar o consentimento"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Ao revogar seu consentimento, vocĂŞ nĂŁo terá mais acesso aos recursos do Yoast AI. Tem certeza de que deseja revogar seu consentimento?"],"Something went wrong, please try again later.":["Algo deu errado. Tente novamente mais tarde."],"Revoke AI consent":["Revogar o consentimento da IA"],"AI title generator":["Gerador de tĂ­tulos de IA"],"AI description generator":["Gerador de descrição de IA"],"AI social title generator":["Gerador de tĂ­tulos sociais de IA"],"AI social description generator":["Gerador de descrição social de IA"],"Dismiss":["Ignorar"],"Don’t show again":["NĂŁo mostre novamente"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sDica%2$s: melhore a precisĂŁo dos tĂ­tulos de IA gerados escrevendo mais conteĂşdo em sua página."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sDica%2$s: melhore a precisĂŁo das descrições de IA geradas escrevendo mais conteĂşdo em sua página."],"Try again":["Tentar novamente"],"Social preview":["Visualização social"],"Desktop result":["Resultado para computadores"],"Mobile result":["Resultado para dispositivos mĂłveis"],"Apply %s description":[],"Apply %s title":[],"Next":["PrĂłximo"],"Previous":["Anterior"],"Generate 5 more":["Gere mais 5"],"Google preview":["PrĂ©-visualização no Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Devido Ă s rĂ­gidas diretrizes Ă©ticas da OpenAI e Ă s %1$spolĂ­ticas de uso%2$s, nĂŁo podemos gerar tĂ­tulos SEO para sua página. Se vocĂŞ pretende usar IA, evite o uso de conteĂşdo explĂ­cito, violento ou sexualmente explĂ­cito. %3$sLeia mais sobre como configurar sua página para garantir os melhores resultados com IA%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Devido Ă s rĂ­gidas diretrizes Ă©ticas da OpenAI e Ă s %1$spolĂ­ticas de uso%2$s, nĂŁo podemos gerar meta descrições para sua página. Se vocĂŞ pretende usar IA, evite o uso de conteĂşdo explĂ­cito, violento ou sexualmente explĂ­cito. %3$sLeia mais sobre como configurar sua página para garantir os melhores resultados com IA%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Para acessar esse recurso, vocĂŞ precisa de uma assinatura %1$s ativa. Por favor %3$sative sua assinatura em %2$s%4$s ou %5$sobtenha uma nova assinatura %1$s%6$s. Em seguida, clique no botĂŁo para atualizar esta página para que o recurso funcione corretamente, o que pode levar atĂ© 30 segundos."],"Refresh page":["Atualizar a página"],"Not enough content":["ConteĂşdo insuficiente"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Por favor, tente novamente mais tarde. Se o problema persistir, %1$sentre em contato com nossa equipe de suporte%2$s!"],"Something went wrong":["Algo deu errado"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Parece que ocorreu um tempo limite de conexĂŁo. Verifique sua conexĂŁo com a Internet e tente novamente mais tarde. Se o problema persistir, %1$sentre em contato com nossa equipe de suporte%2$s"],"Connection timeout":["Tempo limite de conexĂŁo"],"Use AI":["Usar IA"],"Close modal":["Fechar modal"],"Learn more about AI (Opens in a new browser tab)":["Saiba mais sobre IA (abre em uma nova guia do navegador)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTĂ­tulo%3$s: Sua página ainda nĂŁo tem um tĂ­tulo. %2$sAdicione um%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTĂ­tulo%2$s: Sua página tem um tĂ­tulo. Bom trabalho!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribuição da frase-chave%3$s: %2$sInclua sua frase-chave, ou sinĂ´nimos dela, no texto para verificar a distribuição da frase-chave%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sDistribuição de frase-chave%2$s: Bom trabalho!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistruibuição de frase-chave%3$s: Desigual. Algumas partes do seu texto nĂŁo contĂ©m a frase-chave ou algum sinĂ´nimo. %2$sMelhore sua distribuição no texto todo%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuição da frase-chave%3$s: Muito desigual. Boa parte do seu texto nĂŁo contĂ©m a frase-chave ou sinĂ´nimos dela. %2$sFaça uma melhor distribuição%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: VocĂŞ nĂŁo está usando muitas palavras complexas, o que facilita a leitura do seu texto. Bom trabalho!"],"Word complexity":["Complexidade da palavra"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s das palavras em seu texto sĂŁo consideradas complexas. %3$sTente usar palavras mais curtas e familiares para melhorar a legibilidade%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAlinhamento%3$s: Há uma longa seção de texto centralizado. %2$sRecomendamos deixá-lo alinhado Ă  esquerda%3$s.","%1$sAlinhamento%3$s: Há %4$s longas seções de texto alinhado ao centro. %2$sRecomendamos deixá-los alinhados Ă  esquerda%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAlinhamento%3$s: Há uma longa seção de texto centralizado. %2$sRecomendamos deixá-lo alinhado Ă  direita%3$s.","%1$sAlinhamento%3$s: Há %4$s longas seções de texto alinhado ao centro. %2$sRecomendamos deixá-los alinhados Ă  direita%3$s."],"Select image":["Selecione a imagem"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Talvez vocĂŞ nem saiba, mas pode haver páginas em seu site que nĂŁo recebem nenhum link. Isso Ă© um problema de SEO, porque Ă© difĂ­cil para os motores de busca encontrar páginas que nĂŁo recebam links. Portanto, Ă© mais difĂ­cil para eles classificarem. Chamamos essas páginas de conteĂşdo ĂłrfĂŁo. Neste exercĂ­cio, encontramos o conteĂşdo ĂłrfĂŁo em seu site e orientamos vocĂŞ na adição rápida de links a ele, para que ele tenha a chance de classificação!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Talvez vocĂŞ nem saiba, mas pode haver páginas em seu site que nĂŁo recebem nenhum link. Isso Ă© um problema de SEO, porque Ă© difĂ­cil para os motores de busca encontrar páginas que nĂŁo recebam links. Portanto, Ă© mais difĂ­cil para eles classificarem. Chamamos essas páginas de conteĂşdo ĂłrfĂŁo. Neste exercĂ­cio, encontramos o conteĂşdo ĂłrfĂŁo em seu site e orientamos vocĂŞ na adição rápida de links a ele, para que ele tenha a chance de classificação!"],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Hora de adicionar alguns links! Abaixo, vocĂŞ vĂŞ uma lista com seus pilares. Sob cada pedra angular, há sugestões de artigos dos quais vocĂŞ pode adicionar um link. Ao adicionar o link, certifique-se de inseri-lo em uma frase relevante relacionada ao seu artigo fundamental. Continue adicionando links de quantos artigos relacionados vocĂŞ precisar, atĂ© que seus pilares tenham o máximo de links internos apontando para eles."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Alguns artigos do seu site sĂŁo %1$sos%2$s mais importantes. Eles respondem Ă s perguntas das pessoas e resolvem seus problemas. EntĂŁo, eles merecem classificação! Em %3$s, chamamos esses artigos fundamentais. Uma das maneiras de classificá-los Ă© apontar links suficientes para eles. Mais links sinalizam para os mecanismos de pesquisa que esses artigos sĂŁo importantes e valiosos. Neste exercĂ­cio, ajudaremos vocĂŞ a adicionar links aos seus artigos fundamentais!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Depois de adicionar um pouco mais de texto, poderemos informar o nĂ­vel de formalidade do seu texto."],"Overall, your text appears to be %1$s%3$s%2$s.":["No geral, seu texto parece ser %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["A integração do Zapier será removida de %1$s na versĂŁo 20.7 (data de lançamento em 9 de maio). Se vocĂŞ tiver alguma dĂşvida, entre em contato com %2$s."],"Maximum heading level":["NĂ­vel máximo de tĂ­tulo"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["VocĂŞ desativou as sugestões de links, necessárias para que os links relacionados funcionem. Se vocĂŞ deseja adicionar links relacionados, acesse Recursos do site e ative as sugestões de links."],"Schema":["Esquema"],"Meta tags":["Meta tags"],"Not available":["IndisponĂ­vel"],"Checks":["Marcações"],"Focus Keyphrase":["Frase-chave de foco"],"Good":["Bom"],"No index":["NĂŁo indexar"],"Front-end SEO inspector":["Inspetor SEO"],"Focus keyphrase not set":["Frase-chave em foco nĂŁo definida."],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Depois de publicar seu Zap no painel do %s, vocĂŞ pode verificar se ele está ativo e conectado ao seu site."],"Reset API key":["Redefinir chave de API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["VocĂŞ está conectado a %s usando a seguinte chave de API. Se vocĂŞ quiser se reconectar com uma chave de API diferente, poderá redefinir sua chave abaixo."],"Your API key":["Sua chave de API"],"Go to your %s dashboard":["Vá para o seu painel %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["VocĂŞ está conectado com sucesso a %1$s! Para gerenciar seu Zap, visite seu painel %2$s."],"Your %s dashboard":["Seu painel %s"],"Verify connection":["Verificar conexĂŁo"],"Verify your connection":["Verificar sua conexĂŁo"],"Create a Zap":["Crie um Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Faça login na sua conta %1$s e comece a criar seu primeiro Zap! Observe que vocĂŞ sĂł pode criar 1 Zap com um evento de gatilho de %2$s. Dentro deste Zap vocĂŞ pode escolher uma ou mais ações."],"%s API key":["%s chave de API"],"You'll need this API key later on in %s when you're setting up your Zap.":["VocĂŞ precisará dessa chave de API mais tarde em %s quando estiver configurando seu Zap."],"Copy your API key":["Copie sua chave de API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Para configurar uma conexĂŁo, certifique-se de copiar a chave de API fornecida abaixo e usá-la para criar e ativar um Zap em sua conta %s."],"Manage %s settings":["Gerenciar configurações de %s"],"Connect to %s":["Conectar a %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Observação: para que este treino funcione bem, vocĂŞ precisa executar a ferramenta de otimização de dados de SEO. Os administradores podem executar isso em %1$sSEO > Ferramentas%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["VocĂŞ adicionou links aos seus artigos ĂłrfĂŁos e limpou os que nĂŁo eram mais relevantes. Bom trabalho! DĂŞ uma olhada no resumo abaixo e comemore o que vocĂŞ realizou!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sPrecisa de mais orientação? Cobrimos cada etapa com mais detalhes no guia a seguir: %2$sComo usar o %7$s treino de conteĂşdo ĂłrfĂŁo%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["VocĂŞ acabou de tornar seu melhor conteĂşdo fácil de encontrar e com maior probabilidade de classificação! Caminho a percorrer! De tempos em tempos, lembre-se de verificar se seus pilares estĂŁo recebendo links suficientes!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["DĂŞ uma olhada na lista abaixo. Seus pilares (marcados com %1$s) tĂŞm mais links internos apontando para eles? Clique no botĂŁo Otimizar se achar que uma base precisa de mais links. Isso moverá o artigo para a prĂłxima etapa."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Todas as suas pedras angulares tĂŞm balas verdes? Para obter os melhores resultados, considere editar os que nĂŁo funcionam!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Quais artigos vocĂŞ deseja classificar mais alto? Quais seriam os mais Ăşteis e completos para o seu pĂşblico ? Clique na seta apontando para baixo e procure artigos que atendam a esses critĂ©rios. Marcaremos automaticamente os artigos que vocĂŞ selecionar na lista como base."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sPrecisa de mais orientação? Cobrimos cada etapa com mais detalhes em: %2$sComo usar o treino básico do %7$s%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["ĂŤndice Yoast"],"Yoast Related Links":["Links Relacionados Yoast"],"Finish optimizing":["Otimização Finalizada"],"You've finished adding links to this article.":["VocĂŞ terminou de adicionar links a este artigo."],"Optimize":["Otimize"],"Added to next step":["Adicionado ao prĂłximo passo."],"Choose cornerstone articles...":["Escolha os artigos fundamentais..."],"Loading data...":["Carregando dados..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["VocĂŞ ainda nĂŁo limpou ou atualizou nenhum artigo usando este exercĂ­cio. Depois de fazer isso, um resumo do seu trabalho aparecerá aqui."],"Skipped":["Pulou"],"Hidden from search engines.":["Oculto nos motores de busca."],"Removed":["Removido"],"Improved":["Aperfeiçoado"],"Resolution":["Resolução"],"Loading redirect options...":["Carregando opções de redirecionamento..."],"Remove and redirect":["Remover e redirecionar"],"Custom url:":["URL personalizado:"],"Related article:":["Artigo relacionado:"],"Home page:":["Pagina inicial:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["VocĂŞ está prestes a remover %1$s%2$s%3$s. Para evitar erros 404 em seu site, vocĂŞ deve redirecioná-lo para outra página em seu site. Para onde vocĂŞ gostaria de redirecioná-lo?"],"SEO Workout: Remove article":["ExercĂ­cio de SEO: Remover artigo"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Está tudo bem! NĂŁo encontramos nenhum artigo em seu site com mais de seis meses e recebemos poucos links em seu site. Volte aqui mais tarde para novas sugestões de limpeza!"],"Hide from search engines":["Esconder dos motores de busca"],"Improve":["Aperfeiçoar"],"Are you sure you wish to hide this article from search engines?":["Tem certeza de que deseja ocultar este artigo dos mecanismos de pesquisa?"],"Action":["Ação"],"You've hidden this article from search engines.":["VocĂŞ escondeu este artigo dos motores de busca."],"You've removed this article.":["VocĂŞ removeu este artigo."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["No momento , vocĂŞ nĂŁo selecionou nenhum artigo para melhorar. Selecione alguns artigos nas etapas anteriores para adicionar links e mostraremos sugestões de links aqui."],"Loading link suggestions...":["Carregando sugestões de links..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["NĂŁo encontramos nenhuma sugestĂŁo para este artigo, mas Ă© claro que vocĂŞ ainda pode adicionar links para artigos que vocĂŞ acha que estĂŁo relacionados."],"Skip":["Pular"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["VocĂŞ ainda nĂŁo selecionou nenhum artigo para esta etapa. VocĂŞ pode fazer isso na etapa anterior."],"Is it up-to-date?":["Está atualizado?"],"Last Updated":["Ăšltima atualização"],"You've moved this article to the next step.":["VocĂŞ moveu este artigo para a prĂłxima etapa."],"Unknown":["Desconhecido"],"Clear summary":["Resumo claro"],"Add internal links towards your orphaned articles.":["Adicione links internos para seus artigos ĂłrfĂŁos."],"Should you update your article?":["VocĂŞ deve atualizar seu artigo?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Seu site pode conter muito conteĂşdo que vocĂŞ criou uma vez e nunca mais olhou para ele desde entĂŁo. É importante passar por essas páginas e se perguntar se esse conteĂşdo ainda Ă© relevante para o seu site. VocĂŞ deve melhorá-lo ou removĂŞ-lo?"],"Start: Love it or leave it?":["Iniciar: amou ou abandonou?"],"Clean up your unlinked content to make sure people can find it":["Limpe seu conteĂşdo desvinculado para garantir que as pessoas possam encontrá-lo"],"I've finished this workout":["Eu terminei este treino"],"Reset this workout":["Reinicie este treino"],"Well done!":["Bem feito!"],"Add internal links towards your cornerstones":["Adicione links internos para seus cornerstones"],"Check the number of incoming internal links of your cornerstones":["Verifique o nĂşmero de links internos de entrada de seus cornerstones"],"Start: Choose your cornerstones!":["Comece: escolha seus cornerstones!"],"The cornerstone approach":["A abordagem da pedra angular"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Observação : para que este treino funcione bem e ofereça sugestões de links, vocĂŞ precisa executar a ferramenta de otimização de dados de SEO . Os administradores podem executar isso em %1$sSEO > Ferramentas%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Observação: seu administrador desativou a funcionalidade fundamental nas configurações de SEO. Se vocĂŞ quiser usar este treino, ele deve estar habilitado."],"I've finished this step":["Eu terminei esta etapa"],"Revise this step":["Revise esta etapa"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["NĂŁo foi possĂ­vel encontrar links internos em suas páginas. Ou vocĂŞ ainda nĂŁo adicionou links internos ao seu conteĂşdo ou o Yoast SEO nĂŁo os indexou. VocĂŞ pode fazer com que o Yoast SEO indexe seus links executando a otimização de dados de SEO em SEO > Ferramentas."],"Incoming links":["Links de entrada"],"Edit to add link":["Edite para adicionar link"],"%s incoming link":["%s link de entrada","%s links de entrada"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["No momento, vocĂŞ nĂŁo tem artigos marcados como pedra angular. Quando vocĂŞ marca seus artigos como pedra angular, eles aparecerĂŁo aqui."],"Focus keyphrase":["Frase-chave de foco"],"Article":["Artigo"],"Readability score":["Pontuação de legibilidade"],"SEO score":["Pontuação de SEO"],"Copy failed":["CĂłpia falhou"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Melhore as classificações de todos os seus pilares usando este %1$streino passo a passo!%2$s"],"Rank with articles you want to rank with":["Classifique com os artigos que vocĂŞ deseja classificar"],"Descriptive text":["Texto descritivo"],"Show the descriptive text":["Mostra o texto descritivo"],"Show icon":["Mostrar ĂŤcone"],"Yoast Estimated Reading Time":["Tempo estimado de leitura do Yoast"],"Shows an estimated reading time based on the content length.":["Mostra um tempo estimado de leitura com base no comprimento do conteĂşdo."],"reading time":["tempo de leitura"],"content length":["Comprimento do conteĂşdo"],"Estimated reading time:":["Tempo estimado de leitura:"],"minute":["minuto","minutos"],"Settings":["Configurações"],"OK":["OK"],"Close":["Fechar"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["A primeira verdadeira solução completa de SEO para o WordPress, incluindo a análise de conteĂşdo por página, sitemaps XML e muito mais."],"Type":["Tipo"],"Team Yoast":["Equipe da Yoast"],"Orphaned content":["ConteĂşdo ĂłrfĂŁo "],"Synonyms":["SinĂ´nimos"],"Internal linking suggestions":["SugestĂŁo de links internos"],"Enter a related keyphrase to calculate the SEO score":["Digite uma palavra-chave relacionado para calcular a pontuação de SEO"],"Related keyphrase":["Frase-chave relacionada"],"Add related keyphrase":["Adicionar frase-chave relacionada"],"Analysis results":["Resultado da análise"],"Help on choosing the perfect keyphrase":["Ajude a escolher as palavras-chave perfeitas"],"Help on keyphrase synonyms":["Ajude em sinĂ´nimos de palavras-chave"],"Keyphrase":["Frase-chave"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nova URL: {{link}}%s{{/link}}"],"Undo":["Desfazer"],"Redirect created":["Redirecionamento criado"],"%s just created a redirect from the old URL to the new URL.":["%s acabou de criar um redirecionamento da URL antigo para uma nova URL."],"Old URL: {{link}}%s{{/link}}":["URL antigo: {{link}}%s{{/link}}"],"Keyphrase synonyms":["SinĂłnimos da frase chave"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Ocorreu um erro: a análise SEO Premium nĂŁo está funcionando conforme o esperado. {{activateLink}}ative sua assinatura no MyYoast{{/activateLink}} e {{reloadButton}}recarregue esta página{{/reloadButton}} para que ela funcione corretamente."],"seo":["SEO"],"internal linking":["linkagem interna"],"site structure":["estrutura do site"],"We could not find any relevant articles on your website that you could link to from your post.":["NĂŁo foi possĂ­vel encontrar nenhum artigo relevante no seu website que vocĂŞ possa vincular a partir de sua postagem."],"Load suggestions":["Carregar sugestões"],"Refresh suggestions":["Atualizar sugestões"],"Write list…":["Escrever lista..."],"Adds a list of links related to this page.":["Adiciona uma lista de links relacionados a essa página"],"related posts":["publicações relacionadas"],"related pages":["páginas relacionads"],"Adds a table of contents to this page.":["Adiciona uma tabela de conteĂşdo a esta página."],"links":["links"],"toc":["toc"],"Copy link":["Copiar link"],"Copy link to suggested article: %s":["Copiar link para artigos sugeridos: %s"],"Add a title to your post for the best internal linking suggestions.":["Adicione um tĂ­tulo ao seu post para obter as melhores sugestões de links internos."],"Add a metadescription to your post for the best internal linking suggestions.":["Adicione uma meta descrição ao seu post para obter as melhores sugestões de links internos."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Adicione um tĂ­tulo e uma meta descrição Ă  sua postagem para obter as melhores sugestões de links internos."],"Also, add a title to your post for the best internal linking suggestions.":["AlĂ©m disso, adicione um tĂ­tulo ao seu post para obter as melhores sugestões de links internos."],"Also, add a metadescription to your post for the best internal linking suggestions.":["AlĂ©m disso, adicione uma meta descrição Ă  sua postagem para obter as melhores sugestões de links internos."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["AlĂ©m disso, adicione um tĂ­tulo e uma meta descrição Ă  sua postagem para obter as melhores sugestões de links internos."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Depois de adicionar um pouco mais de cĂłpia, forneceremos uma lista de conteĂşdo relacionado aqui para o qual vocĂŞ pode criar um link em sua postagem."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Para melhorar a estrutura do seu site, considere linkar para outros posts ou páginas erlevantes no seu website."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Leva alguns segundos para mostrar uma lista de conteĂşdo relacionado ao qual vocĂŞ pode criar um link. As sugestões serĂŁo mostradas aqui assim que as tivermos."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}} Leia nosso guia sobre links internos para SEO {{/ a}} para saber mais."],"Copied!":["Copiado!"],"Not supported!":["NĂŁo suportado!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Está tentando usar mĂşltiplas palavras-frase relacionadas? VocĂŞ deve adicionar elas separadamente."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Sua frase-chave Ă© muito longa. Pode ter no máximo 191 caracteres."],"Add as related keyphrase":["Adicionar como uma palavra chave relacionada"],"Added!":["Adicionado!"],"Remove":["Remover"],"Table of contents":["Tabela de conteĂşdos"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Precisamos otimizar os dados de SEO do seu site para que possamos oferecer as melhores %1$ssugestões de linking%2$s.\n\n%3$sIniciar otimização de dados SEO%4$s"],"Create a Zap in %s":["Criar um Zap em %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pt_PT.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pt_PT.json new file mode 100644 index 00000000..57d58d09 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-pt_PT.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"pt"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["O pedido foi devolvido com o seguinte erro: \"%s\""],"X share preview":["PrĂ©-visualização de partilha no X"],"AI X title generator":["Gerador de tĂ­tulos do X com IA"],"AI X description generator":["Gerador de descrições do X com IA"],"X preview":["PrĂ©-visualização no X"],"Please enter a valid focus keyphrase.":["Digite uma frase-chave principal válida."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Para utilizar esta funcionalidade, o seu site tem de estar acessĂ­vel ao pĂşblico. Isto aplica-se tanto a sites de teste como a instâncias em que a sua REST API está protegida por senha. Certifique-se de que o seu site está acessĂ­vel ao pĂşblico e tente de novo. Se o problema persistir, %1$scontacte a nossa equipa de suporte%2$s."],"Yoast AI cannot reach your site":["A IA do Yoast nĂŁo consegue aceder ao seu site"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Para aceder a esta funcionalidade, precisa das subscrições %2$s e %3$s activas. Por favor, %5$sactive as suas subscrições em %1$s%6$s ou %7$sobtenha uma nova %4$s%8$s. De seguida, actualize esta página para que funcione correctamente, o que poderá demorar atĂ© 30 segundos."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["O gerador de tĂ­tulos AI requer que a análise SEO seja activada antes de ser utilizada. Para a activar, navegue atĂ© Ă s %2$sFuncionalidades do site de %1$s%3$s, active a análise de SEO e clique em \"Guardar alterações\". Se a análise de SEO estiver desactivada no seu perfil de utilizador do WordPress, aceda ao seu perfil e active-a aĂ­. Contacte o seu administrador se nĂŁo tiver acesso a estas definições."],"Social share preview":["PrĂ©-visualização de partilha social"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Para continuar a usar a funcionalidade de IA do Yoast, reduza a frequĂŞncia dos seus pedidos. O nosso %1$sartigo de ajuda%2$s fornece orientações sobre como planear e definir o ritmo dos seus pedidos de forma eficaz para um fluxo de trabalho optimizado."],"You've reached the Yoast AI rate limit.":["Atingiu o limite da taxa de IA do Yoast."],"Allow":["Permitir"],"Deny":["Recusar"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Para ver este vĂ­deo, o %1$s precisa de permissĂŁo para carregar vĂ­deos incorporados a partir de %2$s."],"Text generated by AI may be offensive or inaccurate.":["O texto gerado pela IA pode ser ofensivo ou impreciso."],"(Opens in a new browser tab)":["(Abrir num novo separador)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Acelere o seu fluxo de trabalho com IA generativa. Obtenha sugestões de tĂ­tulos e descrições de alta qualidade para a sua apresentação da pesquisa e nas redes sociais. %1$sSaiba mais%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Gere tĂ­tulos e descrições com a IA do Yoast!"],"New to %1$s":["Novo no %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Aprovo os %1$sTermos do serviço%2$s e %3$sPolĂ­tica de privacidade%4$s do serviço de IA do Yoast. Isto inclui o consentimento para a recolha e utilização de dados para melhorar a experiĂŞncia do utilizador."],"Start generating":["Começar a gerar"],"Yes, revoke consent":["Sim, revogar o consentimento"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Ao revogar o seu consentimento, deixará de ter acesso Ă s funcionalidades de IA do Yoast. De certeza que quer revogar o seu consentimento?"],"Something went wrong, please try again later.":["Algo correu mal, por favor tente de novo mais tarde."],"Revoke AI consent":["Revogar consentimento da IA"],"AI title generator":["Gerador de tĂ­tulos de IA"],"AI description generator":["Gerador de descrição de IA"],"AI social title generator":["Gerador de tĂ­tulos para redes sociais com IA"],"AI social description generator":["Gerador de descrições para redes sociais com IA"],"Dismiss":["Ignorar"],"Don’t show again":["NĂŁo mostrar de novo"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sDica%2$s: Melhore a precisĂŁo dos seus tĂ­tulos gerados por IA ao escrever mais conteĂşdo na sua página."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sDica%2$s: Melhore a precisĂŁo das suas descrições geradas por IA ao escrever mais conteĂşdo na sua página."],"Try again":["Tentar de novo"],"Social preview":["PrĂ©-visualização nas redes sociais"],"Desktop result":["Resultado em computador"],"Mobile result":["Resultado em dispositivos mĂłveis"],"Apply %s description":[],"Apply %s title":[],"Next":["Seguinte"],"Previous":["Anterior"],"Generate 5 more":["Gerar mais 5"],"Google preview":["PrĂ©-visualização do Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Devido Ă s directrizes Ă©ticas rigorosas do OpenAI e Ă s %1$spolĂ­ticas de utilização%2$s, nĂŁo nos Ă© possĂ­vel gerar tĂ­tulos SEO para a sua página. Se tenciona utilizar a IA, evite a utilização de conteĂşdos explĂ­citos, violentos ou sexualmente explĂ­citos. %3$sLeia mais sobre como configurar a sua página para garantir que obtĂ©m os melhores resultados com a IA%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Devido Ă s directrizes Ă©ticas rigorosas do OpenAI e Ă s %1$spolĂ­ticas de utilização%2$s, nĂŁo nos Ă© possĂ­vel gerar descrições SEO para a sua página. Se tenciona utilizar a IA, evite a utilização de conteĂşdos explĂ­citos, violentos ou sexualmente explĂ­citos. %3$sLeia mais sobre como configurar a sua página para garantir que obtĂ©m os melhores resultados com a IA%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Para aceder a esta funcionalidade Ă© necessária uma subscrição activa de %1$s. Por favor, %3$sactive a sua subscrição em %2$s%4$s ou %5$sobtenha uma nova subscrição de %1$s%6$s. Depois disso, clique no botĂŁo para actualizar esta página para que a funcionalidade trabalhe correctamente, o que pode demorar atĂ© 30 segundos."],"Refresh page":["Actualizar a página"],"Not enough content":["ConteĂşdo insuficiente"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Tente de novo mais tarde. Se o problema persistir, %1$scontacte a nossa equipa de suporte%2$s!"],"Something went wrong":["Algo correu mal"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Parece que atingiu o limite de tempo da ligação. Verifique a sua ligação Ă  Internet e tente de novo mais tarde. Se o problema persistir, %1$scontacte a nossa equipa de suporte%2$s"],"Connection timeout":["Tempo limite da ligação"],"Use AI":["Utilizar a IA"],"Close modal":["Fechar janela"],"Learn more about AI (Opens in a new browser tab)":["Saiba mais sobre a IA (abre num novo separador do navegador)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitle%3$s: A sua página ainda nĂŁo tem um tĂ­tulo. %2$sAdicione um%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitle%2$s: A sua página tem um tĂ­tulo. Muito bem!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribuição da frase-chave%3$s: %2$sInclua a sua frase-chave, ou sinĂłnimos dela, no texto para ser possĂ­vel verificar a distribuição da frase-chave%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sDistribuição da frase-chave%2$s: Bom trabalho!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuição da frase-chave%3$s: Irregular. Algumas partes do seu texto nĂŁo contĂ©m a frase-chave ou qualquer sinĂłnimo. %2$sDistribua-as com maior regularidade%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuição da frase-chave%3$s: Muito irregular. Grandes partes do seu texto nĂŁo contĂ©m a frase-chave ou qualquer sinĂłnimo. %2$sDistribua-as com maior regularidade%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: NĂŁo está a usar demasiadas palavras complexas, o que torna o seu texto fácil de ler. Bom trabalho!"],"Word complexity":["Complexidade das palavras"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s das palavras do seu texto sĂŁo consideradas complexas. %3$sTente usar palavras mais curtas e familiares para melhorar a legibilidade%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAlinhamento%3$s: Existe uma longa secção de texto alinhado ao centro. %2$sRecomendamos que seja alinhado Ă  esquerda%3$s.","%1$sAlinhamento%3$s: Existem %4$s longas secções de texto alinhado ao centro. %2$sRecomendamos que sejam alinhados Ă  esquerda%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAlinhamento%3$s: Existe uma longa secção de texto alinhado ao centro. %2$sRecomendamos que seja alinhado Ă  direita%3$s.","%1$sAlinhamento%3$s: Existem %4$s longas secções de texto alinhado ao centro. %2$sRecomendamos que sejam alinhados Ă  direita%3$s."],"Select image":["Seleccionar imagem"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Pode nem sequer saber, mas pode haver páginas no seu site que nĂŁo recebem quaisquer ligações. Isso Ă© um problema de SEO, porque Ă© difĂ­cil para os motores de pesquisa encontrarem páginas para as quais nĂŁo há ligações. Por isso, Ă© mais difĂ­cil classificá-las. Chamamos a estas páginas conteĂşdos ĂłrfĂŁos. Neste exercĂ­cio, encontramos os conteĂşdos ĂłrfĂŁos no seu site e ajudamos a adicionar rapidamente ligações para estes conteĂşdos, para que possam ter uma oportunidade de ser classificados!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["É altura de adicionar algumas ligações! Abaixo verá uma lista com os seus conteĂşdos ĂłrfĂŁos. Por baixo de cada um há sugestões de páginas relacionadas, Ă s quais pode adicionar uma ligação. Quando adicionar a ligação, certifique-se de que a insere numa frase relevante relacionada com o seu conteĂşdo ĂłrfĂŁo. Continue a adicionar ligações a cada um dos conteĂşdos ĂłrfĂŁos atĂ© ficar que a quantidade de ligações para estes conteĂşdos seja satisfatĂłria."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Chegou o momento de adicionar algumas ligações! Veja abaixo uma lista dos seus conteĂşdos principais. Por baixo de cada conteĂşdo principal, há sugestões de artigos aos quais pode adicionar uma ligação. Ao adicionar a ligação, certifique-se de que a insere numa frase relevante relacionada com o conteĂşdo principal. Continue a adicionar ligações de tantos conteĂşdos relacionados quantos forem necessários, atĂ© que os seus conteĂşdos principais tenham o maior nĂşmero de ligações internas a apontar para si."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Alguns conteĂşdos do seu site sĂŁo %1$sos%2$s mais importantes. Respondem Ă s perguntas das pessoas e resolvem os seus problemas. Por isso, merecem ser mostrados nos resultados de pesquisas! Na %3$s, chamamos-lhes conteĂşdos principais. Uma das formas de fazer com que sejam mostrados nos resultados de pesquisas Ă© apontar para si um nĂşmero suficiente de ligações. Mais ligações indicam aos motores de pesquisa que esses conteĂşdos sĂŁo importantes e valiosos. Neste exercĂ­cio, vamos ajudar a adicionar ligações aos seus conteĂşdos principais!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Assim que adicionar um pouco mais de texto, poderemos indicar-lhe o respectivo nĂ­vel de formalidade."],"Overall, your text appears to be %1$s%3$s%2$s.":["No geral, o seu texto parece ser %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["A integração com o Zapier será removida do %1$s na versĂŁo 20.7 (lançamento em 9 de Maio). Se tiver alguma dĂşvida, entre em contacto atravĂ©s de %2$s."],"Maximum heading level":["NĂ­vel máximo de tĂ­tulo"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Desactivou as sugestões de ligações, que sĂŁo necessárias para o funcionamento das ligações relacionadas. Se quiser adicionar ligações relacionadas, vá a Funcionalidades do site e active as sugestões de ligações."],"Schema":["Schema"],"Meta tags":["Elementos meta"],"Not available":["NĂŁo disponĂ­vel"],"Checks":["Verificações"],"Focus Keyphrase":["Frase-chave principal"],"Good":["Bom"],"No index":["NĂŁo indexar"],"Front-end SEO inspector":["Inspector de SEO no site"],"Focus keyphrase not set":["Frase-chave principal nĂŁo definida"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Assim que publicar o seu Zap no painel do %s, pode verificar se está activo e ligado ao seu site."],"Reset API key":["Repor a chave de API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Está ligado ao %s atravĂ©s da seguinte chave de API. Se quiser ligar de novo com uma chave de API diferente pode repor a chave abaixo."],"Your API key":["A sua chave de API"],"Go to your %s dashboard":["Vá ao seu painel do %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Ligou-se ao %1$s com sucesso! Para gerir o seu Zap, por favor visite o seu painel do %2$s."],"Your %s dashboard":["O seu painel do %s"],"Verify connection":["Verificar ligação"],"Verify your connection":["Verifique a sua ligação"],"Create a Zap":["Crie um Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Inicie sessĂŁo na sua conta %1$s e comece por criar o seu primeiro Zap! Atenção que apenas pode criar 1 Zap para desencadear eventos do %2$s. Com este Zap pode escolher uma ou mais acções."],"%s API key":["Chave de API do %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Precisará desta chave de API mais tarde no %s, quando configurar o seu Zap."],"Copy your API key":["Copie a sua chave de API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Para configurar uma ligação, certifique-se de que copia a chave de API fornecida abaixo e use-a para criar e activar um Zap na sua conta do %s."],"Manage %s settings":["Gerir opções do %s"],"Connect to %s":["Ligar ao %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Atenção: Para este exercĂ­cio funcionar bem, tem de executar a ferramenta de optimização de dados de SEO. Os administradores podem executar isto em %1$sSEO > Ferramentas%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Adicionou ligações a conteĂşdos ĂłrfĂŁos, e limpou as que já nĂŁo eram relevantes. Bom trabalho! Consulte o resumo abaixo e veja o que conseguiu!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Examine cuidadosamente o conteĂşdo desta lista e faça as correcções necessárias. Se precisar de ajuda na sua correcção, temos um %1$sartigo muito Ăştil que pode guiar do princĂ­pio ao fim%2$s (clique para abrir num novo separador)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sPrecisa de mais ajuda? Descrevemos em detalhe todos os passos neste guia: %2$sExercĂ­cio do %7$s sobre como usar os conteĂşdos ĂłrfĂŁos%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Acabou de tornar o seu melhor conteĂşdo fácil de encontrar, e mais susceptĂ­vel de ser classificado! É assim mesmo! De vez em quando, verifique se os conteĂşdos principais estĂŁo a receber ligações suficientes!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Veja a lista abaixo. Os seus conteĂşdos principais (marcados com %1$s) tĂŞm a maioria das ligações a apontar para si? Clique no botĂŁo Optimizar se achar que um conteĂşdo principal precisa de mais ligações, e este será incluĂ­do no passo seguinte."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Todos os seus conteĂşdos principais tĂŞm indicadores verdes? Para obter os melhores resultados, considere editar os que ainda nĂŁo tĂŞm!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Quais os conteĂşdos que pretende que tenham melhor classificação? Quais sĂŁo os que o seu pĂşblico considerará mais Ăşteis e completos? Clique na seta para baixo e procure os conteĂşdos que pretende. Os conteĂşdos da lista que seleccionar serĂŁo automaticamente marcados como principais."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sPrecisa de mais ajuda? Descrevemos em detalhe todos os passos aqui: %2$sExercĂ­cio do %7$s sobre como usar conteĂşdos principais%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["ĂŤndice do Yoast"],"Yoast Related Links":["Ligações relacionadas do Yoast"],"Finish optimizing":["Terminar optimização"],"You've finished adding links to this article.":["Terminou o processo de adicionar ligações a este conteĂşdo."],"Optimize":["Optimizar"],"Added to next step":["Adicionado ao prĂłximo passo"],"Choose cornerstone articles...":["Escolha os seus conteĂşdos principais..."],"Loading data...":["A carregar dados..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Ainda nĂŁo limpou ou actualizou nenhum artigo com este exercĂ­cio. Quando o fizer, será mostrado aqui um resumo do seu trabalho."],"Skipped":["Ignorado"],"Hidden from search engines.":["Escondido dos motores de pesquisa."],"Removed":["Removido"],"Improved":["Melhorado"],"Resolution":["Resolução"],"Loading redirect options...":["A carregar opções de redireccionamento..."],"Remove and redirect":["Remover e redireccionar"],"Custom url:":["URL personalizado:"],"Related article:":["ConteĂşdo relacionado:"],"Home page:":["Página inicial:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Está prestes a remover %1$s%2$s%3$s. Para evitar erros 404 no seu site, deverá redireccionar para outra página no seu site. Para onde gostaria de redireccionar?"],"SEO Workout: Remove article":["ExercĂ­cio de SEO: Remover artigo"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Está tudo com bom aspecto! NĂŁo encontrámos no seu site quaisquer artigos com mais de seis meses e que recebam muito poucas ligações. Volte aqui mais tarde para novas sugestões de limpeza!"],"Hide from search engines":["Esconder dos motores de pesquisa"],"Improve":["Melhorar"],"Are you sure you wish to hide this article from search engines?":["De certeza que quer esconder este conteĂşdo dos motores de pesquisa?"],"Action":["Acção"],"You've hidden this article from search engines.":["Escondeu este conteĂşdo dos motores de pesquisa."],"You've removed this article.":["Removeu este conteĂşdo."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["De momento nĂŁo seleccionou nenhum conteĂşdo a melhorar. Nos passos anteriores, seleccione alguns conteĂşdos ĂłrfĂŁos para os quais deve haver ligações, para que possamos sugeri-las aqui."],"Loading link suggestions...":["A carregar as sugestões de ligações..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["NĂŁo encontrámos quaisquer sugestões para este conteĂşdo, mas pode adicionar ligações a conteĂşdos que considere estarem relacionados."],"Skip":["Saltar"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Ainda nĂŁo seleccionou nenhum conteĂşdo para este passo. Pode fazĂŞ-lo no passo anterior."],"Is it up-to-date?":["Está actualizado?"],"Last Updated":["Ăšltima actualização"],"You've moved this article to the next step.":["Moveu este conteĂşdo para o passo seguinte."],"Unknown":["Desconhecido"],"Clear summary":["Limpar resumo"],"Add internal links towards your orphaned articles.":["Adicione ligações internas para os seus conteĂşdos ĂłrfĂŁos."],"Should you update your article?":["Deve actualizar o seu conteĂşdo?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["O seu site pode ter muitos conteĂşdos que foram criados uma vez e para os quais nĂŁo voltou a olhar. É importante revĂŞ-los e interrogar-se se estes conteĂşdos ainda sĂŁo relevantes para o seu site. Devo melhorá-los ou removĂŞ-los?"],"Start: Love it or leave it?":["InĂ­cio: Gosto ou abandono?"],"Clean up your unlinked content to make sure people can find it":["Crie ligações para os seus conteĂşdos ĂłrfĂŁos para garantir que as pessoas os encontram"],"I've finished this workout":["Terminei este exercĂ­cio"],"Reset this workout":["Recomeçar este exercĂ­cio"],"Well done!":["Muito bem!"],"Add internal links towards your cornerstones":["Adicione ligações internas para os seus conteĂşdos principais"],"Check the number of incoming internal links of your cornerstones":["Verifique o nĂşmero de ligações internas recebidas pelos seus conteĂşdos principais"],"Start: Choose your cornerstones!":["InĂ­cio: Marque os seus conteĂşdos principais!"],"The cornerstone approach":["A abordagem dos conteĂşdos principais"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Atenção: Para este exercĂ­cio funcionar bem e para lhe indicar sugestões de ligações, tem de executar a ferramenta de optimização de dados de SEO. Os administradores podem executar isto em %1$sSEO > Ferramentas%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Atenção: O seu administrador desactivou a funcionalidade de conteĂşdo principal nas definições de SEO. Se pretender fazer este exercĂ­cio, isto deve estar activado."],"I've finished this step":["Terminei este passo"],"Revise this step":["Rever este passo"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["NĂŁo foi possĂ­vel encontrar ligações internas nas suas páginas. Ou nĂŁo criou nenhuma ligação interna, ou o Yoast SEO nĂŁo indexou. O Yoast SEO pode indexar as suas ligações ao executar a optimização de dados de SEO em SEO > Ferramentas."],"Incoming links":["Ligações recebidas"],"Edit to add link":["Edite para adicionar ligação"],"%s incoming link":["%s ligação recebida","%s ligações recebidas"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["De momento nĂŁo tem conteĂşdos marcados como principais. Os conteĂşdos marcados como principais sĂŁo mostrados aqui."],"Focus keyphrase":["Frase-chave principal"],"Article":["Artigo"],"Readability score":["Classificação de legibilidade"],"SEO score":["Classificação de SEO"],"Copy failed":["Falhou ao copiar"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Melhore a classificação de todos os seus conteĂşdos principais ao usar este %1$sexercĂ­cio passo-a-passo%2$s!"],"Rank with articles you want to rank with":["Obtenha boa classificação com os conteĂşdos que quer"],"Descriptive text":["Texto descritivo"],"Show the descriptive text":["Mostrar o texto descritivo"],"Show icon":["Mostrar Ă­cone"],"Yoast Estimated Reading Time":["Tempo estimado de leitura do Yoast"],"Shows an estimated reading time based on the content length.":["Mostra um tempo estimado de leitura com base no tamanho do conteĂşdo."],"reading time":["tempo de leitura"],"content length":["tamanho do conteĂşdo"],"Estimated reading time:":["Tempo estimado de leitura:"],"minute":["minuto","minutos"],"Settings":["Definições"],"OK":["Razoável"],"Close":["Fechar"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["A primeira solução integrada de SEO para WordPress, com análise de conteĂşdo na página, sitemaps XML e muito mais."],"Type":["Tipo"],"Team Yoast":["Team Yoast"],"Orphaned content":["ConteĂşdo ĂłrfĂŁo"],"Synonyms":["SinĂłnimos"],"Internal linking suggestions":["Sugestões de ligações internas"],"Enter a related keyphrase to calculate the SEO score":["Insira uma frase-chave relacionada para calcular a classificação SEO"],"Related keyphrase":["Frase-chave relacionada"],"Add related keyphrase":["Adicionar frase-chave relacionada"],"Analysis results":["Resultados da análise"],"Help on choosing the perfect keyphrase":["Ajuda sobre como escolher a frase-chave perfeita"],"Help on keyphrase synonyms":["Ajuda sobre sinĂłnimos de frases-chave"],"Keyphrase":["Frase-chave"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Novo URL: {{link}}%s{{/link}}"],"Undo":["Anular"],"Redirect created":["Redireccionamento criado"],"%s just created a redirect from the old URL to the new URL.":["O %s criou um redireccionamento do antigo URL para o novo URL."],"Old URL: {{link}}%s{{/link}}":["Antigo URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["SinĂłnimos da frase-chave"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Ocorreu um erro: A análise SEO Premium nĂŁo está a funcionar como esperado. Por favor, {{activateLink}}active a sua subscrição em MyYoast{{/activateLink}} e, em seguida, {{reloadButton}}recarregue esta página{{/reloadButton}} para que funcione correctamente."],"seo":["seo"],"internal linking":["ligações internas"],"site structure":["estrutura do site"],"We could not find any relevant articles on your website that you could link to from your post.":["NĂŁo foram encontrados artigos relevantes no seu site para os quais possa ligar a partir do seu conteĂşdo."],"Load suggestions":["Carregar sugestões"],"Refresh suggestions":["Actualizar sugestões"],"Write list…":["Escreva uma lista..."],"Adds a list of links related to this page.":["Adiciona uma lista de ligações relacionadas a esta página."],"related posts":["artigos relacionados"],"related pages":["páginas relacionadas"],"Adds a table of contents to this page.":["Adiciona um Ă­ndice a esta página."],"links":["ligações"],"toc":["Ă­ndice"],"Copy link":["Copiar ligação"],"Copy link to suggested article: %s":["Copiar ligação para o artigo sugerido: %s"],"Add a title to your post for the best internal linking suggestions.":["Adicione um tĂ­tulo ao seu conteĂşdo para melhorar as ligações internas."],"Add a metadescription to your post for the best internal linking suggestions.":["Adicione uma descrição ao seu conteĂşdo para melhorar as ligações internas."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Adicione um tĂ­tulo e uma descrição ao seu conteĂşdo para melhorar as ligações internas."],"Also, add a title to your post for the best internal linking suggestions.":["Adicione tambĂ©m um tĂ­tulo ao seu conteĂşdo para melhorar a sugestĂŁo de ligações internas."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Adicione tambĂ©m uma descrição ao seu conteĂşdo para melhorar a sugestĂŁo de ligações internas."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Adicione tambĂ©m um tĂ­tulo e uma descrição ao seu conteĂşdo para melhorar a sugestĂŁo de ligações internas."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Ao adicionar mais algum texto, será mostrada aqui uma lista de conteĂşdos relacionados, para os quais poderá adicionar ligações no seu conteĂşdo."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Para melhorar a estrutura do seu site, considere criar ligações para outros artigos ou páginas relevantes no seu site."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Demora alguns segundos a mostrar uma lista de conteĂşdos relacionados a que pode criar ligações. As sugestões serĂŁo mostradas assim que forem obtidas."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Leia o nosso guia sobre ligações internas para SEO{{/a}} para saber mais."],"Copied!":["Copiado!"],"Not supported!":["NĂŁo suportado!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Está a tentar utilizar mĂşltiplas frases-chave relacionadas? Deverá adicioná-las separadamente."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["A sua frase-chave Ă© demasiado longa. SĂł pode ter no máximo 191 caracteres."],"Add as related keyphrase":["Adicionar como frase-chave relacionada"],"Added!":["Adicionada!"],"Remove":["Remover"],"Table of contents":["ĂŤndice"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["É necessário optimizar os dados de SEO do seu site para podermos oferecer as melhores %1$ssugestões de ligações%2$s. %3$sIniciar optimização de dados de SEO%4$s"],"Create a Zap in %s":["Criar Zap no %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ro_RO.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ro_RO.json new file mode 100644 index 00000000..69672d72 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ro_RO.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);","lang":"ro"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Cererea a Ă®ntors cu urmÄtoarea eroare: „%s”"],"X share preview":["Previzualizare partajare pe X"],"AI X title generator":["Generator AI de titluri X"],"AI X description generator":["Generator AI de descrieri X"],"X preview":["Previzualizare X"],"Please enter a valid focus keyphrase.":["Te rugÄm sÄ introduci o frazÄ cheie validÄ."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Pentru a utiliza aceastÄ funcČ›ionalitate, site-ul tÄu trebuie sÄ fie accesibil publicului. Acest lucru este valabil atât pentru site-urile de test, cât Č™i pentru instanČ›ele Ă®n care API-ul REST este protejat de parolÄ. Te rugÄm sÄ te asiguri cÄ site-ul tÄu este accesibil publicului Č™i sÄ Ă®ncerci din nou. DacÄ problema persistÄ, te rugÄm sÄ %1$scontactezi echipa noastrÄ de asistenČ›Ä%2$s."],"Yoast AI cannot reach your site":["Yoast AI nu poate ajunge la site-ul tÄu."],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Pentru a accesa aceastÄ funcČ›ionalitate, ai nevoie de abonamentele %2$s Č™i %3$s active. Te rugÄm sÄ-Č›i %5$sactivezi abonamentele Ă®n %1$s%6$s sau %7$sobČ›ine un nou %4$s%8$s. DupÄ aceea, te rugÄm sÄ reĂ®mprospÄtezi aceastÄ paginÄ pentru ca funcČ›ionalitatea sÄ funcČ›ioneze corect, ceea ce poate dura pânÄ la 30 de secunde."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["Generatorul de titluri AI necesitÄ ca analiza SEO sÄ fie activatÄ Ă®nainte de utilizare. Pentru a o activa, navigheazÄ la %2$sFuncČ›ionalitÄČ›ile site-ului %1$s%3$s, activeazÄ analiza SEO Č™i dÄ clic pe „SalveazÄ modificÄri”. DacÄ analiza SEO este dezactivatÄ Ă®n profilul tÄu de utilizator WordPress, acceseazÄ profilul tÄu Č™i activeaz-o acolo. Te rugÄm sÄ contactezi administratorul dacÄ nu ai acces la aceste setÄri."],"Social share preview":["Previzualizare partajare socialÄ"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Pentru a continua sÄ utilizezi funcČ›ia Yoast AI, te rugÄm sÄ reduci frecvenČ›a solicitÄrilor tale. Articolul nostru %1$sde ajutor%2$s oferÄ Ă®ndrumÄri privind planificarea Č™i ritmul eficient al solicitÄrilor tale pentru un flux de lucru optimizat."],"You've reached the Yoast AI rate limit.":["Ai atins limit ratei Yoast AI."],"Allow":["Permite"],"Deny":["RefuzÄ"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Pentru a vedea acest video, trebuie sÄ permiČ›i ca %1$s sÄ Ă®ncarce videoclipuri Ă®nglobate din %2$s."],"Text generated by AI may be offensive or inaccurate.":["Textul generat de AI poate fi ofensator sau inexact."],"(Opens in a new browser tab)":["(Se deschide Ă®ntr-o filÄ nouÄ a navigatorului)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["ĂŽČ›i accelerezi fluxul de lucru cu un AI generativ. PrimeČ™ti sugestii pentru titluri Č™i descrieri de foarte bunÄ calitate pentru Aspect Ă®n cÄutare Č™i Social. %1$sAflÄ mai multe%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Cu Yoast AI, generezi titluri Č™i descrieri!"],"New to %1$s":["Nou la %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Aprob %1$sTermenii Č™i condiČ›iile%2$s Č™i %3$sPolitica de confidenČ›ialitate%4$s ale serviciului Yoast AI. Aceasta include consimČ›Ämântul pentru colectarea Č™i utilizarea datelor pentru a Ă®mbunÄtÄČ›i experienČ›a utilizatorului."],"Start generating":["ĂŽncepe generarea"],"Yes, revoke consent":["Da, revocÄ consimČ›Ämântul"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Prin revocarea consimČ›Ämântului tÄu, nu vei mai avea acces la funcČ›ionalitÄČ›ile Yoast AI. Sigur vrei sÄ-Č›i revoci consimČ›Ämântul?"],"Something went wrong, please try again later.":["Ceva nu a mers bine, te rog reĂ®ncearcÄ mai târziu."],"Revoke AI consent":["RevocÄ consimČ›Ämântul AI"],"AI title generator":["Generator AI de titluri"],"AI description generator":["Generator AI de descrieri"],"AI social title generator":["Generator AI de titluri sociale"],"AI social description generator":["Generator AI de descrieri sociale"],"Dismiss":["Respinge"],"Don’t show again":["Nu mai afiČ™a"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sSfat%2$s: ĂŽmbunÄtÄČ›eČ™ti acurateČ›ea titlurilor tale generate AI scriind mai mult conČ›inut Ă®n pagina ta."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sSfat%2$s: ĂŽmbunÄtÄČ›eČ™ti acurateČ›ea descrierilor tale generate AI scriind mai mult conČ›inut Ă®n pagina ta."],"Try again":["ĂŽncearcÄ din nou"],"Social preview":["Previzualizare socialÄ"],"Desktop result":["Rezultat pe desktop"],"Mobile result":["Rezultat pe mobil"],"Apply %s description":[],"Apply %s title":[],"Next":["UrmÄtor"],"Previous":["Anterior"],"Generate 5 more":["GenereazÄ Ă®ncÄ 5"],"Google preview":["Previzualizare Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Din cauza ghidurilor etice stricte ale OpenAI Č™i a %1$spoliticilor de utilizare%2$s, nu putem genera titluri SEO pentru pagina ta. DacÄ intenČ›ionezi sÄ foloseČ™ti AI, te rugÄm sÄ eviČ›i utilizarea conČ›inutului explicit, violent sau sexual explicit. %3$sCiteČ™te mai multe despre cum sÄ Ă®Č›i configurezi pagina pentru a te asigura cÄ obČ›ii cele mai bune rezultate cu AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Din cauza regulilor etice stricte ale OpenAI Č™i a %1$spoliticilor de utilizare%2$s, nu putem genera meta descrieri pentru pagina ta. DacÄ intenČ›ionezi sÄ foloseČ™ti inteligenČ›a artificialÄ, te rugÄm sÄ eviČ›i utilizarea conČ›inutului explicit, violent sau sexual explicit. %3$sCiteČ™te mai multe despre cum sÄ Ă®Č›i configurezi pagina pentru a te asigura cÄ obČ›ii cele mai bune rezultate cu AI%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Pentru a accesa aceastÄ funcČ›ionalitate, ai nevoie de un abonament activ %1$s. Te rugÄm sÄ %3$sactivezi abonamentul Ă®n %2$s%4$s sau %5$s obČ›ine un nou abonament %1$s%6$s. Apoi, dÄ clic pe buton pentru a reĂ®mprospÄta aceastÄ paginÄ pentru ca funcČ›ionalitatea sÄ funcČ›ioneze corect, ceea ce poate dura pânÄ la 30 de secunde."],"Refresh page":["ReĂ®mprospÄteazÄ paginÄ"],"Not enough content":["ConČ›inut insuficient"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Te rog reĂ®ncearcÄ mai târziu. DacÄ problema persistÄ, te rog %1$scontacteazÄ echipa noastrÄ de suport%2$s!"],"Something went wrong":["Ceva nu a mers bine"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Se pare cÄ a avut loc o expirare a conexiunii. Te rugÄm sÄ Ă®Č›i verifici conexiunea la internet Č™i sÄ Ă®ncerci din nou mai târziu. DacÄ problema persistÄ, %1$scontacteazÄ echipa noastrÄ de asistenČ›Ä%2$s"],"Connection timeout":["Timp de conexiune expirat"],"Use AI":["FoloseČ™ti AI"],"Close modal":["ĂŽnchide modal"],"Learn more about AI (Opens in a new browser tab)":["AflÄ mai multe despre AI (se deschide Ă®ntr-o filÄ nouÄ de navigator)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitlu%3$s: Pagina ta Ă®ncÄ nu are un titlu. %2$sAdaugÄ unul%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sTitlu%2$s: Pagina ta are un titlu. Foarte bine!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribuČ›ie frazÄ cheie%3$s: %2$sinclude fraza cheie sau sinonimele ei Ă®n text ca sÄ putem verifica distribuČ›ia ei (lor)%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sDistribuČ›ie frazÄ cheie%2$s: foarte bine!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuČ›ie frazÄ cheie%3$s: inegalÄ. Unele pÄrČ›i ale textului nu conČ›in fraza cheie sau sinonimele ei. %2$sDistribuie fraza cheie uniform%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribuČ›ie frazÄ cheie%3$s: inegalÄ. PÄrČ›i mari de text nu conČ›in fraza cheie sau sinonimele ei. %2$sDistribuie fraza cheie uniform%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: nu foloseČ™ti multe cuvinte greu de Ă®nČ›eles, deci textul tÄu este uČ™or de citit. Foarte bine!"],"Word complexity":["Complexitatea cuvintelor"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s dintre cuvintele din textul tÄu sunt considerate greu de Ă®nČ›eles. %3$sĂŽncearcÄ sÄ foloseČ™ti cuvinte mai scurte Č™i mai familiare pentru a Ă®mbunÄtÄČ›i lizibilitatea%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sAliniere%3$s: existÄ o secČ›iune lungÄ cu text aliniat central. %2$sĂŽČ›i recomandÄm sÄ Ă®l aliniezi la stânga%3$s.","%1$sAliniere%3$s: existÄ %4$s secČ›iuni lungi cu text aliniat central. %2$sĂŽČ›i recomandÄm sÄ le aliniezi la stânga%3$s.","%1$sAliniere%3$s: existÄ %4$s de secČ›iuni lungi cu text aliniat central. %2$sĂŽČ›i recomandÄm sÄ le aliniezi la stânga%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sAliniere%3$s: existÄ o secČ›iune lungÄ cu text aliniat central. %2$sĂŽČ›i recomandÄm sÄ le aliniezi la dreapta%3$s.","%1$sAliniere%3$s: existÄ %4$s secČ›iuni lungi cu text aliniat central. %2$sĂŽČ›i recomandÄm sÄ le aliniezi la dreapta%3$s.","%1$sAliniere%3$s: existÄ %4$s de secČ›iuni lungi cu text aliniat central. %2$sĂŽČ›i recomandÄm sÄ le aliniezi la dreapta%3$s."],"Select image":["SelecteazÄ o imagine"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["S-ar putea sÄ nu Č™tii, dar este posibil sÄ existe pagini pe site-ul tÄu care nu primesc nicio legÄturÄ. Aceasta este o problemÄ de SEO, deoarece este dificil pentru motoarele de cÄutare sÄ gÄseascÄ paginile care nu au nicio legÄturÄ. Deci, este mai greu pentru ele sÄ le clasifice. Noi numim aceste pagini „conČ›inut orfan”. ĂŽn acest antrenament, gÄsim conČ›inutul orfan de pe site-ul tÄu Č™i te Ă®ndrumÄm sÄ adaugi rapid legÄturi la acestea, astfel Ă®ncât sÄ aibÄ o Č™ansÄ de a se clasifica!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["E timpul sÄ adaugi niČ™te legÄturi! Mai jos, vezi o listÄ cu articolele orfane. Sub fiecare dintre ele, existÄ sugestii pentru pagini similare la care ai putea adÄuga o legÄturÄ. Atunci când adaugi legÄtura, asigurÄ-te cÄ o inserezi Ă®ntr-o propoziČ›ie relevantÄ legatÄ de articolul tÄu orfan. ContinuÄ sÄ adaugi legÄturi la fiecare dintre articolele orfane pânÄ când eČ™ti mulČ›umit(Ä) de numÄrul de legÄturi care indicÄ spre ele."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Este timpul sÄ adaugi câteva legÄturi! Mai jos, vezi o listÄ de conČ›inut fundamental. Sub fiecare, existÄ sugestii pentru articole de la care ai putea adÄuga o legÄturÄ. Când adaugi legÄtura, asigurÄ-te cÄ o inserezi Ă®ntr-o propoziČ›ie relevantÄ legatÄ de articolul tÄu principal. ContinuÄ sÄ adaugi legÄturi de la câte articole similare ai nevoie, pânÄ când conČ›inuturile fundamentale au cele mai multe legÄturi interne Ă®ndreptate cÄtre ele."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Unele articole de pe site-ul tÄu sunt %1$scele%2$s mai importante. Ele rÄspund la Ă®ntrebÄrile oamenilor Č™i le rezolvÄ problemele. Deci, meritÄ sÄ fie clasate! La %3$s, le numim aceste articole fundamentale. Una dintre modalitÄČ›ile de a le avea clasate este sÄ ai suficiente legÄturi cÄtre ele. Mai multe legÄturi semnaleazÄ motoarele de cÄutare cÄ acele articole sunt importante Č™i valoroase. ĂŽn acest antrenament, te vom ajuta sÄ adaugi legÄturi cÄtre articolele tale fundamentale!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["DupÄ ce adaugi puČ›in mai multe copii, îți vom putea spune care este nivelul de formalitate al textului tÄu."],"Overall, your text appears to be %1$s%3$s%2$s.":["ĂŽn general, textul tÄu pare a fi %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Integrarea Zapier va fi eliminatÄ din %1$s Ă®n versiunea 20.7 (data lansÄrii: 9 mai). DacÄ ai Ă®ntrebÄri, te rugÄm sÄ contactezi %2$s."],"Maximum heading level":["Nivel subtitlu maxim"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Ai dezactivat sugestiile de legÄturi, care sunt necesare pentru ca legÄturile similare sÄ funcČ›ioneze. DacÄ vrei sÄ adaugi legÄturi similare, acceseazÄ FuncČ›ionalitÄČ›i site Č™i activeazÄ LegÄturi similare."],"Schema":["Schema"],"Meta tags":["Etichete meta"],"Not available":["Indisponibil"],"Checks":["VerificÄri"],"Focus Keyphrase":["Focus frazÄ cheie"],"Good":["Bun"],"No index":["FÄrÄ indexare"],"Front-end SEO inspector":["Inspector SEO pentru partea din faČ›Ä"],"Focus keyphrase not set":["Focus frazÄ cheie nesetat"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["OdatÄ ce Č›i-ai publicat Zap-ul Ă®n panoul de control %s, poČ›i verifica dacÄ este activat Č™i conectat la site-ul tÄu."],"Reset API key":["ReseteazÄ cheie API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Momentan eČ™ti conectat la %s folosind urmÄtoarea cheie API. DacÄ ai vrea sÄ te reconectezi cu o cheie API diferitÄ Ă®Č›i poČ›i reseta cheia mai jos."],"Your API key":["Cheia ta API"],"Go to your %s dashboard":["Mergi la panoul tÄu de control %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Te-ai conectat cu succes la %1$s! Pentru a-Č›i gestiona Zap-ul, te rog viziteazÄ-Č›i panoul de control %2$s."],"Your %s dashboard":["Panoul tÄu de control %s"],"Verify connection":["Verificare conexiune"],"Verify your connection":["VerificÄ-Č›i conexiunea"],"Create a Zap":["CreeazÄ un Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["AutentificÄ-te Ă®n contul tÄu %1$s Č™i Ă®ncepe sÄ-Č›i creezi primul Zap! ReČ›ine cÄ poČ›i crea doar un Zap cu un eveniment declanČ™ator din %2$s. Cu acest Zap poČ›i alege una sau mai multe acČ›iuni."],"%s API key":["Cheie API %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Vei avea nevoie de aceastÄ cheie API mai târziu Ă®n %s când îți vei seta Zap-ul."],"Copy your API key":["CopiazÄ-Č›i cheia API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Pentru a seta o conexiune, asigurÄ-te cÄ ai copiat cheia API datÄ mai jos Č™i foloseČ™te-o pentru a crea Č™i a porni un Zap prin intermediul contului tÄu %s."],"Manage %s settings":["GestioneazÄ setÄri %s"],"Connect to %s":["ConecteazÄ-te la %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Te rog reČ›ine: pentru ca acest antrenament sÄ funcČ›ioneze bine, trebuie sÄ rulezi instrumentul de optimizare a datelor SEO. Administratorii Ă®l pot rula sub %1$sSEO > Utile%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Ai adÄugat legÄturi cÄtre articolele orfane Č™i le-ai curÄČ›at pe cele care nu mai erau relevante. BunÄ treabÄ! AruncÄ o privire la rezumatul de mai jos Č™i sÄrbÄtoreČ™te ceea ce ai realizat!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["ExamineazÄ critic conČ›inutul din aceastÄ listÄ Č™i fÄ actualizÄrile necesare. DacÄ ai nevoie de ajutor pentru actualizare, avem un %1$sarticol de blog foarte util, care te poate ghida pe tot parcursul%2$s (dÄ clic pentru a deschide Ă®ntr-o filÄ nouÄ)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sAi nevoie de mai mult ajutor? Am acoperit fiecare pas mai detaliat Ă®n urmÄtorul ghid: %2$sCum sÄ foloseČ™ti conČ›inutul orfan de antrenament %7$s%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Tocmai Č›i-ai fÄcut cel mai bun conČ›inut uČ™or de gÄsit Č™i mai probabil sÄ fie clasat! Mai departe! Din când Ă®n când, nu uita sÄ verifici dacÄ conČ›inutul fundamental primeČ™te suficiente legÄturi!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["AruncÄ o privire la lista de mai jos. ConČ›inutul tÄu fundamental (marcat cu %1$s) are cele mai multe legÄturi interne care Ă®ndreaptÄ cÄtre el? DÄ clic pe butonul Optimizare dacÄ crezi cÄ un conČ›inut fundamental are nevoie de mai multe legÄturi. Acest lucru va muta articolul la pasul urmÄtor."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Toate conČ›inuturile tale fundamentale au buline verzi? Pentru cele mai bune rezultate, ia Ă®n considerare editarea celor care nu au!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Ce articole vrei sÄ clasezi cel mai bine? Pe care publicul tÄu le-ar gÄsi cele mai utile Č™i complete? DÄ clic pe sÄgeata orientatÄ Ă®n jos Č™i cauzÄ articole care se potrivesc acestor criterii. Vom marca automat articolele pe care le selectezi din listÄ ca elemente fundamentale de conČ›inut."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sAi nevoie de mai mult ajutor? Am acoperit fiecare pas mai detaliat Ă®n: %2$sCum sÄ foloseČ™ti conČ›inutul orfan de antrenament %7$s%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Cuprins Yoast"],"Yoast Related Links":["LegÄturi similare Yoast"],"Finish optimizing":["TerminÄ optimizarea"],"You've finished adding links to this article.":["Ai terminat de adÄugat legÄturi la acest articol."],"Optimize":["OptimizeazÄ"],"Added to next step":["AdÄugat la urmÄtorul pas"],"Choose cornerstone articles...":["Alege articolele pietre de temelie..."],"Loading data...":["Se Ă®ncarcÄ datele..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["ĂŽncÄ nu Č›i-ai curÄČ›at sau actualizat niciun articol folosind acest antrenament. OdatÄ ce o faci, un rezumat al muncii tale va fi afiČ™at aici."],"Skipped":["SÄrit"],"Hidden from search engines.":["Ascuns de motoarele de cÄutare."],"Removed":["ĂŽnlÄturate"],"Improved":["ĂŽmbunÄtÄČ›it"],"Resolution":["RezoluČ›ie"],"Loading redirect options...":["ĂŽncarcÄ opČ›iuni de redirecČ›ionare..."],"Remove and redirect":["ĂŽnlÄturÄ Č™i redirecČ›ioneazÄ"],"Custom url:":["URL personalizat:"],"Related article:":["Articol similar:"],"Home page:":["Prima paginÄ:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["EČ™ti pe cale sÄ Ă®nlÄturi %1$s%2$s%3$s. Pentru a preveni paginile 404 pe site-ul tÄu, ar trebui sÄ-l redirecČ›ionezi cÄtre altÄ paginÄ de pe site-ul tÄu. Unde ai vrea sÄ-l redirecČ›ionezi?"],"SEO Workout: Remove article":["Antrenament SEO: ĂŽnlÄturÄ articol"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Totul aratÄ bine! Nu am gÄsit niciun articol pe site-ul tÄu care sÄ fie mai vechi de Č™ase luni Č™i care sÄ primeascÄ prea puČ›ine legÄturi pe site-ul tÄu. Revino mai târziu pentru sugestii noi de curÄČ›are!"],"Hide from search engines":["Ascunde de motoarele de cÄutare"],"Improve":["ĂŽmbunÄtÄČ›eČ™te"],"Are you sure you wish to hide this article from search engines?":["Sigur vrei sÄ ascunzi acest articol de motoarele de cÄutare?"],"Action":["AcČ›iune"],"You've hidden this article from search engines.":["Ai ascuns acest articol de motoarele de cÄutare."],"You've removed this article.":["Ai Ă®nlÄturat acest articol."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Momentan nu ai selectat niciun articol pentru Ă®mbunÄtÄČ›ire. SelecteazÄ câteva articole orfane din paČ™ii anteriori la care sÄ le adaugi legÄturi Č™i îți vom arÄta aici sugestii de legÄturi."],"Loading link suggestions...":["Se Ă®ncarcÄ sugestiile de legÄturi..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Nu am gÄsit nicio sugestie pentru acest articol, dar, desigur, poČ›i adÄuga Ă®n continuare legÄturi la articole despre care credeČ›i cÄ sunt similare."],"Skip":["Sari"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["ĂŽncÄ nu ai selectat niciun articol pentru acest pas. PoČ›i face asta Ă®n pasul anterior."],"Is it up-to-date?":["Este actualizat?"],"Last Updated":["Ultima actualizare"],"You've moved this article to the next step.":["Ai mutat acest articol Ă®n pasul urmÄtor."],"Unknown":["Necunoscut"],"Clear summary":["CurÄČ›Ä rezumat"],"Add internal links towards your orphaned articles.":["AdaugÄ legÄturi interne cÄtre articolele tale orfane."],"Should you update your article?":["Trebuie sÄ-Č›i actualizezi articolul?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Site-ul tÄu conČ›ine adesea o mulČ›ime de conČ›inut care a fost creat o datÄ Č™i care nu a mai fost revizuit apoi. Este important sÄ-l parcurgi Č™i sÄ te Ă®ntrebi dacÄ acest conČ›inut este Ă®ncÄ relevant pentru site-ul tÄu. Ar trebui sÄ-l Ă®mbunÄtÄČ›esc sau sÄ-l Ă®nlÄtur?"],"Start: Love it or leave it?":["ĂŽncepe: Ă®l iubeČ™ti sau Ă®l pÄrÄseČ™ti?"],"Clean up your unlinked content to make sure people can find it":["CurÄČ›Ä-Č›i conČ›inutul nelegat pentru a te asigura cÄ oamenii Ă®l pot gÄsi"],"I've finished this workout":["Am terminat acest antrenament"],"Reset this workout":["ReseteazÄ acest antrenament"],"Well done!":["Foarte bine!"],"Add internal links towards your cornerstones":["AdaugÄ legÄturi interne cÄtre conČ›inuturile tale de bazÄ"],"Check the number of incoming internal links of your cornerstones":["VerificÄ numÄrul de legÄturi interne de intrare ale conČ›inuturilor tale de bazÄ"],"Start: Choose your cornerstones!":["ĂŽncepe: alege-Č›i conČ›inutul fundamental"],"The cornerstone approach":["Abordarea pentru conČ›inutul fundamental"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Te rog reČ›ine: pentru ca acest antrenament sÄ funcČ›ioneze Č™i sÄ-Č›i ofere sugestii de legÄturi, trebuie sÄ rulezi instrumentul de optimizare date SEO. Administratorii pot rula asta Ă®n %1$sSEO > Unelte%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Te rugÄm reČ›ine: administratorul tÄu a dezactivat funcČ›ionalitatea de conČ›inut fundamental Ă®n setÄrile SEO. DacÄ vrei sÄ utilizezi acest antrenament, acesta trebuie sÄ fie activat."],"I've finished this step":["Am terminat acest pas"],"Revise this step":["RevizuieČ™te acest pas"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Nu am putut gÄsi legÄturi interne pe paginile tale. Fie nu ai adÄugat Ă®ncÄ nicio legÄturÄ internÄ la conČ›inutul tÄu, fie Yoast SEO nu le-a indexat. PoČ›i solicita Yoast SEO sÄ Ă®Č›i indexeze legÄturile rulând optimizarea datelor SEO Ă®n SEO> Unelte."],"Incoming links":["LegÄturi de intrare"],"Edit to add link":["EditeazÄ pentru a adÄuga legÄturÄ"],"%s incoming link":["%s legÄturÄ de intrare","%s legÄturi de intrare","%s de legÄturi de intrare"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Momentan nu ai articole marcate ca fiind de bazÄ. Când îți marchezi articolele ca Č™i conČ›inut de bazÄ, vor apÄrea aici."],"Focus keyphrase":["FrazÄ cheie"],"Article":["Articol"],"Readability score":["Punctaj lizibilitate"],"SEO score":["Punctaj SEO"],"Copy failed":["Copiere eČ™uatÄ"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["ĂŽmbunÄtÄČ›eČ™te clasarea pentru toate conČ›inuturile tale de bazÄ folosind acest %1$santrenament pas cu pas!%2$s"],"Rank with articles you want to rank with":["PropulseazÄ Ă®n partea superioarÄ articolele pe care vrei sÄ le evidenČ›iezi Ă®n rezultatele de cÄutare"],"Descriptive text":["Text descriptiv"],"Show the descriptive text":["AratÄ textul descriptiv"],"Show icon":["AratÄ icon"],"Yoast Estimated Reading Time":["Timp de citire estimat Yoast"],"Shows an estimated reading time based on the content length.":["AratÄ un timp de citire estimat bazat pe lungimea conČ›inutului."],"reading time":["timp de citire"],"content length":["lungime conČ›inut"],"Estimated reading time:":["Timp de citire estimat:"],"minute":["minut","minute","de minute"],"Settings":["SetÄri"],"OK":["OK"],"Close":["ĂŽnchide"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Prima soluČ›ie SEO viabilÄ Č™i complexÄ pentru WordPress, inclusiv analiza conČ›inut pagini, hÄrČ›i site XML Č™i multe altele."],"Type":["Tip"],"Team Yoast":["Echipa Yoast"],"Orphaned content":["ConČ›inutul orfan"],"Synonyms":["Sinonime"],"Internal linking suggestions":["Sugestii de legÄturi interne"],"Enter a related keyphrase to calculate the SEO score":["Introdu o frazÄ cheie similarÄ pentru a calcula punctajul SEO"],"Related keyphrase":["FrazÄ cheie similarÄ"],"Add related keyphrase":["AdaugÄ fraze cheie similare"],"Analysis results":["Rezultate analizÄ"],"Help on choosing the perfect keyphrase":["Ajutor pentru alegerea frazei cheie perfecte"],"Help on keyphrase synonyms":["Ajutor pentru sinonime frazÄ cheie"],"Keyphrase":["FrazÄ cheie"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["URL nou: {{link}}%s{{/link}}"],"Undo":["Revenire"],"Redirect created":["RedirecČ›ionarea a fost creatÄ"],"%s just created a redirect from the old URL to the new URL.":["%s tocmai a creat o redirecČ›ionare de la URL-ul vechi la URL-ul nou."],"Old URL: {{link}}%s{{/link}}":["URL vechi: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Sinonime fraza cheie"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["A apÄrut o eroare: analiza SEO Premium nu funcČ›ioneazÄ conform aČ™teptÄrilor. Te rugÄm {{{activateLink}}}activeazÄ-Č›i abonamentul Ă®n MyYoast{{{/activateLink}}} Č™i apoi {{reloadButton}}reĂ®ncarcÄ aceastÄ paginÄ{{{/reloadButton}}} pentru a o face sÄ funcČ›ioneze corect."],"seo":["seo"],"internal linking":["legÄturi interne"],"site structure":["structurÄ site"],"We could not find any relevant articles on your website that you could link to from your post.":["Nu am putut gÄsi niciun articol relevant pe site-ul tÄu web pe care sÄ-l poČ›i lega la articolul tÄu."],"Load suggestions":["ĂŽncarcÄ sugestii"],"Refresh suggestions":["ReĂ®mprospÄteazÄ sugestii"],"Write list…":["Scrie lista..."],"Adds a list of links related to this page.":["AdaugÄ o listÄ de legÄturi similare la aceastÄ paginÄ."],"related posts":["articole similare"],"related pages":["pagini similare"],"Adds a table of contents to this page.":["AdaugÄ un tabel de conČ›inut la aceastÄ paginÄ."],"links":["legÄturi"],"toc":["cuprins"],"Copy link":["CopiazÄ legÄtura"],"Copy link to suggested article: %s":["CopiazÄ legÄtura la articolul sugerat: %s"],"Add a title to your post for the best internal linking suggestions.":["AdaugÄ un titlu articolului tÄu pentru cele mai bune sugestii de legÄturi interne."],"Add a metadescription to your post for the best internal linking suggestions.":["AdaugÄ o descriere meta articolului tÄu pentru cele mai bune sugestii de legÄturi interne."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["AdaugÄ un titlu Č™i o descriere meta articolului tÄu pentru cele mai bune sugestii de legÄturi interne."],"Also, add a title to your post for the best internal linking suggestions.":["AdaugÄ Č™i un titlu articolului tÄu pentru cele mai bune sugestii de legÄturi interne."],"Also, add a metadescription to your post for the best internal linking suggestions.":["AdaugÄ Č™i o meta descriere articolului tÄu pentru cele mai bune sugestii de legÄturi interne."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["AdaugÄ Č™i un titlu Č™i o meta descriere articolului tÄu pentru cele mai bune sugestii de legÄturi interne."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["DupÄ ce adaugi mai mult text, îți vom oferi aici o listÄ cu conČ›inut similar la care ai putea sÄ te legi Ă®n articolul tÄu."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Pentru a-Č›i Ă®mbunÄtÄČ›i structura site-ului, considerÄ legarea site-ului tÄu web la alte articole sau pagini relevante."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["DureazÄ câteva secunde sÄ-Č›i arÄtÄm o listÄ de conČ›inut similar pe care l-ai putea lega. Sugestiile vor fi afiČ™ate aici imediat ce le avem."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}CiteČ™te ghidul nostru despre legÄturi interne pentru SEO{{/a}} pentru a afla mai multe."],"Copied!":["CopiatÄ!"],"Not supported!":["NesuportatÄ!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["ĂŽncerci sÄ foloseČ™ti mai multe fraze cheie similare? Ar trebui sÄ le adaugi separat."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Fraza cheie este prea lungÄ. Ea poate avea maxim 191 de caractere."],"Add as related keyphrase":["AdaugÄ ca frazÄ cheie similarÄ"],"Added!":["AdÄugatÄ!"],"Remove":["ĂŽnlÄturÄ"],"Table of contents":["Cuprins"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Trebuie sÄ-Č›i optimizÄm datele SEO ale site-ului pentru a-Č›i oferi cele mai bune %1$ssugestii de legÄturi%2$s. %3$sĂŽncepe optimizarea datelor SEO%4$s"],"Create a Zap in %s":["CreeazÄ un Zap Ă®n %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ru_RU.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ru_RU.json new file mode 100644 index 00000000..b601d759 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-ru_RU.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","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"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Đ—Đ°ĐżŃ€ĐľŃ Đ±Ń‹Đ» возвращен ŃĐľ ŃледŃющей ĐľŃибкой: \"%s\""],"X share preview":["ПредпроŃморт ŃовмеŃтного Đ´ĐľŃŃ‚Ńпа X"],"AI X title generator":["Генератор заголовков X Ń ĐżĐľĐĽĐľŃ‰ŃŚŃŽ ĐĐ"],"AI X description generator":["Генератор опиŃаний X Ń ĐżĐľĐĽĐľŃ‰ŃŚŃŽ ĐĐ"],"X preview":["ПредпроŃмотр X"],"Please enter a valid focus keyphrase.":["ПожалŃĐąŃта, введите дейŃтвительнŃŃŽ фокŃŃĐ˝ŃŃŽ ключевŃŃŽ фразŃ."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Чтобы воŃпользоватьŃŃŹ этой Ń„Ńнкцией, Đ˛Đ°Ń Ńайт должен быть общедоŃŃ‚Ńпным. Это отноŃитŃŃŹ как Đş теŃтовым Ńайтам, так и Đş тем, где Đ˛Đ°Ń REST API защищен паролем. ПожалŃĐąŃта, ŃбедитеŃŃŚ, что Đ˛Đ°Ń Ńайт общедоŃŃ‚Ńпен, и повторите попыткŃ. Đ•Ńли проблема ŃохраняетŃŃŹ, %1$sобратитеŃŃŚ в ŃĐ»ŃĐ¶Đ±Ń ĐżĐľĐ´Đ´ĐµŃ€Đ¶ĐşĐ¸%2$s."],"Yoast AI cannot reach your site":["Yoast AI не может ŃвязатьŃŃŹ Ń Đ˛Đ°Ńим Ńайтом"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Чтобы полŃчить Đ´ĐľŃŃ‚ŃĐż Đş этой Ń„Ńнкции, вам Đ˝Ńжно активировать подпиŃки на %2$s и %3$s. ПожалŃĐąŃта, %5$sактивирŃйте ваŃи подпиŃки в %1$s%6$s или %7$sполŃчите новŃŃŽ %4$s%8$s. ПоŃле этого обновите ŃтраницŃ, чтобы Ń„Ńнкция работала корректно, это может занять Đ´Đľ 30 ŃекŃнд."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["Перед иŃпользованием генератора заголовков ĐРнеобходимо включить SEO-анализ. Чтобы включить его, перейдите в раздел %2$sФŃнкции Ńайта %1$s%3$s, включите SEO-анализ и нажмите \"Сохранить изменения\". Đ•Ńли SEO-анализ отключен в ваŃем профиле пользователя WordPress, зайдите в Ńвой профиль и включите его там. Đ•Ńли Ń Đ˛Đ°Ń Đ˝ĐµŃ‚ Đ´ĐľŃŃ‚Ńпа Đş этим наŃтройкам, обратитеŃŃŚ Đş админиŃтраторŃ."],"Social share preview":["Предварительный проŃмотр раŃпроŃтранения в ŃоцŃетях"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Чтобы продолжать пользоватьŃŃŹ Ń„Ńнкцией ĐĐ Yoast, пожалŃĐąŃта, ŃменьŃите чаŃŃ‚ĐľŃ‚Ń Đ·Đ°ĐżŃ€ĐľŃов. Đ’ наŃей %1$sŃтатье%2$s приведены рекомендации по ŃŤŃ„Ń„ĐµĐşŃ‚Đ¸Đ˛Đ˝ĐľĐĽŃ ĐżĐ»Đ°Đ˝Đ¸Ń€ĐľĐ˛Đ°Đ˝Đ¸ŃŽ и периодичноŃти запроŃов для оптимизации рабочего процеŃŃа."],"You've reached the Yoast AI rate limit.":["Đ’Ń‹ Đ´ĐľŃтигли предела ŃкороŃти ĐĐ Yoast."],"Allow":["РазреŃить"],"Deny":["Отказать"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Чтобы проŃмотреть это видео, вам Đ˝Ńжно разреŃить %1$s загрŃжать вŃтроенные видео из %2$s."],"Text generated by AI may be offensive or inaccurate.":["ТекŃŃ‚, генерирŃемый иŃĐşŃŃŃтвенным интеллектом, может быть ĐľŃкорбительным или неточным."],"(Opens in a new browser tab)":["(ОткроетŃŃŹ в новой вкладке браŃзера)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["ĐŁŃкорьте Ńвой рабочий процеŃŃ Ń ĐżĐľĐĽĐľŃ‰ŃŚŃŽ генеративного ĐĐ. ПолŃчите выŃококачеŃтвенные варианты заголовков и опиŃаний для поиŃка и появления в Ńоциальных Ńетях. %1$sПодробнее%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Создавайте заголовки и опиŃания Ń ĐżĐľĐĽĐľŃ‰ŃŚŃŽ Yoast ĐĐ!"],"New to %1$s":["Новое в %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["ĐŻ принимаю %1$sĐŁŃловия предоŃтавления ŃŃĐ»ŃĐł%2$s и %3$sĐźĐľĐ»Đ¸Ń‚Đ¸ĐşŃ ĐşĐľĐ˝Ń„Đ¸Đ´ĐµĐ˝Ń†Đ¸Đ°Đ»ŃŚĐ˝ĐľŃти%4$s ŃервиŃа ĐĐ Yoast. Это включает в Ńебя ŃоглаŃие на Ńбор и иŃпользование данных для ŃĐ»ŃчŃения пользовательŃкого опыта."],"Start generating":["ЗапŃŃтить генерацию"],"Yes, revoke consent":["Да, отозвать ŃоглаŃие"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Отозвав Ńвое ŃоглаŃие, вы больŃе не бŃдете иметь Đ´ĐľŃŃ‚Ńпа Đş Ń„Ńнкциям ĐĐ Yoast. Đ’Ń‹ Ńверены, что хотите отозвать Ńвое ŃоглаŃие?"],"Something went wrong, please try again later.":["Что-то поŃло не так, пожалŃĐąŃта, повторите ĐżĐľĐżŃ‹Ń‚ĐşŃ ĐżĐľĐ·Đ¶Đµ."],"Revoke AI consent":["Отозвать ŃоглаŃие ĐĐ"],"AI title generator":["Генератор заголовков ĐĐ"],"AI description generator":["Генератор опиŃаний ĐĐ"],"AI social title generator":["ĐĐ-генератор заголовков для ŃоцŃетей"],"AI social description generator":["ĐĐ-генератор опиŃаний для ŃоцŃетей"],"Dismiss":["Скрыть"],"Don’t show again":["БольŃе не показывать"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sСовет%2$s: ПовыŃьте точноŃть генерирŃемых ĐРзаголовков, напиŃав больŃе Ńодержимого на Ńвоей Ńтранице."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sСовет%2$s: ПовыŃьте точноŃть генерирŃемых ĐРопиŃаний, напиŃав больŃе Ńодержимого на Ńвоей Ńтранице."],"Try again":["ПопробŃйте ещё раз"],"Social preview":["Предварительный проŃмотр ŃоцŃетей"],"Desktop result":["РезŃльтат на ПК"],"Mobile result":["Мобильный резŃльтат"],"Apply %s description":[],"Apply %s title":[],"Next":["Далее"],"Previous":["Назад"],"Generate 5 more":["Сгенерировать ещё 5"],"Google preview":["ПредпроŃмотр Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Đ’ Ńвязи Ń Ń‚ĐµĐĽ, что OpenAI придерживаетŃŃŹ Ńтрогих этичеŃких принципов и %1$sполитики иŃпользования%2$s, ĐĽŃ‹ не можем генерировать SEO-заголовки для ваŃей Ńтраницы. Đ•Ńли вы планирŃете пользоватьŃŃŹ иŃĐşŃŃŃтвенным интеллектом, пожалŃĐąŃта, избегайте иŃпользования наŃильŃтвенного или ŃекŃŃально откровенного Ńодержимого. %3$sПодробнее Đľ том, как наŃтроить Ńвою ŃтраницŃ, чтобы добитьŃŃŹ наилŃчŃих резŃльтатов при иŃпользовании ĐĐ%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Đ’ Ńвязи Ń Ń‚ĐµĐĽ, что OpenAI придерживаетŃŃŹ Ńтрогих этичеŃких принципов и %1$sполитики иŃпользования%2$s, ĐĽŃ‹ не можем генерировать метаопиŃания для ваŃей Ńтраницы. Đ•Ńли вы ŃобираетеŃŃŚ пользоватьŃŃŹ иŃĐşŃŃŃтвенным интеллектом, пожалŃĐąŃта, избегайте иŃпользования наŃильŃтвенного или ŃекŃŃально откровенного контента. %3$sПодробнее Đľ том, как наŃтроить Ńвою ŃтраницŃ, чтобы добитьŃŃŹ наилŃчŃих резŃльтатов при иŃпользовании ĐĐ%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Чтобы полŃчить Đ´ĐľŃŃ‚ŃĐż Đş этой Ń„Ńнкции, необходимо иметь активнŃŃŽ подпиŃĐşŃ %1$s. ПожалŃĐąŃта, %3$sактивирŃйте подпиŃĐşŃ Đ˛ %2$s%4$s или %5$sполŃчите новŃŃŽ %1$sподпиŃĐşŃ%6$s. ПоŃле этого нажмите кнопкŃ, чтобы обновить ŃŃ‚Ń€Đ°Đ˝Đ¸Ń†Ń Đ´Đ»ŃŹ корректной работы Ń„Ńнкции, что может занять Đ´Đľ 30 ŃекŃнд."],"Refresh page":["Обновить ŃтраницŃ"],"Not enough content":["НедоŃтаточно Ńодержимого"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["ПожалŃĐąŃта, повторите ĐżĐľĐżŃ‹Ń‚ĐşŃ ĐżĐľĐ·Đ¶Đµ. Đ•Ńли проблема не реŃена, %1$sобратитеŃŃŚ в ŃĐ»ŃĐ¶Đ±Ń ĐżĐľĐ´Đ´ĐµŃ€Đ¶ĐşĐ¸%2$s!"],"Something went wrong":["Что-то поŃло не так"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Похоже, время ожидание иŃтекло. ПожалŃĐąŃта, проверьте Ńоединение Ń Đ¸Đ˝Ń‚ĐµŃ€Đ˝ĐµŃ‚ĐľĐĽ и повторите попыткŃ. Đ•Ńли проблема не реŃена, пожалŃĐąŃта, %1$sобратитеŃŃŚ в ŃĐ»ŃĐ¶Đ±Ń ĐżĐľĐ´Đ´ĐµŃ€Đ¶ĐşĐ¸%2$s!"],"Connection timeout":["Время ожидания Ńоединения иŃтекло"],"Use AI":["ĐŃпользŃйте ĐĐ"],"Close modal":["Закрыть модальное окно"],"Learn more about AI (Opens in a new browser tab)":["Подробнее Đľ ĐĐ (Открыть в новой вкладке)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sЗаголовок%3$s: ĐŁ ваŃей Ńтраницы пока нет Заголовка. %2$sДобавьте его%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sЗаголовок%2$s: ĐŁ ваŃей Ńтраницы еŃть заголовок. Отличная работа!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sРаŃпределение ключевой фразы%3$s: %2$sĐŃпользŃйте в текŃте ваŃŃ ĐşĐ»ŃŽŃ‡ĐµĐ˛ŃŃŽ Ń„Ń€Đ°Đ·Ń Đ¸ ее Ńинонимы, чтобы ĐĽŃ‹ могли поŃчитать раŃпределение ключевой фразы%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sРаŃпределение ключевой фразы%2$s: Отлично!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sРаŃпределение ключевой фразы%3$s: Неравномерное. Некоторые чаŃти ваŃего текŃта не Ńодержат ключевой фразы или ее Ńинонимов. %2$sРаŃпределите их более равномерно%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sРаŃпределение ключевой фразы%3$s: Очень неравномерное. БольŃие чаŃти ваŃего текŃта не Ńодержат ключевой фразы или ее Ńинонимов. %2$sРаŃпределите их более равномерно%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Đ’Ń‹ не иŃпользŃете ŃлиŃком много Ńложных Ńлов, что делает Đ˛Đ°Ń Ń‚ĐµĐşŃŃ‚ легким для чтения. ХороŃая работа!"],"Word complexity":["СложноŃть Ńлов"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s Ńлов в ваŃем текŃте ŃчитаютŃŃŹ Ńложными. %3$sПопробŃйте иŃпользовать более короткие и знакомые Ńлова для ŃĐ»ŃчŃения читабельноŃти%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sВыравнивание%3$s: Đ•Ńть длинный фрагмент текŃта, раŃположенного по центрŃ.%2$sМы рекомендŃем Ńделать выравнивание по Đ»ĐµĐ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ.%3$s.","%1$sВыравнивание%3$s: Đ•Ńть %4$s длинных фрагмента текŃта, раŃположенных по центрŃ. %2$sМы рекомендŃем Ńделать выравнивание по Đ»ĐµĐ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ.%3$s.","%1$sВыравнивание%3$s: Đ•Ńть %4$s длинных фрагментов текŃта, раŃположенных по центрŃ. %2$sМы рекомендŃем Ńделать выравнивание по Đ»ĐµĐ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ.%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sВыравнивание%3$s: Đ•Ńть длинный фрагмент текŃта, раŃположенного по центрŃ.%2$sМы рекомендŃем Ńделать выравнивание по ĐżŃ€Đ°Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ.%3$s.","%1$sВыравнивание%3$s: Đ•Ńть %4$s длинных фрагмента текŃта, раŃположенных по центрŃ. %2$sМы рекомендŃем Ńделать выравнивание по ĐżŃ€Đ°Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ.%3$s.","%1$sВыравнивание%3$s: Đ•Ńть %4$s длинных фрагментов текŃта, раŃположенных по центрŃ. %2$sМы рекомендŃем Ńделать выравнивание по ĐżŃ€Đ°Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ.%3$s."],"Select image":["Выберите изображение"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Возможно, вы даже не подозреваете об этом, но на ваŃем Ńайте могŃŃ‚ быть Ńтраницы, на которые нет ŃŃылок. Это проблема SEO, ĐżĐľŃ‚ĐľĐĽŃ Ń‡Ń‚Đľ поиŃковым ŃиŃтемам Ńложно найти Ńтраницы, на которые нет ŃŃылок. ĐźĐľŃŤŃ‚ĐľĐĽŃ Đ¸Ń… Ńложнее ранжировать. Мы называем такие Ńтраницы \"ĐľŃиротевŃим контентом\". Đ’ этом тренажере ĐĽŃ‹ найдем ĐľŃиротевŃий контент на ваŃем Ńайте и поможем вам быŃтро добавить на него ŃŃылки, чтобы он полŃчил ŃĐ°Đ˝Ń Đ˝Đ° ранжирование!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Пора добавить неŃколько ŃŃылок! Ниже вы видите ŃпиŃок Ń Đ˛Đ°Ńими ĐľŃиротевŃими Ńтатьями. Под каждой из них еŃть предложения Đľ Ńвязанных Ńтраницах, на которые вы можете добавить ŃŃылкŃ. Добавляя ŃŃылкŃ, не забŃдьте вŃтавить ее в ŃоответŃтвŃющее предложение, Ńвязанное Ń Đ˛Đ°Ńей ĐľŃиротевŃей Ńтатьей. Продолжайте добавлять ŃŃылки на вŃе ĐľŃиротевŃие Ńтатьи, пока не бŃдете Ńдовлетворены количеŃтвом ŃŃылок, Ńказывающих на них."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Пора добавить неŃколько ŃŃылок! Ниже вы видите ŃпиŃок Ń Đ˛Đ°Ńими краеŃгольными камнями. Под каждым из них еŃть предложения Ńтатей, на которые вы можете добавить ŃŃылкŃ. При добавлении ŃŃылки ŃбедитеŃŃŚ, что она вŃтавлена в ŃоответŃтвŃющее предложение, Ńвязанное Ń Đ˛Đ°Ńей краеŃгольной Ńтатьей. Продолжайте добавлять ŃŃылки из Ńтольких Ńтатей, Ńколько вам Đ˝Ńжно, пока ваŃи краеŃгольные камни не бŃĐ´ŃŃ‚ иметь наибольŃее количеŃтво внŃтренних ŃŃылок, Ńказывающих на них."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Некоторые Ńтатьи на ваŃем Ńайте %1$sŃамые%2$s важные. Они отвечают на вопроŃŃ‹ людей и реŃают их проблемы. Значит, они заŃĐ»Ńживают выŃокого меŃта в рейтинге! Đ’ %3$s ĐĽŃ‹ называем их краеŃгольными Ńтатьями. Один из ŃпоŃобов повыŃить их рейтинг - размеŃтить на них Đ´ĐľŃтаточное количеŃтво ŃŃылок. БольŃее количеŃтво ŃŃылок ŃигнализирŃет поиŃковым ŃиŃтемам, что эти Ńтатьи важны и ценны. Đ’ этом тренажёре ĐĽŃ‹ поможем вам добавить ŃŃылки на ваŃи краеŃгольные Ńтатьи!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Когда вы добавите немного больŃе копий, ĐĽŃ‹ Ńможем определить Ńровень формальноŃти ваŃего текŃта."],"Overall, your text appears to be %1$s%3$s%2$s.":["Đ’ целом, Đ˛Đ°Ń Ń‚ĐµĐşŃŃ‚ выглядит, как %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Đнтеграция Zapier бŃдет Ńдалена из %1$s верŃии 20.7 (дата выпŃŃка -9 мая). Đ•Ńли Ń Đ˛Đ°Ń ĐµŃть вопроŃŃ‹, пожалŃĐąŃта, обращайтеŃŃŚ Đş %2$s."],"Maximum heading level":["МакŃимальный Ńровень заголовка"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["ĐŁ Đ˛Đ°Ń ĐľŃ‚ĐşĐ»ŃŽŃ‡ĐµĐ˝Ń‹ Предложения ŃŃылок, которые необходимы для работы Ńвязанных ŃŃылок. Đ•Ńли вы хотите добавить Ńвязанные ŃŃылки, пожалŃĐąŃта, перейдите на ФŃнкции Ńайта и включите Предложения ŃŃылок."],"Schema":["Схема"],"Meta tags":["Метатеги"],"Not available":["НедоŃŃ‚Ńпно"],"Checks":["Проверки"],"Focus Keyphrase":["ФокŃŃная ключевая фраза"],"Good":["ХороŃĐľ"],"No index":["Без индекŃа"],"Front-end SEO inspector":["Фронт-енд SEO инŃпектор"],"Focus keyphrase not set":["ФокŃŃная ключевая фраза не ŃŃтановлена"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["ПоŃле ĐżŃбликации Zap в панели Ńправления %s можно проверить, активен ли он и подключен ли Đş ваŃĐµĐĽŃ ŃайтŃ."],"Reset API key":["СброŃить ключ API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Đ’ наŃтоящее время вы подключены Đş %s, иŃпользŃŃŹ ŃледŃющий ключ API. Đ•Ńли вы хотите Ńнова подключитьŃŃŹ Ń Đ´Ń€Ńгим ключом API, вы можете ŃброŃить Ńвой ключ ниже."],"Your API key":["Đ’Đ°Ń ĐşĐ»ŃŽŃ‡ API"],"Go to your %s dashboard":["Перейдите Đş панели инŃтрŃментов %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Đ’Ń‹ ŃŃпеŃно подключилиŃŃŚ Đş %1$s! Чтобы Ńправлять Zap, поŃетите панель инŃтрŃментов %2$s."],"Your %s dashboard":["ВаŃа %s панель инŃтрŃментов"],"Verify connection":["Проверьте Ńоединение"],"Verify your connection":["Проверьте ваŃе Ńоединение"],"Create a Zap":["Создайте Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Войдите в Ńвою ŃчетнŃŃŽ запиŃŃŚ %1$s и начните Ńоздавать Ńвой первый Zap! Обратите внимание, что вы можете Ńоздать только 1 Zap Ń Ń‚Ń€Đ¸ĐłĐłĐµŃ€Đ˝Ń‹ĐĽ Ńобытием от %2$s. Đ’ рамках этого Zap вы можете выбрать одно или неŃколько дейŃтвий."],"%s API key":["Ключ API %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Этот ключ API понадобитŃŃŹ вам позже в %s, когда вы бŃдете наŃтраивать Zap."],"Copy your API key":["Копировать Đ˛Đ°Ń ĐşĐ»ŃŽŃ‡ API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Чтобы ŃŃтановить Ńоединение, ŃкопирŃйте приведенный ниже ключ API и иŃпользŃйте его для Ńоздания и включения Zap в ваŃей Ńчетной запиŃи %s."],"Manage %s settings":["Управлять наŃтройками %s"],"Connect to %s":["Подключить Đş %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Обратите внимание: чтобы этот тренажер работал хороŃĐľ, необходимо запŃŃтить инŃтрŃмент оптимизации данных SEO. ĐдминиŃтраторы могŃŃ‚ запŃŃтить его в разделе %1$sSEO > ĐĐ˝ŃтрŃменты%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Đ’Ń‹ добавили ŃŃылки на Ńвои ĐľŃиротевŃие Ńтатьи и очиŃтили те, которые Ńтратили актŃальноŃть. Отличная работа! ПоŃмотрите на ŃĐ˛ĐľĐ´ĐşŃ Đ˝Đ¸Đ¶Đµ и порадŃйтеŃŃŚ томŃ, чего вы Đ´ĐľŃтигли!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["КритичеŃки изŃчите Ńодержимое этого ŃпиŃка и Ńделайте необходимые обновления. Đ•Ńли вам Đ˝Ńжна помощь Ń ĐľĐ±Đ˝ĐľĐ˛Đ»ĐµĐ˝Đ¸ĐµĐĽ, Ń Đ˝Đ°Ń ĐµŃть очень %1$sполезная Ńтатья в блоге, которая поможет вам пройти веŃŃŚ ĐżŃть%2$s (нажмите, чтобы открыть в новой вкладке)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sĐťŃжны дополнительные рекомендации? Мы подробно опиŃали каждый Ńаг в ŃледŃющем Ń€ŃководŃтве: %2$sКак иŃпользовать ĐľŃиротевŃее Ńодержимое %7$s%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Đ’Ń‹ только что облегчили поиŃĐş ваŃего Đ»ŃчŃего контента и повыŃили вероятноŃть его ранжирования! Так держать! Время от времени не забывайте проверять, Đ´ĐľŃтаточно ли ŃŃылок полŃчают ваŃи краеŃгольные камни!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Взгляните на приведенный ниже ŃпиŃок. Đмеют ли ваŃи краеŃгольные камни (отмеченные %1$s) наибольŃее количеŃтво внŃтренних ŃŃылок, Ńказывающих на них? Нажмите на ĐşĐ˝ĐľĐżĐşŃ ĐžĐżŃ‚Đ¸ĐĽĐ¸Đ·Đ¸Ń€ĐľĐ˛Đ°Ń‚ŃŚ, еŃли вы Ńчитаете, что краеŃгольный камень Đ˝ŃждаетŃŃŹ в больŃем количеŃтве ŃŃылок. Это переведет Ńтатью на ŃледŃющий Ńаг."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Đ’Ńе ли ваŃи краеŃгольные камни имеют зеленые значки? Для Đ´ĐľŃтижения наилŃчŃих резŃльтатов отредактирŃйте те, Ń ĐşĐľŃ‚ĐľŃ€Ń‹Ń… их нет!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Какие Ńтатьи вы хотите ранжировать выŃе вŃего? Какие из них ваŃа аŃдитория Ńочтет наиболее полезными и полными? Нажмите на ŃтрелкŃ, ŃказывающŃŃŽ вниз, и найдите Ńтатьи, которые ŃоответŃтвŃŃŽŃ‚ этим критериям. Мы автоматичеŃки пометим Ńтатьи, которые вы выберете из ŃпиŃка, как краеŃгольные."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sĐťŃжны дополнительные рекомендации? Мы подробно опиŃали каждый Ńаг в Ńтатье: %2$sКак иŃпользовать тренажер %7$s по краеŃĐłĐľĐ»ŃŚĐ˝ĐľĐĽŃ ŃодержимомŃ%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Таблица Ńодержания Yoast"],"Yoast Related Links":["Связанные ŃŃылки Yoast"],"Finish optimizing":["ЗаверŃить оптимизацию"],"You've finished adding links to this article.":["Đ’Ń‹ заверŃили добавление ŃŃылок Đş этой Ńтатье."],"Optimize":["Оптимизировать"],"Added to next step":["Добавлено Đş ŃледŃŃŽŃ‰ĐµĐĽŃ ŃагŃ"],"Choose cornerstone articles...":["Выберите краеŃгольные Ńтатьи..."],"Loading data...":["ЗагрŃзка даннных..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Đ’Ń‹ ещё не очиŃтили или не обновили ни одной Ńтатьи Ń ĐżĐľĐĽĐľŃ‰ŃŚŃŽ этого тренажёра. Как только вы это Ńделаете, резŃльтат ваŃей работы появитŃŃŹ здеŃŃŚ. "],"Skipped":["ПропŃщено"],"Hidden from search engines.":["Скрыто от поиŃковых ŃиŃтем."],"Removed":["Удалено"],"Improved":["ĐŁĐ»ŃчŃено"],"Resolution":["РазреŃение"],"Loading redirect options...":["ЗагрŃзка параметров перенаправления..."],"Remove and redirect":["Удалить и перенаправить"],"Custom url:":["ПользовательŃкий url:"],"Related article:":["Связанная Ńтатья:"],"Home page:":["ДомаŃняя Ńтраница:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Đ’Ń‹ ŃобираетеŃŃŚ Ńдалить %1$s%2$s%3$s. Чтобы избежать ĐľŃибок 404 на ваŃем Ńайте, вы должны перенаправить его на Đ´Ń€ŃĐłŃŃŽ ŃтраницŃ. ĐšŃда бы вы хотели его перенаправить?"],"SEO Workout: Remove article":["Тренажёр SEO: Ńдалить Ńтатью"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Đ’ŃŃ‘ выглядит отлично! Мы не наŃли на ваŃем Ńайте ни одной Ńтатьи, ŃтарŃе 6 меŃяцев и в которых мало ŃŃылок на Đ˛Đ°Ń Ńайт. ВернитеŃŃŚ Ńюда позже, чтобы Ńзнать Đľ новых предложениях по очиŃтке!"],"Hide from search engines":["Скрыть от поиŃковых ŃиŃтем"],"Improve":["ĐŁĐ»ŃчŃить"],"Are you sure you wish to hide this article from search engines?":["Đ’Ń‹ Ńверены, что хотите Ńкрыть ŃŤŃ‚Ń Ńтатью от поиŃковых ŃиŃтем?"],"Action":["ДейŃтвие"],"You've hidden this article from search engines.":["Đ’Ń‹ Ńкрыли ŃŤŃ‚Ń Ńтатью от поиŃковых ŃиŃтем."],"You've removed this article.":["Đ’Ń‹ Ńдалили ŃŤŃ‚Ń Ńтатью."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["На данный момент вы не выбрали ни одной Ńтатьи для ŃĐ»ŃчŃения. Выберите неŃколько Ńтатей в предыдŃщем Ńаге, чтобы добавить ŃŃылки на них, и ĐĽŃ‹ покажем вам предложения ŃŃылок здеŃŃŚ."],"Loading link suggestions...":["ЗагрŃзка предложений по ŃŃылкам..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Мы не наŃли предложений по этой Ńтатье, но, конечно же, вы можете добавить ŃŃылки на Ńвязанные, по ваŃĐµĐĽŃ ĐĽĐ˝ĐµĐ˝Đ¸ŃŽ, Ńтатьи."],"Skip":["ПропŃŃтить"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Đ’Ń‹ ещё не выбрали Ńтатьи для этого Ńага. Đ’Ń‹ можете Ńделать это в предыдŃщем Ńаге."],"Is it up-to-date?":["Это актŃально?"],"Last Updated":["ПоŃледнее обновление"],"You've moved this article to the next step.":["Đ’Ń‹ перемеŃтили ŃŤŃ‚Ń Ńтатью в ŃледŃющий Ńаг."],"Unknown":["НеизвеŃтно"],"Clear summary":["ОчиŃтить резŃльтаты"],"Add internal links towards your orphaned articles.":["Добавьте внŃтренние ŃŃылки на Ńтатьи-Ńироты."],"Should you update your article?":["ĐťŃжно ли обновлять Ńтатью?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Đ’Đ°Ń Ńайт может Ńодержать множеŃтво Ńозданной когда-то информации, Đş которой больŃе никогда не возвращаютŃŃŹ. Важно проŃмотреть её и реŃить, являетŃŃŹ ли это Ńодержимое актŃальным для ваŃего Ńайта. ĐŁĐ»ŃчŃить его или Ńдалить?"],"Start: Love it or leave it?":["Начать: или так, или никак"],"Clean up your unlinked content to make sure people can find it":["ОчиŃтите неŃвязанное Ńодержимое, чтобы люди могли его найти"],"I've finished this workout":["ĐŻ закончил тренировкŃ"],"Reset this workout":["СброŃить тренировкŃ"],"Well done!":["Отлично!"],"Add internal links towards your cornerstones":["Добавьте внŃтренние ŃŃылки на краеŃгольнŃŃŽ информацию"],"Check the number of incoming internal links of your cornerstones":["Проверьте количеŃтво входящих внŃтренних ŃŃылок краеŃгольной информации"],"Start: Choose your cornerstones!":["Начать: выберите краеŃгольнŃŃŽ информацию!"],"The cornerstone approach":["КраеŃгольный подход"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Обратите внимание: чтобы этот тренажёр работал правильно и предлагал варианты ŃŃылок, вам ŃледŃет запŃŃтить инŃтрŃмент SEO-оптимизации данных. ĐдминиŃтраторы могŃŃ‚ запŃŃтить этот инŃтрŃмент в разделе %1$sSEO > ĐĐ˝ŃтрŃменты%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Обратите внимание: Đ˛Đ°Ń Đ°Đ´ĐĽĐ¸Đ˝Đ¸Ńтратор отключил Ń„ŃнкциональноŃть краеŃгольного камня в наŃтройках SEO. Đ•Ńли вы хотите иŃпользовать ŃŤŃ‚Ń Ń€Đ°Đ·Ń€Đ°Đ±ĐľŃ‚ĐşŃ, она должна быть включена."],"I've finished this step":["ĐŻ заверŃил этот Ńаг"],"Revise this step":["ПроŃмотреть Ńаг"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Нам не ŃдалоŃŃŚ найти внŃтренние ŃŃылки на ваŃих Ńайтах. Либо вы ещё не добавили внŃтренние ŃŃылки в Ńвое Ńодержимое, либо Yoast SEO не проиндекŃировал их. Чтобы Yoast SEO проиндекŃировал ŃŃылки, запŃŃтите SEO-оптимизацию данных в разделе SEO > ĐĐ˝ŃтрŃменты."],"Incoming links":["Входящие ŃŃылки"],"Edit to add link":["Редактировать, чтобы добавить ŃŃылкŃ"],"%s incoming link":["%s входящая ŃŃылка","%s входящие ŃŃылки","%s входящих ŃŃылок"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["На данный момент Ń Đ˛Đ°Ń Đ˝ĐµŃ‚ Ńтатей, отмеченных как краеŃгольные. Когда вы отметите Ńтатьи как краеŃгольные, ĐĽŃ‹ отобразим их здеŃŃŚ."],"Focus keyphrase":["ФокŃŃное ключевое Ńлово"],"Article":["Статья"],"Readability score":["Оценка читабельноŃти"],"SEO score":["Оценка SEO"],"Copy failed":["Не ŃдалоŃŃŚ Ńкопировать"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["ĐŁĐ»ŃчŃите ранжирование для вŃей краеŃгольной информации Ń ĐżĐľĐĽĐľŃ‰ŃŚŃŽ этого %1$sпоŃагового тренажёра!%2$s"],"Rank with articles you want to rank with":["Ранжирование по Ńтатьям, по которым вы хотите ранжировать"],"Descriptive text":["ОпиŃательный текŃŃ‚"],"Show the descriptive text":["Отображать опиŃательный текŃŃ‚"],"Show icon":["Отображать иконкŃ"],"Yoast Estimated Reading Time":["Приблизительное время чтения ŃоглаŃно Yoast"],"Shows an estimated reading time based on the content length.":["Отображает приблизительное время чтения, ĐľŃновываяŃŃŚ на размере Ńодержимого."],"reading time":["время чтения"],"content length":["длина Ńодержимого"],"Estimated reading time:":["Приблизительное время чтения:"],"minute":["минŃта","минŃты","минŃŃ‚"],"Settings":["НаŃтройки"],"OK":["OK"],"Close":["Закрыть"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Первое наŃтоящее и полноценное реŃение для SEO в WordPress, в которое включен анализ Ńодержимого Ńтраницы, Ńоздание карты Ńайта в формате XML и многое Đ´Ń€Ńгое."],"Type":["Тип"],"Team Yoast":["Команда Yoast"],"Orphaned content":["БеŃхозный контент"],"Synonyms":["Синонимы"],"Internal linking suggestions":["Предложения по внŃтренней компоновке"],"Enter a related keyphrase to calculate the SEO score":["Введите ŃоответŃтвŃющŃŃŽ ключевŃŃŽ Ń„Ń€Đ°Đ·Ń Đ´Đ»ŃŹ раŃчета оценки SEO"],"Related keyphrase":["Связанная ключевая фраза"],"Add related keyphrase":["Добавить похожее ключевое Ńлово"],"Analysis results":["РезŃльтаты анализа"],"Help on choosing the perfect keyphrase":["Помочь подобрать идеальные ключевые фразы"],"Help on keyphrase synonyms":["Справка по Ńинонимам ключевых фраз"],"Keyphrase":["Ключевая фраза"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Новая ŃŃылка: {{link}}%s{{/link}}"],"Undo":["Отменить дейŃтвие"],"Redirect created":["Редирект Ńоздан"],"%s just created a redirect from the old URL to the new URL.":["Только что %s Ńоздал редирект ŃĐľ Ńтарой ŃŃылки на новŃŃŽ."],"Old URL: {{link}}%s{{/link}}":["Старая ŃŃылка: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Синонимы ключевой фразы"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["ПроизоŃла ĐľŃибка: Premium SEO анализ не работает, как ŃледŃет. ПожалŃĐąŃта, {{activateLink}}активирŃйте Ńвою подпиŃĐşŃ Đ˛ MyYoast{{/activateLink}}, а затем {{reloadButton}}перезагрŃзите ŃтраницŃ{{/reloadButton}} для корректной работы."],"seo":["seo"],"internal linking":["внŃтренние ŃŃылки"],"site structure":["ŃтрŃктŃра Ńайта"],"We could not find any relevant articles on your website that you could link to from your post.":["Мы не Ńмогли найти на ваŃем веб-Ńайте ŃоответŃтвŃющие Ńтатьи, на которые вы могли бы ŃĐľŃлатьŃŃŹ в Ńвоем Ńообщении."],"Load suggestions":["ЗагрŃзить предложения"],"Refresh suggestions":["Обновить предложения"],"Write list…":["НапиŃите ŃпиŃок…"],"Adds a list of links related to this page.":["Добавляет ŃпиŃок ŃŃылок, отноŃящихŃŃŹ Đş этой Ńтранице."],"related posts":["похожие запиŃи"],"related pages":["похожие Ńтраницы"],"Adds a table of contents to this page.":["Добавляет оглавление на ŃŤŃ‚Ń ŃтраницŃ."],"links":["ŃŃылки"],"toc":["Ńодержание"],"Copy link":["Скопировать ŃŃылкŃ"],"Copy link to suggested article: %s":["Скопировать ŃŃŃ‹Đ»ĐşŃ Đ˛ предложеннŃŃŽ Ńтатью: %s"],"Add a title to your post for the best internal linking suggestions.":["Добавьте заголовок Đş ŃĐ˛ĐľĐµĐĽŃ ĐżĐľŃŃ‚Ń, чтобы ŃĐ»ŃчŃить предложения по внŃтренней перелинковке."],"Add a metadescription to your post for the best internal linking suggestions.":["Добавьте метаопиŃание Đş ŃĐ˛ĐľĐµĐĽŃ ĐżĐľŃŃ‚Ń, чтобы ŃĐ»ŃчŃить предложения по внŃтренней перелинковке."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Добавьте заголовок и метаопиŃание Đş ŃĐ˛ĐľĐµĐĽŃ ĐżĐľŃŃ‚Ń, чтобы ŃĐ»ŃчŃить предложения по внŃтренней перелинковке."],"Also, add a title to your post for the best internal linking suggestions.":["Еще добавьте заголовок Đş ŃĐ˛ĐľĐµĐĽŃ ĐżĐľŃŃ‚Ń, чтобы ŃĐ»ŃчŃить предложения по внŃтренним ŃŃылкам."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Еще добавьте метаопиŃание Đş ŃĐ˛ĐľĐµĐĽŃ ĐżĐľŃŃ‚Ń, чтобы ŃĐ»ŃчŃить предложения по внŃтренним ŃŃылкам."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Еще добавьте заголовок и метаопиŃание Đş ŃĐ˛ĐľĐµĐĽŃ ĐżĐľŃŃ‚Ń, чтобы полŃчить Đ»ŃчŃие предложения по внŃтренним ŃŃылкам."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Как только вы добавите немного больŃе копий, ĐĽŃ‹ дадим вам ŃпиŃок Ńвязанного контента здеŃŃŚ, на который вы можете ŃŃылатьŃŃŹ в ваŃем поŃте."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Чтобы ŃĐ»ŃчŃить ŃтрŃктŃŃ€Ń Đ˛Đ°Ńего Ńайта, раŃŃмотрите возможноŃть размещения ŃŃылок на Đ´Ń€Ńгие ŃоответŃтвŃющие поŃты или Ńтраницы на ваŃем Ńайте."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Отображение ŃпиŃка Ńвязанного контента, на который можно ŃŃылатьŃŃŹ, займет неŃколько ŃекŃнд. Предложения бŃĐ´ŃŃ‚ показаны здеŃŃŚ, как только они бŃĐ´ŃŃ‚ полŃчены."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Читайте наŃе Ń€ŃководŃтво по внŃтренним ŃŃылкам для SEO{{a}, чтобы Ńзнать больŃе."],"Copied!":["Скопировано!"],"Not supported!":["Не поддерживаетŃŃŹ!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Đ’Ń‹ пытаетеŃŃŚ иŃпользовать неŃколько Ńвязанных ключевых фраз? Đ’Ń‹ должны добавить их отдельно."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["ВаŃа ключевая фраза ŃлиŃком длинная. Она может быть макŃимŃĐĽ 191 Ńимвол."],"Add as related keyphrase":["Добавить как ŃвязаннŃŃŽ ключевŃŃŽ фразŃ"],"Added!":["Добавлено!"],"Remove":["Убрать"],"Table of contents":["Содержание"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Нам необходимо оптимизировать SEO-данные ваŃего Ńайта, чтобы ĐĽŃ‹ могли предложить вам Đ»ŃчŃŃŃŽ %1$sĐżĐµŃ€ĐµĐ»Đ¸Đ˝ĐşĐľĐ˛ĐşŃ ĐżŃ€ĐµĐ´Đ»ĐľĐ¶ĐµĐ˝Đ¸Đą%2$s.\n\n%3$sНачать оптимизацию SEO-данных%4$s"],"Create a Zap in %s":["Создать Zap в %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sk_SK.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sk_SK.json new file mode 100644 index 00000000..937a93fb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sk_SK.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;","lang":"sk"},"block keyword\u0004children":["odvodenĂ©"],"block keyword\u0004childpages":["odvodenĂ© stránky"],"block keyword\u0004subpages":["podstránky"],"block description\u0004Adds a list of internal links to subpages of this page.":["Pridá zoznam internĂ˝ch odkazov na podstránky tejto stránky."],"block title\u0004Yoast Subpages":["Podstránky Yoast"],"block keyword\u0004site structure":["štruktĂşra webovej stránky"],"block keyword\u0004internal linking":["internĂ© prepojenie"],"block keyword\u0004siblings pages":["prĂ­buznĂ© stránky"],"block keyword\u0004siblings":["prĂ­buznĂ©"],"block keyword\u0004SEO":["SEO"],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":["Pridá zoznam internĂ˝ch odkazov na prĂ­buznĂ© stránky, ktorĂ© majĂş rovnakĂş nadradenĂş stránku."],"block title\u0004Yoast Siblings":["PrĂ­buznĂ© Yoast"],"Generated %s descriptions":["VygenerovanĂ© popisy %s"],"Generated %s titles":["VygenerovanĂ© názvy %s"],"Meta description length":["Dĺžka meta popisu"],"SEO title width":["Ĺ Ă­rka názvu SEO"],"The request came back with the following error: \"%s\"":["PoĹľiadavka sa vrátila s nasledujĂşcou chybou: \"%s\""],"X share preview":["NáhÄľad zdieÄľania X"],"AI X title generator":["Generátor názvu AI X"],"AI X description generator":["Generátor popisu AI X"],"X preview":["X náhÄľad"],"Please enter a valid focus keyphrase.":["ProsĂ­m zadajte platnĂş kľúčovĂş frázu."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Ak chcete používaĹĄ tĂşto funkciu, vaša webová stránka musĂ­ byĹĄ verejne prĂ­stupná. To platĂ­ pre testovacie webovĂ© stránky aj pre prĂ­pady, keÄŹ je vaše rozhranie REST API chránenĂ© heslom. Uistite sa, Ĺľe je vaša stránka verejne prĂ­stupná, a skĂşste to znova. Ak problĂ©m pretrváva, kontaktujte %1$snáš tĂ­m podpory%2$s."],"Yoast AI cannot reach your site":["AI Yoast sa nemĂ´Ĺľe dostaĹĄ na vašu stránku"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Ak chcete zĂ­skaĹĄ prĂ­stup k tejto funkcii, musĂ­te maĹĄ aktĂ­vne predplatnĂ© %2$s a %3$s. ProsĂ­m %5$saktivujte svoje predplatnĂ© v %1$s%6$s alebo %7$szĂ­skajte novĂ© %4$s%8$s. Potom obnovte tĂşto stránku, aby funkcia správne fungovala, ÄŤo mĂ´Ĺľe trvaĹĄ aĹľ 30 sekĂşnd."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["Generátor AI názvov vyĹľaduje, aby bola pred pouĹľitĂ­m povolená SEO analĂ˝za. Ak ju chcete povoliĹĄ, prejdite do %2$sFunkcie stránky %1$s%3$s, zapnite SEO analĂ˝zu a kliknite na tlaÄŤidlo \"UloĹľiĹĄ zmeny\". Ak je SEO analĂ˝za vo vašom používateÄľskom profile WordPress vypnutá, vstĂşpte do svojho profilu a povoÄľte ju tam. Ak nemáte prĂ­stup k tĂ˝mto nastaveniam, obráťte sa na svojho administrátora."],"Social share preview":["NáhÄľad zdieÄľania na sociálnych sieĹĄach"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Ak chcete naÄŹalej používaĹĄ funkciu Yoast AI, znĂ­Ĺľte frekvenciu svojich poĹľiadaviek. Náš %1$spomocnĂ˝ ÄŤlánok%2$s poskytuje návod na efektĂ­vne plánovanie a rozvrhnutie vašich poĹľiadaviek pre optimalizáciu pracovnĂ©ho postupu."],"You've reached the Yoast AI rate limit.":["Dosiahli ste limit rĂ˝chlosti Yoast AI."],"Allow":["PovoliĹĄ"],"Deny":["OdmietnuĹĄ"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Ak chcete vidieĹĄ toto video, musĂ­te povoliĹĄ %1$s na naÄŤĂ­tanie vloĹľenĂ˝ch videĂ­ z %2$s."],"Text generated by AI may be offensive or inaccurate.":["Text generovanĂ˝ AI mĂ´Ĺľe byĹĄ urážlivĂ˝ alebo nepresnĂ˝."],"(Opens in a new browser tab)":["(OtvorĂ­ sa na novej karte prehliadaÄŤa)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["ZrĂ˝chlite svoj pracovnĂ˝ postup pomocou generatĂ­vnej AI. ZĂ­skajte vysokokvalitnĂ© návrhy názvov a popisov pre vaše vyhÄľadávanie a vzhÄľad na sociálnych sieĹĄach. %1$sZistite viac%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Generujte názvy a popisy pomocou Yoast AI!"],"New to %1$s":["NovĂ© v %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["SĂşhlasĂ­m s %1$sPodmienkami používania sluĹľby%2$s a %3$sPravidlami ochrany osobnĂ˝ch Ăşdajov%4$s sluĹľby Yoast AI. To zahĹ•Ĺa sĂşhlas so zhromažďovanĂ­m a používanĂ­m Ăşdajov na zlepšenie používateÄľskĂ©ho zážitku."],"Start generating":["ZaÄŤaĹĄ generovaĹĄ"],"Yes, revoke consent":["Ăno, odvolávam sĂşhlas"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["OdvolanĂ­m sĂşhlasu uĹľ nebudete maĹĄ prĂ­stup k funkciám Yoast AI. Ste si istĂ˝, Ĺľe chcete svoj sĂşhlas odvolaĹĄ?"],"Something went wrong, please try again later.":["NieÄŤo sa pokazilo, skĂşste to prosĂ­m neskĂ´r."],"Revoke AI consent":["Odvolanie AI sĂşhlasu"],"AI title generator":["Generátor AI názvov"],"AI description generator":["Generátor AI popisov"],"AI social title generator":["Generátor AI názvov na sociálnych sieĹĄach"],"AI social description generator":["Generátor AI popisov na sociálnych sieĹĄach"],"Dismiss":["OdmietnuĹĄ"],"Don’t show again":["Viac nezobrazovaĹĄ"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTip%2$s: Zlepšite presnosĹĄ vygenerovanĂ˝ch AI názvov tĂ˝m, Ĺľe na stránku napíšete viac obsahu."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTip%2$s: Zlepšite presnosĹĄ vygenerovanĂ˝ch AI popisov tĂ˝m, Ĺľe na stránku napíšete viac obsahu."],"Try again":["SkĂşste to znova"],"Social preview":["NáhÄľad na sociálnych sieĹĄach"],"Desktop result":["VĂ˝sledok na poÄŤĂ­taÄŤi"],"Mobile result":["VĂ˝sledok v mobile"],"Apply %s description":["PouĹľiĹĄ AI popis"],"Apply %s title":["PouĹľiĹĄ AI názov"],"Next":["NasledujĂşce"],"Previous":["PredchádzajĂşce"],"Generate 5 more":["Vytvorte ÄŹalších 5"],"Google preview":["NáhÄľad Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["VzhÄľadom na prĂ­sne etickĂ© pravidlá a %1$szásady používania%2$s OpenAI nemĂ´Ĺľeme pre vašu webovĂş stránku generovaĹĄ SEO názvy. Ak máte v Ăşmysle používaĹĄ AI, láskavo sa vyhnite používaniu explicitnĂ©ho, násilnĂ©ho alebo sexuálne explicitnĂ©ho obsahu. %3$sPreÄŤĂ­tajte si viac informáciĂ­ o tom, ako nakonfigurovaĹĄ svoju webovĂş stránku, aby ste si boli istĂ­, Ĺľe dosiahnete najlepšie vĂ˝sledky s AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["VzhÄľadom na prĂ­sne etickĂ© pravidlá a %1$szásady používania%2$s OpenAI nemĂ´Ĺľeme pre vašu webovĂş stránku generovaĹĄ meta popisy. Ak máte v Ăşmysle používaĹĄ AI, láskavo sa vyhnite používaniu explicitnĂ©ho, násilnĂ©ho alebo sexuálne explicitnĂ©ho obsahu. %3$sPreÄŤĂ­tajte si viac informáciĂ­ o tom, ako nakonfigurovaĹĄ svoju webovĂş stránku, aby ste si boli istĂ­, Ĺľe s AI dosiahnete najlepšie vĂ˝sledky%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Ak chcete zĂ­skaĹĄ prĂ­stup k tejto funkcii, musĂ­te maĹĄ aktĂ­vne predplatnĂ© %1$s. ProsĂ­m %3$saktivujte si predplatnĂ© v %2$s%4$s alebo %5$szĂ­skajte novĂ© %1$s predplatnĂ©%6$s. Potom obnovte tĂşto stránku, aby funkcia správne fungovala, ÄŤo mĂ´Ĺľe trvaĹĄ aĹľ 30 sekĂşnd."],"Refresh page":["ObnoviĹĄ stránku"],"Not enough content":["Nedostatok obsahu"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["SkĂşste to prosĂ­m neskĂ´r. Ak problĂ©m pretrváva, obráťte sa na %1$snáš tĂ­m podpory%2$s!"],"Something went wrong":["NieÄŤo sa pokazilo"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Zdá sa, Ĺľe došlo k prekroÄŤeniu ÄŤasovĂ©ho limitu pripojenia. Skontrolujte svoje internetovĂ© pripojenie a skĂşste to neskĂ´r. Ak problĂ©m pretrváva, obráťte sa na %1$snáš tĂ­m podpory%2$s"],"Connection timeout":["ÄŚasovĂ˝ limit pripojenia"],"Use AI":["PouĹľiĹĄ AI"],"Close modal":["ZatvoriĹĄ modalitu"],"Learn more about AI (Opens in a new browser tab)":["ÄŽalšie informácie o AI (OtvorĂ­ sa na novej karte prehliadaÄŤa)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sNázov%3$s: Vaša stránka ešte nemá názov. %2$sPridajte ho%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sNázov%2$s: Vaša stránka má názov. VĂ˝borne!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sDistribĂşcia kľúčovej frázy%3$s: %2$sV texte uveÄŹte svoju kľúčovĂş frázu alebo jej synonymá, aby sme mohli skontrolovaĹĄ distribĂşciu kľúčovej frázy%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sDistribĂşcia kľúčovej frázy%2$s: Dobrá práca!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribĂşcia kľúčovej frázy%3$s: Nerovnomerná. NiektorĂ© ÄŤasti vášho textu neobsahujĂş kľúčovĂş frázu alebo jej synonymá. %2$sRozdeÄľte ich rovnomernejšie%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sDistribĂşcia kľúčovej frázy%3$s: VeÄľmi nerovnomerná. VeÄľkĂ© ÄŤasti vášho textu neobsahujĂş kľúčovĂş frázu ani jej synonymá. %2$sRozdeÄľte ich rovnomernejšie%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Nepoužívate prĂ­liš veÄľa zloĹľitĂ˝ch slov, vÄŹaka ÄŤomu sa váš text Äľahko ÄŤĂ­ta. Dobrá práca!"],"Word complexity":["ZloĹľitosĹĄ slov"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s slov vo vašom texte sa povaĹľujĂş za zloĹľitĂ©. %3$sPokĂşste sa používaĹĄ kratšie a známejšie slová, aby ste zlepšili ÄŤitateÄľnosĹĄ%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sZarovnanie%3$s: V texte je dlhĂ˝ Ăşsek zarovnanĂ˝ na stred. %2$sOdporúčame ho zarovnaĹĄ doÄľava%3$s.","%1$sZarovnanie%3$s: V texte sĂş %4$s dlhĂ© Ăşseky zarovnanĂ© na stred. %2$sOdporúčame ich zarovnaĹĄ doÄľava%3$s.","%1$sZarovnanie%3$s: V texte je %4$s dlhĂ˝ch Ăşsekov zarovnanĂ˝ch na stred. %2$sOdporúčame ich zarovnaĹĄ doÄľava%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sZarovnanie%3$s: V texte je dlhĂ˝ Ăşsek zarovnanĂ˝ na stred. %2$sOdporúčame ho zarovnaĹĄ doprava%3$s.","%1$sZarovnanie%3$s: V texte sĂş %4$s dlhĂ© Ăşseky zarovnanĂ© na stred. %2$sOdporúčame ich zarovnaĹĄ doprava%3$s.","%1$sZarovnanie%3$s: V texte je %4$s dlhĂ˝ch Ăşsekov zarovnanĂ˝ch na stred. %2$sOdporúčame ich zarovnaĹĄ doprava%3$s."],"Select image":["VybraĹĄ obrázok"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["MoĹľno o tom ani neviete, ale na vašej webovej stránke mĂ´Ĺľu byĹĄ stránky, ktorĂ© nedostávajĂş Ĺľiadne odkazy. To je problĂ©m SEO, pretoĹľe pre vyhÄľadávaÄŤe je ĹĄaĹľkĂ© nájsĹĄ stránky, na ktorĂ© nevedĂş Ĺľiadne odkazy. Je pre ne ĹĄažšie ich zaradiĹĄ. Tieto stránky nazĂ˝vame osirelĂ˝ obsah. Na tomto cviÄŤenĂ­ nájdeme osirelĂ˝ obsah na vašej webovej stránke a poradĂ­me vám, ako naĹ rĂ˝chlo pridaĹĄ odkazy, aby dostal šancu na umiestnenie!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Je ÄŤas pridaĹĄ nejakĂ© odkazy! Nižšie nájdete zoznam s vašimi osirelĂ˝mi ÄŤlánkami. Pod kaĹľdĂ˝m z nich sa nachádzajĂş návrhy sĂşvisiacich stránok, na ktorĂ© by ste mohli pridaĹĄ odkaz. Pri pridávanĂ­ odkazu dbajte na to, aby ste ho vloĹľili do relevantnej vety a sĂşvisel s vaším osirelĂ˝m ÄŤlánkom. PokraÄŤujte v pridávanĂ­ odkazov na jednotlivĂ© osirelĂ© ÄŤlánky, kĂ˝m nebudete spokojnĂ˝ s mnoĹľstvom odkazov smerujĂşcich na ne."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Je ÄŤas pridaĹĄ nejakĂ© odkazy! Nižšie vidĂ­te zoznam s vašimi základnĂ˝mi stránkami. Pod kaĹľdou základnou stránkou sa nachádzajĂş návrhy ÄŤlánkov, z ktorĂ˝ch by ste mohli pridaĹĄ odkaz. Pri pridávanĂ­ odkazu nezabudnite ho vloĹľiĹĄ do relevantnej vety sĂşvisiacej s vašou základnou stránkou. PokraÄŤujte v pridávanĂ­ odkazov z toÄľkĂ˝ch sĂşvisiacich ÄŤlánkov, koÄľko potrebujete, aĹľ kĂ˝m vaše základnĂ© stránky nebudĂş maĹĄ najviac internĂ˝ch odkazov smerujĂşcich na ne."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["NiektorĂ© ÄŤlánky na vašej webovej stránke sĂş %1$snajdĂ´leĹľitejšie%2$s. OdpovedajĂş na otázky ÄľudĂ­ a riešia ich problĂ©my. Preto si zaslúžia umiestnenie na poprednĂ˝ch miestach! V %3$s ich nazĂ˝vame základnĂ© ÄŤlánky. JednĂ˝m zo spĂ´sobov, ako ich maĹĄ zaradenĂ©, je nasmerovaĹĄ na ne dostatok odkazov. Viac odkazov signalizuje vyhÄľadávaÄŤom, Ĺľe tieto ÄŤlánky sĂş dĂ´leĹľitĂ© a hodnotnĂ©. V tomto cviÄŤenĂ­ vám pomĂ´Ĺľeme pridaĹĄ odkazy na vaše základnĂ© ÄŤlánky!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["KeÄŹ pridáte trochu viac textu, budeme vám mĂ´cĹĄ urÄŤiĹĄ ĂşroveĹ formálnosti vášho textu."],"Overall, your text appears to be %1$s%3$s%2$s.":["Celkovo sa váš text javĂ­ ako %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Integrácia Zapier bude odstránená z %1$s vo verzii 20.7 (dátum vydania 9. mája). Ak máte akĂ©koÄľvek otázky, obráťte sa na %2$s."],"Maximum heading level":["Maximálna ĂşroveĹ podnadpisov"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Máte vypnutĂ© Návrhy prepojenĂ­, ktorĂ© sĂş potrebnĂ© na fungovanie SĂşvisiacich odkazov. Ak chcete pridaĹĄ SĂşvisiace odkazy, prejdite na Funkcie stránky a povoÄľte Návrhy odkazov."],"Schema":["SchĂ©ma"],"Meta tags":["Meta znaÄŤky"],"Not available":["Nie je k dispozĂ­cii"],"Checks":["Kontroly"],"Focus Keyphrase":["Hlavná kľúčová fráza"],"Good":["DobrĂ©"],"No index":["Bez indexu"],"Front-end SEO inspector":["Front-end SEO inšpektor"],"Focus keyphrase not set":["Nie je nastavená hlavná kľúčová fráza"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Po zverejnenĂ­ Zap na ovládacom paneli %s mĂ´Ĺľete skontrolovaĹĄ, ÄŤi je aktĂ­vny a pripojenĂ˝ k vášmu webu."],"Reset API key":["Obnovenie kľúča API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Momentálne ste pripojenĂ­ k %s pomocou nasledujĂşceho kľúča API. Ak sa chcete znovu pripojiĹĄ s inĂ˝m kľúčom API, mĂ´Ĺľete svoj kľúč resetovaĹĄ nižšie."],"Your API key":["Váš API kľúč"],"Go to your %s dashboard":["Prejdite na nástenku %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Ăšspešne ste sa pripojili k %1$s! Ak chcete spravovaĹĄ svoj Zap, navštĂ­vte svoju %2$s nástenku."],"Your %s dashboard":["Vaša %s nástenka"],"Verify connection":["Overenie pripojenia"],"Verify your connection":["Overenie pripojenia"],"Create a Zap":["Vytvorenie Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Prihláste sa do svojho konta %1$s a zaÄŤnite vytváraĹĄ svoj prvĂ˝ Zap! UpozorĹujeme, Ĺľe mĂ´Ĺľete vytvoriĹĄ len 1 Zap so spúšťacou udalosĹĄou z %2$s. V rámci tohto Zap si mĂ´Ĺľete vybraĹĄ jednu alebo viac akciĂ­."],"%s API key":["%s API kľúč"],"You'll need this API key later on in %s when you're setting up your Zap.":["Tento kľúč API budete potrebovaĹĄ neskĂ´r v %s pri nastavovanĂ­ Zap."],"Copy your API key":["SkopĂ­rujte svoj kľúč API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Ak chcete nastaviĹĄ pripojenie, skopĂ­rujte nižšie uvedenĂ˝ kľúč API a pouĹľite ho na vytvorenie a zapnutie Zap v rámci svojho konta %s."],"Manage %s settings":["Správa nastavenĂ­ %s"],"Connect to %s":["Pripojenie k %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Upozornenie: aby toto cviÄŤenie fungovalo dobre, musĂ­te spustiĹĄ nástroj na SEO optimalizáciu Ăşdajov. Administrátori ho mĂ´Ĺľu spustiĹĄ v ÄŤasti %1$sSEO > Nástroje%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Pridali ste odkazy na osirelĂ© ÄŤlánky a vyÄŤistili ste tie, ktorĂ© uĹľ neboli relevantnĂ©. Skvelá práca! Pozrite si prehÄľad nižšie a oslávte, ÄŤo ste dosiahli!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Kriticky preskĂşmajte obsah tohto zoznamu a vykonajte potrebnĂ© aktualizácie. Ak potrebujete pomoc s aktualizáciou, máme pre vás veÄľmi %1$suĹľitoÄŤnĂ˝ ÄŤlánok na blogu, ktorĂ˝ vás mĂ´Ĺľe viesĹĄ celou cestou%2$s (kliknutĂ­m sa otvorĂ­ na novej karte)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sPotrebujete ÄŹalšie pokyny? Podrobnejšie sme sa kaĹľdĂ©mu kroku venovali v nasledujĂşcej prĂ­ruÄŤke: %2$sCviÄŤenie, ako používaĹĄ %7$s osirelĂ˝ obsah%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Práve ste uÄľahÄŤili vyhÄľadávanie svojho najlepšieho obsahu a zvýšili pravdepodobnosĹĄ jeho umiestnenia! Len tak ÄŹalej! Z ÄŤasu na ÄŤas nezabudnite skontrolovaĹĄ, ÄŤi vaše základnĂ© kamene zĂ­skavajĂş dostatok odkazov!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Pozrite si zoznam nižšie. MajĂş vaše základnĂ© ÄŤlánky (oznaÄŤenĂ© %1$s) najviac internĂ˝ch odkazov, ktorĂ© na ne smerujĂş? Ak si myslĂ­te, Ĺľe niektorĂ˝ základnĂ˝ ÄŤlánok potrebuje viac odkazov, kliknite na tlaÄŤidlo OptimalizovaĹĄ. TĂ˝m sa ÄŤlánok presunie do ÄŹalšieho kroku."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["MajĂş všetky vaše základnĂ© stránky zelenĂ© gule? Pre dosiahnutie najlepších vĂ˝sledkov zvážte Ăşpravu tĂ˝ch, ktorĂ© ich nemajĂş!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["KtorĂ© ÄŤlánky chcete zaradiĹĄ najvyššie? KtorĂ© z nich by vaše publikum povaĹľovalo za najuĹľitoÄŤnejšie a najkomplexnejšie? Kliknite na šipku smerujĂşcu nadol a vyhÄľadajte ÄŤlánky, ktorĂ© zodpovedajĂş tĂ˝mto kritĂ©riám. ÄŚlánky, ktorĂ© vyberiete zo zoznamu, automaticky oznaÄŤĂ­me ako základnĂ©."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sPotrebujete ÄŹalšie pokyny? Podrobnejšie sme sa kaĹľdĂ©mu kroku venovali v ÄŤlánku: %2$sAko používaĹĄ %7$s základnĂ© cviÄŤenie%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Obsah Yoast"],"Yoast Related Links":["SĂşvisiace odkazy Yoast"],"Finish optimizing":["DokonÄŤenie optimalizácie"],"You've finished adding links to this article.":["DokonÄŤili ste pridávanie odkazov do tohto ÄŤlánku."],"Optimize":["Optimalizujte"],"Added to next step":["Pridajte do ÄŹalšieho kroku"],"Choose cornerstone articles...":["Vyberte si základnĂ© ÄŤlánky..."],"Loading data...":["NaÄŤĂ­tanie Ăşdajov..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Ešte ste nevyÄŤistili ani neaktualizovali Ĺľiadne ÄŤlánky pomocou tohto cviÄŤenia. KeÄŹ tak urobĂ­te, zobrazĂ­ sa tu sĂşhrn vašej práce."],"Skipped":["VynechanĂ©"],"Hidden from search engines.":["SkrytĂ© pred vyhÄľadávaÄŤmi."],"Removed":["OdstránenĂ©"],"Improved":["VylepšenĂ©"],"Resolution":["Rozlíšenie"],"Loading redirect options...":["NaÄŤĂ­tanie moĹľnostĂ­ presmerovania..."],"Remove and redirect":["Odstránenie a presmerovanie"],"Custom url:":["Vlastná URL adresa:"],"Related article:":["SĂşvisiaci ÄŤlánok:"],"Home page:":["Domovská stránka:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Chystáte sa odstrániĹĄ %1$s%2$s%3$s. Aby ste zabránili vĂ˝skytu chyby 404 na vašom webe, mali by ste ho presmerovaĹĄ na inĂş stránku na vašom webe. Kam ju chcete presmerovaĹĄ?"],"SEO Workout: Remove article":["SEO cviÄŤenie: Odstránenie ÄŤlánku"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Všetko vyzerá dobre! Na vašom webe sme nenašli Ĺľiadne ÄŤlánky staršie ako šesĹĄ mesiacov, ktorĂ© by dostávali prĂ­liš málo odkazov na vašej webovej stránke. Pre novĂ© návrhy na ÄŤistenie sa sem vráťte neskĂ´r!"],"Hide from search engines":["SkryĹĄ pred vyhÄľadávaÄŤmi"],"Improve":["ZlepšiĹĄ"],"Are you sure you wish to hide this article from search engines?":["Ste si istĂ­, Ĺľe chcete tento ÄŤlánok skryĹĄ pred vyhÄľadávaÄŤmi?"],"Action":["Akcia"],"You've hidden this article from search engines.":["Tento ÄŤlánok ste skryli pred vyhÄľadávaÄŤmi."],"You've removed this article.":["Tento ÄŤlánok ste odstránili."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Momentálne ste si nevybrali Ĺľiadne ÄŤlánky, ktorĂ© chcete vylepšiĹĄ. V predchádzajĂşcich krokoch vyberte niekoÄľko ÄŤlánkov, ku ktorĂ˝m chcete pridaĹĄ odkazy a my vám tu zobrazĂ­me návrhy odkazov."],"Loading link suggestions...":["NaÄŤĂ­tanie návrhov odkazov..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["K tomuto ÄŤlánku sme nenašli Ĺľiadne návrhy, ale samozrejme mĂ´Ĺľete pridaĹĄ odkazy na ÄŤlánky, ktorĂ© podÄľa vás sĂşvisia s tĂ˝mto ÄŤlánkom."],"Skip":["VynechaĹĄ"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Pre tento krok ste ešte nevybrali Ĺľiadne ÄŤlánky. MĂ´Ĺľete tak urobiĹĄ v predchádzajĂşcom kroku."],"Is it up-to-date?":["Je aktuálny?"],"Last Updated":["Posledná aktualizácia"],"You've moved this article to the next step.":["Presunuli ste tento ÄŤlánok do ÄŹalšieho kroku."],"Unknown":["Neznáme"],"Clear summary":["JasnĂ˝ prehÄľad"],"Add internal links towards your orphaned articles.":["Pridajte internĂ© odkazy na osirelĂ© ÄŤlánky."],"Should you update your article?":["Mali by ste svoj ÄŤlánok aktualizovaĹĄ?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Vaša stránka mĂ´Ĺľe obsahovaĹĄ mnoĹľstvo obsahu, ktorĂ˝ ste raz vytvorili a odvtedy ste sa k nemu uĹľ nevrátili. Je dĂ´leĹľitĂ©, aby ste si tieto stránky prešli a spĂ˝tali sa sami seba, ÄŤi je tento obsah pre vašu webovĂş stránku stále relevantnĂ˝. Mali by ste ho vylepšiĹĄ alebo odstrániĹĄ?"],"Start: Love it or leave it?":["Ĺ tart: MilovaĹĄ alebo nechaĹĄ tak?"],"Clean up your unlinked content to make sure people can find it":["VyÄŤistite neprepojenĂ˝ obsah, aby ho Äľudia mohli nájsĹĄ"],"I've finished this workout":["DokonÄŤil som toto cviÄŤenie"],"Reset this workout":["Obnovenie tohto cviÄŤenia"],"Well done!":["VĂ˝borne!"],"Add internal links towards your cornerstones":["Pridajte internĂ© odkazy na vaše základnĂ© stránky"],"Check the number of incoming internal links of your cornerstones":["Skontrolujte poÄŤet prichádzajĂşcich internĂ˝ch odkazov vašich základnĂ˝ch stránok"],"Start: Choose your cornerstones!":["ZaÄŤnite: Vyberte si základnĂ© stránky!"],"The cornerstone approach":["PrĂ­stup základnĂ˝ch stránok"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Upozornenie: Aby toto cviÄŤenie dobre fungovalo a ponĂşkalo vám návrhy prepojenĂ­, musĂ­te spustiĹĄ nástroj na optimalizáciu Ăşdajov SEO. Administrátori ho mĂ´Ĺľu spustiĹĄ v ÄŤasti %1$sSEO > Nástroje%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Upozornenie: Váš administrátor zakázal základnĂş funkciu v nastaveniach SEO. Ak chcete toto cviÄŤenie používaĹĄ, malo by byĹĄ povolenĂ©."],"I've finished this step":["Tento krok som dokonÄŤil"],"Revise this step":["RevĂ­zia tohto kroku"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Na vašich stránkach sa nám nepodarilo nájsĹĄ internĂ© prepojenia. BuÄŹ ste do svojho obsahu ešte nepridali Ĺľiadne internĂ© odkazy, alebo ich aplikácia Yoast SEO neindexovala. Aplikáciu Yoast SEO mĂ´Ĺľete nechaĹĄ indexovaĹĄ vaše odkazy spustenĂ­m optimalizácie Ăşdajov SEO v ÄŤasti SEO > Nástroje."],"Incoming links":["PrichádzajĂşce odkazy"],"Edit to add link":["UpraviĹĄ pre pridanie odkazu"],"%s incoming link":["%s prichádzajĂşci odkaz","%s prichádzajĂşce odkazy","%s prichádzajĂşcich odkazov"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Momentálne nemáte Ĺľiadne ÄŤlánky oznaÄŤenĂ© ako základnĂ©. KeÄŹ oznaÄŤĂ­te svoje ÄŤlánky ako základnĂ©, zobrazia sa tu."],"Focus keyphrase":["Hlavná kľúčová fráza"],"Article":["ÄŚlánok"],"Readability score":["SkĂłre ÄŤitateÄľnosti"],"SEO score":["SkĂłre SEO"],"Copy failed":["KopĂ­rovanie zlyhalo"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Zlepšite hodnotenie všetkĂ˝ch svojich základnĂ˝ch kameĹov pomocou tohto cviÄŤenia %1$skrok za krokom!%2$s"],"Rank with articles you want to rank with":["Umiestnenie ÄŤlánkov, ktorĂ© chcete umiestniĹĄ"],"Descriptive text":["PopisnĂ˝ text"],"Show the descriptive text":["ZobraziĹĄ popisnĂ˝ text"],"Show icon":["ZobraziĹĄ ikonu"],"Yoast Estimated Reading Time":["OdhadovanĂ˝ ÄŤas ÄŤĂ­tania Yoast"],"Shows an estimated reading time based on the content length.":["ZobrazĂ­ odhadovanĂ˝ ÄŤas ÄŤĂ­tania na základe dĺžky obsahu."],"reading time":["ÄŤas ÄŤĂ­tania"],"content length":["dĺžka obsahu"],"Estimated reading time:":["OdhadovanĂ˝ ÄŤas ÄŤĂ­tania:"],"minute":["minĂşta","minĂşty","minĂşt"],"Settings":["Nastavenia"],"OK":["OK"],"Close":["ZatvoriĹĄ"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["PrvĂ© skutoÄŤnĂ© komplexnĂ© riešenie SEO pre WordPress vrátane analĂ˝zy obsahu na stránke, XML mapy webovej stránky a mnohĂ˝ch ÄŹalších funkciĂ­."],"Type":["Typ"],"Team Yoast":["TĂ­m Yoast"],"Orphaned content":["OsirotenĂ˝ obsah"],"Synonyms":["Synonymá"],"Internal linking suggestions":["Návrhy internĂ˝ch prepojenĂ­"],"Enter a related keyphrase to calculate the SEO score":["Zadajte sĂşvisiacu kľúčovĂş frázu na vĂ˝poÄŤet SEO skĂłre"],"Related keyphrase":["SĂşvisiaca kľúčová fráza"],"Add related keyphrase":["PridaĹĄ sĂşvisiacu kľúčovĂş frázu"],"Analysis results":["VĂ˝sledky analĂ˝zy"],"Help on choosing the perfect keyphrase":["Pomoc pri vĂ˝bere ideálnej kľúčovej frázy"],"Help on keyphrase synonyms":["Pomoc pri synonymách kľúčovej frázy"],"Keyphrase":["Kľúčová fráza"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Nová URL adresa: {{link}}%s{{/link}}"],"Undo":["Späť"],"Redirect created":["VytvorenĂ© presmerovanie"],"%s just created a redirect from the old URL to the new URL.":["%s práve vytvorilo presmerovanie zo starej URL adresy na novĂş URL adresu."],"Old URL: {{link}}%s{{/link}}":["Stará URL adresa: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Synonymá kľúčovej frázy"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Vyskytla sa chyba: Premium SEO analĂ˝za nefunguje podÄľa oÄŤakávania. ProsĂ­m {{activateLink}}aktivujte svoje predplatnĂ© v MyYoast{{/activateLink}} a potom {{reloadButton}}naÄŤĂ­tajte tĂşto stránku{{/reloadButton}}, aby fungovala správne."],"seo":["seo"],"internal linking":["internĂ© prepojenie"],"site structure":["štruktĂşra webovej stránky"],"We could not find any relevant articles on your website that you could link to from your post.":["Na vašej webovej stránke sme nenašli Ĺľiadne relevantnĂ© prĂ­spevky, na ktorĂ© by ste mohli odkázaĹĄ vo svojom ÄŤlánku."],"Load suggestions":["Návrhy na naÄŤĂ­tanie"],"Refresh suggestions":["Návrhy na aktualizáciu"],"Write list…":["Napíšte zoznam..."],"Adds a list of links related to this page.":["PridaĹĄ zoznam odkazov sĂşvisiacich s touto stránkou."],"related posts":["sĂşvisiace ÄŤlánky"],"related pages":["sĂşvisiace stránky"],"Adds a table of contents to this page.":["PridaĹĄ na tĂşto stránku obsah."],"links":["odkazy"],"toc":["toc"],"Copy link":["KopĂ­rovaĹĄ odkaz"],"Copy link to suggested article: %s":["SkopĂ­rujte odkaz na navrhovanĂ˝ ÄŤlánok: %s"],"Add a title to your post for the best internal linking suggestions.":["Pridajte k ÄŤlánku názov pre najlepšie návrhy internĂ©ho prepojenia."],"Add a metadescription to your post for the best internal linking suggestions.":["Pridajte metapopis k ÄŤlánku pre najlepšie návrhy internĂ©ho prepojenia."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Pridajte k ÄŤlánku názov a metapopis pre najlepšie návrhy internĂ©ho prepojenia."],"Also, add a title to your post for the best internal linking suggestions.":["Pridajte tieĹľ názov ÄŤlánku, aby ste zĂ­skali najlepšie návrhy na internĂ© prepojenie."],"Also, add a metadescription to your post for the best internal linking suggestions.":["K ÄŤlánku pridajte aj metapopis, aby ste zĂ­skali najlepšie návrhy na internĂ© prepojenie."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Pre najlepšie návrhy internĂ©ho prepojenia pridajte k ÄŤlánku aj názov a metapopis."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["KeÄŹ pridáte trochu viac textu, poskytneme vám tu zoznam sĂşvisiaceho obsahu, na ktorĂ˝ mĂ´Ĺľete vo svojom ÄŤlánku odkázaĹĄ."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Ak chcete zlepšiĹĄ štruktĂşru svojej webovej stránky, zvážte prepojenie na inĂ© relevantnĂ© ÄŤlánky alebo stránky na svojej webovej stránke."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Po niekoÄľkĂ˝ch sekundách sa zobrazĂ­ zoznam sĂşvisiaceho obsahu, na ktorĂ˝ by ste mohli vytvoriĹĄ odkaz. Návrhy sa tu zobrazia hneÄŹ, ako ich budeme maĹĄ k dispozĂ­cii."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}PreÄŤĂ­tajte si našu prĂ­ruÄŤku o internom prepojenĂ­ pre SEO{{/a}} a dozviete sa viac."],"Copied!":["SkopĂ­rovanĂ©!"],"Not supported!":["Nie je podporovanĂ©!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Snažíte sa pouĹľiĹĄ viacero sĂşvisiacich kľúčovĂ˝ch fráz? Mali by ste ich pridaĹĄ samostatne."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Vaša kľúčová fráza je prĂ­liš dlhá. MĂ´Ĺľe maĹĄ maximálne 191 znakov."],"Add as related keyphrase":["PridaĹĄ ako sĂşvisiacu kľúčovĂş frázu"],"Added!":["PridanĂ©!"],"Remove":["OdstrániĹĄ"],"Table of contents":["Obsah"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["MusĂ­me optimalizovaĹĄ Ăşdaje SEO vašej webovej stránky, aby sme vám mohli ponĂşknuĹĄ tie najlepšie %1$snávrhy odkazov%2$s.↵ ↵ %3$sSpustite optimalizáciu SEO Ăşdajov%4$s"],"Create a Zap in %s":["VytvoriĹĄ Zap v %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sr_RS.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sr_RS.json new file mode 100644 index 00000000..93b40b17 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sr_RS.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","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"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Захтев Ńе вратио Ńа Ńледећом греŃком: \"%s\""],"X share preview":["X преглед дељења"],"AI X title generator":["AI генератор наŃлова за X"],"AI X description generator":["AI генератор опиŃа за X"],"X preview":["X преглед"],"Please enter a valid focus keyphrase.":["Молимо Đ˛Đ°Ń Đ´Đ° ŃнеŃете иŃĐżŃ€Đ°Đ˛Đ˝Ń ĐşŃ™ŃŃ‡Đ˝Ń Ń„Ń€Đ°Đ·Ń Đ·Đ° фокŃŃирање."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Да биŃте кориŃтили ĐľĐ˛Ń Ń„ŃнкционалноŃŃ‚ ваŃе веб меŃто мора бити Ńавно Đ´ĐľŃŃ‚Ńпно. То Ńе одноŃи како да веб меŃта за теŃтирање тако и на инŃтанце где Ńе Đ˛Đ°Ń REST API заŃтићен лозинком. Молимо Đ˛Đ°Ń Đ´Đ° ĐľŃигŃрате да Ńе ваŃе веб меŃто Ńавно Đ´ĐľŃŃ‚Ńпно и покŃŃаŃте поново. Уколико проблем и даље поŃтоŃи, молимо Đ˛Đ°Ń Đ´Đ° %1$sконтактирате Đ˝Đ°Ń Ń‚Đ¸ĐĽ за подрŃĐşŃ%2$s."],"Yoast AI cannot reach your site":["Yoast AI не може да приŃŃ‚Ńпи ваŃем веб меŃŃ‚Ń."],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Како биŃте приŃŃ‚Ńпили ĐľĐ˛ĐľŃ Ń„ŃнкционалноŃти, потребне ŃŃ Đ˛Đ°ĐĽ активне %2$s и %3$s претплате. Молимо Đ˛Đ°Ń Đ´Đ° %5$sŃкљŃчите ŃвоŃе претплате Ń %1$s%6$s или %7$sдобиŃете Đ˝ĐľĐ˛Ń %4$s%8$s. Након тога, молимо Đ˛Đ°Ń Đ´Đ° ĐľŃвежите ŃŃ‚Ń€Đ°Đ˝Đ¸Ń†Ń ĐşĐ°ĐşĐľ би Ń„ŃнкционалноŃŃ‚ радила иŃправно, Ńто може потраŃати Đ´Đľ 30 ŃекŃнди."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["AI генератор наŃлова захтева омогŃŃ›ĐµĐ˝Ń SEO Đ°Đ˝Đ°Đ»Đ¸Đ·Ń ĐżŃ€Đµ Ńпотребе. Како биŃте то омогŃћили, молимо Đ˛Đ°Ń Đ´Đ° одете на %2$sŃ„ŃнкционалноŃти веб меŃта %1$s%3$s, ŃкљŃчите SEO Đ°Đ˝Đ°Đ»Đ¸Đ·Ń Đ¸ кликнете на ”СачŃваŃте промене”. Уколико Ńе SEO анализа онемогŃћена на ваŃем Đ’ĐľŃ€Đ´ĐżŃ€ĐµŃ ĐżŃ€ĐľŃ„Đ¸Đ»Ń, приŃŃ‚Ńпите Ńвом ĐżŃ€ĐľŃ„Đ¸Đ»Ń Đ¸ тамо Ńе омогŃћите. Молимо Đ˛Đ°Ń Đ´Đ° контактирате Ńвог админиŃтратора Ńколико немате приŃŃ‚ŃĐż овим подеŃавањима."],"Social share preview":["Преглед дељења на Đ´Ń€ŃŃтвеним мрежама"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Како биŃте наŃтавили Ńа кориŃћењем Yoast AI Ń„ŃнкциŃе, молимо Đ˛Đ°Ń Đ´Đ° Ńмањите ŃчеŃталоŃŃ‚ ваŃих захтева. ĐťĐ°Ń %1$sчланак за помоћ%2$s прŃжа Ńмернице Đľ ефикаŃном ĐżĐ»Đ°Đ˝Đ¸Ń€Đ°ŃšŃ Đ¸ раŃĐżĐľŃ€ĐµŃ’Đ¸Đ˛Đ°ŃšŃ Đ˛Đ°Ńих захтева за оптимизован ток рада."],"You've reached the Yoast AI rate limit.":["ДоŃтигли Ńте ограничење брзине Yoast AI."],"Allow":["Дозволи"],"Deny":["ОдбиŃ"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Да биŃте видели ĐľĐ˛Đ°Ń Đ˛Đ¸Đ´ĐµĐľ, морате дозволити %1$s да Ńчитава Ńграђене видео Ńнимке Ńа %2$s."],"Text generated by AI may be offensive or inaccurate.":["ТекŃŃ‚ генериŃан од Ńтране веŃтачке интелигенциŃе може бити Ńвредљив или нетачан."],"(Opens in a new browser tab)":["(Отвара Ńе на Đ˝ĐľĐ˛ĐľŃ ĐşĐ°Ń€Ń‚Đ¸Ń†Đ¸ прегледача)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["УбрзаŃте ток рада ĐżĐľĐĽĐľŃ›Ń ĐłĐµĐ˝ĐµŃ€Đ°Ń‚Đ¸Đ˛Đ˝Đµ веŃтачке интелигенциŃе. ДобиŃте виŃококвалитетне предлоге наŃлова и опиŃа за приказ на претраживачима и Đ´Ń€ŃŃтвеним мрежама. %1$sСазнаŃте виŃе%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["ГенериŃи наŃлове и опиŃе кориŃтећи Yoast AI!"],"New to %1$s":["Ново на %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["ДаŃем одобрење за %1$sĐŁŃлове кориŃћења%2$s и %3$sĐźĐľĐ»Đ¸Ń‚Đ¸ĐşŃ ĐżŃ€Đ¸Đ˛Đ°Ń‚Đ˝ĐľŃти%4$s Yoast AI ŃервиŃа. Ово ŃкљŃчŃŃе ŃаглаŃноŃŃ‚ за прикŃпљање и кориŃћење података ради Ńнапређења кориŃничког иŃĐşŃŃтва."],"Start generating":["Започни генериŃање"],"Yes, revoke consent":["Да, повŃци ŃаглаŃноŃŃ‚"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Повлачењем ŃаглаŃноŃти виŃе нећете имати приŃŃ‚ŃĐż Yoast AI Ń„ŃнкционалноŃтима. Да ли Ńте ŃигŃрни да желите да повŃчете ŃаглаŃноŃŃ‚?"],"Something went wrong, please try again later.":["НеŃто Ńе поŃло наопако, молимо Đ˛Đ°Ń Đ´Đ° покŃŃате каŃниŃе."],"Revoke AI consent":["ПовŃци ŃаглаŃноŃŃ‚ за AI"],"AI title generator":["AI генератор наŃлова"],"AI description generator":["AI генератор опиŃа"],"AI social title generator":["AI генератор наŃлова за Đ´Ń€ŃŃтвене мреже"],"AI social description generator":["AI генератор опиŃа за Đ´Ń€ŃŃтвене мреже"],"Dismiss":["Одбаци"],"Don’t show again":["Не приказŃŃ ĐżĐľĐ˝ĐľĐ˛Đľ"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sСавет%2$s: ПобољŃаŃте тачноŃŃ‚ AI генериŃаних наŃлова тако Ńто ћете напиŃати виŃе ŃадржаŃа на ваŃĐľŃ Ńтраници."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sСавет%2$s: ПобољŃаŃте тачноŃŃ‚ AI генериŃаних опиŃа тако Ńто ћете напиŃати виŃе ŃадржаŃа на ваŃĐľŃ Ńтраници."],"Try again":["ПокŃŃĐ°Ń ĐżĐľĐ˝ĐľĐ˛Đľ"],"Social preview":["Преглед на Đ´Ń€ŃŃтвеним мрежама"],"Desktop result":["ДеŃктоп резŃлтат"],"Mobile result":["Мобилни резŃлтат"],"Apply %s description":[],"Apply %s title":[],"Next":["Следећа"],"Previous":["Преtходна"],"Generate 5 more":["ГенериŃи ŃĐľŃ 5"],"Google preview":["Google-ов преглед"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Због Ńтриктних етичких Ńмерница компаниŃе OpenAI и %1$sправила Đľ кориŃћењŃ%2$s, ниŃĐĽĐľ Ń ĐĽĐľĐłŃћноŃти да генериŃемо SEO наŃлове за ваŃŃ ŃтраницŃ. Уколико планирате да кориŃтите веŃŃ‚Đ°Ń‡ĐşŃ Đ¸Đ˝Ń‚ĐµĐ»Đ¸ĐłĐµĐ˝Ń†Đ¸ŃŃ, молимо Đ˛Đ°Ń Đ´Đ° избегавате екŃплицитан, наŃилан или ŃекŃŃално екŃплицитан ŃадржаŃ. %3$sПрочитаŃте виŃе Đľ томе како да подеŃите ваŃŃ ŃŃ‚Ń€Đ°Đ˝Đ¸Ń†Ń ĐşĐ°ĐşĐľ биŃте били ŃигŃрни да добиŃате наŃбоље резŃлтате кориŃтећи веŃŃ‚Đ°Ń‡ĐşŃ Đ¸Đ˝Ń‚ĐµĐ»Đ¸ĐłĐµĐ˝Ń†Đ¸ŃŃ%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Због Ńтриктних етичких Ńмерница компаниŃе OpenAI и %1$sправила Đľ кориŃћењŃ%2$s, ниŃĐĽĐľ Ń ĐĽĐľĐłŃћноŃти да генериŃемо мета опиŃе за ваŃŃ ŃтраницŃ. Уколико планирате да кориŃтите веŃŃ‚Đ°Ń‡ĐşŃ Đ¸Đ˝Ń‚ĐµĐ»Đ¸ĐłĐµĐ˝Ń†Đ¸ŃŃ, молимо Đ˛Đ°Ń Đ´Đ° избегавате екŃплицитан, наŃилан или ŃекŃŃално екŃплицитан ŃадржаŃ. %3$sПрочитаŃте виŃе Đľ томе како да подеŃите ŃвоŃŃ ŃŃ‚Ń€Đ°Đ˝Đ¸Ń†Ń ĐşĐ°ĐşĐľ биŃте били ŃигŃрни да добиŃате наŃбоље резŃлтате Ńа веŃтачком интелигенциŃом%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Да биŃте приŃŃ‚Ńпили ĐľĐ˛ĐľŃ Ń„ŃнкционалноŃти, неопходна вам Ńе активна %1$s претплата. Молимо Đ˛Đ°Ń Đ´Đ° %3$sактивирате ваŃŃ ĐżŃ€ĐµŃ‚ĐżĐ»Đ°Ń‚Ń Ń %2$s%4$s или %5$sзатражите Đ˝ĐľĐ˛Ń %1$s претплатŃ%6$s. Затим кликните на Đ´Ńгме за ĐľŃвежавање Ńтранице како биŃте омогŃћили правилан рад Ń„ŃнкциŃе, Ńто може траŃати и Đ´Đľ 30 ŃекŃнди."],"Refresh page":["ĐžŃвежи ŃтраницŃ"],"Not enough content":["Нема довољно ŃадржаŃа"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Молимо Đ˛Đ°Ń ĐżĐľĐşŃŃаŃте каŃниŃе. Уколико Ńе проблем наŃтави, молимо Đ˛Đ°Ń %1$sконтактираŃте Đ˝Đ°Ń Ń‚Đ¸ĐĽ за подрŃĐşŃ%2$s!"],"Something went wrong":["НеŃто Ńе поŃло наопако"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Đзгледа да Ńе Đ´ĐľŃло Đ´Đľ прекида Ń Đ˛ĐµĐ·Đ¸. Молимо Đ˛Đ°Ń ĐżŃ€ĐľĐ˛ĐµŃ€Đ¸Ń‚Đµ ваŃŃ Đ¸Đ˝Ń‚ĐµŃ€Đ˝ĐµŃ‚ конекциŃŃ Đ¸ покŃŃаŃте каŃниŃе поново. Уколико Ńе проблем наŃтави, молимо Đ˛Đ°Ń %1$sконтактираŃте Đ˝Đ°Ń Ń‚Đ¸ĐĽ за подрŃĐşŃ%2$s"],"Connection timeout":["Прекид Ń Đ˛ĐµĐ·Đ¸"],"Use AI":["КориŃти AI"],"Close modal":["Затвори модални прозор"],"Learn more about AI (Opens in a new browser tab)":["ĐˇĐ°Đ·Đ˝Đ°Ń Đ˛Đ¸Ńе Đľ AI (отвара нови Ńезичак за претрагŃ)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sTitle%3$s: Страница ŃĐľŃ Ńвек нема наŃлов. %2$sAdd one%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sНаŃлов%2$s: ВаŃа Ńтраница има наŃлов. Свака чаŃŃ‚!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sРаŃподела кљŃчних израза%3$s: %2$sУбаците ваŃе кљŃчне изразе или Ńинониме Ń Ń‚ĐµĐşŃŃ‚ како би могли да проверимо раŃĐżĐľĐ´ĐµĐ»Ń Đ¸Ńтих%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sРаŃподела кљŃчних израза%2$s: Добро одрађено."],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sРаŃподела кљŃчних израза%3$s: НеŃеднака. Неки делови ваŃег текŃта не Ńадрже кљŃчне изразе или Ńинониме. %2$sРаŃподелите их равномерниŃе%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sРаŃподела кљŃчних израза%3$s: Веома неŃеднака. Велики делови ваŃег текŃта не Ńадрже кљŃчне изразе или Ńинониме. %2$sРаŃподелите их равномерниŃе%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Не кориŃтите превиŃе Ńложених речи, Ńто чини Đ˛Đ°Ń Ń‚ĐµĐşŃŃ‚ лаким за читање. Добар поŃао!"],"Word complexity":["КомплекŃноŃŃ‚ речи"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s речи Ń Đ˛Đ°Ńем текŃŃ‚Ń Ńе ŃматраŃŃ Ńложеним. %3$sПокŃŃаŃте да кориŃтите краће и познатиŃе речи да биŃте побољŃали читљивоŃŃ‚%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sПоравнање%3$s: ПоŃтоŃи Đ´Ńгачак одељак текŃта коŃи Ńе поравнат по Ńредини. %2$sПрепорŃчŃŃемо да га поравнате по Đ»ĐµĐ˛ĐľŃ Ńтрани%3$s.","%1$sПоравнање%3$s: ПоŃтоŃе %4$s Đ´Ńгачки одељци текŃта коŃи ŃŃ ĐżĐľŃ€Đ°Đ˛Đ˝Đ°Ń‚Đ¸ по Ńредини. %2$sПрепорŃчŃŃемо да их поравнате по Đ»ĐµĐ˛ĐľŃ Ńтрани%3$s.","%1$sПоравнање%3$s: ПоŃтоŃе %4$s Đ´Ńгачки одељци текŃта коŃи ŃŃ ĐżĐľŃ€Đ°Đ˛Đ˝Đ°Ń‚Đ¸ по Ńредини. %2$sПрепорŃчŃŃемо да их поравнате по Đ»ĐµĐ˛ĐľŃ Ńтрани%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sПоравнање%3$s: ПоŃтоŃи Đ´Ńгачак одељак текŃта коŃи Ńе поравнат по Ńредини. %2$sПрепорŃчŃŃемо да га поравнате по деŃĐ˝ĐľŃ Ńтрани%3$s.","%1$sПоравнање%3$s: ПоŃтоŃе %4$s Đ´Ńгачки одељци текŃта коŃи ŃŃ ĐżĐľŃ€Đ°Đ˛Đ˝Đ°Ń‚Đ¸ по Ńредини. %2$sWПрепорŃчŃŃемо да их поравнате по деŃĐ˝ĐľŃ Ńтрани%3$s.","%1$sПоравнање%3$s: ПоŃтоŃе %4$s Đ´Ńгачки одељци текŃта коŃи ŃŃ ĐżĐľŃ€Đ°Đ˛Đ˝Đ°Ń‚Đ¸ по Ńредини. %2$sWПрепорŃчŃŃемо да их поравнате по деŃĐ˝ĐľŃ Ńтрани%3$s."],"Select image":["Одабери ŃликŃ"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Можда чак и не знате, али поŃтоŃе Ńтранице на ваŃем веб меŃŃ‚Ń ĐşĐľŃе не Ńадрже никакве везе. То Ńе проблем за SEO Ńер Ńе претраживачима теŃко да ĐżŃ€ĐľĐ˝Đ°Ń’Ń Ńтранице коŃе не Ńадрже везе па их Ńе Ńамим тим теже рангирати. То називамо напŃŃтеним ŃадржаŃем. ĐŁ ĐľĐ˛ĐľŃ Đ˛ĐµĐ¶Đ±Đ¸ проналазимо напŃŃтени ŃĐ°Đ´Ń€Đ¶Đ°Ń Đ˝Đ° ваŃем веб меŃŃ‚Ń Đ¸ водимо Đ˛Đ°Ń Ń Đ±Ń€Đ·Đľ додавање веза како би ваŃе веб меŃто добило ĐżŃ€Đ¸Đ»Đ¸ĐşŃ Đ´Đ° Ńе рангира!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Време Ńе да додате неке везе! ĐŃпод можете видети лиŃŃ‚Ń Đ˛Đ°Ńих напŃŃтених чланака. ĐŃпод Ńваког од њих поŃтоŃе предлози за Ńродне Ńтранице Ńа коŃих биŃте могли додати везŃ. Када додаŃете везŃ, Ńверите Ńе да Ńте Ńе Ńбацили Ń Ń€ĐµĐ»ĐµĐ˛Đ°Đ˝Ń‚Đ˝Ń Ń€ĐµŃ‡ĐµĐ˝Đ¸Ń†Ń ĐşĐľŃа Ńе повезана Ńа ваŃим напŃŃтеним чланком. НаŃтавите да додаŃете везе Ńваком од напŃŃтених чланака док не бŃдете задовољни броŃем веза коŃи ŃĐżŃŃ›ŃŃŃ Đ˝Đ° њих."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Време Ńе да додате неке везе! ĐŃпод можете видети лиŃŃ‚Ń Ńа ваŃим кљŃчним ŃадржаŃем. ĐŃпод Ńваког од њих поŃтоŃе предлози за чланке Ńа коŃих можете додати везŃ. Када додаŃете везŃ, Ńверите Ńе да Ńте Ńе Ńбацили Ń Ń€ĐµĐ»ĐµĐ˛Đ°Đ˝Ń‚Đ˝Ń Ń€ĐµŃ‡ĐµĐ˝Đ¸Ń†Ń ĐşĐľŃа Ńе повезана Ńа ваŃим кљŃчним ŃадржаŃем. НаŃтавите да додаŃете везе Ńа Ńто виŃе повезаних чланака док Đ˛Đ°Ń ĐşŃ™Ńчни ŃĐ°Đ´Ń€Đ¶Đ°Ń Đ˝Đµ бŃде имао наŃвиŃе ŃĐ˝ŃтраŃњих веза коŃе на њега ŃĐżŃŃ›ŃŃŃ."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Неки чланци на ваŃем веб меŃŃ‚Ń ŃŃ %1$sнаŃважниŃи%2$s. Они одговараŃŃ Ń™Ńдима на питања и реŃаваŃŃ ŃšĐ¸Ń…ĐľĐ˛Đµ проблеме, Ńто значи да заŃĐ»ŃжŃŃŃ Đ´Đ° Ńе рангираŃŃ! ĐŁ %3$s, ми их називамо кљŃчним чланцима. Đедан од начина да их рангирате ŃеŃте да имате довољно веза коŃи воде ка њима. ВиŃе веза даŃе Ńигнал претраживачима да ŃŃ ĐľĐ˛Đ¸ чланци важни и вредни. ĐŁ ĐľĐ˛ĐľŃ Đ˛ĐµĐ¶Đ±Đ¸, помажемо вам да додате везе ŃвоŃим кљŃчним чланцима."],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Када додате ŃĐľŃ Ń‚ĐµĐşŃта, моћи ћемо да проценимо ниво формалноŃти ваŃег текŃта."],"Overall, your text appears to be %1$s%3$s%2$s.":["Све Ń ŃвемŃ, Đ˛Đ°Ń Ń‚ĐµĐşŃŃ‚ изгледа као %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Zapier интеграциŃа ће бити Ńклоњена из %1$s 20.7. (датŃĐĽ обŃаве 9. маŃ). Уколико имате неких питања, молимо Đ˛Đ°Ń Đ´Đ° Ńе обратите на %2$s."],"Maximum heading level":["МакŃимални ниво заглавља"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["ОнемогŃћили Ńте предлоге веза, Ńто Ńе потребно да би повезане везе Ń„ŃнкциониŃале. Уколико желите да додате Ńродне везе, идите на ФŃнкциŃе веб меŃта и омогŃћите предлоге веза."],"Schema":["Шема"],"Meta tags":["Мета ознаке"],"Not available":["НиŃе Đ´ĐľŃŃ‚Ńпно"],"Checks":["Провере"],"Focus Keyphrase":["ФокŃŃни кљŃчни израз"],"Good":["Добар"],"No index":["Нема индекŃа"],"Front-end SEO inspector":["Front-end SEO инŃпектор"],"Focus keyphrase not set":["ФокŃŃни кљŃчни израз ниŃе поŃтављен"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Када обŃавите ŃĐ˛ĐľŃ Zap на %s ĐşĐľĐ˝Ń‚Ń€ĐľĐ»Đ˝ĐľŃ Ń‚Đ°Đ±Đ»Đ¸, можете да проверите да ли Ńе активан и повезан Ńа ваŃим веб меŃтом."],"Reset API key":["РеŃетŃŃте API кљŃч"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["ТренŃтно Ńте повезани Ńа %s кориŃтећи Ńледећи API кљŃч. Đко желите да Ńе поново повежете Ńа Đ´Ń€Ńгим API кљŃчем, можете реŃетовати ŃĐ˛ĐľŃ ĐşŃ™Ńч иŃпод."],"Your API key":["Đ’Đ°Ń API кљŃч"],"Go to your %s dashboard":["Đдите на ваŃŃ %s ĐşĐľĐ˝Ń‚Ń€ĐľĐ»Đ˝Ń Ń‚Đ°Đ±Đ»Ń"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["ĐŁŃпеŃно Ńте повезани Ńа %1$s! Да биŃте Ńправљали ŃвоŃим Zap-ом, поŃетите %2$s ĐşĐľĐ˝Ń‚Ń€ĐľĐ»Đ˝Ń Ń‚Đ°Đ±Đ»Ń."],"Your %s dashboard":["ВаŃа %s контролна табла"],"Verify connection":["Проверите везŃ"],"Verify your connection":["Проверите ваŃŃ Đ˛ĐµĐ·Ń"],"Create a Zap":["КреираŃте Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["ПриŃавите Ńе на ŃĐ˛ĐľŃ %1$s налог и почните да правите ŃĐ˛ĐľŃ ĐżŃ€Đ˛Đ¸ Zap! ĐмаŃте на ŃĐĽŃ Đ´Đ° можете да креирате Ńамо 1 Zap Ńа окидачем %2$s догађаŃа. ĐŁ ĐľĐşĐ˛Đ¸Ń€Ń ĐľĐ˛ĐľĐł Zap-а можете изабрати ŃĐµĐ´Đ˝Ń Đ¸Đ»Đ¸ виŃе радњи."],"%s API key":["%s API кљŃч"],"You'll need this API key later on in %s when you're setting up your Zap.":["ĐžĐ˛Đ°Ń API кљŃч ће вам требати каŃниŃе Ń %s када подеŃавате ŃĐ˛ĐľŃ Zap."],"Copy your API key":["КопираŃте Đ˛Đ°Ń API кљŃч"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Да биŃте ŃŃпоŃтавили везŃ, обавезно копираŃте дати API кљŃч Ń Đ˝Đ°ŃŃ‚Đ°Đ˛ĐşŃ Đ¸ кориŃтите га за креирање и ŃкљŃчивање Zap-а на ваŃем %s налогŃ."],"Manage %s settings":["УправљаŃте %s подеŃавањима"],"Connect to %s":["Повежите Ńе Ńа %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["ĐмаŃте на ŃĐĽŃ: да би ĐľĐ˛Đ°Ń Ń‚Ń€ĐµĐ˝Đ¸Đ˝Đł добро Ń„ŃнкциониŃао, морате покренŃти Đ°Đ»Đ°Ń‚ĐşŃ Đ·Đ° оптимизациŃŃ SEO података. ĐдминиŃтратори ово ĐĽĐľĐłŃ ĐżĐľĐşŃ€ĐµĐ˝Ńти под %1$sSEO > Đлати%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Додали Ńте везе Ń ŃвоŃе напŃŃтене чланке и почиŃтили оне коŃи виŃе ниŃŃ Ń€ĐµĐ»ĐµĐ˛Đ°Đ˝Ń‚Đ˝Đ¸. СŃаŃан поŃао! ПогледаŃте резиме иŃпод и проŃлавите оно Ńто Ńте поŃтигли!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Критички прегледаŃте ŃĐ°Đ´Ń€Đ¶Đ°Ń Đ˝Đ° ĐľĐ˛ĐľŃ Đ»Đ¸Ńти и изврŃите неопходна ажŃрирања. Đко вам Ńе потребна помоћ за ажŃрирање, имамо веома %1$sкориŃтан чланак на Đ±Đ»ĐľĐłŃ ĐşĐľŃи може да Đ˛Đ°Ń Ń€Ńководи Đ´Đľ краŃа%2$s (кликните да биŃте отворили Ń Đ˝ĐľĐ˛ĐľŃ ĐşĐ°Ń€Ń‚Đ¸Ń†Đ¸)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sТреба вам виŃе ŃĐżŃŃ‚Ńтава? Сваки корак ŃĐĽĐľ детаљниŃе покрили Ń Ńледећем водичŃ: %2$sвежба Како кориŃтити %7$s напŃŃтени ŃĐ°Đ´Ń€Đ¶Đ°Ń %3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Управо Ńте олакŃали проналажење Ńвог наŃбољег ŃадржаŃа и обезбедили веће ŃанŃе за рангирање! Свака чаŃŃ‚! С времена на време, не заборавите да проверите да ли Đ˛Đ°Ń ĐşŃ™Ńчни ŃĐ°Đ´Ń€Đ¶Đ°Ń Đ´ĐľĐ±Đ¸Ńа довољно веза!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["ПогледаŃте лиŃŃ‚Ń Đ¸Ńпод. Да ли ваŃи кљŃчни ŃадржаŃŃ (означени Ńа %1$s) имаŃŃ Đ˝Đ°ŃвиŃе ŃĐ˝ŃтраŃњих веза коŃе ŃĐżŃŃ›ŃŃŃ Đ˝Đ° њих? Кликните на Đ´Ńгме ОптимизŃŃ Đ°ĐşĐľ миŃлите да Ńе кљŃчном ŃадржаŃŃ ĐżĐľŃ‚Ń€ĐµĐ±Đ˝Đľ виŃе веза. То ће померити чланак на Ńледећи корак."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Да ли Ńви ваŃи кљŃчни ŃадржаŃи имаŃŃ Đ·ĐµĐ»ĐµĐ˝Đµ Ńтавке? За наŃбоље резŃлтате размиŃлите Đľ ŃŃ€ĐµŃ’Đ¸Đ˛Đ°ŃšŃ ĐľĐ˝Đ¸Ń… коŃи немаŃŃ!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["КоŃе чланке желите да рангирате наŃвиŃе? КоŃе би ваŃа ĐżŃблика Ńматрала наŃкориŃниŃим и наŃпотпŃниŃим? Кликните на ŃŃ‚Ń€ĐµĐ»Đ¸Ń†Ń ĐşĐľŃа показŃŃе надоле и потражите чланке коŃи одговараŃŃ Ń‚Đ¸ĐĽ критериŃŃмима. ĐŃтоматŃки ћемо означити чланке коŃе изаберете Ńа лиŃте као кљŃчни ŃадржаŃ."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sТреба вам виŃе ŃĐżŃŃ‚Ńтава? ДетаљниŃе ŃĐĽĐľ покрили Ńваки корак Ń: %2$sвежба Како кориŃтити %7$s кљŃчни ŃадржаŃ%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast преглед ŃадржаŃа"],"Yoast Related Links":["Yoast Ńродне везе"],"Finish optimizing":["ЗаврŃите оптимизациŃŃ"],"You've finished adding links to this article.":["Додали Ńте везе Đ´Đľ овог чланка."],"Optimize":["ОптимизŃŃте"],"Added to next step":["Додато Ń Ńледећи корак"],"Choose cornerstone articles...":["Đзаберите кљŃчне чланке"],"Loading data...":["Учитавање података..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["ĐĐľŃ Đ˝Đ¸Ńте очиŃтили или ажŃрирали ниŃедан чланак кориŃтећи ĐľĐ˛Ń Đ˛ĐµĐ¶Đ±Ń. Када то Ńчините, овде ће Ńе поŃавити кратак преглед ваŃег рада."],"Skipped":["ПреŃкочено"],"Hidden from search engines.":["Скривено од претраживача."],"Removed":["Уклоњено"],"Improved":["ПобољŃано"],"Resolution":["РезолŃциŃа"],"Loading redirect options...":["ОпциŃе преŃŃмеравања Ńе ŃчитаваŃŃ..."],"Remove and redirect":["Уклони и преŃŃмери"],"Custom url:":["Прилагођен url:"],"Related article:":["Сродни чланак:"],"Home page:":["Почетна Ńтраница:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Спремате Ńе да Ńклоните %1$s%2$s%3$s. Да биŃте Ńпречили 404 на ваŃем веб меŃŃ‚Ń, требало би да Ńе преŃŃмерите на Đ´Ń€ŃĐłŃ ŃŃ‚Ń€Đ°Đ˝Đ¸Ń†Ń Đ˝Đ° ваŃем веб меŃŃ‚Ń. Где желите да га преŃŃмерите?"],"SEO Workout: Remove article":["SEO Вежба: Уклоните чланак"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Све изгледа добро! На ваŃем веб меŃŃ‚Ń Đ˝Đ¸ŃĐĽĐľ пронаŃли чланке ŃтариŃе од ŃеŃŃ‚ меŃеци коŃи примаŃŃ ĐżŃ€ĐµĐĽĐ°Đ»Đľ веза на ваŃем веб меŃŃ‚Ń. Вратите Ńе каŃниŃе овде за нове предлоге за чиŃћење!"],"Hide from search engines":["ĐˇĐ°ĐşŃ€Đ¸Ń ĐľĐ´ претраживача"],"Improve":["ПобољŃаŃте"],"Are you sure you wish to hide this article from search engines?":["ĐеŃте ли ŃигŃрни да желите да ŃакриŃете ĐľĐ˛Đ°Ń Ń‡Đ»Đ°Đ˝Đ°Đş од претраживача?"],"Action":["ĐкциŃа"],"You've hidden this article from search engines.":["Сакрили Ńте ĐľĐ˛Đ°Ń Ń‡Đ»Đ°Đ˝Đ°Đş од претраживача."],"You've removed this article.":["Уклонили Ńте ĐľĐ˛Đ°Ń Ń‡Đ»Đ°Đ˝Đ°Đş."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["ТренŃтно ниŃте изабрали ниŃедан чланак за побољŃање. Đзаберите неколико чланака Ń ĐżŃ€ĐµŃ‚Ń…ĐľĐ´Đ˝Đ¸ĐĽ корацима за додавање веза и ми ћемо вам овде показати предлоге веза."],"Loading link suggestions...":["УчитаваŃŃ Ńе предлози веза..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["НиŃĐĽĐľ пронаŃли никакве предлоге за ĐľĐ˛Đ°Ń Ń‡Đ»Đ°Đ˝Đ°Đş, али наравно да и даље можете да додате везе Đ´Đľ чланака за коŃе миŃлите да ŃŃ Ńродни."],"Skip":["ПреŃкочи"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["ĐĐľŃ Đ˝Đ¸Ńте изабрали ниŃедан чланак за ĐľĐ˛Đ°Ń ĐşĐľŃ€Đ°Đş. То можете Ńчинити Ń ĐżŃ€ĐµŃ‚Ń…ĐľĐ´Đ˝ĐľĐĽ коракŃ."],"Is it up-to-date?":["Да ли Ńе ажŃрирано?"],"Last Updated":["ПоŃледњи ĐżŃŃ‚ ажŃрирано"],"You've moved this article to the next step.":["ПремеŃтили Ńте ĐľĐ˛Đ°Ń Ń‡Đ»Đ°Đ˝Đ°Đş на Ńледећи корак."],"Unknown":["Непознато"],"Clear summary":["ĐаŃан резиме"],"Add internal links towards your orphaned articles.":["ДодаŃте интерне везе Đ´Đľ ŃвоŃих напŃŃтених чланака."],"Should you update your article?":["Да ли треба да ажŃрирате ŃĐ˛ĐľŃ Ń‡Đ»Đ°Đ˝Đ°Đş?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["ВаŃе веб меŃто може Ńадржати много ŃадржаŃа коŃи Ńе Ńедном направљен и на коŃи Ńе никада каŃниŃе ниŃе ĐľŃвртано. Важно Ńе да прођете кроз њих и запитате Ńе да ли Ńе ĐľĐ˛Đ°Ń ŃĐ°Đ´Ń€Đ¶Đ°Ń ŃĐľŃ Ńвек релевантан за ваŃе веб меŃто. Да ли треба да га поправим или Ńклоним?"],"Start: Love it or leave it?":["Почетак: Волите или ĐľŃтавите?"],"Clean up your unlinked content to make sure people can find it":["ОчиŃтите неповезани ŃĐ°Đ´Ń€Đ¶Đ°Ń Đ´Đ° биŃте били ŃигŃрни да га Ń™Ńди ĐĽĐľĐłŃ ĐżŃ€ĐľĐ˝Đ°Ń›Đ¸"],"I've finished this workout":["ЗаврŃио Ńам ĐľĐ˛Đ°Ń Ń‚Ń€ĐµĐ˝Đ¸Đ˝Đł"],"Reset this workout":["РеŃетŃŃте ĐľĐ˛Đ°Ń Ń‚Ń€ĐµĐ˝Đ¸Đ˝Đł"],"Well done!":["Добро Ńрађено!"],"Add internal links towards your cornerstones":["ДодаŃте ŃĐ˝ŃтраŃње везе ка кљŃчном ŃадржаŃŃ"],"Check the number of incoming internal links of your cornerstones":["Проверите Đ±Ń€ĐľŃ Đ´ĐľĐ»Đ°Đ·Đ˝Đ¸Ń… интерних веза Đ´Đľ ваŃих кљŃчних чланака"],"Start: Choose your cornerstones!":["Почетак: Одаберите ŃĐ˛ĐľŃ ĐşŃ™Ńчни ŃадржаŃ!"],"The cornerstone approach":["ПриŃŃ‚ŃĐż кљŃчног ŃадржаŃа"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["ĐмаŃте на ŃĐĽŃ: да би ĐľĐ˛Đ°Ń Ń‚Ń€ĐµĐ˝Đ¸Đ˝Đł добро Ń„ŃнкциониŃао и да би вам понŃдио предлоге за повезивање, морате покренŃти Đ°Đ»Đ°Ń‚ĐşŃ Đ·Đ° оптимизациŃŃ SEO података. ĐдминиŃтратори ово ĐĽĐľĐłŃ ĐżĐľĐşŃ€ĐµĐ˝Ńти под %1$sSEO > Đлати%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Напомена: Đ˛Đ°Ń Đ°Đ´ĐĽĐ¸Đ˝Đ¸Ńтратор Ńе онемогŃћио ĐľŃĐ˝ĐľĐ˛Đ˝Ń Ń„ŃнкционалноŃŃ‚ Ń SEO подеŃавањима. Уколико желите да кориŃтите ĐľĐ˛Ń ĐľĐżŃ†Đ¸ŃŃ, требало би да бŃде омогŃћена."],"I've finished this step":["ЗаврŃио Ńам ĐľĐ˛Đ°Ń ĐşĐľŃ€Đ°Đş"],"Revise this step":["Đ ĐµĐ˛Đ¸Đ´Đ¸Ń€Đ°Ń ĐľĐ˛Đ°Ń ĐşĐľŃ€Đ°Đş"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["НиŃĐĽĐľ ŃŃпели да пронађемо интерне везе на ваŃим Ńтраницама. Đли ŃĐľŃ Đ˝Đ¸Ńте додали интерне везе Ńвом ŃадржаŃŃ, или их Yoast SEO ниŃе индекŃирао. Yoast SEO може индекŃирати ваŃе везе покретањем оптимизациŃе SEO података Ń ĐľĐşĐ˛Đ¸Ń€Ń SEO > Đлати."],"Incoming links":["Долазне везе"],"Edit to add link":["Уредите да биŃте додали везŃ"],"%s incoming link":["%s долазна веза","%s долазне везе","%s долазних веза"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["ТренŃтно немате чланака означених као кљŃчни. Када ŃвоŃе чланке означите као кљŃчне, они ће Ńе поŃавити овде."],"Focus keyphrase":["ФокŃŃни израз (фраза)"],"Article":["Чланак"],"Readability score":["РезŃлтат читљивоŃти"],"SEO score":["SEO резŃлтат"],"Copy failed":["Копирање ниŃе ŃŃпело"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["ПобољŃаŃте рангирање за Ńве ŃĐ˛ĐľŃ ĐşŃ™Ńчни ŃĐ°Đ´Ń€Đ¶Đ°Ń ĐşĐľŃ€Đ¸Ńтећи ĐľĐ˛Đ°Ń %1$sкорак по корак тренинг!%2$s"],"Rank with articles you want to rank with":["РангираŃте чланке Ńа коŃима желите да бŃдете рангирани"],"Descriptive text":["ОпиŃни текŃŃ‚"],"Show the descriptive text":["Прикажи опиŃни текŃŃ‚"],"Show icon":["Прикажи иконицŃ"],"Yoast Estimated Reading Time":["Yoast процењено време читања"],"Shows an estimated reading time based on the content length.":["ПриказŃŃе процењено време читања на ĐľŃĐ˝ĐľĐ˛Ń Đ´Ńжине ŃадржаŃа."],"reading time":["време читања"],"content length":["Đ´Ńжина ŃадржаŃа"],"Estimated reading time:":["Процењено време читања:"],"minute":["минŃŃ‚","минŃта","минŃта"],"Settings":["ПодеŃавања"],"OK":["OK"],"Close":["Zatvori"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Прво право Ńве-Ń Ńедном SEO реŃење за WordPress, ŃкљŃчŃŃŃћи on-page Đ°Đ˝Đ°Đ»Đ¸Đ·Ń ŃадржаŃа, XML ĐĽĐ°ĐżŃ Đ˛ĐµĐ±-меŃта и ŃĐľŃ ĐĽĐ˝ĐľĐłĐľ тога. "],"Type":["Тип"],"Team Yoast":["Yoast Тим"],"Orphaned content":["НапŃŃтени ŃадржаŃ"],"Synonyms":["Sinonimi"],"Internal linking suggestions":["Предлози за ŃĐ˝ŃтраŃње повезивање"],"Enter a related keyphrase to calculate the SEO score":["УнеŃите Ńродни кљŃчни израз да биŃте израчŃнали SEO резŃлтат"],"Related keyphrase":["Сродни кљŃчни израз"],"Add related keyphrase":["ДодаŃте кљŃчни израз"],"Analysis results":["РезŃлтати анализе"],"Help on choosing the perfect keyphrase":["Помоћ при Đ¸Đ·Đ±ĐľŃ€Ń ŃаврŃеног кљŃчног израза"],"Help on keyphrase synonyms":["Помоћ Ńа Ńинонимима кљŃчног израза"],"Keyphrase":["КљŃчна фраза"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Novi URL: {{link}}%s{{/link}}"],"Undo":["Vrati korak nazad"],"Redirect created":["Redirekcija napravljena"],"%s just created a redirect from the old URL to the new URL.":["%s Ńе Ńправо креирао преŃŃмеравање Ńа Ńтарог на нови URL."],"Old URL: {{link}}%s{{/link}}":["Stari URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Синоними кљŃчних израза"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["ДоŃло Ńе Đ´Đľ греŃке: ПремиŃŃĐĽ SEO анализа не ради како Ńе очекивано. Молимо Đ˛Đ°Ń Đ´Đ° {{activateLink}}активирате ŃвоŃŃ ĐżŃ€ĐµŃ‚ĐżĐ»Đ°Ń‚Ń Ń MyYoast{{/activateLink}} и затим {{reloadButton}}поновно Ńчитате ŃтраницŃ{{/reloadButton}}како би правилно радила."],"seo":["seo"],"internal linking":["интерно повезивање"],"site structure":["ŃтрŃктŃра веб меŃта"],"We could not find any relevant articles on your website that you could link to from your post.":["НиŃĐĽĐľ могли да нађемо релевантне чланке на ваŃем веб меŃŃ‚Ń ĐşĐ° коŃима биŃте могли да Ńтавите Đ˛ĐµĐ·Ń Ń Ń‡Đ»Đ°Đ˝ĐşŃ."],"Load suggestions":["ĐŁŃ‡Đ¸Ń‚Đ°Ń ĐżŃ€ĐµĐ´Đ»ĐľĐłĐµ"],"Refresh suggestions":["ĐžŃвежи предлоге"],"Write list…":["НапиŃите ŃпиŃак…"],"Adds a list of links related to this page.":["ДодаŃе лиŃŃ‚Ń Đ˛ĐµĐ·Đ° Ńродних Ńа овом Ńтраницом."],"related posts":["Ńродни чланци"],"related pages":["Ńродне Ńтранице"],"Adds a table of contents to this page.":["ДодаŃе преглед ŃадржаŃа на ĐľĐ˛Ń ŃтраницŃ."],"links":["везе"],"toc":["toc"],"Copy link":["КопираŃте везŃ"],"Copy link to suggested article: %s":["ĐšĐľĐżĐ¸Ń€Đ°Ń Đ˛ĐµĐ·Ń Đ˝Đ° препорŃченом чланкŃ: %s"],"Add a title to your post for the best internal linking suggestions.":["ДодаŃе наŃлов ваŃем Ń‡Đ»Đ°Đ˝ĐşŃ Đ·Đ° наŃбоље предлоге интерног повезивања."],"Add a metadescription to your post for the best internal linking suggestions.":["ДодаŃе мета ĐľĐżĐ¸Ń Đ˛Đ°Ńем Ń‡Đ»Đ°Đ˝ĐşŃ Đ·Đ° наŃбоље предлоге интерног повезивања."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["ДодаŃе наŃлов и мета ĐľĐżĐ¸Ń Đ˛Đ°Ńем Ń‡Đ»Đ°Đ˝ĐşŃ Đ·Đ° наŃбоље предлоге интерног повезивања."],"Also, add a title to your post for the best internal linking suggestions.":["Такође, додаŃе наŃлов ваŃем Ń‡Đ»Đ°Đ˝ĐşŃ Đ·Đ° наŃбоље предлоге интерног повезивања."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Такође, додаŃе мета ĐľĐżĐ¸Ń Đ˛Đ°Ńем Ń‡Đ»Đ°Đ˝ĐşŃ Đ·Đ° наŃбоље предлоге интерног повезивања."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Такође, додаŃе наŃлов и мета ĐľĐżĐ¸Ń Đ˛Đ°Ńем Ń‡Đ»Đ°Đ˝ĐşŃ Đ·Đ° наŃбоље предлоге интерног повезивања."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Када додате ŃĐľŃ ĐĽĐ°Đ»Đľ текŃта, овде ћемо вам приказати ŃпиŃак Ńродног ŃадржаŃа чиŃе везе можете да додате Ń Ńвом чланкŃ."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Да биŃте побољŃали ŃтрŃктŃŃ€Ń Đ˛ĐµĐ± меŃта, размиŃлите Đľ ĐżĐľĐ˛ĐµĐ·Đ¸Đ˛Đ°ŃšŃ Ńа Đ´Ń€Ńгим релевантним чланцима или Ńтраницама на ваŃем веб меŃŃ‚Ń."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Потребно Ńе неколико ŃекŃнди да вам Ńе прикаже лиŃта Ńродног ŃадржаŃа чиŃе везе биŃте могли да додате. Предлози ће Ńе овде приказати чим их добиŃемо."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}ПрочитаŃте Đ˝Đ°Ń Đ˛ĐľĐ´Đ¸Ń‡ Đľ ŃĐ˝ŃтраŃњем ĐżĐľĐ˛ĐµĐ·Đ¸Đ˛Đ°ŃšŃ Đ·Đ° SEO{{/a}} да биŃте Ńазнали виŃе."],"Copied!":["Копирано."],"Not supported!":["НиŃе подржано"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Да ли покŃŃавате да кориŃтите виŃе Ńродних кљŃчних израза? Требали биŃте их додати одвоŃено."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Đ’Đ°Ń ĐşŃ™Ńчни израз Ńе предŃгачак. Дозвољено Ńе наŃвиŃе 191 карактер."],"Add as related keyphrase":["ДодаŃте као Ńродни кљŃчни израз"],"Added!":["Додато!"],"Remove":["Уклони"],"Table of contents":["Преглед ŃадржаŃа"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Морамо да оптимизŃŃемо SEO податке ваŃег веб меŃта како биŃĐĽĐľ могли понŃдити наŃбоље %1$sпредлоге за повезивање%2$s. %3$sЗапочните SEO података%4$s"],"Create a Zap in %s":["КреираŃте Zap на %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sv_SE.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sv_SE.json new file mode 100644 index 00000000..80e573c8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-sv_SE.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":["undersidor"],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":["webbplatsstruktur"],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":["SEO"],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["FörfrĂĄgan gav följande fel: ”%s”"],"X share preview":["Förhandsvisning av delning i X"],"AI X title generator":["AI-baserad rubrikgenerator för X"],"AI X description generator":["AI-baserad beskrivningsgenerator för X"],"X preview":["Förhandsvisning för X"],"Please enter a valid focus keyphrase.":["Skriv in en giltig nyckelordsfras."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["För att du ska kunna använda denna funktion mĂĄste din webbplats först göras publikt ĂĄtkomlig. Detta gäller bĂĄde för testwebbplatser och fall där ditt REST API är skyddat med lösenord. Se till att din webbplats är publikt ĂĄtkomlig och försök igen. Om problemet kvarstĂĄr ber vi dig att %1$skontakta vĂĄr support%2$s."],"Yoast AI cannot reach your site":["Yoast AI kan inte nĂĄ din webbplats"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["För att kunna använda denna funktion behöver du ha aktiva abonnemang pĂĄ %2$s och %3$s. %5$sAktivera ditt abonnemang i %1$s%6$s eller %7$sskaffa en ny %4$s%8$s. Därefter behöver du ladda om denna sida för att funktionen ska aktiveras. Det kan ta upp till 30 sekunder."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["För att den AI-stödda rubrikgeneratorn ska kunna användas mĂĄste SEO-analys vara aktiverad. Den aktiverar du under %2$sWebbplatsfunktioner i %1$s%3$s. Aktivera SEO-analys och klicka pĂĄ ”Spara ändringar”. Om SEO-analys är inaktiverad för ditt WordPress-konto gĂĄr du till profilsidan för att aktivera den där. Kontakta din administratör om du inte har tillgĂĄng till dessa inställningar."],"Social share preview":["Förhandsvisning av delning i sociala medier"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Om du vill fortsätta använda Yoast AI-funktionen ber vi dig att minska frekvensen pĂĄ dina förfrĂĄgningar. I vĂĄr %1$shjälpartikel%2$s finns riktlinjer för hur du effektivt planerar och anpassar dina förfrĂĄgningar för ett optimerat arbetsflöde."],"You've reached the Yoast AI rate limit.":["Du har nĂĄtt frekvenstaket för Yoast AI."],"Allow":["TillĂĄt"],"Deny":["Neka"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["För att kunna se denna video mĂĄste du tillĂĄta %1$s att ladda in inbäddade videor frĂĄn %2$s."],"Text generated by AI may be offensive or inaccurate.":["Texten som genereras med AI kan vara stötande eller felaktig."],"(Opens in a new browser tab)":["(Ă–ppnas i en ny webbläsarflik)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Snabba upp ditt arbetsflöde med generativ AI. FĂĄ högkvalitativa förslag pĂĄ rubriker och beskrivningar för visning i sökningar och sociala medier. %1$sLäs mer%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Generera rubriker och beskrivningar med Yoast AI!"],"New to %1$s":["Om %1$s är nytt för dig"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Jag godkänner %1$sAnvändarvillkoren%2$s och %3$sIntegritetspolicyn%4$s för tjänsten Yoast AI. Detta inkluderar samtycke till insamling och användning av data för att förbättra användarupplevelsen."],"Start generating":["Börja generera"],"Yes, revoke consent":["Ja, ĂĄterkalla samtycke"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["När du ĂĄterkallar samtycket förlorar du ĂĄtkomsten till funktionerna i Yoast AI. Ă„r du säker pĂĄ att du vill ĂĄterkalla samtycket?"],"Something went wrong, please try again later.":["NĂĄgot gick fel, försök igen senare."],"Revoke AI consent":["Ă…terkalla samtycket avseende AI"],"AI title generator":["AI-generator för rubriker"],"AI description generator":["AI-generator för beskrivningar"],"AI social title generator":["AI-generator för rubriker i sociala nätverk"],"AI social description generator":["AI-generator för beskrivningar i sociala nätverk"],"Dismiss":["Avfärda"],"Don’t show again":["Visa inte igen"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sTips%2$s: Förbättra noggrannheten i dina genererade AI-rubriker genom att skriva in mer innehĂĄll pĂĄ sidan."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sTips%2$s: Förbättra noggrannheten i dina genererade AI-beskrivningar genom att skriva in mer innehĂĄll pĂĄ sidan."],"Try again":["Försök igen"],"Social preview":["Förhandsvisning av utseende i sociala nätverk"],"Desktop result":["Resultat för stationär dator"],"Mobile result":["Mobilt resultat"],"Apply %s description":[],"Apply %s title":[],"Next":["Nästa"],"Previous":["FöregĂĄende"],"Generate 5 more":["Generera ytterligare 5"],"Google preview":["Google förhandsgranskning"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["PĂĄ grund av de strikta etiska riktlinjerna och %1$sanvändningspolicyerna%2$s för OpenAI kan vi inte generera SEO-rubriker för din sida. Om du vill använda AI bör du undvika stötande, vĂĄldsamt eller sexuellt innehĂĄll. %3$sLäs mer om hur du konfigurerar din sida för fĂĄ bästa resultat med AI%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["PĂĄ grund av de strikta etiska riktlinjerna och %1$sanvändningspolicyerna%2$s för OpenAI kan vi inte generera metabeskrivningar för din sida. Om du vill använda AI bör du undvika stötande, vĂĄldsamt eller sexuellt innehĂĄll. %3$sLäs mer om hur du konfigurerar din sida för fĂĄ bästa resultat med AI%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["För ĂĄtkomst till denna funktion behöver du en aktiv prenumeration pĂĄ %1$s. %3$sAktivera din prenumeration i %2$s%4$s eller %5$sstarta en ny %1$s prenumeration%6$s. Klicka sedan pĂĄ knappen för att ladda om denna sida för att funktionen ska fungera korrekt. Det kan ta upp till 30 sekunder."],"Refresh page":["Uppdatera sida"],"Not enough content":["För lite innehĂĄll"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Försök igen senare. Om problemet kvarstĂĄr ber vi dig %1$skontakta vĂĄrt supportteam%2$s!"],"Something went wrong":["NĂĄgot gick fel"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["En timeout verkar har inträffat i anslutningen. Kontrollera internetanslutningen och försök igen senare. Om problemet kvarstĂĄr ber vi dig %1$skontakta vĂĄrt supportteam%2$s"],"Connection timeout":["Timeout i anslutningen"],"Use AI":["Använd AI"],"Close modal":["Stäng modalfönstret"],"Learn more about AI (Opens in a new browser tab)":["Läs mer om AI (öppnas i en ny flik)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sRubrik%3$s: Din sida har ingen rubrik än. %2$sSkapa en%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sRubrik%2$s: Din sida har en rubrik. Utmärkt!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sFördelning av nyckelordsfras%3$s: %2$sInkludera din nyckelordsfras eller dess synonymer för att vi ska kunna analysera fördelningen%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sFördelning av nyckelordsfras%2$s: Bra jobbat!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sFördelning av nyckelordsfras%3$s: Ojämn. Delar av din text innehĂĄller inte nyckelordsfrasen eller dess synonymer. %2$sFördela nyckelordsfrasen mer jämnt%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sFördelning av nyckelordsfras%3$s: Väldigt ojämn. Stora delar av din text innehĂĄller inte nyckelordsfrasen eller dess synonymer. %2$sFördela nyckelordsfrasen mer jämnt%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Du använder inte för mĂĄnga svĂĄra ord, vilket gör din text enkel att läsa. Bra jobbat!"],"Word complexity":["Ordkomplexitet"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s av orden i din text bedöms vara komplicerade. %3$sFörsök att använda kortare och vanligare ord för att förbättra läsbarheten%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sTextjustering%3$s: Det finns ett lĂĄngt avsnitt med centrerad text. %2$sVi rekommenderar att du vänsterjusterar det%3$s.","%1$sTextjustering%3$s: Det finns %4$s lĂĄnga avsnitt med centrerad text. %2$sVi rekommenderar att du vänsterjusterar dem%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sTextjustering%3$s: Det finns ett lĂĄngt avsnitt med centrerad text. %2$sVi rekommenderar att du högerjusterar det%3$s.","%1$sTextjustering%3$s: Det finns %4$s lĂĄnga avsnitt med centrerad text. %2$sVi rekommenderar att du högerjusterar dem%3$s."],"Select image":["Välj bild"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Det kanske finns sidor pĂĄ din webbplats som saknar inkommande länkar utan att du vet om det. Det är ett SEO-problem, eftersom det är svĂĄrt för sökmotorer att hitta sidor som saknar inkommande länkar. Det är svĂĄrare för sĂĄdana sidor att ranka högt. Vi kallar sĂĄdana sidor för föräldralöst innehĂĄll. I det här träningspasset letar vi reda pĂĄ föräldralöst innehĂĄll pĂĄ din webbplats och vägleder dig till att snabbt lägga till länkar till det, sĂĄ att det fĂĄr en chans att ranka bättre!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Nu är det dags att lägga till lite länkar! Nedan ser du en lista med dina ”föräldralösa” artiklar. Under varje artikel fĂĄr du förslag pĂĄ relaterade sidor där du skulle kunna lägga in en länk till den föräldralösa sidan. När du lägger till länken, ska du se till att infoga den i en relevant mening som hör samman med ämnet för din föräldralösa artikel. Fortsätt att lägga till länkar till var och en av de föräldralösa artiklarna tills du är nöjd med antalet länkar som leder till dem."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Dags att lägga in lite länkar! Nedan ser du en lista med dina hörnstenar. Under varje hörnstensartikel finns det förslag pĂĄ artiklar, frĂĄn vilka du skulle kunna länka till dem. När du lägger till länken, se till att infoga den i en relevant mening som hör samman med hörnstensartikeln. Fortsätt att lägga till länkar frĂĄn sĂĄ mĂĄnga relaterade artiklar som du behöver, tills det är hörnstensartiklarna som har flest inkommande interna länkar."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Vissa artiklar pĂĄ din webbplats är %1$sallra%2$s viktigast. De svarar pĂĄ frĂĄgor människor har och löser deras problem. Därför förtjänar de att ranka väl! Vi pĂĄ %3$s kallar dessa artiklar för hörnstenar. Ett av sätten att fĂĄ dem att ranka högt är att peka tillräckligt mĂĄnga länkar till dem. Fler länkar signalerar till sökmotorerna att artiklarna är viktiga och värdefulla. I det här träningspasset hjälper vi dig att lägga in fler länkar till dina hörnstensartiklar!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["När du har lagt till lite mer text kan vi berätta hur formell din text verkar vara."],"Overall, your text appears to be %1$s%3$s%2$s.":["Ă–verlag verkar din text vara %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Integreringen med Zapier kommer att tas bort ur %1$s i version 20.7 (release-datum är 9 maj). Om du undrar över nĂĄgot ber vi dig att kontakta %2$s."],"Maximum heading level":["Maximal rubriknivĂĄ"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Du har inaktiverat funktionen för länkförslag, som behövs för att relaterade länkar ska fungera. Om du vill lägga till relaterade länkar, ska du gĂĄ till webbplatsfunktioner och aktivera länkförslag."],"Schema":["Schema"],"Meta tags":["Metataggar"],"Not available":["Inte tillgängligt"],"Checks":["Kontroller"],"Focus Keyphrase":["Fokusnyckelordsfras"],"Good":["Bra"],"No index":["Inget index"],"Front-end SEO inspector":["SEO-kontroll i front-end"],"Focus keyphrase not set":["Ingen nyckelordsfras har valts"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["När du har publicerat din Zap i instrumentpanelen för %s kan du kontrollera om den är aktiv och ansluten till din webbplats."],"Reset API key":["Ă…terställ API-nyckel"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Du är för närvarande ansluten till %s via följande API-nyckel. Om du vill ĂĄteransluta med en annan API-nyckel kan du ĂĄterställa nyckeln nedan."],"Your API key":["Din API-nyckel"],"Go to your %s dashboard":["GĂĄ till din %s-adminpanel"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Du är nu ansluten till %1$s! För att hantera din Zap gĂĄr du till din instrumentpanel i %2$s."],"Your %s dashboard":["Din %s-adminpanel"],"Verify connection":["Verifiera anslutning"],"Verify your connection":["Verifiera din anslutning"],"Create a Zap":["Skapa en Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Logga in pĂĄ ditt %1$s-konto och börja skapa din första Zap! Observera att du bara kan skapa 1 Zap med en utlösande händelse frĂĄn %2$s. I denna Zap kan du sedan välja en eller flera ĂĄtgärder."],"%s API key":["%s API-nyckel"],"You'll need this API key later on in %s when you're setting up your Zap.":["Du behöver denna API-nyckel senare i %s när du ska konfigurera din Zap."],"Copy your API key":["Kopiera din API-nyckel"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["För att skapa en anslutning, behöver du kopiera API-nyckeln nedan och använda den för att skapa och aktivera en Zap i ditt %s-konto."],"Manage %s settings":["Hantera %s-inställningar"],"Connect to %s":["Anslut till %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Obs! För att detta träningspass ska fungera bra mĂĄste du köra optimeringsverktyget för SEO-data. Administratörer kan köra detta via %1$sSEO > verktyg%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Du har skapat länkar till de artiklar som blivit över och rensat bort de som inte längre är relevanta. Bra jobbat! Kolla in sammanfattningen nedan för att fira din bedrift!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Granska kritiskt innehĂĄllet i denna lista och gör de uppdateringar som behövs. Om du behöver hjälp med uppdateringen har vi ett mycket %1$sanvändbart blogginlägg som kan guida dig hela vägen%2$s (öppnas i en ny flik)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sBehöver du mer vägledning? Vi har diskuterat varje steg mer detaljerat i följande guide: %2$sSĂĄ använder du träningsprogrammet för artiklar som blivit över i %7$s%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Nu har du gjort det enklare att hitta ditt bästa innehĂĄll och ökat chansen att rankas bra. Bra jobbat! Kom ihĂĄg att dĂĄ och dĂĄ kontrollera om dina hörnstensartiklar fĂĄr tillräckligt med inkommande länkar!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["Studera listan nedan. Har dina hörnstensartiklar (markerade med %1$s) störst antal inkommande interna länkar? Klicka pĂĄ knappen ”Optimera” om du känner att en hörnsten behöver fler länkar. DĂĄ lyfts artikeln över till nästa steg."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Har alla hörnstensartiklar gröna punkter? För bäst resultat bör du överväga att redigera de artiklar som inte har det!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Vilka artiklar vill du ska ranka bäst? Vilka skulle din publik tycka är mest användbara och kompletta? Klicka pĂĄ nedĂĄtpilen och leta efter artiklar som uppfyller dessa kriterier. De artiklar du väljer i listan markerar vi automatiskt som hörnstenar."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sBehöver du mer vägledning? Vi har diskuterat varje steg mer detaljerat i följande guide: %2$sSĂĄ använder du träningsprogrammet för hörnstensartiklar i %7$s%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Yoast innehĂĄllsförteckning"],"Yoast Related Links":["Yoast Relaterade länkar"],"Finish optimizing":["Avsluta optimeringen"],"You've finished adding links to this article.":["Du är klar med att skapa länkar till denna artikel."],"Optimize":["Optimera"],"Added to next step":["Tillagd för nästa steg"],"Choose cornerstone articles...":["Välj grundstensartiklar …"],"Loading data...":["Laddar in data …"],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Du har ännu inte städat upp eller uppdaterat nĂĄgra artiklar med detta träningspass. Efter att du gör det kommer en sammanfattning av ditt arbete att visas här."],"Skipped":["Hoppat över"],"Hidden from search engines.":["Dold för sökmotorer."],"Removed":["Borttagen"],"Improved":["Förbättrad"],"Resolution":["Resultat"],"Loading redirect options...":["Laddar förslag pĂĄ omdirigeringsmĂĄl …"],"Remove and redirect":["Ta bort och omdirigera"],"Custom url:":["Anpassad URL:"],"Related article:":["Relaterad artikel:"],"Home page:":["Startsida:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Du är pĂĄ väg att ta bort %1$s%2$s%3$s. För att inte fĂĄ felet 404 (saknad sida) pĂĄ webbplatsen behöver du omdirigera till nĂĄgon annan sida pĂĄ din webbplats. Vart vill du omdirigera sidan?"],"SEO Workout: Remove article":["SEO-träningspass: Ta bort artikel"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Allt ser bra ut! Vi hittar inga artiklar pĂĄ webbplatsen som är äldre än sex mĂĄnader eller har för fĂĄ inkommande länkar pĂĄ din webbplats. Kom tillbaka hit senare för nya förslag pĂĄ vad som behöver städas upp!"],"Hide from search engines":["Dölj för sökmotorer"],"Improve":["Förbättra"],"Are you sure you wish to hide this article from search engines?":["Ă„r du säker pĂĄ att du vill dölja denna artikel frĂĄn sökmotorer?"],"Action":["Ă…tgärd"],"You've hidden this article from search engines.":["Du har dolt denna artikel för sökmotorer."],"You've removed this article.":["Du tog bort denna artikel."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Du har inte valt nĂĄgra artiklar att förbättra. Välj nĂĄgra artiklar som behöver fler inkommande länkar i de föregĂĄende stegen, sĂĄ visar vi förslag pĂĄ länkar här."],"Loading link suggestions...":["Laddar in länkförslag …"],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Vi hittade inga förslag pĂĄ denna artikel, men du kan naturligtvis fortfarande lägga till länkar till artiklar som du tror är relaterade."],"Skip":["Hoppa över"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Du har inte valt nĂĄgra artiklar för detta steg än. Du kan göra det i föregĂĄende steg."],"Is it up-to-date?":["Ă„r innehĂĄllet fortfarande aktuellt?"],"Last Updated":["Senast uppdaterat"],"You've moved this article to the next step.":["Du flyttade denna artikel till nästa steg."],"Unknown":["Okänt"],"Clear summary":["Rensa sammanfattning"],"Add internal links towards your orphaned articles.":["Lägg till interna inkommande länkar till dina överblivna artiklar."],"Should you update your article?":["Ska du uppdatera din artikel?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Din webbplats kan innehĂĄlla mycket innehĂĄll som du har skapat en gĂĄng i tiden och som du sedan aldrig tittat tillbaka pĂĄ. Det är viktigt att gĂĄ igenom dessa sidor och tänka över om innehĂĄllet fortfarande är relevant för webbplatsen. Bör du förbättra dem eller ta bort?"],"Start: Love it or leave it?":["Inledning: Ă„lska det eller röja bort?"],"Clean up your unlinked content to make sure people can find it":["Städa upp innehĂĄll som saknar inkommande länkar sĂĄ att besökare kan hitta det"],"I've finished this workout":["Jag har slutfört detta steg"],"Reset this workout":["Ă…terställ detta steg"],"Well done!":["Bra gjort!"],"Add internal links towards your cornerstones":["Lägg till interna länkar till dina grundstensartiklar"],"Check the number of incoming internal links of your cornerstones":["Kontrollera antalet inkommande interna länkar till dina grundstensartiklar"],"Start: Choose your cornerstones!":["Start: Välj dina grundstenar!"],"The cornerstone approach":["Grundstensmetoden"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Obs: För att detta träningspass ska fungera väl och komma med länkförslag behöver du köra verktyget för optimering av SEO-data. Administratörer kan köra detta via %1$sSEO > Verktyg%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Obs: Din administratör har inaktiverat funktionen för grundstensinnehĂĄll i inställningarna för SEO. Om du vill genomföra detta träningspass behöver inställningen aktiveras."],"I've finished this step":["Jag har slutfört detta steg"],"Revise this step":["Revidera detta steg"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Vi hittade inga interna länkar pĂĄ dina sidor. Antingen har du inte lagt till nĂĄgra interna länkar till ditt innehĂĄll ännu, eller sĂĄ har Yoast SEO inte indexerat dem. Du kan lĂĄta Yoast SEO indexera dina länkar genom att köra optimering av SEO-data under SEO > Verktyg."],"Incoming links":["Inkommande länkar"],"Edit to add link":["Redigera för att lägga till en länk"],"%s incoming link":["%s inkommande länk","%s inkommande länkar"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["För närvarande har du inga artiklar markerade som grundstenar. När du markerar en artikel som grundsten kommer den att visas här."],"Focus keyphrase":["Fokusnyckelordsfras"],"Article":["Artikel"],"Readability score":["Läsbarhetspoäng"],"SEO score":["SEO-poäng"],"Copy failed":["Kopiering misslyckades"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Förbättra rankningen för alla dina grundstenar genom att följa %1$sden här stegvisa träningen!%2$s"],"Rank with articles you want to rank with":["Ranka med artiklar du vill ranka med"],"Descriptive text":["Beskrivande text"],"Show the descriptive text":["Visa den beskrivande texten"],"Show icon":["Visa ikon"],"Yoast Estimated Reading Time":["Yoast beräknad läsningstid"],"Shows an estimated reading time based on the content length.":["Visar en beräknad läsningstid baserat pĂĄ innehĂĄllslängden."],"reading time":["läsningstid"],"content length":["innehĂĄllslängd"],"Estimated reading time:":["Beräknad läsningstid:"],"minute":["minut","minuter"],"Settings":["Inställningar"],"OK":["OK"],"Close":["Stäng"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Den första riktiga allt-i-ett SEO-lösningen för WordPress, inklusive innehĂĄllsanalys pĂĄ sidor, XML webbplatskartor och mycket mer."],"Type":["Typ"],"Team Yoast":["Team Yoast"],"Orphaned content":["Föräldralöst innehĂĄll"],"Synonyms":["Synonymer"],"Internal linking suggestions":["Interna länkförslag"],"Enter a related keyphrase to calculate the SEO score":["Ange en relaterad nyckelordsfras för att beräkna SEO-poäng"],"Related keyphrase":["Relaterad nyckelordsfras"],"Add related keyphrase":["Lägg till relaterad nyckelordsfras"],"Analysis results":["Analysresultat"],"Help on choosing the perfect keyphrase":["Hjälp med att välja perfekt nyckelordsfras"],"Help on keyphrase synonyms":["Hjälp med synonymer för nyckelordsfras"],"Keyphrase":["Nyckelordsfras"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Ny URL: {{link}}%s{{/link}}"],"Undo":["Ă…ngra"],"Redirect created":["Omdirigering skapad"],"%s just created a redirect from the old URL to the new URL.":["%s skapade precis en omdirigering frĂĄn den gamla URL:en till den nya URL:en."],"Old URL: {{link}}%s{{/link}}":["Gammal URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Synonymer för nyckelordsfraser"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Ett fel har inträffat: Premium SEO-analysen fungerar inte som den borde. {{activateLink}}Aktivera ditt abonnemang i MyYoast{{/activateLink}} och {{reloadButton}}ladda därefter om denna sida{{/reloadButton}} för att allt ska fungera korrekt."],"seo":["seo"],"internal linking":["intern länkning"],"site structure":["webbplatsstruktur"],"We could not find any relevant articles on your website that you could link to from your post.":["Vi kunde inte hitta nĂĄgra relevanta artiklar pĂĄ din webbplats som du kan länka till frĂĄn ditt inlägg."],"Load suggestions":["Ladda förslag"],"Refresh suggestions":["Uppdatera förslag"],"Write list…":["Skriv lista…"],"Adds a list of links related to this page.":["Lägger till en lista med länkar relaterade till denna sida."],"related posts":["relaterade inlägg"],"related pages":["relaterade sidor"],"Adds a table of contents to this page.":["Lägger till en innehĂĄllsförteckning pĂĄ denna sida."],"links":["länkar"],"toc":["reg"],"Copy link":["Kopiera länk"],"Copy link to suggested article: %s":["Kopiera länk till föreslagen artikel: %s"],"Add a title to your post for the best internal linking suggestions.":["Lägg till en rubrik i ditt inlägg för att fĂĄ de bästa interna länkförslagen."],"Add a metadescription to your post for the best internal linking suggestions.":["Lägg till en metabeskrivning i ditt inlägg för att fĂĄ de bästa interna länkförslagen."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Lägg till en rubrik och en metabeskrivning i ditt inlägg för att fĂĄ de bästa interna länkförslagen."],"Also, add a title to your post for the best internal linking suggestions.":["Lägg ocksĂĄ till en rubrik i ditt inlägg för att fĂĄ de bästa interna länkförslagen."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Lägg ocksĂĄ till en metabeskrivning i ditt inlägg för att fĂĄ de bästa interna länkförslagen."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Lägg ocksĂĄ till en rubrik och en metabeskrivning i ditt inlägg för att fĂĄ de bästa interna länkförslagen."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["När du lagt till lite mer text, ger vi dig en lista med relaterat innehĂĄll som du kan länka till i ditt inlägg."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["För att förbättra din webbplatsstruktur, överväg att länka till andra relevanta inlägg eller sidor pĂĄ din webbplats."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Det tar nĂĄgra sekunder att visa dig en lista med relaterat innehĂĄll som du kan länka till. Förslagen visas här sĂĄ snart vi har dem."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}Läs vĂĄr guide om intern länkning för SEO{{/a}} för att lära dig mer."],"Copied!":["Kopierad!"],"Not supported!":["Stöds inte!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Försöker du använda flera relaterade nyckelfraser? Du bör lägga till dem separat."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Din nyckelfras är för lĂĄng. Den fĂĄr maximalt vara 191 tecken."],"Add as related keyphrase":["Lägg till som relaterad nyckelfras"],"Added!":["Tillagt!"],"Remove":["Ta bort"],"Table of contents":["InnehĂĄllsförteckning"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Vi behöver optimera din webbplats SEO-data sĂĄ att vi kan erbjuda dig de bästa %1$slänkförslagen%2$s.\n\n%3$sStarta SEO-dataoptimering%4$s"],"Create a Zap in %s":["Skapa en Zap i %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-tr_TR.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-tr_TR.json new file mode 100644 index 00000000..174bb63d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-tr_TR.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=2; plural=(n > 1);","lang":"tr"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["İstek aĹźağıdaki hata ile geri geldi: \"%s\""],"X share preview":["X paylaşım önizlemesi"],"AI X title generator":["YZ X baĹźlık oluĹźturucu"],"AI X description generator":["YZ X açıklama oluĹźturucu"],"X preview":["X önizlemesi"],"Please enter a valid focus keyphrase.":["LĂĽtfen geçerli bir odak anahtar kelime girin."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Bu özelliÄźi kullanmak için sitenizin genel eriĹźime açık olması gerekir. Bu, hem test siteleri hem de REST API'nizin parola korumalı olduÄźu örnekler için geçerlidir. LĂĽtfen sitenizin herkese açık olduÄźundan emin olun ve tekrar deneyin. Sorun devam ederse lĂĽtfen %1$sdestek ekibimizle iletiĹźime geçin%2$s."],"Yoast AI cannot reach your site":["Yoast AI sitenize ulaĹźamıyor"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Bu özelliÄźe eriĹźmek için aktif %2$s ve %3$s aboneliklerine ihtiyacınız var. LĂĽtfen %5$saboneliklerinizi %1$s%6$s ĂĽzerinde etkinleĹźtirin veya %7$syeni bir %4$s%8$s alın. Daha sonra, özelliÄźin doÄźru çalışması için lĂĽtfen bu sayfayı yenileyin; bu iĹźlem 30 saniye kadar sĂĽrebilir."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["YZ baĹźlık oluĹźturucu, kullanılmadan önce SEO analizinin etkinleĹźtirilmesini gerektirir. EtkinleĹźtirmek için lĂĽtfen %2$s%1$s site özellikleri%3$s bölĂĽmĂĽne gidin, SEO analizini açın ve 'DeÄźiĹźiklikleri kaydet'e tıklayın. SEO analizi WordPress kullanıcı profilinizde devre dışı bırakılmışsa, profilinize eriĹźin ve orada etkinleĹźtirin. Bu ayarlara eriĹźiminiz yoksa lĂĽtfen yöneticinizle iletiĹźime geçin."],"Social share preview":["Sosyal paylaşım önizlemesi"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Yoast AI özelliÄźini kullanmaya devam etmek için lĂĽtfen taleplerinizin sıklığını azaltın. %1$sYardım makalemiz%2$s, optimize edilmiĹź bir iĹź akışı için taleplerinizi etkili bir Ĺźekilde planlama ve hızlandırma konusunda rehberlik saÄźlar."],"You've reached the Yoast AI rate limit.":["Yoast AI kullanım sınırına ulaĹźtınız."],"Allow":["İzin ver"],"Deny":["Reddet"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Bu videoyu görmek için %1$s eklentisine %2$s gömĂĽlĂĽ videolarını yĂĽklemesine izin vermeniz gerekir."],"Text generated by AI may be offensive or inaccurate.":["Yapay zeka tarafından oluĹźturulan metin saldırgan veya yanlış olabilir."],"(Opens in a new browser tab)":["(Yeni sekmede açılır)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["Ăśretken yapay zeka ile iĹź akışınızı hızlandırın. Arama ve sosyal görĂĽnĂĽmĂĽnĂĽz için yĂĽksek kaliteli baĹźlık ve açıklama önerileri alın. %1$sDaha fazla bilgi edinin%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["Yoast AI ile baĹźlıklar ve açıklamalar oluĹźturun!"],"New to %1$s":["%1$s yenilikleri"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["Yoast AI hizmetinin %1$sHizmet Ĺžartlarını%2$s ve %3$sGizlilik Politikasını%4$s onaylıyorum. Bu, kullanıcı deneyimini iyileĹźtirmek için verilerin toplanmasına ve kullanılmasına izin vermeyi de içerir."],"Start generating":["Ăśretmeye baĹźlayın"],"Yes, revoke consent":["Evet, onayı iptal et"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["Onayınızı iptal ettiÄźinizde, Yoast AI özelliklerine artık eriĹźiminiz olmayacaktır. Onayınızı iptal etmek istediÄźinizden emin misiniz?"],"Something went wrong, please try again later.":["Bir Ĺźeyler ters gitti. LĂĽtfen daha sonra tekrar deneyin."],"Revoke AI consent":["Yapay zeka iznini iptal et"],"AI title generator":["YZ baĹźlık oluĹźturucu"],"AI description generator":["YZ açıklama ĂĽreteci"],"AI social title generator":["YZ sosyal baĹźlık oluĹźturucu"],"AI social description generator":["YZ sosyal açıklama oluĹźturucu"],"Dismiss":["Kapat"],"Don’t show again":["Bir daha gösterme"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sİpucu%2$s: Sayfanıza daha fazla içerik yazarak oluĹźturulan YZ baĹźlıklarınızın doÄźruluÄźunu artırın."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sİpucu%2$s: Sayfanıza daha fazla içerik yazarak oluĹźturulan YZ açıklamalarınızın doÄźruluÄźunu artırın."],"Try again":["Tekrar deneyin"],"Social preview":["Sosyal önizleme"],"Desktop result":["MasaĂĽstĂĽ sonucu"],"Mobile result":["Mobil sonucu"],"Apply %s description":[],"Apply %s title":[],"Next":["Sonraki"],"Previous":["Ă–nceki"],"Generate 5 more":["5 tane daha ĂĽretin"],"Google preview":["Google ön izlemesi"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["OpenAI'nin katı etik kuralları ve %1$skullanım politikaları%2$s nedeniyle, sayfanız için SEO baĹźlıkları oluĹźturamıyoruz. YZ kullanmayı düşünĂĽyorsanız, lĂĽtfen açık, Ĺźiddet içeren veya cinsel içerikli içerik kullanmaktan kaçının. %3$sYZ ile en iyi sonuçları aldığınızdan emin olmak için sayfanızı nasıl yapılandıracağınız hakkında daha fazla bilgi edinin%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["OpenAI'nin katı etik kuralları ve %1$skullanım politikaları%2$s nedeniyle, sayfanız için meta etiketleri oluĹźturamıyoruz. YZ kullanmayı düşünĂĽyorsanız, lĂĽtfen açık, Ĺźiddet içeren veya cinsel içerikli içerik kullanmaktan kaçının. %3$sYZ ile en iyi sonuçları aldığınızdan emin olmak için sayfanızı nasıl yapılandıracağınız hakkında daha fazla bilgi edinin%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Bu özelliÄźe eriĹźmek için etkin bir %1$s aboneliÄźiniz olması gerekir. LĂĽtfen %3$saboneliÄźinizi %2$s ĂĽzerinden etkinleĹźtirin%4$s veya %5$syeni bir %1$s aboneliÄźi satın alın%6$s. Daha sonra, özelliÄźin doÄźru çalışması için bu sayfayı yenilemek ĂĽzere dĂĽÄźmeye tıklayın; bu iĹźlem 30 saniye kadar sĂĽrebilir."],"Refresh page":["Sayfayı yenile"],"Not enough content":["Yeterli içerik yok"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["LĂĽtfen daha sonra tekrar deneyin. Sorun devam ederse, lĂĽtfen %1$sdestek ekibimizle%2$s iletiĹźime geçin!"],"Something went wrong":["Bir terslik çıktı"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Bir baÄźlantı zaman aşımı meydana gelmiĹź gibi görĂĽnĂĽyor. LĂĽtfen internet baÄźlantınızı kontrol edin ve daha sonra tekrar deneyin. Sorun devam ederse, lĂĽtfen %1$sdestek ekibimizle iletiĹźime geçin%2$s"],"Connection timeout":["BaÄźlantı zaman aşımı"],"Use AI":["YZ kullan"],"Close modal":["Pencereyi kapat"],"Learn more about AI (Opens in a new browser tab)":["YZ hakkında daha fazla bilgi edinin (Yeni bir tarayıcı sekmesinde açılır)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sBaĹźlık%3$s: Sayfanızın henĂĽz bir baĹźlığı yok. %2$sBir tane ekleyin%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sBaĹźlık%2$s: Sayfanızın bir baĹźlığı var. Tebrikler!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sAnahtar kelime dağılımı%3$s: %2$sAnahtar kelime dağılımınızı kontrol edebilmemiz için metne anahtar kelimeleri veya eĹź anlamlılarını ekleyin%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sAnahtar kelime dağılımı%2$s: İyi iĹź!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sAnahtar kelime dağılımı%3$s: DĂĽzensiz. Metninizin bazı bölĂĽmleri anahtar kelimeleri veya eĹź anlamlılarını içermiyor. %2$sKelimeleri daha eĹźit dağıtın%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sAnahtar kelime dağılımı%3$s: Çok dĂĽzensiz. Metninizin bĂĽyĂĽk bölĂĽmleri anahtar kelimeleri veya eĹź anlamlılarını içermiyor. %2$sKelimeleri daha eĹźit dağıtın%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: Çok fazla karmaşık kelime kullanmıyorsunuz, bu da metninizin okunmasını kolaylaĹźtırıyor. GĂĽzel iĹź!"],"Word complexity":["Kelime karmaşıklığı"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: Metninizdeki kelimelerin %2$s kadarı karmaşık olarak tespit edildi. %3$sOkunabilirliÄźi artırmak için daha kısa ve daha tanıdık kelimeler kullanmaya çalışın%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sHizalama%3$s: Ortaya hizalanmış uzun bir metin bölĂĽmĂĽ var. %2$sSola hizalı yapmanızı öneririz%3$s.","%1$sHizalama%3$s: Ortaya hizalanmış %4$s uzun metin bölĂĽmĂĽ var. %2$sSola hizalı yapmanızı öneririz%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sHizalama%3$s: Ortaya hizalanmış uzun bir metin bölĂĽmĂĽ var. %2$sSaÄźa hizalı yapmanızı öneririz%3$s.","%1$sHizalama%3$s: Ortaya hizalanmış %4$s uzun metin bölĂĽmĂĽ var. %2$sSaÄźa hizalı yapmanızı öneririz%3$s."],"Select image":["FotoÄźraf seç"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Farkında bile olmayabilirsiniz ama sitenizde hiç baÄźlantı almayan sayfalar olabilir. Bu bir SEO sorunudur, çünkĂĽ arama motorlarının baÄźlantı almayan sayfaları bulması zordur. Dolayısıyla, sıralamada yer almaları da zordur. Bu sayfalara öksĂĽz içerikler diyoruz. Bu çalışmada, sitenizdeki öksĂĽz içeriÄźi bulup hızlı bir Ĺźekilde baÄźlantı eklemeniz için size rehberlik ediyoruz, böylece sıralama Ĺźansı elde edebilirsiniz!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Biraz baÄźlantı ekleme zamanı! AĹźağıda, öksĂĽz kalmış makalelerinizi içeren bir liste görĂĽyorsunuz. Her birinin altında, baÄźlantı ekleyebileceÄźiniz ilgili sayfalar için öneriler bulunmakta. BaÄźlantıyı eklerken, öksĂĽz makalenizle ilgili bir cĂĽmleye eklediÄźinizden emin olun. Kendilerine iĹźaret eden baÄźlantıların miktarından memnun olana kadar öksĂĽz makalelerin her birine baÄźlantı eklemeye devam edin."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Biraz baÄźlantı ekleme zamanı! AĹźağıda, köşe taşı içeriklerinizi içeren bir liste görĂĽyorsunuz. Her bir köşe taşının altında, bu köşe taşına baÄźlantı ekleyebileceÄźiniz makaleler için öneriler bulunmaktadır. BaÄźlantıyı eklerken, köşe taşı makalenizle ilgili bir cĂĽmleyi ilgili makale içine eklediÄźinizden emin olun. Köşe taĹźlarınız kendilerini iĹźaret eden en fazla iç baÄźlantıya sahip olana kadar, ihtiyaç duyduÄźunuz sayıda ilgili makaleden baÄźlantı eklemeye devam edin."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Sitenizdeki bazı makaleler %1$sen%2$s önemlileridir. İnsanların sorularını yanıtlar ve sorunlarını çözerler. Bu yĂĽzden sıralamada yer almayı hak ederler! %3$s olarak biz bunlara köşe taşı makaleler diyoruz. Sıralamada yer almalarını saÄźlamanın yollarından biri, onlara yeterince baÄźlantı yönlendirmektir. Daha fazla baÄźlantı, arama motorlarına bu makalelerin önemli ve deÄźerli olduÄźu sinyalini verir. Bu çalışmada, köşe taşı makalelerinize baÄźlantı eklemenize yardımcı olacağız!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["Biraz daha metin eklediÄźinizde, metninizin resmiyet dĂĽzeyini size söyleyebileceÄźiz."],"Overall, your text appears to be %1$s%3$s%2$s.":["Genel olarak, metniniz %1$s%3$s%2$s gibi görĂĽnĂĽyor."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Zapier entegrasyonu 20.7'de (çıkış tarihi 9 Mayıs) %1$s eklentisinden kaldırılacaktır. Herhangi bir sorunuz varsa, lĂĽtfen %2$s ile iletiĹźime geçin."],"Maximum heading level":["En fazla baĹźlık seviyesi"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["BaÄźlantı önerilerini etkisizleĹźtirdiniz, fakat bu iliĹźkili baÄźlantıların çalışması için gerekli. EÄźer iliĹźkili baÄźlantılar eklemek isterseniz, lĂĽtfen Site özellikleri bölĂĽmĂĽne gidin ve baÄźlantı önerilerini etkinleĹźtirin."],"Schema":["Ĺžema"],"Meta tags":["Meta etiketleri"],"Not available":["Uygun deÄźil"],"Checks":["Kontroller"],"Focus Keyphrase":["Odak anahtar ifade"],"Good":["İyi"],"No index":["İndeks yok"],"Front-end SEO inspector":["Ă–n yĂĽz SEO denetleyicisi"],"Focus keyphrase not set":["Odak anahtar ifade ayarlanmadı"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["Zap'ınızı %s panelinizde yayınladıktan sonra, etkin olup olmadığı ve sitenize baÄźlı olup olmadığını kontrol edebilirsiniz."],"Reset API key":["API anahtarını sıfırla"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Ĺžu anda %s'e aĹźağıdaki API anahtarı ile baÄźlandınız. Farklı bir API anahtarıyla yeniden baÄźlamak isterseniz anahtarı aĹźağıda sıfırlayabilirsiniz."],"Your API key":["API anahtarınız"],"Go to your %s dashboard":["%s panelinize gidin"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["%1$s'e baĹźarıyla baÄźlandınız! Zapınızı yönetmek için lĂĽtfen %2$s panelinizi ziyaret edin."],"Your %s dashboard":["%s paneliniz"],"Verify connection":["BaÄźlantıyı doÄźrula"],"Verify your connection":["BaÄźlantınızı doÄźrulayın"],"Create a Zap":["Zap oluĹźtur"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["%1$s hesabınıza giriĹź yapın ve ilk zapınızı oluĹźturmaya baĹźlayın! %2$s tetikleyici olayı ile yalnızca 1 zap oluĹźturabileceÄźinizi unutmayın. Bu zap içinde bir veya daha fazla eylem seçebilirsiniz."],"%s API key":["%s API anahtarı"],"You'll need this API key later on in %s when you're setting up your Zap.":["Zapınızı ayarlarken %s içinde bu API anahtarına daha sonra ihtiyacınız olacaktır."],"Copy your API key":["API anahtarınızı kopyalayın"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["BaÄźlantı kurmak için aĹźağıda verilen API anahtarını kopyaladığınızdan ve %s hesabınızda bir zap oluĹźturmak ve etkinleĹźtirmek için kullandığınızdan emin olun."],"Manage %s settings":["%s ayarlarını yönet"],"Connect to %s":["%s'e baÄźlan"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["LĂĽtfen dikkat: Bu egzersizin iyi çalışması için SEO veri optimizasyon aracını çalıştırmanız gerekir. Yöneticiler bunu %1$sSEO > Araçları%2$s altında çalıştırabilir."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["BaÄźlantılanmayan makalelerinize baÄźlantılar eklediniz ve artık ilgisiz olanları temizlediniz. Harika iĹź! AĹźağıdaki özete bir göz atın ve baĹźarınızı kutlayın!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Bu listedeki içeriÄźi dikkatle inceleyin ve gerekli gĂĽncellemeleri yapın. GĂĽncelleme konusunda yardıma ihtiyacınız varsa, size %1$stĂĽm yol boyunca rehberlik edebilecek çok kullanışlı bir blog yazımız var%2$s (yeni bir sekmede açmak için tıklayın)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sDaha fazla rehberliÄźe mi ihtiyacınız var? AĹźağıdaki kılavuzda her adımı daha ayrıntılı olarak ele aldık: %2$sBaÄźlantılanmamış içerik egzersizi%7$s nasıl kullanılır%3$s%4$s%5$s. %6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["En iyi içeriÄźinizi bulmayı kolaylaĹźtırdınız ve sıralama olasılığınızı artırdınız! Harika iĹź çıkardınız! Zaman zaman, köşe taĹźlarınızın yeterli baÄźlantı alıp almadığını kontrol etmeyi unutmayın!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["AĹźağıdaki listeye bir göz atın. Köşe taĹźlarınız (%1$s ile iĹźaretlenmiĹź) kendisine iĹźareten eden en çok iç baÄźlantıya sahip mi? Bir köşe taşının daha fazla baÄźlantıya ihtiyacı olduÄźunu düşünĂĽyorsanız Optimize Et dĂĽÄźmesini tıklayın. Bu, makaleyi bir sonraki adıma taşıyacaktır."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["TĂĽm köşe taĹźlarınızın yeĹźil iĹźaretleri var mı? En iyi sonuçlar için, olmayanları dĂĽzenlemeyi düşünĂĽn!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Hangi makaleleri en ĂĽst sıralarda göstermek istiyorsunuz? Hedef kitleniz hangilerini en yararlı ve eksiksiz bulur? AĹźağıyı gösteren oku tıklatın ve bu ölçütlere uyan makaleleri arayın. Listeden seçtiÄźiniz makaleleri otomatik olarak köşe taşı olarak iĹźaretleyeceÄźiz."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$s Daha fazla rehberliÄźe mi ihtiyacınız var? Ĺžurada her adımı daha ayrıntılı olarak ele aldık: %2$s%7$s Köşe taşı egzersizleri nasıl kullanılır%3$s%4$s%5$s. %6$s"],"Yoast Table of Contents":["Yoast içindekiler"],"Yoast Related Links":["Yoast ilgili baÄźlantılar"],"Finish optimizing":["Optimizasyonu tamamlayın"],"You've finished adding links to this article.":["Bu makaleye baÄźlantı eklemeyi tamamladınız."],"Optimize":["Optimize et"],"Added to next step":["Sonraki adıma eklendi"],"Choose cornerstone articles...":["Köşe taşı makalelerini seçin..."],"Loading data...":["Veri yĂĽkleniyor..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["HenĂĽz bu antrenmanı kullanarak herhangi bir makaleyi temizlemediniz veya gĂĽncellemediniz. Bunu yaptığınızda, çalışmanızın bir özeti burada görĂĽnecektir."],"Skipped":["Atlandı"],"Hidden from search engines.":["Arama motorlarından gizlenmiĹź."],"Removed":["Kaldırıldı"],"Improved":["İyileĹźtirildi"],"Resolution":["ÇözĂĽm"],"Loading redirect options...":["Yönlendirme seçenekleri yĂĽkleniyor..."],"Remove and redirect":["Kaldır ve yeniden yönlendir"],"Custom url:":["Ă–zel baÄźlantı:"],"Related article:":["İliĹźkili makale:"],"Home page:":["Ana sayfa:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["%1$s%2$s%3$s kaldırmak ĂĽzeresiniz. 404 hatalarını sitenizde engellemek için baĹźka bir sayfaya yönlendirmelisiniz. Nereye yönlendirmek istersiniz?"],"SEO Workout: Remove article":["SEO egzersizi: Makaleyi kaldır"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Her Ĺźey iyi görĂĽnĂĽyor! Sitenizde altı aydan eski ve sitenizde çok az baÄźlantı alan makale bulamadık. Yeni temizleme önerileri için burayı daha sonra tekrar kontrol edin!"],"Hide from search engines":["Arama motorlarından gizle"],"Improve":["İyileĹźtir"],"Are you sure you wish to hide this article from search engines?":["Bu makaleyi arama motorlarından gizlemek istediÄźinizden emin misiniz?"],"Action":["Eylem"],"You've hidden this article from search engines.":["Bu makaleyi arama motorlarından gizlediniz."],"You've removed this article.":["Bu makaleyi kaldırdınız."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Ĺžu anda iyileĹźtirmek için herhangi bir makale seçmediniz. BaÄźlantı eklemek için önceki adımlarda birkaç makale seçin, size burada baÄźlantı önerilerini gösterelim."],"Loading link suggestions...":["BaÄźlantı önerileri yĂĽkleniyor..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Bu makale için herhangi bir öneri bulamadık, ancak elbette ilgili olduÄźunu düşündüğünĂĽz makalelere baÄźlantılar ekleyebilirsiniz."],"Skip":["Geç"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Bu adım için henĂĽz herhangi bir makale seçmediniz. Bunu önceki adımda yapabilirsiniz."],"Is it up-to-date?":["GĂĽncel mi?"],"Last Updated":["Son gĂĽncelleme"],"You've moved this article to the next step.":["Bu makaleyi bir sonraki adıma taşıdınız."],"Unknown":["Bilinmiyor"],"Clear summary":["Ă–zeti temizle"],"Add internal links towards your orphaned articles.":["Yetim kalan makalelerinize dahili baÄźlantılar ekleyin."],"Should you update your article?":["Makalenizi gĂĽncellemeli misiniz?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Siteniz, bir kez oluĹźturduÄźunuz ve daha sonra tekrar yĂĽzĂĽne bakmadığınız içeriklere sahip olabilir. Bunları gözden geçirmeniz ve kendinize bu içeriÄźin hâlâ sitenizle alakalı olup olmadığını sormanız önemlidir. İyileĹźtirmeli miyim yoksa kaldırmalı mıyım?"],"Start: Love it or leave it?":["BaĹźlangıç: Sevin ya da terk edin?"],"Clean up your unlinked content to make sure people can find it":["İnsanların bulabileceÄźinden emin olmak için baÄźlantısız içeriÄźinizi temizleyin"],"I've finished this workout":["Bu egzersizi bitirdim"],"Reset this workout":["Bu egzersizi sıfırla"],"Well done!":["Tebrikler!"],"Add internal links towards your cornerstones":["Köşe taĹźlarınıza dahili baÄźlantılar ekleyin"],"Check the number of incoming internal links of your cornerstones":["Köşe taĹźlarınızın gelen dahili baÄźlantılarının sayısını kontrol edin"],"Start: Choose your cornerstones!":["BaĹźlayın: Köşe taĹźlarınızı seçin!"],"The cornerstone approach":["Köşe taşı yaklaşımı"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["LĂĽtfen dikkat: Bu egzersizin iyi çalışması ve size baÄźlantı önerileri sunması için SEO veri optimizasyon aracını çalıştırmanız gerekir. Yöneticiler bunu %1$sSEO > Araçlar%2$s altında çalıştırabilir."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["LĂĽtfen dikkat: Yöneticiniz SEO ayarlarında köşe taşı iĹźlevini devre dışı bırakmıştır. Bu antrenmanı kullanmak istiyorsanız, etkinleĹźtirilmelidir."],"I've finished this step":["Bu adımı bitirdim"],"Revise this step":["Bu adımı gözden geçirin"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Sayfalarınızda dahili baÄźlantılar bulamadık. Ya içeriÄźinize henĂĽz herhangi bir dahili baÄźlantı eklemediniz ya da Yoast SEO onları dizine eklemedi. SEO > Araçlar altında SEO veri optimizasyonunu çalıştırarak Yoast SEO’nun baÄźlantılarınızı indekslemesini saÄźlayabilirsiniz."],"Incoming links":["Gelen baÄźlantılar"],"Edit to add link":["BaÄźlantı eklemek için dĂĽzenleyin"],"%s incoming link":["%s gelen baÄźlantı","%s gelen baÄźlantı"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Ĺžu anda köşe taşı olarak iĹźaretlenmiĹź makaleniz yok. Makalelerinizi köşe taşı olarak iĹźaretlediÄźinizde burada görĂĽnĂĽrler."],"Focus keyphrase":["Odak anahtar kelime"],"Article":["Makale"],"Readability score":["Okunabilirlik puanı"],"SEO score":["SEO puanı"],"Copy failed":["Kopyalama baĹźarısız"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Bu %1$sadım adım egzersizi%2$s kullanarak tĂĽm köşe taĹźlarınız için sıralamaları iyileĹźtirin!"],"Rank with articles you want to rank with":["Sıralamaya girmek istediÄźiniz makalelerle sıralayın"],"Descriptive text":["Açıklayıcı metin"],"Show the descriptive text":["Açıklayıcı metni göster"],"Show icon":["Simgeyi göster"],"Yoast Estimated Reading Time":["Yoast tahmini okuma sĂĽresi"],"Shows an estimated reading time based on the content length.":["İçerik uzunluÄźuna göre tahmini bir okuma sĂĽresi gösterir."],"reading time":["okuma sĂĽresi"],"content length":["içerik uzunluÄźu"],"Estimated reading time:":["Tahmini okuma sĂĽresi"],"minute":["dakika","dakika"],"Settings":["Ayarlar"],"OK":["TAMAM"],"Close":["Kapat"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["WordPress için ilk gerçek hepsi bir arada SEO çözĂĽmĂĽ, sayfa ĂĽzerine içerik analizi, XML site haritaları ve çok daha fazlası."],"Type":["Tip"],"Team Yoast":["Yoast ekibi"],"Orphaned content":["Sahipsiz içerik"],"Synonyms":["EĹź Anlamlılar"],"Internal linking suggestions":["İç baÄźlantı önerileri"],"Enter a related keyphrase to calculate the SEO score":["SEO puanını hesaplamak için ilgili bir anahtar kelime girin."],"Related keyphrase":["İlgili anahtar kelime"],"Add related keyphrase":["İlgili anahtar kelimeyi ekle"],"Analysis results":["Analiz sonuçları"],"Help on choosing the perfect keyphrase":["MĂĽkemmel anahtar kelimeyi seçme konusunda yardım et"],"Help on keyphrase synonyms":["Anahtar kelime eĹź anlamlıları konusunda yardım et"],"Keyphrase":["Anahtar kelime"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Yeni URL: {{link}}%s{{/link}}"],"Undo":["Geri al."],"Redirect created":["Yönlendirme oluĹźturuldu."],"%s just created a redirect from the old URL to the new URL.":["%s eski URL’den yeni URL’ye bir yönlendirme oluĹźturdu."],"Old URL: {{link}}%s{{/link}}":["Eski URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Anahtar kelime eĹź anlamlıları"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["Bir hata oluĹźtu: Premium SEO analizi beklendiÄźi gibi çalışmıyor. LĂĽtfen {{activateLink}}MyYoast'ta aboneliÄźinizi etkinleĹźtirin{{/activateLink}} ve ardından dĂĽzgĂĽn çalışması için {{reloadButton}}bu sayfayı yeniden yĂĽkleyin{{/reloadButton}}."],"seo":["seo"],"internal linking":["iç baÄźlantı"],"site structure":["site yapısı"],"We could not find any relevant articles on your website that you could link to from your post.":["Web sitenizde, yazınızdan baÄźlantı verebileceÄźiniz alakalı bir makale bulamadık."],"Load suggestions":["Ă–nerileri yĂĽkle"],"Refresh suggestions":["Ă–nerileri yenile"],"Write list…":["Yazma Listesi..."],"Adds a list of links related to this page.":["Bu sayfayla ilgili bir baÄźlantı listesi ekler."],"related posts":["İlgili Mesajlar"],"related pages":["ilgili sayfalar"],"Adds a table of contents to this page.":["Bu sayfaya içindekiler tablosu ekler."],"links":["baÄźlantılar"],"toc":["toc"],"Copy link":["BaÄźlantıyı kopyala"],"Copy link to suggested article: %s":["Ă–nerilen makelenin baÄźlanısını kopyala: %s"],"Add a title to your post for the best internal linking suggestions.":["En iyi dahili baÄźlantı önerileri için yayınınıza bir baĹźlık ekleyin."],"Add a metadescription to your post for the best internal linking suggestions.":["En iyi dahili baÄźlantı önerileri için yayınınıza bir meta açıklama ekleyin."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["En iyi dahili baÄźlantı önerileri için yayınınıza bir baĹźlık ve meta açıklama ekleyin."],"Also, add a title to your post for the best internal linking suggestions.":["Ayrıca, en iyi dahili baÄźlantı önerileri için yayınınıza bir baĹźlık ekleyin."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Ayrıca, en iyi dahili baÄźlantı önerileri için yayınınıza bir meta açıklama ekleyin."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Ayrıca, en iyi dahili baÄźlantı önerileri için gönderinize bir baĹźlık ve meta açıklama ekleyin."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Biraz daha kopya ekledikten sonra, burada size yayınınızda baÄźlantı kurabileceÄźiniz ilgili içeriÄźin bir listesini vereceÄźiz."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Site yapınızı iyileĹźtirmek için, web sitenizdeki diÄźer ilgili yayınlara veya sayfalara baÄźlantı vermeyi düşünĂĽn."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["BaÄźlayabileceÄźiniz ilgili içeriÄźin bir listesinin size gösterilmesi birkaç saniye sĂĽrer. Ă–neriler, elimize ulaşır ulaĹźmaz burada gösterilecektir."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["Daha fazla bilgi edinmek için {{a}} SEO için dahili baÄźlantı oluĹźturma hakkındaki kılavuzumuzu okuyun {{/ a}}."],"Copied!":["Kopyalandı!"],"Not supported!":["Desteklenmiyor!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["Birden çok ilgili anahtar kelime mi kullanmaya çalışıyorsunuz? Bunları ayrı ayrı eklemelisiniz."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Anahtar kelimeniz çok uzun. Azami 191 karakter olabilir."],"Add as related keyphrase":["İlgili anahtar kelime öbeÄźi olarak ekleyin"],"Added!":["EklenmiĹź!"],"Remove":["Kaldır"],"Table of contents":["İçindekiler"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Size en iyi %1$s Ĺźaşırtıcı önerileri %2$s sunabilmemiz için sitenizin SEO verilerini optimize etmemiz gerekiyor.\n\n%3$s SEO Veri optimizasyonunu baĹźlatın %4$s"],"Create a Zap in %s":["%s içinde bir Zap oluĹźtur"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-uk.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-uk.json new file mode 100644 index 00000000..77411a7e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-uk.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","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"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":["Запит повернŃвŃŃŹ Ń–Đ· помилкою: \"%s\""],"X share preview":["Попердній перегляд Ńпільного Đ´ĐľŃŃ‚ŃĐżŃ X"],"AI X title generator":["Генератор заголовків X ШІ"],"AI X description generator":["Генератор опиŃів X ШІ"],"X preview":["Попередній перегляд X"],"Please enter a valid focus keyphrase.":["Đ‘ŃĐ´ŃŚ лаŃка, введіть Đ´Ń–ĐąŃĐ˝Ń Ń„ĐľĐşŃŃĐ˝Ń ĐşĐ»ŃŽŃ‡ĐľĐ˛Ń Ń„Ń€Đ°Đ·Ń."],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":["Щоб ŃкориŃтатиŃŃŹ цією Ń„Ńнкцією, Đ˛Đ°Ń Ńайт повинен бŃти загальнодоŃŃ‚Ńпним. Це ŃтоŃŃєтьŃŃŹ ŃŹĐş теŃтових Ńайтів, так Ń– випадків, коли Đ˛Đ°Ń REST API захищений паролем. Đ‘ŃĐ´ŃŚ лаŃка, переконайтеŃŃŹ, що Đ˛Đ°Ń Ńайт Ń” загальнодоŃŃ‚Ńпним, Ń– ŃпробŃйте ще раз. Якщо проблема не зникне, бŃĐ´ŃŚ лаŃка, %1$sзвернітьŃŃŹ Đ´Đľ наŃої ŃĐ»Ńжби підтримки%2$s."],"Yoast AI cannot reach your site":["Yoast AI не може отримати Đ´ĐľŃŃ‚ŃĐż Đ´Đľ ваŃого ŃайтŃ"],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Щоб отримати Đ´ĐľŃŃ‚ŃĐż Đ´Đľ цієї Ń„Ńнкції, вам потрібні активні підпиŃки %2$s та %3$s. Đ‘ŃĐ´ŃŚ лаŃка, %5$sактивŃйте Ńвої підпиŃки в %1$s%6$s або %7$sотримайте Đ˝ĐľĐ˛Ń %4$s%8$s. ПіŃля цього оновіть ŃторінкŃ, щоб Ń„Ńнкція коректно працювала. Це може зайняти Đ´Đľ 30 ŃекŃнд."],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":["ĐźĐµŃ€Ń Đ˝Ń–Đ¶ почати кориŃŃ‚ŃватиŃŃŹ генератором заголовків ĐI, необхідно ŃвімкнŃти SEO-аналіз. Щоб ŃвімкнŃти його, перейдіть Đ´Đľ %2$sŃ„Ńнкцій ŃĐ°ĐąŃ‚Ń %1$s%3$s, Ńвімкніть SEO-аналіз та натиŃніть \"Зберегти зміни\". Якщо SEO-аналіз вимкнений Ń Đ˛Đ°ŃĐľĐĽŃ ĐşĐľŃ€Đ¸ŃŃ‚ŃĐ˛Đ°Ń†ŃŚĐşĐľĐĽŃ ĐżŃ€ĐľŃ„Ń–Đ»Ń– WordPress, Ńвійдіть Ń Đ˛Đ°Ń ĐżŃ€ĐľŃ„Ń–Đ»ŃŚ та ввімкніть його там. Đ‘ŃĐ´ŃŚ лаŃка, звернітьŃŃŹ Đ´Đľ наŃого адмініŃтратора, якщо Ń Đ˛Đ°Ń Đ˝ĐµĐĽĐ°Ń” Đ´ĐľŃŃ‚ŃĐżŃ Đ´Đľ цих налаŃŃ‚Ńвань."],"Social share preview":["Попередній перегляд поŃирення в Ńоцмережах"],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":["Щоб продовжŃвати кориŃŃ‚ŃватиŃŃŹ Ń„Ńнкцією ШІ Yoast, бŃĐ´ŃŚ лаŃка, зменŃіть чаŃŃ‚ĐľŃ‚Ń Đ˛Đ°Ńих запитів. НаŃа %1$sдопоміжна Ńтаття%2$s ĐĽŃ–Ńтить вказівки щодо ефективного планŃвання та Ń€ĐľĐ·ĐżĐľĐ´Ń–Đ»Ń Đ·Đ°ĐżĐ¸Ń‚Ń–Đ˛ для оптимізації робочого процеŃŃ."],"You've reached the Yoast AI rate limit.":["Ви Đ´ĐľŃягли Đ»Ń–ĐĽŃ–Ń‚Ń ŃвидкоŃті ШІ Yoast."],"Allow":["Дозволити"],"Deny":["Відхилити"],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":["Щоб переглянŃти це відео, вам потрібно дозволити %1$s завантажŃвати вбŃдовані відео Đ· %2$s."],"Text generated by AI may be offensive or inaccurate.":["Згенерований ШІ текŃŃ‚ може бŃти образливим чи неточним."],"(Opens in a new browser tab)":["(ВідкриєтьŃŃŹ в новій вкладці браŃзера)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["ПриŃвидŃіть робочий ĐżŃ€ĐľŃ†ĐµŃ Đ·Đ° допомогою генеративного ШІ. ОтримŃйте виŃокоякіŃні пропозиції заголовків та опиŃів для поŃŃків та вигляді в Ńоцмережах. %1$sДізнатиŃŃŹ більŃе%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["ГенерŃйте заголовки та опиŃи за допомогою ШІ Yoast!"],"New to %1$s":["Новачок в %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":["ĐŻ приймаю %1$sУмови надання поŃĐ»ŃĐł%2$s та %3$sĐźĐľĐ»Ń–Ń‚Đ¸ĐşŃ ĐşĐľĐ˝Ń„Ń–Đ´ĐµĐ˝Ń†Ń–ĐąĐ˝ĐľŃті%4$s ŃервіŃŃ \"ШІ Yoast\". Це включає Đ·ĐłĐľĐ´Ń Đ˝Đ° збір та викориŃтання даних для покращення кориŃŃ‚Ńвацького Đ´ĐľŃвідŃ."],"Start generating":["Розпочніть генерацію"],"Yes, revoke consent":["Так, відкликати згодŃ"],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":["ВідкликавŃи згодŃ, ви більŃе не матимете Đ´ĐľŃŃ‚ŃĐżŃ Đ´Đľ Ń„Ńнкцій ШІ Yoast. Ви впевнені, що хочете відкликати згодŃ?"],"Something went wrong, please try again later.":["ЩоŃŃŚ піŃло не так, бŃĐ´ŃŚ лаŃка, ŃпробŃйте пізніŃе."],"Revoke AI consent":["Відкликати Đ·ĐłĐľĐ´Ń Đ¨Đ†"],"AI title generator":["Генератор заголовків ШІ"],"AI description generator":["Генератор опиŃів ШІ"],"AI social title generator":["Генератор заголовків Ńоцмереж ШІ"],"AI social description generator":["Генератор опиŃів Ńоцмереж ШІ"],"Dismiss":["Відхилити"],"Don’t show again":["БільŃе не показŃвати"],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":["%1$sПорада%2$s: Đ’Đ´ĐľŃкональте точніŃть згенерованих ШІ заголовків, напиŃавŃи більŃе вміŃŃ‚Ń Đ˝Đ° ваŃŃ ŃторінкŃ."],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":["%1$sПорада%2$s: Đ’Đ´ĐľŃкональте точніŃть згенерованих ШІ опиŃів, напиŃавŃи більŃе вміŃŃ‚Ń Đ˝Đ° ваŃŃ–Đą Ńторінці."],"Try again":["СпробŃйте ще раз"],"Social preview":["Попередній перегляд Ńоцмереж"],"Desktop result":["РезŃльтат для комп'ютера"],"Mobile result":["Мобільний резŃльтат"],"Apply %s description":[],"Apply %s title":[],"Next":["Далі"],"Previous":["Назад"],"Generate 5 more":["ЗгенерŃвати ще 5"],"Google preview":[" Попередній перегляд Google"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Через ŃŃворі етичні правила OpenAI та %1$sĐżĐľĐ»Ń–Ń‚Đ¸ĐşŃ Đ˛Đ¸ĐşĐľŃ€Đ¸Ńтання%2$s, ми не можемо генерŃвати SEO-заголовки для ваŃої Ńторінки. Якщо ви маєте намір викориŃтовŃвати ШІ, бŃĐ´ŃŚ лаŃка, Ńникайте викориŃтання наŃильницького або ŃекŃŃально відвертого вміŃŃ‚Ń. %3$sДізнайтеŃŃŹ більŃе про те, ŃŹĐş налаŃŃ‚Ńвати Ńвою ŃторінкŃ, щоб отримати найкращі резŃльтати за допомогою ŃŃ‚Ńчного інтелектŃ%4$s."],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":["Через ŃŃворі етичні правила OpenAI та %1$sĐżĐľĐ»Ń–Ń‚Đ¸ĐşŃ Đ˛Đ¸ĐşĐľŃ€Đ¸Ńтання%2$s, ми не можемо генерŃвати метаопиŃи для ваŃої Ńторінки. Якщо ви маєте намір викориŃтовŃвати ШІ, бŃĐ´ŃŚ лаŃка, Ńникайте викориŃтання наŃильницького або ŃекŃŃально відвертого вміŃŃ‚Ń. %3$sДізнайтеŃŃŹ більŃе про те, ŃŹĐş налаŃŃ‚Ńвати Ńвою ŃторінкŃ, щоб отримати найкращі резŃльтати Đ· ШІ%4$s."],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":["Для Đ´ĐľŃŃ‚ŃĐżŃ Đ´Đľ цієї Ń„Ńнкції необхідна активна підпиŃка %1$s. Đ‘ŃĐ´ŃŚ лаŃка, %3$sактивŃйте Ńвою підпиŃĐşŃ Đ˛ %2$s%4$s чи %5$sотримайте Đ˝ĐľĐ˛Ń %1$sпідпиŃĐşŃ%6$s. ПіŃля цього натиŃніть на ĐşĐ˝ĐľĐżĐşŃ ĐľĐ˝ĐľĐ˛Đ»ĐµĐ˝Đ˝ŃŹ Ńторінки, щоб ця Ń„Ńнкція працювала коректно. Це займе менŃе 30 ŃекŃнд."],"Refresh page":["Оновіть ŃторінкŃ"],"Not enough content":["НедоŃтатньо вміŃŃ‚Ń"],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":["Đ‘ŃĐ´ŃŚ лаŃка, ŃпробŃйте пізніŃе. Якщо проблема не зникне, %1$sзвернітьŃŃŹ Đ´Đľ наŃої ŃĐ»Ńжби підтримки%2$s!"],"Something went wrong":["ЩоŃŃŚ піŃло не так"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":["Схоже, ŃкінчивŃŃŹ Ń‡Đ°Ń ĐľŃ‡Ń–ĐşŃвання Đ·'єднання. Đ‘ŃĐ´ŃŚ лаŃка, перевірте інтернет-Đ·'єднання та ŃпробŃйте пізніŃе. Якщо проблема не зникне, бŃĐ´ŃŚ лаŃка, %1$sзвернітьŃŃŹ Đ´Đľ наŃої ŃĐ»Ńжби підтримки%2$s"],"Connection timeout":["Đ§Đ°Ń ĐľŃ‡Ń–ĐşŃвання Đ·'єднання вийŃов"],"Use AI":["ВикориŃтайте ШІ"],"Close modal":["Закрити модальне вікно"],"Learn more about AI (Opens in a new browser tab)":["ДізнайтеŃŃŹ більŃе про ШІ (ВідкриваєтьŃŃŹ в новій вкладці)"],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":["%1$sЗаголовок%3$s: ĐŁ ваŃої Ńторінки ще немає заголовка. %2$sДодайте його%3$s!"],"%1$sTitle%2$s: Your page has a title. Well done!":["%1$sЗаголовок%2$s: ĐŁ ваŃої Ńторінки Ń” заголовок. Гарна робота!"],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$sРозподілення ключової фрази%3$s: %2$sВикориŃтовŃйте в текŃті ваŃŃ ĐşĐ»ŃŽŃ‡ĐľĐ˛Ń Ń„Ń€Đ°Đ·Ń Ń– Ń—Ń— Ńиноніми, щоб ми могли порахŃвати рівномірніŃть розподілення ключової фрази%3$s."],"%1$sKeyphrase distribution%2$s: Good job!":["%1$sРозподілення ключової фрази%2$s: ХороŃа робота!"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sРозподілення ключової фрази%3$s: Нерівномірне. Деякі чаŃтини ваŃого текŃŃ‚Ń Đ˝Đµ ĐĽŃ–Ńтять ключової фрази або Ń—Ń— Ńинонімів. %2$sРозподіліть Ń—Ń… Đ±Ń–Đ»ŃŚŃ Ń€Ń–Đ˛Đ˝ĐľĐĽŃ–Ń€Đ˝Đľ%3$s."],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$sРозподілення ключової фрази%3$s: Đ”Ńже нерівномірне. Великі чаŃтини ваŃого текŃŃ‚Ń Đ˝Đµ ĐĽŃ–Ńтять ключової фрази або Ń—Ń— Ńинонімів. %2$sРозподіліть Ń—Ń… Đ±Ń–Đ»ŃŚŃ Ń€Ń–Đ˛Đ˝ĐľĐĽŃ–Ń€Đ˝Đľ%3$s."],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":["%1$s: ви не викориŃтовŃєте забагато Ńкладних Ńлів, що робить Đ˛Đ°Ń Ń‚ĐµĐşŃŃ‚ легким для читання. ХороŃа робота!"],"Word complexity":["СкладніŃть Ńлова"],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":["%1$s: %2$s Ńлів Ń Đ˛Đ°ŃĐľĐĽŃ Ń‚ĐµĐşŃті вважаютьŃŃŹ Ńкладними. %3$sНамагайтеŃŃŹ викориŃтовŃвати коротŃŃ– та Đ±Ń–Đ»ŃŚŃ Đ·Đ˝Đ°ĐąĐľĐĽŃ– Ńлова, щоб покращити читабельніŃть%4$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":["%1$sВирівнювання%3$s: Đ„ довгий Ńривок текŃŃ‚Ń, вирівняний по центрŃ. %2$sМи рекомендŃємо вирівняти його по Đ»Ń–Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ%3$s.","%1$sВирівнювання%3$s: Đ„ %4$s довгі Ńривки текŃŃ‚Ń, вирівняні по центрŃ. %2$sМи рекомендŃємо вирівняти Ń—Ń… по Đ»Ń–Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ%3$s.","%1$sВирівнювання%3$s: Đ„ %4$s довгих Ńривків текŃŃ‚Ń, вирівняних по центрŃ. %2$sМи рекомендŃємо вирівняти Ń—Ń… по Đ»Ń–Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ%3$s."],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":["%1$sВирівнювання%3$s: Đ„ довгий Ńривок текŃŃ‚Ń, вирівняний по центрŃ. %2$sМи рекомендŃємо вирівняти його по ĐżŃ€Đ°Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ%3$s.","%1$sВирівнювання%3$s: Đ„ %4$s довгі Ńривки текŃŃ‚Ń, вирівняні по центрŃ. %2$sМи рекомендŃємо вирівняти Ń—Ń… по ĐżŃ€Đ°Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ%3$s.","%1$sВирівнювання%3$s: Đ„ %4$s довгих Ńривків текŃŃ‚Ń, вирівняних по центрŃ. %2$sМи рекомендŃємо вирівняти Ń—Ń… по ĐżŃ€Đ°Đ˛ĐľĐĽŃ ĐşŃ€Đ°ŃŽ%3$s."],"Select image":["Виберіть зображення"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":["Ви можете навіть не знати про це, але на ваŃĐľĐĽŃ Ńайті можŃть бŃти Ńторінки, які не отримŃють жодного поŃилання. Це проблема SEO, Ń‚ĐľĐĽŃ Ń‰Đľ поŃŃковим ŃиŃтемам важко знайти Ńторінки, на які немає поŃилань. Отже, Ń—ĐĽ важче ранжŃвати Ń—Ń…. Ми називаємо такі Ńторінки ĐľŃиротілим контентом. ĐŁ Ń†ŃŚĐľĐĽŃ Ń‚Ń€ĐµĐ˝Ńванні ми знайдемо ĐľŃиротілий контент на ваŃĐľĐĽŃ Ńайті Ń– допоможемо вам Ńвидко додати на нього поŃилання, щоб він отримав ŃĐ°Đ˝Ń Đ˝Đ° ранжŃвання!"],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":["Đ§Đ°Ń Đ´ĐľĐ´Đ°Ń‚Đ¸ кілька поŃилань! Нижче наведено перелік ваŃих ĐľŃиротілих Ńтатей. Під кожною Đ· них Ń” пропозиції пов'язаних Ńторінок, поŃилання Đ· яких ви можете додати.Додаючи поŃилання, перевірте, що вŃтавили його Ń Đ˛Ń–Đ´ĐżĐľĐ˛Ń–Đ´Đ˝Đµ речення, пов'язане Đ· ĐľŃиротілою Ńтаттею. Додавайте поŃилання Đ´Đľ кожної ĐľŃиротілої Ńтатті, поки не бŃдете задоволені кількіŃтю поŃилань, що вказŃють на них."],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":["Đ§Đ°Ń Đ´ĐľĐ´Đ°Ń‚Đ¸ кілька поŃилань! Нижче ви бачите ŃпиŃок Đ· ваŃими наріжними каменями. Під кожним Đ· них Ń” пропозиції щодо Ńтатей, Đ· яких ви можете додати поŃилання. Додаючи поŃилання, переконайтеŃŃŹ, що ви вŃтавили його в релевантне речення, пов'язане Đ· ваŃою наріжною Ńтаттею. ПродовжŃйте додавати поŃилання Đ· якомога більŃої кількоŃті пов'язаних Ńтатей, поки ваŃŃ– наріжні камені не отримають якомога більŃе внŃтріŃніх поŃилань, що вказŃють на них."],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":["Деякі Ńтатті на ваŃĐľĐĽŃ Ńайті %1$sĐ´Ńже%2$s важливі. Вони дають відповіді на питання, які Ńтавлять люди, та допомагають виріŃŃвати проблеми. Đ˘ĐľĐĽŃ Đ˛ĐľĐ˝Đ¸ заŃĐ»ŃговŃють на виŃокий рейтинг! Đ’ %3$s ми називаємо такі Ńтатті наріжними. Один Ń–Đ· ŃпоŃобів підвищити їхній рейтинг - це вказати на них Đ´ĐľŃтатню кількіŃть поŃилань. БільŃа кількіŃть поŃилань ŃигналізŃŃ” поŃŃковим ŃиŃтемам, що ці Ńтатті Ń” важливими та цінними. ĐŁ Ń†ŃŚĐľĐĽŃ Ń‚Ń€ĐµĐ˝Đ°Đ¶ĐµŃ€Ń– ми допоможемо вам додати поŃилання на ваŃŃ– наріжні Ńтатті!"],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":["ПіŃля того, ŃŹĐş ви додаŃте трохи більŃе інформації, ми зможемо Ńказати вам, наŃкільки формально оформлений Đ˛Đ°Ń Ń‚ĐµĐşŃŃ‚."],"Overall, your text appears to be %1$s%3$s%2$s.":["Загалом Đ˛Đ°Ń Đ˛Đ¸ĐłĐ»ŃŹĐ´Đ°Ń”, ŃŹĐş %1$s%3$s%2$s."],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":["Інтеграція Zapier бŃде видалена Ń Đ˛ĐµŃ€ŃŃ–Ń… %1$s 20.7 (дата випŃŃĐşŃ - 9 травня). Якщо Ń Đ˛Đ°Ń Ń” запитання, бŃĐ´ŃŚ лаŃка, звернітьŃŃŹ Đ´Đľ %2$s."],"Maximum heading level":["МакŃимальний рівень заголовка"],"https://yoa.st/team-yoast-premium":["https://yoa.st/team-yoast-premium"],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":["Ви вимкнŃли Ń„Ńнкцію Пропозиції поŃилань, Đ˝ĐµĐľĐ±Ń…Ń–Đ´Đ˝Ń Đ´Đ»ŃŹ роботи Пов'язаних поŃилань. Якщо ви хочете додати Пов'язані поŃилання, бŃĐ´ŃŚ лаŃка, перейдіть на ФŃнкції ŃĐ°ĐąŃ‚Ń Ń‚Đ° ввімкніть Пропозиції поŃилань."],"Schema":["Схема"],"Meta tags":["Мета позначка"],"Not available":["НедоŃŃ‚Ńпний"],"Checks":["Перевірки"],"Focus Keyphrase":["ФокŃŃні ключові фрази"],"Good":["Добре"],"No index":["Не індекŃŃвати"],"Front-end SEO inspector":["Фронт-енд SEO Ń–Đ˝Ńпектор"],"Focus keyphrase not set":["ФокŃŃна ключова фраза на вŃтановлена"],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":["ОпŃблікŃвавŃи Zap на панелі Ń–Đ˝ŃтрŃментів %s, ви можете перевірити, чи він активний Ń– підключений Đ´Đľ ваŃого ŃайтŃ."],"Reset API key":["СкинŃти ключ API"],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":["Зараз ви підключені Đ´Đľ %s за допомогою такого ключа API. Якщо ви хочете повторно підключитиŃŃŹ за допомогою Ń–Đ˝Ńого ключа API, ви можете ŃкинŃти Ńвій ключ нижче."],"Your API key":["Đ’Đ°Ń ĐşĐ»ŃŽŃ‡ API"],"Go to your %s dashboard":["Перейдіть Đ´Đľ панелі Ń–Đ˝ŃтрŃментів %s"],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":["Ви ŃŃпіŃно підключені Đ´Đľ %1$s! Щоб керŃвати Zap, бŃĐ´ŃŚ лаŃка, перейдіть Đ´Đľ панелі Ń–Đ˝ŃтрŃментів %2$s."],"Your %s dashboard":["ВаŃа панель Ń–Đ˝ŃтрŃментів %s"],"Verify connection":["Перевірте підключення"],"Verify your connection":["Перевірте ваŃе підключення"],"Create a Zap":["Створіть Zap"],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":["Увійдіть Ń Ńвій обліковий Đ·Đ°ĐżĐ¸Ń %1$s та розпочніть Ńтворення Ńвого перŃого account Zap! Зверніть ŃвагŃ: ви можете Ńтворити лиŃе 1 Zap за допомогою тригера події Đ· %2$s. Đ’ межах цього Zap ви можете вибрати ĐľĐ´Đ˝Ń Đ°Đ±Đľ більŃе Đ´Ń–Đą."],"%s API key":["Ключ API %s"],"You'll need this API key later on in %s when you're setting up your Zap.":["Цей ключ API вам знадобитьŃŃŹ пізніŃе в %s під Ń‡Đ°Ń Đ˝Đ°Đ»Đ°ŃŃ‚Ńвання Zap."],"Copy your API key":["Копіювати ключ API"],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":["Щоб налаŃŃ‚Ńвати з’єднання, переконайтеŃŃŹ, що ви Ńкопіювали вказаний нижче ключ API та викориŃтали його для Ńтворення та ввімкнення Zap Ń Đ˛Đ°ŃĐľĐĽŃ ĐľĐ±Đ»Ń–ĐşĐľĐ˛ĐľĐĽŃ Đ·Đ°ĐżĐ¸ŃŃ– %s."],"Manage %s settings":["КерŃвати налаŃŃ‚Ńваннями %s"],"Connect to %s":["Підключити Đ´Đľ %s"],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Đ‘ŃĐ´ŃŚ лаŃка, зверніть ŃвагŃ: щоб цей тренажер працював добре, вам потрібно запŃŃтити Ń–Đ˝ŃтрŃмент, оптимізації даних SEO. ĐдмініŃтратори можŃть зробити це в %1$sSEO > ІнŃтрŃменти%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Ви додали поŃилання на закинŃті Ńтатті та очиŃтили ті, що вже не актŃальні. ЧŃдова робота! Погляньте на підŃŃмок нижче та відзначте, чого ви Đ´ĐľŃягли!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Критично Đ´ĐľŃлідіть вміŃŃ‚ Ń Ń†ŃŚĐľĐĽŃ ŃпиŃĐşŃ Ń‚Đ° зробіть необхідні оновлення. Якщо вам потрібна допомога Đ· оновленням, Ń Đ˝Đ°Ń Ń” %1$sкориŃна Ńтаття в блозі, що допоможе вам Đ· цим%2$s (натиŃніть, щоб відкрити в новій вкладці)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sПотрібні додаткові вказівки? Ми розглянŃли кожен крок Đ±Ń–Đ»ŃŚŃ Đ´ĐµŃ‚Đ°Đ»ŃŚĐ˝Đľ в Ń†ŃŚĐľĐĽŃ ĐżĐľŃібникŃ: %2$sТренажер Đ· викориŃтання закинŃтого вміŃŃ‚Ń %7$s %3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Ви щойно зробили так, щоб Đ˛Đ°Ń Đ˝Đ°ĐąĐşŃ€Đ°Ń‰Đ¸Đą вміŃŃ‚ бŃло легŃе знаходити та підвищŃвати рейтинг! Так тримати! Đ§Đ°Ń Đ˛Ń–Đ´ чаŃŃ Đ˝Đµ забŃвайте перевіряти, чи ваŃŃ– наріжні камені отримŃють Đ´ĐľŃтатньо поŃилань!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["ПодивітьŃŃŹ на ŃпиŃок нижче. Чи ваŃŃ– наріжні камені (позначені %1$s) мають більŃŃ–Ńть внŃтріŃніх поŃилань, які вказŃють на них? НатиŃніть ĐşĐ˝ĐľĐżĐşŃ Â«ĐžĐżŃ‚Đ¸ĐĽŃ–Đ·Ńвати», якщо ви вважаєте, що наріжний камінь потребŃŃ” більŃе поŃилань. Це переведе Ńтаттю на наŃŃ‚Ńпний крок."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["Чи вŃŃ– ваŃŃ– наріжні камені позначені зеленими позначками? Для кращого резŃĐ»ŃŚŃ‚Đ°Ń‚Ń Đ˛Ń–Đ´Ń€ĐµĐ´Đ°ĐłŃйте непозначені!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Які Ńтатті ви бажаєте бачити найвище в рейтингŃ? Які ваŃа аŃдиторія вважає Đ˝Đ°ĐąĐ±Ń–Đ»ŃŚŃ ĐşĐľŃ€Đ¸Ńними та заверŃеними? НатиŃніть на ŃтрілочкŃ, що вказŃŃ” вниз, та перегляньте Ńтатті, що відповідають цим критеріям. Ми автоматично позначимо вибрані вами Đ·Ń– ŃпиŃĐşŃ Ńтатті ŃŹĐş наріжні."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sПотрібна допомога? Ми детально опиŃали кожен крок Ń: %2$sĐŻĐş кориŃŃ‚ŃватиŃŃŹ тренажером %7$s Đ·Ń– Ńтворення наріжної інформації%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Таблиця Đ·ĐĽŃ–ŃŃ‚Ń Yoast"],"Yoast Related Links":["Пов'язані поŃилання Yoast"],"Finish optimizing":["ЗаверŃити оптимізацію"],"You've finished adding links to this article.":["Ви закінчили додавати поŃилання Đ´Đľ цієї Ńтатті."],"Optimize":["ОптимізŃвати"],"Added to next step":["Додано Đ´Đľ наŃŃ‚Ńпного крокŃ"],"Choose cornerstone articles...":["Вибрати наріжні Ńтатті..."],"Loading data...":["Завантаження даних..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Ви ще не очиŃтили або не оновили Ńтатті за допомогою цього тренŃвання. Щойно ви це зробите - резŃльтат ваŃої роботи Đ·'явитьŃŃŹ Ń‚ŃŃ‚."],"Skipped":["ПропŃщено"],"Hidden from search engines.":["Приховати від поŃŃкових ŃиŃтем."],"Removed":["Видалено"],"Improved":["Покращено"],"Resolution":["Đ Ń–Ńення"],"Loading redirect options...":["Завантаження параметрів перенаправлення..."],"Remove and redirect":["Видалити та перенаправити"],"Custom url:":["КориŃŃ‚Ńвацький url:"],"Related article:":["Пов'язані Ńтатті:"],"Home page:":["ДомаŃня Ńторінка:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Ви збираєтеŃŃŹ видалити %1$s%2$s%3$s. Щоб запобігти помилкам 404 на ваŃĐľĐĽŃ Ńайті, вам Ńлід перенаправляти його на Ń–Đ˝ŃŃ ŃŃ‚ĐľŃ€Ń–Đ˝ĐşŃ Ńвого ŃайтŃ. ĐšŃди б ви хотіли перенаправляти?"],"SEO Workout: Remove article":["ТренŃвання SEO: видалити Ńтаттю"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["ĐŁŃе виглядає чŃдово! На ваŃĐľĐĽŃ Ńайті ми не знайŃли Ńтатей ŃтарŃих ŃеŃти ĐĽŃ–Ńяців Đ· невеликою кількіŃтю поŃилань. Виконайте ĐżĐµŃ€ĐµĐ˛Ń–Ń€ĐşŃ ĐżŃ–Đ·Đ˝Ń–Ńе, щоб отримати рекомендації Đ· очищення!"],"Hide from search engines":["Приховати від поŃŃкових ŃиŃтем"],"Improve":["Покращити"],"Are you sure you wish to hide this article from search engines?":["Ви впевнені, що хочете приховати цю Ńтаттю від поŃŃкових ŃиŃтем?"],"Action":["Дія"],"You've hidden this article from search engines.":["Ви приховали цю Ńтаттю від поŃŃкових ŃиŃтем."],"You've removed this article.":["Ви видалили цю Ńтаттю."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Наразі ви не вибрали жодної Ńтатті для покращення. ĐŁ попередніх кроках виберіть кілька Ńтатей, щоб додати поŃилання на них, Ń– ми покажемо вам пропозиції поŃилань Ń‚ŃŃ‚. "],"Loading link suggestions...":["Завантаження пропозицій поŃилань..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["Ми не знайŃли пропозицій для цієї Ńтатті, але, безперечно, ви можете додати поŃилання на Ńтатті, які ви вважаєте пов'язаними. "],"Skip":["ПропŃŃтити"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Ви не обрали жодної Ńтатті для цього крокŃ. Ви можете зробити це в ĐżĐľĐżĐµŃ€ĐµĐ´Đ˝ŃŚĐľĐĽŃ ĐşŃ€ĐľŃ†Ń–."],"Is it up-to-date?":["Це актŃально?"],"Last Updated":["ĐžŃтаннє оновлення"],"You've moved this article to the next step.":["Ви перенеŃли цю Ńтаттю на наŃŃ‚Ńпний крок."],"Unknown":["Невідомо"],"Clear summary":["ОчиŃтити резŃльтати"],"Add internal links towards your orphaned articles.":["Додайте внŃтріŃні поŃилання Đ´Đľ ваŃих Ńтатей-Ńиріт."],"Should you update your article?":["Чи треба вам оновлювати Ńтаттю?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Đ’Đ°Ń Ńайт можливо ĐĽŃ–Ńтить багато Ńтвореної колиŃŃŚ інформації, Đ´Đľ якої ніколи не звертаютьŃŃŹ. Важливо переглянŃти Ń—Ń— та зрозŃміти, чи цей вміŃŃ‚ вŃе ще релевантний для ваŃого ŃайтŃ. Đ’Đ´ĐľŃконалити його чи видалити?"],"Start: Love it or leave it?":["Почати: або так, або ніяк?"],"Clean up your unlinked content to make sure people can find it":["ОчиŃтіть незв'язаний вміŃŃ‚, щоб переконатиŃŃŹ, що люди можŃть знайти його"],"I've finished this workout":["ĐŻ заверŃив це тренŃвання"],"Reset this workout":["СкинŃти тренŃвання"],"Well done!":["ЧŃдова робота!"],"Add internal links towards your cornerstones":["Đ’Ńтавте внŃтріŃні поŃилання на Đ˝Đ°Ń€Ń–Đ¶Đ˝Ń Ń–Đ˝Ń„ĐľŃ€ĐĽĐ°Ń†Ń–ŃŽ"],"Check the number of incoming internal links of your cornerstones":["Перевірте кількіŃть вхідних внŃтріŃніх поŃилань наріжної інформації"],"Start: Choose your cornerstones!":["Початок: оберіть Ńвій ключовий вміŃŃ‚!"],"The cornerstone approach":["Đ—ĐĽŃ–Ńтовний підхід"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Đ‘ŃĐ´ŃŚ лаŃка, заŃважте: Щоб цей тренажер добре працював Đą надавав пропозиції для розміщення поŃилань, вам потрібно запŃŃтити Ń–Đ˝ŃтрŃмент для SEO-оптимізації даних. ĐдмініŃтратори можŃть запŃŃтити його в %1$sSEO > ІнŃтрŃменти%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":["Зверніть ŃвагŃ: Đ’Đ°Ń Đ°Đ´ĐĽŃ–Đ˝Ń–Ńтратор відключив Ń„Ńнкцію наріжного каменю в налаŃŃ‚Ńваннях SEO. Якщо ви хочете викориŃтовŃвати це тренажер, його Ńлід ŃвімкнŃти."],"I've finished this step":["ĐŻ заверŃив цей крок "],"Revise this step":["Перегляньте цей крок"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["Ми не змогли знайти внŃтріŃні поŃилання на ваŃих Ńторінках. Đбо ви ще не додали жодного внŃтріŃнього поŃилання на вміŃŃ‚, або Yoast SEO не проіндекŃŃвав Ń—Ń…. Щоб Yoast SEO проіндекŃŃвав поŃилання, запŃŃтіть SEO-оптимізацію даних Ń Ń€ĐľĐ·Đ´Ń–Đ»Ń– SEO > ІнŃтрŃменти."],"Incoming links":["Вхідні поŃилання"],"Edit to add link":["РедагŃвати, щоб додати поŃилання"],"%s incoming link":["%s вхідне поŃилання","%s вхідних поŃилань","%s вхідних поŃилань"],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Наразі Ń Đ˛Đ°Ń Đ˝ĐµĐĽĐ°Ń” Ńтатей, позначених ŃŹĐş наріжні. Коли ви позначите Ńтатті ŃŹĐş наріжні, вони Đ·'являтьŃŃŹ Ń‚ŃŃ‚."],"Focus keyphrase":["ФокŃŃне ключове Ńлово"],"Article":["Стаття"],"Readability score":["Оцінка читабельноŃті"],"SEO score":["Оцінка SEO"],"Copy failed":["Не вдалоŃŃŹ Ńкопіювати"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Покращте ранжŃвання для вŃієї наріжної інформації за допомогою цього %1$sпокрокового тренажерŃ!%2$s"],"Rank with articles you want to rank with":["КлаŃифікŃйте Ńтатті, за якими ви хочете оцінити рейтинг"],"Descriptive text":["ОпиŃовий текŃŃ‚"],"Show the descriptive text":["Показати опиŃовий текŃŃ‚"],"Show icon":["Показати іконкŃ"],"Yoast Estimated Reading Time":["Орієнтовний Ń‡Đ°Ń Ń‡Đ¸Ń‚Đ°Đ˝Đ˝ŃŹ Yoast"],"Shows an estimated reading time based on the content length.":["Відображає орієнтовний Ń‡Đ°Ń Ń‡Đ¸Ń‚Đ°Đ˝Đ˝ŃŹ на ĐľŃнові довжини вміŃŃ‚Ń."],"reading time":["Ń‡Đ°Ń Ń‡Đ¸Ń‚Đ°Đ˝Đ˝ŃŹ"],"content length":["довжина вміŃŃ‚Ń"],"Estimated reading time:":["Орієнтовний Ń‡Đ°Ń Ń‡Đ¸Ń‚Đ°Đ˝Đ˝ŃŹ:"],"minute":["хвилина","хвилини","хвилин"],"Settings":["НалаŃŃ‚Ńвання"],"OK":["OK"],"Close":["Закрити"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["ПерŃе SEO-ріŃення для WordPress, що Ń” Ńправжнім вŃе-в-ĐľĐ´Đ˝ĐľĐĽŃ ĐżĐ°ĐşĐµŃ‚ĐľĐĽ, який ĐĽŃ–Ńтить вбŃдований аналіз вміŃŃ‚Ń, XML-мапи ŃĐ°ĐąŃ‚Ń Ń– багато Ń–Đ˝Ńого."],"Type":["Тип"],"Team Yoast":["Команда Yoast"],"Orphaned content":["СирітŃький вміŃŃ‚"],"Synonyms":["Синоніми"],"Internal linking suggestions":["Пропозиції щодо внŃтріŃнього зв'ŃŹĐ·ĐşŃ"],"Enter a related keyphrase to calculate the SEO score":["Введіть ŃŃ…ĐľĐ¶Ń ĐşĐ»ŃŽŃ‡ĐľĐ˛Ń Ń„Ń€Đ°Đ·Ń Đ´Đ»ŃŹ обчиŃлення оцінки SEO"],"Related keyphrase":["Схожа ключова фраза"],"Add related keyphrase":["Додати Ńхоже ключове Ńлово"],"Analysis results":["РезŃльтати аналізŃ"],"Help on choosing the perfect keyphrase":["Допомога Ń Đ˛Đ¸Đ±ĐľŃ€Ń– бездоганної ключової фрази"],"Help on keyphrase synonyms":["Допомога Ń Đ˛Đ¸Đ±ĐľŃ€Ń– Ńинонімів ключової фрази"],"Keyphrase":["Ключова фраза"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Новий URL: {{link}}%s{{/link}}"],"Undo":["СкаŃŃвати"],"Redirect created":["ПереŃпрямŃвання Ńтворено"],"%s just created a redirect from the old URL to the new URL.":["%s щойно Ńтворив переŃпрямŃвання Đ·Ń– Ńтарого URL на новий."],"Old URL: {{link}}%s{{/link}}":["Старий URL: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Синоніми ключової фрази"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":["СталаŃŃŹ помилка: Premium SEO аналіз не працює, ŃŹĐş Ńлід. Đ‘ŃĐ´ŃŚ лаŃка, {{activateLink}}активŃйте підпиŃĐşŃ Đ˛ MyYoast{{/activateLink}}, а потім {{reloadButton}}перезавантажте ŃторінкŃ{{/reloadButton}} для коректної роботи."],"seo":["seo"],"internal linking":["внŃтріŃні поŃилання"],"site structure":["ŃтрŃктŃра ŃайтŃ"],"We could not find any relevant articles on your website that you could link to from your post.":["Ми не змогли знайти на ваŃĐľĐĽŃ Ńайті відповідні Ńтатті, на які ви могли б поŃлатиŃŃŹ в ŃĐ˛ĐľŃ”ĐĽŃ Đ·Đ°ĐżĐ¸ŃŃ–."],"Load suggestions":["Завантажити пропозиції"],"Refresh suggestions":["Оновити пропозиції"],"Write list…":["СклаŃти ŃпиŃок…"],"Adds a list of links related to this page.":["Додає перелік поŃилань, пов'язаних Đ· цією Ńторінкою."],"related posts":["Ńхожі запиŃи"],"related pages":["Ńхожі Ńторінки"],"Adds a table of contents to this page.":["Додає таблицю вміŃŃ‚Ń Đ´Đľ цієї Ńторінки."],"links":["поŃилання"],"toc":["Đ·ĐĽŃ–ŃŃ‚"],"Copy link":["Скопіювати поŃилання"],"Copy link to suggested article: %s":["Скопіюйте поŃилання Đ´Đľ пропонованої Ńтатті: %s"],"Add a title to your post for the best internal linking suggestions.":["Додайте заголовок Đ´Đľ запиŃŃ Đ´Đ»ŃŹ кращих пропозицій внŃтріŃніх поŃилань."],"Add a metadescription to your post for the best internal linking suggestions.":["Додайте ĐĽĐµŃ‚Đ°ĐľĐżĐ¸Ń Đ´Đľ запиŃŃ Đ´Đ»ŃŹ кращих пропозицій внŃтріŃніх поŃилань."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["Додайте заголовок та ĐĽĐµŃ‚Đ°ĐľĐżĐ¸Ń Đ´Đľ запиŃŃ Đ´Đ»ŃŹ кращих пропозицій внŃтріŃніх поŃилань."],"Also, add a title to your post for the best internal linking suggestions.":["Також додайте заголовок Đ´Đľ запиŃŃ Đ´Đ»ŃŹ кращих пропозицій внŃтріŃніх поŃилань."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Також додайте ĐĽĐµŃ‚Đ°ĐľĐżĐ¸Ń Đ´Đ»ŃŹ кращої пропозиції внŃтріŃніх поŃилань."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Також додайте заголовок та ĐĽĐµŃ‚Đ°ĐľĐżĐ¸Ń Đ´Đ»ŃŹ кращої пропозиції внŃтріŃніх поŃилань."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Щойно ви додаŃте ще трохи копій, ми надамо вам перелік пов'язаного контентŃ, на який ви зможете поŃилатиŃŃŚ Ń Đ˛Đ°Ńих запиŃах."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Щоб покращити ŃтрŃктŃŃ€Ń ŃайтŃ, подŃмайте над релевантними запиŃами чи Ńторінками на ваŃĐľĐĽŃ Ńайті."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Треба кілька ŃекŃнд, щоб відобразити перелік пов'язаного вміŃŃ‚Ń, на який ви зможете поŃилатиŃŃŹ. Пропозиції відображатимŃтьŃŃŹ Ń‚ŃŃ‚ щойно ми Ń—Ń… отримаємо."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["Щоб дізнатиŃŃŹ більŃе, {{a}}прочитайте Đ˝Đ°Ń ĐżĐľŃібник Đ· внŃтріŃніх поŃилань для SEO{{/a}}."],"Copied!":["Скопійовано!"],"Not supported!":["Не підтримŃєтьŃŃŹ!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["НамагаєтеŃŃŹ викориŃтати кілька пов'язаних ключових фраз? Додавайте Ń—Ń… окремо."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["ВаŃа ключова фраза задовга. Вона не може перевищŃвати 191 Ńимвол."],"Add as related keyphrase":["Додати ŃŹĐş ŃŃ…ĐľĐ¶Ń ĐşĐ»ŃŽŃ‡ĐľĐ˛Ń Ń„Ń€Đ°Đ·Ń"],"Added!":["Додано!"],"Remove":["Видалити"],"Table of contents":["Đ—ĐĽŃ–ŃŃ‚"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["Нам потрібно оптимізŃвати дані SEO ваŃого ŃайтŃ, щоб ми могли запропонŃвати вам найкращі %1$sпропозиції поŃилань%2$s. %3$sРозпочніть оптимізацію даних SEO%4$s"],"Create a Zap in %s":["Створіть Zap Ń %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-vi.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-vi.json new file mode 100644 index 00000000..4002ce81 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-vi.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=1; plural=0;","lang":"vi_VN"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":[],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":[],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[],"Generate titles & descriptions with Yoast AI!":[],"New to %1$s":[],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":[],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":[],"Social preview":[],"Desktop result":[],"Mobile result":[],"Apply %s description":[],"Apply %s title":[],"Next":[],"Previous":[],"Generate 5 more":[],"Google preview":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":[],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":[],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":[],"%1$sKeyphrase distribution%2$s: Good job!":[],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[],"Word complexity":[],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":[],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":[],"Meta tags":[],"Not available":[],"Checks":[],"Focus Keyphrase":[],"Good":[],"No index":[],"Front-end SEO inspector":[],"Focus keyphrase not set":[],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":[],"Reset API key":[],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":[],"Your API key":[],"Go to your %s dashboard":[],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":[],"Your %s dashboard":[],"Verify connection":["Xác nháş­n káşżt nối"],"Verify your connection":["Xác nháş­n káşżt nối cá»§a bạn"],"Create a Zap":[],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":[],"%s API key":[],"You'll need this API key later on in %s when you're setting up your Zap.":[],"Copy your API key":[],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":[],"Manage %s settings":[],"Connect to %s":[],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Xin lưu Ă˝: Äối vá»›i bĂ i táş­p nĂ y hoạt động tốt, bạn cáş§n chạy cĂ´ng cụ tối ưu hĂła dữ liệu SEO. Quản trị viĂŞn cĂł thá» chạy theo %1$sSEO > Tools%2$s."],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["Bạn đã thĂŞm các liĂŞn káşżt đến các bĂ i viáşżt mồ cĂ´i cá»§a bạn vĂ  bạn đã dọn sạch những thứ khĂ´ng còn phĂą hợp. Bạn đã lĂ m rất tốt! HĂŁy xem tĂłm tắt dưới đây vĂ  Än mừng những gì bạn đã hoĂ n thĂ nh!"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["Kiá»m tra nghiĂŞm trọng ná»™i dung trong danh sách nĂ y vĂ  thá»±c hiện các bản cáş­p nháş­t cáş§n thiáşżt. Náşżu bạn cáş§n giĂşp cáş­p nháş­t, chĂşng tĂ´i cĂł rất nhiá»u %1$sBĂ i Ä‘Äng blog hữu Ă­ch cĂł thá» hướng dáş«n bạn tất cả các cách%2$s (nhấp đỠmở trong má»™t tab má»›i)."],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$sCáş§n nhiá»u hướng dáş«n? ChĂşng tĂ´i đã bao gồm từng bước chi tiáşżt hơn trong hướng dáş«n sau:%2$s Cách sá»­ dụng bĂ i táş­p vá» ná»™i dung mồ cĂ´i %7$s%3$s%4$s%5$s.%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["Bạn vừa lĂ m cho ná»™i dung tốt nhất cá»§a mình dá»… tìm vĂ  cĂł nhiá»u khả nÄng xáşżp hạng hơn! Tốt thĂ´i! Thỉnh thoảng, hĂŁy nhá»› kiá»m tra xem ná»n tảng cá»§a bạn cĂł nháş­n đủ liĂŞn káşżt hay khĂ´ng!"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["HĂŁy xem danh sách dưới đây. LĂ m ná»n tảng cá»§a bạn (được đánh dấu báş±ng%1$s) cĂł nhiá»u liĂŞn káşżt ná»™i bá»™ nhất hướng vá» chĂşng khĂ´ng? Nhấp vĂ o nĂşt Tối ưu hĂła náşżu bạn nghÄ© ráş±ng má»™t ná»n tảng cáş§n nhiá»u liĂŞn káşżt hơn. Äiá»u đó sáş˝ chuyá»n bĂ i viáşżt sang bước tiáşżp theo."],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["LĂ m tất cả các gĂłc cá»§a bạn cĂł đạn xanh? Äá» cĂł káşżt quả tốt nhất, hĂŁy xem xĂ©t chỉnh sá»­a những người khĂ´ng!"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["Những bĂ i viáşżt nĂ o bạn muốn xáşżp hạng cao nhất? Những người khán giả cá»§a bạn sáş˝ tìm thấy sá»± hữu Ă­ch vĂ  đầy đủ nhất? Nhấp vĂ o mĹ©i tĂŞn hướng xuống vĂ  tìm các bĂ i viáşżt phĂą hợp vá»›i các tiĂŞu chĂ­ đó. ChĂşng tĂ´i sáş˝ tá»± động đánh dấu các bĂ i viáşżt bạn chọn từ danh sách dưới dạng ná»n tảng."],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$sCáş§n thĂŞm hướng dáş«n? ChĂşng tĂ´i đã trình bĂ y chi tiáşżt hơn từng bước trong:%2$s. Cách sá»­ dụng bĂ i táş­p ná»n tảng%7$s%3$s%4$s%5$s.%6$s"],"Yoast Table of Contents":["Mục lục cá»§a Yoast"],"Yoast Related Links":["LiĂŞn káşżt liĂŞn quan đến Yoast."],"Finish optimizing":["HoĂ n tất tối ưu hĂła"],"You've finished adding links to this article.":["Bạn đã hoĂ n tất việc thĂŞm liĂŞn káşżt vĂ o bĂ i viáşżt nĂ y."],"Optimize":["Tối ưu hĂła"],"Added to next step":["ÄĂŁ thĂŞm vĂ o bước tiáşżp theo"],"Choose cornerstone articles...":["Chọn các bĂ i viáşżt quan trọng..."],"Loading data...":["Äang tải dữ liệu..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["Bạn chưa dọn dáşąp hoáş·c cáş­p nháş­t bất kỳ bĂ i viáşżt nĂ o báş±ng cách sá»­ dụng bĂ i táş­p nĂ y. Sau khi bạn thá»±c hiện, bản tĂłm tắt cĂ´ng việc cá»§a bạn sáş˝ hiá»n thị ở đây."],"Skipped":["ÄĂŁ bỏ qua"],"Hidden from search engines.":["Ẩn khỏi cĂ´ng cụ tìm kiáşżm."],"Removed":["ÄĂŁ xĂła"],"Improved":["ÄĂŁ cải thiện"],"Resolution":["Äiá»u quyáşżt định"],"Loading redirect options...":[],"Remove and redirect":["XĂła vĂ  chuyá»n hướng"],"Custom url:":["Url tĂąy chỉnh:"],"Related article:":["BĂ i viáşżt liĂŞn quan:"],"Home page:":["Trang chá»§:"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["Bạn sắp xĂła %1$s%2$s%3$s. Äá» ngÄn cháş·n các lá»—i 404 trĂŞn trang web cá»§a bạn, bạn nĂŞn chuyá»n hướng nĂł đến má»™t trang khác trĂŞn trang web cá»§a mình. Bạn muốn chuyá»n hướng nĂł đến đâu?"],"SEO Workout: Remove article":["Táş­p luyện SEO: XĂła bĂ i viáşżt"],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["Mọi thứ Ä‘á»u tốt! ChĂşng tĂ´i khĂ´ng tìm thấy bất kỳ bĂ i viáşżt nĂ o trĂŞn trang web cá»§a bạn cĹ© hơn sáu tháng vĂ  nháş­n được quá Ă­t liĂŞn káşżt trĂŞn trang web cá»§a bạn. Kiá»m tra lại tại đây sau đỠbiáşżt các đỠxuất dọn dáşąp má»›i!"],"Hide from search engines":["Ẩn khỏi cĂ´ng cụ tìm kiáşżm"],"Improve":["Cải thiện"],"Are you sure you wish to hide this article from search engines?":["Bạn cĂł chắc chắn muốn áş©n bĂ i viáşżt nĂ y khỏi các cĂ´ng cụ tìm kiáşżm khĂ´ng?"],"Action":["HĂ nh động "],"You've hidden this article from search engines.":["Bạn đã áş©n bĂ i viáşżt nĂ y khỏi các cĂ´ng cụ tìm kiáşżm."],"You've removed this article.":["Bạn đã xĂła bĂ i viáşżt nĂ y."],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["Bạn hiện chưa chọn bất kỳ bĂ i viáşżt nĂ o đỠcải thiện. Chọn má»™t vĂ i bĂ i viáşżt trong các bước trước đỠthĂŞm liĂŞn káşżt vĂ o vĂ  chĂşng tĂ´i sáş˝ hiá»n thị cho bạn các đỠxuất liĂŞn káşżt tại đây."],"Loading link suggestions...":["Äang tải các đỠxuất liĂŞn káşżt ..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["ChĂşng tĂ´i khĂ´ng tìm thấy bất kỳ đỠxuất nĂ o cho bĂ i viáşżt nĂ y, nhưng tất nhiĂŞn bạn váş«n cĂł thá» thĂŞm liĂŞn káşżt đến các bĂ i viáşżt mĂ  bạn cho lĂ  cĂł liĂŞn quan."],"Skip":["Bỏ qua"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["Bạn chưa chọn bất kỳ bĂ i viáşżt nĂ o cho bước nĂ y. Bạn cĂł thá» lĂ m như váş­y ở bước trước."],"Is it up-to-date?":["NĂł lĂ  má»›i nhất phải khĂ´ng?"],"Last Updated":["Cáş­p nháş­t má»›i nhất"],"You've moved this article to the next step.":["Bạn đã chuyá»n bĂ i viáşżt nĂ y sang bước tiáşżp theo."],"Unknown":["KhĂ´ng xác định"],"Clear summary":["TĂłm tắt rõ rĂ ng"],"Add internal links towards your orphaned articles.":["ThĂŞm liĂŞn káşżt ná»™i bá»™ đến các \"bĂ i viáşżt mồ cĂ´i\" cá»§a bạn."],"Should you update your article?":["CĂł phải bạn nĂŞn cáş­p nháş­t bĂ i viáşżt cá»§a mình?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["Trang web cá»§a bạn thường chứa nhiá»u ná»™i dung được tạo má»™t láş§n vĂ  khĂ´ng bao giờ nhìn lại sau đó. Äiá»u quan trọng lĂ  phải xem qua những Ä‘iá»u nĂ y vĂ  tá»± hỏi bản thân xem ná»™i dung nĂ y cĂł còn liĂŞn quan đến trang web cá»§a bạn hay khĂ´ng. TĂ´i nĂŞn cải thiện hay loại bỏ nĂł?"],"Start: Love it or leave it?":["Bắt đầu: YĂŞu thĂ­ch nĂł hay rời bỏ nĂł?"],"Clean up your unlinked content to make sure people can find it":["Dọn dáşąp ná»™i dung khĂ´ng được liĂŞn káşżt cá»§a bạn đỠđảm bảo mọi người cĂł thá» tìm thấy nĂł"],"I've finished this workout":["TĂ´i đã hoĂ n thĂ nh bĂ i táş­p nĂ y"],"Reset this workout":["Äáş·t lại bĂ i táş­p nĂ y"],"Well done!":["Tốt lắm!"],"Add internal links towards your cornerstones":["ThĂŞm liĂŞn káşżt ná»™i bá»™ vĂ o ná»n tảng cá»§a bạn"],"Check the number of incoming internal links of your cornerstones":["Kiá»m tra số lượng các LiĂŞn Káşżt Ná»™i Bá»™ Äáşżn trĂŞn các bĂ i viáşżt quan trọng (cornerstones) cá»§a bạn."],"Start: Choose your cornerstones!":["Bắt đầu: Chọn ná»™i dung quan trọng cá»§a bạn!"],"The cornerstone approach":["Phương pháp tiáşżp cáş­n ná»n tảng"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["Xin lưu Ă˝: Äá» bĂ i táş­p nĂ y hoạt động tốt vĂ  cung cấp cho bạn các đỠxuất liĂŞn káşżt, bạn cáş§n chạy cĂ´ng cụ tối ưu hĂła dữ liệu SEO. Quản trị viĂŞn cĂł thá» chạy Ä‘iá»u nĂ y trong %1$sSEO > Tools%2$s."],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":["TĂ´i đã hoĂ n thĂ nh bước nĂ y"],"Revise this step":["Sá»­a lại bước nĂ y"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["ChĂşng tĂ´i khĂ´ng thá» tìm thấy các liĂŞn káşżt ná»™i bá»™ trĂŞn các trang cá»§a bạn. Hoáş·c bạn chưa thĂŞm bất kỳ liĂŞn káşżt ná»™i bá»™ nĂ o vĂ o ná»™i dung cá»§a bạn hoáş·c Yoast SEO đã khĂ´ng láş­p chỉ mục chĂşng. Bạn cĂł thá» cĂł chỉ mục Yoast SEO liĂŞn káşżt cá»§a mình báş±ng cách chạy tối ưu hĂła dữ liệu SEO theo SEO> CĂ´ng cụ."],"Incoming links":["LiĂŞn káşżt đến."],"Edit to add link":["Chỉnh sá»­a đỠthĂŞm liĂŞn káşżt"],"%s incoming link":[],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["Bạn hiện khĂ´ng cĂł bĂ i báo nĂ o được đánh dấu lĂ  ná»n tảng. Khi bạn đánh dấu bĂ i viáşżt cá»§a mình lĂ  ná»n tảng, chĂşng sáş˝ hiá»n thị ở đây."],"Focus keyphrase":["BĂ n phĂ­m táş­p trung"],"Article":["BĂ i viáşżt"],"Readability score":["Äiá»m đọc"],"SEO score":["Äiá»m SEO"],"Copy failed":["Sao chĂ©p thất bại"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["Cải thiện thứ hạng cho tất cả các ná»n tảng cá»§a bạn báş±ng cách sá»­ dụng bĂ i táş­p %1$s từng bước nĂ y!%2$s"],"Rank with articles you want to rank with":["Xáşżp hạng vá»›i các bĂ i viáşżt bạn muốn xáşżp hạng vá»›i"],"Descriptive text":["Äoạn vÄn mĂ´ tả"],"Show the descriptive text":["Hiá»n thị Ä‘oạn vÄn mĂ´ tả"],"Show icon":["Hiá»n thị icon"],"Yoast Estimated Reading Time":["Thời gian đọc do Yoast ước tĂ­nh"],"Shows an estimated reading time based on the content length.":["Hiá»n thị thời gian đọc ước lượng dá»±a trĂŞn độ dĂ i ná»™i dung."],"reading time":["thời gian đọc"],"content length":["độ dĂ i ná»™i dung"],"Estimated reading time:":["Thời gian đọc ướng tĂ­nh:"],"minute":["phĂşt"],"Settings":["Thiáşżt đặt"],"OK":["OK"],"Close":["ÄĂłng"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["Giải pháp SEO tất cả trong má»™t chĂ­nh xác đầu tiĂŞn cho Wordpress, bao gồm phân tĂ­ch ná»™i dung trĂŞn trang, bản đồ site XML vĂ  nhiá»u hơn nữa."],"Type":["Loại"],"Team Yoast":["Äá»™i ngĹ© Yoast"],"Orphaned content":["Ná»™i dung đơn láş»"],"Synonyms":["Từ đồng nghÄ©a"],"Internal linking suggestions":["Äá» xuất liĂŞn káşżt ná»™i bá»™"],"Enter a related keyphrase to calculate the SEO score":["Nháş­p cụm từ khĂła cĂł liĂŞn quan đỠtĂ­nh Ä‘iá»m SEO"],"Related keyphrase":["Cụm từ khĂła cĂł liĂŞn quan"],"Add related keyphrase":["ThĂŞm cụm từ khĂła liĂŞn quan"],"Analysis results":["Káşżt quả phân tĂ­ch"],"Help on choosing the perfect keyphrase":["Trợ giĂşp vá» cách chọn cụm từ khĂła hoĂ n hảo"],"Help on keyphrase synonyms":["Trợ giĂşp cụm từ khĂła đồng nghÄ©a"],"Keyphrase":["Cụm từ khĂła"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO Premium"],"New URL: {{link}}%s{{/link}}":["Äường dáş«n má»›i: {{link}}%s{{/link}}"],"Undo":["khĂ´i phục"],"Redirect created":["Äường dáş«n đã được tạo"],"%s just created a redirect from the old URL to the new URL.":["%s vừa tạo ra má»™t chuyá»n hướng từ URL cĹ© đến URL má»›i"],"Old URL: {{link}}%s{{/link}}":["Äường dáş«n cĹ©: {{link}}%s{{/link}}"],"Keyphrase synonyms":["Từ khĂła tương đương"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[],"seo":["seo"],"internal linking":["liĂŞn káşżt ná»™i bá»™"],"site structure":["cấu trĂşc trang"],"We could not find any relevant articles on your website that you could link to from your post.":["ChĂşng tĂ´i khĂ´ng thá» tìm thấy bất cứ chuyĂŞn mục thĂ­ch hợp nĂ o trĂŞn website đỠbạn cĂł thá» liĂŞn káşżt từ bĂ i viáşżt cá»§a bạn."],"Load suggestions":["Tải gợi Ă˝"],"Refresh suggestions":["LĂ m má»›i các gợi Ă˝"],"Write list…":["Viáşżt danh sách..."],"Adds a list of links related to this page.":["ThĂŞm danh sách những liĂŞn káşżt liĂŞn quan đến trang nĂ y."],"related posts":["bĂ i viáşżt liĂŞn quan"],"related pages":["trang liĂŞn quan"],"Adds a table of contents to this page.":["ThĂŞm mục lục vĂ o trang nĂ y"],"links":["liĂŞn káşżt"],"toc":["toc"],"Copy link":["Copy link"],"Copy link to suggested article: %s":["Copy link tá»›i chuyĂŞn mục được đỠxuất: %s"],"Add a title to your post for the best internal linking suggestions.":["ThĂŞm má»™t tiĂŞu đỠcho bĂ i viáşżt dĂ nh cho đỠxuất liĂŞn káşżt liĂŞn quan tốt nhất."],"Add a metadescription to your post for the best internal linking suggestions.":["ThĂŞm má»™t mĂ´ tả meta cho bĂ i viáşżt cá»§a bạn dĂ nh cho đỠxuất liĂŞn káşżt liĂŞn quan tốt nhất."],"Add a title and a metadescription to your post for the best internal linking suggestions.":["ThĂŞm má»™t tiĂŞu đỠvĂ  mĂ´ tả meta cho bĂ i viáşżt cá»§a bạn dĂ nh cho đỠxuất liĂŞn káşżt liĂŞn quan tốt nhất."],"Also, add a title to your post for the best internal linking suggestions.":["Äồng thời, thĂŞm tiĂŞu đỠvĂ o bĂ i viáşżt cá»§a bạn đỠcĂł các gợi Ă˝ liĂŞn káşżt ná»™i bá»™ tốt nhất."],"Also, add a metadescription to your post for the best internal linking suggestions.":["Äồng thời, thĂŞm má»™t mĂ´ tả meta vĂ o bĂ i viáşżt cá»§a bạn dĂ nh cho các gợi Ă˝ liĂŞn káşżt ná»™i bá»™ tốt nhất."],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["Äồng thời, thĂŞm má»™t tiĂŞu đỠvĂ  mĂ´ tả meta vĂ o bĂ i viáşżt cá»§a bạn dĂ nh cho các gợi Ă˝ liĂŞn káşżt ná»™i bá»™ tốt nhất."],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["Má»™t khi bạn thĂŞm má»™t lượng copy, chĂşng tĂ´i sáş˝ dĂ nh cho bạn má»™t danh sách ná»™i dung liĂŞn quan tại đây đỠbạn cĂł thá» liĂŞn káşżt vĂ o bĂ i viáşżt."],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["Äá» cải thiện cấu trĂşc website, cân nhắc liĂŞn káşżt đến các bĂ i viáşżt hoáş·c trang liĂŞn quan khác trĂŞn website cá»§a bạn."],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["Mất vĂ i giây đỠhiá»n thị cho bạn má»™t danh sách ná»™i dung liĂŞn quan đến những gì bạn cĂł thá» liĂŞn káşżt. Những đỠxuất sáş˝ được hiá»n thị tại đây ngay khi chĂşng tĂ´i cĂł."],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{a}}Äọc hướng dáş«n vá» liĂŞn káşżt ná»™i bá»™ dĂ nh cho SEO{{/a}} đỠtìm hiá»u thĂŞm."],"Copied!":["ÄĂŁ copy!"],"Not supported!":["KhĂ´ng được há»— trợ!"],"Are you trying to use multiple related keyphrases? You should add them separately.":["CĂł phải bạn Ä‘ang cố sá»­ dụng nhiá»u cụm từ khĂła liĂŞn quan? Bạn nĂŞn thĂŞm chĂşng riĂŞng biệt."],"Your keyphrase is too long. It can be a maximum of 191 characters.":["Cụm từ khĂła cá»§a bạn quá dĂ i. Chỉ nĂŞn giá»›i hạn tối Ä‘a 191 kĂ˝ tá»±."],"Add as related keyphrase":["ThĂŞm như cụm từ liĂŞn quan"],"Added!":["ÄĂŁ thĂŞm!"],"Remove":["Gỡ bỏ"],"Table of contents":["Bảng ná»™i dung"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["ChĂşng tĂ´i cáş§n tối ưu hĂła dữ liệu SEO cá»§a trang web cá»§a bạn đỠcĂł thá» cung cấp cho bạn các %1$s đỠxuất liĂŞn káşżt %2$s tốt nhất. %3$s Bắt đầu tối ưu hĂła dữ liệu SEO %4$s"],"Create a Zap in %s":["Tạo má»™t Zap trong %s"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-zh_CN.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-zh_CN.json new file mode 100644 index 00000000..5778af2f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs-zh_CN.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium","plural-forms":"nplurals=1; plural=0;","lang":"zh_CN"},"block keyword\u0004children":[],"block keyword\u0004childpages":[],"block keyword\u0004subpages":[],"block description\u0004Adds a list of internal links to subpages of this page.":[],"block title\u0004Yoast Subpages":[],"block keyword\u0004site structure":[],"block keyword\u0004internal linking":[],"block keyword\u0004siblings pages":[],"block keyword\u0004siblings":[],"block keyword\u0004SEO":[],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[],"block title\u0004Yoast Siblings":[],"Generated %s descriptions":[],"Generated %s titles":[],"Meta description length":[],"SEO title width":[],"The request came back with the following error: \"%s\"":[],"X share preview":[],"AI X title generator":[],"AI X description generator":[],"X preview":[],"Please enter a valid focus keyphrase.":[],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[],"Yoast AI cannot reach your site":[],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[],"Social share preview":[],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[],"You've reached the Yoast AI rate limit.":[],"Allow":["ĺ…许"],"Deny":[],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[],"Text generated by AI may be offensive or inaccurate.":[],"(Opens in a new browser tab)":["ďĽĺś¨ć–°çš„浏č§ĺ™¨é€‰éˇąĺŤˇä¸­ć‰“开)"],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":["ĺ©ç”¨ç”źć式人工智č˝ĺŠ ĺż«ĺ·Ąä˝śćµç¨‹ă€‚为您的ćśç´˘ĺ’Śç¤ľäş¤ĺ¤–观获取é«č´¨é‡Źçš„ć ‡é˘ĺ’ŚćŹŹčż°ĺ»şč®®ă€‚%1$s了解更多%2$s%3$s"],"Generate titles & descriptions with Yoast AI!":["使用 Yoast AI 生ćć ‡é˘ĺ’ŚćŹŹčż°ďĽ"],"New to %1$s":["新加入 %1$s"],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[],"Start generating":[],"Yes, revoke consent":[],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[],"Something went wrong, please try again later.":[],"Revoke AI consent":[],"AI title generator":[],"AI description generator":[],"AI social title generator":[],"AI social description generator":[],"Dismiss":[],"Don’t show again":[],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[],"Try again":["重试"],"Social preview":[],"Desktop result":["桌面结果"],"Mobile result":["移动结果"],"Apply %s description":[],"Apply %s title":[],"Next":["下页"],"Previous":["上页"],"Generate 5 more":[],"Google preview":["谷歌预č§"],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[],"Refresh page":[],"Not enough content":[],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[],"Something went wrong":["出了些问é˘"],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[],"Connection timeout":[],"Use AI":["使用人工智č˝"],"Close modal":[],"Learn more about AI (Opens in a new browser tab)":[],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[],"%1$sTitle%2$s: Your page has a title. Well done!":[],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":["%1$s关关键词短语ĺ†ĺŹ‘%3$s:%2$s在文本中包ĺ«ć‚¨çš„关关键词短语ć–ĺ…¶ĺŚäą‰čŻŤďĽŚä»Ąäľżć‘们检查关关键词短语ĺ†ĺŹ‘%3$s。"],"%1$sKeyphrase distribution%2$s: Good job!":["%1$s关关键词短语ĺ†ĺŹ‘%2$s:ĺľĺĄ˝ďĽ"],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$s关关键词短语ĺ†ĺ¸%3$s:非常不均匀。文本的大é¨ĺ†ä¸ŤĺŚ…ĺ«ĺ…łĺ…łé”®čŻŤć–ĺ…¶ĺŚäą‰čŻŤă€‚%2$s更均匀地ĺ†é…Ťĺ®ä»¬%3$s。"],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":["%1$s关关键词短语ĺ†ĺ¸%3$s:非常不均匀。文本的大é¨ĺ†ä¸ŤĺŚ…ĺ«ĺ…łĺ…łé”®čŻŤć–ĺ…¶ĺŚäą‰čŻŤă€‚%2$s更均匀地ĺ†é…Ťĺ®ä»¬%3$s。"],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[],"Word complexity":[],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[],"Select image":["选择图ĺŹ"],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[],"Overall, your text appears to be %1$s%3$s%2$s.":[],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[],"Maximum heading level":[],"https://yoa.st/team-yoast-premium":[],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[],"Schema":[],"Meta tags":[],"Not available":["不可用"],"Checks":[],"Focus Keyphrase":[],"Good":["äĽč‰Ż"],"No index":["无索引"],"Front-end SEO inspector":[],"Focus keyphrase not set":[],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":[],"Reset API key":[],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":[],"Your API key":[],"Go to your %s dashboard":[],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":[],"Your %s dashboard":[],"Verify connection":[],"Verify your connection":[],"Create a Zap":[],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":[],"%s API key":[],"You'll need this API key later on in %s when you're setting up your Zap.":[],"Copy your API key":[],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":[],"Manage %s settings":[],"Connect to %s":[],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["请注意:č¦ä˝żć­¤é”»ç‚Ľć­Łĺ¸¸ĺ·Ąä˝śďĽŚć‚¨éś€č¦čżčˇŚSEO数据äĽĺŚ–ĺ·Ąĺ…·ă€‚ç®ˇç†ĺ‘可以在%1$sSEO >ĺ·Ąĺ…·%2$s下čżčˇŚć­¤ç¨‹ĺşŹă€‚"],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":["您已经添加了指ĺ‘孤立文章的链接,并且已经清ç†äş†ä¸Ťĺ†Ťç›¸ĺ…łçš„文章。干得好ďĽçś‹çś‹ä¸‹éť˘çš„ć‘č¦ďĽŚĺş†çĄťä˝ ĺŹ–ĺľ—çš„ćĺ°±ďĽ"],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":["严格检查此ĺ—表中的内容并进行必č¦çš„更新。如果您需č¦ć›´ć–°ĺ¸®ĺŠ©ďĽŚć‘们有一个非常%1$s有用的博客文章,可以指导您一路走来%2$sďĽĺŤ•击以在新选项卡中打开)。"],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":["%1$s需č¦ć›´ĺ¤šćŚ‡ĺŻĽďĽźć‘们在以下指南中更详细地介绍了每个步骤:%2$s如何使用%7$s孤立内容锻炼%3$s%4$s%5$s。%6$s"],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":["您只ćŻä˝żćś€ĺĄ˝çš„内容ć“于查找,并且更有可č˝ćŽ’ĺŤďĽĺĄ˝ďĽä¸Ťć—¶ĺś°ďĽŚč®°ĺľ—检查你的基石ćŻĺ¦ćś‰č¶łĺ¤źçš„链接ďĽ"],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":["看看下面的ĺ—表。你的基石ďĽć ‡ćś‰%1$s)ćŻĺ¦ĺ…·ćś‰ćڇĺ‘ĺ®ä»¬çš„大多数内é¨é“ľćŽĄďĽźĺ¦‚ćžść‚¨č®¤ä¸şĺźşçźłéś€č¦ć›´ĺ¤šé“ľćŽĄďĽŚčŻ·ĺŤ•ĺ‡»\"äĽĺŚ–\"按钮。这将把文章移ĺ°ä¸‹ä¸€ć­Ąă€‚"],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":["你所有的基石é˝ćś‰ç»żč‰˛çš„ĺ­ĺĽąĺ—?为了获得最佳ć•果,请č€č™‘编辑那些没有ć•ćžśçš„ďĽ"],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":["您希望哪些文章的排ĺŤćś€é«ďĽźć‚¨çš„受众会发现哪些最有用和最完整?单击ĺ‘下箭头,然ĺŽćźĄć‰ľç¬¦ĺ这些条件的文章。ć‘们会自动将您从ĺ—表中选择的文章标记为基石。"],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":["%1$s需č¦ć›´ĺ¤šćŚ‡ĺŻĽďĽźć‘们在以下方面更详细地介绍了每个步骤:%2$s如何使用%7$s基石锻炼%3$s%4$s%5$s。%6$s"],"Yoast Table of Contents":["Yoast 目录"],"Yoast Related Links":["Yoast相关链接"],"Finish optimizing":["完ćäĽĺŚ–"],"You've finished adding links to this article.":["您已完ćĺ‘本文添加链接。"],"Optimize":["äĽĺŚ–"],"Added to next step":["已添加ĺ°ä¸‹ä¸€ć­Ą"],"Choose cornerstone articles...":["选择基石文章..."],"Loading data...":["正在获取数据..."],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":["您尚未使用此锻炼清ç†ć–更新任何文章。完ćĺŽďĽŚć‚¨çš„工作ć‘č¦ĺ°†ćľç¤şĺś¨ć­¤ĺ¤„。"],"Skipped":["跳过"],"Hidden from search engines.":["对ćśç´˘ĺĽ•擎éšč—Źă€‚"],"Removed":["已移除"],"Improved":["改善"],"Resolution":["ĺ†čľ¨çއ"],"Loading redirect options...":["正在加载重定ĺ‘选项..."],"Remove and redirect":["ĺ é™¤ĺ’Śé‡Ťĺ®šĺ‘"],"Custom url:":["自定义URL"],"Related article:":["相关文章:"],"Home page:":["主页"],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":["您将č¦ĺ é™¤%1$s%2$s%3$s。č¦é˛ć­˘ć‚¨ç˝‘站上出现 404,您应将其重定ĺ‘ĺ°ć‚¨ç˝‘站上的其他网页。您ćłĺ°†ĺ…¶é‡Ťĺ®šĺ‘ĺ°ĺ“Şé‡ŚďĽź"],"SEO Workout: Remove article":["SEO 锻炼:ĺ é™¤ć–‡ç« "],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":["一ĺ‡çś‹čµ·ćťĄé˝ĺľĺĄ˝ďĽć‘们在您的网站上没有发现任何超过六个ćśä¸”在您的网站上收ĺ°çš„链接太少的文章。稍ĺŽĺ†Ťčż”回此处查看新的清ç†ĺ»şč®®ďĽ"],"Hide from search engines":["从ćśç´˘ĺĽ•擎中éšč—Ź"],"Improve":["改善"],"Are you sure you wish to hide this article from search engines?":["您确定č¦ĺŻąćśç´˘ĺĽ•擎éšč—Źć­¤ć–‡ç« ĺ—?"],"Action":["ĺŻĺЍ"],"You've hidden this article from search engines.":["您已从ćśç´˘ĺĽ•擎中éšč—Źäş†čż™çŻ‡ć–‡ç« ă€‚"],"You've removed this article.":["您已ĺ é™¤ć­¤ć–‡ç« ă€‚"],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":["您当前尚未选择č¦ć”ąčż›çš„任何文章。在前面的步骤中选择一些文章以添加链接,ć‘们将在此处ĺ‘您展示链接建议。"],"Loading link suggestions...":["正在加载链接建议..."],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":["ć‘们没有找ĺ°ćś‰ĺ…łćś¬ć–‡çš„任何建议,但当然您仍然可以添加指ĺ‘您认为相关的文章的链接。"],"Skip":["跳过"],"You haven't selected any articles for this step yet. You can do so in the previous step.":["您尚未为此步骤选择任何文章。您可以在上一步中执行此操作。"],"Is it up-to-date?":["ĺ®ćŻćś€ć–°çš„ĺ—?"],"Last Updated":["上次更新"],"You've moved this article to the next step.":["您已将本文移至下一步。"],"Unknown":["未知"],"Clear summary":["清晰的ć‘č¦"],"Add internal links towards your orphaned articles.":["添加指ĺ‘孤立文章的内é¨é“ľćŽĄă€‚"],"Should you update your article?":["你应该更新你的文章ĺ—?"],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":["您的网站可č˝ĺŚ…ĺ«č®¸ĺ¤šć‚¨ć›ľç»Źĺ›ĺ»şčż‡çš„内容,并且从那以ĺŽĺ†Ťäąźć˛ˇćś‰ĺ›žĺ¤´çś‹čż‡ă€‚请务必浏č§čż™äş›éˇµéť˘ĺą¶čŻ˘é—®č‡Şĺ·±čŻĄĺ†…ĺ®ąćŻĺ¦ä»Ťä¸Žć‚¨çš„网站相关。你应该改进ĺ®čżćŻĺ é™¤ĺ®ďĽź"],"Start: Love it or leave it?":["开始:ç±ĺ®čżćŻç¦»ĺĽ€ĺ®ďĽź"],"Clean up your unlinked content to make sure people can find it":["清ç†ćśŞĺ…łč”的内容,确保用ć·č˝ĺ¤źć‰ľĺ°ĺ®"],"I've finished this workout":["ć‘已完ć此锻炼"],"Reset this workout":["重置此体č˝č®­ç»"],"Well done!":["ĺšĺľ—好ďĽ"],"Add internal links towards your cornerstones":["添加指ĺ‘基石的内é¨é“ľćŽĄ"],"Check the number of incoming internal links of your cornerstones":["检查基石的传入内é¨é“ľćŽĄçš„ć•°é‡Ź"],"Start: Choose your cornerstones!":["开始:选择你的基石ďĽ"],"The cornerstone approach":["ĺźşçźłć–ąćł•"],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":["请注意:为了使此锻炼正常工作并为您ćŹäľ›é“ľćŽĄĺ»şč®®ďĽŚć‚¨éś€č¦čżčˇŚSEO数据äĽĺŚ–ĺ·Ąĺ…·ă€‚ç®ˇç†ĺ‘可以在%1$sSEO >ĺ·Ąĺ…·%2$s下čżčˇŚć­¤ç¨‹ĺşŹă€‚"],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[],"I've finished this step":["ć‘已完ć此步骤"],"Revise this step":["修改此步骤"],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":["ć‘们无法在您的网页上找ĺ°ĺ†…é¨é“ľćŽĄă€‚č¦äąć‚¨ĺ°šćśŞĺ‘内容添加任何内é¨é“ľćŽĄďĽŚč¦äąYoast SEO尚未将ĺ®ä»¬çĽ–入索引。您可以通过在SEO>工具下čżčˇŚSEO数据äĽĺŚ–ćťĄč®©Yoast SEO索引您的链接。"],"Incoming links":["传入链接"],"Edit to add link":["编辑以添加链接"],"%s incoming link":[],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":["您当前没有标记为基石的文章。当您将文章标记为基石时,ĺ®ä»¬ĺ°†ćľç¤şĺś¨ć­¤ĺ¤„。"],"Focus keyphrase":["焦点关键词"],"Article":["文章"],"Readability score":["可读性ĺ†ć•°"],"SEO score":["SEOĺ†ć•°"],"Copy failed":["复ĺ¶ĺ¤±č´Ą"],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":["通过使用这个%1$sé€ć­Ąé”»ç‚ĽćťĄćŹé«ć‰€ćś‰ĺźşçźłçš„排ĺŤďĽ%2$s"],"Rank with articles you want to rank with":["与您ćłč¦ćŽ’ĺŤçš„文章排ĺŤ"],"Descriptive text":["描述性文本"],"Show the descriptive text":["ćľç¤şćŹŹčż°ć€§ć–‡ćś¬"],"Show icon":["ćľç¤şĺ›ľć ‡"],"Yoast Estimated Reading Time":["Yoast 估计é…读时间"],"Shows an estimated reading time based on the content length.":["ćľç¤şĺźşäşŽĺ†…容长度的估计é…读时间。"],"reading time":["é…读时间"],"content length":["内容长度"],"Estimated reading time:":["预计é…读时间:"],"minute":["ĺ†é’ź"],"Settings":["设置"],"OK":["好"],"Close":["ĺ…łé—­"],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":["第一个真正意义上的 WordPress ĺ…¨č˝SEO解决方ćˇďĽĺŚ…ĺ«äş†éˇµéť˘ĺ†…容ĺ†ćžă€XML站点地图和更多功č˝ă€‚"],"Type":["类型"],"Team Yoast":["Yoast团éź"],"Orphaned content":["孤立内容"],"Synonyms":["ĺŚäą‰čŻŤ"],"Internal linking suggestions":["内é¨é“ľćŽĄĺ»şč®®"],"Enter a related keyphrase to calculate the SEO score":["输入相关关键短语以计算SEOĺ†ć•°"],"Related keyphrase":["添加相关短语"],"Add related keyphrase":["添加相关短语"],"Analysis results":["ĺ†ćžç»“ćžś"],"Help on choosing the perfect keyphrase":["帮助选择完美的关键短语"],"Help on keyphrase synonyms":["关键字段ĺŚäą‰čŻŤĺ¸®ĺŠ©"],"Keyphrase":["关键词"],"https://yoa.st/2jc":["https://yoa.st/2jc"],"Yoast SEO Premium":["Yoast SEO é«çş§ç‰"],"New URL: {{link}}%s{{/link}}":["新链接:{{link}}%s{{/link}}"],"Undo":["撤销"],"Redirect created":["重定ĺ‘已生ć"],"%s just created a redirect from the old URL to the new URL.":["%s 生ć一个从旧链接指ĺ‘新链接的重定ĺ‘"],"Old URL: {{link}}%s{{/link}}":["旧链接:{{link}}%s{{/link}}"],"Keyphrase synonyms":["关键词及ĺŚäą‰čŻŤ"],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[],"seo":["seo"],"internal linking":["内链"],"site structure":["网站结构"],"We could not find any relevant articles on your website that you could link to from your post.":["ć‘们无法在您的网站上找ĺ°ĺŹŻä»Ąä»Žć‚¨çš„ć–‡ç« é“ľćŽĄĺ°çš„任何相关文章。"],"Load suggestions":["加载建议"],"Refresh suggestions":["ĺ·ć–°ĺ»şč®®"],"Write list…":["写入ĺ—表……"],"Adds a list of links related to this page.":["添加此页面的有关链接ĺ—表"],"related posts":["相关文章"],"related pages":["相关页面"],"Adds a table of contents to this page.":["添加内容ĺ°ć­¤éˇµéť˘"],"links":["链接"],"toc":["当有许多文章ă€éˇµéť˘ă€ĺ®šĺ¶ĺŚ–ć–‡ç« ç±»ĺž‹ć–ĺ†ç±»ć—¶ďĽŚĺŻĽĺ‡şć•°ćŤ®äĽščŠ±č´ąĺľé•żć—¶é—´"],"Copy link":["复ĺ¶é“ľćŽĄ"],"Copy link to suggested article: %s":["将链接复ĺ¶ĺ°ĺ»şč®®ć–‡ç« ďĽš%s"],"Add a title to your post for the best internal linking suggestions.":["添加个标é˘ĺ°ä˝ çš„文章以获得最好的内链建议"],"Add a metadescription to your post for the best internal linking suggestions.":["添加一个描述标签ĺ°ä˝ çš„文章以获得最好的内链建议"],"Add a title and a metadescription to your post for the best internal linking suggestions.":["给你的文章添加一个标é˘ĺ’Ść ‡ç­ľćŹŹčż°ä»ĄčŽ·ĺľ—ćś€ĺĄ˝çš„ĺ†…é“ľĺ»şč®®"],"Also, add a title to your post for the best internal linking suggestions.":["ĺŚć ·çš„,为你的文章添加一个标é˘ä»ĄčŽ·ĺľ—ĺľ—ćś€ĺĄ˝çš„ĺ†…é“ľĺ»şč®®ă€‚"],"Also, add a metadescription to your post for the best internal linking suggestions.":["ĺŚć ·çš„,给你的文章添加一个标签描述以获得最好的内链建议。"],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":["ĺŚć ·çš„,给你的文章添加一个标é˘ĺ’Ść ‡ç­ľćŹŹčż°ä»ĄčŽ·ĺľ—ćś€ĺĄ˝çš„ĺ†…é“ľĺ»şč®®ă€‚"],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":["一旦你再增加一点副本,ć‘们会给你一份相关内容的ĺ—表,你可以在这里链接ĺ°ä˝ çš„帖ĺ­ă€‚"],"To improve your site structure, consider linking to other relevant posts or pages on your website.":["č¦ć”ąĺ–„您的网站结构,请č€č™‘链接ĺ°ć‚¨ç˝‘站上的其他相关帖ĺ­ć–页面。"],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":["只需几秒钟即可ĺ‘您ćľç¤şĺŹŻä»Ąé“ľćŽĄĺ°çš„相关内容的ĺ—表。建议一旦ć‘们收ĺ°ďĽŚĺ°±äĽšĺś¨čż™é‡Śćľç¤şă€‚"],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":["{{a}}é…读ć‘们的SEO内链指南{{/a}} 来了解更多。"],"Copied!":["已复ĺ¶ďĽ"],"Not supported!":["获取帮助ďĽ"],"Are you trying to use multiple related keyphrases? You should add them separately.":["您ćŻĺ¦ć­Łĺś¨ĺ°ťčŻ•ä˝żç”¨ĺ¤šä¸Şç›¸ĺ…łçš„ĺ…łé”®çź­čŻ­ďĽźć‚¨ĺş”čŻĄĺŤ•ç‹¬ć·»ĺŠ ĺ®ä»¬ă€‚"],"Your keyphrase is too long. It can be a maximum of 191 characters.":["您的关键词太长。最多可以包ĺ«191个字符。"],"Add as related keyphrase":["添加为相关关键短语"],"Added!":["已添加ďĽ"],"Remove":["移除"],"Table of contents":["内容"],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":["ć‘们需č¦äĽĺŚ–ć‚¨ç˝‘ç«™çš„SEO数据,以便为您ćŹäľ›ćś€ä˝ł%1$s链接建议%2$s。\n\n%3$s开始 SEO 数据äĽĺŚ–%4$s"],"Create a Zap in %s":["在%s中ĺ›ĺ»şä¸€ä¸ŞZap"]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs.json b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs.json new file mode 100644 index 00000000..4b9972c3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/languages/wordpress-seo-premiumjs.json @@ -0,0 +1 @@ +{"domain":"wordpress-seo-premium","locale_data":{"wordpress-seo-premium":{"":{"domain":"wordpress-seo-premium"},"Yoast SEO Premium":[""],"https://yoa.st/2jc":[""],"The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.":[""],"Team Yoast":[""],"https://yoa.st/team-yoast-premium":[""],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it right-aligned%3$s.":[""],"%1$sAlignment%3$s: There is a long section of center-aligned text. %2$sWe recommend making it left-aligned%3$s.":[""],"Word complexity":[""],"%1$s: You are not using too many complex words, which makes your text easy to read. Good job!":[""],"%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.":[""],"%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.":[""],"%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[""],"%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.":[""],"%1$sKeyphrase distribution%2$s: Good job!":[""],"%1$sTitle%2$s: Your page has a title. Well done!":[""],"%1$sTitle%3$s: Your page does not have a title yet. %2$sAdd one%3$s!":[""],"Select image":[""],"Close modal":[""],"Use AI":[""],"Learn more about AI (Opens in a new browser tab)":[""],"Something went wrong":[""],"The request came back with the following error: \"%s\"":[""],"Please try again later. If the issue persists, please %1$scontact our support team%2$s!":[""],"Not enough content":[""],"You've reached the Yoast AI rate limit.":[""],"To continue using the Yoast AI feature, kindly reduce the frequency of your requests. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.":[""],"The AI title generator requires the SEO analysis to be enabled before use. To enable it, please navigate to the %2$sSite features of %1$s%3$s, turn on the SEO analysis, and click 'Save changes'. If the SEO analysis is disabled in your WordPress user profile, access your profile and enable it there. Please contact your administrator if you don't have access to these settings.":[""],"Close":[""],"Refresh page":[""],"Yoast AI cannot reach your site":[""],"To use this feature, your site must be publicly accessible. This applies to both test sites and instances where your REST API is password-protected. Please ensure your site is accessible to the public and try again. If the issue persists, please %1$scontact our support team%2$s.":[""],"To access this feature, you need an active %1$s subscription. Please %3$sactivate your subscription in %2$s%4$s or %5$sget a new %1$s subscription%6$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[""],"To access this feature, you need active %2$s and %3$s subscriptions. Please %5$sactivate your subscriptions in %1$s%6$s or %7$sget a new %4$s%8$s. Afterward, please refresh this page for the feature to function correctly, which may take up to 30 seconds.":[""],"Connection timeout":[""],"It seems that a connection timeout has occurred. Please check your internet connection and try again later. If the issue persists, please %1$scontact our support team%2$s":[""],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate meta descriptions for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[""],"Due to the OpenAI's strict ethical guidelines and %1$susage policies%2$s, we are unable to generate SEO titles for your page. If you intend to use AI, kindly avoid the use of explicit, violent, or sexually explicit content. %3$sRead more on how to configure your page to make sure you get the best results with AI%4$s.":[""],"Google preview":[""],"SEO title width":[""],"Meta description length":[""],"Generate 5 more":[""],"Text generated by AI may be offensive or inaccurate.":[""],"Previous":[""],"Next":[""],"Mobile result":[""],"Desktop result":[""],"Social preview":[""],"Try again":[""],"%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.":[""],"%1$sTip%2$s: Improve the accuracy of your generated AI titles by writing more content in your page.":[""],"Dismiss":[""],"Don’t show again":[""],"X preview":[""],"Apply %s title":[""],"Apply %s description":[""],"Generated %s titles":[""],"Generated %s descriptions":[""],"AI social description generator":[""],"AI social title generator":[""],"AI X description generator":[""],"AI X title generator":[""],"AI description generator":[""],"AI title generator":[""],"Please enter a valid focus keyphrase.":[""],"minute":["","minutes"],"Settings":[""],"Descriptive text":[""],"Show the descriptive text":[""],"Show icon":[""],"Estimated reading time:":[""],"Yoast Estimated Reading Time":[""],"Shows an estimated reading time based on the content length.":[""],"seo":[""],"reading time":[""],"content length":[""],"We could not find any relevant articles on your website that you could link to from your post.":[""],"Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.":[""],"It takes a few seconds to show you a list of related content to which you could link. The suggestions will be shown here as soon as we have them.":[""],"Load suggestions":[""],"You have disabled Link suggestions, which is needed for Related links to work. If you want to add Related links, please go to Site features and enable Link suggestions.":[""],"Refresh suggestions":[""],"Write list…":[""],"Yoast Related Links":[""],"Adds a list of links related to this page.":[""],"internal linking":[""],"site structure":[""],"related posts":[""],"related pages":[""],"Yoast Table of Contents":[""],"Adds a table of contents to this page.":[""],"links":[""],"toc":[""],"Maximum heading level":[""],"Table of contents":[""],"Improve rankings for all your cornerstones by using this %1$sstep-by-step workout!%2$s":[""],"Copy link":[""],"Copy link to suggested article: %s":[""],"To improve your site structure, consider linking to other relevant posts or pages on your website.":[""],"Copied!":[""],"Not supported!":[""],"{{a}}Read our guide on internal linking for SEO{{/a}} to learn more.":[""],"Add a title to your post for the best internal linking suggestions.":[""],"Add a metadescription to your post for the best internal linking suggestions.":[""],"Add a title and a metadescription to your post for the best internal linking suggestions.":[""],"Also, add a title to your post for the best internal linking suggestions.":[""],"Also, add a metadescription to your post for the best internal linking suggestions.":[""],"Also, add a title and a metadescription to your post for the best internal linking suggestions.":[""],"We need to optimize your site’s SEO data so we can offer you the best %1$slinking suggestions%2$s.\n\n%3$sStart SEO Data optimization%4$s":[""],"Redirect created":[""],"%s just created a redirect from the old URL to the new URL.":[""],"Old URL: {{link}}%s{{/link}}":[""],"New URL: {{link}}%s{{/link}}":[""],"OK":[""],"Undo":[""],"Are you trying to use multiple related keyphrases? You should add them separately.":[""],"Your keyphrase is too long. It can be a maximum of 191 characters.":[""],"Related keyphrase":[""],"Add related keyphrase":[""],"Enter a related keyphrase to calculate the SEO score":[""],"Help on choosing the perfect keyphrase":[""],"Help on keyphrase synonyms":[""],"Keyphrase":[""],"Synonyms":[""],"Analysis results":[""],"Add as related keyphrase":[""],"Added!":[""],"Remove":[""],"Social share preview":[""],"X share preview":[""],"Connect to %s":[""],"Manage %s settings":[""],"The Zapier integration will be removed from %1$s in 20.7 (release date May 9th). If you have any questions, please reach out to %2$s.":[""],"To set up a connection, make sure you copy the given API key below and use it to create and turn on a Zap within your %s account.":[""],"Copy your API key":[""],"You'll need this API key later on in %s when you're setting up your Zap.":[""],"%s API key":[""],"Create a Zap in %s":[""],"Log in to your %1$s account and start creating your first Zap! Note that you can only create 1 Zap with a trigger event from %2$s. Within this Zap you can choose one or more actions.":[""],"Create a Zap":[""],"Verify your connection":[""],"Once you've published your Zap in your %s dashboard, you can check whether it's active and connected to your site.":[""],"Verify connection":[""],"Your %s dashboard":[""],"You're successfully connected to %1$s! To manage your Zap, please visit your %2$s dashboard.":[""],"Go to your %s dashboard":[""],"Your API key":[""],"You're currently connected to %s using the following API key. If you'd like to reconnect with a different API key you can reset your key below.":[""],"Reset API key":[""],"Keyphrase synonyms":[""],"Internal linking suggestions":[""],"Focus keyphrase not set":[""],"Front-end SEO inspector":[""],"No index":[""],"Good":[""],"Focus Keyphrase":[""],"Checks":[""],"SEO score":[""],"Not available":[""],"Readability score":[""],"Meta tags":[""],"Schema":[""],"Overall, your text appears to be %1$s%3$s%2$s.":[""],"Once you add a bit more copy, we'll be able to tell you the formality level of your text.":[""],"Revoke AI consent":[""],"Something went wrong, please try again later.":[""],"By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?":[""],"Yes, revoke consent":[""],"An error occurred: the Premium SEO analysis isn't working as expected. Please {{activateLink}}activate your subscription in MyYoast{{/activateLink}} and then {{reloadButton}}reload this page{{/reloadButton}} to make it work properly.":[""],"I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.":[""],"New to %1$s":[""],"Generate titles & descriptions with Yoast AI!":[""],"Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s":[""],"Start generating":[""],"(Opens in a new browser tab)":[""],"To see this video, you need to allow %1$s to load embedded videos from %2$s.":[""],"Deny":[""],"Allow":[""],"Copy failed":[""],"The cornerstone approach":[""],"Rank with articles you want to rank with":[""],"Some articles on your site are %1$sthe%2$s most important. They answer people's questions and solve their problems. So, they deserve to rank! At %3$s, we call these cornerstone articles. One of the ways to have them rank is to point enough links to them. More links signal to search engines that those articles are important and valuable. In this workout, we'll help you add links to your cornerstone articles!":[""],"%1$sNeed more guidance? We've covered every step in more detail in: %2$sHow to use the %7$s cornerstone workout%3$s%4$s%5$s.%6$s":[""],"Start: Choose your cornerstones!":[""],"Which articles do you want to rank the highest? Which ones would your audience find the most useful and complete? Click the downward pointing arrow and look for articles that fit those criteria. We'll automatically mark the articles you select from the list as cornerstone.":[""],"Do all of your cornerstones have green bullets? For the best results, consider editing the ones that don't!":[""],"Check the number of incoming internal links of your cornerstones":[""],"Take a look at the list below. Do your cornerstones (marked with %1$s) have the most internal links pointing towards them? Click the Optimize button if you think a cornerstone needs more links. That will move the article to the next step.":[""],"Add internal links towards your cornerstones":[""],"Time to add some links! Below, you see a list with your cornerstones. Under each cornerstone, there are suggestions for articles you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your cornerstone article. Keep adding links from as many related articles as you need, until your cornerstones have the most internal links pointing towards them.":[""],"Well done!":[""],"You just made your best content easy to find, and more likely to rank! Way to go! From time to time, remember to check if your cornerstones are getting enough links!":[""],"Reset this workout":[""],"I've finished this workout":[""],"Please note: Your admin has disabled the cornerstone functionality in the SEO settings. If you want to use this workout, it should be enabled.":[""],"Loading data...":[""],"You currently have no articles marked as cornerstone. When you mark your articles as cornerstone, they will show up here.":[""],"Choose cornerstone articles...":[""],"Article":[""],"Focus keyphrase":[""],"Added to next step":[""],"Optimize":[""],"We were unable to find internal links on your pages. Either you haven't added any internal links to your content yet, or Yoast SEO didn't index them. You can have Yoast SEO index your links by running the SEO data optimization under SEO > Tools.":[""],"Incoming links":[""],"Type":[""],"Action":[""],"Revise this step":[""],"I've finished this step":[""],"Edit to add link":[""],"Loading link suggestions...":[""],"We didn’t find any suggestions for this article, but of course you can still add links to articles that you think are related.":[""],"You've finished adding links to this article.":[""],"Finish optimizing":[""],"Skip":[""],"%s incoming link":["","%s incoming links"],"You currently haven't selected any articles to improve. Select a few articles in the previous steps to add links to and we will show you link suggestions here.":[""],"Orphaned content":[""],"Clean up your unlinked content to make sure people can find it":[""],"You might not even know it, but there may be pages on your site that don't get any links. That’s an SEO issue, because it’s difficult for search engines to find pages that don't get any links. So, it's harder for them to rank. We call these pages orphaned content. In this workout, we find the orphaned content on your site and guide you in quickly adding links to it, so it can get a chance to rank!":[""],"%1$sNeed more guidance? We've covered every step in more detail in the following guide: %2$sHow to use the %7$s orphaned content workout%3$s%4$s%5$s.%6$s":[""],"Start: Love it or leave it?":[""],"Your site may contain lots of content that you created once and never looked back to it since. It's important to go through those pages and ask yourself if that content is still relevant to your site. Should you improve it or remove it?":[""],"Should you update your article?":[""],"Critically examine the content in this list and make the necessary updates. If you need help updating, we have a very %1$suseful blog post that can guide you all the way%2$s (click to open in a new tab).":[""],"Add internal links towards your orphaned articles.":[""],"Time to add some links! Below, you see a list with your orphaned articles. Under each one, there are suggestions for related pages you could add a link from. When adding the link, make sure to insert it in a relevant sentence related to your orphaned article. Keep adding links to each of the orphaned articles until you are satisfied with the amount of links pointing to them.":[""],"You've added links to your orphaned articles, and you’ve cleaned up the ones that were no longer relevant. Great job! Take a look at the summary below and celebrate what you accomplished!":[""],"Clear summary":[""],"Unknown":[""],"You've moved this article to the next step.":[""],"Last Updated":[""],"Is it up-to-date?":[""],"You haven't selected any articles for this step yet. You can do so in the previous step.":[""],"You've removed this article.":[""],"You've hidden this article from search engines.":[""],"Are you sure you wish to hide this article from search engines?":[""],"Improve":[""],"Hide from search engines":[""],"Everything's looking good! We haven't found any articles on your site that are older than six months and receive too few links on your site. Check back here later for new cleanup suggestions!":[""],"SEO Workout: Remove article":[""],"You are about to remove %1$s%2$s%3$s. To prevent 404s on your site, you should redirect it to another page on your site. Where would you like to redirect it?":[""],"Home page:":[""],"Related article:":[""],"Custom url:":[""],"Remove and redirect":[""],"Loading redirect options...":[""],"Resolution":[""],"Improved":[""],"Removed":[""],"Hidden from search engines.":[""],"Skipped":[""],"You haven't cleaned up or updated any articles yet using this workout. Once you do, a summary of your work will show up here.":[""],"Please note: For this workout to work well, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[""],"Please note: For this workout to work well and to offer you linking suggestions, you need to run the SEO data optimization tool. Admins can run this under %1$sSEO > Tools%2$s.":[""],"block title\u0004Yoast Siblings":[""],"block title\u0004Yoast Subpages":[""],"block description\u0004Adds a list of internal links to sibling pages which share the same parent.":[""],"block description\u0004Adds a list of internal links to subpages of this page.":[""],"block keyword\u0004SEO":[""],"block keyword\u0004siblings":[""],"block keyword\u0004siblings pages":[""],"block keyword\u0004internal linking":[""],"block keyword\u0004site structure":[""],"block keyword\u0004subpages":[""],"block keyword\u0004childpages":[""],"block keyword\u0004children":[""]}}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo-premium/license.txt b/wp/wp-content/plugins/wordpress-seo-premium/license.txt new file mode 100644 index 00000000..0ae0def1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/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/wp/wp-content/plugins/wordpress-seo-premium/premium.php b/wp/wp-content/plugins/wordpress-seo-premium/premium.php new file mode 100644 index 00000000..884e7d28 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/premium.php @@ -0,0 +1,425 @@ +install_yoast_seo_from_repository(); + + // Load the Redirect File Manager. + require_once WPSEO_PREMIUM_PATH . 'classes/redirect/redirect-file-util.php'; + + // Create the upload directory. + WPSEO_Redirect_File_Util::create_upload_dir(); + + // Enable tracking. + if ( class_exists( WPSEO_Options::class ) ) { + WPSEO_Premium_Option::register_option(); + if ( WPSEO_Options::get( 'toggled_tracking' ) !== true ) { + WPSEO_Options::set( 'tracking', true ); + } + WPSEO_Options::set( 'should_redirect_after_install', true ); + } + + if ( class_exists( WPSEO_Capability_Manager_Factory::class ) ) { + do_action( 'wpseo_register_capabilities_premium' ); + WPSEO_Capability_Manager_Factory::get( 'premium' )->add(); + } + } + + /** + * WPSEO_Premium Constructor + */ + public function __construct() { + $this->integrations = [ + 'premium-metabox' => new WPSEO_Premium_Metabox( + YoastSEOPremium()->helpers->prominent_words, + YoastSEOPremium()->helpers->current_page + ), + 'premium-assets' => new WPSEO_Premium_Assets(), + 'link-suggestions' => new WPSEO_Metabox_Link_Suggestions(), + 'redirects-endpoint' => new WPSEO_Premium_Redirect_EndPoint( new WPSEO_Premium_Redirect_Service() ), + 'redirects-undo-endpoint' => new WPSEO_Premium_Redirect_Undo_EndPoint( new WPSEO_Redirect_Manager() ), + 'redirect-export-manager' => new WPSEO_Premium_Redirect_Export_Manager(), + 'keyword-export-manager' => new WPSEO_Premium_Keyword_Export_Manager(), + 'orphaned-post-filter' => new WPSEO_Premium_Orphaned_Post_Filter(), + 'expose-javascript-shortlinks' => new WPSEO_Premium_Expose_Shortlinks(), + 'multi-keyword' => new WPSEO_Multi_Keyword(), + 'siblings-block' => new Siblings_Block( YoastSEO()->classes->get( Indexable_Repository::class ) ), + 'subpages-block' => new Subpages_Block( YoastSEO()->classes->get( Indexable_Repository::class ) ), + ]; + + if ( WPSEO_Options::get( 'enable_cornerstone_content' ) ) { + $this->integrations['stale-cornerstone-content-filter'] = new WPSEO_Premium_Stale_Cornerstone_Content_Filter(); + } + + $this->setup(); + } + + /** + * Sets up the Yoast SEO premium plugin. + * + * @return void + */ + private function setup() { + $this->load_textdomain(); + + $this->redirect_setup(); + + add_action( 'init', [ 'WPSEO_Premium_Option', 'register_option' ] ); + add_action( 'init', [ 'WPSEO_Premium_Redirect_Option', 'register_option' ] ); + + if ( is_admin() ) { + // Make sure priority is below registration of other implementations of the beacon in News, Video, etc. + add_filter( 'wpseo_helpscout_beacon_settings', [ $this, 'filter_helpscout_beacon' ], 1 ); + + add_filter( 'wpseo_enable_tracking', '__return_true', 1 ); + + // Add Sub Menu page and add redirect page to admin page array. + // This should be possible in one method in the future, see #535. + add_filter( 'wpseo_submenu_pages', [ $this, 'add_submenu_pages' ], 9 ); + + // Add input fields to page meta post types. + add_action( + 'Yoast\WP\SEO\admin_post_types_beforearchive_internal', + [ + $this, + 'admin_page_meta_post_types_checkboxes', + ], + 10, + 2 + ); + // Settings. + add_action( 'admin_init', [ $this, 'register_settings' ] ); + + // Add Premium imports. + $this->integrations[] = new WPSEO_Premium_Import_Manager(); + } + + // Add page analysis fields to variable array key patterns. + add_filter( + 'wpseo_option_titles_variable_array_key_patterns', + [ $this, 'add_variable_array_key_pattern' ] + ); + + // Only activate post and term watcher if permalink structure is enabled. + if ( get_option( 'permalink_structure' ) ) { + add_action( 'admin_init', [ $this, 'init_watchers' ] ); + add_action( 'rest_api_init', [ $this, 'init_watchers' ] ); + } + + if ( ! is_admin() ) { + // Add 404 redirect link to WordPress toolbar. + add_action( 'admin_bar_menu', [ $this, 'admin_bar_menu' ], 96 ); + + add_filter( 'redirect_canonical', [ $this, 'redirect_canonical_fix' ], 1, 2 ); + } + + add_action( 'wpseo_premium_indicator_classes', [ $this, 'change_premium_indicator' ] ); + add_action( 'wpseo_premium_indicator_text', [ $this, 'change_premium_indicator_text' ] ); + + foreach ( $this->integrations as $integration ) { + $integration->register_hooks(); + } + } + + /** + * Checks if the page is a premium page. + * + * @param string $page The page to check. + * + * @return bool + */ + private function is_yoast_seo_premium_page( $page ) { + $premium_pages = [ 'wpseo_redirects' ]; + + return in_array( $page, $premium_pages, true ); + } + + /** + * Sets the autoloader for the redirects and instantiates the redirect page object. + * + * @return void + */ + private function redirect_setup() { + $this->redirects = new WPSEO_Redirect_Page(); + + // Adds integration that filters redirected entries from the sitemap. + $this->integrations['redirect-sitemap-filter'] = new WPSEO_Redirect_Sitemap_Filter( home_url() ); + } + + /** + * Initialize the watchers for the posts and the terms + * + * @return void + */ + public function init_watchers() { + // The Post Watcher. + $post_watcher = new WPSEO_Post_Watcher(); + $post_watcher->register_hooks(); + + // The Term Watcher. + $term_watcher = new WPSEO_Term_Watcher(); + $term_watcher->register_hooks(); + } + + /** + * Hooks into the `redirect_canonical` filter to catch ongoing redirects and move them to the correct spot + * + * @param string $redirect_url The target url where the requested URL will be redirected to. + * @param string $requested_url The current requested URL. + * + * @return string + */ + public function redirect_canonical_fix( $redirect_url, $requested_url ) { + $redirects = new WPSEO_Redirect_Option( false ); + $path = wp_parse_url( $requested_url, PHP_URL_PATH ); + $redirect = $redirects->get( $path ); + if ( $redirect === false ) { + return $redirect_url; + } + + $redirect_url = $redirect->get_origin(); + if ( substr( $redirect_url, 0, 1 ) === '/' ) { + $redirect_url = home_url( $redirect_url ); + } + + wp_redirect( $redirect_url, $redirect->get_type(), 'Yoast SEO Premium' ); + exit; + } + + /** + * Add 'Create Redirect' option to admin bar menu on 404 pages + * + * @return void + */ + public function admin_bar_menu() { + // Prevent function from running if the page is not a 404 page or the user has not the right capabilities to create redirects. + if ( ! is_404() || ! WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ) { + return; + } + + global $wp, $wp_admin_bar; + + $parsed_url = wp_parse_url( home_url( $wp->request ) ); + + if ( ! is_array( $parsed_url ) || empty( $parsed_url['path'] ) ) { + return; + } + + $old_url = WPSEO_Redirect_Util::strip_base_url_path_from_url( home_url(), $parsed_url['path'] ); + + if ( isset( $parsed_url['query'] ) && $parsed_url['query'] !== '' ) { + $old_url .= '?' . $parsed_url['query']; + } + + $old_url = rawurlencode( $old_url ); + + $node = [ + 'id' => 'wpseo-premium-create-redirect', + 'title' => __( 'Create Redirect', 'wordpress-seo-premium' ), + 'href' => wp_nonce_url( admin_url( 'admin.php?page=wpseo_redirects&old_url=' . $old_url ), 'wpseo_redirects-old-url', 'wpseo_premium_redirects_nonce' ), + ]; + $wp_admin_bar->add_menu( $node ); + } + + /** + * Add page analysis to array with variable array key patterns + * + * @param array $patterns Array with patterns for page analysis. + * + * @return array + */ + public function add_variable_array_key_pattern( $patterns ) { + if ( in_array( 'page-analyse-extra-', $patterns, true ) === false ) { + $patterns[] = 'page-analyse-extra-'; + } + + return $patterns; + } + + /** + * This hook will add an input-field for specifying custom fields for page analysis. + * + * The values will be comma-separated and will target the belonging field in the post_meta. Page analysis will + * use the content of it by sticking it to the post_content. + * + * @param Yoast_Form $yform The Yoast_Form object. + * @param string $name The post type name. + * + * @return void + */ + public function admin_page_meta_post_types_checkboxes( $yform, $name ) { + $custom_fields_help_link = new Help_Link_Presenter( + WPSEO_Shortlinker::get( 'https://yoa.st/4cr' ), + __( 'Learn more about including custom fields in the page analysis', 'wordpress-seo-premium' ) + ); + + echo '
    '; + + $yform->textinput_extra_content( + 'page-analyse-extra-' . $name, + esc_html__( 'Custom fields to include in page analysis', 'wordpress-seo-premium' ), + [ + 'extra_content' => $custom_fields_help_link, + ] + ); + echo '
    '; + } + + /** + * Function adds the premium pages to the Yoast SEO menu + * + * @param array $submenu_pages Array with the configuration for the submenu pages. + * + * @return array + */ + public function add_submenu_pages( $submenu_pages ) { + $submenu_pages[] = [ + 'wpseo_dashboard', + '', + __( 'Redirects', 'wordpress-seo-premium' ) . ' ', + 'wpseo_manage_redirects', + 'wpseo_redirects', + [ $this->redirects, 'display' ], + ]; + + return $submenu_pages; + } + + /** + * Change premium indicator to green when premium is enabled + * + * @param string[] $classes The current classes for the indicator. + * + * @return string[] The new classes for the indicator. + */ + public function change_premium_indicator( $classes ) { + $class_no = array_search( 'wpseo-premium-indicator--no', $classes, true ); + + if ( $class_no !== false ) { + unset( $classes[ $class_no ] ); + + $classes[] = 'wpseo-premium-indicator--yes'; + } + + return $classes; + } + + /** + * Replaces the screen reader text for the premium indicator. + * + * @param string $text The original text. + * + * @return string The new text. + */ + public function change_premium_indicator_text( $text ) { + return __( 'Enabled', 'wordpress-seo-premium' ); + } + + /** + * Register the premium settings + * + * @return void + */ + public function register_settings() { + register_setting( 'yoast_wpseo_redirect_options', 'wpseo_redirect' ); + } + + /** + * Output admin css in admin head + * + * @return void + */ + public function admin_css() { + echo ""; + } + + /** + * Load textdomain + * + * @return void + */ + private function load_textdomain() { + load_plugin_textdomain( 'wordpress-seo-premium', false, dirname( WPSEO_PREMIUM_BASENAME ) . '/languages/' ); + } + + /** + * Initializes the HelpScout support modal for WPSEO settings pages. + * + * @param array $helpscout_settings The helpscout settings. + * + * @return array The HelpScout beacon settings array. + */ + public function filter_helpscout_beacon( $helpscout_settings ) { + $beacon_id = '1ae02e91-5865-4f13-b220-7daed946ba25'; + + $helpscout_settings['products'][] = WPSEO_Addon_Manager::PREMIUM_SLUG; + + // Set the beacon to the premium beacon for all pages. + foreach ( $helpscout_settings['pages_ids'] as $page => $beacon ) { + $helpscout_settings['pages_ids'][ $page ] = $beacon_id; + } + // Add the redirects page. + $helpscout_settings['pages_ids']['wpseo_redirects'] = $beacon_id; + + return $helpscout_settings; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/readme.txt b/wp/wp-content/plugins/wordpress-seo-premium/readme.txt new file mode 100644 index 00000000..11737d08 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/readme.txt @@ -0,0 +1,2 @@ +=== Yoast SEO Premium === +Stable tag: 22.9 diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/actions/ai-generator-action.php b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/ai-generator-action.php new file mode 100644 index 00000000..ec58eeaa --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/ai-generator-action.php @@ -0,0 +1,404 @@ +ai_generator_helper = $ai_generator_helper; + $this->options_helper = $options_helper; + $this->user_helper = $user_helper; + $this->addon_manager = $addon_manager; + } + + /** + * Requests a new set of JWT tokens. + * + * Requests a new JWT access and refresh token for a user from the Yoast AI Service and stores it in the database + * under usermeta. The storing of the token happens in a HTTP callback that is triggered by this request. + * + * @param WP_User $user The WP user. + * + * @return void + * + * @throws Bad_Request_Exception Bad_Request_Exception. + * @throws Forbidden_Exception Forbidden_Exception. + * @throws Internal_Server_Error_Exception Internal_Server_Error_Exception. + * @throws Not_Found_Exception Not_Found_Exception. + * @throws Payment_Required_Exception Payment_Required_Exception. + * @throws Request_Timeout_Exception Request_Timeout_Exception. + * @throws Service_Unavailable_Exception Service_Unavailable_Exception. + * @throws Too_Many_Requests_Exception Too_Many_Requests_Exception. + * @throws Unauthorized_Exception Unauthorized_Exception. + */ + public function token_request( WP_User $user ): void { + // Ensure the user has given consent. + if ( $this->user_helper->get_meta( $user->ID, '_yoast_wpseo_ai_consent', true ) !== '1' ) { + throw $this->handle_consent_revoked( $user->ID ); + } + + // Generate a verification code and store it in the database. + $code_verifier = $this->ai_generator_helper->generate_code_verifier( $user ); + $this->ai_generator_helper->set_code_verifier( $user->ID, $code_verifier ); + + $request_body = [ + 'service' => 'openai', + 'code_challenge' => \hash( 'sha256', $code_verifier ), + 'license_site_url' => $this->ai_generator_helper->get_license_url(), + 'user_id' => (string) $user->ID, + 'callback_url' => $this->ai_generator_helper->get_callback_url(), + 'refresh_callback_url' => $this->ai_generator_helper->get_refresh_callback_url(), + ]; + + $this->ai_generator_helper->request( '/token/request', $request_body ); + + // The callback saves the metadata. Because that is in another session, we need to delete the current cache here. Or we may get the old token. + \wp_cache_delete( $user->ID, 'user_meta' ); + } + + /** + * Refreshes the JWT access token. + * + * Refreshes a stored JWT access token for a user with the Yoast AI Service and stores it in the database under + * usermeta. The storing of the token happens in a HTTP callback that is triggered by this request. + * + * @param WP_User $user The WP user. + * + * @return void + * + * @throws Bad_Request_Exception Bad_Request_Exception. + * @throws Forbidden_Exception Forbidden_Exception. + * @throws Internal_Server_Error_Exception Internal_Server_Error_Exception. + * @throws Not_Found_Exception Not_Found_Exception. + * @throws Payment_Required_Exception Payment_Required_Exception. + * @throws Request_Timeout_Exception Request_Timeout_Exception. + * @throws Service_Unavailable_Exception Service_Unavailable_Exception. + * @throws Too_Many_Requests_Exception Too_Many_Requests_Exception. + * @throws Unauthorized_Exception Unauthorized_Exception. + * @throws RuntimeException Unable to retrieve the refresh token. + */ + public function token_refresh( WP_User $user ): void { + $refresh_jwt = $this->ai_generator_helper->get_refresh_token( $user->ID ); + + // Generate a verification code and store it in the database. + $code_verifier = $this->ai_generator_helper->generate_code_verifier( $user ); + $this->ai_generator_helper->set_code_verifier( $user->ID, $code_verifier ); + + $request_body = [ + 'code_challenge' => \hash( 'sha256', $code_verifier ), + ]; + $request_headers = [ + 'Authorization' => "Bearer $refresh_jwt", + ]; + + $this->ai_generator_helper->request( '/token/refresh', $request_body, $request_headers ); + + // The callback saves the metadata. Because that is in another session, we need to delete the current cache here. Or we may get the old token. + \wp_cache_delete( $user->ID, 'user_meta' ); + } + + /** + * Callback function that will be invoked by our API. + * + * @param string $access_jwt The access JWT. + * @param string $refresh_jwt The refresh JWT. + * @param string $code_challenge The verification code. + * @param int $user_id The user ID. + * + * @return string The code verifier. + * + * @throws Unauthorized_Exception Unauthorized_Exception. + */ + public function callback( + string $access_jwt, + string $refresh_jwt, + string $code_challenge, + int $user_id + ): string { + try { + $code_verifier = $this->ai_generator_helper->get_code_verifier( $user_id ); + } catch ( RuntimeException $exception ) { + throw new Unauthorized_Exception( 'Unauthorized' ); + } + + if ( $code_challenge !== \hash( 'sha256', $code_verifier ) ) { + throw new Unauthorized_Exception( 'Unauthorized' ); + } + $this->user_helper->update_meta( $user_id, '_yoast_wpseo_ai_generator_access_jwt', $access_jwt ); + $this->user_helper->update_meta( $user_id, '_yoast_wpseo_ai_generator_refresh_jwt', $refresh_jwt ); + $this->ai_generator_helper->delete_code_verifier( $user_id ); + + return $code_verifier; + } + + // phpcs:disable Squiz.Commenting.FunctionCommentThrowTag.WrongNumber -- PHPCS doesn't take into account exceptions thrown in called methods. + + /** + * Action used to generate suggestions through AI. + * + * @param WP_User $user The WP user. + * @param string $suggestion_type The type of the requested suggestion. + * @param string $prompt_content The excerpt taken from the post. + * @param string $focus_keyphrase The focus keyphrase associated to the post. + * @param string $language The language of the post. + * @param string $platform The platform the post is intended for. + * @param bool $retry_on_unauthorized Whether to retry when unauthorized (mechanism to retry once). + * + * @return array The suggestions. + * + * @throws Bad_Request_Exception Bad_Request_Exception. + * @throws Forbidden_Exception Forbidden_Exception. + * @throws Internal_Server_Error_Exception Internal_Server_Error_Exception. + * @throws Not_Found_Exception Not_Found_Exception. + * @throws Payment_Required_Exception Payment_Required_Exception. + * @throws Request_Timeout_Exception Request_Timeout_Exception. + * @throws Service_Unavailable_Exception Service_Unavailable_Exception. + * @throws Too_Many_Requests_Exception Too_Many_Requests_Exception. + * @throws Unauthorized_Exception Unauthorized_Exception. + * @throws RuntimeException Unable to retrieve the access token. + */ + public function get_suggestions( + WP_User $user, + string $suggestion_type, + string $prompt_content, + string $focus_keyphrase, + string $language, + string $platform, + bool $retry_on_unauthorized = true + ): array { + $token = $this->get_or_request_access_token( $user ); + + $request_body = [ + 'service' => 'openai', + 'user_id' => (string) $user->ID, + 'subject' => [ + 'content' => $prompt_content, + 'focus_keyphrase' => $focus_keyphrase, + 'language' => $language, + 'platform' => $platform, + ], + ]; + $request_headers = [ + 'Authorization' => "Bearer $token", + ]; + + try { + $response = $this->ai_generator_helper->request( "/openai/suggestions/$suggestion_type", $request_body, $request_headers ); + } catch ( Unauthorized_Exception $exception ) { + // Delete the stored JWT tokens, as they appear to be no longer valid. + $this->user_helper->delete_meta( $user->ID, '_yoast_wpseo_ai_generator_access_jwt' ); + $this->user_helper->delete_meta( $user->ID, '_yoast_wpseo_ai_generator_refresh_jwt' ); + + if ( ! $retry_on_unauthorized ) { + throw $exception; + } + + // Try again once more by fetching a new set of tokens and trying the suggestions endpoint again. + return $this->get_suggestions( $user, $suggestion_type, $prompt_content, $focus_keyphrase, $language, $platform, false ); + } catch ( Forbidden_Exception $exception ) { + // Follow the API in the consent being revoked (Use case: user sent an e-mail to revoke?). + throw $this->handle_consent_revoked( $user->ID, $exception->getCode() ); + } + + return $this->ai_generator_helper->build_suggestions_array( $response ); + } + + // phpcs:enable Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + + /** + * Stores the consent given or revoked by the user. + * + * @param int $user_id The user ID. + * @param bool $consent Whether the consent has been given. + * + * @return void + * + * @throws Bad_Request_Exception Bad_Request_Exception. + * @throws Internal_Server_Error_Exception Internal_Server_Error_Exception. + * @throws Not_Found_Exception Not_Found_Exception. + * @throws Payment_Required_Exception Payment_Required_Exception. + * @throws Request_Timeout_Exception Request_Timeout_Exception. + * @throws Service_Unavailable_Exception Service_Unavailable_Exception. + * @throws Too_Many_Requests_Exception Too_Many_Requests_Exception. + * @throws RuntimeException Unable to retrieve the access token. + */ + public function consent( int $user_id, bool $consent ): void { + if ( $consent ) { + // Store the consent at user level. + $this->user_helper->update_meta( $user_id, '_yoast_wpseo_ai_consent', true ); + } + else { + $this->token_invalidate( $user_id ); + + // Delete the consent at user level. + $this->user_helper->delete_meta( $user_id, '_yoast_wpseo_ai_consent' ); + } + } + + /** + * Busts the subscription cache. + * + * @return void + */ + public function bust_subscription_cache(): void { + $this->addon_manager->remove_site_information_transients(); + } + + /** + * Retrieves the access token. + * + * @param WP_User $user The WP user. + * + * @return string The access token. + * + * @throws Bad_Request_Exception Bad_Request_Exception. + * @throws Forbidden_Exception Forbidden_Exception. + * @throws Internal_Server_Error_Exception Internal_Server_Error_Exception. + * @throws Not_Found_Exception Not_Found_Exception. + * @throws Payment_Required_Exception Payment_Required_Exception. + * @throws Request_Timeout_Exception Request_Timeout_Exception. + * @throws Service_Unavailable_Exception Service_Unavailable_Exception. + * @throws Too_Many_Requests_Exception Too_Many_Requests_Exception. + * @throws Unauthorized_Exception Unauthorized_Exception. + * @throws RuntimeException Unable to retrieve the access or refresh token. + */ + private function get_or_request_access_token( WP_User $user ): string { + $access_jwt = $this->user_helper->get_meta( $user->ID, '_yoast_wpseo_ai_generator_access_jwt', true ); + if ( ! \is_string( $access_jwt ) || $access_jwt === '' ) { + $this->token_request( $user ); + $access_jwt = $this->ai_generator_helper->get_access_token( $user->ID ); + } + elseif ( $this->ai_generator_helper->has_token_expired( $access_jwt ) ) { + try { + $this->token_refresh( $user ); + } catch ( Unauthorized_Exception $exception ) { + $this->token_request( $user ); + } catch ( Forbidden_Exception $exception ) { + // Follow the API in the consent being revoked (Use case: user sent an e-mail to revoke?). + throw $this->handle_consent_revoked( $user->ID, $exception->getCode() ); + } + $access_jwt = $this->ai_generator_helper->get_access_token( $user->ID ); + } + + return $access_jwt; + } + + /** + * Invalidates the access token. + * + * @param string $user_id The user ID. + * + * @return void + * + * @throws Bad_Request_Exception Bad_Request_Exception. + * @throws Internal_Server_Error_Exception Internal_Server_Error_Exception. + * @throws Not_Found_Exception Not_Found_Exception. + * @throws Payment_Required_Exception Payment_Required_Exception. + * @throws Request_Timeout_Exception Request_Timeout_Exception. + * @throws Service_Unavailable_Exception Service_Unavailable_Exception. + * @throws Too_Many_Requests_Exception Too_Many_Requests_Exception. + * @throws RuntimeException Unable to retrieve the access token. + */ + private function token_invalidate( string $user_id ): void { + try { + $access_jwt = $this->ai_generator_helper->get_access_token( $user_id ); + } catch ( RuntimeException $e ) { + $access_jwt = ''; + } + + $request_body = [ + 'user_id' => (string) $user_id, + ]; + $request_headers = [ + 'Authorization' => "Bearer $access_jwt", + ]; + + try { + $this->ai_generator_helper->request( '/token/invalidate', $request_body, $request_headers ); + } catch ( Unauthorized_Exception | Forbidden_Exception $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch -- Reason: Ignored on purpose. + // We do nothing in this case, we trust nonce verification and try to remove the user data anyway. + // I.e. we fallthrough to the same logic as if we got a 200 OK. + } + + // Delete the stored JWT tokens. + $this->user_helper->delete_meta( $user_id, '_yoast_wpseo_ai_generator_access_jwt' ); + $this->user_helper->delete_meta( $user_id, '_yoast_wpseo_ai_generator_refresh_jwt' ); + } + + /** + * Handles consent revoked. + * + * By deleting the consent user metadata from the database. + * And then throwing a Forbidden_Exception. + * + * @param int $user_id The user ID. + * @param int $status_code The status code. Defaults to 403. + * + * @return Forbidden_Exception The Forbidden_Exception. + */ + private function handle_consent_revoked( int $user_id, int $status_code = 403 ): Forbidden_Exception { + $this->user_helper->delete_meta( $user_id, '_yoast_wpseo_ai_consent' ); + + return new Forbidden_Exception( 'CONSENT_REVOKED', $status_code ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/actions/link-suggestions-action.php b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/link-suggestions-action.php new file mode 100644 index 00000000..ccfab88c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/link-suggestions-action.php @@ -0,0 +1,607 @@ +prominent_words_repository = $prominent_words_repository; + $this->indexable_repository = $indexable_repository; + $this->prominent_words_helper = $prominent_words_helper; + $this->prominent_words_support = $prominent_words_support; + $this->links_repository = $links_repository; + } + + /** + * Suggests a list of links, based on the given array of prominent words. + * + * @param array $words_from_request The prominent words as an array mapping words to weights. + * @param int $limit The maximum number of link suggestions to retrieve. + * @param int $object_id The object id for the current indexable. + * @param string $object_type The object type for the current indexable. + * @param bool $include_existing_links Optional. Whether or not to include existing links, defaults to true. + * @param array $post_type Optional. The list of post types where suggestions may come from. + * @param bool $only_include_public Optional. Only include public indexables, defaults to false. + * + * @return array Links for the post that are suggested. + */ + public function get_suggestions( $words_from_request, $limit, $object_id, $object_type, $include_existing_links = true, $post_type = [], $only_include_public = false ) { + $current_indexable_id = null; + $current_indexable = $this->indexable_repository->find_by_id_and_type( $object_id, $object_type ); + if ( $current_indexable ) { + $current_indexable_id = $current_indexable->id; + } + + /* + * Gets best suggestions (returns a sorted array [$indexable_id => score]). + * The indexables are processed in batches of 1000 indexables each. + */ + $suggestions_scores = $this->retrieve_suggested_indexable_ids( $words_from_request, $limit, self::BATCH_SIZE, $current_indexable_id, $include_existing_links, $post_type, $only_include_public ); + + $indexable_ids = \array_keys( $suggestions_scores ); + + // Return the empty list if no suggestions have been found. + if ( empty( $indexable_ids ) ) { + return []; + } + + // Retrieve indexables for suggestions. + $suggestions_indexables = $this->indexable_repository->query()->where_id_in( $indexable_ids )->find_many(); + + /** + * Filter 'wpseo_link_suggestions_indexables' - Allow filtering link suggestions indexable objects. + * + * @param array $suggestions An array of suggestion indexables that can be filtered. + * @param int $object_id The object id for the current indexable. + * @param string $object_type The object type for the current indexable. + */ + $suggestions_indexables = \apply_filters( 'wpseo_link_suggestions_indexables', $suggestions_indexables, $object_id, $object_type ); + + // Create suggestions objects. + return $this->create_suggestions( $suggestions_indexables, $suggestions_scores ); + } + + /** + * Suggests a list of links, based on the given array of prominent words. + * + * @param int $id The object id for the current indexable. + * @param int $limit The maximum number of link suggestions to retrieve. + * @param bool $include_existing_links Optional. Whether or not to include existing links, defaults to true. + * + * @return array Links for the post that are suggested. + */ + public function get_indexable_suggestions_for_indexable( $id, $limit, $include_existing_links = true ) { + $weighted_words = []; + $prominent_words = $this->prominent_words_repository->query() + ->where( 'indexable_id', $id ) + ->find_array(); + foreach ( $prominent_words as $prominent_word ) { + $weighted_words[ $prominent_word['stem'] ] = $prominent_word['weight']; + } + + /* + * Gets best suggestions (returns a sorted array [$indexable_id => score]). + * The indexables are processed in batches of 1000 indexables each. + */ + $suggestions_scores = $this->retrieve_suggested_indexable_ids( $weighted_words, $limit, self::BATCH_SIZE, $id, $include_existing_links ); + + $indexable_ids = \array_keys( $suggestions_scores ); + + // Return the empty list if no suggestions have been found. + if ( empty( $indexable_ids ) ) { + return []; + } + + // Retrieve indexables for suggestions. + return $this->indexable_repository->query()->where_id_in( $indexable_ids )->find_array(); + } + + /** + * Retrieves the titles of the posts with the given IDs. + * + * @param array $post_ids The IDs of the posts to retrieve the titles of. + * + * @return array An array mapping post ID to title. + */ + protected function retrieve_posts( $post_ids ) { + $query = new WP_Query( + [ + 'post_type' => $this->prominent_words_support->get_supported_post_types(), + 'post__in' => $post_ids, + 'posts_per_page' => \count( $post_ids ), + ] + ); + $posts = $query->get_posts(); + + $post_data = []; + + foreach ( $posts as $post ) { + $post_data[ $post->ID ] = [ + 'title' => $post->post_title, + ]; + } + + return $post_data; + } + + /** + * Retrieves the names of the terms with the given IDs. + * + * @param Indexable[] $indexables The indexables to retrieve titles for. + * + * @return array An array mapping term ID to title. + */ + protected function retrieve_terms( $indexables ) { + $data = []; + foreach ( $indexables as $indexable ) { + if ( $indexable->object_type !== 'term' ) { + continue; + } + + $term = \get_term_by( 'term_id', $indexable->object_id, $indexable->object_sub_type ); + + $data[ $indexable->object_id ] = [ + 'title' => $term->name, + ]; + } + + return $data; + } + + /** + * Retrieves the titles of the given array of indexables. + * + * @param Indexable[] $indexables An array of indexables for which to retrieve the titles. + * + * @return array A two-dimensional array mapping object type and object id to title. + */ + protected function retrieve_object_titles( $indexables ) { + $object_ids = []; + + foreach ( $indexables as $indexable ) { + if ( \array_key_exists( $indexable->object_type, $object_ids ) ) { + $object_ids[ $indexable->object_type ][] = $indexable->object_id; + } + else { + $object_ids[ $indexable->object_type ] = [ $indexable->object_id ]; + } + } + + $objects = [ + 'post' => [], + 'term' => [], + ]; + + // At the moment we only support internal linking for posts, so we only need the post titles. + if ( \array_key_exists( 'post', $object_ids ) ) { + $objects['post'] = $this->retrieve_posts( $object_ids['post'] ); + } + + if ( \array_key_exists( 'term', $object_ids ) ) { + $objects['term'] = $this->retrieve_terms( $indexables ); + } + + return $objects; + } + + /** + * Computes, for a given indexable, its raw matching score on the request words to match. + * In general, higher scores mean better matches. + * + * @param array $request_data The words to match, as an array containing stems, weights and dfs. + * @param array $candidate_data The words to match against, as an array of `Prominent_Words` objects. + * + * @return float A raw score of the indexable. + */ + protected function compute_raw_score( $request_data, $candidate_data ) { + $raw_score = 0; + + foreach ( $candidate_data as $stem => $candidate_word_data ) { + if ( ! \array_key_exists( $stem, $request_data ) ) { + continue; + } + + $word_from_request_weight = $request_data[ $stem ]['weight']; + $word_from_request_df = $request_data[ $stem ]['df']; + $candidate_weight = $candidate_word_data['weight']; + $candidate_df = $candidate_word_data['df']; + + $tf_idf_word_from_request = $this->prominent_words_helper->compute_tf_idf_score( $word_from_request_weight, $word_from_request_df ); + $tf_idf_word_from_database = $this->prominent_words_helper->compute_tf_idf_score( $candidate_weight, $candidate_df ); + + // Score on this word is the product of the tf-idf scores. + $raw_score += ( $tf_idf_word_from_request * $tf_idf_word_from_database ); + } + + return $raw_score; + } + + /** + * Combines weight data of the request words to their document frequencies. This is needed to calculate + * vector length of the request data. + * + * @param array $request_words An array mapping words to weights. + * + * @return array An array mapping stems, weights and dfs. + */ + protected function compose_request_data( $request_words ) { + $request_doc_frequencies = $this->prominent_words_repository->count_document_frequencies( \array_keys( $request_words ) ); + $combined_request_data = []; + foreach ( $request_words as $stem => $weight ) { + if ( ! isset( $request_doc_frequencies[ $stem ] ) ) { + continue; + } + + $combined_request_data[ $stem ] = [ + 'weight' => (int) $weight, + 'df' => $request_doc_frequencies[ $stem ], + ]; + } + + return $combined_request_data; + } + + /** + * Transforms the array of prominent words into an array of objects mapping indexable_id to an array + * of prominent words associated with this indexable_id, with each prominent word's stem as a key. + * + * @param array $words The array of prominent words, with indexable_id as one of the keys. + * + * @return array An array mapping indexable IDs to their prominent words. + */ + protected function group_words_by_indexable_id( $words ) { + $candidates_words_by_indexable_ids = []; + foreach ( $words as $word ) { + $indexable_id = $word->indexable_id; + + $candidates_words_by_indexable_ids[ $indexable_id ][ $word->stem ] = [ + 'weight' => (int) $word->weight, + 'df' => (int) $word->df, + ]; + } + + return $candidates_words_by_indexable_ids; + } + + /** + * Calculates a matching score for one candidate indexable. + * + * @param array $request_data An array matching stems from request to their weights and dfs. + * @param float $request_vector_length The vector length of the request words. + * @param array $candidate_data An array matching stems from the candidate to their weights and dfs. + * + * @return float A matching score for an indexable. + */ + protected function calculate_score_for_indexable( $request_data, $request_vector_length, $candidate_data ) { + $raw_score = $this->compute_raw_score( $request_data, $candidate_data ); + $candidate_vector_length = $this->prominent_words_helper->compute_vector_length( $candidate_data ); + return $this->normalize_score( $raw_score, $candidate_vector_length, $request_vector_length ); + } + + /** + * In the prominent words repository, find a $batch_size of all ProminentWord-IndexableID pairs where + * prominent words match the set of stems we are interested in. + * Request prominent words for indexables in the batch (including the iDF of all words) to calculate + * their vector length later. + * + * @param array $stems The stems in the request. + * @param int $batch_size How many indexables to request in one query. + * @param int $page The start of the current batch (in pages). + * @param int[] $excluded_ids The indexable IDs to exclude. + * @param array $post_type The post types that will be searched. + * @param bool $only_include_public If only public indexables are included. + * + * @return array An array of ProminentWords objects, containing their stem, weight, indexable id, + * and document frequency. + */ + protected function get_candidate_words( $stems, $batch_size, $page, $excluded_ids = [], $post_type = [], $only_include_public = false ) { + + return $this->prominent_words_repository->find_by_list_of_ids( + $this->prominent_words_repository->find_ids_by_stems( $stems, $batch_size, $page, $excluded_ids, $post_type, $only_include_public ) + ); + } + + /** + * For each candidate indexable, computes their matching score related to the request set of prominent words. + * The candidate indexables are analyzed in batches. + * After having computed scores for a batch the function saves the best candidates until now. + * + * @param array $request_words The words to match, as an array mapping words to weights. + * @param int $limit The max number of suggestions that should be returned by the function. + * @param int $batch_size The number of indexables that should be analyzed in every batch. + * @param int|null $current_indexable_id The id for the current indexable. + * @param bool $include_existing_links Optional. Whether or not to include existing links, defaults to true. + * @param array $post_type Optional. The list of post types where suggestions may come from. + * @param bool $only_include_public Optional. Only include public indexables, defaults to false. + * + * @return array An array mapping indexable IDs to scores. Higher scores mean better matches. + */ + protected function retrieve_suggested_indexable_ids( $request_words, $limit, $batch_size, $current_indexable_id, $include_existing_links = true, $post_type = [], $only_include_public = false ) { + // Combine stems, weights and DFs from request. + $request_data = $this->compose_request_data( $request_words ); + + // Calculate vector length of the request set (needed for score normalization later). + $request_vector_length = $this->prominent_words_helper->compute_vector_length( $request_data ); + + // Get all links the post already links to, those shouldn't be suggested. + $excluded_indexable_ids = [ $current_indexable_id ]; + if ( ! $include_existing_links && $current_indexable_id ) { + $links = $this->links_repository->query() + ->distinct() + ->select( 'indexable_id' ) + ->where( 'target_indexable_id', $current_indexable_id ) + ->find_many(); + $excluded_indexable_ids = \array_merge( $excluded_indexable_ids, \wp_list_pluck( $links, 'indexable_id' ) ); + } + $excluded_indexable_ids = \array_filter( $excluded_indexable_ids ); + + $request_stems = \array_keys( $request_data ); + $scores = []; + $page = 1; + + do { + // Retrieve the words of all indexables in this batch that share prominent word stems with request. + $candidates_words = $this->get_candidate_words( $request_stems, $batch_size, $page, $excluded_indexable_ids, $post_type, $only_include_public ); + + // Transform the prominent words table so that it is indexed by indexable_ids. + $candidates_words_by_indexable_ids = $this->group_words_by_indexable_id( $candidates_words ); + + $batch_scores_size = 0; + + foreach ( $candidates_words_by_indexable_ids as $id => $candidate_data ) { + $scores[ $id ] = $this->calculate_score_for_indexable( $request_data, $request_vector_length, $candidate_data ); + ++$batch_scores_size; + } + + // Sort the list of scores and keep only the top $limit of the scores. + $scores = $this->get_top_suggestions( $scores, $limit ); + + ++$page; + } while ( $batch_scores_size === $batch_size ); + + return $scores; + } + + /** + * Normalizes the raw score based on the length of the prominent word vectors. + * + * @param float $raw_score The raw (non-normalized) score. + * @param float $vector_length_candidate The vector lengths of the candidate indexable. + * @param float $vector_length_request The vector length of the words from the request. + * + * @return int|float The score, normalized on vector lengths. + */ + protected function normalize_score( $raw_score, $vector_length_candidate, $vector_length_request ) { + $normalizing_factor = ( $vector_length_request * $vector_length_candidate ); + + if ( $normalizing_factor === 0.0 ) { + // We can't divide by 0, so set the score to 0 instead. + return 0; + } + + return ( $raw_score / $normalizing_factor ); + } + + /** + * Sorts the indexable ids based on the score and returns the top N indexable ids based on a specified limit. + * (Returns all indexable ids if there are less indexable ids than specified by the limit.) + * + * @param array $scores The array matching indexable ids to their scores. + * @param int $limit The maximum number of indexables that should be returned. + * + * @return array The top N indexable ids, sorted from highest to lowest score. + */ + protected function get_top_suggestions( $scores, $limit ) { + // Sort the indexables by descending score. + \uasort( + $scores, + static function ( $score_1, $score_2 ) { + if ( $score_1 === $score_2 ) { + return 0; + } + + return ( ( $score_1 < $score_2 ) ? 1 : -1 ); + } + ); + + // Take the top $limit suggestions, while preserving their ids specified in the keys of the array elements. + return \array_slice( $scores, 0, $limit, true ); + } + + /** + * Gets the singular label of the given combination of object type and sub type. + * + * @param string $object_type An object type. For example 'post' or 'term'. + * @param string $object_sub_type An object sub type. For example 'page' or 'category'. + * + * @return string The singular label of the given combination of object type and sub type, + * or the empty string if the singular label does not exist. + */ + protected function get_sub_type_singular_label( $object_type, $object_sub_type ) { + switch ( $object_type ) { + case 'post': + $post_type = \get_post_type_object( $object_sub_type ); + if ( $post_type ) { + return $post_type->labels->singular_name; + } + break; + case 'term': + $taxonomy = \get_taxonomy( $object_sub_type ); + if ( $taxonomy ) { + return $taxonomy->labels->singular_name; + } + break; + } + + return ''; + } + + /** + * Creates link suggestion data based on the indexables that should be suggested and the scores for these + * indexables. + * + * @param Indexable[] $indexables The indexables for which to create linking suggestions. + * @param array $scores The scores for the linking suggestions. + * + * @return array The internal linking suggestions. + */ + protected function create_suggestions( $indexables, $scores ) { + $objects = $this->retrieve_object_titles( $indexables ); + $link_suggestions = []; + + foreach ( $indexables as $indexable ) { + if ( ! \array_key_exists( $indexable->object_type, $objects ) ) { + continue; + } + + // Object tied to this indexable. E.g. post, page, term. + if ( ! \array_key_exists( $indexable->object_id, $objects[ $indexable->object_type ] ) ) { + continue; + } + + $link_suggestions[] = [ + 'object_type' => $indexable->object_type, + 'id' => (int) ( $indexable->object_id ), + 'title' => $objects[ $indexable->object_type ][ $indexable->object_id ]['title'], + 'link' => $indexable->permalink, + 'isCornerstone' => (bool) $indexable->is_cornerstone, + 'labels' => $this->get_labels( $indexable ), + 'score' => \round( (float) ( $scores[ $indexable->id ] ), 2 ), + ]; + } + + /* + * Because the request to the indexables table messes up with the ordering of the suggestions, + * we have to sort again. + */ + $this->sort_suggestions_by_field( $link_suggestions, 'score' ); + + $cornerstone_suggestions = $this->filter_suggestions( $link_suggestions, true ); + $non_cornerstone_suggestions = $this->filter_suggestions( $link_suggestions, false ); + + return \array_merge_recursive( [], $cornerstone_suggestions, $non_cornerstone_suggestions ); + } + + /** + * Retrieves the labels for the link suggestion. + * + * @param Indexable $indexable The indexable to determine the labels for. + * + * @return array The labels. + */ + protected function get_labels( Indexable $indexable ) { + $labels = []; + if ( $indexable->is_cornerstone ) { + $labels[] = 'cornerstone'; + } + + $labels[] = $this->get_sub_type_singular_label( $indexable->object_type, $indexable->object_sub_type ); + + return $labels; + } + + /** + * Sorts the given link suggestion by field. + * + * @param array $link_suggestions The link suggestions to sort. + * @param string $field The field to sort suggestions by. + * + * @return void + */ + protected function sort_suggestions_by_field( array &$link_suggestions, $field ) { + \usort( + $link_suggestions, + static function ( $suggestion_1, $suggestion_2 ) use ( $field ) { + if ( $suggestion_1[ $field ] === $suggestion_2[ $field ] ) { + return 0; + } + + return ( ( $suggestion_1[ $field ] < $suggestion_2[ $field ] ) ? 1 : -1 ); + } + ); + } + + /** + * Filters the suggestions by cornerstone status. + * + * @param array $link_suggestions The suggestions to filter. + * @param bool $cornerstone Whether or not to include the cornerstone suggestions. + * + * @return array The filtered suggestions. + */ + protected function filter_suggestions( $link_suggestions, $cornerstone ) { + return \array_filter( + $link_suggestions, + static function ( $suggestion ) use ( $cornerstone ) { + return (bool) $suggestion['isCornerstone'] === $cornerstone; + } + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/complete-action.php b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/complete-action.php new file mode 100644 index 00000000..5949f4be --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/complete-action.php @@ -0,0 +1,36 @@ +prominent_words_helper = $prominent_words_helper; + } + + /** + * Sets the indexing state to complete. + * + * @return void + */ + public function complete() { + $this->prominent_words_helper->complete_indexing(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/content-action.php b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/content-action.php new file mode 100644 index 00000000..0df22689 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/content-action.php @@ -0,0 +1,331 @@ +prominent_words_support = $prominent_words_support; + $this->indexable_repository = $indexable_repository; + $this->memoizer = $memoizer; + $this->meta = $meta; + } + + /** + * Returns the number of indexables to be indexed for internal linking suggestions in one batch. + * + * @return int The number of indexables to be indexed in one batch. + */ + public function get_limit() { + /** + * Filter 'wpseo_prominent_words_indexation_limit' - Allow filtering the amount of indexables indexed during each indexing pass. + * + * @param int $max The maximum number of indexables indexed. + */ + $limit = \apply_filters( 'wpseo_prominent_words_indexation_limit', 25 ); + + if ( ! \is_int( $limit ) || $limit < 1 ) { + $limit = 25; + } + + return $limit; + } + + /** + * The total number of indexables without prominent words. + * + * @return int|false The total number of indexables without prominent words. False if the query fails. + */ + public function get_total_unindexed() { + $object_sub_types = $this->get_object_sub_types(); + if ( empty( $object_sub_types ) ) { + return 0; + } + + // This prevents an expensive query. + $total_unindexed = \get_transient( static::TRANSIENT_CACHE_KEY ); + if ( $total_unindexed !== false ) { + return (int) $total_unindexed; + } + + // Try a less expensive query first: check if the indexable table holds any indexables. + // If not, no need to perform a query on the prominent words version and more. + if ( ! $this->at_least_one_indexable() ) { + return 0; + } + + // Run the expensive query to find out the exact number and store it for later use. + $total_unindexed = $this->query()->count(); + \set_transient( static::TRANSIENT_CACHE_KEY, $total_unindexed, \DAY_IN_SECONDS ); + + return $total_unindexed; + } + + /** + * The total number of indexables without prominent words. + * + * @param int $limit Limit the number of unindexed objects that are counted. + * + * @return int|false The total number of indexables without prominent words. False if the query fails. + */ + public function get_limited_unindexed_count( $limit ) { + return $this->get_total_unindexed(); + } + + /** + * Retrieves a batch of indexables, to be indexed for internal linking suggestions. + * + * @return array The indexables data to use for generating prominent words. + */ + public function index() { + $object_sub_types = $this->get_object_sub_types(); + if ( empty( $object_sub_types ) ) { + return []; + } + + $indexables = $this + ->query() + ->limit( $this->get_limit() ) + ->find_many(); + + if ( \count( $indexables ) > 0 ) { + \delete_transient( static::TRANSIENT_CACHE_KEY ); + } + + // If no indexables have been left unindexed, return the empty array. + if ( ! $indexables ) { + return []; + } + + return $this->format_data( $indexables ); + } + + /** + * Creates a query that can find indexables with outdated prominent words. + * + * @return ORM Returns an ORM instance that can be used to execute the query. + */ + protected function query() { + $updated_version = WPSEO_Premium_Prominent_Words_Versioning::get_version_number(); + + return $this->indexable_repository + ->query() + ->where_in( 'object_type', [ 'post', 'term' ] ) + ->where_in( 'object_sub_type', $this->get_object_sub_types() ) + ->where_raw( '(`prominent_words_version` IS NULL OR `prominent_words_version` != ' . $updated_version . ')' ) + ->where_raw( '((`post_status` IS NULL AND `object_type` = \'term\') OR (`post_status` = \'publish\' AND `object_type` = \'post\'))' ); + } + + /** + * Creates a query that checks whether the indexable table holds at least one record. + * + * @return bool true if at the database contains at least one indexable. + */ + protected function at_least_one_indexable() { + return $this->indexable_repository + ->query() + ->select( 'id' ) + ->find_one() !== false; + } + + /** + * Retrieves a list of subtypes to get indexables for. + * + * @return array The array with object subtypes. + */ + protected function get_object_sub_types() { + if ( $this->object_sub_types === null ) { + $this->object_sub_types = \array_merge( + $this->prominent_words_support->get_supported_post_types(), + $this->prominent_words_support->get_supported_taxonomies() + ); + } + + return $this->object_sub_types; + } + + /** + * Formats the data of the given array of indexables, so it can be used to generate prominent words. + * + * @param Indexable[] $indexables The indexables to gather data for. + * + * @return array The data. + */ + protected function format_data( $indexables ) { + $data = []; + foreach ( $indexables as $indexable ) { + // Use the meta context, so we are sure that the data is the same as is output on the frontend. + $context = $this->get_context( $indexable ); + + if ( ! $context ) { + continue; + } + + $data[] = [ + 'object_id' => $indexable->object_id, + 'object_type' => $indexable->object_type, + 'content' => $this->get_content( $context ), + 'meta' => [ + 'primary_focus_keyword' => $context->indexable->primary_focus_keyword, + 'title' => $context->title, + 'description' => $context->description, + 'keyphrase_synonyms' => $this->retrieve_keyphrase_synonyms( $context->indexable ), + ], + ]; + } + + return $data; + } + + /** + * Gets the context for the current indexable. + * + * @param Indexable $indexable The indexable to get context for. + * + * @return Meta_Tags_Context|null The context object. + */ + protected function get_context( $indexable ) { + if ( $indexable->object_type === 'post' ) { + return $this->memoizer->get( $indexable, 'Post_Type' ); + } + + if ( $indexable->object_type === 'term' ) { + return $this->memoizer->get( $indexable, 'Term_Archive' ); + } + + return null; + } + + /** + * Retrieves the keyphrase synonyms for the indexable. + * + * @param Indexable $indexable The indexable to retrieve synonyms for. + * + * @return string[] The keyphrase synonyms. + */ + protected function retrieve_keyphrase_synonyms( $indexable ) { + if ( $indexable->object_type === 'post' ) { + return \json_decode( $this->meta->get_value( 'keywordsynonyms', $indexable->object_id ) ); + } + + if ( $indexable->object_type === 'term' ) { + return \json_decode( $this->meta->get_term_value( $indexable->object_id, $indexable->object_sub_type, 'wpseo_keywordsynonyms' ) ); + } + + return []; + } + + /** + * Determines the content to use. + * + * @param Meta_Tags_Context $context The meta tags context object. + * + * @return string The content associated with the given context. + */ + protected function get_content( Meta_Tags_Context $context ) { + if ( $context->indexable->object_type === 'post' ) { + global $post; + + /* + * Set the global $post to be the post in this iteration. + * This is required for post-specific shortcodes that reference the global post. + */ + + // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited -- To setup the post we need to do this explicitly. + $post = $context->post; + + // Set up WordPress data for this post, outside of "the_loop". + \setup_postdata( $post ); + + // Wraps in output buffering to prevent shortcodes that echo stuff instead of return from breaking things. + \ob_start(); + $content = \do_shortcode( $post->post_content ); + \ob_end_clean(); + + \wp_reset_postdata(); + + return $content; + } + + if ( $context->indexable->object_type === 'term' ) { + $term = \get_term( $context->indexable->object_id, $context->indexable->object_sub_type ); + if ( $term === null || \is_wp_error( $term ) ) { + return ''; + } + + // Wraps in output buffering to prevent shortcodes that echo stuff instead of return from breaking things. + \ob_start(); + $description = \do_shortcode( $term->description ); + \ob_end_clean(); + + return $description; + } + + return ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/save-action.php b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/save-action.php new file mode 100644 index 00000000..cc3b8b4f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/actions/prominent-words/save-action.php @@ -0,0 +1,212 @@ +prominent_words_repository = $prominent_words_repository; + $this->indexable_repository = $indexable_repository; + $this->prominent_words_helper = $prominent_words_helper; + } + + /** + * Passes to-be-linked prominent words to the link function, together with the object type and object id of the + * indexable to which they will need to be linked. + * + * @param array $data The data to process. This is an array consisting of associative arrays (1 per indexable) with the keys + * 'object_id', 'object_type' and 'prominent_words' (an array with 'stem' => 'weight' mappings). + * + * @return void + */ + public function save( $data ) { + if ( $data ) { + foreach ( $data as $row ) { + $prominent_words = ( $row['prominent_words'] ?? [] ); + + $this->link( $row['object_type'], $row['object_id'], $prominent_words ); + } + } + } + + /** + * Inserts, updates and removes prominent words that are now, or are no longer, associated with an indexable. + * + * @param string $object_type The object type of the indexable (e.g. `post` or `term`). + * @param int $object_id The object id of the indexable. + * @param array $words The words to link, as a `'stem' => weight` map. + * + * @return void + */ + public function link( $object_type, $object_id, $words ) { + $indexable = $this->indexable_repository->find_by_id_and_type( $object_id, $object_type ); + + if ( $indexable ) { + // Set the prominent words version number on the indexable. + $indexable->prominent_words_version = WPSEO_Premium_Prominent_Words_Versioning::get_version_number(); + + /* + * It is correct to save here, because if the indexable didn't exist yet, + * find_by_id_and_type (in the above 'save' function) will have auto-created an indexable object + * with the correct data. So we are not saving an incomplete indexable. + */ + $indexable->save(); + + // Find the prominent words that were already associated with this indexable. + $old_words = $this->prominent_words_repository->find_by_indexable_id( $indexable->id ); + + // Handle these words. + $words = $this->handle_old_words( $indexable->id, $old_words, $words ); + + // Create database entries for all new words that are not yet in the database. + $this->create_words( $indexable->id, $words ); + } + } + + /** + * Deletes outdated prominent words from the database, and otherwise considers + * whether the old words need to have their weights updated. + * + * @param int $indexable_id The id of the indexable which needs to have its + * old words updated. + * @param Prominent_Words[] $old_words An array with prominent words that were already + * present in the database for a given indexable. + * @param array $words The new prominent words for a given indexable. + * + * @return array The words that need to be created. + */ + protected function handle_old_words( $indexable_id, $old_words, $words ) { + // Return early if the indexable didn't already have any prominent words associated with it. + if ( empty( $old_words ) ) { + return $words; + } + + $outdated_stems = []; + + foreach ( $old_words as $old_word ) { + // If an old prominent word is no longer associated with an indexable, + // add it to the array with outdated stems, so that at a later step + // it can be deleted from the database. + if ( ! \array_key_exists( $old_word->stem, $words ) ) { + $outdated_stems[] = $old_word->stem; + + continue; + } + + // If the old word should still be associated with the indexable, + // update its weight if that has changed. + $this->update_weight_if_changed( $old_word, $words[ $old_word->stem ] ); + + // Remove the key from the array with the new prominent words. + unset( $words[ $old_word->stem ] ); + } + + // Delete all the outdated prominent words in one query. + try { + $this->prominent_words_repository->delete_by_indexable_id_and_stems( $indexable_id, $outdated_stems ); + // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch -- There is nothing to do. + } catch ( Exception $exception ) { + // Do nothing. + } + + return $words; + } + + /** + * Updates the weight of the given prominent word, if the weight has changed significantly. + * + * @param Prominent_Words $word The prominent word of which to update the weight. + * @param float $new_weight The new weight. + * + * @return void + */ + protected function update_weight_if_changed( $word, $new_weight ) { + if ( \abs( $word->weight - $new_weight ) > 0.1 ) { + $word->weight = $new_weight; + $word->save(); + } + } + + /** + * Creates the given words in the database and links them to the indexable with the given id. + * + * @param int $indexable_id The ID of the indexable. + * @param array $words The prominent words to create, as a `'stem'` => weight` map. + * + * @return void + */ + protected function create_words( $indexable_id, $words ) { + // Return early if there are no new words to add to the database. + if ( empty( $words ) ) { + return; + } + + $new_models = []; + + foreach ( $words as $stem => $weight ) { + $new_model = $this->prominent_words_repository->query()->create( + [ + 'indexable_id' => $indexable_id, + 'stem' => $stem, + 'weight' => $weight, + ] + ); + $new_models[] = $new_model; + } + + try { + $this->prominent_words_repository->query()->insert_many( $new_models ); + // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch -- There is nothing to do. + } catch ( Exception $exception ) { + // Do nothing. + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/addon-installer.php b/wp/wp-content/plugins/wordpress-seo-premium/src/addon-installer.php new file mode 100644 index 00000000..b743e5c9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/addon-installer.php @@ -0,0 +1,451 @@ +base_dir = $base_dir; + } + + /** + * Performs the installer if it hasn't been done yet. + * + * A notice will be shown in the admin if the installer failed. + * + * @return void + */ + public function install_yoast_seo_from_repository() { + \add_action( 'admin_notices', [ $this, 'show_install_yoast_seo_notification' ] ); + \add_action( 'network_admin_notices', [ $this, 'show_install_yoast_seo_notification' ] ); + \add_action( 'plugins_loaded', [ $this, 'validate_installation_status' ] ); + if ( ! $this->get_status() ) { + try { + $this->install(); + } catch ( Exception $e ) { + // Auto installation failed, the notice will be displayed. + return; + } + } + elseif ( $this->get_status() === 'started' ) { + require_once \ABSPATH . 'wp-admin/includes/plugin.php'; + $this->detect_yoast_seo(); + if ( \is_plugin_active( $this->yoast_seo_file ) ) { + // Yoast SEO is active so mark installation as successful. + \update_option( self::OPTION_KEY, 'completed', true ); + // Enable tracking. + if ( \class_exists( WPSEO_Options::class ) ) { + WPSEO_Premium_Option::register_option(); + if ( WPSEO_Options::get( 'toggled_tracking' ) !== true ) { + WPSEO_Options::set( 'tracking', true ); + } + WPSEO_Options::set( 'should_redirect_after_install', true ); + } + + if ( \class_exists( WPSEO_Capability_Manager_Factory::class ) ) { + \do_action( 'wpseo_register_capabilities_premium' ); + WPSEO_Capability_Manager_Factory::get( 'premium' )->add(); + } + } + } + } + + /** + * Performs the installer if it hasn't been done yet. + * Otherwise attempts to load Yoast SEO from the vendor directory. + * + * @deprecated 21.9 + * @codeCoverageIgnore + * + * @return void + */ + public function install_or_load_yoast_seo_from_vendor_directory() { + \_deprecated_function( __METHOD__, 'Yoast SEO Premium 21.9' ); + } + + /** + * Displays a notification to install Yoast SEO. + * + * @return void + */ + public function show_install_yoast_seo_notification() { + if ( ! $this->should_show_notification() ) { + return; + } + + require_once \ABSPATH . 'wp-admin/includes/plugin.php'; + $this->detect_yoast_seo(); + + $action = $this->get_notification_action(); + + if ( ! $action ) { + return; + } + + echo ( + '
    ' + . '

    ' + . \sprintf( + /* translators: %1$s: Yoast SEO, %2$s: The minimum Yoast SEO version required, %3$s: Yoast SEO Premium. */ + \esc_html__( '%1$s %2$s must be installed and activated in order to use %3$s.', 'wordpress-seo-premium' ), + 'Yoast SEO', + \esc_html( self::MINIMUM_YOAST_SEO_VERSION ), + 'Yoast SEO Premium' + ) + . '

    ' + . '

    ' + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output is escaped above. + . $action + . '

    ' + . '
    ' + ); + } + + /** + * Returns the notification action to display. + * + * @return false|string The notification action or false if no action should be taken. + */ + protected function get_notification_action() { + $minimum_version_met = \version_compare( $this->yoast_seo_version, self::MINIMUM_YOAST_SEO_VERSION . '-RC0', '>=' ); + $network_active = \is_plugin_active_for_network( \WPSEO_PREMIUM_BASENAME ); + $yoast_seo_active = ( $network_active ) ? \is_plugin_active_for_network( $this->yoast_seo_file ) : \is_plugin_active( $this->yoast_seo_file ); + + if ( $minimum_version_met && $yoast_seo_active ) { + return false; + } + + if ( $minimum_version_met ) { + $permission = 'activate_plugins'; + } + elseif ( $this->yoast_seo_version !== '0' ) { + $permission = 'update_plugins'; + } + else { + $permission = 'install_plugins'; + } + + if ( \current_user_can( $permission ) ) { + switch ( $permission ) { + case 'activate_plugins': + if ( $network_active ) { + $base_url = \network_admin_url( 'plugins.php?action=activate&plugin=' . $this->yoast_seo_file ); + /* translators: %1$s: Yoast SEO, %2$s: Link start tag, %3$s: Link end tag. */ + $button_content = \__( '%2$sNetwork Activate %1$s now%3$s', 'wordpress-seo-premium' ); + } + else { + $base_url = \self_admin_url( 'plugins.php?action=activate&plugin=' . $this->yoast_seo_file ); + /* translators: %1$s: Yoast SEO, %2$s: Link start tag, %3$s: Link end tag. */ + $button_content = \__( '%2$sActivate %1$s now%3$s', 'wordpress-seo-premium' ); + } + $url = \wp_nonce_url( $base_url, 'activate-plugin_' . $this->yoast_seo_file ); + break; + case 'update_plugins': + $url = \wp_nonce_url( \self_admin_url( 'update.php?action=upgrade-plugin&plugin=' . $this->yoast_seo_file ), 'upgrade-plugin_' . $this->yoast_seo_file ); + /* translators: %1$s: Yoast SEO, %2$s: Link start tag, %3$s: Link end tag. */ + $button_content = \__( '%2$sUpgrade %1$s now%3$s', 'wordpress-seo-premium' ); + break; + case 'install_plugins': + $url = \wp_nonce_url( \self_admin_url( 'update.php?action=install-plugin&plugin=wordpress-seo' ), 'install-plugin_wordpress-seo' ); + /* translators: %1$s: Yoast SEO, %2$s: Link start tag, %3$s: Link end tag. */ + $button_content = \__( '%2$sInstall %1$s now%3$s', 'wordpress-seo-premium' ); + break; + } + return \sprintf( + \esc_html( $button_content ), + 'Yoast SEO', + '', + '' + ); + } + + if ( \is_multisite() ) { + /* translators: %1$s: Yoast SEO, %2$s: The minimum Yoast SEO version required. */ + $message = \__( 'Please contact a network administrator to install %1$s %2$s.', 'wordpress-seo-premium' ); + } + else { + /* translators: %1$s: Yoast SEO, %2$s: The minimum Yoast SEO version required. */ + $message = \__( 'Please contact an administrator to install %1$s %2$s.', 'wordpress-seo-premium' ); + } + return \sprintf( + \esc_html( $message ), + 'Yoast SEO', + \esc_html( self::MINIMUM_YOAST_SEO_VERSION ) + ); + } + + /** + * Checks if Yoast SEO is at a minimum required version. + * + * @return bool True if Yoast SEO is at a minimal required version + */ + public static function is_yoast_seo_up_to_date() { + return ( \defined( 'WPSEO_VERSION' ) && \version_compare( \WPSEO_VERSION, self::MINIMUM_YOAST_SEO_VERSION . '-RC0', '>=' ) ); + } + + /** + * Resets the installation status if Yoast SEO is not installed or outdated. + * + * @return void + */ + public function validate_installation_status() { + if ( ! self::is_yoast_seo_up_to_date() ) { + \delete_option( self::OPTION_KEY ); + } + } + + /** + * Returns the status of the installer. + * + * This uses a separate option from our options framework as it needs to be available + * before Yoast SEO has been loaded. + * + * @return false|string false if the installer hasn't been started. + * "started" if it has but hasn't completed. + * "completed" if it has been completed. + */ + protected function get_status() { + return \get_option( self::OPTION_KEY ); + } + + /** + * Installs to premium as an addon. + * + * @return void + * + * @throws Exception If the installer failed. + */ + protected function install() { + if ( $this->get_status() ) { + return; + } + // Mark the installer as having been started but not completed. + \update_option( self::OPTION_KEY, 'started', true ); + + require_once \ABSPATH . 'wp-admin/includes/plugin.php'; + + $this->detect_yoast_seo(); + // Either the plugin is not installed or is installed and too old. + if ( \version_compare( $this->yoast_seo_version, self::MINIMUM_YOAST_SEO_VERSION . '-RC0', '<' ) ) { + include_once \ABSPATH . 'wp-includes/pluggable.php'; + include_once \ABSPATH . 'wp-admin/includes/file.php'; + include_once \ABSPATH . 'wp-admin/includes/misc.php'; + require_once \ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; + + // The class is defined inline to avoid problems with the autoloader when extending a WP class. + $skin = new class() extends Plugin_Installer_Skin { + + /** + * Suppresses the header. + * + * @return void + */ + public function header() { + } + + /** + * Suppresses the footer. + * + * @return void + */ + public function footer() { + } + + /** + * Suppresses the errors. + * + * @phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Flags unused params which are required via the interface. Invalid. + * + * @param string|WP_Error $errors Errors. + * + * @return void + */ + public function error( $errors ) { + } + + /** + * Suppresses the feedback. + * + * @phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Flags unused params which are required via the interface. Invalid. + * + * @param string $feedback Message data. + * @param array ...$args Optional text replacements. + * + * @return void + */ + public function feedback( $feedback, ...$args ) { + } + }; + + // Check if the minimum version is available, otherwise we'll download the zip from SVN trunk (which should be the latest RC). + $url = 'https://downloads.wordpress.org/plugin/wordpress-seo.' . self::MINIMUM_YOAST_SEO_VERSION . '.zip'; + $check_result = \wp_remote_retrieve_response_code( \wp_remote_head( $url ) ); + if ( $check_result !== 200 ) { + $url = 'https://downloads.wordpress.org/plugin/wordpress-seo.zip'; + } + + $upgrader = new Plugin_Upgrader( $skin ); + $installed = $upgrader->install( $url ); + if ( \is_wp_error( $installed ) || ! $installed ) { + throw new Exception( 'Could not automatically install Yoast SEO' ); + } + } + + $this->ensure_yoast_seo_is_activated(); + $this->transfer_auto_update_settings(); + // Mark the installer as having been completed. + \update_option( self::OPTION_KEY, 'completed', true ); + } + + /** + * Detects the Yoast SEO plugin file and version. + * + * @return void + */ + protected function detect_yoast_seo() { + // Make sure Yoast SEO isn't already installed in another directory. + foreach ( \get_plugins() as $file => $plugin ) { + // Use text domain to identify the plugin as it's the closest thing to a slug. + if ( + isset( $plugin['TextDomain'] ) && $plugin['TextDomain'] === 'wordpress-seo' + && isset( $plugin['Name'] ) && $plugin['Name'] === 'Yoast SEO' + ) { + $this->yoast_seo_file = $file; + $this->yoast_seo_version = ( $plugin['Version'] ?? '0' ); + $this->yoast_seo_dir = \WP_PLUGIN_DIR . '/' . \dirname( $file ); + } + } + } + + /** + * Activates Yoast SEO. + * + * @return void + * + * @throws Exception If Yoast SEO could not be activated. + */ + protected function ensure_yoast_seo_is_activated() { + if ( ! \is_plugin_active( $this->yoast_seo_file ) ) { + $network_active = \is_plugin_active_for_network( \WPSEO_PREMIUM_BASENAME ); + // If we're not active at all it means we're being activated. + if ( ! $network_active && ! \is_plugin_active( \WPSEO_PREMIUM_BASENAME ) ) { + // So set network active to whether or not we're in the network admin. + $network_active = \is_network_admin(); + } + // Activate Yoast SEO. If Yoast SEO Premium is network active then make sure Yoast SEO is as well. + $activation = \activate_plugin( $this->yoast_seo_file, '', $network_active ); + if ( \is_wp_error( $activation ) ) { + throw new Exception( \esc_html( 'Could not activate Yoast SEO: ' . $activation->get_error_message() ) ); + } + } + } + + /** + * Transfers the auto update settings for Yoast SEO Premium to Yoast SEO. + * + * @return void + */ + protected function transfer_auto_update_settings() { + $auto_updates = (array) \get_site_option( 'auto_update_plugins', [] ); + + if ( \in_array( \WPSEO_PREMIUM_BASENAME, $auto_updates, true ) ) { + $auto_updates[] = $this->yoast_seo_file; + $auto_updates = \array_unique( $auto_updates ); + \update_site_option( 'auto_update_plugins', $auto_updates ); + } + } + + /** + * Wether or not the notification to install Yoast SEO should be shown. + * + * This is copied from the Yoast_Admin_And_Dashboard_Conditional which we can't use as Yoast SEO may not be installed. + * + * @return bool + */ + protected function should_show_notification() { + global $pagenow; + + // Do not output on plugin / theme upgrade pages or when WordPress is upgrading. + if ( ( \defined( 'IFRAME_REQUEST' ) && \IFRAME_REQUEST ) || \wp_installing() ) { + return false; + } + + /* + * IFRAME_REQUEST is not defined on these pages, + * though these action pages do show when upgrading themes or plugins. + */ + $actions = [ 'do-theme-upgrade', 'do-plugin-upgrade', 'do-core-upgrade', 'do-core-reinstall' ]; + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['action'] ) && \in_array( $_GET['action'], $actions, true ) ) { + return false; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.ValidatedSanitizedInput -- Reason: We are not processing form information, only a strpos is done in the input. + if ( $pagenow === 'admin.php' && isset( $_GET['page'] ) && \strpos( $_GET['page'], 'wpseo' ) === 0 ) { + return true; + } + + $target_pages = [ + 'index.php', + 'plugins.php', + 'update-core.php', + 'options-permalink.php', + ]; + + return \in_array( $pagenow, $target_pages, true ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/ai-editor-conditional.php b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/ai-editor-conditional.php new file mode 100644 index 00000000..6836979d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/ai-editor-conditional.php @@ -0,0 +1,77 @@ +post_conditional = $post_conditional; + $this->current_page_helper = $current_page_helper; + } + + /** + * Returns `true` when the AI editor integration should be active. + * + * @return bool `true` when the AI editor integration should be active. + */ + public function is_met() { + return $this->post_conditional->is_met() || $this->is_term() || $this->is_elementor_editor(); + } + + /** + * Returns `true` when the page is a term page. + * + * @return bool `true` when the page is a term page. + */ + private function is_term() { + return $this->current_page_helper->get_current_admin_page() === 'term.php'; + } + + /** + * Returns `true` when the page is the Elementor editor. + * + * @return bool `true` when the page is the Elementor editor. + */ + private function is_elementor_editor() { + if ( $this->current_page_helper->get_current_admin_page() !== 'post.php' ) { + return false; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['action'] ) && \is_string( $_GET['action'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are not processing form information, We are only strictly comparing. + if ( \wp_unslash( $_GET['action'] ) === 'elementor' ) { + return true; + } + } + + return false; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/algolia-enabled-conditional.php b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/algolia-enabled-conditional.php new file mode 100644 index 00000000..396f9488 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/algolia-enabled-conditional.php @@ -0,0 +1,37 @@ +options_helper = $options_helper; + } + + /** + * Returns whether or not this conditional is met. + * + * @return bool Whether or not the conditional is met. + */ + public function is_met() { + return $this->options_helper->get( 'algolia_integration_active' ) === true; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/cornerstone-enabled-conditional.php b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/cornerstone-enabled-conditional.php new file mode 100644 index 00000000..54c9010b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/cornerstone-enabled-conditional.php @@ -0,0 +1,39 @@ +options_helper = $options_helper; + } + + /** + * Returns `true` when the cornerstone content feature is enabled. + * + * @return bool `true` when the cornerstone content feature is enabled. + */ + public function is_met() { + return $this->options_helper->get( 'enable_cornerstone_content' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/edd-conditional.php b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/edd-conditional.php new file mode 100644 index 00000000..b82d48c3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/edd-conditional.php @@ -0,0 +1,20 @@ +is_enabled(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/term-overview-or-ajax-conditional.php b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/term-overview-or-ajax-conditional.php new file mode 100644 index 00000000..90c1dc0e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/conditionals/term-overview-or-ajax-conditional.php @@ -0,0 +1,23 @@ +yoast_admin_conditional = $yoast_admin_conditional; + } + + /** + * Returns whether this conditional is met. + * + * @return bool Whether the conditional is met. + */ + public function is_met() { + if ( $this->yoast_admin_conditional->is_met() ) { + return true; + } + + if ( $this->is_post_request() && $this->is_introductions_rest_request() ) { + return true; + } + + return false; + } + + /** + * Whether the request method is POST. + * + * @return bool + */ + private function is_post_request() { + if ( ! isset( $_SERVER['REQUEST_METHOD'] ) ) { + return false; + } + + return $_SERVER['REQUEST_METHOD'] === 'POST'; + } + + /** + * Whether the request URI starts with the prefix, Yoast API V1 and introductions. + * + * @return bool + */ + private function is_introductions_rest_request() { + if ( ! isset( $_SERVER['REQUEST_URI'] ) ) { + return false; + } + + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- Variable is only used in a case-insensitive comparison. + return \stripos( $_SERVER['REQUEST_URI'], '/' . \rest_get_url_prefix() . '/' . Main::API_V1_NAMESPACE . '/introductions/' ) === 0; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/config/badge-group-names.php b/wp/wp-content/plugins/wordpress-seo-premium/src/config/badge-group-names.php new file mode 100644 index 00000000..15ea0281 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/config/badge-group-names.php @@ -0,0 +1,37 @@ + '16.5-beta0', + ]; + + /** + * Badge_Group_Names constructor. + * + * @param string|null $version Optional. The current version number. + */ + public function __construct( $version = null ) { + parent::__construct( $version ); + + if ( ! $version ) { + $version = \WPSEO_PREMIUM_VERSION; + } + $this->version = $version; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/config/migrations/20190715101200_WpYoastPremiumImprovedInternalLinking.php b/wp/wp-content/plugins/wordpress-seo-premium/src/config/migrations/20190715101200_WpYoastPremiumImprovedInternalLinking.php new file mode 100644 index 00000000..346d6c57 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/config/migrations/20190715101200_WpYoastPremiumImprovedInternalLinking.php @@ -0,0 +1,97 @@ +get_table_name(); + $adapter = $this->get_adapter(); + + if ( ! $adapter->has_table( $table_name ) ) { + $table = $this->create_table( $table_name ); + + $table->column( + 'stem', + 'string', + [ + 'null' => true, + 'limit' => 191, + ] + ); + $table->column( + 'indexable_id', + 'integer', + [ + 'unsigned' => true, + 'null' => true, + 'limit' => 11, + ] + ); + $table->column( 'weight', 'float' ); + + $table->finish(); + } + + if ( ! $adapter->has_index( $table_name, 'stem', [ 'name' => 'stem' ] ) ) { + $this->add_index( + $table_name, + [ + 'stem', + ], + [ + 'name' => 'stem', + ] + ); + } + + if ( ! $adapter->has_index( $table_name, 'indexable_id', [ 'name' => 'indexable_id' ] ) ) { + $this->add_index( + $table_name, + [ + 'indexable_id', + ], + [ + 'name' => 'indexable_id', + ] + ); + } + } + + /** + * Migration down. + */ + public function down() { + $table_name = $this->get_table_name(); + if ( $this->get_adapter()->has_table( $table_name ) ) { + $this->drop_table( $table_name ); + } + } + + /** + * Retrieves the table name to use. + * + * @return string The table name to use. + */ + protected function get_table_name() { + return Model::get_table_name( 'Prominent_Words' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/config/migrations/20210827093024_AddIndexOnIndexableIdAndStem.php b/wp/wp-content/plugins/wordpress-seo-premium/src/config/migrations/20210827093024_AddIndexOnIndexableIdAndStem.php new file mode 100644 index 00000000..b42d7d24 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/config/migrations/20210827093024_AddIndexOnIndexableIdAndStem.php @@ -0,0 +1,85 @@ +get_table_name(); + $adapter = $this->get_adapter(); + + if ( ! $adapter->has_table( $table_name ) ) { + return; + } + + // Create the index if it doesn't exist already. + if ( ! $adapter->has_index( $table_name, $this->columns_with_index, [ 'name' => 'indexable_id_and_stem' ] ) ) { + $this->add_index( + $this->get_table_name(), + $this->columns_with_index, + [ 'name' => 'indexable_id_and_stem' ] + ); + } + } + + /** + * Migration down. Removes the combined index on 'indexable_id' and 'stem'. + * + * @return void + */ + public function down() { + $table_name = $this->get_table_name(); + $adapter = $this->get_adapter(); + + if ( ! $adapter->has_table( $table_name ) ) { + return; + } + + // Remove the index if it exists. + if ( $adapter->has_index( $table_name, $this->columns_with_index, [ 'name' => 'indexable_id_and_stem' ] ) ) { + + $this->remove_index( + $this->get_table_name(), + $this->columns_with_index, + [ 'name' => 'indexable_id_and_stem' ] + ); + } + } + + /** + * Retrieves the table name to use for storing prominent words. + * + * @return string The table name to use. + */ + protected function get_table_name() { + return Model::get_table_name( 'Prominent_Words' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/database/migration-runner-premium.php b/wp/wp-content/plugins/wordpress-seo-premium/src/database/migration-runner-premium.php new file mode 100644 index 00000000..11ba8475 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/database/migration-runner-premium.php @@ -0,0 +1,37 @@ +run_premium_migrations(); + + // The below action is used when queries fail, this may happen in a multisite environment when switch_to_blog is used. + \add_action( '_yoast_run_migrations', [ $this, 'run_premium_migrations' ] ); + } + + /** + * Runs the Premium migrations. + * + * @return void + * + * @throws Exception When a migration errored. + */ + public function run_premium_migrations() { + $this->run_migrations( 'premium', \WPSEO_PREMIUM_VERSION ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/forbidden-property-mutation-exception.php b/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/forbidden-property-mutation-exception.php new file mode 100644 index 00000000..84f48592 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/forbidden-property-mutation-exception.php @@ -0,0 +1,34 @@ +missing_licenses = $missing_licenses; + parent::__construct( $message, $code, $error_identifier, $previous ); + } + + /** + * Gets the missing plugin licences. + * + * @return string[] The missing plugin licenses. + */ + public function get_missing_licenses() { + return $this->missing_licenses; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/remote-request/remote-request-exception.php b/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/remote-request/remote-request-exception.php new file mode 100644 index 00000000..2c36fe05 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/remote-request/remote-request-exception.php @@ -0,0 +1,40 @@ +error_identifier = (string) $error_identifier; + } + + /** + * Returns the error identifier. + * + * @return string The error identifier. + */ + public function get_error_identifier(): string { + return $this->error_identifier; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/remote-request/request-timeout-exception.php b/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/remote-request/request-timeout-exception.php new file mode 100644 index 00000000..74903c23 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/exceptions/remote-request/request-timeout-exception.php @@ -0,0 +1,10 @@ +load(); + } + } + else { + add_action( 'wpseo_loaded', 'YoastSEOPremium' ); + } + + return $main; +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/draft-js-emoji-picker.php b/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/draft-js-emoji-picker.php new file mode 100644 index 00000000..9dd4e4ce --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/draft-js-emoji-picker.php @@ -0,0 +1 @@ + array('dependencies' => array('lodash', 'react', 'wp-polyfill', 'yoast-seo-draft-js-package', 'yoast-seo-prop-types-package'), 'version' => 'e941559b9bed6a91096b')); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/externals.php b/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/externals.php new file mode 100644 index 00000000..2249b04f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/externals.php @@ -0,0 +1 @@ + array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '1c09414490cdc1f8c9ba')); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/plugin.php b/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/plugin.php new file mode 100644 index 00000000..3bdd39bc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/generated/assets/plugin.php @@ -0,0 +1 @@ + array('dependencies' => array('lodash', 'wp-polyfill', 'yoast-seo-analysis-package'), 'version' => '89fe4fca605dfe56fc36'), 'yoast-premium-social-metadata-previews-2290.min.js' => array('dependencies' => array('react', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-social-metadata-previews-package'), 'version' => 'dbee696f537f6214203b'), 'wp-seo-premium-admin-redirects-2290.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => 'e32f0676ce2f298b5fd4'), 'wp-seo-premium-custom-fields-plugin-2290.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '72f2633d565d0505c093'), 'wp-seo-premium-quickedit-notification-2290.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '76c42b45e36bd01437b2'), 'wp-seo-premium-redirect-notifications-2290.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '5a20a9c95c17ef82a10b'), 'wp-seo-premium-redirect-notifications-gutenberg-2290.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package'), 'version' => '621e83f3ab96b99b4153'), 'wp-seo-premium-metabox-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'bd60ab29a268fbdd937a'), 'wp-seo-premium-draft-js-plugins-2290.min.js' => array('dependencies' => array('react', 'wp-components', 'wp-element', 'wp-hooks', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => 'e8a252b259e7e069b8dd'), 'dynamic-blocks-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => '6bcb7d455494ec9dd22a'), 'blocks-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'c0c424c6e3234f154748'), 'workouts-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-select', 'yoast-seo-style-guide-package'), 'version' => '764f8fcf7ef81b7d2843'), 'frontend-inspector-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '7d52f7618584c58a9a39'), 'wp-seo-premium-elementor-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-social-metadata-previews-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'cd5cef646291e38cd1bc'), 'register-text-formality-2290.min.js' => array('dependencies' => array('wp-polyfill', 'yoast-seo-analysis-package'), 'version' => '3125f027fb4a3bfea429'), 'register-premium-assessments-2290.min.js' => array('dependencies' => array('wp-polyfill', 'yoast-seo-analysis-package'), 'version' => '41297668826d0ed71fc0'), 'ai-generator-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-previews-package', 'yoast-seo-ui-library-package'), 'version' => '8c048bad62cdc6a63801'), 'introductions-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => '6e296bb57144a3ffc9ea'), 'manage-ai-consent-button-2290.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => '7e6104183929e5398b40')); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/generated/container.php b/wp/wp-content/plugins/wordpress-seo-premium/src/generated/container.php new file mode 100644 index 00000000..bbbf5b8d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/generated/container.php @@ -0,0 +1,1762 @@ +services = []; + $this->normalizedIds = [ + 'wpseo_addon_manager' => 'WPSEO_Addon_Manager', + 'wpseo_admin_asset_manager' => 'WPSEO_Admin_Asset_Manager', + 'wpseo_premium_prominent_words_support' => 'WPSEO_Premium_Prominent_Words_Support', + 'wpseo_premium_prominent_words_unindexed_post_query' => 'WPSEO_Premium_Prominent_Words_Unindexed_Post_Query', + 'wpseo_shortlinker' => 'WPSEO_Shortlinker', + 'yoast\\wp\\lib\\migrations\\adapter' => 'Yoast\\WP\\Lib\\Migrations\\Adapter', + 'yoast\\wp\\seo\\actions\\indexing\\indexable_general_indexation_action' => 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action', + 'yoast\\wp\\seo\\actions\\indexing\\indexable_post_indexation_action' => 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action', + 'yoast\\wp\\seo\\actions\\indexing\\indexable_post_type_archive_indexation_action' => 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Type_Archive_Indexation_Action', + 'yoast\\wp\\seo\\actions\\indexing\\indexable_term_indexation_action' => 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Term_Indexation_Action', + 'yoast\\wp\\seo\\builders\\indexable_term_builder' => 'Yoast\\WP\\SEO\\Builders\\Indexable_Term_Builder', + 'yoast\\wp\\seo\\conditionals\\admin\\post_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Post_Conditional', + 'yoast\\wp\\seo\\conditionals\\admin\\posts_overview_or_ajax_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Posts_Overview_Or_Ajax_Conditional', + 'yoast\\wp\\seo\\conditionals\\admin\\yoast_admin_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Yoast_Admin_Conditional', + 'yoast\\wp\\seo\\conditionals\\admin_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Admin_Conditional', + 'yoast\\wp\\seo\\conditionals\\front_end_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Front_End_Conditional', + 'yoast\\wp\\seo\\conditionals\\migrations_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Migrations_Conditional', + 'yoast\\wp\\seo\\conditionals\\open_graph_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Open_Graph_Conditional', + 'yoast\\wp\\seo\\conditionals\\robots_txt_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional', + 'yoast\\wp\\seo\\conditionals\\settings_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Settings_Conditional', + 'yoast\\wp\\seo\\conditionals\\third_party\\elementor_activated_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Third_Party\\Elementor_Activated_Conditional', + 'yoast\\wp\\seo\\conditionals\\third_party\\elementor_edit_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Third_Party\\Elementor_Edit_Conditional', + 'yoast\\wp\\seo\\conditionals\\user_profile_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\User_Profile_Conditional', + 'yoast\\wp\\seo\\conditionals\\wincher_enabled_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Wincher_Enabled_Conditional', + 'yoast\\wp\\seo\\config\\migration_status' => 'Yoast\\WP\\SEO\\Config\\Migration_Status', + 'yoast\\wp\\seo\\config\\migrations\\wpyoastpremiumimprovedinternallinking' => 'Yoast\\WP\\SEO\\Config\\Migrations\\WpYoastPremiumImprovedInternalLinking', + 'yoast\\wp\\seo\\helpers\\capability_helper' => 'Yoast\\WP\\SEO\\Helpers\\Capability_Helper', + 'yoast\\wp\\seo\\helpers\\current_page_helper' => 'Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper', + 'yoast\\wp\\seo\\helpers\\date_helper' => 'Yoast\\WP\\SEO\\Helpers\\Date_Helper', + 'yoast\\wp\\seo\\helpers\\indexable_helper' => 'Yoast\\WP\\SEO\\Helpers\\Indexable_Helper', + 'yoast\\wp\\seo\\helpers\\indexing_helper' => 'Yoast\\WP\\SEO\\Helpers\\Indexing_Helper', + 'yoast\\wp\\seo\\helpers\\language_helper' => 'Yoast\\WP\\SEO\\Helpers\\Language_Helper', + 'yoast\\wp\\seo\\helpers\\meta_helper' => 'Yoast\\WP\\SEO\\Helpers\\Meta_Helper', + 'yoast\\wp\\seo\\helpers\\options_helper' => 'Yoast\\WP\\SEO\\Helpers\\Options_Helper', + 'yoast\\wp\\seo\\helpers\\post_type_helper' => 'Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper', + 'yoast\\wp\\seo\\helpers\\request_helper' => 'Yoast\\WP\\SEO\\Helpers\\Request_Helper', + 'yoast\\wp\\seo\\helpers\\robots_helper' => 'Yoast\\WP\\SEO\\Helpers\\Robots_Helper', + 'yoast\\wp\\seo\\helpers\\score_icon_helper' => 'Yoast\\WP\\SEO\\Helpers\\Score_Icon_Helper', + 'yoast\\wp\\seo\\helpers\\social_profiles_helper' => 'Yoast\\WP\\SEO\\Helpers\\Social_Profiles_Helper', + 'yoast\\wp\\seo\\helpers\\url_helper' => 'Yoast\\WP\\SEO\\Helpers\\Url_Helper', + 'yoast\\wp\\seo\\helpers\\user_helper' => 'Yoast\\WP\\SEO\\Helpers\\User_Helper', + 'yoast\\wp\\seo\\integrations\\admin\\admin_columns_cache_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Admin_Columns_Cache_Integration', + 'yoast\\wp\\seo\\integrations\\third_party\\translationspress' => 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\TranslationsPress', + 'yoast\\wp\\seo\\integrations\\third_party\\wincher_keyphrases' => 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\Wincher_Keyphrases', + 'yoast\\wp\\seo\\introductions\\infrastructure\\wistia_embed_permission_repository' => 'Yoast\\WP\\SEO\\Introductions\\Infrastructure\\Wistia_Embed_Permission_Repository', + 'yoast\\wp\\seo\\loader' => 'Yoast\\WP\\SEO\\Loader', + 'yoast\\wp\\seo\\memoizers\\meta_tags_context_memoizer' => 'Yoast\\WP\\SEO\\Memoizers\\Meta_Tags_Context_Memoizer', + 'yoast\\wp\\seo\\premium\\actions\\ai_generator_action' => 'Yoast\\WP\\SEO\\Premium\\Actions\\AI_Generator_Action', + 'yoast\\wp\\seo\\premium\\actions\\link_suggestions_action' => 'Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action', + 'yoast\\wp\\seo\\premium\\actions\\prominent_words\\complete_action' => 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Complete_Action', + 'yoast\\wp\\seo\\premium\\actions\\prominent_words\\content_action' => 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action', + 'yoast\\wp\\seo\\premium\\actions\\prominent_words\\save_action' => 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action', + 'yoast\\wp\\seo\\premium\\conditionals\\ai_editor_conditional' => 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Ai_Editor_Conditional', + 'yoast\\wp\\seo\\premium\\conditionals\\algolia_enabled_conditional' => 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Algolia_Enabled_Conditional', + 'yoast\\wp\\seo\\premium\\conditionals\\cornerstone_enabled_conditional' => 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Cornerstone_Enabled_Conditional', + 'yoast\\wp\\seo\\premium\\conditionals\\edd_conditional' => 'Yoast\\WP\\SEO\\Premium\\Conditionals\\EDD_Conditional', + 'yoast\\wp\\seo\\premium\\conditionals\\inclusive_language_enabled_conditional' => 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Inclusive_Language_Enabled_Conditional', + 'yoast\\wp\\seo\\premium\\conditionals\\term_overview_or_ajax_conditional' => 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Term_Overview_Or_Ajax_Conditional', + 'yoast\\wp\\seo\\premium\\conditionals\\yoast_admin_or_introductions_route_conditional' => 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Yoast_Admin_Or_Introductions_Route_Conditional', + 'yoast\\wp\\seo\\premium\\config\\badge_group_names' => 'Yoast\\WP\\SEO\\Premium\\Config\\Badge_Group_Names', + 'yoast\\wp\\seo\\premium\\config\\migrations\\addindexonindexableidandstem' => 'Yoast\\WP\\SEO\\Premium\\Config\\Migrations\\AddIndexOnIndexableIdAndStem', + 'yoast\\wp\\seo\\premium\\database\\migration_runner_premium' => 'Yoast\\WP\\SEO\\Premium\\Database\\Migration_Runner_Premium', + 'yoast\\wp\\seo\\premium\\helpers\\ai_generator_helper' => 'Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper', + 'yoast\\wp\\seo\\premium\\helpers\\current_page_helper' => 'Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper', + 'yoast\\wp\\seo\\premium\\helpers\\prominent_words_helper' => 'Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper', + 'yoast\\wp\\seo\\premium\\helpers\\version_helper' => 'Yoast\\WP\\SEO\\Premium\\Helpers\\Version_Helper', + 'yoast\\wp\\seo\\premium\\initializers\\index_now_key' => 'Yoast\\WP\\SEO\\Premium\\Initializers\\Index_Now_Key', + 'yoast\\wp\\seo\\premium\\initializers\\introductions_initializer' => 'Yoast\\WP\\SEO\\Premium\\Initializers\\Introductions_Initializer', + 'yoast\\wp\\seo\\premium\\initializers\\plugin' => 'Yoast\\WP\\SEO\\Premium\\Initializers\\Plugin', + 'yoast\\wp\\seo\\premium\\initializers\\redirect_handler' => 'Yoast\\WP\\SEO\\Premium\\Initializers\\Redirect_Handler', + 'yoast\\wp\\seo\\premium\\initializers\\woocommerce' => 'Yoast\\WP\\SEO\\Premium\\Initializers\\Woocommerce', + 'yoast\\wp\\seo\\premium\\initializers\\wp_cli_initializer' => 'Yoast\\WP\\SEO\\Premium\\Initializers\\Wp_Cli_Initializer', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\ai_consent_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Consent_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\ai_generator_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Generator_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\cornerstone_column_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Column_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\cornerstone_taxonomy_column_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Taxonomy_Column_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\inclusive_language_column_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Column_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\inclusive_language_filter_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Filter_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\inclusive_language_taxonomy_column_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Taxonomy_Column_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\keyword_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Keyword_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\metabox_formatter_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Metabox_Formatter_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\plugin_links_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Plugin_Links_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\prominent_words\\indexing_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Indexing_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\prominent_words\\metabox_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Metabox_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\related_keyphrase_filter_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Related_Keyphrase_Filter_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\replacement_variables_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Replacement_Variables_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\settings_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Settings_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\thank_you_page_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Thank_You_Page_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\update_premium_notification' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Update_Premium_Notification', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\user_profile_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\User_Profile_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\admin\\workouts_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Workouts_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\alerts\\ai_generator_tip_notification' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Alerts\\Ai_Generator_Tip_Notification', + 'yoast\\wp\\seo\\premium\\integrations\\blocks\\estimated_reading_time_block' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Estimated_Reading_Time_Block', + 'yoast\\wp\\seo\\premium\\integrations\\blocks\\related_links_block' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Related_Links_Block', + 'yoast\\wp\\seo\\premium\\integrations\\cleanup_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Cleanup_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\front_end\\robots_txt_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Front_End\\Robots_Txt_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\frontend_inspector' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Frontend_Inspector', + 'yoast\\wp\\seo\\premium\\integrations\\index_now_ping' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Index_Now_Ping', + 'yoast\\wp\\seo\\premium\\integrations\\missing_indexables_count_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Missing_Indexables_Count_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\opengraph_author_archive' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Author_Archive', + 'yoast\\wp\\seo\\premium\\integrations\\opengraph_date_archive' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Date_Archive', + 'yoast\\wp\\seo\\premium\\integrations\\opengraph_post_type' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Post_Type', + 'yoast\\wp\\seo\\premium\\integrations\\opengraph_posttype_archive' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_PostType_Archive', + 'yoast\\wp\\seo\\premium\\integrations\\opengraph_term_archive' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Term_Archive', + 'yoast\\wp\\seo\\premium\\integrations\\organization_schema_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Organization_Schema_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\publishing_principles_schema_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Publishing_Principles_Schema_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\routes\\ai_generator_route' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\AI_Generator_Route', + 'yoast\\wp\\seo\\premium\\integrations\\routes\\workouts_routes_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\Workouts_Routes_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\third_party\\algolia' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Algolia', + 'yoast\\wp\\seo\\premium\\integrations\\third_party\\edd' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\EDD', + 'yoast\\wp\\seo\\premium\\integrations\\third_party\\elementor_premium' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Premium', + 'yoast\\wp\\seo\\premium\\integrations\\third_party\\elementor_preview' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Preview', + 'yoast\\wp\\seo\\premium\\integrations\\third_party\\mastodon' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Mastodon', + 'yoast\\wp\\seo\\premium\\integrations\\upgrade_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Upgrade_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\user_profile_integration' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\User_Profile_Integration', + 'yoast\\wp\\seo\\premium\\integrations\\watchers\\prominent_words_watcher' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Prominent_Words_Watcher', + 'yoast\\wp\\seo\\premium\\integrations\\watchers\\stale_cornerstone_content_watcher' => 'Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Stale_Cornerstone_Content_Watcher', + 'yoast\\wp\\seo\\premium\\introductions\\application\\ai_generate_titles_and_descriptions_introduction' => 'Yoast\\WP\\SEO\\Premium\\Introductions\\Application\\Ai_Generate_Titles_And_Descriptions_Introduction', + 'yoast\\wp\\seo\\premium\\main' => 'Yoast\\WP\\SEO\\Premium\\Main', + 'yoast\\wp\\seo\\premium\\repositories\\prominent_words_repository' => 'Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository', + 'yoast\\wp\\seo\\premium\\routes\\link_suggestions_route' => 'Yoast\\WP\\SEO\\Premium\\Routes\\Link_Suggestions_Route', + 'yoast\\wp\\seo\\premium\\routes\\prominent_words_route' => 'Yoast\\WP\\SEO\\Premium\\Routes\\Prominent_Words_Route', + 'yoast\\wp\\seo\\premium\\routes\\workouts_route' => 'Yoast\\WP\\SEO\\Premium\\Routes\\Workouts_Route', + 'yoast\\wp\\seo\\premium\\surfaces\\helpers_surface' => 'Yoast\\WP\\SEO\\Premium\\Surfaces\\Helpers_Surface', + 'yoast\\wp\\seo\\premium\\user_meta\\framework\\additional_contactmethods\\mastodon' => 'Yoast\\WP\\SEO\\Premium\\User_Meta\\Framework\\Additional_Contactmethods\\Mastodon', + 'yoast\\wp\\seo\\premium\\user_meta\\user_interface\\additional_contactmethods_integration' => 'Yoast\\WP\\SEO\\Premium\\User_Meta\\User_Interface\\Additional_Contactmethods_Integration', + 'yoast\\wp\\seo\\repositories\\indexable_cleanup_repository' => 'Yoast\\WP\\SEO\\Repositories\\Indexable_Cleanup_Repository', + 'yoast\\wp\\seo\\repositories\\indexable_repository' => 'Yoast\\WP\\SEO\\Repositories\\Indexable_Repository', + 'yoast\\wp\\seo\\repositories\\seo_links_repository' => 'Yoast\\WP\\SEO\\Repositories\\SEO_Links_Repository', + 'yoast\\wp\\seo\\surfaces\\classes_surface' => 'Yoast\\WP\\SEO\\Surfaces\\Classes_Surface', + 'yoast\\wp\\seo\\surfaces\\helpers_surface' => 'Yoast\\WP\\SEO\\Surfaces\\Helpers_Surface', + 'yoast\\wp\\seo\\surfaces\\meta_surface' => 'Yoast\\WP\\SEO\\Surfaces\\Meta_Surface', + 'yoast\\wp\\seo\\surfaces\\open_graph_helpers_surface' => 'Yoast\\WP\\SEO\\Surfaces\\Open_Graph_Helpers_Surface', + 'yoast\\wp\\seo\\surfaces\\schema_helpers_surface' => 'Yoast\\WP\\SEO\\Surfaces\\Schema_Helpers_Surface', + 'yoast\\wp\\seo\\surfaces\\twitter_helpers_surface' => 'Yoast\\WP\\SEO\\Surfaces\\Twitter_Helpers_Surface', + 'yoastseo_vendor\\symfony\\component\\dependencyinjection\\containerinterface' => 'YoastSEO_Vendor\\YoastSEO_Vendor\\Symfony\\Component\\DependencyInjection\\ContainerInterface', + ]; + $this->methodMap = [ + 'WPSEO_Addon_Manager' => 'getWPSEOAddonManagerService', + 'WPSEO_Admin_Asset_Manager' => 'getWPSEOAdminAssetManagerService', + 'WPSEO_Premium_Prominent_Words_Support' => 'getWPSEOPremiumProminentWordsSupportService', + 'WPSEO_Premium_Prominent_Words_Unindexed_Post_Query' => 'getWPSEOPremiumProminentWordsUnindexedPostQueryService', + 'WPSEO_Shortlinker' => 'getWPSEOShortlinkerService', + 'Yoast\\WP\\Lib\\Migrations\\Adapter' => 'getAdapterService', + 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action' => 'getIndexableGeneralIndexationActionService', + 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action' => 'getIndexablePostIndexationActionService', + 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Type_Archive_Indexation_Action' => 'getIndexablePostTypeArchiveIndexationActionService', + 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Term_Indexation_Action' => 'getIndexableTermIndexationActionService', + 'Yoast\\WP\\SEO\\Builders\\Indexable_Term_Builder' => 'getIndexableTermBuilderService', + 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Post_Conditional' => 'getPostConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Posts_Overview_Or_Ajax_Conditional' => 'getPostsOverviewOrAjaxConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Yoast_Admin_Conditional' => 'getYoastAdminConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Admin_Conditional' => 'getAdminConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Front_End_Conditional' => 'getFrontEndConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Migrations_Conditional' => 'getMigrationsConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Open_Graph_Conditional' => 'getOpenGraphConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional' => 'getRobotsTxtConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Settings_Conditional' => 'getSettingsConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Third_Party\\Elementor_Activated_Conditional' => 'getElementorActivatedConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Third_Party\\Elementor_Edit_Conditional' => 'getElementorEditConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\User_Profile_Conditional' => 'getUserProfileConditionalService', + 'Yoast\\WP\\SEO\\Conditionals\\Wincher_Enabled_Conditional' => 'getWincherEnabledConditionalService', + 'Yoast\\WP\\SEO\\Config\\Migration_Status' => 'getMigrationStatusService', + 'Yoast\\WP\\SEO\\Config\\Migrations\\WpYoastPremiumImprovedInternalLinking' => 'getWpYoastPremiumImprovedInternalLinkingService', + 'Yoast\\WP\\SEO\\Helpers\\Capability_Helper' => 'getCapabilityHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper' => 'getCurrentPageHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Date_Helper' => 'getDateHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Indexable_Helper' => 'getIndexableHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Indexing_Helper' => 'getIndexingHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Language_Helper' => 'getLanguageHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Meta_Helper' => 'getMetaHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Options_Helper' => 'getOptionsHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper' => 'getPostTypeHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Request_Helper' => 'getRequestHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Robots_Helper' => 'getRobotsHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Score_Icon_Helper' => 'getScoreIconHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Social_Profiles_Helper' => 'getSocialProfilesHelperService', + 'Yoast\\WP\\SEO\\Helpers\\Url_Helper' => 'getUrlHelperService', + 'Yoast\\WP\\SEO\\Helpers\\User_Helper' => 'getUserHelperService', + 'Yoast\\WP\\SEO\\Integrations\\Admin\\Admin_Columns_Cache_Integration' => 'getAdminColumnsCacheIntegrationService', + 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\TranslationsPress' => 'getTranslationsPressService', + 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\Wincher_Keyphrases' => 'getWincherKeyphrasesService', + 'Yoast\\WP\\SEO\\Introductions\\Infrastructure\\Wistia_Embed_Permission_Repository' => 'getWistiaEmbedPermissionRepositoryService', + 'Yoast\\WP\\SEO\\Loader' => 'getLoaderService', + 'Yoast\\WP\\SEO\\Memoizers\\Meta_Tags_Context_Memoizer' => 'getMetaTagsContextMemoizerService', + 'Yoast\\WP\\SEO\\Premium\\Actions\\AI_Generator_Action' => 'getAIGeneratorActionService', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action' => 'getLinkSuggestionsActionService', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Complete_Action' => 'getCompleteActionService', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action' => 'getContentActionService', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action' => 'getSaveActionService', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Ai_Editor_Conditional' => 'getAiEditorConditionalService', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Algolia_Enabled_Conditional' => 'getAlgoliaEnabledConditionalService', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Cornerstone_Enabled_Conditional' => 'getCornerstoneEnabledConditionalService', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\EDD_Conditional' => 'getEDDConditionalService', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Inclusive_Language_Enabled_Conditional' => 'getInclusiveLanguageEnabledConditionalService', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Term_Overview_Or_Ajax_Conditional' => 'getTermOverviewOrAjaxConditionalService', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Yoast_Admin_Or_Introductions_Route_Conditional' => 'getYoastAdminOrIntroductionsRouteConditionalService', + 'Yoast\\WP\\SEO\\Premium\\Config\\Badge_Group_Names' => 'getBadgeGroupNamesService', + 'Yoast\\WP\\SEO\\Premium\\Config\\Migrations\\AddIndexOnIndexableIdAndStem' => 'getAddIndexOnIndexableIdAndStemService', + 'Yoast\\WP\\SEO\\Premium\\Database\\Migration_Runner_Premium' => 'getMigrationRunnerPremiumService', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper' => 'getAIGeneratorHelperService', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper' => 'getCurrentPageHelper2Service', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper' => 'getProminentWordsHelperService', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Version_Helper' => 'getVersionHelperService', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Index_Now_Key' => 'getIndexNowKeyService', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Introductions_Initializer' => 'getIntroductionsInitializerService', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Plugin' => 'getPluginService', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Redirect_Handler' => 'getRedirectHandlerService', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Woocommerce' => 'getWoocommerceService', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Wp_Cli_Initializer' => 'getWpCliInitializerService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Consent_Integration' => 'getAiConsentIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Generator_Integration' => 'getAiGeneratorIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Column_Integration' => 'getCornerstoneColumnIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Taxonomy_Column_Integration' => 'getCornerstoneTaxonomyColumnIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Column_Integration' => 'getInclusiveLanguageColumnIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Filter_Integration' => 'getInclusiveLanguageFilterIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Taxonomy_Column_Integration' => 'getInclusiveLanguageTaxonomyColumnIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Keyword_Integration' => 'getKeywordIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Metabox_Formatter_Integration' => 'getMetaboxFormatterIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Plugin_Links_Integration' => 'getPluginLinksIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Indexing_Integration' => 'getIndexingIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Metabox_Integration' => 'getMetaboxIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Related_Keyphrase_Filter_Integration' => 'getRelatedKeyphraseFilterIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Replacement_Variables_Integration' => 'getReplacementVariablesIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Settings_Integration' => 'getSettingsIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Thank_You_Page_Integration' => 'getThankYouPageIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Update_Premium_Notification' => 'getUpdatePremiumNotificationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\User_Profile_Integration' => 'getUserProfileIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Workouts_Integration' => 'getWorkoutsIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Alerts\\Ai_Generator_Tip_Notification' => 'getAiGeneratorTipNotificationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Estimated_Reading_Time_Block' => 'getEstimatedReadingTimeBlockService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Related_Links_Block' => 'getRelatedLinksBlockService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Cleanup_Integration' => 'getCleanupIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Front_End\\Robots_Txt_Integration' => 'getRobotsTxtIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Frontend_Inspector' => 'getFrontendInspectorService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Index_Now_Ping' => 'getIndexNowPingService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Missing_Indexables_Count_Integration' => 'getMissingIndexablesCountIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Author_Archive' => 'getOpenGraphAuthorArchiveService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Date_Archive' => 'getOpenGraphDateArchiveService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_PostType_Archive' => 'getOpenGraphPostTypeArchiveService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Post_Type' => 'getOpenGraphPostTypeService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Term_Archive' => 'getOpenGraphTermArchiveService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Organization_Schema_Integration' => 'getOrganizationSchemaIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Publishing_Principles_Schema_Integration' => 'getPublishingPrinciplesSchemaIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\AI_Generator_Route' => 'getAIGeneratorRouteService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\Workouts_Routes_Integration' => 'getWorkoutsRoutesIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Algolia' => 'getAlgoliaService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\EDD' => 'getEDDService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Premium' => 'getElementorPremiumService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Preview' => 'getElementorPreviewService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Mastodon' => 'getMastodonService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Upgrade_Integration' => 'getUpgradeIntegrationService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\User_Profile_Integration' => 'getUserProfileIntegration2Service', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Prominent_Words_Watcher' => 'getProminentWordsWatcherService', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Stale_Cornerstone_Content_Watcher' => 'getStaleCornerstoneContentWatcherService', + 'Yoast\\WP\\SEO\\Premium\\Introductions\\Application\\Ai_Generate_Titles_And_Descriptions_Introduction' => 'getAiGenerateTitlesAndDescriptionsIntroductionService', + 'Yoast\\WP\\SEO\\Premium\\Main' => 'getMainService', + 'Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository' => 'getProminentWordsRepositoryService', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Link_Suggestions_Route' => 'getLinkSuggestionsRouteService', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Prominent_Words_Route' => 'getProminentWordsRouteService', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Workouts_Route' => 'getWorkoutsRouteService', + 'Yoast\\WP\\SEO\\Premium\\Surfaces\\Helpers_Surface' => 'getHelpersSurfaceService', + 'Yoast\\WP\\SEO\\Premium\\User_Meta\\Framework\\Additional_Contactmethods\\Mastodon' => 'getMastodon2Service', + 'Yoast\\WP\\SEO\\Premium\\User_Meta\\User_Interface\\Additional_Contactmethods_Integration' => 'getAdditionalContactmethodsIntegrationService', + 'Yoast\\WP\\SEO\\Repositories\\Indexable_Cleanup_Repository' => 'getIndexableCleanupRepositoryService', + 'Yoast\\WP\\SEO\\Repositories\\Indexable_Repository' => 'getIndexableRepositoryService', + 'Yoast\\WP\\SEO\\Repositories\\SEO_Links_Repository' => 'getSEOLinksRepositoryService', + 'Yoast\\WP\\SEO\\Surfaces\\Classes_Surface' => 'getClassesSurfaceService', + 'Yoast\\WP\\SEO\\Surfaces\\Helpers_Surface' => 'getHelpersSurface2Service', + 'Yoast\\WP\\SEO\\Surfaces\\Meta_Surface' => 'getMetaSurfaceService', + 'Yoast\\WP\\SEO\\Surfaces\\Open_Graph_Helpers_Surface' => 'getOpenGraphHelpersSurfaceService', + 'Yoast\\WP\\SEO\\Surfaces\\Schema_Helpers_Surface' => 'getSchemaHelpersSurfaceService', + 'Yoast\\WP\\SEO\\Surfaces\\Twitter_Helpers_Surface' => 'getTwitterHelpersSurfaceService', + 'wpdb' => 'getWpdbService', + ]; + $this->privates = [ + 'YoastSEO_Vendor\\YoastSEO_Vendor\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => true, + ]; + $this->aliases = [ + 'YoastSEO_Vendor\\YoastSEO_Vendor\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => 'service_container', + ]; + } + + public function getRemovedIds() + { + return [ + 'Psr\\Container\\ContainerInterface' => true, + 'YoastSEO_Vendor\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => true, + 'YoastSEO_Vendor\\YoastSEO_Vendor\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => true, + 'autowired.Yoast\\WP\\SEO\\Introductions\\Infrastructure\\Introductions_Seen_Repository' => true, + ]; + } + + public function compile() + { + throw new LogicException('You cannot compile a dumped container that was already compiled.'); + } + + public function isCompiled() + { + return true; + } + + public function isFrozen() + { + @trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Use the isCompiled() method instead.', __METHOD__), E_USER_DEPRECATED); + + return true; + } + + /** + * Gets the public 'WPSEO_Addon_Manager' shared service. + * + * @return \WPSEO_Addon_Manager + */ + protected function getWPSEOAddonManagerService() + { + return $this->services['WPSEO_Addon_Manager'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'WPSEO_Addon_Manager'); + } + + /** + * Gets the public 'WPSEO_Admin_Asset_Manager' shared service. + * + * @return \WPSEO_Admin_Asset_Manager + */ + protected function getWPSEOAdminAssetManagerService() + { + return $this->services['WPSEO_Admin_Asset_Manager'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'WPSEO_Admin_Asset_Manager'); + } + + /** + * Gets the public 'WPSEO_Premium_Prominent_Words_Support' shared service. + * + * @return \WPSEO_Premium_Prominent_Words_Support + */ + protected function getWPSEOPremiumProminentWordsSupportService() + { + return $this->services['WPSEO_Premium_Prominent_Words_Support'] = \Yoast\WP\SEO\Premium\WordPress\Wrapper::get_prominent_words_support(); + } + + /** + * Gets the public 'WPSEO_Premium_Prominent_Words_Unindexed_Post_Query' shared service. + * + * @return \WPSEO_Premium_Prominent_Words_Unindexed_Post_Query + */ + protected function getWPSEOPremiumProminentWordsUnindexedPostQueryService() + { + return $this->services['WPSEO_Premium_Prominent_Words_Unindexed_Post_Query'] = \Yoast\WP\SEO\Premium\WordPress\Wrapper::get_prominent_words_unindex_post_query(); + } + + /** + * Gets the public 'WPSEO_Shortlinker' shared service. + * + * @return \WPSEO_Shortlinker + */ + protected function getWPSEOShortlinkerService() + { + return $this->services['WPSEO_Shortlinker'] = \Yoast\WP\SEO\Premium\WordPress\Wrapper::get_shortlinker(); + } + + /** + * Gets the public 'Yoast\WP\Lib\Migrations\Adapter' shared service. + * + * @return \Yoast\WP\Lib\Migrations\Adapter + */ + protected function getAdapterService() + { + return $this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\Lib\\Migrations\\Adapter'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Actions\Indexing\Indexable_General_Indexation_Action' shared service. + * + * @return \Yoast\WP\SEO\Actions\Indexing\Indexable_General_Indexation_Action + */ + protected function getIndexableGeneralIndexationActionService() + { + return $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Indexation_Action' shared service. + * + * @return \Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Indexation_Action + */ + protected function getIndexablePostIndexationActionService() + { + return $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Type_Archive_Indexation_Action' shared service. + * + * @return \Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Type_Archive_Indexation_Action + */ + protected function getIndexablePostTypeArchiveIndexationActionService() + { + return $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Type_Archive_Indexation_Action'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Type_Archive_Indexation_Action'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Actions\Indexing\Indexable_Term_Indexation_Action' shared service. + * + * @return \Yoast\WP\SEO\Actions\Indexing\Indexable_Term_Indexation_Action + */ + protected function getIndexableTermIndexationActionService() + { + return $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Term_Indexation_Action'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Term_Indexation_Action'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Builders\Indexable_Term_Builder' shared service. + * + * @return \Yoast\WP\SEO\Builders\Indexable_Term_Builder + */ + protected function getIndexableTermBuilderService() + { + return $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Term_Builder'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Builders\\Indexable_Term_Builder'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Admin\Post_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Admin\Post_Conditional + */ + protected function getPostConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Post_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Post_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Admin\Posts_Overview_Or_Ajax_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Admin\Posts_Overview_Or_Ajax_Conditional + */ + protected function getPostsOverviewOrAjaxConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Posts_Overview_Or_Ajax_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Posts_Overview_Or_Ajax_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Admin\Yoast_Admin_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Admin\Yoast_Admin_Conditional + */ + protected function getYoastAdminConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Yoast_Admin_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Admin\\Yoast_Admin_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Admin_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Admin_Conditional + */ + protected function getAdminConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Admin_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Admin_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Front_End_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Front_End_Conditional + */ + protected function getFrontEndConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Front_End_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Front_End_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Migrations_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Migrations_Conditional + */ + protected function getMigrationsConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Migrations_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Migrations_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Open_Graph_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Open_Graph_Conditional + */ + protected function getOpenGraphConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Open_Graph_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Open_Graph_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Robots_Txt_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Robots_Txt_Conditional + */ + protected function getRobotsTxtConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Settings_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Settings_Conditional + */ + protected function getSettingsConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Settings_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Settings_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Third_Party\Elementor_Activated_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Third_Party\Elementor_Activated_Conditional + */ + protected function getElementorActivatedConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Third_Party\\Elementor_Activated_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Third_Party\\Elementor_Activated_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Third_Party\Elementor_Edit_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Third_Party\Elementor_Edit_Conditional + */ + protected function getElementorEditConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Third_Party\\Elementor_Edit_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Third_Party\\Elementor_Edit_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\User_Profile_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\User_Profile_Conditional + */ + protected function getUserProfileConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\User_Profile_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\User_Profile_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Conditionals\Wincher_Enabled_Conditional' shared service. + * + * @return \Yoast\WP\SEO\Conditionals\Wincher_Enabled_Conditional + */ + protected function getWincherEnabledConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Conditionals\\Wincher_Enabled_Conditional'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Conditionals\\Wincher_Enabled_Conditional'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Config\Migration_Status' shared service. + * + * @return \Yoast\WP\SEO\Config\Migration_Status + */ + protected function getMigrationStatusService() + { + return $this->services['Yoast\\WP\\SEO\\Config\\Migration_Status'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Config\\Migration_Status'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Config\Migrations\WpYoastPremiumImprovedInternalLinking' shared autowired service. + * + * @return \Yoast\WP\SEO\Config\Migrations\WpYoastPremiumImprovedInternalLinking + */ + protected function getWpYoastPremiumImprovedInternalLinkingService() + { + return $this->services['Yoast\\WP\\SEO\\Config\\Migrations\\WpYoastPremiumImprovedInternalLinking'] = new \Yoast\WP\SEO\Config\Migrations\WpYoastPremiumImprovedInternalLinking(${($_ = isset($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter']) ? $this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] : $this->getAdapterService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Capability_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Capability_Helper + */ + protected function getCapabilityHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Capability_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Capability_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Current_Page_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Current_Page_Helper + */ + protected function getCurrentPageHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Date_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Date_Helper + */ + protected function getDateHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Date_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Indexable_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Indexable_Helper + */ + protected function getIndexableHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Indexable_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Indexing_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Indexing_Helper + */ + protected function getIndexingHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Indexing_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Indexing_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Language_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Language_Helper + */ + protected function getLanguageHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Language_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Language_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Meta_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Meta_Helper + */ + protected function getMetaHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Meta_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Meta_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Options_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Options_Helper + */ + protected function getOptionsHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Options_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Post_Type_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Post_Type_Helper + */ + protected function getPostTypeHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Request_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Request_Helper + */ + protected function getRequestHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Request_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Request_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Robots_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Robots_Helper + */ + protected function getRobotsHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Robots_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Robots_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Score_Icon_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Score_Icon_Helper + */ + protected function getScoreIconHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Score_Icon_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Score_Icon_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Social_Profiles_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Social_Profiles_Helper + */ + protected function getSocialProfilesHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Social_Profiles_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Social_Profiles_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\Url_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\Url_Helper + */ + protected function getUrlHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\Url_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\Url_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Helpers\User_Helper' shared service. + * + * @return \Yoast\WP\SEO\Helpers\User_Helper + */ + protected function getUserHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Helpers\\User_Helper'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Integrations\Admin\Admin_Columns_Cache_Integration' shared service. + * + * @return \Yoast\WP\SEO\Integrations\Admin\Admin_Columns_Cache_Integration + */ + protected function getAdminColumnsCacheIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Admin_Columns_Cache_Integration'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Admin_Columns_Cache_Integration'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Integrations\Third_Party\TranslationsPress' shared autowired service. + * + * @return \Yoast\WP\SEO\Integrations\Third_Party\TranslationsPress + */ + protected function getTranslationsPressService() + { + return $this->services['Yoast\\WP\\SEO\\Integrations\\Third_Party\\TranslationsPress'] = new \Yoast\WP\SEO\Integrations\Third_Party\TranslationsPress(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper'] : $this->getDateHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Integrations\Third_Party\Wincher_Keyphrases' shared autowired service. + * + * @return \Yoast\WP\SEO\Integrations\Third_Party\Wincher_Keyphrases + */ + protected function getWincherKeyphrasesService() + { + return $this->services['Yoast\\WP\\SEO\\Integrations\\Third_Party\\Wincher_Keyphrases'] = new \Yoast\WP\SEO\Integrations\Third_Party\Wincher_Keyphrases(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Introductions\Infrastructure\Wistia_Embed_Permission_Repository' shared service. + * + * @return \Yoast\WP\SEO\Introductions\Infrastructure\Wistia_Embed_Permission_Repository + */ + protected function getWistiaEmbedPermissionRepositoryService() + { + return $this->services['Yoast\\WP\\SEO\\Introductions\\Infrastructure\\Wistia_Embed_Permission_Repository'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Introductions\\Infrastructure\\Wistia_Embed_Permission_Repository'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Loader' shared autowired service. + * + * @return \Yoast\WP\SEO\Loader + */ + protected function getLoaderService() + { + $this->services['Yoast\\WP\\SEO\\Loader'] = $instance = new \Yoast\WP\SEO\Loader($this); + + $instance->register_migration('premium', '20190715101200', 'Yoast\\WP\\SEO\\Config\\Migrations\\WpYoastPremiumImprovedInternalLinking'); + $instance->register_migration('premium', '20210827093024', 'Yoast\\WP\\SEO\\Premium\\Config\\Migrations\\AddIndexOnIndexableIdAndStem'); + $instance->register_initializer('Yoast\\WP\\SEO\\Premium\\Database\\Migration_Runner_Premium'); + $instance->register_initializer('Yoast\\WP\\SEO\\Premium\\Initializers\\Index_Now_Key'); + $instance->register_initializer('Yoast\\WP\\SEO\\Premium\\Initializers\\Introductions_Initializer'); + $instance->register_initializer('Yoast\\WP\\SEO\\Premium\\Initializers\\Plugin'); + $instance->register_initializer('Yoast\\WP\\SEO\\Premium\\Initializers\\Redirect_Handler'); + $instance->register_initializer('Yoast\\WP\\SEO\\Premium\\Initializers\\Woocommerce'); + $instance->register_initializer('Yoast\\WP\\SEO\\Premium\\Initializers\\Wp_Cli_Initializer'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Consent_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Generator_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Column_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Taxonomy_Column_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Column_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Filter_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Taxonomy_Column_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Keyword_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Metabox_Formatter_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Plugin_Links_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Indexing_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Metabox_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Related_Keyphrase_Filter_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Replacement_Variables_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Settings_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Thank_You_Page_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Update_Premium_Notification'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\User_Profile_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Workouts_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Alerts\\Ai_Generator_Tip_Notification'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Estimated_Reading_Time_Block'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Related_Links_Block'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Cleanup_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Front_End\\Robots_Txt_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Frontend_Inspector'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Index_Now_Ping'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Missing_Indexables_Count_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Author_Archive'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Date_Archive'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Post_Type'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_PostType_Archive'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Term_Archive'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Organization_Schema_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Publishing_Principles_Schema_Integration'); + $instance->register_route('Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\AI_Generator_Route'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\Workouts_Routes_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Algolia'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\EDD'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Premium'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Preview'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Mastodon'); + $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Third_Party\\TranslationsPress'); + $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Third_Party\\Wincher_Keyphrases'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Upgrade_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\User_Profile_Integration'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Prominent_Words_Watcher'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Stale_Cornerstone_Content_Watcher'); + $instance->register_route('Yoast\\WP\\SEO\\Premium\\Routes\\Link_Suggestions_Route'); + $instance->register_route('Yoast\\WP\\SEO\\Premium\\Routes\\Prominent_Words_Route'); + $instance->register_route('Yoast\\WP\\SEO\\Premium\\Routes\\Workouts_Route'); + $instance->register_integration('Yoast\\WP\\SEO\\Premium\\User_Meta\\User_Interface\\Additional_Contactmethods_Integration'); + + return $instance; + } + + /** + * Gets the public 'Yoast\WP\SEO\Memoizers\Meta_Tags_Context_Memoizer' shared service. + * + * @return \Yoast\WP\SEO\Memoizers\Meta_Tags_Context_Memoizer + */ + protected function getMetaTagsContextMemoizerService() + { + return $this->services['Yoast\\WP\\SEO\\Memoizers\\Meta_Tags_Context_Memoizer'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Memoizers\\Meta_Tags_Context_Memoizer'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Actions\AI_Generator_Action' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Actions\AI_Generator_Action + */ + protected function getAIGeneratorActionService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\AI_Generator_Action'] = new \Yoast\WP\SEO\Premium\Actions\AI_Generator_Action(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper'] : $this->getAIGeneratorHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] : $this->getUserHelperService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Addon_Manager']) ? $this->services['WPSEO_Addon_Manager'] : $this->getWPSEOAddonManagerService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Actions\Link_Suggestions_Action' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Actions\Link_Suggestions_Action + */ + protected function getLinkSuggestionsActionService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action'] = new \Yoast\WP\SEO\Premium\Actions\Link_Suggestions_Action(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository'] : ($this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository'] = new \Yoast\WP\SEO\Premium\Repositories\Prominent_Words_Repository())) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper'] : $this->getProminentWordsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Premium_Prominent_Words_Support']) ? $this->services['WPSEO_Premium_Prominent_Words_Support'] : $this->getWPSEOPremiumProminentWordsSupportService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\SEO_Links_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\SEO_Links_Repository'] : $this->getSEOLinksRepositoryService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Actions\Prominent_Words\Complete_Action' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Actions\Prominent_Words\Complete_Action + */ + protected function getCompleteActionService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Complete_Action'] = new \Yoast\WP\SEO\Premium\Actions\Prominent_Words\Complete_Action(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper'] : $this->getProminentWordsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Actions\Prominent_Words\Content_Action' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Actions\Prominent_Words\Content_Action + */ + protected function getContentActionService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action'] = new \Yoast\WP\SEO\Premium\Actions\Prominent_Words\Content_Action(${($_ = isset($this->services['WPSEO_Premium_Prominent_Words_Support']) ? $this->services['WPSEO_Premium_Prominent_Words_Support'] : $this->getWPSEOPremiumProminentWordsSupportService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Memoizers\\Meta_Tags_Context_Memoizer']) ? $this->services['Yoast\\WP\\SEO\\Memoizers\\Meta_Tags_Context_Memoizer'] : $this->getMetaTagsContextMemoizerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Meta_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Meta_Helper'] : $this->getMetaHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Actions\Prominent_Words\Save_Action' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Actions\Prominent_Words\Save_Action + */ + protected function getSaveActionService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action'] = new \Yoast\WP\SEO\Premium\Actions\Prominent_Words\Save_Action(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository'] : ($this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository'] = new \Yoast\WP\SEO\Premium\Repositories\Prominent_Words_Repository())) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper'] : $this->getProminentWordsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Conditionals\Ai_Editor_Conditional' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Conditionals\Ai_Editor_Conditional + */ + protected function getAiEditorConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Conditionals\\Ai_Editor_Conditional'] = new \Yoast\WP\SEO\Premium\Conditionals\Ai_Editor_Conditional(${($_ = isset($this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Post_Conditional']) ? $this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Post_Conditional'] : $this->getPostConditionalService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] : $this->getCurrentPageHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Conditionals\Algolia_Enabled_Conditional' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Conditionals\Algolia_Enabled_Conditional + */ + protected function getAlgoliaEnabledConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Conditionals\\Algolia_Enabled_Conditional'] = new \Yoast\WP\SEO\Premium\Conditionals\Algolia_Enabled_Conditional(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Conditionals\Cornerstone_Enabled_Conditional' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Conditionals\Cornerstone_Enabled_Conditional + */ + protected function getCornerstoneEnabledConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Conditionals\\Cornerstone_Enabled_Conditional'] = new \Yoast\WP\SEO\Premium\Conditionals\Cornerstone_Enabled_Conditional(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Conditionals\EDD_Conditional' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Conditionals\EDD_Conditional + */ + protected function getEDDConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Conditionals\\EDD_Conditional'] = new \Yoast\WP\SEO\Premium\Conditionals\EDD_Conditional(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Conditionals\Inclusive_Language_Enabled_Conditional' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Conditionals\Inclusive_Language_Enabled_Conditional + */ + protected function getInclusiveLanguageEnabledConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Conditionals\\Inclusive_Language_Enabled_Conditional'] = new \Yoast\WP\SEO\Premium\Conditionals\Inclusive_Language_Enabled_Conditional(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Conditionals\Term_Overview_Or_Ajax_Conditional' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Conditionals\Term_Overview_Or_Ajax_Conditional + */ + protected function getTermOverviewOrAjaxConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Conditionals\\Term_Overview_Or_Ajax_Conditional'] = new \Yoast\WP\SEO\Premium\Conditionals\Term_Overview_Or_Ajax_Conditional(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Conditionals\Yoast_Admin_Or_Introductions_Route_Conditional' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Conditionals\Yoast_Admin_Or_Introductions_Route_Conditional + */ + protected function getYoastAdminOrIntroductionsRouteConditionalService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Conditionals\\Yoast_Admin_Or_Introductions_Route_Conditional'] = new \Yoast\WP\SEO\Premium\Conditionals\Yoast_Admin_Or_Introductions_Route_Conditional(${($_ = isset($this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Yoast_Admin_Conditional']) ? $this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Yoast_Admin_Conditional'] : $this->getYoastAdminConditionalService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Config\Badge_Group_Names' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Config\Badge_Group_Names + */ + protected function getBadgeGroupNamesService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Config\\Badge_Group_Names'] = new \Yoast\WP\SEO\Premium\Config\Badge_Group_Names(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Config\Migrations\AddIndexOnIndexableIdAndStem' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Config\Migrations\AddIndexOnIndexableIdAndStem + */ + protected function getAddIndexOnIndexableIdAndStemService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Config\\Migrations\\AddIndexOnIndexableIdAndStem'] = new \Yoast\WP\SEO\Premium\Config\Migrations\AddIndexOnIndexableIdAndStem(${($_ = isset($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter']) ? $this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] : $this->getAdapterService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Database\Migration_Runner_Premium' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Database\Migration_Runner_Premium + */ + protected function getMigrationRunnerPremiumService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Database\\Migration_Runner_Premium'] = new \Yoast\WP\SEO\Premium\Database\Migration_Runner_Premium(${($_ = isset($this->services['Yoast\\WP\\SEO\\Config\\Migration_Status']) ? $this->services['Yoast\\WP\\SEO\\Config\\Migration_Status'] : $this->getMigrationStatusService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Loader']) ? $this->services['Yoast\\WP\\SEO\\Loader'] : $this->getLoaderService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter']) ? $this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] : $this->getAdapterService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Helpers\AI_Generator_Helper' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Helpers\AI_Generator_Helper + */ + protected function getAIGeneratorHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\AI_Generator_Helper(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] : $this->getUserHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper'] : $this->getDateHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Helpers\Current_Page_Helper' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Helpers\Current_Page_Helper + */ + protected function getCurrentPageHelper2Service() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\Current_Page_Helper(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Helpers\Prominent_Words_Helper' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Helpers\Prominent_Words_Helper + */ + protected function getProminentWordsHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\Prominent_Words_Helper(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Helpers\Version_Helper' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Helpers\Version_Helper + */ + protected function getVersionHelperService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Version_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\Version_Helper(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Initializers\Index_Now_Key' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Initializers\Index_Now_Key + */ + protected function getIndexNowKeyService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Initializers\\Index_Now_Key'] = new \Yoast\WP\SEO\Premium\Initializers\Index_Now_Key(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Initializers\Introductions_Initializer' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Initializers\Introductions_Initializer + */ + protected function getIntroductionsInitializerService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Initializers\\Introductions_Initializer'] = new \Yoast\WP\SEO\Premium\Initializers\Introductions_Initializer(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] : $this->getCurrentPageHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Introductions\\Application\\Ai_Generate_Titles_And_Descriptions_Introduction']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Introductions\\Application\\Ai_Generate_Titles_And_Descriptions_Introduction'] : $this->getAiGenerateTitlesAndDescriptionsIntroductionService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Initializers\Plugin' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Initializers\Plugin + */ + protected function getPluginService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Initializers\\Plugin'] = new \Yoast\WP\SEO\Premium\Initializers\Plugin(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Initializers\Redirect_Handler' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Initializers\Redirect_Handler + */ + protected function getRedirectHandlerService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Initializers\\Redirect_Handler'] = new \Yoast\WP\SEO\Premium\Initializers\Redirect_Handler(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Initializers\Woocommerce' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Initializers\Woocommerce + */ + protected function getWoocommerceService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Initializers\\Woocommerce'] = new \Yoast\WP\SEO\Premium\Initializers\Woocommerce(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Initializers\Wp_Cli_Initializer' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Initializers\Wp_Cli_Initializer + */ + protected function getWpCliInitializerService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Initializers\\Wp_Cli_Initializer'] = new \Yoast\WP\SEO\Premium\Initializers\Wp_Cli_Initializer(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Ai_Consent_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Ai_Consent_Integration + */ + protected function getAiConsentIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Consent_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Ai_Consent_Integration(${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Addon_Manager']) ? $this->services['WPSEO_Addon_Manager'] : $this->getWPSEOAddonManagerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] : $this->getUserHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Introductions\\Infrastructure\\Wistia_Embed_Permission_Repository']) ? $this->services['Yoast\\WP\\SEO\\Introductions\\Infrastructure\\Wistia_Embed_Permission_Repository'] : $this->getWistiaEmbedPermissionRepositoryService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Ai_Generator_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Ai_Generator_Integration + */ + protected function getAiGeneratorIntegrationService() + { + $a = ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] : $this->getUserHelperService()) && false ?: '_'}; + + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Generator_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Ai_Generator_Integration(${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Addon_Manager']) ? $this->services['WPSEO_Addon_Manager'] : $this->getWPSEOAddonManagerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper'] : $this->getAIGeneratorHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] : ($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\Current_Page_Helper())) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, $a, new \Yoast\WP\SEO\Introductions\Infrastructure\Introductions_Seen_Repository($a)); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Cornerstone_Column_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Cornerstone_Column_Integration + */ + protected function getCornerstoneColumnIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Column_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Cornerstone_Column_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}, ${($_ = isset($this->services['wpdb']) ? $this->services['wpdb'] : $this->getWpdbService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Admin_Columns_Cache_Integration']) ? $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Admin_Columns_Cache_Integration'] : $this->getAdminColumnsCacheIntegrationService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Cornerstone_Taxonomy_Column_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Cornerstone_Taxonomy_Column_Integration + */ + protected function getCornerstoneTaxonomyColumnIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Taxonomy_Column_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Cornerstone_Taxonomy_Column_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] : ($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\Current_Page_Helper())) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Column_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Column_Integration + */ + protected function getInclusiveLanguageColumnIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Column_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Column_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Score_Icon_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Score_Icon_Helper'] : $this->getScoreIconHelperService()) && false ?: '_'}, ${($_ = isset($this->services['wpdb']) ? $this->services['wpdb'] : $this->getWpdbService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Admin_Columns_Cache_Integration']) ? $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Admin_Columns_Cache_Integration'] : $this->getAdminColumnsCacheIntegrationService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Filter_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Filter_Integration + */ + protected function getInclusiveLanguageFilterIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Filter_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Filter_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Taxonomy_Column_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Taxonomy_Column_Integration + */ + protected function getInclusiveLanguageTaxonomyColumnIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Taxonomy_Column_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Inclusive_Language_Taxonomy_Column_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Score_Icon_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Score_Icon_Helper'] : $this->getScoreIconHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] : ($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\Current_Page_Helper())) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Keyword_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Keyword_Integration + */ + protected function getKeywordIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Keyword_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Keyword_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Metabox_Formatter_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Metabox_Formatter_Integration + */ + protected function getMetaboxFormatterIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Metabox_Formatter_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Metabox_Formatter_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Plugin_Links_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Plugin_Links_Integration + */ + protected function getPluginLinksIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Plugin_Links_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Plugin_Links_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Prominent_Words\Indexing_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Prominent_Words\Indexing_Integration + */ + protected function getIndexingIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Indexing_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Prominent_Words\Indexing_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action'] : $this->getContentActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action']) ? $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action'] : $this->getIndexablePostIndexationActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Term_Indexation_Action']) ? $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Term_Indexation_Action'] : $this->getIndexableTermIndexationActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action']) ? $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action'] : $this->getIndexableGeneralIndexationActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Type_Archive_Indexation_Action']) ? $this->services['Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Type_Archive_Indexation_Action'] : $this->getIndexablePostTypeArchiveIndexationActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Language_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Language_Helper'] : $this->getLanguageHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Url_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Url_Helper'] : $this->getUrlHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper'] : $this->getProminentWordsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Prominent_Words\Metabox_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Prominent_Words\Metabox_Integration + */ + protected function getMetaboxIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Metabox_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Prominent_Words\Metabox_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action'] : $this->getSaveActionService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Related_Keyphrase_Filter_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Related_Keyphrase_Filter_Integration + */ + protected function getRelatedKeyphraseFilterIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Related_Keyphrase_Filter_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Related_Keyphrase_Filter_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Replacement_Variables_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Replacement_Variables_Integration + */ + protected function getReplacementVariablesIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Replacement_Variables_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Replacement_Variables_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Settings_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Settings_Integration + */ + protected function getSettingsIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Settings_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Settings_Integration(${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] : $this->getCurrentPageHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Thank_You_Page_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Thank_You_Page_Integration + */ + protected function getThankYouPageIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Thank_You_Page_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Thank_You_Page_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Update_Premium_Notification' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Update_Premium_Notification + */ + protected function getUpdatePremiumNotificationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Update_Premium_Notification'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Update_Premium_Notification(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Version_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Version_Helper'] : ($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Version_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\Version_Helper())) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Capability_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Capability_Helper'] : $this->getCapabilityHelperService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] : $this->getCurrentPageHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\User_Profile_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\User_Profile_Integration + */ + protected function getUserProfileIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\User_Profile_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\User_Profile_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Admin\Workouts_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Admin\Workouts_Integration + */ + protected function getWorkoutsIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Workouts_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Admin\Workouts_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Shortlinker']) ? $this->services['WPSEO_Shortlinker'] : $this->getWPSEOShortlinkerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper'] : $this->getProminentWordsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Alerts\Ai_Generator_Tip_Notification' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Alerts\Ai_Generator_Tip_Notification + */ + protected function getAiGeneratorTipNotificationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Alerts\\Ai_Generator_Tip_Notification'] = new \Yoast\WP\SEO\Premium\Integrations\Alerts\Ai_Generator_Tip_Notification(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Blocks\Estimated_Reading_Time_Block' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Blocks\Estimated_Reading_Time_Block + */ + protected function getEstimatedReadingTimeBlockService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Estimated_Reading_Time_Block'] = new \Yoast\WP\SEO\Premium\Integrations\Blocks\Estimated_Reading_Time_Block(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Blocks\Related_Links_Block' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Blocks\Related_Links_Block + */ + protected function getRelatedLinksBlockService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Related_Links_Block'] = new \Yoast\WP\SEO\Premium\Integrations\Blocks\Related_Links_Block(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Cleanup_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Cleanup_Integration + */ + protected function getCleanupIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Cleanup_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Cleanup_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Cleanup_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Cleanup_Repository'] : $this->getIndexableCleanupRepositoryService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Front_End\Robots_Txt_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Front_End\Robots_Txt_Integration + */ + protected function getRobotsTxtIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Front_End\\Robots_Txt_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Front_End\Robots_Txt_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Frontend_Inspector' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Frontend_Inspector + */ + protected function getFrontendInspectorService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Frontend_Inspector'] = new \Yoast\WP\SEO\Premium\Integrations\Frontend_Inspector(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Robots_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Robots_Helper'] : $this->getRobotsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Index_Now_Ping' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Index_Now_Ping + */ + protected function getIndexNowPingService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Index_Now_Ping'] = new \Yoast\WP\SEO\Premium\Integrations\Index_Now_Ping(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Request_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Request_Helper'] : $this->getRequestHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Missing_Indexables_Count_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Missing_Indexables_Count_Integration + */ + protected function getMissingIndexablesCountIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Missing_Indexables_Count_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Missing_Indexables_Count_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action'] : $this->getContentActionService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\OpenGraph_Author_Archive' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\OpenGraph_Author_Archive + */ + protected function getOpenGraphAuthorArchiveService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Author_Archive'] = new \Yoast\WP\SEO\Premium\Integrations\OpenGraph_Author_Archive(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\OpenGraph_Date_Archive' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\OpenGraph_Date_Archive + */ + protected function getOpenGraphDateArchiveService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Date_Archive'] = new \Yoast\WP\SEO\Premium\Integrations\OpenGraph_Date_Archive(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\OpenGraph_PostType_Archive' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\OpenGraph_PostType_Archive + */ + protected function getOpenGraphPostTypeArchiveService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_PostType_Archive'] = new \Yoast\WP\SEO\Premium\Integrations\OpenGraph_PostType_Archive(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\OpenGraph_Post_Type' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\OpenGraph_Post_Type + */ + protected function getOpenGraphPostTypeService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Post_Type'] = new \Yoast\WP\SEO\Premium\Integrations\OpenGraph_Post_Type(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\OpenGraph_Term_Archive' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\OpenGraph_Term_Archive + */ + protected function getOpenGraphTermArchiveService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Term_Archive'] = new \Yoast\WP\SEO\Premium\Integrations\OpenGraph_Term_Archive(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Organization_Schema_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Organization_Schema_Integration + */ + protected function getOrganizationSchemaIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Organization_Schema_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Organization_Schema_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Publishing_Principles_Schema_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Publishing_Principles_Schema_Integration + */ + protected function getPublishingPrinciplesSchemaIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Publishing_Principles_Schema_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Publishing_Principles_Schema_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_Helper'] : $this->getIndexableHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Routes\AI_Generator_Route' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Routes\AI_Generator_Route + */ + protected function getAIGeneratorRouteService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\AI_Generator_Route'] = new \Yoast\WP\SEO\Premium\Integrations\Routes\AI_Generator_Route(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\AI_Generator_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\AI_Generator_Action'] : $this->getAIGeneratorActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper'] : $this->getAIGeneratorHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Routes\Workouts_Routes_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Routes\Workouts_Routes_Integration + */ + protected function getWorkoutsRoutesIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\Workouts_Routes_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Routes\Workouts_Routes_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action'] : $this->getLinkSuggestionsActionService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Shortlinker']) ? $this->services['WPSEO_Shortlinker'] : $this->getWPSEOShortlinkerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper'] : $this->getProminentWordsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Third_Party\Algolia' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Third_Party\Algolia + */ + protected function getAlgoliaService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Algolia'] = new \Yoast\WP\SEO\Premium\Integrations\Third_Party\Algolia(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface']) ? $this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface'] : $this->getMetaSurfaceService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Third_Party\EDD' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Third_Party\EDD + */ + protected function getEDDService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\EDD'] = new \Yoast\WP\SEO\Premium\Integrations\Third_Party\EDD(${($_ = isset($this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface']) ? $this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface'] : $this->getMetaSurfaceService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Third_Party\Elementor_Premium' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Third_Party\Elementor_Premium + */ + protected function getElementorPremiumService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Premium'] = new \Yoast\WP\SEO\Premium\Integrations\Third_Party\Elementor_Premium(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper'] : $this->getProminentWordsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] : ($this->services['Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper'] = new \Yoast\WP\SEO\Premium\Helpers\Current_Page_Helper())) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Third_Party\Elementor_Preview' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Third_Party\Elementor_Preview + */ + protected function getElementorPreviewService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Preview'] = new \Yoast\WP\SEO\Premium\Integrations\Third_Party\Elementor_Preview(${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Third_Party\Mastodon' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Third_Party\Mastodon + */ + protected function getMastodonService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Mastodon'] = new \Yoast\WP\SEO\Premium\Integrations\Third_Party\Mastodon(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Social_Profiles_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Social_Profiles_Helper'] : $this->getSocialProfilesHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Upgrade_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Upgrade_Integration + */ + protected function getUpgradeIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Upgrade_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\Upgrade_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\User_Profile_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\User_Profile_Integration + */ + protected function getUserProfileIntegration2Service() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\User_Profile_Integration'] = new \Yoast\WP\SEO\Premium\Integrations\User_Profile_Integration(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Watchers\Prominent_Words_Watcher' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Watchers\Prominent_Words_Watcher + */ + protected function getProminentWordsWatcherService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Prominent_Words_Watcher'] = new \Yoast\WP\SEO\Premium\Integrations\Watchers\Prominent_Words_Watcher(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository'] : ($this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository'] = new \Yoast\WP\SEO\Premium\Repositories\Prominent_Words_Repository())) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Integrations\Watchers\Stale_Cornerstone_Content_Watcher' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Integrations\Watchers\Stale_Cornerstone_Content_Watcher + */ + protected function getStaleCornerstoneContentWatcherService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Stale_Cornerstone_Content_Watcher'] = new \Yoast\WP\SEO\Premium\Integrations\Watchers\Stale_Cornerstone_Content_Watcher(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Introductions\Application\Ai_Generate_Titles_And_Descriptions_Introduction' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Introductions\Application\Ai_Generate_Titles_And_Descriptions_Introduction + */ + protected function getAiGenerateTitlesAndDescriptionsIntroductionService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Introductions\\Application\\Ai_Generate_Titles_And_Descriptions_Introduction'] = new \Yoast\WP\SEO\Premium\Introductions\Application\Ai_Generate_Titles_And_Descriptions_Introduction(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : $this->getOptionsHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] : $this->getUserHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Main' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Main + */ + protected function getMainService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Main'] = new \Yoast\WP\SEO\Premium\Main(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Repositories\Prominent_Words_Repository' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Repositories\Prominent_Words_Repository + */ + protected function getProminentWordsRepositoryService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository'] = new \Yoast\WP\SEO\Premium\Repositories\Prominent_Words_Repository(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Routes\Link_Suggestions_Route' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Routes\Link_Suggestions_Route + */ + protected function getLinkSuggestionsRouteService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Routes\\Link_Suggestions_Route'] = new \Yoast\WP\SEO\Premium\Routes\Link_Suggestions_Route(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action'] : $this->getLinkSuggestionsActionService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Routes\Prominent_Words_Route' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Routes\Prominent_Words_Route + */ + protected function getProminentWordsRouteService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Routes\\Prominent_Words_Route'] = new \Yoast\WP\SEO\Premium\Routes\Prominent_Words_Route(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action'] : $this->getContentActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action'] : $this->getSaveActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Complete_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Complete_Action'] : $this->getCompleteActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Indexing_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Indexing_Helper'] : $this->getIndexingHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Routes\Workouts_Route' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Routes\Workouts_Route + */ + protected function getWorkoutsRouteService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Routes\\Workouts_Route'] = new \Yoast\WP\SEO\Premium\Routes\Workouts_Route(${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action']) ? $this->services['Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action'] : $this->getLinkSuggestionsActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Term_Builder']) ? $this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Term_Builder'] : $this->getIndexableTermBuilderService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\Surfaces\Helpers_Surface' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\Surfaces\Helpers_Surface + */ + protected function getHelpersSurfaceService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\Surfaces\\Helpers_Surface'] = new \Yoast\WP\SEO\Premium\Surfaces\Helpers_Surface($this); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\User_Meta\Framework\Additional_Contactmethods\Mastodon' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\User_Meta\Framework\Additional_Contactmethods\Mastodon + */ + protected function getMastodon2Service() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\User_Meta\\Framework\\Additional_Contactmethods\\Mastodon'] = new \Yoast\WP\SEO\Premium\User_Meta\Framework\Additional_Contactmethods\Mastodon(); + } + + /** + * Gets the public 'Yoast\WP\SEO\Premium\User_Meta\User_Interface\Additional_Contactmethods_Integration' shared autowired service. + * + * @return \Yoast\WP\SEO\Premium\User_Meta\User_Interface\Additional_Contactmethods_Integration + */ + protected function getAdditionalContactmethodsIntegrationService() + { + return $this->services['Yoast\\WP\\SEO\\Premium\\User_Meta\\User_Interface\\Additional_Contactmethods_Integration'] = new \Yoast\WP\SEO\Premium\User_Meta\User_Interface\Additional_Contactmethods_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Premium\\User_Meta\\Framework\\Additional_Contactmethods\\Mastodon']) ? $this->services['Yoast\\WP\\SEO\\Premium\\User_Meta\\Framework\\Additional_Contactmethods\\Mastodon'] : ($this->services['Yoast\\WP\\SEO\\Premium\\User_Meta\\Framework\\Additional_Contactmethods\\Mastodon'] = new \Yoast\WP\SEO\Premium\User_Meta\Framework\Additional_Contactmethods\Mastodon())) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Repositories\Indexable_Cleanup_Repository' shared service. + * + * @return \Yoast\WP\SEO\Repositories\Indexable_Cleanup_Repository + */ + protected function getIndexableCleanupRepositoryService() + { + return $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Cleanup_Repository'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Repositories\\Indexable_Cleanup_Repository'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Repositories\Indexable_Repository' shared service. + * + * @return \Yoast\WP\SEO\Repositories\Indexable_Repository + */ + protected function getIndexableRepositoryService() + { + return $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Repositories\SEO_Links_Repository' shared service. + * + * @return \Yoast\WP\SEO\Repositories\SEO_Links_Repository + */ + protected function getSEOLinksRepositoryService() + { + return $this->services['Yoast\\WP\\SEO\\Repositories\\SEO_Links_Repository'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Repositories\\SEO_Links_Repository'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Surfaces\Classes_Surface' shared autowired service. + * + * @return \Yoast\WP\SEO\Surfaces\Classes_Surface + */ + protected function getClassesSurfaceService() + { + return $this->services['Yoast\\WP\\SEO\\Surfaces\\Classes_Surface'] = new \Yoast\WP\SEO\Surfaces\Classes_Surface($this); + } + + /** + * Gets the public 'Yoast\WP\SEO\Surfaces\Helpers_Surface' shared autowired service. + * + * @return \Yoast\WP\SEO\Surfaces\Helpers_Surface + */ + protected function getHelpersSurface2Service() + { + return $this->services['Yoast\\WP\\SEO\\Surfaces\\Helpers_Surface'] = new \Yoast\WP\SEO\Surfaces\Helpers_Surface($this, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Surfaces\\Open_Graph_Helpers_Surface']) ? $this->services['Yoast\\WP\\SEO\\Surfaces\\Open_Graph_Helpers_Surface'] : $this->getOpenGraphHelpersSurfaceService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Surfaces\\Schema_Helpers_Surface']) ? $this->services['Yoast\\WP\\SEO\\Surfaces\\Schema_Helpers_Surface'] : $this->getSchemaHelpersSurfaceService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Surfaces\\Twitter_Helpers_Surface']) ? $this->services['Yoast\\WP\\SEO\\Surfaces\\Twitter_Helpers_Surface'] : $this->getTwitterHelpersSurfaceService()) && false ?: '_'}); + } + + /** + * Gets the public 'Yoast\WP\SEO\Surfaces\Meta_Surface' shared service. + * + * @return \Yoast\WP\SEO\Surfaces\Meta_Surface + */ + protected function getMetaSurfaceService() + { + return $this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Surfaces\\Meta_Surface'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Surfaces\Open_Graph_Helpers_Surface' shared service. + * + * @return \Yoast\WP\SEO\Surfaces\Open_Graph_Helpers_Surface + */ + protected function getOpenGraphHelpersSurfaceService() + { + return $this->services['Yoast\\WP\\SEO\\Surfaces\\Open_Graph_Helpers_Surface'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Surfaces\\Open_Graph_Helpers_Surface'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Surfaces\Schema_Helpers_Surface' shared service. + * + * @return \Yoast\WP\SEO\Surfaces\Schema_Helpers_Surface + */ + protected function getSchemaHelpersSurfaceService() + { + return $this->services['Yoast\\WP\\SEO\\Surfaces\\Schema_Helpers_Surface'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Surfaces\\Schema_Helpers_Surface'); + } + + /** + * Gets the public 'Yoast\WP\SEO\Surfaces\Twitter_Helpers_Surface' shared service. + * + * @return \Yoast\WP\SEO\Surfaces\Twitter_Helpers_Surface + */ + protected function getTwitterHelpersSurfaceService() + { + return $this->services['Yoast\\WP\\SEO\\Surfaces\\Twitter_Helpers_Surface'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'Yoast\\WP\\SEO\\Surfaces\\Twitter_Helpers_Surface'); + } + + /** + * Gets the public 'wpdb' shared service. + * + * @return \wpdb + */ + protected function getWpdbService() + { + return $this->services['wpdb'] = \Yoast\WP\Lib\Dependency_Injection\Container_Registry::get('yoast-seo', 'wpdb'); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/ai-generator-helper.php b/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/ai-generator-helper.php new file mode 100644 index 00000000..989be1fd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/ai-generator-helper.php @@ -0,0 +1,404 @@ +options_helper = $options; + $this->user_helper = $user_helper; + $this->date_helper = $date_helper; + } + + /** + * Generates a random code verifier for a user. The code verifier is used in communication with the Yoast AI API + * to ensure that the callback that is sent for both the token and refresh request are handled by the same site that requested the tokens. + * Each code verifier should only be used once. + * This all helps with preventing access tokens from one site to be sent to another and it makes a mitm attack more difficult to execute. + * + * @param WP_User $user The WP user. + * + * @return string The code verifier. + */ + public function generate_code_verifier( WP_User $user ) { + $random_string = \substr( \str_shuffle( '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' ), 1, 10 ); + + return \hash( 'sha256', $user->user_email . $random_string ); + } + + /** + * Temporarily stores the code verifier. We expect the callback that consumes this verifier to reach us within a couple of seconds. + * So, we throw away the code after 5 minutes: when we know the callback isn't coming. + * + * @param int $user_id The user ID. + * @param string $code_verifier The code verifier. + * + * @return void + */ + public function set_code_verifier( int $user_id, string $code_verifier ): void { + $this->user_helper->update_meta( + $user_id, + 'yoast_wpseo_ai_generator_code_verifier_for_blog_' . \get_current_blog_id(), + [ + 'code' => $code_verifier, + 'created_at' => $this->date_helper->current_time(), + ] + ); + } + + /** + * Retrieves the code verifier. + * + * @param int $user_id The user ID. + * + * @return string The code verifier. + * + * @throws RuntimeException No valid code verifier could be found. + */ + public function get_code_verifier( int $user_id ): string { + $code_verifier = $this->user_helper->get_meta( $user_id, 'yoast_wpseo_ai_generator_code_verifier_for_blog_' . \get_current_blog_id(), true ); + if ( ! \is_array( $code_verifier ) || ! isset( $code_verifier['code'] ) || $code_verifier['code'] === '' ) { + throw new RuntimeException( 'Unable to retrieve the code verifier.' ); + } + + if ( ! isset( $code_verifier['created_at'] ) || $code_verifier['created_at'] < ( $this->date_helper->current_time() - self::CODE_VERIFIER_VALIDITY_IN_MINUTES * \MINUTE_IN_SECONDS ) ) { + $this->delete_code_verifier( $user_id ); + throw new RuntimeException( 'Code verifier has expired.' ); + } + + return (string) $code_verifier['code']; + } + + /** + * Deletes the code verifier. + * + * @param int $user_id The user ID. + * + * @return void + */ + public function delete_code_verifier( int $user_id ): void { + $this->user_helper->delete_meta( $user_id, 'yoast_wpseo_ai_generator_code_verifier_for_blog_' . \get_current_blog_id() ); + } + + /** + * Gets the licence URL. + * + * @return string The licence URL. + */ + public function get_license_url() { + return WPSEO_Utils::get_home_url(); + } + + /** + * Gets the timeout of the suggestion requests in seconds. + * + * @return int The timeout of the suggestion requests in seconds. + */ + public function get_request_timeout() { + /** + * Filter: 'Yoast\WP\SEO\ai_suggestions_timeout' - Replaces the default timeout with a custom one, for testing purposes. + * + * Note: This is a Premium plugin-only hook. + * + * @since 22.7 + * @internal + * + * @param int $timeout The default timeout in seconds. + */ + return \apply_filters( 'Yoast\WP\SEO\ai_suggestions_timeout', 30 ); + } + + /** + * Gets the callback URL to be used by the API to send back the access token, refresh token and code challenge. + * + * @return string The callbacks URL. + */ + public function get_callback_url() { + return \get_rest_url( null, 'yoast/v1/ai_generator/callback' ); + } + + /** + * Gets the callback URL to be used by the API to send back the refreshed JWTs once they expire. + * + * @return string The callbacks URL. + */ + public function get_refresh_callback_url() { + return \get_rest_url( null, 'yoast/v1/ai_generator/refresh_callback' ); + } + + /** + * Performs the request using WordPress internals. + * + * @param string $action_path The path to the desired action. + * @param array $request_body The request body. + * @param string[] $request_headers The request headers. + * + * @return object The response object. + * + * @throws Bad_Request_Exception When the request fails for any other reason. + * @throws Forbidden_Exception When the response code is 403. + * @throws Internal_Server_Error_Exception When the response code is 500. + * @throws Not_Found_Exception When the response code is 404. + * @throws Payment_Required_Exception When the response code is 402. + * @throws Request_Timeout_Exception When the response code is 408. + * @throws Service_Unavailable_Exception When the response code is 503. + * @throws Too_Many_Requests_Exception When the response code is 429. + * @throws Unauthorized_Exception When the response code is 401. + * @throws WP_Request_Exception When the wp_remote_post() returns an error. + */ + public function request( $action_path, $request_body = [], $request_headers = [] ) { + // Our API expects JSON. + // The request times out after 30 seconds. + $request_headers = \array_merge( $request_headers, [ 'Content-Type' => 'application/json' ] ); + $request_arguments = [ + 'timeout' => $this->get_request_timeout(), + // phpcs:ignore Yoast.Yoast.JsonEncodeAlternative.Found -- Reason: We don't want the debug/pretty possibility. + 'body' => \wp_json_encode( $request_body ), + 'headers' => $request_headers, + ]; + + /** + * Filter: 'Yoast\WP\SEO\ai_api_url' - Replaces the default URL for the AI API with a custom one. + * + * Note: This is a Premium plugin-only hook. + * + * @since 21.0 + * @internal + * + * @param string $url The default URL for the AI API. + */ + $api_url = \apply_filters( 'Yoast\WP\SEO\ai_api_url', $this->base_url ); + $response = \wp_remote_post( $api_url . $action_path, $request_arguments ); + + if ( \is_wp_error( $response ) ) { + // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped -- false positive. + throw new WP_Request_Exception( $response->get_error_message() ); + } + + [ $response_code, $response_message, $error_code, $missing_licenses ] = $this->parse_response( $response ); + + // phpcs:disable WordPress.Security.EscapeOutput.ExceptionNotEscaped -- false positive. + switch ( $response_code ) { + case 200: + return (object) $response; + case 401: + throw new Unauthorized_Exception( $response_message, $response_code, $error_code ); + case 402: + throw new Payment_Required_Exception( $response_message, $response_code, $error_code, null, $missing_licenses ); + case 403: + throw new Forbidden_Exception( $response_message, $response_code, $error_code ); + case 404: + throw new Not_Found_Exception( $response_message, $response_code, $error_code ); + case 408: + throw new Request_Timeout_Exception( $response_message, $response_code, $error_code ); + case 429: + throw new Too_Many_Requests_Exception( $response_message, $response_code, $error_code ); + case 500: + throw new Internal_Server_Error_Exception( $response_message, $response_code, $error_code ); + case 503: + throw new Service_Unavailable_Exception( $response_message, $response_code, $error_code ); + default: + throw new Bad_Request_Exception( $response_message, $response_code, $error_code ); + } + // phpcs:enable + } + + /** + * Generates the list of 5 suggestions to return. + * + * @param object $response The response from the API. + * + * @return string[] The array of suggestions. + */ + public function build_suggestions_array( $response ): array { + $suggestions = []; + $json = \json_decode( $response->body ); + if ( $json === null || ! isset( $json->choices ) ) { + return $suggestions; + } + foreach ( $json->choices as $suggestion ) { + $suggestions[] = $suggestion->text; + } + + return $suggestions; + } + + /** + * Parses the response from the API. + * + * @param array|WP_Error $response The response from the API. + * + * @return (string|int)[] The response code and message. + */ + public function parse_response( $response ) { + $response_code = ( \wp_remote_retrieve_response_code( $response ) !== '' ) ? \wp_remote_retrieve_response_code( $response ) : 0; + $response_message = \esc_html( \wp_remote_retrieve_response_message( $response ) ); + $error_code = ''; + $missing_licenses = []; + + if ( $response_code !== 200 && $response_code !== 0 ) { + $json_body = \json_decode( \wp_remote_retrieve_body( $response ) ); + if ( $json_body !== null ) { + $response_message = ( $json_body->message ?? $response_message ); + $error_code = ( $json_body->error_code ?? $this->map_message_to_code( $json_body->message ) ); + if ( $response_code === 402 ) { + $missing_licenses = isset( $json_body->missing_licenses ) ? (array) $json_body->missing_licenses : []; + } + } + } + + return [ $response_code, $response_message, $error_code, $missing_licenses ]; + } + + /** + * Checks whether the token has expired. + * + * @param string $jwt The JWT. + * + * @return bool Whether the token has expired. + */ + public function has_token_expired( string $jwt ): bool { + $parts = \explode( '.', $jwt ); + if ( \count( $parts ) !== 3 ) { + // Headers, payload and signature parts are not detected. + return true; + } + + // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode -- Reason: Decoding the payload of the JWT. + $payload = \base64_decode( $parts[1] ); + $json = \json_decode( $payload ); + if ( $json === null || ! isset( $json->exp ) ) { + return true; + } + + return $json->exp < \time(); + } + + /** + * Retrieves the access JWT. + * + * @param string $user_id The user ID. + * + * @return string The access JWT. + * + * @throws RuntimeException Unable to retrieve the access token. + */ + public function get_access_token( string $user_id ): string { + $access_jwt = $this->user_helper->get_meta( $user_id, '_yoast_wpseo_ai_generator_access_jwt', true ); + if ( ! \is_string( $access_jwt ) || $access_jwt === '' ) { + throw new RuntimeException( 'Unable to retrieve the access token.' ); + } + + return $access_jwt; + } + + /** + * Retrieves the refresh JWT. + * + * @param string $user_id The user ID. + * + * @return string The access JWT. + * + * @throws RuntimeException Unable to retrieve the refresh token. + */ + public function get_refresh_token( $user_id ) { + $refresh_jwt = $this->user_helper->get_meta( $user_id, '_yoast_wpseo_ai_generator_refresh_jwt', true ); + if ( ! \is_string( $refresh_jwt ) || $refresh_jwt === '' ) { + throw new RuntimeException( 'Unable to retrieve the refresh token.' ); + } + + return $refresh_jwt; + } + + /** + * Checks if the AI Generator feature is active. + * + * @return bool Whether the feature is active. + */ + public function is_ai_generator_enabled() { + return $this->options_helper->get( 'enable_ai_generator', false ); + } + + /** + * Maps the message to a code. + * + * @param string $message The message. + * + * @return string The code. + */ + private function map_message_to_code( $message ) { + if ( \strpos( $message, 'must NOT have fewer than 1 characters' ) !== false ) { + return 'NOT_ENOUGH_CONTENT'; + } + if ( \strpos( $message, 'Client timeout' ) !== false ) { + return 'CLIENT_TIMEOUT'; + } + if ( \strpos( $message, 'Server timeout' ) !== false ) { + return 'SERVER_TIMEOUT'; + } + + return 'UNKNOWN'; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/current-page-helper.php b/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/current-page-helper.php new file mode 100644 index 00000000..1601c700 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/current-page-helper.php @@ -0,0 +1,107 @@ + 0 ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are not processing form information, We are casting to an integer, also this is a helper function. + return (int) \wp_unslash( $_GET['post'] ); + } + return 0; + } + + /** + * Retrieves the current post type. + * + * @return string The post type. + */ + public function get_current_post_type() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['post_type'] ) && \is_string( $_GET['post_type'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return \sanitize_text_field( \wp_unslash( $_GET['post_type'] ) ); + } + + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: should be done outside the helper function. + if ( isset( $_POST['post_type'] ) && \is_string( $_POST['post_type'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: should be done outside the helper function. + return \sanitize_text_field( \wp_unslash( $_POST['post_type'] ) ); + } + + $post_id = $this->get_current_post_id(); + + if ( $post_id ) { + return \get_post_type( $post_id ); + } + + return 'post'; + } + + /** + * Retrieves the current taxonomy. + * + * @return string The taxonomy. + */ + public function get_current_taxonomy() { + if ( ! isset( $_SERVER['REQUEST_METHOD'] ) || ! \in_array( $_SERVER['REQUEST_METHOD'], [ 'GET', 'POST' ], true ) ) { + return ''; + } + + // phpcs:ignore WordPress.Security.NonceVerification -- Reason: We are not processing form information. + if ( $_SERVER['REQUEST_METHOD'] === 'POST' ) { + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: should be done outside the helper function. + if ( isset( $_POST['taxonomy'] ) && \is_string( $_POST['taxonomy'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: should be done outside the helper function. + return \sanitize_text_field( \wp_unslash( $_POST['taxonomy'] ) ); + } + return ''; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['taxonomy'] ) && \is_string( $_GET['taxonomy'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return \sanitize_text_field( \wp_unslash( $_GET['taxonomy'] ) ); + } + + return ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/prominent-words-helper.php b/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/prominent-words-helper.php new file mode 100644 index 00000000..d4efeb5f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/prominent-words-helper.php @@ -0,0 +1,96 @@ +options_helper = $options_helper; + } + + /** + * Computes the tf-idf (term frequency - inverse document frequency) score of a prominent word in a document. + * The document frequency should be 1 or higher, if it is not, it is assumed to be 1. + * + * @param int $term_frequency How many times the word occurs in the document. + * @param int $doc_frequency In how many documents this word occurs. + * + * @return float The tf-idf score of a prominent word. + */ + public function compute_tf_idf_score( $term_frequency, $doc_frequency ) { + // Set doc frequency to a minimum of 1, to avoid division by 0. + $doc_frequency = \max( 1, $doc_frequency ); + + return ( $term_frequency * ( 1 / $doc_frequency ) ); + } + + /** + * Computes the vector length for the given prominent words, applying Pythagoras's Theorem on the weights. + * + * @param array $prominent_words The prominent words, as an array mapping stems to `weight` and `df` (document frequency). + * + * @return float Vector length for the prominent words. + */ + public function compute_vector_length( $prominent_words ) { + $sum_of_squares = 0; + + foreach ( $prominent_words as $stem => $word ) { + $doc_frequency = 1; + if ( \array_key_exists( 'df', $word ) ) { + $doc_frequency = $word['df']; + } + + $tf_idf = $this->compute_tf_idf_score( $word['weight'], $doc_frequency ); + $sum_of_squares += ( $tf_idf ** 2 ); + } + + return \sqrt( $sum_of_squares ); + } + + /** + * Completes the prominent words indexing. + * + * @return void + */ + public function complete_indexing() { + $this->set_indexing_completed( true ); + \set_transient( 'total_unindexed_prominent_words', '0' ); + } + + /** + * Sets the prominent_words_indexing_completed option. + * + * @param bool $indexing_completed Whether or not the prominent words indexing has completed. + * + * @return void + */ + public function set_indexing_completed( $indexing_completed ) { + $this->options_helper->set( 'prominent_words_indexing_completed', $indexing_completed ); + } + + /** + * Gets a boolean that indicates whether the prominent words indexing has completed. + * + * @return bool Whether the prominent words indexing has completed. + */ + public function is_indexing_completed() { + return $this->options_helper->get( 'prominent_words_indexing_completed' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/version-helper.php b/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/version-helper.php new file mode 100644 index 00000000..7f61c147 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/helpers/version-helper.php @@ -0,0 +1,30 @@ +' ) ); + } + + /** + * Checks whether a new update is available for Premium. + * + * @return bool + */ + public function is_premium_update_available() { + $plugin_updates = \get_plugin_updates(); + return isset( $plugin_updates[ \WPSEO_PREMIUM_BASENAME ] ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/index-now-key.php b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/index-now-key.php new file mode 100644 index 00000000..26fab0aa --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/index-now-key.php @@ -0,0 +1,123 @@ +options_helper = $options_helper; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function initialize() { + \add_action( 'init', [ $this, 'add_rewrite_rule' ], 1 ); + \add_action( 'plugins_loaded', [ $this, 'load' ], 15 ); + } + + /** + * Loads the integration. + * + * @return void + */ + public function load() { + if ( $this->options_helper->get( 'enable_index_now' ) === false ) { + return; + } + + $this->key = $this->options_helper->get( 'index_now_key' ); + if ( $this->key === '' ) { + $this->generate_key(); + } + \add_action( 'wp', [ $this, 'output_key' ], 0 ); + } + + /** + * Adds the rewrite rule for the IndexNow key txt file. + * + * @return void + */ + public function add_rewrite_rule() { + if ( $this->options_helper->get( 'enable_index_now' ) !== true ) { + return; + } + global $wp; + + $wp->add_query_var( 'yoast_index_now_key' ); + \add_rewrite_rule( '^yoast-index-now-([a-zA-Z0-9-]+)\.txt$', 'index.php?yoast_index_now_key=$matches[1]', 'top' ); + } + + /** + * Outputs the key when it matches the key in the database. + * + * @return void + */ + public function output_key() { + $key_in_url = \get_query_var( 'yoast_index_now_key' ); + if ( empty( $key_in_url ) ) { + return; + } + + if ( $key_in_url === $this->key ) { + // Remove all headers. + \header_remove(); + // Only send plain text header. + \header( 'Content-Type: text/plain;charset=UTF-8' ); + echo \esc_html( $this->key ); + die; + } + + // Trying keys? Good luck. + global $wp_query; + $wp_query->set_404(); + } + + /** + * Generates an IndexNow key. + * + * Adapted from wp_generate_password to include dash (-) and not be filtered. + * + * @return void + */ + private function generate_key() { + $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-'; + + for ( $i = 0; $i < 100; $i++ ) { + $this->key .= \substr( $chars, \wp_rand( 0, ( \strlen( $chars ) - 1 ) ), 1 ); + } + $this->options_helper->set( 'index_now_key', $this->key ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/introductions-initializer.php b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/introductions-initializer.php new file mode 100644 index 00000000..9af0f04d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/introductions-initializer.php @@ -0,0 +1,101 @@ +current_page_helper = $current_page_helper; + $this->introductions = $introductions; + } + + /** + * Returns the conditionals based in which this loadable should be active. + * + * In this case: when on an admin page. + * + * @return array + */ + public static function get_conditionals() { + return [ Yoast_Admin_Or_Introductions_Route_Conditional::class ]; + } + + /** + * Registers the action to enqueue the needed script(s). + * + * @return void + */ + public function initialize() { + if ( $this->is_on_installation_page() ) { + return; + } + + \add_filter( 'wpseo_introductions', [ $this, 'add_introductions' ] ); + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + + /** + * Adds the Premium introductions. + * + * @param Introduction_Interface[] $introductions The introductions. + * + * @return array The merged introductions. + */ + public function add_introductions( $introductions ) { + // Safety check and bail. + if ( ! \is_array( $introductions ) ) { + return $introductions; + } + + return \array_merge( $introductions, $this->introductions ); + } + + /** + * Enqueue the workouts app. + * + * @return void + */ + public function enqueue_assets() { + \wp_enqueue_script( self::SCRIPT_HANDLE ); + \wp_localize_script( + self::SCRIPT_HANDLE, + 'wpseoPremiumIntroductions', + [ + 'pluginUrl' => \plugins_url( '', \WPSEO_PREMIUM_FILE ), + ] + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/plugin.php b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/plugin.php new file mode 100644 index 00000000..45550a42 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/plugin.php @@ -0,0 +1,70 @@ +options_helper = $options_helper; + } + + /** + * Loads the redirect handler. + * + * @return void + */ + public function initialize() { + \add_action( 'plugins_loaded', [ $this, 'load' ], 15 ); + + $wpseo_premium_capabilities = new WPSEO_Premium_Register_Capabilities(); + $wpseo_premium_capabilities->register_hooks(); + + \register_deactivation_hook( \WPSEO_PREMIUM_FILE, [ $this, 'wpseo_premium_deactivate' ] ); + } + + /** + * The premium setup + * + * @return void + */ + public function load() { + new WPSEO_Premium(); + } + + /** + * Cleans up Premium on deactivation. + * + * @return void + */ + public function wpseo_premium_deactivate() { + \do_action( 'wpseo_register_capabilities_premium' ); + WPSEO_Capability_Manager_Factory::get( 'premium' )->remove(); + if ( $this->options_helper->get( 'toggled_tracking' ) !== true ) { + $this->options_helper->set( 'tracking', false ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/redirect-handler.php b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/redirect-handler.php new file mode 100644 index 00000000..d4130853 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/redirect-handler.php @@ -0,0 +1,675 @@ +load_php_redirects() ) { + return; + } + + if ( ! \function_exists( 'is_plugin_active_for_network' ) ) { + require_once \ABSPATH . 'wp-admin/includes/plugin.php'; + } + // If the plugin is network activated, we wait for the plugins to be loaded before initializing. + if ( \is_plugin_active_for_network( \WPSEO_PREMIUM_BASENAME ) ) { + \add_action( 'plugins_loaded', [ $this, 'handle_redirects' ], 16 ); + } + else { + $this->handle_redirects(); + } + } + + /** + * Handles the 410 status code. + * + * @return void + */ + public function do_410() { + $is_include_hook_set = $this->set_template_include_hook( '410' ); + + if ( ! $is_include_hook_set ) { + $this->set_404(); + } + + $this->status_header( 410 ); + } + + /** + * Handles the 451 status code. + * + * @return void + */ + public function do_451() { + $is_include_hook_set = $this->set_template_include_hook( '451' ); + + if ( ! $is_include_hook_set ) { + $this->set_404(); + } + + $this->status_header( 451, 'Unavailable For Legal Reasons' ); + } + + /** + * Returns the template that should be included. + * + * @param string $template The template that will included before executing hook. + * + * @return string Returns the template that should be included. + */ + public function set_template_include( $template ) { + if ( ! empty( $this->template_file_path ) ) { + return $this->template_file_path; + } + + return $template; + } + + /** + * Replaces the $regex vars with URL matches. + * + * @param string[] $matches Array with the matches from the matching redirect. + * + * @return string The replaced URL. + */ + public function format_regex_redirect_url( $matches ) { + $arr_key = \substr( $matches[0], 1 ); + + if ( isset( $this->url_matches[ $arr_key ] ) ) { + return $this->url_matches[ $arr_key ]; + } + + return ''; + } + + /** + * Sets the wp_query to 404 when this is an object. + * + * @return void + */ + public function set_404() { + $wp_query = $this->get_wp_query(); + $wp_query->is_404 = true; + } + + /** + * Checks if the current URL matches a normal redirect. + * + * @param string $request_url The request url to look for. + * + * @return void + */ + protected function handle_normal_redirects( $request_url ) { + // Setting the redirects. + $redirects = $this->get_redirects( WPSEO_Redirect_Option::OPTION_PLAIN ); + $this->redirects = $this->normalize_redirects( $redirects ); + + $request_url = $this->normalize_url( $request_url ); + + // Get the URL and doing the redirect. + $redirect_url = $this->find_url( $request_url ); + + if ( empty( $redirect_url ) ) { + return; + } + + if ( $this->normalize_url( $redirect_url['url'] ) === $request_url ) { + return; + } + + $this->is_redirected = true; + $this->do_redirect( $redirect_url['url'], $redirect_url['type'] ); + } + + /** + * Normalizes the url by trimming the slashes. If the given URL is a slash only, + * it will do nothing. By normalizing the URL there is a basis for matching multiple + * variants (Like: url, /url, /url/, url/). + * + * @param string $url The URL to normalize. + * + * @return string The modified url. + */ + protected function normalize_url( $url ) { + if ( $url === '/' ) { + return $url; + } + + return \trim( $url, '/' ); + } + + /** + * Checks if the current URL matches a regex. + * + * @return void + */ + protected function handle_regex_redirects() { + // Setting the redirects. + $this->redirects = $this->get_redirects( WPSEO_Redirect_Option::OPTION_REGEX ); + + foreach ( $this->redirects as $regex => $redirect ) { + // Check if the URL matches the $regex. + $this->match_regex_redirect( $regex, $redirect ); + } + } + + /** + * Check if request URL matches one of the regex redirects. + * + * @param string $regex The reqular expression to match. + * @param array $redirect The URL that might be matched with the regex. + * + * @return void + */ + protected function match_regex_redirect( $regex, array $redirect ) { + /* + * Escape the ` because we use ` to delimit the regex to prevent faulty redirects. + * + * Explicitly chosen not to use `preg_quote` because we need to be able to parse + * user provided regular expression syntax. + */ + $regex = \str_replace( '`', '\\`', $regex ); + + // Suppress warning: a faulty redirect will give a warning and not an exception. So we can't catch it. + // See issue: https://github.com/Yoast/wordpress-seo-premium/issues/662. + // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged + if ( @\preg_match( "`{$regex}`", $this->request_url, $this->url_matches ) === 1 ) { + + // Replace the $regex vars with URL matches. + $redirect_url = \preg_replace_callback( + '/\$[0-9]+/', + [ $this, 'format_regex_redirect_url' ], + $redirect['url'] + ); + + $this->do_redirect( $redirect_url, $redirect['type'] ); + } + + // Reset url_matches. + $this->url_matches = []; + } + + /** + * Gets the redirects from the options. + * + * @param string $option The option name that wil be fetched. + * + * @return array Returns the redirects for the given option. + */ + protected function get_redirects( $option ) { + static $redirects; + + if ( ! isset( $redirects[ $option ] ) ) { + $redirects[ $option ] = \get_option( $option, false ); + } + + if ( ! empty( $redirects[ $option ] ) ) { + return $redirects[ $option ]; + } + + return []; + } + + /** + * Performs the redirect. + * + * @param string $redirect_url The target URL. + * @param string $redirect_type The type of the redirect. + * + * @return void + */ + protected function do_redirect( $redirect_url, $redirect_type ) { + $redirect_url = $this->parse_target_url( $redirect_url ); + + // Prevents redirecting to itself. + if ( $this->home_url( $this->request_url ) === $redirect_url ) { + return; + } + + $redirect_types_without_target = [ 410, 451 ]; + if ( \in_array( $redirect_type, $redirect_types_without_target, true ) ) { + $this->handle_redirect_without_target( $redirect_type ); + + return; + } + + $this->redirect( $redirect_url, $redirect_type ); + } + + /** + * Checks if a redirect has been executed. + * + * @return bool Whether a redirect has been executed. + */ + protected function is_redirected() { + return $this->is_redirected === true; + } + + /** + * Checks if we should load the PHP redirects. + * + * If Apache or NginX configuration is selected, don't load PHP redirects. + * + * @return bool True if PHP redirects should be loaded and used. + */ + protected function load_php_redirects() { + + if ( \defined( 'WPSEO_DISABLE_PHP_REDIRECTS' ) && \WPSEO_DISABLE_PHP_REDIRECTS === true ) { + return false; + } + + if ( \defined( 'WP_CLI' ) && \WP_CLI === true ) { + return false; + } + + $options = \get_option( 'wpseo_redirect', false ); + if ( $options === false ) { + // If the option is not set, save it, to prevent a query for a non-existing option on every page load. + \add_action( 'wp_head', [ $this, 'save_default_redirect_options' ] ); + return false; + } + + // If the PHP redirects are disabled intentionally, return false. + if ( ! empty( $options['disable_php_redirect'] ) && $options['disable_php_redirect'] === 'on' ) { + return false; + } + + // PHP redirects are the enabled method of redirecting. + return true; + } + + /** + * Saves the default redirects options to the DB. + * + * @return void + */ + public function save_default_redirect_options() { + $redirect_option = WPSEO_Premium_Redirect_Option::get_instance(); + \update_option( 'wpseo_redirect', $redirect_option->get_defaults(), true ); + } + + /** + * Gets the request URI. + * + * @return string + */ + protected function get_request_uri() { + $request_uri = ''; + + if ( isset( $_SERVER['REQUEST_URI'] ) ) { + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- We sanitize after decoding. + $request_uri = \sanitize_text_field( \rawurldecode( \wp_unslash( $_SERVER['REQUEST_URI'] ) ) ); + } + + return $this->strip_subdirectory( $request_uri ); + } + + /** + * Normalizes the redirects by raw url decoding the origin. + * + * @param array $redirects The redirects to normalize. + * + * @return array The normalized redirects. + */ + protected function normalize_redirects( $redirects ) { + $normalized_redirects = []; + + foreach ( $redirects as $origin => $redirect ) { + $normalized_redirects[ \rawurldecode( $origin ) ] = $redirect; + } + + return $normalized_redirects; + } + + /** + * Sets the request URL and sanitize the slashes for it. + * + * @return void + */ + protected function set_request_url() { + $this->request_url = $this->get_request_uri(); + } + + /** + * Finds the URL in the redirects. + * + * @param string $url The needed URL. + * + * @return bool|string The found url or false if not found. + */ + protected function find_url( $url ) { + $redirect_url = $this->search( $url ); + if ( ! empty( $redirect_url ) ) { + return $redirect_url; + } + + return $this->find_url_fallback( $url ); + } + + /** + * Searches for the given URL in the redirects array. + * + * @param string $url The URL to search for. + * + * @return string|bool The found url or false if not found. + */ + protected function search( $url ) { + if ( ! empty( $this->redirects[ $url ] ) ) { + return $this->redirects[ $url ]; + } + + return false; + } + + /** + * Searches for alternatives with slashes if requested URL isn't found. + * + * This will add a slash if there isn't a slash or it will remove a trailing slash when there isn't one. + * + * @todo Discuss: Maybe we should add slashes to all the values we handle instead of using a fallback. + * + * @param string $url The URL that have to be matched. + * + * @return bool|string The found url or false if not found. + */ + protected function find_url_fallback( $url ) { + $no_trailing_slash = \rtrim( $url, '/' ); + + $checks = [ + 'no_trailing_slash' => $no_trailing_slash, + 'trailing_slash' => $no_trailing_slash . '/', + ]; + + foreach ( $checks as $check ) { + $redirect_url = $this->search( $check ); + if ( ! empty( $redirect_url ) ) { + return $redirect_url; + } + } + + return false; + } + + /** + * Parses the target URL. + * + * @param string $target_url The URL to parse. When there isn't found a scheme, just parse it based on the home URL. + * + * @return string The parsed url. + */ + protected function parse_target_url( $target_url ) { + if ( $this->has_url_scheme( $target_url ) ) { + return $target_url; + } + + $target_url = $this->trailingslashit( $target_url ); + $target_url = $this->format_for_multisite( $target_url ); + + return $this->home_url( $target_url ); + } + + /** + * Checks if given url has a scheme. + * + * @param string $url The url to check. + * + * @return bool True when url has scheme. + */ + protected function has_url_scheme( $url ) { + $scheme = \wp_parse_url( $url, \PHP_URL_SCHEME ); + + return ! empty( $scheme ); + } + + /** + * Determines whether the target URL ends with a slash and adds one if necessary. + * + * @param string $target_url The url to format. + * + * @return string The url with trailing slash. + */ + protected function trailingslashit( $target_url ) { + // Adds slash to target URL when permalink structure ends with a slash. + if ( $this->requires_trailing_slash( $target_url ) ) { + return \trailingslashit( $target_url ); + } + + return $target_url; + } + + /** + * Formats the target url for the multisite if needed. + * + * @param string $target_url The url to format. + * + * @return string The formatted url. + */ + protected function format_for_multisite( $target_url ) { + if ( ! \is_multisite() ) { + return $target_url; + } + + $blog_details = \get_blog_details(); + if ( $blog_details && ! empty( $blog_details->path ) ) { + $blog_path = \ltrim( $blog_details->path, '/' ); + if ( ! empty( $blog_path ) && \strpos( $target_url, $blog_path ) === 0 ) { + $target_url = \substr( $target_url, \strlen( $blog_path ) ); + } + } + + return $target_url; + } + + /** + * Gets the redirect URL by given URL. + * + * @param string $redirect_url The URL that has to be redirected. + * + * @return string The redirect url. + */ + protected function home_url( $redirect_url ) { + $redirect_url = $this->strip_subdirectory( $redirect_url ); + + return \home_url( $redirect_url ); + } + + /** + * Strips the subdirectory from the given url. + * + * @param string $url The url to strip the subdirectory from. + * + * @return string The url with the stripped subdirectory. + */ + protected function strip_subdirectory( $url ) { + return WPSEO_Redirect_Util::strip_base_url_path_from_url( $this->get_home_url(), $url ); + } + + /** + * Returns the URL PATH from the home url. + * + * @return string|null The url path or null if there isn't one. + */ + protected function get_home_url() { + return \home_url(); + } + + /** + * Sets the hook for setting the template include. This is the file that we want to show. + * + * @param string $template_to_set The template to look for. + * + * @return bool True when template should be included. + */ + protected function set_template_include_hook( $template_to_set ) { + $this->template_file_path = $this->get_query_template( $template_to_set ); + if ( ! empty( $this->template_file_path ) ) { + \add_filter( 'template_include', [ $this, 'set_template_include' ] ); + + return true; + } + + return false; + } + + /** + * Wraps the WordPress status_header function. + * + * @param int $code HTTP status code. + * @param string $description Optional. A custom description for the HTTP status. + * + * @return void + */ + protected function status_header( $code, $description = '' ) { + \status_header( $code, $description ); + } + + /** + * Returns instance of WP_Query. + * + * @return WP_Query Instance of WP_Query. + */ + protected function get_wp_query() { + global $wp_query; + + if ( \is_object( $wp_query ) ) { + return $wp_query; + } + + return new WP_Query(); + } + + /** + * Handles the redirects without a target by setting the needed hooks. + * + * @param string $redirect_type The type of the redirect. + * + * @return void + */ + protected function handle_redirect_without_target( $redirect_type ) { + if ( $redirect_type === 410 ) { + \add_action( 'wp', [ $this, 'do_410' ] ); + } + + if ( $redirect_type === 451 ) { + \add_action( 'wp', [ $this, 'do_451' ] ); + } + } + + /** + * Wrapper method for doing the actual redirect. + * + * @param string $location The path to redirect to. + * @param int $status Status code to use. + * + * @return void + */ + protected function redirect( $location, $status = 302 ) { + if ( ! \function_exists( 'wp_redirect' ) ) { + require_once \ABSPATH . 'wp-includes/pluggable.php'; + } + + \wp_redirect( $location, $status, 'Yoast SEO Premium' ); + exit; + } + + /** + * Returns whether or not a target URL requires a trailing slash. + * + * @param string $target_url The target URL to check. + * + * @return bool True when trailing slash is required. + */ + protected function requires_trailing_slash( $target_url ) { + return WPSEO_Redirect_Util::requires_trailing_slash( $target_url ); + } + + /** + * Returns the query template. + * + * @param string $filename Filename without extension. + * + * @return string Full path to template file. + */ + protected function get_query_template( $filename ) { + return \get_query_template( $filename ); + } + + /** + * Actually handles redirects. + * + * @return void + */ + public function handle_redirects() { + // Set the requested URL. + $this->set_request_url(); + + // Check the normal redirects. + $this->handle_normal_redirects( $this->request_url ); + + // Check the regex redirects. + if ( $this->is_redirected() === false ) { + $this->handle_regex_redirects(); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/woocommerce.php b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/woocommerce.php new file mode 100644 index 00000000..66d963e8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/initializers/woocommerce.php @@ -0,0 +1,35 @@ + 'WPSEO_CLI_Premium_Requirement::enforce' ] + ); + + WP_CLI::add_command( + 'yoast redirect create', + 'WPSEO_CLI_Redirect_Create_Command', + [ 'before_invoke' => 'WPSEO_CLI_Premium_Requirement::enforce' ] + ); + + WP_CLI::add_command( + 'yoast redirect update', + 'WPSEO_CLI_Redirect_Update_Command', + [ 'before_invoke' => 'WPSEO_CLI_Premium_Requirement::enforce' ] + ); + + WP_CLI::add_command( + 'yoast redirect delete', + 'WPSEO_CLI_Redirect_Delete_Command', + [ 'before_invoke' => 'WPSEO_CLI_Premium_Requirement::enforce' ] + ); + + WP_CLI::add_command( + 'yoast redirect has', + 'WPSEO_CLI_Redirect_Has_Command', + [ 'before_invoke' => 'WPSEO_CLI_Premium_Requirement::enforce' ] + ); + + WP_CLI::add_command( + 'yoast redirect follow', + 'WPSEO_CLI_Redirect_Follow_Command', + [ 'before_invoke' => 'WPSEO_CLI_Premium_Requirement::enforce' ] + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/abstract-opengraph-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/abstract-opengraph-integration.php new file mode 100644 index 00000000..a30c581c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/abstract-opengraph-integration.php @@ -0,0 +1,206 @@ +options = $options; + } + + /** + * Returns the conditionals based in which this loadable should be active. + * + * @return array + */ + public static function get_conditionals() { + return [ Open_Graph_Conditional::class ]; + } + + /** + * Retrieves the relevant social title from the options. + * + * @param string $title The default title. + * + * @return mixed|string The filtered value. + */ + public function filter_title( $title ) { + $social_title = $this->options->get( $this::OPTION_TITLES_KEY_TITLE ); + + if ( ! empty( $social_title ) ) { + $title = $social_title; + } + + return $title; + } + + /** + * Retrieves the relevant social description from the options. + * + * @param string $description The default description. + * + * @return mixed|string The filtered value. + */ + public function filter_description( $description ) { + $social_description = $this->options->get( $this::OPTION_TITLES_KEY_DESCRIPTION ); + + if ( ! empty( $social_description ) ) { + $description = $social_description; + } + + return $description; + } + + /** + * Retrieves the relevant social image ID from the options. + * + * @param int $id The default image ID. + * + * @return mixed|int The filtered value. + */ + public function filter_image_id( $id ) { + $social_id = $this->options->get( $this::OPTION_TITLES_KEY_IMAGE_ID ); + + if ( ! empty( $social_id ) ) { + $id = $social_id; + } + + return $id; + } + + /** + * Retrieves the relevant social image URL from the options. + * + * @param string $url The default image URL. + * + * @return mixed|int The filtered value. + */ + public function filter_image( $url ) { + $social_url = $this->options->get( $this::OPTION_TITLES_KEY_IMAGE ); + + if ( ! empty( $social_url ) ) { + $url = $social_url; + } + + return $url; + } + + /** + * Retrieves the relevant social title for the subtype from the options. + * + * @param string $title The default title. + * @param string $object_subtype The subtype of the current indexable. + * + * @return mixed|string The filtered value. + */ + public function filter_title_for_subtype( $title, $object_subtype ) { + $social_title = $this->options->get( $this::OPTION_TITLES_KEY_TITLE . $object_subtype ); + + if ( ! empty( $social_title ) ) { + $title = $social_title; + } + + return $title; + } + + /** + * Retrieves the relevant social description for the subtype from the options. + * + * @param string $description The default description. + * @param string $object_subtype The subtype of the current indexable. + * + * @return mixed|string The filtered value. + */ + public function filter_description_for_subtype( $description, $object_subtype ) { + $social_description = $this->options->get( $this::OPTION_TITLES_KEY_DESCRIPTION . $object_subtype ); + + if ( ! empty( $social_description ) ) { + $description = $social_description; + } + + return $description; + } + + /** + * Retrieves the relevant social image ID for the subtype from the options. + * + * @param int $id The default image ID. + * @param string $object_subtype The subtype of the current indexable. + * + * @return mixed|string The filtered value. + */ + public function filter_image_id_for_subtype( $id, $object_subtype ) { + $social_id = $this->options->get( $this::OPTION_TITLES_KEY_IMAGE_ID . $object_subtype ); + + if ( ! empty( $social_id ) ) { + $id = $social_id; + } + + return $id; + } + + /** + * Retrieves the relevant social image URL for the subtype from the options. + * + * @param string $url The default image URL. + * @param string $object_subtype The subtype of the current indexable. + * + * @return mixed|string The filtered value. + */ + public function filter_image_for_subtype( $url, $object_subtype ) { + $social_url = $this->options->get( $this::OPTION_TITLES_KEY_IMAGE . $object_subtype ); + + if ( ! empty( $social_url ) ) { + $url = $social_url; + } + + return $url; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/ai-consent-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/ai-consent-integration.php new file mode 100644 index 00000000..fdfe0108 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/ai-consent-integration.php @@ -0,0 +1,134 @@ +asset_manager = $asset_manager; + $this->addon_manager = $addon_manager; + $this->options_helper = $options_helper; + $this->user_helper = $user_helper; + $this->wistia_embed_permission_repository = $wistia_embed_permission_repository; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + // Hide AI feature option in user profile if the user is not allowed to use it. + if ( \current_user_can( 'edit_posts' ) ) { + \add_action( 'wpseo_user_profile_additions', [ $this, 'render_user_profile' ], 12 ); + } + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ], 11 ); + } + + /** + * Enqueues the required assets. + * + * @return void + */ + public function enqueue_assets() { + $this->asset_manager->enqueue_style( 'premium-ai-generator' ); + + \wp_enqueue_script( 'wp-seo-premium-manage-ai-consent-button' ); + $user_id = $this->user_helper->get_current_user_id(); + \wp_localize_script( + 'wp-seo-premium-manage-ai-consent-button', + 'wpseoPremiumManageAiConsentButton', + [ + 'hasConsent' => $this->user_helper->get_meta( $user_id, '_yoast_wpseo_ai_consent', true ), + // Note: this is passing the Free plugin URL! As the image is located in there. + 'pluginUrl' => \plugins_url( '', \WPSEO_FILE ), + 'wistiaEmbedPermission' => $this->wistia_embed_permission_repository->get_value_for_user( $user_id ), + ] + ); + } + + /** + * Renders the AI consent button for the user profile. + * + * @return void + */ + public function render_user_profile() { + echo '', + ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/ai-generator-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/ai-generator-integration.php new file mode 100644 index 00000000..3f85e7cd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/ai-generator-integration.php @@ -0,0 +1,202 @@ + + */ + public static function get_conditionals() { + return [ Ai_Editor_Conditional::class ]; + } + + /** + * Constructs the class. + * + * @param WPSEO_Admin_Asset_Manager $asset_manager The admin asset manager. + * @param WPSEO_Addon_Manager $addon_manager The addon manager. + * @param AI_Generator_Helper $ai_generator_helper The AI generator helper. + * @param Current_Page_Helper $current_page_helper The current page helper. + * @param Options_Helper $options_helper The options helper. + * @param User_Helper $user_helper The user helper. + * @param Introductions_Seen_Repository $introductions_seen_repository The introductions seen repository. + */ + public function __construct( + WPSEO_Admin_Asset_Manager $asset_manager, + WPSEO_Addon_Manager $addon_manager, + AI_Generator_Helper $ai_generator_helper, + Current_Page_Helper $current_page_helper, + Options_Helper $options_helper, + User_Helper $user_helper, + Introductions_Seen_Repository $introductions_seen_repository + ) { + $this->asset_manager = $asset_manager; + $this->addon_manager = $addon_manager; + $this->ai_generator_helper = $ai_generator_helper; + $this->current_page_helper = $current_page_helper; + $this->options_helper = $options_helper; + $this->user_helper = $user_helper; + $this->introductions_seen_repository = $introductions_seen_repository; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + if ( ! $this->options_helper->get( 'enable_ai_generator', false ) ) { + return; + } + + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + // Enqueue after Elementor_Premium integration, which re-registers the assets. + \add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_assets' ], 11 ); + } + + /** + * Gets the subscription status for Yoast SEO Premium and Yoast WooCommerce SEO. + * + * @return array + */ + public function get_product_subscriptions() { + return [ + 'premiumSubscription' => $this->addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ), + 'wooCommerceSubscription' => $this->addon_manager->has_valid_subscription( WPSEO_Addon_Manager::WOOCOMMERCE_SLUG ), + ]; + } + + /** + * Enqueues the required assets. + * + * @return void + */ + public function enqueue_assets() { + $user_id = $this->user_helper->get_current_user_id(); + + \wp_enqueue_script( 'wp-seo-premium-ai-generator' ); + \wp_localize_script( + 'wp-seo-premium-ai-generator', + 'wpseoPremiumAiGenerator', + [ + 'adminUrl' => \admin_url( 'admin.php' ), + 'hasConsent' => $this->user_helper->get_meta( $user_id, '_yoast_wpseo_ai_consent', true ), + 'productSubscriptions' => $this->get_product_subscriptions(), + 'hasSeenIntroduction' => $this->introductions_seen_repository->is_introduction_seen( $user_id, Ai_Generate_Titles_And_Descriptions_Introduction::ID ), + 'pluginUrl' => \plugins_url( '', \WPSEO_PREMIUM_FILE ), + 'postType' => $this->get_post_type(), + 'contentType' => $this->get_content_type(), + 'requestTimeout' => $this->ai_generator_helper->get_request_timeout(), + ] + ); + $this->asset_manager->enqueue_style( 'premium-ai-generator' ); + } + + /** + * Returns the post type of the currently edited object. + * In case this object is a term, returns the taxonomy. + * + * @return string + */ + private function get_post_type() { + // The order of checking is important here: terms have an empty post_type parameter in their GET request. + $taxonomy = $this->current_page_helper->get_current_taxonomy(); + if ( $taxonomy !== '' ) { + return $taxonomy; + } + + $post_type = $this->current_page_helper->get_current_post_type(); + if ( $post_type ) { + return $post_type; + } + + return ''; + } + + /** + * Returns the content type (i.e., 'post' or 'term') of the currently edited object. + * + * @return string + */ + private function get_content_type() { + $taxonomy = $this->current_page_helper->get_current_taxonomy(); + if ( $taxonomy !== '' ) { + return 'term'; + } + + $post_type = $this->current_page_helper->get_current_post_type(); + if ( $post_type ) { + return 'post'; + } + + return ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/cornerstone-column-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/cornerstone-column-integration.php new file mode 100644 index 00000000..ddaf933e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/cornerstone-column-integration.php @@ -0,0 +1,230 @@ +post_type_helper = $post_type_helper; + $this->wpdb = $wpdb; + $this->admin_columns_cache = $admin_columns_cache; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_filter( 'posts_clauses', [ $this, 'order_by_cornerstone' ], 1, 2 ); + \add_action( 'admin_init', [ $this, 'register_init_hooks' ] ); + + // Adds a filter to exclude the attachments from the cornerstone column. + \add_filter( 'wpseo_cornerstone_column_post_types', [ 'WPSEO_Post_Type', 'filter_attachment_post_type' ] ); + + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + + /** + * Register hooks that need to be registered after `init` due to all post types not yet being registered. + * + * @return void + */ + public function register_init_hooks() { + $public_post_types = \apply_filters( 'wpseo_cornerstone_column_post_types', $this->post_type_helper->get_accessible_post_types() ); + + if ( ! \is_array( $public_post_types ) || empty( $public_post_types ) ) { + return; + } + + foreach ( $public_post_types as $post_type ) { + \add_filter( 'manage_' . $post_type . '_posts_columns', [ $this, 'add_cornerstone_column' ] ); + \add_action( 'manage_' . $post_type . '_posts_custom_column', [ $this, 'column_content' ], 10, 2 ); + \add_filter( 'manage_edit-' . $post_type . '_sortable_columns', [ $this, 'column_sort' ] ); + } + } + + /** + * Enqueues the assets needed for the integration to work. + * + * @return void + */ + public function enqueue_assets() { + \wp_enqueue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'premium-post-overview' ); + } + + /** + * Adds the columns for the post overview. + * + * @param array $columns Array with columns. + * + * @return array The extended array with columns. + */ + public function add_cornerstone_column( $columns ) { + if ( ! \is_array( $columns ) ) { + return $columns; + } + + $columns[ self::CORNERSTONE_COLUMN_NAME ] = \sprintf( + '%2$s', + \esc_attr__( 'Is this cornerstone content?', 'wordpress-seo-premium' ), + /* translators: Hidden accessibility text. */ + \esc_html__( 'Cornerstone content', 'wordpress-seo-premium' ) + ); + + return $columns; + } + + /** + * Modifies the query pieces to allow ordering column by cornerstone. + * + * @param array $pieces Array of Query pieces. + * @param WP_Query $query The Query on which to apply. + * + * @return array + */ + public function order_by_cornerstone( $pieces, $query ) { + if ( $query->get( 'orderby' ) !== self::CORNERSTONE_COLUMN_NAME ) { + return $pieces; + } + + return $this->build_sort_query_pieces( $pieces, $query ); + } + + /** + * Builds the pieces for a sorting query. + * + * @param array $pieces Array of Query pieces. + * @param WP_Query $query The Query on which to apply. + * + * @return array Modified Query pieces. + */ + protected function build_sort_query_pieces( $pieces, $query ) { + // We only want our code to run in the main WP query. + if ( ! $query->is_main_query() ) { + return $pieces; + } + + // Get the order query variable - ASC or DESC. + $order = \strtoupper( $query->get( 'order' ) ); + + // Make sure the order setting qualifies. If not, set default as ASC. + if ( ! \in_array( $order, [ 'ASC', 'DESC' ], true ) ) { + $order = 'ASC'; + } + + $table = Model::get_table_name( 'Indexable' ); + + $pieces['join'] .= " LEFT JOIN $table AS yoast_indexable ON yoast_indexable.object_id = {$this->wpdb->posts}.ID AND yoast_indexable.object_type = 'post' "; + $pieces['orderby'] = "yoast_indexable.is_cornerstone $order, FIELD( {$this->wpdb->posts}.post_status, 'publish' ) $order, {$pieces['orderby']}"; + + return $pieces; + } + + /** + * Displays the column content for the given column. + * + * @param string $column_name Column to display the content for. + * @param int $post_id Post to display the column content for. + * + * @return void + */ + public function column_content( $column_name, $post_id ) { + $indexable = $this->admin_columns_cache->get_indexable( $post_id ); + // Nothing to output if we don't have the value. + if ( empty( $indexable ) ) { + return; + } + + // phpcs:disable WordPress.Security.EscapeOutput -- Reason: The Icons contains safe svg. + if ( $column_name === self::CORNERSTONE_COLUMN_NAME ) { + if ( $indexable->is_cornerstone === true ) { + echo new Checkmark_Icon_Presenter( 20 ); + + return; + } + + echo new Cross_Icon_Presenter( 20 ); + } + // phpcs:enable + } + + /** + * Sets the sortable columns. + * + * @param array $columns Array with sortable columns. + * + * @return array The extended array with sortable columns. + */ + public function column_sort( $columns ) { + $columns[ self::CORNERSTONE_COLUMN_NAME ] = self::CORNERSTONE_COLUMN_NAME; + + return $columns; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/cornerstone-taxonomy-column-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/cornerstone-taxonomy-column-integration.php new file mode 100644 index 00000000..28572a89 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/cornerstone-taxonomy-column-integration.php @@ -0,0 +1,141 @@ +current_page_helper = $current_page_helper; + } + + /** + * {@inheritDoc} + */ + public static function get_conditionals() { + return [ + Admin_Conditional::class, + Term_Overview_Or_Ajax_Conditional::class, + Cornerstone_Enabled_Conditional::class, + ]; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_action( 'admin_init', [ $this, 'register_init_hooks' ] ); + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + + /** + * Register hooks that need to be registered after `init` due to all post types not yet being registered. + * + * @return void + */ + public function register_init_hooks() { + $taxonomy = $this->current_page_helper->get_current_taxonomy(); + $is_product = $this->current_page_helper->get_current_post_type() === 'product'; + $is_product_cat = $taxonomy === 'product_cat'; + $is_product_tag = $taxonomy === 'product_tag'; + + if ( ( $is_product && ( $is_product_cat || $is_product_tag ) ) || ( ! $is_product && $taxonomy ) ) { + \add_filter( 'manage_edit-' . $taxonomy . '_columns', [ $this, 'add_cornerstone_column' ] ); + \add_filter( 'manage_' . $taxonomy . '_custom_column', [ $this, 'column_content' ], 10, 3 ); + } + } + + /** + * Enqueues the assets needed for the integration to work. + * + * @return void + */ + public function enqueue_assets() { + \wp_enqueue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'premium-post-overview' ); + } + + /** + * Adds the cornerstone column for the term overview. + * + * @param array $columns Array with columns. + * + * @return array The extended array with columns. + */ + public function add_cornerstone_column( $columns ) { + if ( ! \is_array( $columns ) ) { + return $columns; + } + + $columns[ self::CORNERSTONE_COLUMN_NAME ] = \sprintf( + ' + + %2$s + + ', + \esc_attr__( 'Is this cornerstone content?', 'wordpress-seo-premium' ), + /* translators: Hidden accessibility text. */ + \esc_html__( 'Cornerstone content', 'wordpress-seo-premium' ) + ); + + return $columns; + } + + /** + * Displays the column content for the given column. + * + * @param string $content The current content of the column. + * @param string $column_name The name of the column. + * @param int $term_id ID of requested taxonomy. + * + * @return string + */ + public function column_content( $content, $column_name, $term_id ) { + $is_cornerstone = (int) WPSEO_Taxonomy_Meta::get_term_meta( $term_id, $this->current_page_helper->get_current_taxonomy(), 'is_cornerstone' ); + + if ( $column_name === self::CORNERSTONE_COLUMN_NAME ) { + if ( $is_cornerstone ) { + // phpcs:disable WordPress.Security.EscapeOutput -- Reason: The Icons contains safe svg. + echo new Checkmark_Icon_Presenter( 20 ); + + return; + } + + echo new Cross_Icon_Presenter( 20 ); + } + + return $content; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-column-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-column-integration.php new file mode 100644 index 00000000..f5846448 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-column-integration.php @@ -0,0 +1,233 @@ +post_type_helper = $post_type_helper; + $this->score_icon_helper = $score_icon_helper; + $this->wpdb = $wpdb; + $this->admin_columns_cache = $admin_columns_cache; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_filter( 'posts_clauses', [ $this, 'order_by_inclusive_language_score' ], 1, 2 ); + \add_action( 'admin_init', [ $this, 'register_init_hooks' ] ); + + // Adds a filter to exclude the attachments from the inclusive language column. + \add_filter( 'wpseo_inclusive_language_column_post_types', [ 'WPSEO_Post_Type', 'filter_attachment_post_type' ] ); + + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + + /** + * Register hooks that need to be registered after `init` due to all post types not yet being registered. + * + * @return void + */ + public function register_init_hooks() { + $public_post_types = \apply_filters( 'wpseo_inclusive_language_column_post_types', $this->post_type_helper->get_accessible_post_types() ); + + if ( ! \is_array( $public_post_types ) || empty( $public_post_types ) ) { + return; + } + + foreach ( $public_post_types as $post_type ) { + \add_filter( 'manage_' . $post_type . '_posts_columns', [ $this, 'add_inclusive_language_column' ] ); + \add_action( 'manage_' . $post_type . '_posts_custom_column', [ $this, 'column_content' ], 10, 2 ); + \add_filter( 'manage_edit-' . $post_type . '_sortable_columns', [ $this, 'column_sort' ] ); + } + } + + /** + * Enqueues the assets needed for the integration to work. + * + * @return void + */ + public function enqueue_assets() { + \wp_enqueue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'premium-post-overview' ); + } + + /** + * Adds the inclusive language column for the post overview. + * + * @param array $columns Array with columns. + * + * @return array The extended array with columns. + */ + public function add_inclusive_language_column( $columns ) { + if ( ! \is_array( $columns ) ) { + return $columns; + } + + $columns[ self::INCLUSIVE_LANGUAGE_COLUMN_NAME ] = \sprintf( + '%2$s', + \esc_attr__( 'Inclusive language score', 'wordpress-seo-premium' ), + \esc_html__( 'Inclusive language score', 'wordpress-seo-premium' ) + ); + + return $columns; + } + + /** + * Modifies the query pieces to allow ordering column by inclusive language score. + * + * @param array $pieces Array of Query pieces. + * @param WP_Query $query The Query on which to apply. + * + * @return array + */ + public function order_by_inclusive_language_score( $pieces, $query ) { + if ( $query->get( 'orderby' ) !== self::INCLUSIVE_LANGUAGE_COLUMN_NAME ) { + return $pieces; + } + + return $this->build_sort_query_pieces( $pieces, $query ); + } + + /** + * Builds the pieces for a sorting query. + * + * @param array $pieces Array of Query pieces. + * @param WP_Query $query The Query on which to apply. + * + * @return array Modified Query pieces. + */ + protected function build_sort_query_pieces( $pieces, $query ) { + // We only want our code to run in the main WP query. + if ( ! $query->is_main_query() ) { + return $pieces; + } + + // Get the order query variable - ASC or DESC. + $order = \strtoupper( $query->get( 'order' ) ); + + // Make sure the order setting qualifies. If not, set default as ASC. + if ( ! \in_array( $order, [ 'ASC', 'DESC' ], true ) ) { + $order = 'ASC'; + } + + $table = Model::get_table_name( 'Indexable' ); + + $pieces['join'] .= " LEFT JOIN $table AS yoast_indexable ON yoast_indexable.object_id = {$this->wpdb->posts}.ID AND yoast_indexable.object_type = 'post' "; + $pieces['orderby'] = "yoast_indexable.inclusive_language_score $order, {$pieces['orderby']}"; + + return $pieces; + } + + /** + * Displays the column content for the given column. + * + * @param string $column_name Column to display the content for. + * @param int $post_id Post to display the column content for. + * + * @return void + */ + public function column_content( $column_name, $post_id ) { + $indexable = $this->admin_columns_cache->get_indexable( $post_id ); + // Nothing to output if we don't have the value. + if ( empty( $indexable ) ) { + return; + } + + if ( $column_name === self::INCLUSIVE_LANGUAGE_COLUMN_NAME ) { + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Correctly escaped through the Score_Icon_Helper. + echo $this->score_icon_helper->for_inclusive_language( $indexable->inclusive_language_score ); + } + } + + /** + * Sets the sortable columns. + * + * @param array $columns Array with sortable columns. + * + * @return array The extended array with sortable columns. + */ + public function column_sort( $columns ) { + $columns[ self::INCLUSIVE_LANGUAGE_COLUMN_NAME ] = self::INCLUSIVE_LANGUAGE_COLUMN_NAME; + + return $columns; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-filter-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-filter-integration.php new file mode 100644 index 00000000..d0da7057 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-filter-integration.php @@ -0,0 +1,165 @@ +' + /* translators: Hidden accessibility text. */ + . \esc_html__( 'Filter by Inclusive Language Score', 'wordpress-seo-premium' ) + . ''; + echo ''; + } + + /** + * Generates an '; + } + + /** + * Retrieves the current inclusive language score filter value from the $_GET variable. + * + * @return string|null The sanitized inclusive language score filter value or null when the variable is not set in $_GET. + */ + public function get_current_inclusive_language_filter() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['inclusive_language_filter'] ) && \is_string( $_GET['inclusive_language_filter'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return \sanitize_text_field( \wp_unslash( $_GET['inclusive_language_filter'] ) ); + } + return null; + } + + /** + * Determines the inclusive language score filter to the meta query, based on the passed inclusive language filter. + * + * @param string $inclusive_language_filter The inclusive language filter to use to determine what further filter to apply. + * + * @return array The inclusive language score filter. + */ + public function determine_inclusive_language_filters( $inclusive_language_filter ) { + $rank = new WPSEO_Rank( $inclusive_language_filter ); + + return $this->create_inclusive_language_score_filter( $rank->get_starting_score(), $rank->get_end_score() ); + } + + /** + * Creates an inclusive language score filter. + * + * @param number $low The lower boundary of the score. + * @param number $high The higher boundary of the score. + * + * @return array The inclusive language score filter. + */ + protected function create_inclusive_language_score_filter( $low, $high ) { + return [ + [ + 'key' => WPSEO_Meta::$meta_prefix . 'inclusive_language_score', + 'value' => [ $low, $high ], + 'type' => 'numeric', + 'compare' => 'BETWEEN', + ], + ]; + } + + /** + * Adds the inclusive language filter to the list of active filters -- if it has been used for filtering. + * + * @param array $active_filters The currently active filters. + * @return array The active filters, including the inclusive language filter -- if it has been used for filtering. + */ + public function add_inclusive_language_filter( $active_filters ) { + $inclusive_language_filter = $this->get_current_inclusive_language_filter(); + + if ( \is_string( $inclusive_language_filter ) && $inclusive_language_filter !== '' ) { + $active_filters = \array_merge( + $active_filters, + $this->determine_inclusive_language_filters( $inclusive_language_filter ) + ); + } + + return $active_filters; + } + + /** + * Adds the inclusive language score field to the order by part of the query -- if it has been selected during filtering. + * + * @param array $order_by The current order by statement. + * @param string $order_by_column The column to use for ordering. + * @return array The order by. + */ + public function add_inclusive_language_order_by( $order_by, $order_by_column = '' ) { + if ( $order_by === [] && $order_by_column === Inclusive_Language_Column_Integration::INCLUSIVE_LANGUAGE_COLUMN_NAME ) { + return [ + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key -- Reason: Only used when user requests sorting. + 'meta_key' => WPSEO_Meta::$meta_prefix . 'inclusive_language_score', + 'orderby' => 'meta_value_num', + ]; + } + + return $order_by; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-taxonomy-column-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-taxonomy-column-integration.php new file mode 100644 index 00000000..b5cc79f1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/inclusive-language-taxonomy-column-integration.php @@ -0,0 +1,144 @@ +score_icon_helper = $score_icon_helper; + $this->current_page_helper = $current_page_helper; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_action( 'admin_init', [ $this, 'register_init_hooks' ] ); + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + + /** + * Register hooks that need to be registered after `init` due to all post types not yet being registered. + * + * @return void + */ + public function register_init_hooks() { + $taxonomy = $this->current_page_helper->get_current_taxonomy(); + $is_product = $this->current_page_helper->get_current_post_type() === 'product'; + $is_product_cat = $taxonomy === 'product_cat'; + $is_product_tag = $taxonomy === 'product_tag'; + + if ( ( $is_product && ( $is_product_cat || $is_product_tag ) ) || ( ! $is_product && $taxonomy ) ) { + \add_filter( 'manage_edit-' . $taxonomy . '_columns', [ $this, 'add_inclusive_language_column' ] ); + \add_filter( 'manage_' . $taxonomy . '_custom_column', [ $this, 'column_content' ], 10, 3 ); + } + } + + /** + * Enqueues the assets needed for the integration to work. + * + * @return void + */ + public function enqueue_assets() { + \wp_enqueue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'premium-post-overview' ); + } + + /** + * Adds the inclusive language column for the term overview. + * + * @param array $columns Array with columns. + * + * @return array The extended array with columns. + */ + public function add_inclusive_language_column( $columns ) { + if ( ! \is_array( $columns ) ) { + return $columns; + } + + $columns[ self::INCLUSIVE_LANGUAGE_COLUMN_NAME ] = \sprintf( + ' + + %2$s + + ', + \esc_attr__( 'Inclusive language score', 'wordpress-seo-premium' ), + \esc_html__( 'Inclusive language score', 'wordpress-seo-premium' ) + ); + + return $columns; + } + + /** + * Displays the column content for the given column. + * + * @param string $content The current content of the column. + * @param string $column_name The name of the column. + * @param int $term_id ID of requested taxonomy. + * + * @return string + */ + public function column_content( $content, $column_name, $term_id ) { + $score = (int) WPSEO_Taxonomy_Meta::get_term_meta( $term_id, $this->current_page_helper->get_current_taxonomy(), 'inclusive_language_score' ); + + if ( $column_name === self::INCLUSIVE_LANGUAGE_COLUMN_NAME ) { + return $this->score_icon_helper->for_inclusive_language( $score ); + } + + return $content; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/keyword-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/keyword-integration.php new file mode 100644 index 00000000..ce482f59 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/keyword-integration.php @@ -0,0 +1,89 @@ + [ + [ + 'key' => '_yoast_wpseo_focuskeywords', + 'value' => \sprintf( '"keyword":"%s"', $keyword ), + 'compare' => 'LIKE', + ], + ], + 'post__not_in' => [ $post_id ], + 'fields' => 'ids', + 'post_type' => 'any', + + /* + * We only need to return zero, one or two results: + * - Zero: keyword hasn't been used before + * - One: Keyword has been used once before + * - Two or more: Keyword has been used twice or more before + */ + 'posts_per_page' => 2, + ]; + $get_posts = new WP_Query( $query ); + return \array_merge( $post_ids, $get_posts->posts ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/metabox-formatter-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/metabox-formatter-integration.php new file mode 100644 index 00000000..29d6d045 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/metabox-formatter-integration.php @@ -0,0 +1,61 @@ +get_upgrade_link(); + return \array_filter( + $links, + static function ( $link ) use ( $link_to_remove ) { + return $link !== $link_to_remove; + } + ); + } + + /** + * Adds the upgrade link to the premium actions. + * + * @param string[] $links The action links. + * + * @return string[] The action link with the upgrade link added. + */ + public function add_yoast_seo_premium_action_link( $links ) { + $addon_manager = new WPSEO_Addon_Manager(); + + if ( ! $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ) ) { + \array_unshift( $links, $this->get_upgrade_link() ); + } + + return $links; + } + + /** + * Returns the upgrade link. + * + * @return string The upgrade link. + */ + protected function get_upgrade_link() { + // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch -- Reason: text is originally from Yoast SEO. + return '' . \__( 'Activate your subscription', 'wordpress-seo' ) . ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/prominent-words/indexing-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/prominent-words/indexing-integration.php new file mode 100644 index 00000000..bef533f8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/prominent-words/indexing-integration.php @@ -0,0 +1,243 @@ +language_helper = $language_helper; + $this->url_helper = $url_helper; + $this->prominent_words_helper = $prominent_words_helper; + + // Indexation actions are used to calculate the number of unindexed objects. + $this->indexing_actions = [ + // Get the number of indexables that haven't had their prominent words indexed yet. + $content_indexation_action, + + // Take posts and terms into account that do not have indexables yet. + // These need to be counted again here (in addition to being counted in Free) because them being unindexed + // means that the above prominent words unindexed count couldn't detect these posts/terms for prominent words indexing. + $post_indexation_action, + $term_indexation_action, + $general_indexation_action, + $post_type_archive_indexation_action, + ]; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ] ); + + \add_filter( 'wpseo_indexing_data', [ $this, 'adapt_indexing_data' ] ); + \add_filter( 'wpseo_indexing_get_unindexed_count', [ $this, 'get_unindexed_count' ] ); + \add_filter( 'wpseo_indexing_get_limited_unindexed_count', [ $this, 'get_limited_unindexed_count' ], 10, 2 ); + \add_filter( 'wpseo_indexing_endpoints', [ $this, 'add_endpoints' ] ); + } + + /** + * Returns the conditionals based in which this loadable should be active. + * + * @return array + */ + public static function get_conditionals() { + return [ + Admin_Conditional::class, + Migrations_Conditional::class, + ]; + } + + /** + * Retrieves the endpoints to call. + * + * @param array $endpoints The endpoints to extend. + * + * @return array The endpoints. + */ + public function add_endpoints( $endpoints ) { + $endpoints['get_content'] = Prominent_Words_Route::FULL_GET_CONTENT_ROUTE; + $endpoints['complete_words'] = Prominent_Words_Route::FULL_COMPLETE_ROUTE; + + return $endpoints; + } + + /** + * Adapts the indexing data as sent to the JavaScript side of the + * indexing process. + * + * Adds the appropriate prominent words endpoints and other settings. + * + * @param array $data The data to be adapted. + * + * @return array The adapted indexing data. + */ + public function adapt_indexing_data( $data ) { + $site_locale = \get_locale(); + $language = WPSEO_Language_Utils::get_language( $site_locale ); + + $data['locale'] = $site_locale; + $data['language'] = $language; + + $data['morphologySupported'] = $this->language_helper->is_word_form_recognition_active( $language ); + + $per_indexable_limit = self::PER_INDEXABLE_LIMIT_NO_FUNCTION_WORD_SUPPORT; + if ( $this->language_helper->has_function_word_support( $language ) ) { + $per_indexable_limit = self::PER_INDEXABLE_LIMIT; + } + + $data['prominentWords'] = [ + 'endpoint' => Prominent_Words_Route::FULL_SAVE_ROUTE, + 'perIndexableLimit' => $per_indexable_limit, + ]; + + return $data; + } + + /** + * Enqueues the required scripts. + * + * @return void + */ + public function enqueue_scripts() { + if ( ! isset( $_GET['page'] ) + || ( $_GET['page'] !== 'wpseo_tools' && $_GET['page'] !== 'wpseo_workouts' && $_GET['page'] !== 'wpseo_dashboard' ) + || ( $_GET['page'] === 'wpseo_tools' && isset( $_GET['tool'] ) ) + ) { + return; + } + + $is_completed = ( (int) $this->get_unindexed_count( 0 ) === 0 ); + $this->prominent_words_helper->set_indexing_completed( $is_completed ); + + \wp_enqueue_script( 'yoast-premium-prominent-words-indexation' ); + \wp_localize_script( 'yoast-premium-prominent-words-indexation', 'wpseoPremiumIndexationData', [ 'licensedURL' => $this->url_helper->network_safe_home_url() ] ); + } + + /** + * Returns the total number of unindexed objects. + * + * @param int $unindexed_count The unindexed count. + * + * @return int The total number of indexables to recalculate. + */ + public function get_unindexed_count( $unindexed_count ) { + foreach ( $this->indexing_actions as $indexing_action ) { + $unindexed_count += $indexing_action->get_total_unindexed(); + } + return $unindexed_count; + } + + /** + * Returns a limited number of unindexed objects. + * + * @param int $unindexed_count The unindexed count. + * @param int $limit Limit the number of unindexed objects that are counted. + * + * @return int The total number of unindexed objects. + */ + public function get_limited_unindexed_count( $unindexed_count, $limit ) { + foreach ( $this->indexing_actions as $indexing_action ) { + $unindexed_count += $indexing_action->get_limited_unindexed_count( $limit - $unindexed_count + 1 ); + if ( $unindexed_count > $limit ) { + return $unindexed_count; + } + } + + return $unindexed_count; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/prominent-words/metabox-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/prominent-words/metabox-integration.php new file mode 100644 index 00000000..8b947ea1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/prominent-words/metabox-integration.php @@ -0,0 +1,119 @@ +save_action = $save_action; + } + + /** + * Implements the register_hooks function of the Integration interface. + * + * @return void + */ + public function register_hooks() { + \add_filter( 'wpseo_metabox_entries_general', [ $this, 'add_words_for_linking_hidden_field' ] ); + \add_filter( 'update_post_metadata', [ $this, 'save_prominent_words_for_post' ], 10, 4 ); + + \add_filter( 'wpseo_taxonomy_content_fields', [ $this, 'add_words_for_linking_hidden_field' ] ); + \add_action( 'edit_term', [ $this, 'save_prominent_words_for_term' ] ); + } + + /** + * Adds a hidden field for the prominent words to the metabox. + * + * @param array $field_defs The definitions for the input fields. + * + * @return array The definitions for the input fields. + */ + public function add_words_for_linking_hidden_field( $field_defs ) { + if ( \is_array( $field_defs ) ) { + $field_defs['words_for_linking'] = [ + 'type' => 'hidden', + 'title' => 'words_for_linking', + 'label' => '', + 'options' => '', + ]; + } + + return $field_defs; + } + + /** + * Saves the value of the _yoast_wpseo_words_for_linking hidden field to the prominent_words table, not postmeta. + * Added to the 'update_post_metadata' filter. + * + * @param false|null $check Whether to allow updating metadata for the given type. + * @param int $object_id The post id. + * @param string $meta_key The key of the metadata. + * @param mixed $meta_value The value of the metadata. + * + * @return false|null Non-null value if meta data should not be updated. + * Null if the metadata should be updated as normal. + */ + public function save_prominent_words_for_post( $check, $object_id, $meta_key, $meta_value ) { + if ( $meta_key !== '_yoast_wpseo_words_for_linking' ) { + return $check; + } + + // If the save was triggered with an empty meta value, don't update the prominent words. + if ( empty( $meta_value ) ) { + return false; + } + + // 1. Decode from stringified JSON. + $words_for_linking = \json_decode( $meta_value, true ); + // 2. Save prominent words using the existing functionality. + $this->save_action->link( 'post', $object_id, $words_for_linking ); + + // 3. Return non-null value so we don't save prominent words to the `post_meta` table. + return false; + } + + /** + * Saves the prominent words for a term. + * + * @param int $term_id The term id to save the words for. + * + * @return void + */ + public function save_prominent_words_for_term( $term_id ) { + // phpcs:disable WordPress.Security.NonceVerification.Missing -- The nonce is already validated. + if ( ! isset( $_POST['wpseo_words_for_linking'] ) ) { + return; + } + + $words_for_linking = []; + if ( ! empty( $_POST['wpseo_words_for_linking'] ) ) { + $prominent_words = \sanitize_text_field( \wp_unslash( $_POST['wpseo_words_for_linking'] ) ); + // phpcs:enable + $words_for_linking = \json_decode( $prominent_words, true ); + } + + $this->save_action->link( 'term', $term_id, $words_for_linking ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/related-keyphrase-filter-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/related-keyphrase-filter-integration.php new file mode 100644 index 00000000..7729af47 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/related-keyphrase-filter-integration.php @@ -0,0 +1,66 @@ + 'OR', + $keyphrase_filter, + $this->get_related_keyphrase_filter( $keyphrase ), + ]; + } + + /** + * Returns the filter to use within the WP Meta Query to filter + * on related keyphrase. + * + * @param string $focus_keyphrase The focus keyphrase to filter on. + * + * @return array The filter. + */ + private function get_related_keyphrase_filter( $focus_keyphrase ) { + return [ + 'post_type' => \get_query_var( 'post_type', 'post' ), + 'key' => WPSEO_Meta::$meta_prefix . 'focuskeywords', + 'value' => '"keyword":"' . \sanitize_text_field( $focus_keyphrase ) . '"', + 'compare' => 'LIKE', + ]; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/replacement-variables-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/replacement-variables-integration.php new file mode 100644 index 00000000..ed3a6cf6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/replacement-variables-integration.php @@ -0,0 +1,129 @@ +load_metabox( $this->get_current_page() ) ) { + return; + } + + \wp_enqueue_script( 'yoast-seo-premium-draft-js-plugins' ); + + \wp_enqueue_style( 'yoast-seo-premium-draft-js-plugins' ); + + $draft_js_external_script_location = 'https://yoast.com/shared-assets/scripts/wp-seo-premium-draft-js-plugins-source-2.0.0.min.js'; + + if ( \file_exists( \WPSEO_PREMIUM_PATH . 'assets/js/external/draft-js-emoji-picker.min.js' ) ) { + $draft_js_external_script_location = \plugins_url( 'wordpress-seo-premium/assets/js/external/draft-js-emoji-picker.min.js' ); + } + + \wp_enqueue_script( + 'yoast-seo-premium-draft-js-plugins-external', + $draft_js_external_script_location, + [ + WPSEO_Admin_Asset_Manager::PREFIX . 'search-metadata-previews', + ], + \WPSEO_PREMIUM_VERSION, + false + ); + } + + /** + * Checks whether or not the metabox related scripts should be loaded. + * + * @codeCoverageIgnore + * + * @param string $current_page The page we are on. + * + * @return bool True when it should be loaded. + */ + protected function load_metabox( $current_page ) { + $page_helper = new Current_Page_Helper(); + // When the current page is a term related one. + if ( WPSEO_Taxonomy::is_term_edit( $current_page ) || WPSEO_Taxonomy::is_term_overview( $current_page ) ) { + return WPSEO_Options::get( 'display-metabox-tax-' . $page_helper->get_current_taxonomy() ); + } + + // When the current page isn't a post related one. + if ( WPSEO_Metabox::is_post_edit( $current_page ) || WPSEO_Metabox::is_post_overview( $current_page ) ) { + return WPSEO_Post_Type::has_metabox_enabled( $page_helper->get_current_post_type() ); + } + + // Make sure ajax integrations are loaded. + return \wp_doing_ajax(); + } + + /** + * Retrieves the value of the pagenow variable. + * + * @codeCoverageIgnore + * + * @return string The value of pagenow. + */ + private function get_current_page() { + global $pagenow; + + return $pagenow; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/settings-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/settings-integration.php new file mode 100644 index 00000000..0c761146 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/settings-integration.php @@ -0,0 +1,71 @@ +asset_manager = $asset_manager; + $this->current_page_helper = $current_page_helper; + } + + /** + * Returns the conditionals based on which this loadable should be active. + * + * @return array + */ + public static function get_conditionals() { + return [ Settings_Conditional::class ]; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + // Are we on the settings page? + if ( $this->current_page_helper->get_current_yoast_seo_page() === 'wpseo_page_settings' ) { + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + } + + /** + * Enqueues the assets. + * + * @return void + */ + public function enqueue_assets() { + $this->asset_manager->enqueue_style( 'premium-settings' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/thank-you-page-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/thank-you-page-integration.php new file mode 100644 index 00000000..9d269cec --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/thank-you-page-integration.php @@ -0,0 +1,114 @@ +options_helper = $options_helper; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_filter( 'admin_menu', [ $this, 'add_submenu_page' ], 9 ); + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + \add_action( 'admin_init', [ $this, 'maybe_redirect' ] ); + } + + /** + * Redirects to the installation success page if an installation has just occured. + * + * @return void + */ + public function maybe_redirect() { + if ( ! $this->options_helper->get( 'should_redirect_after_install' ) ) { + return; + } + $this->options_helper->set( 'should_redirect_after_install', false ); + + if ( ! empty( $this->options_helper->get( 'activation_redirect_timestamp' ) ) ) { + return; + } + $this->options_helper->set( 'activation_redirect_timestamp', \time() ); + + \wp_safe_redirect( \admin_url( 'admin.php?page=wpseo_installation_successful' ), 302, 'Yoast SEO Premium' ); + exit; + } + + /** + * Adds the workouts submenu page. + * + * @param array $submenu_pages The Yoast SEO submenu pages. + * + * @return array the filtered submenu pages. + */ + public function add_submenu_page( $submenu_pages ) { + \add_submenu_page( + '', + \__( 'Installation Successful', 'wordpress-seo-premium' ), + '', + 'manage_options', + 'wpseo_installation_successful', + [ $this, 'render_page' ] + ); + + return $submenu_pages; + } + + /** + * Enqueue assets on the Thank you page. + * + * @return void + */ + public function enqueue_assets() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Date is not processed or saved. + if ( ! isset( $_GET['page'] ) || $_GET['page'] !== 'wpseo_installation_successful' ) { + return; + } + + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_style( 'monorepo' ); + \wp_enqueue_style( 'yoast-seo-premium-thank-you' ); + } + + /** + * Renders the thank you page. + * + * @return void + */ + public function render_page() { + require \WPSEO_PREMIUM_PATH . 'classes/views/thank-you.php'; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/update-premium-notification.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/update-premium-notification.php new file mode 100644 index 00000000..a4f49214 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/update-premium-notification.php @@ -0,0 +1,177 @@ +options_helper = $options_helper; + $this->version_helper = $version_helper; + $this->capability_helper = $capability_helper; + $this->admin_asset_manager = $admin_asset_manager; + $this->current_page_helper = $current_page_helper; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_action( 'admin_notices', [ $this, 'maybe_display_notification' ] ); + \add_action( 'wp_ajax_dismiss_update_premium_notification', [ $this, 'dismiss_update_premium_notification' ] ); + } + + /** + * Shows a notice if Free is newer than the minimum required version and Premium has an update available. + * + * @return void + */ + public function maybe_display_notification() { + if ( $this->current_page_helper->get_current_admin_page() === 'update.php' ) { + return; + } + + if ( $this->notice_was_dismissed_on_current_premium_version() ) { + return; + } + + if ( ! $this->capability_helper->current_user_can( 'wpseo_manage_options' ) ) { + return; + } + + // Check whether Free is set to a version later than the minimum required and a Premium update is a available. + if ( $this->version_helper->is_free_upgraded() && $this->version_helper->is_premium_update_available() ) { + $this->admin_asset_manager->enqueue_style( 'monorepo' ); + + $is_plugins_page = $this->current_page_helper->get_current_admin_page() === 'plugins.php'; + $content = \sprintf( + /* translators: 1: Yoast SEO Premium, 2 and 3: opening and closing anchor tag. */ + \esc_html__( 'Please %2$supdate %1$s to the latest version%3$s to ensure you can fully use all Premium settings and features.', 'wordpress-seo-premium' ), + 'Yoast SEO Premium', + ( $is_plugins_page ) ? '' : '', + ( $is_plugins_page ) ? '' : '' + ); + // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped -- Output of the title escaped in the Notice_Presenter. + echo new Notice_Presenter( + /* translators: 1: Yoast SEO Premium */ + \sprintf( \__( 'Update to the latest version of %1$s!', 'wordpress-seo-premium' ), 'Yoast SEO Premium' ), + $content, + null, + null, + true, + 'yoast-update-premium-notification' + ); + // phpcs:enable + + // Enable permanently dismissing the notice. + echo ""; + } + } + + /** + * Dismisses the old premium notice. + * + * @return bool + */ + public function dismiss_update_premium_notification() { + return $this->options_helper->set( 'dismiss_update_premium_notification', \WPSEO_PREMIUM_VERSION ); + } + + /** + * Returns whether the notification was dismissed in the current Premium version. + * + * @return bool Whether the notification was dismissed in the current Premium version. + */ + protected function notice_was_dismissed_on_current_premium_version() { + $dismissed_notification_version = $this->options_helper->get( 'dismiss_update_premium_notification', '' ); + if ( ! empty( $dismissed_notification_version ) ) { + return \version_compare( $dismissed_notification_version, \WPSEO_PREMIUM_VERSION, '>=' ); + } + + return false; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/user-profile-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/user-profile-integration.php new file mode 100644 index 00000000..2e253c3f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/user-profile-integration.php @@ -0,0 +1,238 @@ +set_fields(); + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_action( 'show_user_profile', [ $this, 'user_profile' ], 5 ); + \add_action( 'edit_user_profile', [ $this, 'user_profile' ], 5 ); + + \add_action( 'personal_options_update', [ $this, 'process_user_option_update' ] ); + \add_action( 'edit_user_profile_update', [ $this, 'process_user_option_update' ] ); + } + + /** + * Returns the conditionals based in which this loadable should be active. + * + * @return array + */ + public static function get_conditionals() { + return [ Admin_Conditional::class ]; + } + + /** + * Sets the fields and their labels and descriptions. + * + * @return void + */ + private function set_fields() { + $this->fields = [ + 'basicInfo' => [ + 'label' => \__( 'Basic information', 'wordpress-seo-premium' ), + 'type' => 'group', + ], + 'honorificPrefix' => [ + 'label' => \__( 'Honorific prefix', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'E.g. %1$sDr%2$s, %1$sMs%2$s, %1$sMr%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'string', + ], + 'honorificSuffix' => [ + 'label' => \__( 'Honorific suffix', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'E.g. %1$sMD%2$s, %1$sPhD%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'string', + ], + 'birthDate' => [ + 'label' => \__( 'Birth date', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'Use format: %1$sYYYY-MM-DD%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'date', + ], + 'gender' => [ + 'label' => \__( 'Gender', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'E.g. %1$sfemale%2$s, %1$smale%2$s, %1$snon-binary%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'string', + ], + 'extraInfo' => [ + 'label' => \__( 'Extra information', 'wordpress-seo-premium' ), + 'type' => 'group', + ], + 'award' => [ + 'label' => \__( 'Awards', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'Comma separated, e.g. %1$sMost likely to succeed - 1991, Smartest in class - 1990%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'array', + ], + 'knowsAbout' => [ + 'label' => \__( 'Expertise in', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'Comma separated, e.g. %1$sPHP, JavaScript, 90\'s rock music%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'array', + ], + 'knowsLanguage' => [ + 'label' => \__( 'Language(s) spoken', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'Comma separated, e.g. %1$sEnglish, French, Dutch%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'array', + ], + 'jobInfo' => [ + 'label' => \__( 'Employer information', 'wordpress-seo-premium' ), + 'type' => 'group', + ], + 'jobTitle' => [ + 'label' => \__( 'Job title', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'E.g. %1$ssoftware engineer%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'string', + ], + 'worksFor' => [ + 'label' => \__( 'Employer name', 'wordpress-seo-premium' ), + /* translators: %1$s is replaced by ``, %2$s by ``. */ + 'description' => \sprintf( \esc_html__( 'E.g. %1$sAcme inc%2$s', 'wordpress-seo-premium' ), '', '' ), + 'type' => 'string', + ], + ]; + } + + /** + * Shows a form to add Schema fields to a user. + * + * @param WP_User $user The current page's user. + * + * @return void + */ + public function user_profile( $user ) { + \wp_nonce_field( self::NONCE_FIELD_ACTION, self::NONCE_FIELD_NAME ); + + echo '

    ', \esc_html__( 'Yoast SEO Schema enhancements', 'wordpress-seo-premium' ), '

    '; + echo '

    ', \esc_html__( 'The info you add below is added to the data Yoast SEO outputs in its schema.org output, for instance when you\'re the author of a page. Please only add the info you feel good sharing publicly.', 'wordpress-seo-premium' ), '

    '; + + $user_schema = \get_user_meta( $user->ID, 'wpseo_user_schema', true ); + + echo '
    '; + foreach ( $this->fields as $key => $field ) { + if ( $field['type'] === 'group' ) { + echo '

    ', \esc_html( $field['label'] ), '

    '; + continue; + } + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- False positive, $key is set in the code above, not by a user. + echo ''; + $val = ''; + if ( isset( $user_schema[ $key ] ) ) { + $val = $user_schema[ $key ]; + } + if ( $field['type'] === 'array' && \is_array( $val ) ) { + $val = \implode( ', ', $val ); + } + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- False positive, $key is set in the code above, not by a user. + echo ''; + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- False positive, $field['description'] is set in the code above, not by a user. + echo '

    ', $field['description'], '

    '; + } + echo '
    '; + } + + /** + * Updates the user metas that (might) have been set on the user profile page. + * + * @param int $user_id User ID of the updated user. + * + * @return void + */ + public function process_user_option_update( $user_id ) { + // I'm keeping this to conform to the original logic. + if ( ! isset( $_POST[ self::NONCE_FIELD_NAME ] ) || ! \is_string( $_POST[ self::NONCE_FIELD_NAME ] ) ) { + return; + } + + \check_admin_referer( self::NONCE_FIELD_ACTION, self::NONCE_FIELD_NAME ); + + \update_user_meta( $user_id, 'wpseo_user_schema', $this->get_posted_user_fields() ); + } + + /** + * Gets the posted user fields and sanitizes them. + * + * As we output these values straight from the database both on frontend and backend, this sanitization is quite important. + * + * @return array The posted user fields, restricted to allowed fields. + */ + private function get_posted_user_fields() { + $user_schema = []; + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce is verified in process_user_option_update. + if ( isset( $_POST['wpseo_user_schema'] ) && \is_array( $_POST['wpseo_user_schema'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce is verified in process_user_option_update. + $user_schema = \array_map( 'sanitize_text_field', \wp_unslash( $_POST['wpseo_user_schema'] ) ); + } + + foreach ( $this->fields as $key => $object ) { + switch ( $object['type'] ) { + case 'array': + $user_schema[ $key ] = \explode( ',', $user_schema[ $key ] ); + // Trim each item in the comma separated array. + foreach ( $user_schema[ $key ] as $index => $item ) { + $user_schema[ $key ][ $index ] = \trim( $item ); + } + // Remove empty items. + $user_schema[ $key ] = \array_filter( $user_schema[ $key ] ); + + if ( $user_schema[ $key ] === [] || $user_schema[ $key ][0] === '' ) { + unset( $user_schema[ $key ] ); + } + break; + case 'date': + $date = \explode( '-', $user_schema[ $key ] ); + if ( \count( $date ) !== 3 || ! \checkdate( (int) $date[1], (int) $date[2], (int) $date[0] ) ) { + unset( $user_schema[ $key ] ); + } + break; + default: + if ( empty( $user_schema[ $key ] ) ) { + unset( $user_schema[ $key ] ); + } + // Nothing further to be done for strings. + break; + } + } + + return $user_schema; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/workouts-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/workouts-integration.php new file mode 100644 index 00000000..05b021ab --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/admin/workouts-integration.php @@ -0,0 +1,182 @@ +indexable_repository = $indexable_repository; + $this->shortlinker = $shortlinker; + $this->options_helper = $options_helper; + $this->prominent_words_helper = $prominent_words_helper; + $this->post_type_helper = $post_type_helper; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + + /** + * Enqueue the workouts app. + * + * @return void + */ + public function enqueue_assets() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Date is not processed or saved. + if ( ! isset( $_GET['page'] ) || $_GET['page'] !== 'wpseo_workouts' ) { + return; + } + + $workouts_option = $this->options_helper->get( 'workouts' ); + + $indexable_ids_in_workouts = [ 0 ]; + if ( isset( $workouts_option['orphaned']['indexablesByStep'] ) + && \is_array( $workouts_option['orphaned']['indexablesByStep'] ) + && isset( $workouts_option['cornerstone']['indexablesByStep'] ) + && \is_array( $workouts_option['cornerstone']['indexablesByStep'] ) + ) { + foreach ( [ 'orphaned', 'cornerstone' ] as $workout ) { + foreach ( $workouts_option[ $workout ]['indexablesByStep'] as $step => $indexables ) { + if ( $step === 'removed' ) { + continue; + } + foreach ( $indexables as $indexable_id ) { + $indexable_ids_in_workouts[] = $indexable_id; + } + } + } + } + + $orphaned = $this->get_orphaned( $indexable_ids_in_workouts ); + + $premium_localization = new WPSEO_Premium_Asset_JS_L10n(); + $premium_localization->localize_script( 'yoast-seo-premium-workouts' ); + \wp_enqueue_script( 'yoast-seo-premium-workouts' ); + \wp_localize_script( + 'yoast-seo-premium-workouts', + 'wpseoPremiumWorkoutsData', + [ + 'cornerstoneGuide' => $this->shortlinker->build_shortlink( 'https://yoa.st/4el' ), + 'orphanedGuide' => $this->shortlinker->build_shortlink( 'https://yoa.st/4fa' ), + 'orphanedUpdateContent' => $this->shortlinker->build_shortlink( 'https://yoa.st/4h9' ), + 'cornerstoneOn' => $this->options_helper->get( 'enable_cornerstone_content' ), + 'seoDataOptimizationNeeded' => ! $this->prominent_words_helper->is_indexing_completed(), + 'orphaned' => $orphaned, + ] + ); + } + + /** + * Retrieves the public indexable sub types. + * + * @return array The sub types. + */ + protected function get_public_sub_types() { + $object_sub_types = \array_values( + \array_merge( + $this->post_type_helper->get_public_post_types(), + \get_taxonomies( [ 'public' => true ] ) + ) + ); + + $excluded_post_types = \apply_filters( 'wpseo_indexable_excluded_post_types', [ 'attachment' ] ); + $object_sub_types = \array_diff( $object_sub_types, $excluded_post_types ); + return $object_sub_types; + } + + /** + * Gets the orphaned indexables. + * + * @param array $indexable_ids_in_orphaned_workout The orphaned indexable ids. + * @param int $limit The limit. + * + * @return array The orphaned indexables. + */ + protected function get_orphaned( array $indexable_ids_in_orphaned_workout, $limit = 10 ) { + $orphaned = $this->indexable_repository->query() + ->where_raw( '( incoming_link_count is NULL OR incoming_link_count < 3 )' ) + ->where_raw( '( post_status = \'publish\' OR post_status IS NULL )' ) + ->where_raw( '( is_robots_noindex = FALSE OR is_robots_noindex IS NULL )' ) + ->where_raw( 'NOT ( object_sub_type = \'page\' AND permalink = %s )', [ \home_url( '/' ) ] ) + ->where_in( 'object_sub_type', $this->get_public_sub_types() ) + ->where_in( 'object_type', [ 'post' ] ) + ->where_not_in( 'id', $indexable_ids_in_orphaned_workout ) + ->order_by_asc( 'created_at' ) + ->limit( $limit ) + ->find_many(); + $orphaned = \array_map( [ $this->indexable_repository, 'ensure_permalink' ], $orphaned ); + return $orphaned; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/alerts/ai-generator-tip-notification.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/alerts/ai-generator-tip-notification.php new file mode 100644 index 00000000..8f1cb9f5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/alerts/ai-generator-tip-notification.php @@ -0,0 +1,20 @@ +'; + + /** + * The editor script for the block. + * + * @var string + */ + protected $script = 'wp-seo-premium-dynamic-blocks'; + + /** + * Registers the block. + * + * @return void + */ + public function register_block() { + \register_block_type( + 'yoast-seo/' . $this->block_name, + [ + 'editor_script' => $this->script, + 'render_callback' => [ $this, 'present' ], + 'attributes' => [ + 'className' => [ + 'default' => '', + 'type' => 'string', + ], + 'estimatedReadingTime' => [ + 'type' => 'number', + 'default' => 0, + ], + 'descriptiveText' => [ + 'type' => 'string', + 'default' => \__( 'Estimated reading time:', 'wordpress-seo-premium' ) . ' ', + ], + 'showDescriptiveText' => [ + 'type' => 'boolean', + 'default' => true, + ], + 'showIcon' => [ + 'type' => 'boolean', + 'default' => true, + ], + ], + ] + ); + } + + /** + * Presents the block output. + * + * @param array $attributes The block attributes. + * @param string $content The content. + * + * @return string The block output. + */ + public function present( $attributes, $content = '' ) { + + $content = \preg_replace( + '/.*<\/span>/', + ' ' . \sprintf( \_n( 'minute', 'minutes', $attributes['estimatedReadingTime'], 'wordpress-seo-premium' ), $attributes['estimatedReadingTime'] ) . '', + $content, + 1 + ); + if ( $attributes['showIcon'] ) { + // Replace 15.7 icon placeholder. + $content = \preg_replace( + '/ICON_PLACEHOLDER/', + $this->clock_icon, + $content, + 1 + ); + + // Replace the 15.8+ icon placeholder. + return \preg_replace( + '/<\/span>/', + $this->clock_icon, + $content, + 1 + ); + } + + return $content; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/blocks/related-links-block.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/blocks/related-links-block.php new file mode 100644 index 00000000..7eef61f9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/blocks/related-links-block.php @@ -0,0 +1,25 @@ + 'wp-seo-premium-blocks' ] ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/cleanup-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/cleanup-integration.php new file mode 100644 index 00000000..1d0c2599 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/cleanup-integration.php @@ -0,0 +1,255 @@ +indexable_cleanup_repository = $indexable_cleanup_repository; + } + + /** + * Returns the conditionals based in which this loadable should be active. + * + * @return array The array of conditionals. + */ + public static function get_conditionals() { + return []; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_filter( 'wpseo_cleanup_tasks', [ $this, 'add_cleanup_tasks' ] ); + \add_action( 'wpseo_add_cleanup_counts_to_indexable_bucket', [ $this, 'add_cleanup_counts' ] ); + } + + /** + * Adds cleanup tasks for the cleanup integration. + * + * @param array $tasks Array of tasks to be added. + * + * @return array An associative array of tasks to be added to the cleanup integration. + */ + public function add_cleanup_tasks( $tasks ) { + return \array_merge( + $tasks, + [ + 'clean_orphaned_indexables_prominent_words' => function ( $limit ) { + return $this->cleanup_orphaned_from_table( 'Prominent_Words', 'indexable_id', $limit ); + }, + 'clean_old_prominent_word_entries' => function ( $limit ) { + return $this->cleanup_old_prominent_words( $limit ); + }, + 'clean_old_prominent_word_version_numbers' => function ( $limit ) { + return $this->cleanup_old_prominent_word_version_numbers( $limit ); + }, + ] + ); + } + + /** + * Adds cleanup counts to the data bucket object. + * + * @param To_Be_Cleaned_Indexable_Bucket $to_be_cleaned_indexable_bucket The bucket with current indexable count data. + * + * @return void + */ + public function add_cleanup_counts( To_Be_Cleaned_Indexable_Bucket $to_be_cleaned_indexable_bucket ): void { + $to_be_cleaned_indexable_bucket->add_to_be_cleaned_indexable_count( new To_Be_Cleaned_Indexable_Count( 'orphaned_indexables_prominent_words', $this->indexable_cleanup_repository->count_orphaned_from_table( 'Prominent_Words', 'indexable_id' ) ) ); + $to_be_cleaned_indexable_bucket->add_to_be_cleaned_indexable_count( new To_Be_Cleaned_Indexable_Count( 'orphaned_prominent_word_entries', $this->count_old_prominent_words() ) ); + $to_be_cleaned_indexable_bucket->add_to_be_cleaned_indexable_count( new To_Be_Cleaned_Indexable_Count( 'orphaned_prominent_word_version_numbers', $this->count_old_prominent_word_version_numbers() ) ); + } + + /** + * Cleans orphaned rows from a yoast table. + * + * @param string $table The table to cleanup. + * @param string $column The table column the cleanup will rely on. + * @param int $limit The limit we'll apply to the queries. + * + * @return int The number of deleted rows. + */ + public function cleanup_orphaned_from_table( $table, $column, $limit ) { + global $wpdb; + + $table = Model::get_table_name( $table ); + $indexable_table = Model::get_table_name( 'Indexable' ); + + // Warning: If this query is changed, make sure to update the query in cleanup_orphaned_from_table in Free as well. + // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- Reason: There is no unescaped user input. + $query = $wpdb->prepare( + " + SELECT table_to_clean.{$column} + FROM {$table} table_to_clean + LEFT JOIN {$indexable_table} AS indexable_table + ON table_to_clean.{$column} = indexable_table.id + WHERE indexable_table.id IS NULL + AND table_to_clean.{$column} IS NOT NULL + LIMIT %d", + $limit + ); + // phpcs:enable + + // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared,WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: Already prepared. + $orphans = $wpdb->get_col( $query ); + + if ( empty( $orphans ) ) { + return 0; + } + + // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared,WordPress.DB.PreparedSQL.NotPrepared,WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: Already prepared. + return \intval( $wpdb->query( "DELETE FROM $table WHERE {$column} IN( " . \implode( ',', $orphans ) . ' ) ' ) ); + } + + /** + * Cleans up old style prominent words from the database. + * + * @param int $limit The maximum amount of old prominent words to clean up in one go. Defaults to 1000. + * + * @return int The number of deleted rows. + */ + public function cleanup_old_prominent_words( $limit = 1000 ) { + global $wpdb; + + $taxonomy_ids = $this->retrieve_prominent_word_taxonomies( $wpdb, $limit ); + + if ( \count( $taxonomy_ids ) === 0 ) { + return 0; + } + + $nr_of_deleted_rows = $this->delete_prominent_word_taxonomies_and_terms( $wpdb, $taxonomy_ids ); + + if ( $nr_of_deleted_rows === false ) { + // Failed query. + return 0; + } + + return $nr_of_deleted_rows; + } + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching + + /** + * Count up old style prominent words from the database. + * + * @return int The number of old prominent word rows. + */ + public function count_old_prominent_words() { + global $wpdb; + + $query = $wpdb->prepare( + "SELECT count(term_taxonomy_id) FROM {$wpdb->term_taxonomy} WHERE taxonomy = %s", + [ 'yst_prominent_words' ] + ); + + // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared,WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: Already prepared. + return $wpdb->get_col( $query )[0]; + } + + /** + * Retrieve a list of prominent word taxonomy IDs. + * + * @param wpdb $wpdb The WordPress database object. + * @param int $limit The maximum amount of prominent word taxonomies to retrieve. + * + * @return string[] A list of prominent word taxonomy IDs (of size 'limit'). + */ + protected function retrieve_prominent_word_taxonomies( $wpdb, $limit ) { + return $wpdb->get_col( + $wpdb->prepare( + "SELECT term_taxonomy_id FROM {$wpdb->term_taxonomy} WHERE taxonomy = %s LIMIT %d", + [ 'yst_prominent_words', $limit ] + ) + ); + } + + /** + * Deletes the given list of taxonomies and their terms. + * + * @param wpdb $wpdb The WordPress database object. + * @param string[] $taxonomy_ids The IDs of the taxonomies to remove and their corresponding terms. + * + * @return bool|int `false` if the query failed, the amount of rows deleted otherwise. + */ + protected function delete_prominent_word_taxonomies_and_terms( $wpdb, $taxonomy_ids ) { + return $wpdb->query( + $wpdb->prepare( + "DELETE t, tr, tt FROM {$wpdb->term_taxonomy} tt + LEFT JOIN {$wpdb->terms} t ON tt.term_id = t.term_id + LEFT JOIN {$wpdb->term_relationships} tr ON tt.term_taxonomy_id = tr.term_taxonomy_id + WHERE tt.term_taxonomy_id IN ( " . \implode( ', ', \array_fill( 0, \count( $taxonomy_ids ), '%s' ) ) . ' )', + $taxonomy_ids + ) + ); + } + + /** + * Cleans up the old prominent word versions from the postmeta table in the database. + * + * @param int $limit The maximum number of prominent word version numbers to clean in one go. + * + * @return bool|int The number of cleaned up prominent word version numbers, or `false` if the query failed. + */ + protected function cleanup_old_prominent_word_version_numbers( $limit ) { + global $wpdb; + + // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- Reason: There is no unescaped user input. + $query = $wpdb->prepare( + "DELETE FROM {$wpdb->postmeta} WHERE meta_key = %s LIMIT %d", + [ '_yst_prominent_words_version', $limit ] + ); + // phpcs:enable + + // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared,WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: Already prepared. + return $wpdb->query( $query ); + } + + /** + * Counts up the old prominent word versions from the postmeta table in the database. + * + * @return bool|int The number of prominent word version numbers. + */ + protected function count_old_prominent_word_version_numbers() { + global $wpdb; + + // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- Reason: There is no unescaped user input. + $query = $wpdb->prepare( + "SELECT count(*) FROM {$wpdb->postmeta} WHERE meta_key = %s", + [ '_yst_prominent_words_version' ] + ); + // phpcs:enable + + // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared,WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: Already prepared. + return $wpdb->get_col( $query )[0]; + } + + // phpcs:enable +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/front-end/robots-txt-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/front-end/robots-txt-integration.php new file mode 100644 index 00000000..9b0d3ede --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/front-end/robots-txt-integration.php @@ -0,0 +1,95 @@ +options_helper = $options_helper; + } + + /** + * Returns the conditionals based in which this loadable should be active. + * + * @return array + */ + public static function get_conditionals() { + return [ Robots_Txt_Conditional::class ]; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + if ( \is_multisite() ) { + return; + } + + if ( $this->options_helper->get( 'deny_ccbot_crawling' ) ) { + \add_action( 'Yoast\WP\SEO\register_robots_rules', [ $this, 'add_disallow_ccbot' ], 10, 1 ); + } + if ( $this->options_helper->get( 'deny_google_extended_crawling' ) ) { + \add_action( 'Yoast\WP\SEO\register_robots_rules', [ $this, 'add_disallow_google_extended_bot' ], 10, 1 ); + } + if ( $this->options_helper->get( 'deny_gptbot_crawling' ) ) { + \add_action( 'Yoast\WP\SEO\register_robots_rules', [ $this, 'add_disallow_gptbot' ], 10, 1 ); + } + } + + /** + * Add a disallow rule for Common Crawl CCBot agents to `robots.txt`. + * + * @param Robots_Txt_Helper $robots_txt_helper The Robots_Txt_Helper. + * + * @return void + */ + public function add_disallow_ccbot( Robots_Txt_Helper $robots_txt_helper ) { + $robots_txt_helper->add_disallow( 'CCBot', '/' ); + } + + /** + * Add a disallow rule for Google-Extended agents to `robots.txt`. + * + * @param Robots_Txt_Helper $robots_txt_helper The Robots_Txt_Helper. + * + * @return void + */ + public function add_disallow_google_extended_bot( Robots_Txt_Helper $robots_txt_helper ) { + $robots_txt_helper->add_disallow( 'Google-Extended', '/' ); + } + + /** + * Add a disallow rule for OpenAI GPTBot agents to `robots.txt`. + * + * @param Robots_Txt_Helper $robots_txt_helper The Robots_Txt_Helper. + * + * @return void + */ + public function add_disallow_gptbot( Robots_Txt_Helper $robots_txt_helper ) { + $robots_txt_helper->add_disallow( 'GPTBot', '/' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/frontend-inspector.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/frontend-inspector.php new file mode 100644 index 00000000..6fcd9b38 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/frontend-inspector.php @@ -0,0 +1,153 @@ +robots_helper = $robots_helper; + } + + /** + * {@inheritDoc} + */ + public static function get_conditionals() { + return [ Front_End_Conditional::class ]; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_assets' ], 11 ); + \add_action( 'wpseo_add_adminbar_submenu', [ $this, 'add_frontend_inspector_submenu' ], 10, 2 ); + } + + /** + * Adds the frontend inspector submenu. + * + * @param WP_Admin_Bar $wp_admin_bar The admin bar. + * @param string $menu_identifier The menu identifier. + * + * @return void + */ + public function add_frontend_inspector_submenu( WP_Admin_Bar $wp_admin_bar, $menu_identifier ) { + if ( ! \is_admin() ) { + $menu_args = [ + 'parent' => $menu_identifier, + 'id' => self::FRONTEND_INSPECTOR_SUBMENU_IDENTIFIER, + 'title' => \sprintf( + '%1$s %2$s', + \__( 'Front-end SEO inspector', 'wordpress-seo-premium' ), + \__( 'Beta', 'wordpress-seo-premium' ) + ), + 'href' => '#wpseo-frontend-inspector', + 'meta' => [ + 'tabindex' => '0', + ], + ]; + $wp_admin_bar->add_menu( $menu_args ); + } + } + + /** + * Enqueue the workouts app. + * + * @return void + */ + public function enqueue_assets() { + if ( ! \is_admin_bar_showing() || ! WPSEO_Options::get( 'enable_admin_bar_menu' ) ) { + return; + } + + // If the current user can't write posts, this is all of no use, so let's not output an admin menu. + if ( ! \current_user_can( 'edit_posts' ) ) { + return; + } + + $analysis_seo = new WPSEO_Metabox_Analysis_SEO(); + $analysis_readability = new WPSEO_Metabox_Analysis_Readability(); + $current_page_meta = \YoastSEO()->meta->for_current_page(); + $indexable = $current_page_meta->indexable; + $page_type = $current_page_meta->page_type; + + $is_seo_analysis_active = $analysis_seo->is_enabled(); + $is_readability_analysis_active = $analysis_readability->is_enabled(); + $display_metabox = true; + + switch ( $page_type ) { + case 'Home_Page': + case 'Post_Type_Archive': + case 'Date_Archive': + case 'Error_Page': + case 'Fallback': + case 'Search_Result_Page': + break; + case 'Static_Home_Page': + case 'Static_Posts_Page': + case 'Post_Type': + $display_metabox = WPSEO_Options::get( 'display-metabox-pt-' . $indexable->object_sub_type ); + break; + case 'Term_Archive': + $display_metabox = WPSEO_Options::get( 'display-metabox-tax-' . $indexable->object_sub_type ); + break; + case 'Author_Archive': + $display_metabox = false; + break; + } + + if ( ! $display_metabox ) { + $is_seo_analysis_active = false; + $is_readability_analysis_active = false; + } + + \wp_enqueue_script( 'yoast-seo-premium-frontend-inspector' ); + \wp_localize_script( + 'yoast-seo-premium-frontend-inspector', + 'wpseoScriptData', + [ + 'frontendInspector' => [ + 'isIndexable' => $this->robots_helper->is_indexable( $indexable ), + 'indexable' => [ + 'is_robots_noindex' => $indexable->is_robots_noindex, + 'primary_focus_keyword' => $indexable->primary_focus_keyword, + 'primary_focus_keyword_score' => $indexable->primary_focus_keyword_score, + 'readability_score' => $indexable->readability_score, + ], + 'contentAnalysisActive' => $is_readability_analysis_active, + 'keywordAnalysisActive' => $is_seo_analysis_active, + ], + ] + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/index-now-ping.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/index-now-ping.php new file mode 100644 index 00000000..0b96aa42 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/index-now-ping.php @@ -0,0 +1,191 @@ +options_helper = $options_helper; + $this->request_helper = $request_helper; + $this->post_type_helper = $post_type_helper; + + /** + * Filter: 'Yoast\WP\SEO\indexnow_endpoint' - Allow changing the Indexnow endpoint. + * + * Note: This is a Premium plugin-only hook. + * + * @since 18.8 + * + * @param string $endpoint The IndexNow endpoint URL. + */ + $this->endpoint = \apply_filters( 'Yoast\WP\SEO\indexnow_endpoint', 'https://api.indexnow.org/indexnow' ); + } + + /** + * Registers the hooks this integration acts on. + * + * @return void + */ + public function register_hooks() { + if ( $this->options_helper->get( 'enable_index_now' ) === false ) { + return; + } + + if ( \wp_get_environment_type() !== 'production' ) { + return; + } + + /** + * Please note that the name transition_post_status is misleading. + * The hook does not only fire on a post status transition but also when a post is updated + * while the status is not changed from one to another at all. + */ + \add_action( 'transition_post_status', [ $this, 'ping_index_now' ], 10, 3 ); + } + + /** + * Pings IndexNow for changes. + * + * @param string $new_status The new status for the post. + * @param string $old_status The old status for the post. + * @param WP_Post $post The post. + * + * @return void + */ + public function ping_index_now( $new_status, $old_status, $post ) { + if ( $new_status !== 'publish' && $old_status !== 'publish' ) { + // If we're not transitioning to or from a published status, do nothing. + return; + } + + // The block editor saves published posts twice, we want to ping only on the first request. + if ( $new_status === 'publish' && $this->request_helper->is_rest_request() ) { + return; + } + + if ( ! $post instanceof WP_Post ) { + return; + } + + if ( ! \in_array( $post->post_type, $this->post_type_helper->get_accessible_post_types(), true ) + || ! $this->post_type_helper->is_indexable( $post->post_type ) ) { + return; + } + + // Bail out if last ping was less than two minutes ago. + $indexnow_last_ping = \get_post_meta( $post->ID, '_yoast_indexnow_last_ping', true ); + if ( \is_numeric( $indexnow_last_ping ) && \abs( \time() - ( (int) $indexnow_last_ping ) ) < 120 ) { + return; + } + + $key = $this->options_helper->get( 'index_now_key' ); + $permalink = $this->get_permalink( $post ); + $urls = [ $permalink ]; + + if ( $post->post_type === 'post' ) { + $urls[] = \get_home_url(); + } + + if ( ! empty( \get_option( 'permalink_structure' ) ) ) { + $key_location = \trailingslashit( \get_home_url() ) . 'yoast-index-now-' . $key . '.txt'; + } + else { + $key_location = \add_query_arg( 'yoast_index_now_key', $key, \trailingslashit( \get_home_url() ) ); + } + + $content = (object) [ + 'host' => \wp_parse_url( \get_home_url(), \PHP_URL_HOST ), + 'key' => $key, + 'keyLocation' => $key_location, + 'urlList' => $urls, + ]; + + // Set a 'content-type' header of 'application/json' and an identifying source header. + // The "false" on the end of the x-source-info header determines whether this is a manual submission or not. + $request_args = [ + 'headers' => [ + 'content-type' => 'application/json; charset=utf-8', + 'x-source-info' => 'https://yoast.com/wordpress/plugins/seo-premium/' . \WPSEO_PREMIUM_VERSION . '/false', + ], + ]; + + $request = new WPSEO_Remote_Request( $this->endpoint, $request_args ); + // phpcs:ignore Yoast.Yoast.JsonEncodeAlternative.Found -- This is being sent to an API, not displayed. + $request->set_body( \wp_json_encode( $content ) ); + $request->send(); + + \update_post_meta( $post->ID, '_yoast_indexnow_last_ping', \time() ); + } + + /** + * Determines the (former) permalink for a post. + * + * @param WP_Post $post Post object. + * + * @return string Permalink. + */ + private function get_permalink( WP_Post $post ) { + if ( \in_array( $post->post_status, [ 'trash', 'draft', 'pending', 'future' ], true ) ) { + if ( $post->post_status === 'trash' ) { + // Fix the post_name. + $post->post_name = \preg_replace( '/__trashed$/', '', $post->post_name ); + } + // Force post_status to publish briefly, so we get the correct URL. + $post->post_status = 'publish'; + } + + return \get_permalink( $post ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/missing-indexables-count-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/missing-indexables-count-integration.php new file mode 100644 index 00000000..576278a0 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/missing-indexables-count-integration.php @@ -0,0 +1,54 @@ +content_action = $content_action; + } + + /** + * Registers hooks with WordPress. + * + * @return void + */ + public function register_hooks() { + \add_filter( 'wpseo_indexable_collector_add_indexation_actions', [ $this, 'add_index_action' ] ); + } + + /** + * Adds the Content_Action to the indexable collector. + * + * @param array $indexation_actions The current indexation actions. + * @return array + */ + public function add_index_action( $indexation_actions ) { + $indexation_actions[] = $this->content_action; + return $indexation_actions; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/opengraph-author-archive.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/opengraph-author-archive.php new file mode 100644 index 00000000..afbc0b60 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/opengraph-author-archive.php @@ -0,0 +1,51 @@ + 'description', + 'org-email' => 'email', + 'org-phone' => 'telephone', + 'org-legal-name' => 'legalName', + 'org-founding-date' => 'foundingDate', + 'org-number-employees' => 'numberOfEmployees', + 'org-vat-id' => 'vatID', + 'org-tax-id' => 'taxID', + 'org-iso' => 'iso6523Code', + 'org-duns' => 'duns', + 'org-leicode' => 'leiCode', + 'org-naics' => 'naics', + ]; + + /** + * The options helper. + * + * @var Options_Helper + */ + private $options_helper; + + /** + * Returns the conditionals based on which this loadable should be active. + * + * @return array The conditionals to check. + */ + public static function get_conditionals() { + return [ Front_End_Conditional::class ]; + } + + /** + * Organization_Schema_Integration constructor. + * + * @param Options_Helper $options_helper The options helper. + */ + public function __construct( + Options_Helper $options_helper + ) { + $this->options_helper = $options_helper; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_filter( 'wpseo_schema_organization', [ $this, 'filter_organization_schema' ] ); + } + + /** + * Filters the organization schema. + * + * @param array> $profiles The organization schema data. + * @return array> The filtered organization schema data. + */ + public function filter_organization_schema( $profiles ) { + $options = []; + $exclude = [ 'org-number-employees' ]; + if ( \defined( 'WPSEO_LOCAL_FILE' ) ) { + \array_push( $exclude, 'org-vat-id', 'org-tax-id', 'org-phone', 'org-email' ); + } + foreach ( self::ORGANIZATION_DETAILS_MAPPING as $option_name => $schema_name ) { + $options[ $option_name ] = $this->options_helper->get( $option_name ); + if ( $options[ $option_name ] && ! \in_array( $option_name, $exclude, true ) ) { + $profiles[ $schema_name ] = $options[ $option_name ]; + } + } + + $profiles = $this->add_employees_number( $profiles, $options['org-number-employees'] ); + + return $profiles; + } + + /** + * Adds employees number to the organization schema tree. + * + * @param array> $profiles The organization schema tree. + * @param array> $employees The option for employees number. + * @return array> The modified organization schema tree. + */ + public function add_employees_number( $profiles, $employees ) { + if ( ! $employees ) { + return $profiles; + } + + $profiles['numberOfEmployees'] = [ + '@type' => 'QuantitativeValue', + ]; + + $range = \explode( '-', $employees ); + + if ( \count( $range ) === 2 ) { + $profiles['numberOfEmployees']['minValue'] = $range[0]; + $profiles['numberOfEmployees']['maxValue'] = $range[1]; + } + else { + $profiles['numberOfEmployees']['value'] = $employees; + } + + return $profiles; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/publishing-principles-schema-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/publishing-principles-schema-integration.php new file mode 100644 index 00000000..0bc2d9cc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/publishing-principles-schema-integration.php @@ -0,0 +1,199 @@ +options_helper = $options_helper; + $this->indexable_repository = $indexable_repository; + $this->indexable_helper = $indexable_helper; + $this->post_type_helper = $post_type_helper; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_filter( 'wpseo_schema_organization', [ $this, 'filter_organization_schema' ] ); + } + + /** + * Make sure the Organization policies are added to the schema output. + * + * @param array $data The organization schema. + * + * @return array + */ + public function filter_organization_schema( $data ) { + $policy_indexables = $this->get_indexables_for_publishing_principle_pages( + self::PRINCIPLES_MAPPING + ); + + foreach ( $policy_indexables as $policy_data ) { + $data = $this->add_schema_piece( $data, $policy_data ); + } + + return $data; + } + + /** + * Adds the data to the schema array. + * + * @param array $schema_graph The current schema graph. + * @param array $policy_data The data present for a policy. + * + * @return array The new schema graph. + */ + private function add_schema_piece( $schema_graph, $policy_data ): array { + if ( ! \is_null( $policy_data['permalink'] ) ) { + $schema_graph[ $policy_data['schema'] ] = $policy_data['permalink']; + } + + return $schema_graph; + } + + /** + * Finds the indexables for all the given principles if they are set. + * + * @param array $principles_data The data for all the principles. + * + * @return array + */ + private function get_indexables_for_publishing_principle_pages( $principles_data ): array { + $principle_ids = []; + $policies = []; + $ids = []; + foreach ( $principles_data as $principle ) { + $option_value = $this->options_helper->get( $principle[0], false ); + if ( $option_value ) { + $principle_ids[ $principle[0] ] = [ + 'value' => $option_value, + 'schema' => $principle[1], + ]; + $ids[] = $option_value; + } + } + + if ( \count( $ids ) === 0 ) { + // Early return to not run an empty query. + return []; + } + + if ( $this->indexable_helper->should_index_indexables() && $this->post_type_helper->is_of_indexable_post_type( 'page' ) ) { + $indexables = $this->indexable_repository->find_by_multiple_ids_and_type( \array_unique( $ids ), 'post' ); + + foreach ( $principle_ids as $key => $principle_id ) { + foreach ( $indexables as $indexable ) { + if ( $indexable && $principle_id['value'] === $indexable->object_id ) { + if ( $indexable->post_status === 'publish' && $indexable->is_protected === false ) { + $policies[ $key ] = [ + 'permalink' => $indexable->permalink, + 'schema' => $principle_id['schema'], + ]; + } + break; + } + } + } + + return $policies; + } + + foreach ( $principle_ids as $key => $principle_id ) { + foreach ( $ids as $post_id ) { + $post = \get_post( (int) $post_id ); + if ( \is_object( $post ) ) { + if ( (int) $principle_id['value'] === (int) $post_id && \get_post_status( $post_id ) === 'publish' && $post->post_password === '' ) { + $policies[ $key ] = [ + 'permalink' => \get_permalink( $post_id ), + 'schema' => $principle_id['schema'], + ]; + break; + } + } + } + } + + return $policies; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/routes/ai-generator-route.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/routes/ai-generator-route.php new file mode 100644 index 00000000..93cfc9a4 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/routes/ai-generator-route.php @@ -0,0 +1,316 @@ +ai_generator_action = $ai_generator_action; + $this->ai_generator_helper = $ai_generator_helper; + } + + /** + * Registers routes with WordPress. + * + * @return void + */ + public function register_routes() { + \register_rest_route( + Main::API_V1_NAMESPACE, + self::CONSENT_ROUTE, + [ + 'methods' => 'POST', + 'args' => [ + 'consent' => [ + 'required' => true, + 'type' => 'boolean', + 'description' => 'Whether the consent to use AI-based services has been given by the user.', + ], + ], + 'callback' => [ $this, 'consent' ], + 'permission_callback' => [ $this, 'check_permissions' ], + ] + ); + + // Avoid registering the other routes if the feature is not enabled. + if ( ! $this->ai_generator_helper->is_ai_generator_enabled() ) { + return; + } + + $callback_route_args = [ + 'methods' => 'POST', + 'args' => [ + 'access_jwt' => [ + 'required' => true, + 'type' => 'string', + 'description' => 'The access JWT.', + ], + 'refresh_jwt' => [ + 'required' => true, + 'type' => 'string', + 'description' => 'The JWT to be used when the access JWT needs to be refreshed.', + ], + 'code_challenge' => [ + 'required' => true, + 'type' => 'string', + 'description' => 'The SHA266 of the verification code used to check the authenticity of a callback call.', + ], + 'user_id' => [ + 'required' => true, + 'type' => 'integer', + 'description' => 'The id of the user associated to the code verifier.', + ], + ], + 'callback' => [ $this, 'callback' ], + 'permission_callback' => '__return_true', + ]; + \register_rest_route( Main::API_V1_NAMESPACE, self::CALLBACK_ROUTE, $callback_route_args ); + \register_rest_route( Main::API_V1_NAMESPACE, self::REFRESH_CALLBACK_ROUTE, $callback_route_args ); + + \register_rest_route( + Main::API_V1_NAMESPACE, + self::GET_SUGGESTIONS_ROUTE, + [ + 'methods' => 'POST', + 'args' => [ + 'type' => [ + 'required' => true, + 'type' => 'string', + 'enum' => [ + 'seo-title', + 'meta-description', + 'product-seo-title', + 'product-meta-description', + 'taxonomy-seo-title', + 'taxonomy-meta-description', + ], + 'description' => 'The type of suggestion requested.', + ], + 'prompt_content' => [ + 'required' => true, + 'type' => 'string', + 'description' => 'The content needed by the prompt to ask for suggestions.', + ], + 'focus_keyphrase' => [ + 'required' => true, + 'type' => 'string', + 'description' => 'The focus keyphrase associated to the post.', + ], + 'language' => [ + 'required' => true, + 'type' => 'string', + 'description' => 'The language the post is written in.', + ], + 'platform' => [ + 'required' => true, + 'type' => 'string', + 'enum' => [ + 'Google', + 'Facebook', + 'Twitter', + ], + 'description' => 'The platform the post is intended for.', + ], + ], + 'callback' => [ $this, 'get_suggestions' ], + 'permission_callback' => [ $this, 'check_permissions' ], + ] + ); + + \register_rest_route( + Main::API_V1_NAMESPACE, + self::BUST_SUBSCRIPTION_CACHE_ROUTE, + [ + 'methods' => 'POST', + 'args' => [], + 'callback' => [ $this, 'bust_subscription_cache' ], + 'permission_callback' => [ $this, 'check_permissions' ], + ] + ); + } + + /** + * Runs the callback to store connection credentials and the tokens locally. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response The response of the callback action. + */ + public function callback( WP_REST_Request $request ) { + try { + $code_verifier = $this->ai_generator_action->callback( $request['access_jwt'], $request['refresh_jwt'], $request['code_challenge'], $request['user_id'] ); + } catch ( Unauthorized_Exception $e ) { + return new WP_REST_Response( 'Unauthorized.', 401 ); + } + + return new WP_REST_Response( + [ + 'message' => 'Tokens successfully stored.', + 'code_verifier' => $code_verifier, + ] + ); + } + + /** + * Runs the callback to get ai-generated suggestions. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response The response of the get_suggestions action. + */ + public function get_suggestions( WP_REST_Request $request ) { + try { + $user = \wp_get_current_user(); + $data = $this->ai_generator_action->get_suggestions( $user, $request['type'], $request['prompt_content'], $request['focus_keyphrase'], $request['language'], $request['platform'] ); + } catch ( Remote_Request_Exception $e ) { + $message = [ + 'message' => $e->getMessage(), + 'errorIdentifier' => $e->get_error_identifier(), + ]; + if ( $e instanceof Payment_Required_Exception ) { + $message['missingLicenses'] = $e->get_missing_licenses(); + } + return new WP_REST_Response( + $message, + $e->getCode() + ); + } catch ( RuntimeException $e ) { + return new WP_REST_Response( 'Failed to get suggestions.', 500 ); + } + + return new WP_REST_Response( $data ); + } + + /** + * Runs the callback to store the consent given by the user to use AI-based services. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response The response of the callback action. + */ + public function consent( WP_REST_Request $request ) { + $user_id = \get_current_user_id(); + $consent = \boolval( $request['consent'] ); + + try { + $this->ai_generator_action->consent( $user_id, $consent ); + } catch ( Bad_Request_Exception | Forbidden_Exception | Internal_Server_Error_Exception | Not_Found_Exception | Payment_Required_Exception | Request_Timeout_Exception | Service_Unavailable_Exception | Too_Many_Requests_Exception | RuntimeException $e ) { + return new WP_REST_Response( ( $consent ) ? 'Failed to store consent.' : 'Failed to revoke consent.', 500 ); + } + + return new WP_REST_Response( ( $consent ) ? 'Consent successfully stored.' : 'Consent successfully revoked.' ); + } + + /** + * Runs the callback that busts the subscription cache. + * + * @return WP_REST_Response The response of the callback action. + */ + public function bust_subscription_cache() { + $this->ai_generator_action->bust_subscription_cache(); + + return new WP_REST_Response( 'Subscription cache successfully busted.' ); + } + + /** + * Checks: + * - if the user is logged + * - if the user can edit posts + * + * @return bool Whether the user is logged in, can edit posts and the feature is active. + */ + public function check_permissions() { + $user = \wp_get_current_user(); + if ( $user === null || $user->ID < 1 ) { + return false; + } + + return \user_can( $user, 'edit_posts' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/routes/workouts-routes-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/routes/workouts-routes-integration.php new file mode 100644 index 00000000..44690ba6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/routes/workouts-routes-integration.php @@ -0,0 +1,311 @@ + + */ + public const ALLOWED_CORNERSTONE_STEPS = [ + 'chooseCornerstones', + 'checkLinks', + 'addLinks', + 'improved', + 'skipped', + ]; + + /** + * Allowed orphaned steps. + * + * @var array + */ + public const ALLOWED_ORPHANED_STEPS = [ + 'improveRemove', + 'update', + 'addLinks', + 'removed', + 'noindexed', + 'improved', + 'skipped', + ]; + + /** + * The indexable repository. + * + * @var Indexable_Repository The indexable repository. + */ + private $indexable_repository; + + /** + * The link suggestions action. + * + * @var Link_Suggestions_Action The action. + */ + private $link_suggestions_action; + + /** + * The admin asset manager. + * + * @var WPSEO_Admin_Asset_Manager + */ + private $admin_asset_manager; + + /** + * The shortlinker. + * + * @var WPSEO_Shortlinker + */ + private $shortlinker; + + /** + * The options helper. + * + * @var Options_Helper + */ + private $options_helper; + + /** + * The prominent words helper. + * + * @var Prominent_Words_Helper + */ + private $prominent_words_helper; + + /** + * The post type helper. + * + * @var Post_Type_Helper + */ + private $post_type_helper; + + /** + * Workouts_Integration constructor. + * + * @param Indexable_Repository $indexable_repository The indexables repository. + * @param Link_Suggestions_Action $link_suggestions_action The link suggestions action. + * @param WPSEO_Admin_Asset_Manager $admin_asset_manager The admin asset manager. + * @param WPSEO_Shortlinker $shortlinker The shortlinker. + * @param Options_Helper $options_helper The options helper. + * @param Prominent_Words_Helper $prominent_words_helper The prominent words helper. + * @param Post_Type_Helper $post_type_helper The post type helper. + */ + public function __construct( + Indexable_Repository $indexable_repository, + Link_Suggestions_Action $link_suggestions_action, + WPSEO_Admin_Asset_Manager $admin_asset_manager, + WPSEO_Shortlinker $shortlinker, + Options_Helper $options_helper, + Prominent_Words_Helper $prominent_words_helper, + Post_Type_Helper $post_type_helper + ) { + $this->indexable_repository = $indexable_repository; + $this->link_suggestions_action = $link_suggestions_action; + $this->admin_asset_manager = $admin_asset_manager; + $this->shortlinker = $shortlinker; + $this->options_helper = $options_helper; + $this->prominent_words_helper = $prominent_words_helper; + $this->post_type_helper = $post_type_helper; + } + + /** + * {@inheritDoc} + */ + public function register_hooks() { + \add_filter( 'Yoast\WP\SEO\workouts_route_args', [ $this, 'add_args_to_set_workouts_route' ] ); + \add_filter( 'Yoast\WP\SEO\workouts_route_save', [ $this, 'save_workouts_data' ], 10, 2 ); + \add_filter( 'Yoast\WP\SEO\workouts_options', [ $this, 'get_options' ] ); + } + + /** + * Adds arguments to `set_workouts` route registration. + * + * @param array $args_array The existing array of arguments. + * + * @return array + */ + public function add_args_to_set_workouts_route( $args_array ) { + $premium_args_array = [ + 'cornerstone' => [ + 'validate_callback' => [ $this, 'cornerstone_is_allowed' ], + 'required' => true, + ], + 'orphaned' => [ + 'validate_callback' => [ $this, 'orphaned_is_allowed' ], + 'required' => true, + ], + ]; + + return \array_merge( $args_array, $premium_args_array ); + } + + /** + * Validates the cornerstone attribute. + * + * @param array $workout The cornerstone workout. + * @return bool If the payload is valid or not. + */ + public function cornerstone_is_allowed( $workout ) { + return $this->is_allowed( $workout, self::ALLOWED_CORNERSTONE_STEPS ); + } + + /** + * Validates the orphaned attribute. + * + * @param array $workout The orphaned workout. + * @return bool If the payload is valid or not. + */ + public function orphaned_is_allowed( $workout ) { + return $this->is_allowed( $workout, self::ALLOWED_ORPHANED_STEPS ); + } + + /** + * Validates a workout. + * + * @param array $workout The workout. + * @param array $allowed_steps The allowed steps for this workout. + * @return bool If the payload is valid or not. + */ + public function is_allowed( $workout, $allowed_steps ) { + // Only 3 properties are allowed, the below validated finishedSteps property. + if ( \count( $workout ) !== 3 ) { + return false; + } + + if ( isset( $workout['finishedSteps'] ) && \is_array( $workout['finishedSteps'] ) ) { + foreach ( $workout['finishedSteps'] as $step ) { + if ( ! \in_array( $step, $allowed_steps, true ) ) { + return false; + } + } + return true; + } + return false; + } + + /** + * Saves the Premium workouts data to the database. + * + * @param mixed|null $result The result of the previous save operations. + * @param array $workouts_data The complete workouts data. + * + * @return mixed|null + */ + public function save_workouts_data( $result, $workouts_data ) { + $premium_workouts_data = []; + $premium_workouts_data['cornerstone'] = $workouts_data['cornerstone']; + $premium_workouts_data['orphaned'] = $workouts_data['orphaned']; + + foreach ( $premium_workouts_data as $workout => $data ) { + if ( isset( $data['indexablesByStep'] ) && \is_array( $data['indexablesByStep'] ) ) { + foreach ( $data['indexablesByStep'] as $step => $indexables ) { + if ( $step === 'removed' ) { + continue; + } + $premium_workouts_data[ $workout ]['indexablesByStep'][ $step ] = \wp_list_pluck( $indexables, 'id' ); + } + } + } + + return $this->options_helper->set( 'workouts', $premium_workouts_data ); + } + + /** + * Retrieves the Premium workouts options from the database and adds it to the global array of workouts options. + * + * @param array $workouts_option The previous content of the workouts options. + * + * @return array The workouts options updated with the addition of the Premium workouts data. + */ + public function get_options( $workouts_option ) { + $premium_option = $this->options_helper->get( 'workouts' ); + + if ( ! ( isset( $premium_option['orphaned']['indexablesByStep'] ) + && \is_array( $premium_option['orphaned']['indexablesByStep'] ) + && isset( $premium_option['cornerstone']['indexablesByStep'] ) + && \is_array( $premium_option['cornerstone']['indexablesByStep'] ) ) + ) { + return \array_merge( $workouts_option, $premium_option ); + } + + // Get all indexable ids from all workouts and all steps. + $indexable_ids_in_workouts = [ 0 ]; + foreach ( [ 'orphaned', 'cornerstone' ] as $workout ) { + foreach ( $premium_option[ $workout ]['indexablesByStep'] as $step => $indexables ) { + if ( $step === 'removed' ) { + continue; + } + foreach ( $indexables as $indexable_id ) { + $indexable_ids_in_workouts[] = $indexable_id; + } + } + } + + // Get all indexables corresponding to the indexable ids. + $indexables_in_workouts = $this->indexable_repository->find_by_ids( $indexable_ids_in_workouts ); + + // Extend the workouts option with the indexables data. + foreach ( [ 'orphaned', 'cornerstone' ] as $workout ) { + // Don't add indexables for steps that are not allowed. + $premium_option[ $workout ]['finishedSteps'] = \array_values( + \array_intersect( + $premium_option[ $workout ]['finishedSteps'], + [ + 'orphaned' => self::ALLOWED_ORPHANED_STEPS, + 'cornerstone' => self::ALLOWED_CORNERSTONE_STEPS, + ][ $workout ] + ) + ); + + // Don't add indexables that are not published or are no-indexed. + foreach ( $premium_option[ $workout ]['indexablesByStep'] as $step => $indexables ) { + if ( $step === 'removed' ) { + continue; + } + $premium_option[ $workout ]['indexablesByStep'][ $step ] = \array_values( + \array_filter( + \array_map( + static function ( $indexable_id ) use ( $indexables_in_workouts ) { + foreach ( $indexables_in_workouts as $updated_indexable ) { + if ( \is_array( $indexable_id ) ) { + $indexable_id = $indexable_id['id']; + } + if ( (int) $indexable_id === $updated_indexable->id ) { + if ( $updated_indexable->post_status !== 'publish' && $updated_indexable->post_status !== null ) { + return false; + } + if ( $updated_indexable->is_robots_noindex ) { + return false; + } + return $updated_indexable; + } + } + return false; + }, + $indexables + ) + ) + ); + } + } + + return \array_merge( $workouts_option, $premium_option ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/algolia.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/algolia.php new file mode 100644 index 00000000..6d269007 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/algolia.php @@ -0,0 +1,191 @@ +options = $options; + $this->meta = $meta; + } + + /** + * Returns the conditionals based in which this loadable should be active. + * + * @return array + */ + public static function get_conditionals() { + return [ + Algolia_Enabled_Conditional::class, + ]; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_filter( 'algolia_searchable_post_shared_attributes', [ $this, 'add_attributes_post' ], 10, 2 ); + \add_filter( 'algolia_term_record', [ $this, 'add_attributes_term' ] ); + \add_filter( 'algolia_user_record', [ $this, 'add_attributes_user' ] ); + \add_filter( 'algolia_should_index_searchable_post', [ $this, 'blacklist_no_index_posts' ], 10, 2 ); + \add_filter( 'algolia_should_index_term', [ $this, 'blacklist_no_index_terms' ], 10, 2 ); + \add_filter( 'algolia_should_index_user', [ $this, 'blacklist_no_index_users' ], 10, 2 ); + } + + /** + * Adds the search result priority and the number of internal links to an article to Algolia's index. + * + * @param array $attributes The attributes Algolia should index. + * @param WP_Post $post The post object that is being indexed. + * + * @return array The attributes Algolia should index. + */ + public function add_attributes_post( $attributes, $post ) { + $meta = $this->meta->for_post( $post->ID ); + + return $this->add_attributes( $attributes, $meta ); + } + + /** + * Adds the attributes for a term. + * + * @param array $attributes The recorded attributes. + * + * @return array The recorded attributes. + */ + public function add_attributes_term( $attributes ) { + $meta = $this->meta->for_term( $attributes['objectID'] ); + + return $this->add_attributes( $attributes, $meta ); + } + + /** + * Adds the attributes for a term. + * + * @param array $attributes The recorded attributes. + * + * @return array The recorded attributes. + */ + public function add_attributes_user( $attributes ) { + $meta = $this->meta->for_author( $attributes['objectID'] ); + + return $this->add_attributes( $attributes, $meta ); + } + + /** + * Adds the attributes for a searchable object. + * + * @param array $attributes Attributes to update. + * @param Meta $meta Meta value object for the current object. + * + * @return array Attributes for the searchable object. + */ + private function add_attributes( array $attributes, Meta $meta ) { + $attributes['yoast_seo_links'] = (int) $meta->indexable->incoming_link_count; + $attributes['yoast_seo_metadesc'] = $meta->meta_description; + + return $this->add_social_image( $attributes, $meta->open_graph_images ); + } + + /** + * Adds the social image to an attributes array if we have one. + * + * @param array $attributes The array of search attributes for a record. + * @param array $og_images The social images for the current item. + * + * @return array The array of search attributes for a record. + */ + private function add_social_image( $attributes, $og_images ) { + if ( \is_array( $og_images ) && \count( $og_images ) > 0 ) { + $attributes['images']['social'] = \reset( $og_images ); + } + + return $attributes; + } + + /** + * Checks whether a post should be indexed, taking the Yoast SEO no-index state into account. + * + * @param bool $should_index Whether Algolia should index the post or not. + * @param WP_Post $post The post object. + * + * @return bool Whether Algolia should index the post or not. + */ + public function blacklist_no_index_posts( $should_index, $post ) { + if ( $this->meta->for_post( $post->ID )->robots['index'] === 'noindex' ) { + return false; + } + + return $should_index; + } + + /** + * Checks whether a term should be indexed, taking the Yoast SEO no-index state into account. + * + * @param bool $should_index Whether Algolia should index the term or not. + * @param WP_Term $term The term object. + * + * @return bool Whether Algolia should index the term or not. + */ + public function blacklist_no_index_terms( $should_index, $term ) { + if ( $this->meta->for_term( $term->term_id )->robots['index'] === 'noindex' ) { + return false; + } + + return $should_index; + } + + /** + * Checks whether a user should be indexed, taking the Yoast SEO no-index state into account. + * + * @param bool $should_index Whether Algolia should index the user or not. + * @param WP_User $user The user object. + * + * @return bool Whether Algolia should index the user or not. + */ + public function blacklist_no_index_users( $should_index, $user ) { + if ( $this->meta->for_author( $user->ID )->robots['index'] === 'noindex' ) { + return false; + } + + return $should_index; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/edd.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/edd.php new file mode 100644 index 00000000..3ffabbc3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/edd.php @@ -0,0 +1,147 @@ +meta = $meta; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_filter( 'edd_generate_download_structured_data', [ $this, 'filter_download_schema' ] ); + \add_filter( 'wpseo_schema_organization', [ $this, 'filter_organization_schema' ] ); + \add_filter( 'wpseo_schema_webpage', [ $this, 'filter_webpage_schema' ], 10, 2 ); + } + + /** + * Make sure the Organization is classified as a Brand too. + * + * @param array $data The organization schema. + * + * @return array + */ + public function filter_organization_schema( $data ) { + if ( \is_singular( 'download' ) ) { + $data['@type'] = [ 'Organization', 'Brand' ]; + } + + return $data; + } + + /** + * Make sure the WebPage schema contains reference to the product. + * + * @param array $data The schema Webpage data. + * @param WPSEO_Schema_Context $context Context object. + * + * @return array + */ + public function filter_webpage_schema( $data, $context ) { + if ( \is_singular( [ 'download' ] ) ) { + $data['about'] = [ '@id' => $context->canonical . '#/schema/edd-product/' . \get_the_ID() ]; + $data['mainEntity'] = [ '@id' => $context->canonical . '#/schema/edd-product/' . \get_the_ID() ]; + } + + return $data; + } + + /** + * Filter the structured data output for a download to tie into Yoast SEO's output. + * + * @param array $data Structured data for a download. + * + * @return array + */ + public function filter_download_schema( $data ) { + + $data['@id'] = $this->meta->for_current_page()->canonical . '#/schema/edd-product/' . \get_the_ID(); + $data['sku'] = (string) $data['sku']; + $data['brand'] = $this->return_organization_node(); + $data['offers'] = $this->clean_up_offer( $data['offers'] ); + + if ( ! isset( $data['description'] ) ) { + $data['description'] = $this->meta->for_current_page()->open_graph_description; + } + + return $data; + } + + /** + * Cleans up EDD generated Offers. + * + * @param array $offer The schema array. + * + * @return array + */ + private function clean_up_offer( $offer ) { + // Checking for not isset @type makes sure there are multiple offers in the offer list. It is always an array. + if ( ! isset( $offer['@type'] ) ) { + foreach ( $offer as $key => $o ) { + if ( \array_key_exists( 'priceValidUntil', $o ) && $o['priceValidUntil'] === null ) { + unset( $offer[ $key ]['priceValidUntil'] ); + } + $offer[ $key ]['seller'] = $this->return_organization_node(); + } + } + else { + if ( \array_key_exists( 'priceValidUntil', $offer ) && $offer['priceValidUntil'] === null ) { + unset( $offer['priceValidUntil'] ); + } + $offer['seller'] = $this->return_organization_node(); + } + + return $offer; + } + + /** + * Returns a Schema node for the current site's Organization. + * + * @return string[] + */ + private function return_organization_node() { + return [ + '@type' => [ 'Organization', 'Brand' ], + '@id' => $this->meta->for_home_page()->canonical . '#organization', + ]; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/elementor-premium.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/elementor-premium.php new file mode 100644 index 00000000..2924ee8b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/elementor-premium.php @@ -0,0 +1,328 @@ +prominent_words_helper = $prominent_words_helper; + $this->post_watcher = new WPSEO_Post_Watcher(); + $this->current_page_helper = $current_page_helper; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue' ] ); + \add_action( 'post_updated', [ $this->post_watcher, 'detect_slug_change' ], 12, 3 ); + } + + /** + * Enqueues all the needed JS and CSS. + * + * @return void + */ + public function enqueue() { + // Check if we should load. + if ( ! $this->load_metabox() ) { + return; + } + + // Re-register assets as Elementor unregister everything. + $asset_manager = new WPSEO_Premium_Assets(); + $asset_manager->register_assets(); + + // Initialize Elementor (replaces premium-metabox). + $this->enqueue_assets(); + + /* + * Re-enqueue the integrations as `admin_enqueue_scripts` is undone. + * Note the register_hooks were not even called (because it doesn't work anyway). + */ + $social_previews = new WPSEO_Social_Previews(); + $social_previews->enqueue_assets(); + $custom_fields = new WPSEO_Custom_Fields_Plugin(); + $custom_fields->enqueue(); + + $replacement_variables = new Replacement_Variables_Integration(); + $replacement_variables->enqueue_assets(); + } + + // Below is mostly copied from `premium-metabox.php`. + + /** + * Enqueues assets when relevant. + * + * @codeCoverageIgnore Method uses dependencies. + * + * @return void + */ + public function enqueue_assets() { + \wp_enqueue_script( static::SCRIPT_HANDLE ); + \wp_enqueue_style( static::SCRIPT_HANDLE ); + + $premium_localization = new WPSEO_Premium_Asset_JS_L10n(); + $premium_localization->localize_script( static::SCRIPT_HANDLE ); + + $this->send_data_to_assets(); + } + + /** + * Send data to assets by using wp_localize_script. + * + * @return void + */ + public function send_data_to_assets() { + $analysis_seo = new WPSEO_Metabox_Analysis_SEO(); + $assets_manager = new WPSEO_Admin_Asset_Manager(); + + $data = [ + 'restApi' => $this->get_rest_api_config(), + 'seoAnalysisEnabled' => $analysis_seo->is_enabled(), + 'licensedURL' => WPSEO_Utils::get_home_url(), + 'settingsPageUrl' => \admin_url( 'admin.php?page=wpseo_page_settings#/site-features#card-wpseo-enable_link_suggestions' ), + 'integrationsTabURL' => \admin_url( 'admin.php?page=wpseo_integrations' ), + 'premiumAssessmentsScriptUrl' => \plugins_url( + 'assets/js/dist/register-premium-assessments-' . $assets_manager->flatten_version( \WPSEO_PREMIUM_VERSION ) . \WPSEO_CSSJS_SUFFIX . '.js', + \WPSEO_PREMIUM_FILE + ), + 'pluginUrl' => \plugins_url( '', \WPSEO_PREMIUM_FILE ), + ]; + if ( \defined( 'YOAST_SEO_TEXT_FORMALITY' ) && \YOAST_SEO_TEXT_FORMALITY === true ) { + $data['textFormalityScriptUrl'] = \plugins_url( + 'assets/js/dist/register-text-formality-' . $assets_manager->flatten_version( \WPSEO_PREMIUM_VERSION ) . \WPSEO_CSSJS_SUFFIX . '.js', + \WPSEO_PREMIUM_FILE + ); + } + $data = \array_merge( $data, $this->get_post_metabox_config() ); + + if ( \current_user_can( 'edit_others_posts' ) ) { + $data['workoutsUrl'] = \admin_url( 'admin.php?page=wpseo_workouts' ); + } + + // Use an extra level in the array to preserve booleans. WordPress sanitizes scalar values in the first level of the array. + \wp_localize_script( static::SCRIPT_HANDLE, 'wpseoPremiumMetaboxData', [ 'data' => $data ] ); + } + + /** + * Retrieves the metabox config for a post. + * + * @return array The config. + */ + protected function get_post_metabox_config() { + $link_suggestions_enabled = WPSEO_Options::get( 'enable_link_suggestions', false ); + + $prominent_words_support = new WPSEO_Premium_Prominent_Words_Support(); + $is_prominent_words_available = $prominent_words_support->is_post_type_supported( $this->get_metabox_post()->post_type ); + + $site_locale = \get_locale(); + $language = WPSEO_Language_Utils::get_language( $site_locale ); + + return [ + 'currentObjectId' => $this->get_metabox_post()->ID, + 'currentObjectType' => 'post', + 'linkSuggestionsEnabled' => ( $link_suggestions_enabled ) ? 'enabled' : 'disabled', + 'linkSuggestionsAvailable' => $is_prominent_words_available, + 'linkSuggestionsUnindexed' => ! $this->is_prominent_words_indexing_completed() && WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ), + 'perIndexableLimit' => $this->per_indexable_limit( $language ), + 'isProminentWordsAvailable' => $is_prominent_words_available, + ]; + } + + /** + * Checks if the content endpoints are available. + * + * @return bool Returns true if the content endpoints are available + */ + public static function are_content_endpoints_available() { + if ( \function_exists( 'rest_get_server' ) ) { + $namespaces = \rest_get_server()->get_namespaces(); + return \in_array( 'wp/v2', $namespaces, true ); + } + return false; + } + + /** + * Retrieves the REST API configuration. + * + * @return array The configuration. + */ + protected function get_rest_api_config() { + return [ + 'available' => WPSEO_Utils::is_api_available(), + 'contentEndpointsAvailable' => self::are_content_endpoints_available(), + 'root' => \esc_url_raw( \rest_url() ), + 'nonce' => \wp_create_nonce( 'wp_rest' ), + ]; + } + + /** + * Returns the post for the current admin page. + * + * @codeCoverageIgnore + * + * @return WP_Post|null The post for the current admin page. + */ + protected function get_metabox_post() { + if ( $this->post !== null ) { + return $this->post; + } + + $post_id = $this->current_page_helper->get_current_post_id(); + + if ( $post_id ) { + + $this->post = \get_post( $post_id ); + + return $this->post; + } + + if ( isset( $GLOBALS['post'] ) ) { + $this->post = $GLOBALS['post']; + + return $this->post; + } + + return null; + } + + /** + * Checks whether or not the metabox related scripts should be loaded. + * + * @return bool True when it should be loaded. + */ + protected function load_metabox() { + // When the current page isn't a post related one. + if ( WPSEO_Metabox::is_post_edit( $this->get_current_page() ) ) { + return WPSEO_Post_Type::has_metabox_enabled( $this->current_page_helper->get_current_post_type() ); + } + + // Make sure ajax integrations are loaded. + return \wp_doing_ajax(); + } + + /** + * Retrieves the value of the pagenow variable. + * + * @codeCoverageIgnore + * + * @return string The value of pagenow. + */ + protected function get_current_page() { + global $pagenow; + + return $pagenow; + } + + /** + * Returns whether or not we need to index more posts for correct link suggestion functionality. + * + * @return bool Whether or not we need to index more posts. + */ + protected function is_prominent_words_indexing_completed() { + $is_indexing_completed = $this->prominent_words_helper->is_indexing_completed(); + if ( $is_indexing_completed === null ) { + $indexation_integration = \YoastSEOPremium()->classes->get( Indexing_Integration::class ); + $is_indexing_completed = $indexation_integration->get_unindexed_count( 0 ) === 0; + + $this->prominent_words_helper->set_indexing_completed( $is_indexing_completed ); + } + + return $is_indexing_completed; + } + + /** + * Returns the number of prominent words to store for content written in the given language. + * + * @param string $language The current language. + * + * @return int The number of words to store. + */ + protected function per_indexable_limit( $language ) { + if ( \YoastSEO()->helpers->language->has_function_word_support( $language ) ) { + return Indexing_Integration::PER_INDEXABLE_LIMIT; + } + + return Indexing_Integration::PER_INDEXABLE_LIMIT_NO_FUNCTION_WORD_SUPPORT; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/elementor-preview.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/elementor-preview.php new file mode 100644 index 00000000..863188d3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/elementor-preview.php @@ -0,0 +1,61 @@ +asset_manager = $asset_manager; + } + + /** + * Returns the conditionals based in which this loadable should be active. + * + * @return string[] + */ + public static function get_conditionals() { + return [ Elementor_Activated_Conditional::class ]; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_action( 'elementor/preview/enqueue_styles', [ $this, 'add_preview_styles' ] ); + } + + /** + * Adds CSS specifically for the Elementor preview. + * + * @return void + */ + public function add_preview_styles() { + $this->asset_manager->register_assets(); + $this->asset_manager->enqueue_style( 'inside-editor' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/mastodon.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/mastodon.php new file mode 100644 index 00000000..17a97422 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/mastodon.php @@ -0,0 +1,179 @@ +options_helper = $options_helper; + $this->social_profiles_helper = $social_profiles_helper; + } + + /** + * Initializes the integration. + * + * This is the place to register hooks and filters. + * + * @return void + */ + public function register_hooks() { + \add_filter( 'wpseo_frontend_presenter_classes', [ $this, 'add_social_link_tags' ], 10, 2 ); + \add_filter( 'wpseo_person_social_profile_fields', [ $this, 'add_mastodon_to_person_social_profile_fields' ], 11, 1 ); + \add_filter( 'wpseo_organization_social_profile_fields', [ $this, 'add_mastodon_to_organization_social_profile_fields' ], 11, 1 ); + \add_filter( 'wpseo_schema_person_social_profiles', [ $this, 'add_mastodon_to_person_schema' ], 10 ); + \add_filter( 'wpseo_mastodon_active', [ $this, 'check_mastodon_active' ], 10 ); + } + + /** + * Adds the social profiles presenter to the list of presenters to use. + * + * @param array $presenters The list of presenters. + * @param string $page_type The page type for which the presenters have been collected. + * + * @return array + */ + public function add_social_link_tags( $presenters, $page_type ) { + // Bail out early if something's wrong with the presenters, let's not add any more confusion there. + if ( ! \is_array( $presenters ) ) { + return $presenters; + } + + if ( \in_array( $page_type, [ 'Static_Home_Page', 'Home_Page' ], true ) ) { + $presenters = \array_merge( $presenters, [ 'Yoast\WP\SEO\Premium\Presenters\Mastodon_Link_Presenter' ] ); + } + + return $presenters; + } + + /** + * Adds Mastodon to the list of social profiles. + * + * @param array $social_profile_fields The social profiles array. + * + * @return array The updated social profiles array. + */ + public function add_mastodon_to_person_social_profile_fields( $social_profile_fields ) { + // Bail out early if something's wrong with the social profiles, let's not add any more confusion there. + if ( ! \is_array( $social_profile_fields ) ) { + return $social_profile_fields; + } + $social_profile_fields['mastodon'] = 'get_non_valid_url'; + + return $social_profile_fields; + } + + /** + * Adds Mastodon to the list of social profiles. + * + * @param array $social_profile_fields The social profiles array. + * + * @return array The updated social profiles array. + */ + public function add_mastodon_to_organization_social_profile_fields( $social_profile_fields ) { + // Bail out early if something's wrong with the social profiles, let's not add any more confusion there. + if ( ! \is_array( $social_profile_fields ) ) { + return $social_profile_fields; + } + $social_profile_fields['mastodon_url'] = 'get_non_valid_url'; + + return $social_profile_fields; + } + + /** + * Adds Mastodon to the list of social profiles to add to a Person's Schema. + * + * @param array $social_profiles The social profiles array. + * + * @return array + */ + public function add_mastodon_to_person_schema( $social_profiles ) { + // Bail out early if something's wrong with the social profiles, let's not add any more confusion there. + if ( ! \is_array( $social_profiles ) ) { + return $social_profiles; + } + $social_profiles[] = 'mastodon'; + + return $social_profiles; + } + + /** + * Adds Mastodon to the list of contact methods for persons. + * + * @deprecated 22.6 + * @codeCoverageIgnore + * + * @param array $contactmethods Currently set contactmethods. + * + * @return array + */ + public function add_mastodon_to_user_contactmethods( $contactmethods ) { + \_deprecated_function( __METHOD__, 'Yoast SEO 22.6' ); + + // Bail out early if something's wrong with the contact methods, let's not add any more confusion there. + if ( ! \is_array( $contactmethods ) ) { + return $contactmethods; + } + + $contactmethods['mastodon'] = \__( 'Mastodon profile URL', 'wordpress-seo-premium' ); + + return $contactmethods; + } + + /** + * Checks if the Mastodon field is filled in. + * + * @param bool $state The current state of the integration. + * + * @return bool + */ + public function check_mastodon_active( $state ) { + switch ( $this->options_helper->get( 'company_or_person', false ) ) { + case 'company': + $social_profiles = $this->social_profiles_helper->get_organization_social_profiles(); + if ( ! empty( $social_profiles['mastodon_url'] ) ) { + return true; + } + break; + + case 'person': + $company_or_person_id = $this->options_helper->get( 'company_or_person_user_id', 0 ); + $social_profiles = $this->social_profiles_helper->get_person_social_profiles( $company_or_person_id ); + if ( ! empty( $social_profiles['mastodon'] ) ) { + return true; + } + break; + } + + return $state; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/translationspress.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/translationspress.php new file mode 100644 index 00000000..d8f34d8f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/translationspress.php @@ -0,0 +1,208 @@ +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 object. 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/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/wincher-keyphrases.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/wincher-keyphrases.php new file mode 100644 index 00000000..f6a4e30f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/third-party/wincher-keyphrases.php @@ -0,0 +1,91 @@ +get_results( + $wpdb->prepare( + " + SELECT meta_value + FROM %i pm + JOIN %i p ON p.id = pm.post_id + WHERE %i = %s AND %i != 'trash' + ", + $wpdb->postmeta, + $wpdb->posts, + 'meta_key', + $meta_key, + 'post_status' + ) + ); + + if ( $results ) { + foreach ( $results as $row ) { + $additional_keywords = \json_decode( $row->meta_value, true ); + if ( $additional_keywords !== null ) { + $additional_keywords = \array_column( $additional_keywords, 'keyword' ); + $keyphrases = \array_merge( $keyphrases, $additional_keywords ); + } + } + } + + return $keyphrases; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/upgrade-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/upgrade-integration.php new file mode 100644 index 00000000..369cb863 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/upgrade-integration.php @@ -0,0 +1,36 @@ +run_upgrade( \WPSEO_PREMIUM_VERSION ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/user-profile-integration.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/user-profile-integration.php new file mode 100644 index 00000000..9e84c344 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/user-profile-integration.php @@ -0,0 +1,50 @@ +prominent_words_repository = $prominent_words_repository; + } + + /** + * Registers the action that triggers when an indexable is deleted. + * + * @return void + */ + public function register_hooks() { + \add_action( 'wpseo_indexable_deleted', [ $this, 'remove_prominent_words_for_indexable' ] ); + } + + /** + * Removes all prominent words for indexables if they are present. + * + * @param Indexable $indexable The indexable that got deleted. + * + * @return void + */ + public function remove_prominent_words_for_indexable( $indexable ) { + + $prominent_words = $this->prominent_words_repository->find_by_indexable_id( $indexable->id ); + + if ( \count( $prominent_words ) > 0 ) { + $this->prominent_words_repository->delete_by_indexable_id( $indexable->id ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/watchers/stale-cornerstone-content-watcher.php b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/watchers/stale-cornerstone-content-watcher.php new file mode 100644 index 00000000..1a470990 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/integrations/watchers/stale-cornerstone-content-watcher.php @@ -0,0 +1,65 @@ +is_cornerstone === false ) { + return; + } + + \wp_cache_delete( 'stale_cornerstone_count_' . $indexable->object_sub_type, 'stale_cornerstone_counts' ); + } + + /** + * Invalidates the cache for the stale cornerstone content when content gets un-cornerstoned. + * + * @param Indexable $indexable The indexable that got deleted. + * @param Indexable $indexable_before The indexable before it got saved. + * + * @return void + */ + public function maybe_invalidate_cache( $indexable, $indexable_before ) { + if ( ( $indexable->is_cornerstone === false ) && ( $indexable_before->is_cornerstone === false ) ) { + return; + } + + \wp_cache_delete( 'stale_cornerstone_count_' . $indexable->object_sub_type, 'stale_cornerstone_counts' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/introductions/application/ai-generate-titles-and-descriptions-introduction.php b/wp/wp-content/plugins/wordpress-seo-premium/src/introductions/application/ai-generate-titles-and-descriptions-introduction.php new file mode 100644 index 00000000..cde34f43 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/introductions/application/ai-generate-titles-and-descriptions-introduction.php @@ -0,0 +1,106 @@ +options_helper = $options_helper; + $this->user_helper = $user_helper; + } + + /** + * Returns the ID. + * + * @return string + */ + public function get_id() { + return self::ID; + } + + /** + * Returns the unique name. + * + * @deprecated 21.6 + * @codeCoverageIgnore + * + * @return string + */ + public function get_name() { + \_deprecated_function( __METHOD__, 'Yoast SEO Premium 21.6', 'Please use get_id() instead' ); + + return self::ID; + } + + /** + * Returns the requested pagination priority. Lower means earlier. + * + * @return int + */ + public function get_priority() { + return 10; + } + + /** + * Returns whether this introduction should show. + * + * @return bool + */ + public function should_show() { + // Feature was already enabled, no need to introduce it again. + if ( $this->options_helper->get( 'ai_enabled_pre_default', false ) ) { + return false; + } + + // Get the current user ID, if no user is logged in we bail as this is needed for the next checks. + $current_user_id = $this->user_helper->get_current_user_id(); + if ( $current_user_id === 0 ) { + return false; + } + + // Consent was already given, no need to ask again. + if ( $this->user_helper->get_meta( $current_user_id, '_yoast_wpseo_ai_consent', true ) ) { + return false; + } + + if ( ! $this->is_user_allowed( [ 'edit_posts' ] ) ) { + return false; + } + + return true; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/main.php b/wp/wp-content/plugins/wordpress-seo-premium/src/main.php new file mode 100644 index 00000000..ec8cb5fb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/main.php @@ -0,0 +1,63 @@ +is_development() + && \class_exists( '\Yoast\WP\SEO\Dependency_Injection\Container_Compiler' ) + && \file_exists( __DIR__ . '/../config/dependency-injection/services.php' ) + ) { + // Exception here is unhandled as it will only occur in development. + Container_Compiler::compile( + $this->is_development(), + __DIR__ . '/generated/container.php', + __DIR__ . '/../config/dependency-injection/services.php', + __DIR__ . '/../vendor/composer/autoload_classmap.php', + 'Yoast\WP\SEO\Premium\Generated' + ); + } + + if ( \file_exists( __DIR__ . '/generated/container.php' ) ) { + require_once __DIR__ . '/generated/container.php'; + + return new Cached_Container(); + } + + return null; + } + + /** + * @inheritDoc + */ + protected function get_surfaces() { + return [ + 'classes' => Classes_Surface::class, + 'helpers' => Helpers_Surface::class, + ]; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/models/prominent-words.php b/wp/wp-content/plugins/wordpress-seo-premium/src/models/prominent-words.php new file mode 100644 index 00000000..2958042e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/models/prominent-words.php @@ -0,0 +1,25 @@ +"; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/icons/cross-icon-presenter.php b/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/icons/cross-icon-presenter.php new file mode 100644 index 00000000..40dc25c1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/icons/cross-icon-presenter.php @@ -0,0 +1,18 @@ +"; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/icons/icon-presenter.php b/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/icons/icon-presenter.php new file mode 100644 index 00000000..39cc53bc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/icons/icon-presenter.php @@ -0,0 +1,77 @@ +"; + + /** + * The default height and width of an icon in pixels. + */ + public const SIZE_DEFAULT = 24; + + /** + * The size of the icon in pixels. + * + * @var int + */ + protected $size; + + /** + * Creates a new icon. + * + * @codeCoverageIgnore + * + * @param int $size The size of the icon. + */ + public function __construct( $size ) { + $this->size = $size; + } + + /** + * Generates the SVG based on the given path. + * + * @param string $path The path to generate SVG icon for. + * @param int $svg_size The height and width of the SVG icon. + * + * @return string The generated icon svg. + */ + private static function svg( $path, $svg_size = self::SIZE_DEFAULT ) { + $start = \str_replace( '%SIZE%', $svg_size, self::SVG_START_TAG ); + return $start . $path . ''; + } + + /** + * Returns the icon as a string. + * + * @return string The icon. + */ + public function present() { + return self::svg( $this->get_path(), $this->get_size() ); + } + + /** + * Returns the size of the icon. + * + * @return int The size of the icon. + */ + public function get_size() { + return $this->size; + } + + /** + * Returns the path of the icon. + * + * @return string The path of the icon. + */ + abstract public function get_path(); +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/mastodon-link-presenter.php b/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/mastodon-link-presenter.php new file mode 100644 index 00000000..61ee41d2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/presenters/mastodon-link-presenter.php @@ -0,0 +1,84 @@ +` element. + */ + return \apply_filters( 'wpseo_mastodon_link', $output ); + } + + return ''; + } + + /** + * Returns the URL to be presented in the tag. + * + * @return string The URL to be presented in the tag. + */ + public function get() { + switch ( $this->helpers->options->get( 'company_or_person', false ) ) { + case 'company': + $social_profiles = $this->helpers->social_profiles->get_organization_social_profiles(); + break; + + case 'person': + $company_or_person_id = $this->helpers->options->get( 'company_or_person_user_id', 0 ); + $social_profiles = $this->helpers->social_profiles->get_person_social_profiles( $company_or_person_id ); + break; + default: + $social_profiles = []; + } + + // Person case. + if ( ! empty( $social_profiles['mastodon'] ) ) { + return $social_profiles['mastodon']; + } + + // Organization case. + if ( ! empty( $social_profiles['mastodon_url'] ) ) { + return $social_profiles['mastodon_url']; + } + + return ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/repositories/prominent-words-repository.php b/wp/wp-content/plugins/wordpress-seo-premium/src/repositories/prominent-words-repository.php new file mode 100644 index 00000000..1d8dbaff --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/repositories/prominent-words-repository.php @@ -0,0 +1,206 @@ +query()->where( 'indexable_id', $indexable_id )->find_many(); + } + + /** + * Finds the prominent words based on a list of indexable ids. + * The method also computes the document frequency of each word and adds it as a separate property on the objects. + * + * @param int[] $ids The ids of indexables to get prominent words for. + * + * @return array The list of prominent words items found by indexable ids. + */ + public function find_by_list_of_ids( $ids ) { + if ( empty( $ids ) ) { + return []; + } + + $prominent_words = $this->query()->where_in( 'indexable_id', $ids )->find_many(); + $prominent_stems = \wp_list_pluck( $prominent_words, 'stem' ); + $document_freqs = $this->query() + ->select( 'stem' ) + ->select_expr( 'COUNT(id)', 'count' ) + ->where_in( 'stem', $prominent_stems ) + ->group_by( 'stem' ) + ->find_array(); + + $stem_counts = []; + foreach ( $document_freqs as $document_freq ) { + $stem_counts[ $document_freq['stem'] ] = $document_freq['count']; + } + foreach ( $prominent_words as $prominent_word ) { + if ( ! \array_key_exists( $prominent_word->stem, $stem_counts ) ) { + continue; + } + $prominent_word->df = (int) $stem_counts[ $prominent_word->stem ]; + } + + return $prominent_words; + } + + /** + * Finds all indexable ids which have prominent words with stems from the list. + * + * @param array $stems The stems of prominent words to search for. + * @param int $limit The number of indexable ids to return in 1 call. + * @param int $page From which page (batch) to begin. + * @param int[] $excluded_ids The indexable IDs to exclude. + * @param array $post_type Optional. The list of post types where suggestions may come from. + * @param bool $only_include_public Optional. Only include public indexables, defaults to false. + * + * @return array The list of indexable ids. + */ + public function find_ids_by_stems( $stems, $limit, $page, $excluded_ids = [], $post_type = [], $only_include_public = false ) { + if ( empty( $stems ) ) { + return []; + } + + $offset = ( ( $page - 1 ) * $limit ); + + $stem_placeholders = \implode( ', ', \array_fill( 0, \count( $stems ), '%s' ) ); + + $query = Model::of_type( 'Indexable' ) + ->table_alias( 'i' ) + ->select( 'id' ) + ->where_raw( + 'i.id IN ( SELECT DISTINCT pw.indexable_id FROM ' . Model::get_table_name( 'Prominent_Words' ) . ' pw WHERE pw.stem IN (' . $stem_placeholders . ') )', + $stems + ) + ->where_raw( '( i.post_status NOT IN ( \'draft\', \'auto-draft\', \'trash\' ) OR i.post_status IS NULL )' ) + ->limit( $limit ) + ->offset( $offset ); + + if ( ! empty( $excluded_ids ) ) { + $query = $query->where_not_in( 'id', $excluded_ids ); + } + + if ( ! empty( $post_type ) && \is_array( $post_type ) ) { + $query = $query->where_in( 'object_sub_type', $post_type ); + } + + if ( $only_include_public ) { + $query = $query->where_raw( '(i.is_public = 1 OR i.is_public is null)' ); + } + + $results = $query->find_array(); + + return \wp_list_pluck( $results, 'id' ); + } + + /** + * Deletes multiple prominent words from the database in one query. + * + * @param int $indexable_id The id of the indexable which needs to have + * some of its prominent words deleted. + * @param array $outdated_stems The array with to-be-deleted prominent word stems. + * + * @return bool Whether the delete was successful. + */ + public function delete_by_indexable_id_and_stems( $indexable_id, $outdated_stems ) { + // Check if the data are of the right format. + if ( ( ! $indexable_id ) || empty( $outdated_stems ) || ! \is_array( $outdated_stems ) ) { + return false; + } + + return $this->query() + ->where( 'indexable_id', $indexable_id ) + ->where_in( 'stem', $outdated_stems ) + ->delete_many(); + } + + /** + * Deletes all prominent words for an indexable + * + * @param int $indexable_id The id of the indexable which needs to have + * some of its prominent words deleted. + * + * @return bool Whether the deletion was successful. + */ + public function delete_by_indexable_id( $indexable_id ) { + if ( ! $indexable_id ) { + return false; + } + + return $this->query() + ->where( 'indexable_id', $indexable_id ) + ->delete_many(); + } + + /** + * Counts the number of documents in which each of the given stems occurs. + * + * @param string[] $stems The stems of the words for which to find the document frequencies. + * + * @return array The list of stems and their respective document frequencies. Each entry has a 'stem' and a + * 'document_frequency' parameter. + */ + public function count_document_frequencies( $stems ) { + if ( empty( $stems ) ) { + return []; + } + + /* + * Count in how many documents each stem occurs by querying the database. + * Returns "Prominent_Words" with two properties: 'stem' and 'document_frequency'. + */ + $raw_doc_frequencies = $this->query() + ->select( 'stem' ) + ->select_expr( 'COUNT( stem )', 'document_frequency' ) + ->where_in( 'stem', $stems ) + ->group_by( 'stem' ) + ->find_many(); + + // We want to change the raw document frequencies into a map mapping stems to document frequency. + $stems = \array_map( + static function ( $item ) { + return $item->stem; + }, + $raw_doc_frequencies + ); + + $doc_frequencies = \array_fill_keys( $stems, 0 ); + foreach ( $raw_doc_frequencies as $raw_doc_frequency ) { + $doc_frequencies[ $raw_doc_frequency->stem ] = (int) $raw_doc_frequency->document_frequency; + } + + return $doc_frequencies; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/routes/link-suggestions-route.php b/wp/wp-content/plugins/wordpress-seo-premium/src/routes/link-suggestions-route.php new file mode 100644 index 00000000..fa5eb36e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/routes/link-suggestions-route.php @@ -0,0 +1,113 @@ +link_suggestions_action = $link_suggestions_action; + } + + /** + * Registers routes with WordPress. + * + * @return void + */ + public function register_routes() { + $route_args = [ + 'methods' => 'GET', + 'args' => [ + 'prominent_words' => [ + 'required' => true, + 'type' => 'object', + 'description' => 'Stems of prominent words and their term frequencies we want link suggestions based on', + ], + 'object_id' => [ + 'required' => true, + 'type' => 'integer', + 'description' => 'The object id of the current indexable.', + ], + 'object_type' => [ + 'required' => true, + 'type' => 'string', + 'description' => 'The object type of the current indexable.', + ], + 'limit' => [ + 'required' => false, + 'default' => 5, + 'type' => 'integer', + 'description' => 'The maximum number of link suggestions to retrieve', + ], + ], + 'callback' => [ $this, 'run_get_suggestions_action' ], + 'permission_callback' => [ $this, 'can_retrieve_data' ], + ]; + \register_rest_route( Main::API_V1_NAMESPACE, self::ENDPOINT_QUERY, $route_args ); + } + + /** + * Runs the get suggestions action.. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response The response for the query of link suggestions. + */ + public function run_get_suggestions_action( WP_REST_Request $request ) { + $prominent_words = $request->get_param( 'prominent_words' ); + $limit = $request->get_param( 'limit' ); + $object_id = $request->get_param( 'object_id' ); + $object_type = $request->get_param( 'object_type' ); + $post_type = $request->get_param( 'post_type' ); + + return new WP_REST_Response( + $this->link_suggestions_action->get_suggestions( + $prominent_words, + $limit, + $object_id, + $object_type, + true, + $post_type + ) + ); + } + + /** + * Determines if the current user is allowed to use this endpoint. + * + * @return bool + */ + public function can_retrieve_data() { + return \current_user_can( 'edit_posts' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/routes/prominent-words-route.php b/wp/wp-content/plugins/wordpress-seo-premium/src/routes/prominent-words-route.php new file mode 100644 index 00000000..1940af20 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/routes/prominent-words-route.php @@ -0,0 +1,245 @@ +content_action = $content_action; + $this->save_action = $save_action; + $this->complete_action = $complete_action; + $this->indexing_helper = $indexing_helper; + } + + /** + * Registers routes with WordPress. + * + * @return void + */ + public function register_routes() { + \register_rest_route( + Main::API_V1_NAMESPACE, + self::GET_CONTENT_ROUTE, + [ + 'methods' => 'POST', + 'callback' => [ $this, 'run_content_action' ], + 'permission_callback' => [ $this, 'can_retrieve_data' ], + ] + ); + + \register_rest_route( + Main::API_V1_NAMESPACE, + self::COMPLETE_ROUTE, + [ + 'methods' => 'POST', + 'callback' => [ $this, 'run_complete_action' ], + 'permission_callback' => [ $this, 'can_retrieve_data' ], + ] + ); + + $route_args = [ + 'methods' => 'POST', + 'args' => [ + 'data' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'object_id' => [ + 'type' => 'number', + 'required' => true, + ], + 'prominent_words' => [ + 'type' => 'object', + 'required' => false, + ], + ], + ], + ], + ], + 'callback' => [ $this, 'run_save_action' ], + 'permission_callback' => [ $this, 'can_retrieve_data' ], + ]; + + \register_rest_route( Main::API_V1_NAMESPACE, self::SAVE_ROUTE, $route_args ); + } + + /** + * Retrieves the content that needs to be analyzed for prominent words. + * + * @return WP_REST_Response Response with the content that needs to be analyzed for prominent words. + */ + public function run_content_action() { + return $this->run_indexation_action( $this->content_action, self::FULL_GET_CONTENT_ROUTE ); + } + + /** + * Marks the indexing of prominent words as completed. + * + * @return WP_REST_Response Response with empty data. + */ + public function run_complete_action() { + $this->complete_action->complete(); + + return $this->respond_with( [], false ); + } + + /** + * Saves the prominent words for the indexables. + * + * The request should have the parameters: + * - **data**: The data array containing: + * - **object_id**: The ID of the object (post-id, term-id, etc.). + * - **prominent_words**: The map of `'stem' => weight` key-value pairs, + * e.g. the stems of the prominent words and their weights. + * Leave this out when the indexable has no prominent words. + * + * @param WP_REST_Request $request The request to handle. + * + * @return WP_REST_Response The response to give. + */ + public function run_save_action( WP_REST_Request $request ) { + $this->save_action->save( $request->get_param( 'data' ) ); + + return new WP_REST_Response( + [ 'message' => 'The words have been successfully saved for the given indexables.' ] + ); + } + + /** + * Determines if the current user is allowed to use this endpoint. + * + * @return bool + */ + public function can_retrieve_data() { + return \current_user_can( 'edit_posts' ); + } + + /** + * Runs an indexing action and returns the response. + * + * @param Indexation_Action_Interface $indexation_action The indexing action. + * @param string $url The url of the indexing route. + * + * @return WP_REST_Response|WP_Error The response, or an error when running the indexing action failed. + */ + protected function run_indexation_action( Indexation_Action_Interface $indexation_action, $url ) { + try { + return parent::run_indexation_action( $indexation_action, $url ); + } catch ( Exception $exception ) { + $this->indexing_helper->set_reason( Indexing_Reasons::REASON_INDEXING_FAILED ); + + return new WP_Error( 'wpseo_error_indexing', $exception->getMessage() ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/routes/workouts-route.php b/wp/wp-content/plugins/wordpress-seo-premium/src/routes/workouts-route.php new file mode 100644 index 00000000..878f2745 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/routes/workouts-route.php @@ -0,0 +1,465 @@ +indexable_repository = $indexable_repository; + $this->link_suggestions_action = $link_suggestions_action; + $this->indexable_term_builder = $indexable_term_builder; + $this->post_type_helper = $post_type_helper; + } + + /** + * Registers routes with WordPress. + * + * @return void + */ + public function register_routes() { + $edit_others_posts = static function () { + return \current_user_can( 'edit_others_posts' ); + }; + + $noindex_route = [ + [ + 'methods' => 'POST', + 'callback' => [ $this, 'noindex' ], + 'permission_callback' => $edit_others_posts, + 'args' => [ + 'object_id' => [ + 'type' => 'integer', + 'required' => true, + ], + 'object_type' => [ + 'type' => 'string', + 'required' => true, + ], + 'object_sub_type' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ]; + + \register_rest_route( Main::API_V1_NAMESPACE, Base_Workouts_Route::WORKOUTS_ROUTE . self::NOINDEX_ROUTE, $noindex_route ); + + $remove_redirect_route = [ + [ + 'methods' => 'POST', + 'callback' => [ $this, 'remove_redirect' ], + 'permission_callback' => $edit_others_posts, + 'args' => [ + 'object_id' => [ + 'type' => 'integer', + 'required' => true, + ], + 'object_type' => [ + 'type' => 'string', + 'required' => true, + ], + 'object_sub_type' => [ + 'type' => 'string', + 'required' => true, + ], + 'permalink' => [ + 'type' => 'string', + 'required' => true, + ], + 'redirect_url' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ]; + + \register_rest_route( Main::API_V1_NAMESPACE, Base_Workouts_Route::WORKOUTS_ROUTE . self::REMOVE_REDIRECT_ROUTE, $remove_redirect_route ); + + $suggestions_route = [ + [ + 'methods' => 'GET', + 'callback' => [ $this, 'get_link_suggestions' ], + 'permission_callback' => $edit_others_posts, + 'args' => [ + 'indexableId' => [ + 'type' => 'integer', + 'required' => true, + ], + ], + ], + ]; + + \register_rest_route( Main::API_V1_NAMESPACE, Base_Workouts_Route::WORKOUTS_ROUTE . self::LINK_SUGGESTIONS_ROUTE, $suggestions_route ); + + $last_updated_route = [ + [ + 'methods' => 'GET', + 'callback' => [ $this, 'get_last_updated' ], + 'permission_callback' => $edit_others_posts, + 'args' => [ + 'postId' => [ + 'type' => 'integer', + 'required' => true, + ], + ], + ], + ]; + + \register_rest_route( Main::API_V1_NAMESPACE, Base_Workouts_Route::WORKOUTS_ROUTE . self::LAST_UPDATED_ROUTE, $last_updated_route ); + + $cornerstone_data_route = [ + [ + 'methods' => 'GET', + 'callback' => [ $this, 'get_cornerstone_data' ], + 'permission_callback' => $edit_others_posts, + ], + ]; + + \register_rest_route( Main::API_V1_NAMESPACE, Base_Workouts_Route::WORKOUTS_ROUTE . self::CORNERSTONE_DATA_ROUTE, $cornerstone_data_route ); + + $enable_cornerstone_route = [ + [ + 'methods' => 'POST', + 'callback' => [ $this, 'enable_cornerstone' ], + 'permission_callback' => $edit_others_posts, + 'args' => [ + 'object_id' => [ + 'type' => 'integer', + 'required' => true, + ], + 'object_type' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ]; + + \register_rest_route( Main::API_V1_NAMESPACE, Base_Workouts_Route::WORKOUTS_ROUTE . self::ENABLE_CORNERSTONE, $enable_cornerstone_route ); + } + + /** + * Sets noindex on an indexable. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response the configuration of the workouts. + */ + public function noindex( $request ) { + if ( $request['object_type'] === 'post' ) { + WPSEO_Meta::set_value( 'meta-robots-noindex', 1, $request['object_id'] ); + } + elseif ( $request['object_type'] === 'term' ) { + WPSEO_Taxonomy_Meta::set_value( $request['object_id'], $request['object_sub_type'], 'noindex', 'noindex' ); + // Rebuild the indexable as WPSEO_Taxonomy_Meta does not trigger any actions on which term indexables are rebuild. + $indexable = $this->indexable_term_builder->build( $request['object_id'], $this->indexable_repository->find_by_id_and_type( $request['object_id'], $request['object_type'] ) ); + if ( \is_a( $indexable, Indexable::class ) ) { + $indexable->save(); + } + else { + return new WP_REST_Response( + [ 'json' => false ] + ); + } + } + + return new WP_REST_Response( + [ 'json' => true ] + ); + } + + /** + * Enables cornerstone on an indexable. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response the configuration of the workouts. + */ + public function enable_cornerstone( $request ) { + if ( $request['object_type'] === 'post' ) { + WPSEO_Meta::set_value( 'is_cornerstone', 1, $request['object_id'] ); + } + elseif ( $request['object_type'] === 'term' ) { + $term = \get_term( $request['object_id'] ); + WPSEO_Taxonomy_Meta::set_value( $request['object_id'], $term->taxonomy, 'is_cornerstone', '1' ); + // Rebuild the indexable as WPSEO_Taxonomy_Meta does not trigger any actions on which term indexables are rebuild. + $indexable = $this->indexable_term_builder->build( $request['object_id'], $this->indexable_repository->find_by_id_and_type( $request['object_id'], $request['object_type'] ) ); + if ( \is_a( $indexable, Indexable::class ) ) { + $indexable->save(); + } + else { + return new WP_REST_Response( + [ 'json' => false ] + ); + } + } + + return new WP_REST_Response( + [ 'json' => true ] + ); + } + + /** + * Removes an indexable and redirects it. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response the configuration of the workouts. + */ + public function remove_redirect( $request ) { + if ( $request['object_type'] === 'post' ) { + \add_filter( 'Yoast\WP\SEO\enable_notification_post_trash', '__return_false' ); + \wp_trash_post( $request['object_id'] ); + \remove_filter( 'Yoast\WP\SEO\enable_notification_post_trash', '__return_false' ); + } + elseif ( $request['object_type'] === 'term' ) { + \add_filter( 'Yoast\WP\SEO\enable_notification_term_delete', '__return_false' ); + \wp_delete_term( $request['object_id'], $request['object_sub_type'] ); + \remove_filter( 'Yoast\WP\SEO\enable_notification_term_delete', '__return_false' ); + } + else { + return new WP_REST_Response( + [ 'json' => false ] + ); + } + + $redirect = new WPSEO_Redirect( + $request['permalink'], + $request['redirect_url'], + '301', + 'plain' + ); + $redirect_manager = new WPSEO_Redirect_Manager( 'plain' ); + $redirect_manager->create_redirect( $redirect ); + return new WP_REST_Response( + [ 'json' => true ] + ); + } + + /** + * Sets noindex on an indexable. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response the configuration of the workouts. + */ + public function get_link_suggestions( $request ) { + $suggestions = $this->link_suggestions_action->get_indexable_suggestions_for_indexable( + $request['indexableId'], + 5, + false + ); + + foreach ( $suggestions as $index => $suggestion ) { + $suggestions[ $index ]['edit_link'] = ( $suggestion['object_type'] === 'post' ) ? \get_edit_post_link( $suggestion['object_id'] ) : \get_edit_term_link( $suggestion['object_id'] ); + } + + return new WP_REST_Response( + [ 'json' => $suggestions ] + ); + } + + /** + * Gets the cornerstone indexables + * + * @return WP_REST_Response the configuration of the workouts. + */ + public function get_cornerstone_data() { + $cornerstones = $this->indexable_repository->query() + ->where_raw( '( post_status= \'publish\' OR post_status IS NULL ) AND is_cornerstone = 1' ) + ->where_in( 'object_type', [ 'term', 'post' ] ) + ->where_in( 'object_sub_type', $this->get_public_sub_types() ) + ->order_by_asc( 'breadcrumb_title' ) + ->find_many(); + + $cornerstones = \array_map( [ $this->indexable_repository, 'ensure_permalink' ], $cornerstones ); + $cornerstones = \array_map( [ $this, 'map_subtypes_to_singular_name' ], $cornerstones ); + + $most_linked = $this->indexable_repository->query() + ->where_gt( 'incoming_link_count', 0 ) + ->where_not_null( 'incoming_link_count' ) + ->where_raw( '( post_status = \'publish\' OR post_status IS NULL )' ) + ->where_in( 'object_sub_type', $this->get_public_sub_types() ) + ->where_in( 'object_type', [ 'term', 'post' ] ) + ->where_raw( '( is_robots_noindex = 0 OR is_robots_noindex IS NULL )' ) + ->order_by_desc( 'incoming_link_count' ) + ->limit( 20 ) + ->find_many(); + $most_linked = \array_map( [ $this->indexable_repository, 'ensure_permalink' ], $most_linked ); + $most_linked = \array_map( [ $this, 'map_subtypes_to_singular_name' ], $most_linked ); + + return new WP_REST_Response( + [ + 'json' => [ + 'cornerstones' => $cornerstones, + 'mostLinked' => $most_linked, + ], + ] + ); + } + + /** + * Gets the last updated for a particular post Id. + * + * @param WP_REST_Request $request The request object. + * + * @return WP_REST_Response the configuration of the workouts. + */ + public function get_last_updated( $request ) { + $post = \get_post( $request['postId'] ); + + return new WP_REST_Response( + [ 'json' => $post->post_modified ] + ); + } + + /** + * Maps an array of indexables and replaces the object_sub_type with the singular name of that type. + * + * @param Indexable $indexable An Indexable. + * + * @return Indexable The new Indexable with the edited object_sub_type. + */ + public function map_subtypes_to_singular_name( Indexable $indexable ) { + if ( $indexable->object_type === 'post' ) { + $post_type_labels = \get_post_type_labels( \get_post_type_object( \get_post_type( $indexable->object_id ) ) ); + $indexable->object_sub_type = $post_type_labels->singular_name; + } + else { + $taxonomy_labels = \get_taxonomy_labels( \get_taxonomy( $indexable->object_sub_type ) ); + $indexable->object_sub_type = $taxonomy_labels->singular_name; + } + return $indexable; + } + + /** + * Get public sub types. + * + * @return array The subtypes. + */ + protected function get_public_sub_types() { + $object_sub_types = \array_values( + \array_merge( + $this->post_type_helper->get_public_post_types(), + \get_taxonomies( [ 'public' => true ] ) + ) + ); + + $excluded_post_types = \apply_filters( 'wpseo_indexable_excluded_post_types', [ 'attachment' ] ); + $object_sub_types = \array_diff( $object_sub_types, $excluded_post_types ); + return $object_sub_types; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/surfaces/helpers-surface.php b/wp/wp-content/plugins/wordpress-seo-premium/src/surfaces/helpers-surface.php new file mode 100644 index 00000000..3a61ab58 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/surfaces/helpers-surface.php @@ -0,0 +1,96 @@ +container = $container; + } + + /** + * Magic getter for getting helper classes. + * + * @param string $helper The helper to get. + * + * @return mixed The helper class. + */ + public function __get( $helper ) { + return $this->container->get( $this->get_helper_class( $helper ) ); + } + + /** + * Magic isset for ensuring helper exists. + * + * @param string $helper The helper to get. + * + * @return bool Whether the helper exists. + */ + public function __isset( $helper ) { + return $this->container->has( $this->get_helper_class( $helper ) ); + } + + /** + * Prevents setting dynamic properties. + * + * @param string $name The property name. + * @param mixed $value The property value. + * + * @return void + * + * @throws Forbidden_Property_Mutation_Exception Set is never meant to be called. + */ + public function __set( $name, $value ) { + throw Forbidden_Property_Mutation_Exception::cannot_set_because_property_is_immutable( $name ); + } + + /** + * Prevents unsetting dynamic properties. + * + * @param string $name The property name. + * + * @return void + * + * @throws Forbidden_Property_Mutation_Exception Unset is never meant to be called. + */ + public function __unset( $name ) { + throw Forbidden_Property_Mutation_Exception::cannot_unset_because_property_is_immutable( $name ); + } + + /** + * Gets the classname for a premium helper. + * + * @param string $helper The name of the helper. + * + * @return string The classname of the helper + */ + protected function get_helper_class( $helper ) { + $helper = \implode( '_', \array_map( 'ucfirst', \explode( '_', $helper ) ) ); + + return "Yoast\WP\SEO\Premium\Helpers\\{$helper}_Helper"; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/user-meta/framework/additional-contactmethods/mastodon.php b/wp/wp-content/plugins/wordpress-seo-premium/src/user-meta/framework/additional-contactmethods/mastodon.php new file mode 100644 index 00000000..e9d3a4c5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/user-meta/framework/additional-contactmethods/mastodon.php @@ -0,0 +1,30 @@ +mastodon = $mastodon; + } + + /** + * Registers action hook. + * + * @return void + */ + public function register_hooks(): void { + \add_filter( 'wpseo_additional_contactmethods', [ $this, 'add_contactmethods' ] ); + } + + /** + * Adds to the contactmethods the Premium contactmethods. + * + * @param array $contactmethods Currently set contactmethods. + * + * @return array Contactmethods with added Premium contactmethods. + */ + public function add_contactmethods( $contactmethods ) { + $premium_contactmethod = []; + $premium_contactmethod[] = $this->mastodon; + + return \array_merge( $contactmethods, $premium_contactmethod ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/src/wordpress/wrapper.php b/wp/wp-content/plugins/wordpress-seo-premium/src/wordpress/wrapper.php new file mode 100644 index 00000000..373dfae9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/src/wordpress/wrapper.php @@ -0,0 +1,76 @@ + + * 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/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/InstalledVersions.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/InstalledVersions.php new file mode 100644 index 00000000..01581949 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/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/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/LICENSE b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/LICENSE new file mode 100644 index 00000000..f27399a0 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/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/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_classmap.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_classmap.php new file mode 100644 index 00000000..db1843a6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_classmap.php @@ -0,0 +1,240 @@ + $vendorDir . '/composer/InstalledVersions.php', + 'WPSEO_CLI_Premium_Requirement' => $baseDir . '/cli/cli-premium-requirement.php', + 'WPSEO_CLI_Redirect_Base_Command' => $baseDir . '/cli/cli-redirect-base-command.php', + 'WPSEO_CLI_Redirect_Command_Namespace' => $baseDir . '/cli/cli-redirect-command-namespace.php', + 'WPSEO_CLI_Redirect_Create_Command' => $baseDir . '/cli/cli-redirect-create-command.php', + 'WPSEO_CLI_Redirect_Delete_Command' => $baseDir . '/cli/cli-redirect-delete-command.php', + 'WPSEO_CLI_Redirect_Follow_Command' => $baseDir . '/cli/cli-redirect-follow-command.php', + 'WPSEO_CLI_Redirect_Has_Command' => $baseDir . '/cli/cli-redirect-has-command.php', + 'WPSEO_CLI_Redirect_List_Command' => $baseDir . '/cli/cli-redirect-list-command.php', + 'WPSEO_CLI_Redirect_Update_Command' => $baseDir . '/cli/cli-redirect-update-command.php', + 'WPSEO_Custom_Fields_Plugin' => $baseDir . '/classes/custom-fields-plugin.php', + 'WPSEO_Executable_Redirect' => $baseDir . '/classes/redirect/executable-redirect.php', + 'WPSEO_Export_Keywords_CSV' => $baseDir . '/classes/export/export-keywords-csv.php', + 'WPSEO_Export_Keywords_Post_Presenter' => $baseDir . '/classes/export/export-keywords-post-presenter.php', + 'WPSEO_Export_Keywords_Post_Query' => $baseDir . '/classes/export/export-keywords-post-query.php', + 'WPSEO_Export_Keywords_Presenter' => $baseDir . '/classes/export/export-keywords-presenter-interface.php', + 'WPSEO_Export_Keywords_Query' => $baseDir . '/classes/export/export-keywords-query-interface.php', + 'WPSEO_Export_Keywords_Term_Presenter' => $baseDir . '/classes/export/export-keywords-term-presenter.php', + 'WPSEO_Export_Keywords_Term_Query' => $baseDir . '/classes/export/export-keywords-term-query.php', + 'WPSEO_Metabox_Link_Suggestions' => $baseDir . '/classes/metabox-link-suggestions.php', + 'WPSEO_Multi_Keyword' => $baseDir . '/classes/multi-keyword.php', + 'WPSEO_Post_Watcher' => $baseDir . '/classes/post-watcher.php', + 'WPSEO_Premium' => $baseDir . '/premium.php', + 'WPSEO_Premium_Asset_JS_L10n' => $baseDir . '/classes/premium-asset-js-l10n.php', + 'WPSEO_Premium_Assets' => $baseDir . '/classes/premium-assets.php', + 'WPSEO_Premium_Expose_Shortlinks' => $baseDir . '/classes/premium-expose-shortlinks.php', + 'WPSEO_Premium_Import_Manager' => $baseDir . '/classes/premium-import-manager.php', + 'WPSEO_Premium_Javascript_Strings' => $baseDir . '/classes/premium-javascript-strings.php', + 'WPSEO_Premium_Keyword_Export_Manager' => $baseDir . '/classes/premium-keyword-export-manager.php', + 'WPSEO_Premium_Metabox' => $baseDir . '/classes/premium-metabox.php', + 'WPSEO_Premium_Option' => $baseDir . '/classes/premium-option.php', + 'WPSEO_Premium_Orphaned_Content_Support' => $baseDir . '/classes/premium-orphaned-content-support.php', + 'WPSEO_Premium_Orphaned_Content_Utils' => $baseDir . '/classes/premium-orphaned-content-utils.php', + 'WPSEO_Premium_Orphaned_Post_Filter' => $baseDir . '/classes/premium-orphaned-post-filter.php', + 'WPSEO_Premium_Orphaned_Post_Query' => $baseDir . '/classes/premium-orphaned-post-query.php', + 'WPSEO_Premium_Prominent_Words_Support' => $baseDir . '/classes/premium-prominent-words-support.php', + 'WPSEO_Premium_Prominent_Words_Unindexed_Post_Query' => $baseDir . '/classes/premium-prominent-words-unindexed-post-query.php', + 'WPSEO_Premium_Prominent_Words_Versioning' => $baseDir . '/classes/premium-prominent-words-versioning.php', + 'WPSEO_Premium_Redirect_EndPoint' => $baseDir . '/classes/premium-redirect-endpoint.php', + 'WPSEO_Premium_Redirect_Export_Manager' => $baseDir . '/classes/premium-redirect-export-manager.php', + 'WPSEO_Premium_Redirect_Option' => $baseDir . '/classes/premium-redirect-option.php', + 'WPSEO_Premium_Redirect_Service' => $baseDir . '/classes/premium-redirect-service.php', + 'WPSEO_Premium_Redirect_Undo_EndPoint' => $baseDir . '/classes/redirect-undo-endpoint.php', + 'WPSEO_Premium_Register_Capabilities' => $baseDir . '/classes/premium-register-capabilities.php', + 'WPSEO_Premium_Stale_Cornerstone_Content_Filter' => $baseDir . '/classes/premium-stale-cornerstone-content-filter.php', + 'WPSEO_Product_Premium' => $baseDir . '/classes/product-premium.php', + 'WPSEO_Redirect' => $baseDir . '/classes/redirect/redirect.php', + 'WPSEO_Redirect_Abstract_Loader' => $baseDir . '/classes/redirect/loaders/redirect-abstract-loader.php', + 'WPSEO_Redirect_Abstract_Validation' => $baseDir . '/classes/redirect/validation/redirect-abstract-validation.php', + 'WPSEO_Redirect_Accessible_Validation' => $baseDir . '/classes/redirect/validation/redirect-accessible-validation.php', + 'WPSEO_Redirect_Ajax' => $baseDir . '/classes/redirect/redirect-ajax.php', + 'WPSEO_Redirect_Apache_Exporter' => $baseDir . '/classes/redirect/exporters/redirect-apache-exporter.php', + 'WPSEO_Redirect_CSV_Exporter' => $baseDir . '/classes/redirect/exporters/redirect-csv-exporter.php', + 'WPSEO_Redirect_CSV_Loader' => $baseDir . '/classes/redirect/loaders/redirect-csv-loader.php', + 'WPSEO_Redirect_Endpoint_Validation' => $baseDir . '/classes/redirect/validation/redirect-endpoint-validation.php', + 'WPSEO_Redirect_Exporter' => $baseDir . '/classes/redirect/exporters/redirect-exporter-interface.php', + 'WPSEO_Redirect_File_Exporter' => $baseDir . '/classes/redirect/exporters/redirect-file-exporter.php', + 'WPSEO_Redirect_File_Util' => $baseDir . '/classes/redirect/redirect-file-util.php', + 'WPSEO_Redirect_Form_Presenter' => $baseDir . '/classes/redirect/presenters/redirect-form-presenter.php', + 'WPSEO_Redirect_Formats' => $baseDir . '/classes/redirect/redirect-formats.php', + 'WPSEO_Redirect_Formatter' => $baseDir . '/classes/redirect/redirect-formatter.php', + 'WPSEO_Redirect_HTAccess_Loader' => $baseDir . '/classes/redirect/loaders/redirect-htaccess-loader.php', + 'WPSEO_Redirect_Htaccess_Exporter' => $baseDir . '/classes/redirect/exporters/redirect-htaccess-exporter.php', + 'WPSEO_Redirect_Htaccess_Util' => $baseDir . '/classes/redirect/redirect-htaccess-util.php', + 'WPSEO_Redirect_Import_Exception' => $baseDir . '/classes/redirect/redirect-import-exception.php', + 'WPSEO_Redirect_Importer' => $baseDir . '/classes/redirect/redirect-importer.php', + 'WPSEO_Redirect_Loader' => $baseDir . '/classes/redirect/loaders/redirect-loader-interface.php', + 'WPSEO_Redirect_Manager' => $baseDir . '/classes/redirect/redirect-manager.php', + 'WPSEO_Redirect_Nginx_Exporter' => $baseDir . '/classes/redirect/exporters/redirect-nginx-exporter.php', + 'WPSEO_Redirect_Option' => $baseDir . '/classes/redirect/redirect-option.php', + 'WPSEO_Redirect_Option_Exporter' => $baseDir . '/classes/redirect/exporters/redirect-option-exporter.php', + 'WPSEO_Redirect_Page' => $baseDir . '/classes/redirect/redirect-page.php', + 'WPSEO_Redirect_Page_Presenter' => $baseDir . '/classes/redirect/presenters/redirect-page-presenter.php', + 'WPSEO_Redirect_Presence_Validation' => $baseDir . '/classes/redirect/validation/redirect-presence-validation.php', + 'WPSEO_Redirect_Presenter' => $baseDir . '/classes/redirect/presenters/redirect-presenter-interface.php', + 'WPSEO_Redirect_Quick_Edit_Presenter' => $baseDir . '/classes/redirect/presenters/redirect-quick-edit-presenter.php', + 'WPSEO_Redirect_Redirection_Loader' => $baseDir . '/classes/redirect/loaders/redirect-redirection-loader.php', + 'WPSEO_Redirect_Relative_Origin_Validation' => $baseDir . '/classes/redirect/validation/redirect-relative-origin-validation.php', + 'WPSEO_Redirect_Safe_Redirect_Loader' => $baseDir . '/classes/redirect/loaders/redirect-safe-redirect-loader.php', + 'WPSEO_Redirect_Self_Redirect_Validation' => $baseDir . '/classes/redirect/validation/redirect-self-redirect-validation.php', + 'WPSEO_Redirect_Settings_Presenter' => $baseDir . '/classes/redirect/presenters/redirect-settings-presenter.php', + 'WPSEO_Redirect_Simple_301_Redirect_Loader' => $baseDir . '/classes/redirect/loaders/redirect-simple-301-redirect-loader.php', + 'WPSEO_Redirect_Sitemap_Filter' => $baseDir . '/classes/redirect/redirect-sitemap-filter.php', + 'WPSEO_Redirect_Subdirectory_Validation' => $baseDir . '/classes/redirect/validation/redirect-subdirectory-validation.php', + 'WPSEO_Redirect_Tab_Presenter' => $baseDir . '/classes/redirect/presenters/redirect-tab-presenter.php', + 'WPSEO_Redirect_Table' => $baseDir . '/classes/redirect/redirect-table.php', + 'WPSEO_Redirect_Table_Presenter' => $baseDir . '/classes/redirect/presenters/redirect-table-presenter.php', + 'WPSEO_Redirect_Types' => $baseDir . '/classes/redirect/redirect-types.php', + 'WPSEO_Redirect_Uniqueness_Validation' => $baseDir . '/classes/redirect/validation/redirect-uniqueness-validation.php', + 'WPSEO_Redirect_Upgrade' => $baseDir . '/classes/redirect/redirect-upgrade.php', + 'WPSEO_Redirect_Url_Formatter' => $baseDir . '/classes/redirect/redirect-url-formatter.php', + 'WPSEO_Redirect_Util' => $baseDir . '/classes/redirect/redirect-util.php', + 'WPSEO_Redirect_Validation' => $baseDir . '/classes/redirect/validation/redirect-validation-interface.php', + 'WPSEO_Redirect_Validator' => $baseDir . '/classes/redirect/redirect-validator.php', + 'WPSEO_Social_Previews' => $baseDir . '/classes/social-previews.php', + 'WPSEO_Term_Watcher' => $baseDir . '/classes/term-watcher.php', + 'WPSEO_Upgrade_Manager' => $baseDir . '/classes/upgrade-manager.php', + 'WPSEO_Validation_Error' => $baseDir . '/classes/validation-error.php', + 'WPSEO_Validation_Result' => $baseDir . '/classes/validation-result.php', + 'WPSEO_Validation_Warning' => $baseDir . '/classes/validation-warning.php', + 'WPSEO_Watcher' => $baseDir . '/classes/watcher.php', + 'Yoast\\WHIPv2\\Configuration' => $vendorDir . '/yoast/whip/src/Configuration.php', + 'Yoast\\WHIPv2\\Exceptions\\EmptyProperty' => $vendorDir . '/yoast/whip/src/Exceptions/EmptyProperty.php', + 'Yoast\\WHIPv2\\Exceptions\\InvalidOperatorType' => $vendorDir . '/yoast/whip/src/Exceptions/InvalidOperatorType.php', + 'Yoast\\WHIPv2\\Exceptions\\InvalidType' => $vendorDir . '/yoast/whip/src/Exceptions/InvalidType.php', + 'Yoast\\WHIPv2\\Exceptions\\InvalidVersionComparisonString' => $vendorDir . '/yoast/whip/src/Exceptions/InvalidVersionComparisonString.php', + 'Yoast\\WHIPv2\\Host' => $vendorDir . '/yoast/whip/src/Host.php', + 'Yoast\\WHIPv2\\Interfaces\\DismissStorage' => $vendorDir . '/yoast/whip/src/Interfaces/DismissStorage.php', + 'Yoast\\WHIPv2\\Interfaces\\Listener' => $vendorDir . '/yoast/whip/src/Interfaces/Listener.php', + 'Yoast\\WHIPv2\\Interfaces\\Message' => $vendorDir . '/yoast/whip/src/Interfaces/Message.php', + 'Yoast\\WHIPv2\\Interfaces\\MessagePresenter' => $vendorDir . '/yoast/whip/src/Interfaces/MessagePresenter.php', + 'Yoast\\WHIPv2\\Interfaces\\Requirement' => $vendorDir . '/yoast/whip/src/Interfaces/Requirement.php', + 'Yoast\\WHIPv2\\Interfaces\\VersionDetector' => $vendorDir . '/yoast/whip/src/Interfaces/VersionDetector.php', + 'Yoast\\WHIPv2\\MessageDismisser' => $vendorDir . '/yoast/whip/src/MessageDismisser.php', + 'Yoast\\WHIPv2\\MessageFormatter' => $vendorDir . '/yoast/whip/src/MessageFormatter.php', + 'Yoast\\WHIPv2\\MessagesManager' => $vendorDir . '/yoast/whip/src/MessagesManager.php', + 'Yoast\\WHIPv2\\Messages\\BasicMessage' => $vendorDir . '/yoast/whip/src/Messages/BasicMessage.php', + 'Yoast\\WHIPv2\\Messages\\HostMessage' => $vendorDir . '/yoast/whip/src/Messages/HostMessage.php', + 'Yoast\\WHIPv2\\Messages\\InvalidVersionRequirementMessage' => $vendorDir . '/yoast/whip/src/Messages/InvalidVersionRequirementMessage.php', + 'Yoast\\WHIPv2\\Messages\\NullMessage' => $vendorDir . '/yoast/whip/src/Messages/NullMessage.php', + 'Yoast\\WHIPv2\\Messages\\UpgradePhpMessage' => $vendorDir . '/yoast/whip/src/Messages/UpgradePhpMessage.php', + 'Yoast\\WHIPv2\\Presenters\\WPMessagePresenter' => $vendorDir . '/yoast/whip/src/Presenters/WPMessagePresenter.php', + 'Yoast\\WHIPv2\\RequirementsChecker' => $vendorDir . '/yoast/whip/src/RequirementsChecker.php', + 'Yoast\\WHIPv2\\VersionRequirement' => $vendorDir . '/yoast/whip/src/VersionRequirement.php', + 'Yoast\\WHIPv2\\WPDismissOption' => $vendorDir . '/yoast/whip/src/WPDismissOption.php', + 'Yoast\\WHIPv2\\WPMessageDismissListener' => $vendorDir . '/yoast/whip/src/WPMessageDismissListener.php', + 'Yoast\\WP\\SEO\\Config\\Migrations\\WpYoastPremiumImprovedInternalLinking' => $baseDir . '/src/config/migrations/20190715101200_WpYoastPremiumImprovedInternalLinking.php', + 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Siblings_Block' => $baseDir . '/classes/blocks/siblings-block.php', + 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Subpages_Block' => $baseDir . '/classes/blocks/subpages-block.php', + 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\TranslationsPress' => $baseDir . '/src/integrations/third-party/translationspress.php', + 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\Wincher_Keyphrases' => $baseDir . '/src/integrations/third-party/wincher-keyphrases.php', + 'Yoast\\WP\\SEO\\Models\\Prominent_Words' => $baseDir . '/src/models/prominent-words.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\AI_Generator_Action' => $baseDir . '/src/actions/ai-generator-action.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action' => $baseDir . '/src/actions/link-suggestions-action.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Complete_Action' => $baseDir . '/src/actions/prominent-words/complete-action.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action' => $baseDir . '/src/actions/prominent-words/content-action.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action' => $baseDir . '/src/actions/prominent-words/save-action.php', + 'Yoast\\WP\\SEO\\Premium\\Addon_Installer' => $baseDir . '/src/addon-installer.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Ai_Editor_Conditional' => $baseDir . '/src/conditionals/ai-editor-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Algolia_Enabled_Conditional' => $baseDir . '/src/conditionals/algolia-enabled-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Cornerstone_Enabled_Conditional' => $baseDir . '/src/conditionals/cornerstone-enabled-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\EDD_Conditional' => $baseDir . '/src/conditionals/edd-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Inclusive_Language_Enabled_Conditional' => $baseDir . '/src/conditionals/inclusive-language-enabled-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Term_Overview_Or_Ajax_Conditional' => $baseDir . '/src/conditionals/term-overview-or-ajax-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Yoast_Admin_Or_Introductions_Route_Conditional' => $baseDir . '/src/conditionals/yoast-admin-or-introductions-route-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Config\\Badge_Group_Names' => $baseDir . '/src/config/badge-group-names.php', + 'Yoast\\WP\\SEO\\Premium\\Config\\Migrations\\AddIndexOnIndexableIdAndStem' => $baseDir . '/src/config/migrations/20210827093024_AddIndexOnIndexableIdAndStem.php', + 'Yoast\\WP\\SEO\\Premium\\Database\\Migration_Runner_Premium' => $baseDir . '/src/database/migration-runner-premium.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Forbidden_Property_Mutation_Exception' => $baseDir . '/src/exceptions/forbidden-property-mutation-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Bad_Request_Exception' => $baseDir . '/src/exceptions/remote-request/bad-request-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Forbidden_Exception' => $baseDir . '/src/exceptions/remote-request/forbidden-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Internal_Server_Error_Exception' => $baseDir . '/src/exceptions/remote-request/internal-server-error-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Not_Found_Exception' => $baseDir . '/src/exceptions/remote-request/not-found-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Payment_Required_Exception' => $baseDir . '/src/exceptions/remote-request/payment-required-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Remote_Request_Exception' => $baseDir . '/src/exceptions/remote-request/remote-request-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Request_Timeout_Exception' => $baseDir . '/src/exceptions/remote-request/request-timeout-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Service_Unavailable_Exception' => $baseDir . '/src/exceptions/remote-request/service-unavailable-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Too_Many_Requests_Exception' => $baseDir . '/src/exceptions/remote-request/too-many-requests-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Unauthorized_Exception' => $baseDir . '/src/exceptions/remote-request/unauthorized-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\WP_Request_Exception' => $baseDir . '/src/exceptions/remote-request/wp-request-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Generated\\Cached_Container' => $baseDir . '/src/generated/container.php', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper' => $baseDir . '/src/helpers/ai-generator-helper.php', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper' => $baseDir . '/src/helpers/current-page-helper.php', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper' => $baseDir . '/src/helpers/prominent-words-helper.php', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Version_Helper' => $baseDir . '/src/helpers/version-helper.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Index_Now_Key' => $baseDir . '/src/initializers/index-now-key.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Introductions_Initializer' => $baseDir . '/src/initializers/introductions-initializer.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Plugin' => $baseDir . '/src/initializers/plugin.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Redirect_Handler' => $baseDir . '/src/initializers/redirect-handler.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Woocommerce' => $baseDir . '/src/initializers/woocommerce.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Wp_Cli_Initializer' => $baseDir . '/src/initializers/wp-cli-initializer.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Abstract_OpenGraph_Integration' => $baseDir . '/src/integrations/abstract-opengraph-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Consent_Integration' => $baseDir . '/src/integrations/admin/ai-consent-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Generator_Integration' => $baseDir . '/src/integrations/admin/ai-generator-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Column_Integration' => $baseDir . '/src/integrations/admin/cornerstone-column-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Taxonomy_Column_Integration' => $baseDir . '/src/integrations/admin/cornerstone-taxonomy-column-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Column_Integration' => $baseDir . '/src/integrations/admin/inclusive-language-column-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Filter_Integration' => $baseDir . '/src/integrations/admin/inclusive-language-filter-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Taxonomy_Column_Integration' => $baseDir . '/src/integrations/admin/inclusive-language-taxonomy-column-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Keyword_Integration' => $baseDir . '/src/integrations/admin/keyword-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Metabox_Formatter_Integration' => $baseDir . '/src/integrations/admin/metabox-formatter-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Plugin_Links_Integration' => $baseDir . '/src/integrations/admin/plugin-links-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Indexing_Integration' => $baseDir . '/src/integrations/admin/prominent-words/indexing-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Metabox_Integration' => $baseDir . '/src/integrations/admin/prominent-words/metabox-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Related_Keyphrase_Filter_Integration' => $baseDir . '/src/integrations/admin/related-keyphrase-filter-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Replacement_Variables_Integration' => $baseDir . '/src/integrations/admin/replacement-variables-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Settings_Integration' => $baseDir . '/src/integrations/admin/settings-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Thank_You_Page_Integration' => $baseDir . '/src/integrations/admin/thank-you-page-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Update_Premium_Notification' => $baseDir . '/src/integrations/admin/update-premium-notification.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\User_Profile_Integration' => $baseDir . '/src/integrations/admin/user-profile-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Workouts_Integration' => $baseDir . '/src/integrations/admin/workouts-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Alerts\\Ai_Generator_Tip_Notification' => $baseDir . '/src/integrations/alerts/ai-generator-tip-notification.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Estimated_Reading_Time_Block' => $baseDir . '/src/integrations/blocks/estimated-reading-time-block.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Related_Links_Block' => $baseDir . '/src/integrations/blocks/related-links-block.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Cleanup_Integration' => $baseDir . '/src/integrations/cleanup-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Front_End\\Robots_Txt_Integration' => $baseDir . '/src/integrations/front-end/robots-txt-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Frontend_Inspector' => $baseDir . '/src/integrations/frontend-inspector.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Index_Now_Ping' => $baseDir . '/src/integrations/index-now-ping.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Missing_Indexables_Count_Integration' => $baseDir . '/src/integrations/missing-indexables-count-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Author_Archive' => $baseDir . '/src/integrations/opengraph-author-archive.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Date_Archive' => $baseDir . '/src/integrations/opengraph-date-archive.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_PostType_Archive' => $baseDir . '/src/integrations/opengraph-posttype-archive.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Post_Type' => $baseDir . '/src/integrations/opengraph-post-type.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Term_Archive' => $baseDir . '/src/integrations/opengraph-term-archive.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Organization_Schema_Integration' => $baseDir . '/src/integrations/organization-schema-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Publishing_Principles_Schema_Integration' => $baseDir . '/src/integrations/publishing-principles-schema-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\AI_Generator_Route' => $baseDir . '/src/integrations/routes/ai-generator-route.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\Workouts_Routes_Integration' => $baseDir . '/src/integrations/routes/workouts-routes-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Algolia' => $baseDir . '/src/integrations/third-party/algolia.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\EDD' => $baseDir . '/src/integrations/third-party/edd.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Premium' => $baseDir . '/src/integrations/third-party/elementor-premium.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Preview' => $baseDir . '/src/integrations/third-party/elementor-preview.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Mastodon' => $baseDir . '/src/integrations/third-party/mastodon.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Upgrade_Integration' => $baseDir . '/src/integrations/upgrade-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\User_Profile_Integration' => $baseDir . '/src/integrations/user-profile-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Prominent_Words_Watcher' => $baseDir . '/src/integrations/watchers/prominent-words-watcher.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Stale_Cornerstone_Content_Watcher' => $baseDir . '/src/integrations/watchers/stale-cornerstone-content-watcher.php', + 'Yoast\\WP\\SEO\\Premium\\Introductions\\Application\\Ai_Generate_Titles_And_Descriptions_Introduction' => $baseDir . '/src/introductions/application/ai-generate-titles-and-descriptions-introduction.php', + 'Yoast\\WP\\SEO\\Premium\\Main' => $baseDir . '/src/main.php', + 'Yoast\\WP\\SEO\\Premium\\Presenters\\Icons\\Checkmark_Icon_Presenter' => $baseDir . '/src/presenters/icons/checkmark-icon-presenter.php', + 'Yoast\\WP\\SEO\\Premium\\Presenters\\Icons\\Cross_Icon_Presenter' => $baseDir . '/src/presenters/icons/cross-icon-presenter.php', + 'Yoast\\WP\\SEO\\Premium\\Presenters\\Icons\\Icon_Presenter' => $baseDir . '/src/presenters/icons/icon-presenter.php', + 'Yoast\\WP\\SEO\\Premium\\Presenters\\Mastodon_Link_Presenter' => $baseDir . '/src/presenters/mastodon-link-presenter.php', + 'Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository' => $baseDir . '/src/repositories/prominent-words-repository.php', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Link_Suggestions_Route' => $baseDir . '/src/routes/link-suggestions-route.php', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Prominent_Words_Route' => $baseDir . '/src/routes/prominent-words-route.php', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Workouts_Route' => $baseDir . '/src/routes/workouts-route.php', + 'Yoast\\WP\\SEO\\Premium\\Surfaces\\Helpers_Surface' => $baseDir . '/src/surfaces/helpers-surface.php', + 'Yoast\\WP\\SEO\\Premium\\User_Meta\\Framework\\Additional_Contactmethods\\Mastodon' => $baseDir . '/src/user-meta/framework/additional-contactmethods/mastodon.php', + 'Yoast\\WP\\SEO\\Premium\\User_Meta\\User_Interface\\Additional_Contactmethods_Integration' => $baseDir . '/src/user-meta/user-interface/additional-contactmethods-integration.php', + 'Yoast\\WP\\SEO\\Premium\\WordPress\\Wrapper' => $baseDir . '/src/wordpress/wrapper.php', +); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_files.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_files.php new file mode 100644 index 00000000..6f7dfd5c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_files.php @@ -0,0 +1,10 @@ + $vendorDir . '/yoast/whip/src/Facades/wordpress.php', +); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_namespaces.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_namespaces.php new file mode 100644 index 00000000..b7fc0125 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_namespaces.php @@ -0,0 +1,9 @@ + array($vendorDir . '/yoast/whip/src'), + 'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'), +); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_real.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_real.php new file mode 100644 index 00000000..ee523b30 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_real.php @@ -0,0 +1,71 @@ += 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\ComposerStaticInit6a21570359fb0970a74d26d7d2ed77bc::getInitializer($loader)); + } else { + $classMap = require __DIR__ . '/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + } + + $loader->setClassMapAuthoritative(true); + $loader->register(true); + + if ($useStaticLoader) { + $includeFiles = Composer\Autoload\ComposerStaticInit6a21570359fb0970a74d26d7d2ed77bc::$files; + } else { + $includeFiles = require __DIR__ . '/autoload_files.php'; + } + foreach ($includeFiles as $fileIdentifier => $file) { + composerRequire6a21570359fb0970a74d26d7d2ed77bc($fileIdentifier, $file); + } + + return $loader; + } +} + +/** + * @param string $fileIdentifier + * @param string $file + * @return void + */ +function composerRequire6a21570359fb0970a74d26d7d2ed77bc($fileIdentifier, $file) +{ + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; + + require $file; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_static.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_static.php new file mode 100644 index 00000000..84e74dee --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/autoload_static.php @@ -0,0 +1,278 @@ + __DIR__ . '/..' . '/yoast/whip/src/Facades/wordpress.php', + ); + + public static $prefixLengthsPsr4 = array ( + 'Y' => + array ( + 'Yoast\\WHIPv2\\' => 13, + ), + 'C' => + array ( + 'Composer\\Installers\\' => 20, + ), + ); + + public static $prefixDirsPsr4 = array ( + 'Yoast\\WHIPv2\\' => + array ( + 0 => __DIR__ . '/..' . '/yoast/whip/src', + ), + 'Composer\\Installers\\' => + array ( + 0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers', + ), + ); + + public static $classMap = array ( + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + 'WPSEO_CLI_Premium_Requirement' => __DIR__ . '/../..' . '/cli/cli-premium-requirement.php', + 'WPSEO_CLI_Redirect_Base_Command' => __DIR__ . '/../..' . '/cli/cli-redirect-base-command.php', + 'WPSEO_CLI_Redirect_Command_Namespace' => __DIR__ . '/../..' . '/cli/cli-redirect-command-namespace.php', + 'WPSEO_CLI_Redirect_Create_Command' => __DIR__ . '/../..' . '/cli/cli-redirect-create-command.php', + 'WPSEO_CLI_Redirect_Delete_Command' => __DIR__ . '/../..' . '/cli/cli-redirect-delete-command.php', + 'WPSEO_CLI_Redirect_Follow_Command' => __DIR__ . '/../..' . '/cli/cli-redirect-follow-command.php', + 'WPSEO_CLI_Redirect_Has_Command' => __DIR__ . '/../..' . '/cli/cli-redirect-has-command.php', + 'WPSEO_CLI_Redirect_List_Command' => __DIR__ . '/../..' . '/cli/cli-redirect-list-command.php', + 'WPSEO_CLI_Redirect_Update_Command' => __DIR__ . '/../..' . '/cli/cli-redirect-update-command.php', + 'WPSEO_Custom_Fields_Plugin' => __DIR__ . '/../..' . '/classes/custom-fields-plugin.php', + 'WPSEO_Executable_Redirect' => __DIR__ . '/../..' . '/classes/redirect/executable-redirect.php', + 'WPSEO_Export_Keywords_CSV' => __DIR__ . '/../..' . '/classes/export/export-keywords-csv.php', + 'WPSEO_Export_Keywords_Post_Presenter' => __DIR__ . '/../..' . '/classes/export/export-keywords-post-presenter.php', + 'WPSEO_Export_Keywords_Post_Query' => __DIR__ . '/../..' . '/classes/export/export-keywords-post-query.php', + 'WPSEO_Export_Keywords_Presenter' => __DIR__ . '/../..' . '/classes/export/export-keywords-presenter-interface.php', + 'WPSEO_Export_Keywords_Query' => __DIR__ . '/../..' . '/classes/export/export-keywords-query-interface.php', + 'WPSEO_Export_Keywords_Term_Presenter' => __DIR__ . '/../..' . '/classes/export/export-keywords-term-presenter.php', + 'WPSEO_Export_Keywords_Term_Query' => __DIR__ . '/../..' . '/classes/export/export-keywords-term-query.php', + 'WPSEO_Metabox_Link_Suggestions' => __DIR__ . '/../..' . '/classes/metabox-link-suggestions.php', + 'WPSEO_Multi_Keyword' => __DIR__ . '/../..' . '/classes/multi-keyword.php', + 'WPSEO_Post_Watcher' => __DIR__ . '/../..' . '/classes/post-watcher.php', + 'WPSEO_Premium' => __DIR__ . '/../..' . '/premium.php', + 'WPSEO_Premium_Asset_JS_L10n' => __DIR__ . '/../..' . '/classes/premium-asset-js-l10n.php', + 'WPSEO_Premium_Assets' => __DIR__ . '/../..' . '/classes/premium-assets.php', + 'WPSEO_Premium_Expose_Shortlinks' => __DIR__ . '/../..' . '/classes/premium-expose-shortlinks.php', + 'WPSEO_Premium_Import_Manager' => __DIR__ . '/../..' . '/classes/premium-import-manager.php', + 'WPSEO_Premium_Javascript_Strings' => __DIR__ . '/../..' . '/classes/premium-javascript-strings.php', + 'WPSEO_Premium_Keyword_Export_Manager' => __DIR__ . '/../..' . '/classes/premium-keyword-export-manager.php', + 'WPSEO_Premium_Metabox' => __DIR__ . '/../..' . '/classes/premium-metabox.php', + 'WPSEO_Premium_Option' => __DIR__ . '/../..' . '/classes/premium-option.php', + 'WPSEO_Premium_Orphaned_Content_Support' => __DIR__ . '/../..' . '/classes/premium-orphaned-content-support.php', + 'WPSEO_Premium_Orphaned_Content_Utils' => __DIR__ . '/../..' . '/classes/premium-orphaned-content-utils.php', + 'WPSEO_Premium_Orphaned_Post_Filter' => __DIR__ . '/../..' . '/classes/premium-orphaned-post-filter.php', + 'WPSEO_Premium_Orphaned_Post_Query' => __DIR__ . '/../..' . '/classes/premium-orphaned-post-query.php', + 'WPSEO_Premium_Prominent_Words_Support' => __DIR__ . '/../..' . '/classes/premium-prominent-words-support.php', + 'WPSEO_Premium_Prominent_Words_Unindexed_Post_Query' => __DIR__ . '/../..' . '/classes/premium-prominent-words-unindexed-post-query.php', + 'WPSEO_Premium_Prominent_Words_Versioning' => __DIR__ . '/../..' . '/classes/premium-prominent-words-versioning.php', + 'WPSEO_Premium_Redirect_EndPoint' => __DIR__ . '/../..' . '/classes/premium-redirect-endpoint.php', + 'WPSEO_Premium_Redirect_Export_Manager' => __DIR__ . '/../..' . '/classes/premium-redirect-export-manager.php', + 'WPSEO_Premium_Redirect_Option' => __DIR__ . '/../..' . '/classes/premium-redirect-option.php', + 'WPSEO_Premium_Redirect_Service' => __DIR__ . '/../..' . '/classes/premium-redirect-service.php', + 'WPSEO_Premium_Redirect_Undo_EndPoint' => __DIR__ . '/../..' . '/classes/redirect-undo-endpoint.php', + 'WPSEO_Premium_Register_Capabilities' => __DIR__ . '/../..' . '/classes/premium-register-capabilities.php', + 'WPSEO_Premium_Stale_Cornerstone_Content_Filter' => __DIR__ . '/../..' . '/classes/premium-stale-cornerstone-content-filter.php', + 'WPSEO_Product_Premium' => __DIR__ . '/../..' . '/classes/product-premium.php', + 'WPSEO_Redirect' => __DIR__ . '/../..' . '/classes/redirect/redirect.php', + 'WPSEO_Redirect_Abstract_Loader' => __DIR__ . '/../..' . '/classes/redirect/loaders/redirect-abstract-loader.php', + 'WPSEO_Redirect_Abstract_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-abstract-validation.php', + 'WPSEO_Redirect_Accessible_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-accessible-validation.php', + 'WPSEO_Redirect_Ajax' => __DIR__ . '/../..' . '/classes/redirect/redirect-ajax.php', + 'WPSEO_Redirect_Apache_Exporter' => __DIR__ . '/../..' . '/classes/redirect/exporters/redirect-apache-exporter.php', + 'WPSEO_Redirect_CSV_Exporter' => __DIR__ . '/../..' . '/classes/redirect/exporters/redirect-csv-exporter.php', + 'WPSEO_Redirect_CSV_Loader' => __DIR__ . '/../..' . '/classes/redirect/loaders/redirect-csv-loader.php', + 'WPSEO_Redirect_Endpoint_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-endpoint-validation.php', + 'WPSEO_Redirect_Exporter' => __DIR__ . '/../..' . '/classes/redirect/exporters/redirect-exporter-interface.php', + 'WPSEO_Redirect_File_Exporter' => __DIR__ . '/../..' . '/classes/redirect/exporters/redirect-file-exporter.php', + 'WPSEO_Redirect_File_Util' => __DIR__ . '/../..' . '/classes/redirect/redirect-file-util.php', + 'WPSEO_Redirect_Form_Presenter' => __DIR__ . '/../..' . '/classes/redirect/presenters/redirect-form-presenter.php', + 'WPSEO_Redirect_Formats' => __DIR__ . '/../..' . '/classes/redirect/redirect-formats.php', + 'WPSEO_Redirect_Formatter' => __DIR__ . '/../..' . '/classes/redirect/redirect-formatter.php', + 'WPSEO_Redirect_HTAccess_Loader' => __DIR__ . '/../..' . '/classes/redirect/loaders/redirect-htaccess-loader.php', + 'WPSEO_Redirect_Htaccess_Exporter' => __DIR__ . '/../..' . '/classes/redirect/exporters/redirect-htaccess-exporter.php', + 'WPSEO_Redirect_Htaccess_Util' => __DIR__ . '/../..' . '/classes/redirect/redirect-htaccess-util.php', + 'WPSEO_Redirect_Import_Exception' => __DIR__ . '/../..' . '/classes/redirect/redirect-import-exception.php', + 'WPSEO_Redirect_Importer' => __DIR__ . '/../..' . '/classes/redirect/redirect-importer.php', + 'WPSEO_Redirect_Loader' => __DIR__ . '/../..' . '/classes/redirect/loaders/redirect-loader-interface.php', + 'WPSEO_Redirect_Manager' => __DIR__ . '/../..' . '/classes/redirect/redirect-manager.php', + 'WPSEO_Redirect_Nginx_Exporter' => __DIR__ . '/../..' . '/classes/redirect/exporters/redirect-nginx-exporter.php', + 'WPSEO_Redirect_Option' => __DIR__ . '/../..' . '/classes/redirect/redirect-option.php', + 'WPSEO_Redirect_Option_Exporter' => __DIR__ . '/../..' . '/classes/redirect/exporters/redirect-option-exporter.php', + 'WPSEO_Redirect_Page' => __DIR__ . '/../..' . '/classes/redirect/redirect-page.php', + 'WPSEO_Redirect_Page_Presenter' => __DIR__ . '/../..' . '/classes/redirect/presenters/redirect-page-presenter.php', + 'WPSEO_Redirect_Presence_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-presence-validation.php', + 'WPSEO_Redirect_Presenter' => __DIR__ . '/../..' . '/classes/redirect/presenters/redirect-presenter-interface.php', + 'WPSEO_Redirect_Quick_Edit_Presenter' => __DIR__ . '/../..' . '/classes/redirect/presenters/redirect-quick-edit-presenter.php', + 'WPSEO_Redirect_Redirection_Loader' => __DIR__ . '/../..' . '/classes/redirect/loaders/redirect-redirection-loader.php', + 'WPSEO_Redirect_Relative_Origin_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-relative-origin-validation.php', + 'WPSEO_Redirect_Safe_Redirect_Loader' => __DIR__ . '/../..' . '/classes/redirect/loaders/redirect-safe-redirect-loader.php', + 'WPSEO_Redirect_Self_Redirect_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-self-redirect-validation.php', + 'WPSEO_Redirect_Settings_Presenter' => __DIR__ . '/../..' . '/classes/redirect/presenters/redirect-settings-presenter.php', + 'WPSEO_Redirect_Simple_301_Redirect_Loader' => __DIR__ . '/../..' . '/classes/redirect/loaders/redirect-simple-301-redirect-loader.php', + 'WPSEO_Redirect_Sitemap_Filter' => __DIR__ . '/../..' . '/classes/redirect/redirect-sitemap-filter.php', + 'WPSEO_Redirect_Subdirectory_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-subdirectory-validation.php', + 'WPSEO_Redirect_Tab_Presenter' => __DIR__ . '/../..' . '/classes/redirect/presenters/redirect-tab-presenter.php', + 'WPSEO_Redirect_Table' => __DIR__ . '/../..' . '/classes/redirect/redirect-table.php', + 'WPSEO_Redirect_Table_Presenter' => __DIR__ . '/../..' . '/classes/redirect/presenters/redirect-table-presenter.php', + 'WPSEO_Redirect_Types' => __DIR__ . '/../..' . '/classes/redirect/redirect-types.php', + 'WPSEO_Redirect_Uniqueness_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-uniqueness-validation.php', + 'WPSEO_Redirect_Upgrade' => __DIR__ . '/../..' . '/classes/redirect/redirect-upgrade.php', + 'WPSEO_Redirect_Url_Formatter' => __DIR__ . '/../..' . '/classes/redirect/redirect-url-formatter.php', + 'WPSEO_Redirect_Util' => __DIR__ . '/../..' . '/classes/redirect/redirect-util.php', + 'WPSEO_Redirect_Validation' => __DIR__ . '/../..' . '/classes/redirect/validation/redirect-validation-interface.php', + 'WPSEO_Redirect_Validator' => __DIR__ . '/../..' . '/classes/redirect/redirect-validator.php', + 'WPSEO_Social_Previews' => __DIR__ . '/../..' . '/classes/social-previews.php', + 'WPSEO_Term_Watcher' => __DIR__ . '/../..' . '/classes/term-watcher.php', + 'WPSEO_Upgrade_Manager' => __DIR__ . '/../..' . '/classes/upgrade-manager.php', + 'WPSEO_Validation_Error' => __DIR__ . '/../..' . '/classes/validation-error.php', + 'WPSEO_Validation_Result' => __DIR__ . '/../..' . '/classes/validation-result.php', + 'WPSEO_Validation_Warning' => __DIR__ . '/../..' . '/classes/validation-warning.php', + 'WPSEO_Watcher' => __DIR__ . '/../..' . '/classes/watcher.php', + 'Yoast\\WHIPv2\\Configuration' => __DIR__ . '/..' . '/yoast/whip/src/Configuration.php', + 'Yoast\\WHIPv2\\Exceptions\\EmptyProperty' => __DIR__ . '/..' . '/yoast/whip/src/Exceptions/EmptyProperty.php', + 'Yoast\\WHIPv2\\Exceptions\\InvalidOperatorType' => __DIR__ . '/..' . '/yoast/whip/src/Exceptions/InvalidOperatorType.php', + 'Yoast\\WHIPv2\\Exceptions\\InvalidType' => __DIR__ . '/..' . '/yoast/whip/src/Exceptions/InvalidType.php', + 'Yoast\\WHIPv2\\Exceptions\\InvalidVersionComparisonString' => __DIR__ . '/..' . '/yoast/whip/src/Exceptions/InvalidVersionComparisonString.php', + 'Yoast\\WHIPv2\\Host' => __DIR__ . '/..' . '/yoast/whip/src/Host.php', + 'Yoast\\WHIPv2\\Interfaces\\DismissStorage' => __DIR__ . '/..' . '/yoast/whip/src/Interfaces/DismissStorage.php', + 'Yoast\\WHIPv2\\Interfaces\\Listener' => __DIR__ . '/..' . '/yoast/whip/src/Interfaces/Listener.php', + 'Yoast\\WHIPv2\\Interfaces\\Message' => __DIR__ . '/..' . '/yoast/whip/src/Interfaces/Message.php', + 'Yoast\\WHIPv2\\Interfaces\\MessagePresenter' => __DIR__ . '/..' . '/yoast/whip/src/Interfaces/MessagePresenter.php', + 'Yoast\\WHIPv2\\Interfaces\\Requirement' => __DIR__ . '/..' . '/yoast/whip/src/Interfaces/Requirement.php', + 'Yoast\\WHIPv2\\Interfaces\\VersionDetector' => __DIR__ . '/..' . '/yoast/whip/src/Interfaces/VersionDetector.php', + 'Yoast\\WHIPv2\\MessageDismisser' => __DIR__ . '/..' . '/yoast/whip/src/MessageDismisser.php', + 'Yoast\\WHIPv2\\MessageFormatter' => __DIR__ . '/..' . '/yoast/whip/src/MessageFormatter.php', + 'Yoast\\WHIPv2\\MessagesManager' => __DIR__ . '/..' . '/yoast/whip/src/MessagesManager.php', + 'Yoast\\WHIPv2\\Messages\\BasicMessage' => __DIR__ . '/..' . '/yoast/whip/src/Messages/BasicMessage.php', + 'Yoast\\WHIPv2\\Messages\\HostMessage' => __DIR__ . '/..' . '/yoast/whip/src/Messages/HostMessage.php', + 'Yoast\\WHIPv2\\Messages\\InvalidVersionRequirementMessage' => __DIR__ . '/..' . '/yoast/whip/src/Messages/InvalidVersionRequirementMessage.php', + 'Yoast\\WHIPv2\\Messages\\NullMessage' => __DIR__ . '/..' . '/yoast/whip/src/Messages/NullMessage.php', + 'Yoast\\WHIPv2\\Messages\\UpgradePhpMessage' => __DIR__ . '/..' . '/yoast/whip/src/Messages/UpgradePhpMessage.php', + 'Yoast\\WHIPv2\\Presenters\\WPMessagePresenter' => __DIR__ . '/..' . '/yoast/whip/src/Presenters/WPMessagePresenter.php', + 'Yoast\\WHIPv2\\RequirementsChecker' => __DIR__ . '/..' . '/yoast/whip/src/RequirementsChecker.php', + 'Yoast\\WHIPv2\\VersionRequirement' => __DIR__ . '/..' . '/yoast/whip/src/VersionRequirement.php', + 'Yoast\\WHIPv2\\WPDismissOption' => __DIR__ . '/..' . '/yoast/whip/src/WPDismissOption.php', + 'Yoast\\WHIPv2\\WPMessageDismissListener' => __DIR__ . '/..' . '/yoast/whip/src/WPMessageDismissListener.php', + 'Yoast\\WP\\SEO\\Config\\Migrations\\WpYoastPremiumImprovedInternalLinking' => __DIR__ . '/../..' . '/src/config/migrations/20190715101200_WpYoastPremiumImprovedInternalLinking.php', + 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Siblings_Block' => __DIR__ . '/../..' . '/classes/blocks/siblings-block.php', + 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Subpages_Block' => __DIR__ . '/../..' . '/classes/blocks/subpages-block.php', + 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\TranslationsPress' => __DIR__ . '/../..' . '/src/integrations/third-party/translationspress.php', + 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\Wincher_Keyphrases' => __DIR__ . '/../..' . '/src/integrations/third-party/wincher-keyphrases.php', + 'Yoast\\WP\\SEO\\Models\\Prominent_Words' => __DIR__ . '/../..' . '/src/models/prominent-words.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\AI_Generator_Action' => __DIR__ . '/../..' . '/src/actions/ai-generator-action.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Link_Suggestions_Action' => __DIR__ . '/../..' . '/src/actions/link-suggestions-action.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Complete_Action' => __DIR__ . '/../..' . '/src/actions/prominent-words/complete-action.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Content_Action' => __DIR__ . '/../..' . '/src/actions/prominent-words/content-action.php', + 'Yoast\\WP\\SEO\\Premium\\Actions\\Prominent_Words\\Save_Action' => __DIR__ . '/../..' . '/src/actions/prominent-words/save-action.php', + 'Yoast\\WP\\SEO\\Premium\\Addon_Installer' => __DIR__ . '/../..' . '/src/addon-installer.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Ai_Editor_Conditional' => __DIR__ . '/../..' . '/src/conditionals/ai-editor-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Algolia_Enabled_Conditional' => __DIR__ . '/../..' . '/src/conditionals/algolia-enabled-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Cornerstone_Enabled_Conditional' => __DIR__ . '/../..' . '/src/conditionals/cornerstone-enabled-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\EDD_Conditional' => __DIR__ . '/../..' . '/src/conditionals/edd-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Inclusive_Language_Enabled_Conditional' => __DIR__ . '/../..' . '/src/conditionals/inclusive-language-enabled-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Term_Overview_Or_Ajax_Conditional' => __DIR__ . '/../..' . '/src/conditionals/term-overview-or-ajax-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Conditionals\\Yoast_Admin_Or_Introductions_Route_Conditional' => __DIR__ . '/../..' . '/src/conditionals/yoast-admin-or-introductions-route-conditional.php', + 'Yoast\\WP\\SEO\\Premium\\Config\\Badge_Group_Names' => __DIR__ . '/../..' . '/src/config/badge-group-names.php', + 'Yoast\\WP\\SEO\\Premium\\Config\\Migrations\\AddIndexOnIndexableIdAndStem' => __DIR__ . '/../..' . '/src/config/migrations/20210827093024_AddIndexOnIndexableIdAndStem.php', + 'Yoast\\WP\\SEO\\Premium\\Database\\Migration_Runner_Premium' => __DIR__ . '/../..' . '/src/database/migration-runner-premium.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Forbidden_Property_Mutation_Exception' => __DIR__ . '/../..' . '/src/exceptions/forbidden-property-mutation-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Bad_Request_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/bad-request-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Forbidden_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/forbidden-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Internal_Server_Error_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/internal-server-error-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Not_Found_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/not-found-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Payment_Required_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/payment-required-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Remote_Request_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/remote-request-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Request_Timeout_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/request-timeout-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Service_Unavailable_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/service-unavailable-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Too_Many_Requests_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/too-many-requests-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\Unauthorized_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/unauthorized-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Exceptions\\Remote_Request\\WP_Request_Exception' => __DIR__ . '/../..' . '/src/exceptions/remote-request/wp-request-exception.php', + 'Yoast\\WP\\SEO\\Premium\\Generated\\Cached_Container' => __DIR__ . '/../..' . '/src/generated/container.php', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\AI_Generator_Helper' => __DIR__ . '/../..' . '/src/helpers/ai-generator-helper.php', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Current_Page_Helper' => __DIR__ . '/../..' . '/src/helpers/current-page-helper.php', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Prominent_Words_Helper' => __DIR__ . '/../..' . '/src/helpers/prominent-words-helper.php', + 'Yoast\\WP\\SEO\\Premium\\Helpers\\Version_Helper' => __DIR__ . '/../..' . '/src/helpers/version-helper.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Index_Now_Key' => __DIR__ . '/../..' . '/src/initializers/index-now-key.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Introductions_Initializer' => __DIR__ . '/../..' . '/src/initializers/introductions-initializer.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Plugin' => __DIR__ . '/../..' . '/src/initializers/plugin.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Redirect_Handler' => __DIR__ . '/../..' . '/src/initializers/redirect-handler.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Woocommerce' => __DIR__ . '/../..' . '/src/initializers/woocommerce.php', + 'Yoast\\WP\\SEO\\Premium\\Initializers\\Wp_Cli_Initializer' => __DIR__ . '/../..' . '/src/initializers/wp-cli-initializer.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Abstract_OpenGraph_Integration' => __DIR__ . '/../..' . '/src/integrations/abstract-opengraph-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Consent_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/ai-consent-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Ai_Generator_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/ai-generator-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Column_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/cornerstone-column-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Cornerstone_Taxonomy_Column_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/cornerstone-taxonomy-column-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Column_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/inclusive-language-column-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Filter_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/inclusive-language-filter-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Inclusive_Language_Taxonomy_Column_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/inclusive-language-taxonomy-column-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Keyword_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/keyword-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Metabox_Formatter_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/metabox-formatter-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Plugin_Links_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/plugin-links-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Indexing_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/prominent-words/indexing-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Prominent_Words\\Metabox_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/prominent-words/metabox-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Related_Keyphrase_Filter_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/related-keyphrase-filter-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Replacement_Variables_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/replacement-variables-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Settings_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/settings-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Thank_You_Page_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/thank-you-page-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Update_Premium_Notification' => __DIR__ . '/../..' . '/src/integrations/admin/update-premium-notification.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\User_Profile_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/user-profile-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Admin\\Workouts_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/workouts-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Alerts\\Ai_Generator_Tip_Notification' => __DIR__ . '/../..' . '/src/integrations/alerts/ai-generator-tip-notification.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Estimated_Reading_Time_Block' => __DIR__ . '/../..' . '/src/integrations/blocks/estimated-reading-time-block.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Blocks\\Related_Links_Block' => __DIR__ . '/../..' . '/src/integrations/blocks/related-links-block.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Cleanup_Integration' => __DIR__ . '/../..' . '/src/integrations/cleanup-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Front_End\\Robots_Txt_Integration' => __DIR__ . '/../..' . '/src/integrations/front-end/robots-txt-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Frontend_Inspector' => __DIR__ . '/../..' . '/src/integrations/frontend-inspector.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Index_Now_Ping' => __DIR__ . '/../..' . '/src/integrations/index-now-ping.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Missing_Indexables_Count_Integration' => __DIR__ . '/../..' . '/src/integrations/missing-indexables-count-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Author_Archive' => __DIR__ . '/../..' . '/src/integrations/opengraph-author-archive.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Date_Archive' => __DIR__ . '/../..' . '/src/integrations/opengraph-date-archive.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_PostType_Archive' => __DIR__ . '/../..' . '/src/integrations/opengraph-posttype-archive.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Post_Type' => __DIR__ . '/../..' . '/src/integrations/opengraph-post-type.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\OpenGraph_Term_Archive' => __DIR__ . '/../..' . '/src/integrations/opengraph-term-archive.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Organization_Schema_Integration' => __DIR__ . '/../..' . '/src/integrations/organization-schema-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Publishing_Principles_Schema_Integration' => __DIR__ . '/../..' . '/src/integrations/publishing-principles-schema-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\AI_Generator_Route' => __DIR__ . '/../..' . '/src/integrations/routes/ai-generator-route.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Routes\\Workouts_Routes_Integration' => __DIR__ . '/../..' . '/src/integrations/routes/workouts-routes-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Algolia' => __DIR__ . '/../..' . '/src/integrations/third-party/algolia.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\EDD' => __DIR__ . '/../..' . '/src/integrations/third-party/edd.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Premium' => __DIR__ . '/../..' . '/src/integrations/third-party/elementor-premium.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Elementor_Preview' => __DIR__ . '/../..' . '/src/integrations/third-party/elementor-preview.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Third_Party\\Mastodon' => __DIR__ . '/../..' . '/src/integrations/third-party/mastodon.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Upgrade_Integration' => __DIR__ . '/../..' . '/src/integrations/upgrade-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\User_Profile_Integration' => __DIR__ . '/../..' . '/src/integrations/user-profile-integration.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Prominent_Words_Watcher' => __DIR__ . '/../..' . '/src/integrations/watchers/prominent-words-watcher.php', + 'Yoast\\WP\\SEO\\Premium\\Integrations\\Watchers\\Stale_Cornerstone_Content_Watcher' => __DIR__ . '/../..' . '/src/integrations/watchers/stale-cornerstone-content-watcher.php', + 'Yoast\\WP\\SEO\\Premium\\Introductions\\Application\\Ai_Generate_Titles_And_Descriptions_Introduction' => __DIR__ . '/../..' . '/src/introductions/application/ai-generate-titles-and-descriptions-introduction.php', + 'Yoast\\WP\\SEO\\Premium\\Main' => __DIR__ . '/../..' . '/src/main.php', + 'Yoast\\WP\\SEO\\Premium\\Presenters\\Icons\\Checkmark_Icon_Presenter' => __DIR__ . '/../..' . '/src/presenters/icons/checkmark-icon-presenter.php', + 'Yoast\\WP\\SEO\\Premium\\Presenters\\Icons\\Cross_Icon_Presenter' => __DIR__ . '/../..' . '/src/presenters/icons/cross-icon-presenter.php', + 'Yoast\\WP\\SEO\\Premium\\Presenters\\Icons\\Icon_Presenter' => __DIR__ . '/../..' . '/src/presenters/icons/icon-presenter.php', + 'Yoast\\WP\\SEO\\Premium\\Presenters\\Mastodon_Link_Presenter' => __DIR__ . '/../..' . '/src/presenters/mastodon-link-presenter.php', + 'Yoast\\WP\\SEO\\Premium\\Repositories\\Prominent_Words_Repository' => __DIR__ . '/../..' . '/src/repositories/prominent-words-repository.php', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Link_Suggestions_Route' => __DIR__ . '/../..' . '/src/routes/link-suggestions-route.php', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Prominent_Words_Route' => __DIR__ . '/../..' . '/src/routes/prominent-words-route.php', + 'Yoast\\WP\\SEO\\Premium\\Routes\\Workouts_Route' => __DIR__ . '/../..' . '/src/routes/workouts-route.php', + 'Yoast\\WP\\SEO\\Premium\\Surfaces\\Helpers_Surface' => __DIR__ . '/../..' . '/src/surfaces/helpers-surface.php', + 'Yoast\\WP\\SEO\\Premium\\User_Meta\\Framework\\Additional_Contactmethods\\Mastodon' => __DIR__ . '/../..' . '/src/user-meta/framework/additional-contactmethods/mastodon.php', + 'Yoast\\WP\\SEO\\Premium\\User_Meta\\User_Interface\\Additional_Contactmethods_Integration' => __DIR__ . '/../..' . '/src/user-meta/user-interface/additional-contactmethods-integration.php', + 'Yoast\\WP\\SEO\\Premium\\WordPress\\Wrapper' => __DIR__ . '/../..' . '/src/wordpress/wrapper.php', + ); + + public static function getInitializer(ClassLoader $loader) + { + return \Closure::bind(function () use ($loader) { + $loader->prefixLengthsPsr4 = ComposerStaticInit6a21570359fb0970a74d26d7d2ed77bc::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit6a21570359fb0970a74d26d7d2ed77bc::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit6a21570359fb0970a74d26d7d2ed77bc::$classMap; + + }, null, ClassLoader::class); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/installed.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/installed.php new file mode 100644 index 00000000..33ffc1b6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/installed.php @@ -0,0 +1,605 @@ + array( + 'pretty_version' => 'dev-main', + 'version' => 'dev-main', + 'type' => 'wordpress-plugin', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'reference' => '871a7e723bab02fbf59e0969adc85cd94d6f0203', + 'name' => 'yoast/wordpress-seo-premium', + 'dev' => true, + ), + 'versions' => array( + 'antecedent/patchwork' => array( + 'pretty_version' => '2.1.28', + 'version' => '2.1.28.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../antecedent/patchwork', + 'aliases' => array(), + 'reference' => '6b30aff81ebadf0f2feb9268d3e08385cebcc08d', + 'dev_requirement' => true, + ), + 'automattic/vipwpcs' => array( + 'pretty_version' => '3.0.0', + 'version' => '3.0.0.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../automattic/vipwpcs', + 'aliases' => array(), + 'reference' => '1b8960ebff9ea3eb482258a906ece4d1ee1e25fd', + 'dev_requirement' => true, + ), + 'brain/monkey' => array( + 'pretty_version' => '2.6.1', + 'version' => '2.6.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../brain/monkey', + 'aliases' => array(), + 'reference' => 'a31c84515bb0d49be9310f52ef1733980ea8ffbb', + 'dev_requirement' => true, + ), + '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, + ), + 'cordoval/hamcrest-php' => array( + 'dev_requirement' => true, + 'replaced' => array( + 0 => '*', + ), + ), + 'davedevelopment/hamcrest-php' => array( + 'dev_requirement' => true, + 'replaced' => array( + 0 => '*', + ), + ), + 'dealerdirect/phpcodesniffer-composer-installer' => array( + 'pretty_version' => 'v1.0.0', + 'version' => '1.0.0.0', + 'type' => 'composer-plugin', + 'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer', + 'aliases' => array(), + 'reference' => '4be43904336affa5c2f70744a348312336afd0da', + 'dev_requirement' => true, + ), + 'doctrine/instantiator' => array( + 'pretty_version' => '1.5.0', + 'version' => '1.5.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../doctrine/instantiator', + 'aliases' => array(), + 'reference' => '0a0fa9780f5d4e507415a065172d26a98d02047b', + 'dev_requirement' => true, + ), + 'eftec/bladeone' => array( + 'pretty_version' => '3.52', + 'version' => '3.52.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../eftec/bladeone', + 'aliases' => array(), + 'reference' => 'a19bf66917de0b29836983db87a455a4f6e32148', + 'dev_requirement' => true, + ), + 'gettext/gettext' => array( + 'pretty_version' => 'v4.8.11', + 'version' => '4.8.11.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gettext/gettext', + 'aliases' => array(), + 'reference' => 'b632aaf5e4579d0b2ae8bc61785e238bff4c5156', + 'dev_requirement' => true, + ), + 'gettext/languages' => array( + 'pretty_version' => '2.10.0', + 'version' => '2.10.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gettext/languages', + 'aliases' => array(), + 'reference' => '4d61d67fe83a2ad85959fe6133d6d9ba7dddd1ab', + 'dev_requirement' => true, + ), + 'grogy/php-parallel-lint' => array( + 'dev_requirement' => true, + 'replaced' => array( + 0 => '*', + ), + ), + 'hamcrest/hamcrest-php' => array( + 'pretty_version' => 'v2.0.1', + 'version' => '2.0.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../hamcrest/hamcrest-php', + 'aliases' => array(), + 'reference' => '8c3d0a3f6af734494ad8f6fbbee0ba92422859f3', + 'dev_requirement' => true, + ), + 'jakub-onderka/php-console-color' => array( + 'dev_requirement' => true, + 'replaced' => array( + 0 => '*', + ), + ), + 'jakub-onderka/php-console-highlighter' => array( + 'dev_requirement' => true, + 'replaced' => array( + 0 => '*', + ), + ), + 'jakub-onderka/php-parallel-lint' => array( + 'dev_requirement' => true, + 'replaced' => array( + 0 => '*', + ), + ), + 'kodova/hamcrest-php' => array( + 'dev_requirement' => true, + 'replaced' => array( + 0 => '*', + ), + ), + 'mck89/peast' => array( + 'pretty_version' => 'v1.16.2', + 'version' => '1.16.2.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../mck89/peast', + 'aliases' => array(), + 'reference' => '2791b08ffcc1862fe18eef85675da3aa58c406fe', + 'dev_requirement' => true, + ), + 'mockery/mockery' => array( + 'pretty_version' => '1.3.6', + 'version' => '1.3.6.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../mockery/mockery', + 'aliases' => array(), + 'reference' => 'dc206df4fa314a50bbb81cf72239a305c5bbd5c0', + 'dev_requirement' => true, + ), + 'mustache/mustache' => array( + 'pretty_version' => 'v2.14.2', + 'version' => '2.14.2.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../mustache/mustache', + 'aliases' => array(), + 'reference' => 'e62b7c3849d22ec55f3ec425507bf7968193a6cb', + 'dev_requirement' => true, + ), + 'myclabs/deep-copy' => array( + 'pretty_version' => '1.11.1', + 'version' => '1.11.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../myclabs/deep-copy', + 'aliases' => array(), + 'reference' => '7284c22080590fb39f2ffa3e9057f10a4ddd0e0c', + 'dev_requirement' => true, + ), + 'phar-io/manifest' => array( + 'pretty_version' => '2.0.4', + 'version' => '2.0.4.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phar-io/manifest', + 'aliases' => array(), + 'reference' => '54750ef60c58e43759730615a392c31c80e23176', + 'dev_requirement' => true, + ), + 'phar-io/version' => array( + 'pretty_version' => '3.2.1', + 'version' => '3.2.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phar-io/version', + 'aliases' => array(), + 'reference' => '4f7fd7836c6f332bb2933569e566a0d6c4cbed74', + 'dev_requirement' => true, + ), + 'php-parallel-lint/php-console-color' => array( + 'pretty_version' => 'v1.0.1', + 'version' => '1.0.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../php-parallel-lint/php-console-color', + 'aliases' => array(), + 'reference' => '7adfefd530aa2d7570ba87100a99e2483a543b88', + 'dev_requirement' => true, + ), + 'php-parallel-lint/php-console-highlighter' => array( + 'pretty_version' => 'v1.0.0', + 'version' => '1.0.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../php-parallel-lint/php-console-highlighter', + 'aliases' => array(), + 'reference' => '5b4803384d3303cf8e84141039ef56c8a123138d', + 'dev_requirement' => true, + ), + 'php-parallel-lint/php-parallel-lint' => array( + 'pretty_version' => 'v1.4.0', + 'version' => '1.4.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../php-parallel-lint/php-parallel-lint', + 'aliases' => array(), + 'reference' => '6db563514f27e19595a19f45a4bf757b6401194e', + 'dev_requirement' => true, + ), + 'phpcompatibility/php-compatibility' => array( + 'pretty_version' => '9.3.5', + 'version' => '9.3.5.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../phpcompatibility/php-compatibility', + 'aliases' => array(), + 'reference' => '9fb324479acf6f39452e0655d2429cc0d3914243', + 'dev_requirement' => true, + ), + 'phpcompatibility/phpcompatibility-paragonie' => array( + 'pretty_version' => '1.3.2', + 'version' => '1.3.2.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../phpcompatibility/phpcompatibility-paragonie', + 'aliases' => array(), + 'reference' => 'bba5a9dfec7fcfbd679cfaf611d86b4d3759da26', + 'dev_requirement' => true, + ), + 'phpcompatibility/phpcompatibility-wp' => array( + 'pretty_version' => '2.1.4', + 'version' => '2.1.4.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../phpcompatibility/phpcompatibility-wp', + 'aliases' => array(), + 'reference' => 'b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5', + 'dev_requirement' => true, + ), + 'phpcsstandards/phpcsextra' => array( + 'pretty_version' => '1.2.1', + 'version' => '1.2.1.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra', + 'aliases' => array(), + 'reference' => '11d387c6642b6e4acaf0bd9bf5203b8cca1ec489', + 'dev_requirement' => true, + ), + 'phpcsstandards/phpcsutils' => array( + 'pretty_version' => '1.0.10', + 'version' => '1.0.10.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils', + 'aliases' => array(), + 'reference' => '51609a5b89f928e0c463d6df80eb38eff1eaf544', + 'dev_requirement' => true, + ), + 'phpstan/phpdoc-parser' => array( + 'pretty_version' => '1.28.0', + 'version' => '1.28.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', + 'aliases' => array(), + 'reference' => 'cd06d6b1a1b3c75b0b83f97577869fd85a3cd4fb', + 'dev_requirement' => true, + ), + 'phpunit/php-code-coverage' => array( + 'pretty_version' => '7.0.17', + 'version' => '7.0.17.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phpunit/php-code-coverage', + 'aliases' => array(), + 'reference' => '40a4ed114a4aea5afd6df8d0f0c9cd3033097f66', + 'dev_requirement' => true, + ), + 'phpunit/php-file-iterator' => array( + 'pretty_version' => '2.0.6', + 'version' => '2.0.6.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phpunit/php-file-iterator', + 'aliases' => array(), + 'reference' => '69deeb8664f611f156a924154985fbd4911eb36b', + 'dev_requirement' => true, + ), + 'phpunit/php-text-template' => array( + 'pretty_version' => '1.2.1', + 'version' => '1.2.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phpunit/php-text-template', + 'aliases' => array(), + 'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686', + 'dev_requirement' => true, + ), + 'phpunit/php-timer' => array( + 'pretty_version' => '2.1.4', + 'version' => '2.1.4.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phpunit/php-timer', + 'aliases' => array(), + 'reference' => 'a691211e94ff39a34811abd521c31bd5b305b0bb', + 'dev_requirement' => true, + ), + 'phpunit/php-token-stream' => array( + 'pretty_version' => '3.1.3', + 'version' => '3.1.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phpunit/php-token-stream', + 'aliases' => array(), + 'reference' => '9c1da83261628cb24b6a6df371b6e312b3954768', + 'dev_requirement' => true, + ), + 'phpunit/phpunit' => array( + 'pretty_version' => '8.5.38', + 'version' => '8.5.38.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../phpunit/phpunit', + 'aliases' => array(), + 'reference' => '1ecad678646c817a29e55a32c930f3601c3f5a8c', + 'dev_requirement' => true, + ), + 'sebastian/code-unit-reverse-lookup' => array( + 'pretty_version' => '1.0.3', + 'version' => '1.0.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/code-unit-reverse-lookup', + 'aliases' => array(), + 'reference' => '92a1a52e86d34cde6caa54f1b5ffa9fda18e5d54', + 'dev_requirement' => true, + ), + 'sebastian/comparator' => array( + 'pretty_version' => '3.0.5', + 'version' => '3.0.5.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/comparator', + 'aliases' => array(), + 'reference' => '1dc7ceb4a24aede938c7af2a9ed1de09609ca770', + 'dev_requirement' => true, + ), + 'sebastian/diff' => array( + 'pretty_version' => '3.0.6', + 'version' => '3.0.6.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/diff', + 'aliases' => array(), + 'reference' => '98ff311ca519c3aa73ccd3de053bdb377171d7b6', + 'dev_requirement' => true, + ), + 'sebastian/environment' => array( + 'pretty_version' => '4.2.5', + 'version' => '4.2.5.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/environment', + 'aliases' => array(), + 'reference' => '56932f6049a0482853056ffd617c91ffcc754205', + 'dev_requirement' => true, + ), + 'sebastian/exporter' => array( + 'pretty_version' => '3.1.6', + 'version' => '3.1.6.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/exporter', + 'aliases' => array(), + 'reference' => '1939bc8fd1d39adcfa88c5b35335910869214c56', + 'dev_requirement' => true, + ), + 'sebastian/global-state' => array( + 'pretty_version' => '3.0.5', + 'version' => '3.0.5.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/global-state', + 'aliases' => array(), + 'reference' => '91c7c47047a971f02de57ed6f040087ef110c5d9', + 'dev_requirement' => true, + ), + 'sebastian/object-enumerator' => array( + 'pretty_version' => '3.0.5', + 'version' => '3.0.5.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/object-enumerator', + 'aliases' => array(), + 'reference' => 'ac5b293dba925751b808e02923399fb44ff0d541', + 'dev_requirement' => true, + ), + 'sebastian/object-reflector' => array( + 'pretty_version' => '1.1.3', + 'version' => '1.1.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/object-reflector', + 'aliases' => array(), + 'reference' => '1d439c229e61f244ff1f211e5c99737f90c67def', + 'dev_requirement' => true, + ), + 'sebastian/recursion-context' => array( + 'pretty_version' => '3.0.2', + 'version' => '3.0.2.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/recursion-context', + 'aliases' => array(), + 'reference' => '9bfd3c6f1f08c026f542032dfb42813544f7d64c', + 'dev_requirement' => true, + ), + 'sebastian/resource-operations' => array( + 'pretty_version' => '2.0.3', + 'version' => '2.0.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/resource-operations', + 'aliases' => array(), + 'reference' => '72a7f7674d053d548003b16ff5a106e7e0e06eee', + 'dev_requirement' => true, + ), + 'sebastian/type' => array( + 'pretty_version' => '1.1.5', + 'version' => '1.1.5.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/type', + 'aliases' => array(), + 'reference' => '18f071c3a29892b037d35e6b20ddf3ea39b42874', + 'dev_requirement' => true, + ), + 'sebastian/version' => array( + 'pretty_version' => '2.0.1', + 'version' => '2.0.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../sebastian/version', + 'aliases' => array(), + 'reference' => '99732be0ddb3361e16ad77b68ba41efc8e979019', + 'dev_requirement' => true, + ), + 'sirbrillig/phpcs-variable-analysis' => array( + 'pretty_version' => 'v2.11.17', + 'version' => '2.11.17.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../sirbrillig/phpcs-variable-analysis', + 'aliases' => array(), + 'reference' => '3b71162a6bf0cde2bff1752e40a1788d8273d049', + 'dev_requirement' => true, + ), + 'slevomat/coding-standard' => array( + 'pretty_version' => '8.15.0', + 'version' => '8.15.0.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../slevomat/coding-standard', + 'aliases' => array(), + 'reference' => '7d1d957421618a3803b593ec31ace470177d7817', + 'dev_requirement' => true, + ), + 'squizlabs/php_codesniffer' => array( + 'pretty_version' => '3.9.1', + 'version' => '3.9.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', + 'aliases' => array(), + 'reference' => '267a4405fff1d9c847134db3a3c92f1ab7f77909', + 'dev_requirement' => true, + ), + 'symfony/deprecation-contracts' => array( + 'pretty_version' => 'v2.5.3', + 'version' => '2.5.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', + 'aliases' => array(), + 'reference' => '80d075412b557d41002320b96a096ca65aa2c98d', + 'dev_requirement' => true, + ), + 'symfony/finder' => array( + 'pretty_version' => 'v5.4.35', + 'version' => '5.4.35.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../symfony/finder', + 'aliases' => array(), + 'reference' => 'abe6d6f77d9465fed3cd2d029b29d03b56b56435', + 'dev_requirement' => true, + ), + 'symfony/polyfill-php80' => array( + 'pretty_version' => 'v1.29.0', + 'version' => '1.29.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../symfony/polyfill-php80', + 'aliases' => array(), + 'reference' => '87b68208d5c1188808dd7839ee1e6c8ec3b02f1b', + 'dev_requirement' => true, + ), + 'theseer/tokenizer' => array( + 'pretty_version' => '1.2.3', + 'version' => '1.2.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../theseer/tokenizer', + 'aliases' => array(), + 'reference' => '737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2', + 'dev_requirement' => true, + ), + 'wp-cli/i18n-command' => array( + 'pretty_version' => '2.6.1', + 'version' => '2.6.1.0', + 'type' => 'wp-cli-package', + 'install_path' => __DIR__ . '/../wp-cli/i18n-command', + 'aliases' => array(), + 'reference' => '7538d684d4f06b0e10c8a0166ce4e6d9e1687aa1', + 'dev_requirement' => true, + ), + 'wp-cli/mustangostang-spyc' => array( + 'pretty_version' => '0.6.3', + 'version' => '0.6.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../wp-cli/mustangostang-spyc', + 'aliases' => array(), + 'reference' => '6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7', + 'dev_requirement' => true, + ), + 'wp-cli/php-cli-tools' => array( + 'pretty_version' => 'v0.11.22', + 'version' => '0.11.22.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../wp-cli/php-cli-tools', + 'aliases' => array(), + 'reference' => 'a6bb94664ca36d0962f9c2ff25591c315a550c51', + 'dev_requirement' => true, + ), + 'wp-cli/wp-cli' => array( + 'pretty_version' => 'v2.10.0', + 'version' => '2.10.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../wp-cli/wp-cli', + 'aliases' => array(), + 'reference' => 'a339dca576df73c31af4b4d8054efc2dab9a0685', + 'dev_requirement' => true, + ), + 'wp-coding-standards/wpcs' => array( + 'pretty_version' => '3.1.0', + 'version' => '3.1.0.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', + 'aliases' => array(), + 'reference' => '9333efcbff231f10dfd9c56bb7b65818b4733ca7', + 'dev_requirement' => true, + ), + 'yoast/phpunit-polyfills' => array( + 'pretty_version' => '1.1.1', + 'version' => '1.1.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../yoast/phpunit-polyfills', + 'aliases' => array(), + 'reference' => 'a0f7d708794a738f328d7b6c94380fd1d6c40446', + 'dev_requirement' => true, + ), + 'yoast/whip' => array( + 'pretty_version' => '2.0.0', + 'version' => '2.0.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../yoast/whip', + 'aliases' => array(), + 'reference' => '5cfd9c3b433774548ec231fe896d5e85d17ed0d1', + 'dev_requirement' => false, + ), + 'yoast/wordpress-seo' => array( + 'pretty_version' => '22.9', + 'version' => '22.9.0.0', + 'type' => 'wordpress-plugin', + 'install_path' => __DIR__ . '/../yoast/wordpress-seo', + 'aliases' => array(), + 'reference' => 'bc74e92e863eda4a7a74a70a783331a7a9bd4a6f', + 'dev_requirement' => false, + ), + 'yoast/wordpress-seo-premium' => array( + 'pretty_version' => 'dev-main', + 'version' => 'dev-main', + 'type' => 'wordpress-plugin', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'reference' => '871a7e723bab02fbf59e0969adc85cd94d6f0203', + 'dev_requirement' => false, + ), + 'yoast/wp-test-utils' => array( + 'pretty_version' => '1.2.0', + 'version' => '1.2.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../yoast/wp-test-utils', + 'aliases' => array(), + 'reference' => '2e0f62e0281e4859707c5f13b7da1422aa1c8f7b', + 'dev_requirement' => true, + ), + 'yoast/yoastcs' => array( + 'pretty_version' => '3.1.0', + 'version' => '3.1.0.0', + 'type' => 'phpcodesniffer-standard', + 'install_path' => __DIR__ . '/../yoast/yoastcs', + 'aliases' => array(), + 'reference' => '533b74e4ce234fb6ff1b02c87f84f227b5a95554', + 'dev_requirement' => true, + ), + ), +); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/platform_check.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/platform_check.php new file mode 100644 index 00000000..a8b98d5c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/composer/platform_check.php @@ -0,0 +1,26 @@ += 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/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/LICENSE b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/LICENSE new file mode 100644 index 00000000..95846861 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Yoast + +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/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Configs/default.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Configs/default.php new file mode 100644 index 00000000..0a94ef66 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Configs/default.php @@ -0,0 +1,10 @@ + PHP_VERSION, +); diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Configs/version.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Configs/version.php new file mode 100644 index 00000000..553e4299 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Configs/version.php @@ -0,0 +1,8 @@ + + */ + private $configuration; + + /** + * Configuration constructor. + * + * @param array $configuration The configuration to use. + * + * @throws InvalidType When the $configuration parameter is not of the expected type. + */ + public function __construct( $configuration = array() ) { + if ( ! \is_array( $configuration ) ) { + throw new InvalidType( 'Configuration', $configuration, 'array' ); + } + + $this->configuration = $configuration; + } + + /** + * Retrieves the configured version of a particular requirement. + * + * @param Requirement $requirement The requirement to check. + * + * @return string|int The version of the passed requirement that was detected as a string. + * If the requirement does not exist, this returns int -1. + */ + public function configuredVersion( Requirement $requirement ) { + if ( ! $this->hasRequirementConfigured( $requirement ) ) { + return -1; + } + + return $this->configuration[ $requirement->component() ]; + } + + /** + * Determines whether the passed requirement is present in the configuration. + * + * @param Requirement $requirement The requirement to check. + * + * @return bool Whether or not the requirement is present in the configuration. + */ + public function hasRequirementConfigured( Requirement $requirement ) { + return \array_key_exists( $requirement->component(), $this->configuration ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Exceptions/EmptyProperty.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Exceptions/EmptyProperty.php new file mode 100644 index 00000000..844372b1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Exceptions/EmptyProperty.php @@ -0,0 +1,20 @@ +', '<=', '>=' ) ) { + parent::__construct( + \sprintf( + 'Invalid operator of %s used. Please use one of the following operators: %s', + $value, + \implode( ', ', $validOperators ) + ) + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Exceptions/InvalidType.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Exceptions/InvalidType.php new file mode 100644 index 00000000..6ed1dafb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Exceptions/InvalidType.php @@ -0,0 +1,22 @@ +=5.3. Passed version comparison string: %s', + $value + ) + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Facades/wordpress.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Facades/wordpress.php new file mode 100644 index 00000000..dbb1df9b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Facades/wordpress.php @@ -0,0 +1,60 @@ + $requirements The requirements to check. + * + * @return void + */ + function whip_wp_check_versions( $requirements ) { + // Only show for admin users. + if ( ! is_array( $requirements ) ) { + return; + } + + $config = include __DIR__ . '/../Configs/default.php'; + $checker = new RequirementsChecker( $config ); + + foreach ( $requirements as $component => $versionComparison ) { + $checker->addRequirement( VersionRequirement::fromCompareString( $component, $versionComparison ) ); + } + + $checker->check(); + + if ( ! $checker->hasMessages() ) { + return; + } + + $dismissThreshold = ( WEEK_IN_SECONDS * 4 ); + $dismissMessage = __( 'Remind me again in 4 weeks.', 'default' ); + + $dismisser = new MessageDismisser( time(), $dismissThreshold, new WPDismissOption() ); + + $presenter = new WPMessagePresenter( $checker->getMostRecentMessage(), $dismisser, $dismissMessage ); + + // Prevent duplicate notices across multiple implementing plugins. + if ( ! has_action( 'whip_register_hooks' ) ) { + add_action( 'whip_register_hooks', array( $presenter, 'registerHooks' ) ); + } + + /** + * Fires during hooks registration for the message presenter. + * + * @param WPMessagePresenter $presenter Message presenter instance. + */ + do_action( 'whip_register_hooks', $presenter ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Host.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Host.php new file mode 100644 index 00000000..fce2013b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Host.php @@ -0,0 +1,107 @@ +currentTime = $currentTime; + $this->threshold = $threshold; + $this->storage = $storage; + } + + /** + * Saves the version number to the storage to indicate the message as being dismissed. + * + * @return void + */ + public function dismiss() { + $this->storage->set( $this->currentTime ); + } + + /** + * Checks if the current time is lower than the stored time extended by the threshold. + * + * @return bool True when current time is lower than stored value + threshold. + */ + public function isDismissed() { + return ( $this->currentTime <= ( $this->storage->get() + $this->threshold ) ); + } + + /** + * Checks the nonce. + * + * @param string $nonce The nonce to check. + * @param string $action The action to check. + * + * @return bool True when the nonce is valid. + */ + public function verifyNonce( $nonce, $action ) { + return (bool) \wp_verify_nonce( $nonce, $action ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/MessageFormatter.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/MessageFormatter.php new file mode 100644 index 00000000..b94d9531 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/MessageFormatter.php @@ -0,0 +1,42 @@ +' . $toWrap . ''; + } + + /** + * Wraps a piece of text in HTML p tags. + * + * @param string $toWrap The text to wrap. + * + * @return string The wrapped text. + */ + public static function paragraph( $toWrap ) { + return '

    ' . $toWrap . '

    '; + } + + /** + * Wraps a piece of text in HTML p and strong tags. + * + * @param string $toWrap The text to wrap. + * + * @return string The wrapped text. + */ + public static function strongParagraph( $toWrap ) { + return self::paragraph( self::strong( $toWrap ) ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/BasicMessage.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/BasicMessage.php new file mode 100644 index 00000000..41205b02 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/BasicMessage.php @@ -0,0 +1,60 @@ +validateParameters( $body ); + + $this->body = $body; + } + + /** + * Retrieves the message body. + * + * @return string Message. + */ + public function body() { + return $this->body; + } + + /** + * Validates the parameters passed to the constructor of this class. + * + * @param string $body Message body. + * + * @return void + * + * @throws EmptyProperty When the $body parameter is empty. + * @throws InvalidType When the $body parameter is not of the expected type. + */ + private function validateParameters( $body ) { + if ( empty( $body ) ) { + throw new EmptyProperty( 'Message body' ); + } + + if ( ! \is_string( $body ) ) { + throw new InvalidType( 'Message body', $body, 'string' ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/HostMessage.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/HostMessage.php new file mode 100644 index 00000000..90ad2906 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/HostMessage.php @@ -0,0 +1,62 @@ +textdomain = $textdomain; + $this->messageKey = $messageKey; + } + + /** + * Retrieves the message body. + * + * @return string The message body. + */ + public function body() { + $message = array(); + + $message[] = MessageFormatter::strong( $this->title() ) . '
    '; + $message[] = MessageFormatter::paragraph( Host::message( $this->messageKey ) ); + + return \implode( "\n", $message ); + } + + /** + * Renders the message title. + * + * @return string The message title. + */ + public function title() { + /* translators: 1: name. */ + return \sprintf( \__( 'A message from %1$s', $this->textdomain ), Host::name() ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/InvalidVersionRequirementMessage.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/InvalidVersionRequirementMessage.php new file mode 100644 index 00000000..f3e49595 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/InvalidVersionRequirementMessage.php @@ -0,0 +1,53 @@ +requirement = $requirement; + $this->detected = $detected; + } + + /** + * Retrieves the message body. + * + * @return string Message. + */ + public function body() { + return \sprintf( + 'Invalid version detected for %s. Found %s but expected %s.', + $this->requirement->component(), + $this->detected, + $this->requirement->version() + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/NullMessage.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/NullMessage.php new file mode 100644 index 00000000..bbb364c7 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Messages/NullMessage.php @@ -0,0 +1,20 @@ +textdomain = $textdomain; + } + + /** + * Retrieves the message body to display. + * + * @return string The message to display. + */ + public function body() { + $textdomain = $this->textdomain; + + $message = array(); + + $message[] = MessageFormatter::strongParagraph( \__( 'Your site could be faster and more secure with a newer PHP version.', $textdomain ) ) . '
    '; + $message[] = MessageFormatter::paragraph( \__( 'Hey, we\'ve noticed that you\'re running an outdated version of PHP. PHP is the programming language that WordPress and all its plugins and themes are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we\'re sending you to this notice.', $textdomain ) ); + $message[] = MessageFormatter::paragraph( \__( 'Hosts have the ability to update your PHP version, but sometimes they don\'t dare to do that because they\'re afraid they\'ll break your site.', $textdomain ) ); + $message[] = MessageFormatter::strongParagraph( \__( 'To which version should I update?', $textdomain ) ) . '
    '; + $message[] = MessageFormatter::paragraph( + \sprintf( + /* translators: 1: link open tag; 2: link close tag. */ + \__( 'You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. We have an article on how to test whether that\'s an option for you %1$shere%2$s. PHP7 is much faster than PHP 5.6. It\'s also the only PHP version still in active development and therefore the better option for your site in the long run.', $textdomain ), + '', + '' + ) + ); + + if ( Host::name() !== '' ) { + $hostMessage = new HostMessage( 'WHIP_MESSAGE_FROM_HOST_ABOUT_PHP', $textdomain ); + $message[] = $hostMessage->body(); + } + + $hostingPageUrl = Host::hostingPageUrl(); + + $message[] = MessageFormatter::strongParagraph( \__( 'Can\'t update? Ask your host!', $textdomain ) ) . '
    '; + + if ( \function_exists( 'apply_filters' ) && \apply_filters( Host::HOSTING_PAGE_FILTER_KEY, false ) ) { + $message[] = MessageFormatter::paragraph( + \sprintf( + /* translators: 1: link open tag; 2: link close tag; 3: link open tag. */ + \__( 'If you cannot upgrade your PHP version yourself, you can send an email to your host. We have %1$sexamples here%2$s. If they don\'t want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %3$sWordPress hosting partners%2$s.', $textdomain ), + '', + '', + \sprintf( '', \esc_url( $hostingPageUrl ) ) + ) + ); + } + else { + $message[] = MessageFormatter::paragraph( + \sprintf( + /* translators: 1: link open tag; 2: link close tag; 3: link open tag. */ + \__( 'If you cannot upgrade your PHP version yourself, you can send an email to your host. We have %1$sexamples here%2$s. If they don\'t want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of our recommended %3$sWordPress hosting partners%2$s, they\'ve all been vetted by the Yoast support team and provide all the features a modern host should provide.', $textdomain ), + '', + '', + \sprintf( '', \esc_url( $hostingPageUrl ) ) + ) + ); + } + + return \implode( "\n", $message ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/MessagesManager.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/MessagesManager.php new file mode 100644 index 00000000..eee0abbe --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/MessagesManager.php @@ -0,0 +1,91 @@ + 0; + } + + /** + * Lists the messages that are currently available. + * + * @return array The messages that are currently set. + */ + public function listMessages() { + return $GLOBALS['whip_messages']; + } + + /** + * Deletes all messages. + * + * @return void + */ + public function deleteMessages() { + unset( $GLOBALS['whip_messages'] ); + } + + /** + * Gets the latest message. + * + * @return Message The message. Returns a NullMessage if none is found. + */ + public function getLatestMessage() { + if ( ! $this->hasMessages() ) { + return new NullMessage(); + } + + $messages = $this->sortByVersion( $this->listMessages() ); + + $this->deleteMessages(); + + return \array_pop( $messages ); + } + + /** + * Sorts the list of messages based on the version number. + * + * @param array $messages The list of messages to sort. + * + * @return array The sorted list of messages. + */ + private function sortByVersion( array $messages ) { + \uksort( $messages, 'version_compare' ); + + return $messages; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Presenters/WPMessagePresenter.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Presenters/WPMessagePresenter.php new file mode 100644 index 00000000..aa071f66 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/Presenters/WPMessagePresenter.php @@ -0,0 +1,112 @@ +message = $message; + $this->dismisser = $dismisser; + $this->dismissMessage = $dismissMessage; + } + + /** + * Registers hooks to WordPress. + * + * This is a separate function so you can control when the hooks are registered. + * + * @return void + */ + public function registerHooks() { + \add_action( 'admin_notices', array( $this, 'renderMessage' ) ); + } + + /** + * Renders the messages present in the global to notices. + * + * @return void + */ + public function renderMessage() { + $dismissListener = new WPMessageDismissListener( $this->dismisser ); + $dismissListener->listen(); + + if ( $this->dismisser->isDismissed() ) { + return; + } + + $dismissButton = \sprintf( + '%1$s', + \esc_html( $this->dismissMessage ), + \esc_url( $dismissListener->getDismissURL() ) + ); + + // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped -- output correctly escaped directly above and in the `kses()` method. + \printf( + '

    %1$s

    %2$s

    ', + $this->kses( $this->message->body() ), + $dismissButton + ); + // phpcs:enable + } + + /** + * Removes content from the message that we don't want to show. + * + * @param string $message The message to clean. + * + * @return string The cleaned message. + */ + public function kses( $message ) { + return \wp_kses( + $message, + array( + 'a' => array( + 'href' => true, + 'target' => true, + ), + 'strong' => true, + 'p' => true, + 'ul' => true, + 'li' => true, + ) + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/RequirementsChecker.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/RequirementsChecker.php new file mode 100644 index 00000000..9dbc8909 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/RequirementsChecker.php @@ -0,0 +1,181 @@ + + */ + private $requirements; + + /** + * The configuration to check. + * + * @var Configuration + */ + private $configuration; + + /** + * Message Manager. + * + * @var MessagesManager + */ + private $messageManager; + + /** + * The text domain to use for translations. + * + * @var string + */ + private $textdomain; + + /** + * RequirementsChecker constructor. + * + * @param array $configuration The configuration to check. + * @param string $textdomain The text domain to use for translations. + * + * @throws InvalidType When the $configuration parameter is not of the expected type. + */ + public function __construct( $configuration = array(), $textdomain = 'default' ) { + $this->requirements = array(); + $this->configuration = new Configuration( $configuration ); + $this->messageManager = new MessagesManager(); + $this->textdomain = $textdomain; + } + + /** + * Adds a requirement to the list of requirements if it doesn't already exist. + * + * @param Requirement $requirement The requirement to add. + * + * @return void + */ + public function addRequirement( Requirement $requirement ) { + // Only allow unique entries to ensure we're not checking specific combinations multiple times. + if ( $this->requirementExistsForComponent( $requirement->component() ) ) { + return; + } + + $this->requirements[] = $requirement; + } + + /** + * Determines whether or not there are requirements available. + * + * @return bool Whether or not there are requirements. + */ + public function hasRequirements() { + return $this->totalRequirements() > 0; + } + + /** + * Gets the total amount of requirements. + * + * @return int The total amount of requirements. + */ + public function totalRequirements() { + return \count( $this->requirements ); + } + + /** + * Determines whether or not a requirement exists for a particular component. + * + * @param string $component The component to check for. + * + * @return bool Whether or not the component has a requirement defined. + */ + public function requirementExistsForComponent( $component ) { + foreach ( $this->requirements as $requirement ) { + if ( $requirement->component() === $component ) { + return true; + } + } + + return false; + } + + /** + * Determines whether a requirement has been fulfilled. + * + * @param Requirement $requirement The requirement to check. + * + * @return bool Whether or not the requirement is fulfilled. + */ + private function requirementIsFulfilled( Requirement $requirement ) { + $availableVersion = $this->configuration->configuredVersion( $requirement ); + $requiredVersion = $requirement->version(); + + if ( \in_array( $requirement->operator(), array( '=', '==', '===' ), true ) ) { + return \version_compare( $availableVersion, $requiredVersion, '>=' ); + } + + return \version_compare( $availableVersion, $requiredVersion, $requirement->operator() ); + } + + /** + * Checks if all requirements are fulfilled and adds a message to the message manager if necessary. + * + * @return void + */ + public function check() { + foreach ( $this->requirements as $requirement ) { + // Match against config. + $requirementFulfilled = $this->requirementIsFulfilled( $requirement ); + + if ( $requirementFulfilled ) { + continue; + } + + $this->addMissingRequirementMessage( $requirement ); + } + } + + /** + * Adds a message to the message manager for requirements that cannot be fulfilled. + * + * @param Requirement $requirement The requirement that cannot be fulfilled. + * + * @return void + */ + private function addMissingRequirementMessage( Requirement $requirement ) { + switch ( $requirement->component() ) { + case 'php': + $this->messageManager->addMessage( new UpgradePhpMessage( $this->textdomain ) ); + break; + default: + $this->messageManager->addMessage( new InvalidVersionRequirementMessage( $requirement, $this->configuration->configuredVersion( $requirement ) ) ); + break; + } + } + + /** + * Determines whether or not there are messages available. + * + * @return bool Whether or not there are messages to display. + */ + public function hasMessages() { + return $this->messageManager->hasMessages(); + } + + /** + * Gets the most recent message from the message manager. + * + * @return Message The latest message. + */ + public function getMostRecentMessage() { + return $this->messageManager->getLatestMessage(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/VersionRequirement.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/VersionRequirement.php new file mode 100644 index 00000000..f29c6418 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/VersionRequirement.php @@ -0,0 +1,153 @@ +validateParameters( $component, $version, $operator ); + + $this->component = $component; + $this->version = $version; + $this->operator = $operator; + } + + /** + * Retrieves the component name defined for the requirement. + * + * @return string The component name. + */ + public function component() { + return $this->component; + } + + /** + * Gets the components version defined for the requirement. + * + * @return string + */ + public function version() { + return $this->version; + } + + /** + * Gets the operator to use when comparing version numbers. + * + * @return string The comparison operator. + */ + public function operator() { + return $this->operator; + } + + /** + * Creates a new version requirement from a comparison string. + * + * @param string $component The component for this version requirement. + * @param string $comparisonString The comparison string for this version requirement. + * + * @return VersionRequirement The parsed version requirement. + * + * @throws InvalidVersionComparisonString When an invalid version comparison string is passed. + */ + public static function fromCompareString( $component, $comparisonString ) { + + $matcher = '` + ( + >=? # Matches >= and >. + | + <=? # Matches <= and <. + ) + ([^>=<\s]+) # Matches anything except >, <, =, and whitespace. + `x'; + + if ( ! \preg_match( $matcher, $comparisonString, $match ) ) { + throw new InvalidVersionComparisonString( $comparisonString ); + } + + $version = $match[2]; + $operator = $match[1]; + + return new VersionRequirement( $component, $version, $operator ); + } + + /** + * Validates the parameters passed to the requirement. + * + * @param string $component The component name. + * @param string $version The component version. + * @param string $operator The operator to use when comparing version. + * + * @return void + * + * @throws EmptyProperty When any of the parameters is empty. + * @throws InvalidOperatorType When the $operator parameter is invalid. + * @throws InvalidType When any of the parameters is not of the expected type. + */ + private function validateParameters( $component, $version, $operator ) { + if ( empty( $component ) ) { + throw new EmptyProperty( 'Component' ); + } + + if ( ! \is_string( $component ) ) { + throw new InvalidType( 'Component', $component, 'string' ); + } + + if ( empty( $version ) ) { + throw new EmptyProperty( 'Version' ); + } + + if ( ! \is_string( $version ) ) { + throw new InvalidType( 'Version', $version, 'string' ); + } + + if ( empty( $operator ) ) { + throw new EmptyProperty( 'Operator' ); + } + + if ( ! \is_string( $operator ) ) { + throw new InvalidType( 'Operator', $operator, 'string' ); + } + + $validOperators = array( '=', '==', '===', '<', '>', '<=', '>=' ); + if ( ! \in_array( $operator, $validOperators, true ) ) { + throw new InvalidOperatorType( $operator, $validOperators ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/WPDismissOption.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/WPDismissOption.php new file mode 100644 index 00000000..aecd9dff --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/WPDismissOption.php @@ -0,0 +1,45 @@ +optionName, $dismissedValue ); + } + + /** + * Returns the value of the whip_dismissed option. + * + * @return int Returns the value of the option or an empty string when not set. + */ + public function get() { + $dismissedOption = \get_option( $this->optionName ); + if ( ! $dismissedOption ) { + return 0; + } + + return (int) $dismissedOption; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/WPMessageDismissListener.php b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/WPMessageDismissListener.php new file mode 100644 index 00000000..b3d0bda6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/vendor/yoast/whip/src/WPMessageDismissListener.php @@ -0,0 +1,66 @@ +dismisser = $dismisser; + } + + /** + * Listens to a GET request to fetch the required attributes. + * + * @return void + */ + public function listen() { + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce is verified in the dismisser. + $action = ( isset( $_GET['action'] ) && \is_string( $_GET['action'] ) ) ? \sanitize_text_field( \wp_unslash( $_GET['action'] ) ) : null; + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce is verified in the dismisser. + $nonce = ( isset( $_GET['nonce'] ) && \is_string( $_GET['nonce'] ) ) ? \sanitize_text_field( \wp_unslash( $_GET['nonce'] ) ) : ''; + + if ( $action === self::ACTION_NAME && $this->dismisser->verifyNonce( $nonce, self::ACTION_NAME ) ) { + $this->dismisser->dismiss(); + } + } + + /** + * Creates an url for dismissing the notice. + * + * @return string The url for dismissing the message. + */ + public function getDismissURL() { + return \sprintf( + \admin_url( 'index.php?action=%1$s&nonce=%2$s' ), + self::ACTION_NAME, + \wp_create_nonce( self::ACTION_NAME ) + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo-premium/wp-seo-premium.php b/wp/wp-content/plugins/wordpress-seo-premium/wp-seo-premium.php new file mode 100644 index 00000000..6341ac35 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo-premium/wp-seo-premium.php @@ -0,0 +1,80 @@ +. + */ + +use Yoast\WP\SEO\Premium\Addon_Installer; + +if ( ! defined( 'WPSEO_PREMIUM_FILE' ) ) { + define( 'WPSEO_PREMIUM_FILE', __FILE__ ); +} + +if ( ! defined( 'WPSEO_PREMIUM_PATH' ) ) { + define( 'WPSEO_PREMIUM_PATH', plugin_dir_path( WPSEO_PREMIUM_FILE ) ); +} + +if ( ! defined( 'WPSEO_PREMIUM_BASENAME' ) ) { + define( 'WPSEO_PREMIUM_BASENAME', plugin_basename( WPSEO_PREMIUM_FILE ) ); +} + +/** + * {@internal Nobody should be able to overrule the real version number as this can cause + * serious issues with the options, so no if ( ! defined() ).}} + */ +define( 'WPSEO_PREMIUM_VERSION', '22.9' ); + +// Initialize Premium autoloader. +$wpseo_premium_dir = WPSEO_PREMIUM_PATH; +$yoast_seo_premium_autoload_file = $wpseo_premium_dir . 'vendor/autoload.php'; + +if ( is_readable( $yoast_seo_premium_autoload_file ) ) { + require $yoast_seo_premium_autoload_file; +} + +// This class has to exist outside of the container as the container requires Yoast SEO to exist. +$wpseo_addon_installer = new Addon_Installer( __DIR__ ); +$wpseo_addon_installer->install_yoast_seo_from_repository(); + +// Load the container. +if ( ! wp_installing() ) { + require_once __DIR__ . '/src/functions.php'; + YoastSEOPremium(); +} + +register_activation_hook( WPSEO_PREMIUM_FILE, [ 'WPSEO_Premium', 'install' ] ); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/admin-settings-changed-listener.php b/wp/wp-content/plugins/wordpress-seo/admin/admin-settings-changed-listener.php new file mode 100644 index 00000000..712c5445 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/admin-settings-changed-listener.php @@ -0,0 +1,89 @@ +helpers->current_page->is_yoast_seo_page() ) { + return; + } + + // Variable name is the same as the global that is set by get_settings_errors. + $wp_settings_errors = get_settings_errors(); + + foreach ( $wp_settings_errors as $key => $wp_settings_error ) { + if ( ! $this->is_settings_updated_notification( $wp_settings_error ) ) { + continue; + } + + self::$settings_saved = true; + unset( $wp_settings_errors[ $key ] ); + // phpcs:ignore WordPress.WP.GlobalVariablesOverride -- Overwrite the global with the list excluding the Changed saved message. + $GLOBALS['wp_settings_errors'] = $wp_settings_errors; + break; + } + } + + /** + * Checks whether the settings notification is a settings_updated notification. + * + * @param array $wp_settings_error The settings object. + * + * @return bool Whether this is a settings updated settings notification. + */ + public function is_settings_updated_notification( $wp_settings_error ) { + return ! empty( $wp_settings_error['code'] ) && $wp_settings_error['code'] === 'settings_updated'; + } + + /** + * Get whether the settings have successfully been saved + * + * @return bool Whether the settings have successfully been saved. + */ + public function have_settings_been_saved() { + return self::$settings_saved; + } + + /** + * Renders a success message if the Yoast SEO settings have been saved. + * + * @return void + */ + public function show_success_message() { + if ( $this->have_settings_been_saved() ) { + echo '

    ', + esc_html__( 'Settings saved.', 'wordpress-seo' ), + '

    '; + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/ajax.php b/wp/wp-content/plugins/wordpress-seo/admin/ajax.php new file mode 100644 index 00000000..34a6f886 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/ajax.php @@ -0,0 +1,419 @@ + 'success', + 'post_id' => $post_id, + "new_{$return_key}" => $sanitized_new_meta_value, + "original_{$return_key}" => $orig_meta_value, + ]; + + $the_post = get_post( $post_id ); + if ( empty( $the_post ) ) { + + $upsert_results['status'] = 'failure'; + $upsert_results['results'] = __( 'Post doesn\'t exist.', 'wordpress-seo' ); + + return $upsert_results; + } + + $post_type_object = get_post_type_object( $the_post->post_type ); + if ( ! $post_type_object ) { + + $upsert_results['status'] = 'failure'; + $upsert_results['results'] = sprintf( + /* translators: %s expands to post type. */ + __( 'Post has an invalid Content Type: %s.', 'wordpress-seo' ), + $the_post->post_type + ); + + return $upsert_results; + } + + if ( ! current_user_can( $post_type_object->cap->edit_posts ) ) { + + $upsert_results['status'] = 'failure'; + $upsert_results['results'] = sprintf( + /* translators: %s expands to post type name. */ + __( 'You can\'t edit %s.', 'wordpress-seo' ), + $post_type_object->label + ); + + return $upsert_results; + } + + if ( ! current_user_can( $post_type_object->cap->edit_others_posts ) && (int) $the_post->post_author !== get_current_user_id() ) { + + $upsert_results['status'] = 'failure'; + $upsert_results['results'] = sprintf( + /* translators: %s expands to the name of a post type (plural). */ + __( 'You can\'t edit %s that aren\'t yours.', 'wordpress-seo' ), + $post_type_object->label + ); + + return $upsert_results; + } + + if ( $sanitized_new_meta_value === $orig_meta_value && $sanitized_new_meta_value !== $new_meta_value ) { + $upsert_results['status'] = 'failure'; + $upsert_results['results'] = __( 'You have used HTML in your value which is not allowed.', 'wordpress-seo' ); + + return $upsert_results; + } + + $res = update_post_meta( $post_id, $meta_key, $sanitized_new_meta_value ); + + $upsert_results['status'] = ( $res !== false ) ? 'success' : 'failure'; + $upsert_results['results'] = $res; + + return $upsert_results; +} + +/** + * Save all titles sent from the Bulk Editor. + * + * @return void + */ +function wpseo_save_all_titles() { + wpseo_save_all( 'title' ); +} + +add_action( 'wp_ajax_wpseo_save_all_titles', 'wpseo_save_all_titles' ); + +/** + * Save all description sent from the Bulk Editor. + * + * @return void + */ +function wpseo_save_all_descriptions() { + wpseo_save_all( 'metadesc' ); +} + +add_action( 'wp_ajax_wpseo_save_all_descriptions', 'wpseo_save_all_descriptions' ); + +/** + * Utility function to save values. + * + * @param string $what Type of item so save. + * + * @return void + */ +function wpseo_save_all( $what ) { + check_ajax_referer( 'wpseo-bulk-editor' ); + + $results = []; + if ( ! isset( $_POST['items'], $_POST['existingItems'] ) ) { + wpseo_ajax_json_echo_die( $results ); + } + + $new_values = array_map( [ 'WPSEO_Utils', 'sanitize_text_field' ], wp_unslash( (array) $_POST['items'] ) ); + $original_values = array_map( [ 'WPSEO_Utils', 'sanitize_text_field' ], wp_unslash( (array) $_POST['existingItems'] ) ); + + foreach ( $new_values as $post_id => $new_value ) { + $original_value = $original_values[ $post_id ]; + $results[] = wpseo_upsert_new( $what, $post_id, $new_value, $original_value ); + } + + wpseo_ajax_json_echo_die( $results ); +} + +/** + * Insert a new value. + * + * @param string $what Item type (such as title). + * @param int $post_id Post ID. + * @param string $new_value New value to record. + * @param string $original Original value. + * + * @return string + */ +function wpseo_upsert_new( $what, $post_id, $new_value, $original ) { + $meta_key = WPSEO_Meta::$meta_prefix . $what; + + return wpseo_upsert_meta( $post_id, $new_value, $original, $meta_key, $what ); +} + +/** + * Retrieves the post ids where the keyword is used before as well as the types of those posts. + * + * @return void + */ +function ajax_get_keyword_usage_and_post_types() { + check_ajax_referer( 'wpseo-keyword-usage-and-post-types', 'nonce' ); + + if ( ! isset( $_POST['post_id'], $_POST['keyword'] ) || ! is_string( $_POST['keyword'] ) ) { + die( '-1' ); + } + + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- We are casting to an integer. + $post_id = (int) wp_unslash( $_POST['post_id'] ); + + if ( $post_id === 0 || ! current_user_can( 'edit_post', $post_id ) ) { + die( '-1' ); + } + + $keyword = sanitize_text_field( wp_unslash( $_POST['keyword'] ) ); + + $post_ids = WPSEO_Meta::keyword_usage( $keyword, $post_id ); + + if ( ! empty( $post_ids ) ) { + $post_types = WPSEO_Meta::post_types_for_ids( $post_ids ); + } + else { + $post_types = []; + } + + $return_object = [ + 'keyword_usage' => $post_ids, + 'post_types' => $post_types, + ]; + + wp_die( + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: WPSEO_Utils::format_json_encode is safe. + WPSEO_Utils::format_json_encode( $return_object ) + ); +} + +add_action( 'wp_ajax_get_focus_keyword_usage_and_post_types', 'ajax_get_keyword_usage_and_post_types' ); + + +/** + * Retrieves the keyword for the keyword doubles of the termpages. + * + * @return void + */ +function ajax_get_term_keyword_usage() { + check_ajax_referer( 'wpseo-keyword-usage', 'nonce' ); + + if ( ! isset( $_POST['post_id'], $_POST['keyword'], $_POST['taxonomy'] ) || ! is_string( $_POST['keyword'] ) || ! is_string( $_POST['taxonomy'] ) ) { + wp_die( -1 ); + } + + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are casting the unsafe input to an integer. + $post_id = (int) wp_unslash( $_POST['post_id'] ); + + if ( $post_id === 0 ) { + wp_die( -1 ); + } + + $keyword = sanitize_text_field( wp_unslash( $_POST['keyword'] ) ); + $taxonomy_name = sanitize_text_field( wp_unslash( $_POST['taxonomy'] ) ); + + $taxonomy = get_taxonomy( $taxonomy_name ); + + if ( ! $taxonomy ) { + wp_die( 0 ); + } + + if ( ! current_user_can( $taxonomy->cap->edit_terms ) ) { + wp_die( -1 ); + } + + $usage = WPSEO_Taxonomy_Meta::get_keyword_usage( $keyword, $post_id, $taxonomy_name ); + + // Normalize the result so it is the same as the post keyword usage AJAX request. + $usage = $usage[ $keyword ]; + + wp_die( + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: WPSEO_Utils::format_json_encode is safe. + WPSEO_Utils::format_json_encode( $usage ) + ); +} + +add_action( 'wp_ajax_get_term_keyword_usage', 'ajax_get_term_keyword_usage' ); + +/** + * Registers hooks for all AJAX integrations. + * + * @return void + */ +function wpseo_register_ajax_integrations() { + $integrations = [ new Yoast_Network_Admin() ]; + + foreach ( $integrations as $integration ) { + $integration->register_ajax_hooks(); + } +} + +wpseo_register_ajax_integrations(); + +new WPSEO_Shortcode_Filter(); + +new WPSEO_Taxonomy_Columns(); + +/* ********************* DEPRECATED FUNCTIONS ********************* */ + +/** + * Retrieves the keyword for the keyword doubles. + * + * @return void + */ +function ajax_get_keyword_usage() { + _deprecated_function( __METHOD__, 'WPSEO 20.4' ); + check_ajax_referer( 'wpseo-keyword-usage', 'nonce' ); + + if ( ! isset( $_POST['post_id'], $_POST['keyword'] ) || ! is_string( $_POST['keyword'] ) ) { + die( '-1' ); + } + + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- We are casting to an integer. + $post_id = (int) wp_unslash( $_POST['post_id'] ); + + if ( $post_id === 0 || ! current_user_can( 'edit_post', $post_id ) ) { + die( '-1' ); + } + + $keyword = sanitize_text_field( wp_unslash( $_POST['keyword'] ) ); + + wp_die( + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: WPSEO_Utils::format_json_encode is safe. + WPSEO_Utils::format_json_encode( WPSEO_Meta::keyword_usage( $keyword, $post_id ) ) + ); +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-shortcode-filter.php b/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-shortcode-filter.php new file mode 100644 index 00000000..c9f5f3db --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-shortcode-filter.php @@ -0,0 +1,54 @@ + $shortcode, + 'output' => do_shortcode( $shortcode ), + ]; + } + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: WPSEO_Utils::format_json_encode is considered safe. + wp_die( WPSEO_Utils::format_json_encode( $parsed_shortcodes ) ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-yoast-dismissable-notice.php b/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-yoast-dismissable-notice.php new file mode 100644 index 00000000..c847ba62 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-yoast-dismissable-notice.php @@ -0,0 +1,95 @@ +notice_name = $notice_name; + $this->notice_type = $notice_type; + + add_action( 'wp_ajax_wpseo_dismiss_' . $notice_name, [ $this, 'dismiss_notice' ] ); + } + + /** + * Handles the dismiss notice request. + * + * @return void + */ + public function dismiss_notice() { + check_ajax_referer( 'wpseo-dismiss-' . $this->notice_name ); + + $this->save_dismissed(); + + wp_die( 'true' ); + } + + /** + * Storing the dismissed value in the database. The target location is based on the set notification type. + * + * @return void + */ + private function save_dismissed() { + if ( $this->notice_type === self::FOR_SITE ) { + update_option( 'wpseo_dismiss_' . $this->notice_name, 1 ); + + return; + } + + if ( $this->notice_type === self::FOR_NETWORK ) { + update_site_option( 'wpseo_dismiss_' . $this->notice_name, 1 ); + + return; + } + + update_user_meta( get_current_user_id(), 'wpseo_dismiss_' . $this->notice_name, 1 ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-yoast-plugin-conflict-ajax.php b/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-yoast-plugin-conflict-ajax.php new file mode 100644 index 00000000..9778c5e7 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/ajax/class-yoast-plugin-conflict-ajax.php @@ -0,0 +1,130 @@ + sanitize_text_field( $conflict_data['section'] ), + 'plugins' => sanitize_text_field( $conflict_data['plugins'] ), + ]; + + $this->dismissed_conflicts = $this->get_dismissed_conflicts( $conflict_data['section'] ); + + $this->compare_plugins( $conflict_data['plugins'] ); + + $this->save_dismissed_conflicts( $conflict_data['section'] ); + + wp_die( 'true' ); + } + + /** + * Getting the user option from the database. + * + * @return bool|array + */ + private function get_dismissed_option() { + return get_user_meta( get_current_user_id(), $this->option_name, true ); + } + + /** + * Getting the dismissed conflicts from the database + * + * @param string $plugin_section Type of conflict group (such as Open Graph or sitemap). + * + * @return array + */ + private function get_dismissed_conflicts( $plugin_section ) { + $dismissed_conflicts = $this->get_dismissed_option(); + + if ( is_array( $dismissed_conflicts ) && array_key_exists( $plugin_section, $dismissed_conflicts ) ) { + return $dismissed_conflicts[ $plugin_section ]; + } + + return []; + } + + /** + * Storing the conflicting plugins as an user option in the database. + * + * @param string $plugin_section Plugin conflict type (such as Open Graph or sitemap). + * + * @return void + */ + private function save_dismissed_conflicts( $plugin_section ) { + $dismissed_conflicts = $this->get_dismissed_option(); + + $dismissed_conflicts[ $plugin_section ] = $this->dismissed_conflicts; + + update_user_meta( get_current_user_id(), $this->option_name, $dismissed_conflicts ); + } + + /** + * Loop through the plugins to compare them with the already stored dismissed plugin conflicts. + * + * @param array $posted_plugins Plugin set to check. + * + * @return void + */ + public function compare_plugins( array $posted_plugins ) { + foreach ( $posted_plugins as $posted_plugin ) { + $this->compare_plugin( $posted_plugin ); + } + } + + /** + * Check if plugin is already dismissed, if not store it in the array that will be saved later. + * + * @param string $posted_plugin Plugin to check against dismissed conflicts. + * + * @return void + */ + private function compare_plugin( $posted_plugin ) { + if ( ! in_array( $posted_plugin, $this->dismissed_conflicts, true ) ) { + $this->dismissed_conflicts[] = $posted_plugin; + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-abstract-capability-manager.php b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-abstract-capability-manager.php new file mode 100644 index 00000000..8f290d81 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-abstract-capability-manager.php @@ -0,0 +1,91 @@ +capabilities[ $capability ] ) ) { + $this->capabilities[ $capability ] = $roles; + + return; + } + + // Combine configurations. + $this->capabilities[ $capability ] = array_merge( $roles, $this->capabilities[ $capability ] ); + + // Remove doubles. + $this->capabilities[ $capability ] = array_unique( $this->capabilities[ $capability ] ); + } + + /** + * Returns the list of registered capabilitities. + * + * @return string[] Registered capabilities. + */ + public function get_capabilities() { + return array_keys( $this->capabilities ); + } + + /** + * Returns a list of WP_Role roles. + * + * The string array of role names are converted to actual WP_Role objects. + * These are needed to be able to use the API on them. + * + * @param array $roles Roles to retrieve the objects for. + * + * @return WP_Role[] List of WP_Role objects. + */ + protected function get_wp_roles( array $roles ) { + $wp_roles = array_map( 'get_role', $roles ); + + return array_filter( $wp_roles ); + } + + /** + * Filter capability roles. + * + * @param string $capability Capability to filter roles for. + * @param array $roles List of roles which can be filtered. + * + * @return array Filtered list of roles for the capability. + */ + protected function filter_roles( $capability, array $roles ) { + /** + * Filter: Allow changing roles that a capability is added to. + * + * @param array $roles The default roles to be filtered. + */ + $filtered = apply_filters( $capability . '_roles', $roles ); + + // Make sure we have the expected type. + if ( ! is_array( $filtered ) ) { + return []; + } + + return $filtered; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-factory.php b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-factory.php new file mode 100644 index 00000000..e265bee1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-factory.php @@ -0,0 +1,35 @@ +manager = $manager; + } + + /** + * Registers the hooks. + * + * @return void + */ + public function register_hooks() { + add_filter( 'members_get_capabilities', [ $this, 'get_capabilities' ] ); + add_action( 'members_register_cap_groups', [ $this, 'action_members_register_cap_group' ] ); + + add_filter( 'ure_capabilities_groups_tree', [ $this, 'filter_ure_capabilities_groups_tree' ] ); + add_filter( 'ure_custom_capability_groups', [ $this, 'filter_ure_custom_capability_groups' ], 10, 2 ); + } + + /** + * Get the Yoast SEO capabilities. + * Optionally append them to an existing array. + * + * @param array $caps Optional existing capability list. + * @return array + */ + public function get_capabilities( array $caps = [] ) { + if ( ! did_action( 'wpseo_register_capabilities' ) ) { + do_action( 'wpseo_register_capabilities' ); + } + + return array_merge( $caps, $this->manager->get_capabilities() ); + } + + /** + * Add capabilities to its own group in the Members plugin. + * + * @see members_register_cap_group() + * + * @return void + */ + public function action_members_register_cap_group() { + if ( ! function_exists( 'members_register_cap_group' ) ) { + return; + } + + // Register the yoast group. + $args = [ + 'label' => esc_html__( 'Yoast SEO', 'wordpress-seo' ), + 'caps' => $this->get_capabilities(), + 'icon' => 'dashicons-admin-plugins', + 'diff_added' => true, + ]; + members_register_cap_group( 'wordpress-seo', $args ); + } + + /** + * Adds Yoast SEO capability group in the User Role Editor plugin. + * + * @see URE_Capabilities_Groups_Manager::get_groups_tree() + * + * @param array $groups Current groups. + * + * @return array Filtered list of capabilty groups. + */ + public function filter_ure_capabilities_groups_tree( $groups = [] ) { + $groups = (array) $groups; + + $groups['wordpress-seo'] = [ + 'caption' => 'Yoast SEO', + 'parent' => 'custom', + 'level' => 3, + ]; + + return $groups; + } + + /** + * Adds capabilities to the Yoast SEO group in the User Role Editor plugin. + * + * @see URE_Capabilities_Groups_Manager::get_cap_groups() + * + * @param array $groups Current capability groups. + * @param string $cap_id Capability identifier. + * + * @return array List of filtered groups. + */ + public function filter_ure_custom_capability_groups( $groups = [], $cap_id = '' ) { + if ( in_array( $cap_id, $this->get_capabilities(), true ) ) { + $groups = (array) $groups; + $groups[] = 'wordpress-seo'; + } + + return $groups; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-vip.php b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-vip.php new file mode 100644 index 00000000..4f56e8e4 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-vip.php @@ -0,0 +1,73 @@ +capabilities as $capability => $roles ) { + $role_capabilities = $this->get_role_capabilities( $role_capabilities, $capability, $roles ); + } + + foreach ( $role_capabilities as $role => $capabilities ) { + wpcom_vip_add_role_caps( $role, $capabilities ); + } + } + + /** + * Removes the registered capabilities from the system + * + * @return void + */ + public function remove() { + // Remove from any role it has been added to. + $roles = wp_roles()->get_names(); + $roles = array_keys( $roles ); + + $role_capabilities = []; + foreach ( array_keys( $this->capabilities ) as $capability ) { + // Allow filtering of roles. + $role_capabilities = $this->get_role_capabilities( $role_capabilities, $capability, $roles ); + } + + foreach ( $role_capabilities as $role => $capabilities ) { + wpcom_vip_remove_role_caps( $role, $capabilities ); + } + } + + /** + * Returns the roles which the capability is registered on. + * + * @param array $role_capabilities List of all roles with their capabilities. + * @param string $capability Capability to filter roles for. + * @param array $roles List of default roles. + * + * @return array List of capabilities. + */ + protected function get_role_capabilities( $role_capabilities, $capability, $roles ) { + // Allow filtering of roles. + $filtered_roles = $this->filter_roles( $capability, $roles ); + + foreach ( $filtered_roles as $role ) { + if ( ! isset( $add_role_caps[ $role ] ) ) { + $role_capabilities[ $role ] = []; + } + + $role_capabilities[ $role ][] = $capability; + } + + return $role_capabilities; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-wp.php b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-wp.php new file mode 100644 index 00000000..18309567 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager-wp.php @@ -0,0 +1,51 @@ +capabilities as $capability => $roles ) { + $filtered_roles = $this->filter_roles( $capability, $roles ); + + $wp_roles = $this->get_wp_roles( $filtered_roles ); + foreach ( $wp_roles as $wp_role ) { + $wp_role->add_cap( $capability ); + } + } + } + + /** + * Unregisters the capabilities from the system. + * + * @return void + */ + public function remove() { + // Remove from any roles it has been added to. + $roles = wp_roles()->get_names(); + $roles = array_keys( $roles ); + + foreach ( $this->capabilities as $capability => $_roles ) { + $registered_roles = array_unique( array_merge( $roles, $this->capabilities[ $capability ] ) ); + + // Allow filtering of roles. + $filtered_roles = $this->filter_roles( $capability, $registered_roles ); + + $wp_roles = $this->get_wp_roles( $filtered_roles ); + foreach ( $wp_roles as $wp_role ) { + $wp_role->remove_cap( $capability ); + } + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager.php b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager.php new file mode 100644 index 00000000..63f6962d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-capability-manager.php @@ -0,0 +1,38 @@ + $applicable_roles ] ); + } + + /** + * Retrieves the roles that have the specified capability. + * + * @param string $capability The name of the capability. + * + * @return array The names of the roles that have the capability. + */ + public static function get_applicable_roles( $capability ) { + $roles = wp_roles(); + $role_names = $roles->get_names(); + + $applicable_roles = []; + foreach ( array_keys( $role_names ) as $role_name ) { + $role = $roles->get_role( $role_name ); + + if ( ! $role ) { + continue; + } + + // Add role if it has the capability. + if ( array_key_exists( $capability, $role->capabilities ) && $role->capabilities[ $capability ] === true ) { + $applicable_roles[] = $role_name; + } + } + + return $applicable_roles; + } + + /** + * Checks if the current user has at least one of the supplied capabilities. + * + * @param array $capabilities Capabilities to check against. + * + * @return bool True if the user has at least one capability. + */ + protected static function has_any( array $capabilities ) { + foreach ( $capabilities as $capability ) { + if ( self::has( $capability ) ) { + return true; + } + } + + return false; + } + + /** + * Checks if the user has a certain capability. + * + * @param string $capability Capability to check against. + * + * @return bool True if the user has the capability. + */ + protected static function has( $capability ) { + return current_user_can( $capability ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-register-capabilities.php b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-register-capabilities.php new file mode 100644 index 00000000..6cf248d8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/capabilities/class-register-capabilities.php @@ -0,0 +1,111 @@ +register( 'wpseo_bulk_edit', [ 'editor', 'wpseo_editor', 'wpseo_manager' ] ); + $manager->register( 'wpseo_edit_advanced_metadata', [ 'editor', 'wpseo_editor', 'wpseo_manager' ] ); + + $manager->register( 'wpseo_manage_options', [ 'administrator', 'wpseo_manager' ] ); + $manager->register( 'view_site_health_checks', [ 'wpseo_manager' ] ); + } + + /** + * Revokes the 'wpseo_manage_options' capability from administrator users if it should + * only be granted to network administrators. + * + * @param array $allcaps An array of all the user's capabilities. + * @param array $caps Actual capabilities being checked. + * @param array $args Optional parameters passed to has_cap(), typically object ID. + * @param WP_User $user The user object. + * + * @return array Possibly modified array of the user's capabilities. + */ + public function filter_user_has_wpseo_manage_options_cap( $allcaps, $caps, $args, $user ) { + + // We only need to do something if 'wpseo_manage_options' is being checked. + if ( ! in_array( 'wpseo_manage_options', $caps, true ) ) { + return $allcaps; + } + + // If the user does not have 'wpseo_manage_options' anyway, we don't need to revoke access. + if ( empty( $allcaps['wpseo_manage_options'] ) ) { + return $allcaps; + } + + // If the user does not have 'delete_users', they are not an administrator. + if ( empty( $allcaps['delete_users'] ) ) { + return $allcaps; + } + + $options = WPSEO_Options::get_instance(); + + if ( $options->get( 'access' ) === 'superadmin' && ! is_super_admin( $user->ID ) ) { + unset( $allcaps['wpseo_manage_options'] ); + } + + return $allcaps; + } + + /** + * Maybe add manage_privacy_options capability for wpseo_manager user role. + * + * @param string[] $caps Primitive capabilities required of the user. + * @param string[] $cap Capability being checked. + * + * @return string[] Filtered primitive capabilities required of the user. + */ + public function map_meta_cap_for_seo_manager( $caps, $cap ) { + $user = wp_get_current_user(); + + // No multisite support. + if ( is_multisite() ) { + return $caps; + } + + // User must be of role wpseo_manager. + if ( ! in_array( 'wpseo_manager', $user->roles, true ) ) { + return $caps; + } + + // Remove manage_options cap requirement if requested cap is manage_privacy_options. + if ( $cap === 'manage_privacy_options' ) { + return array_diff( $caps, [ 'manage_options' ] ); + } + + return $caps; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-analysis-worker-location.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-analysis-worker-location.php new file mode 100644 index 00000000..cb980ad1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-analysis-worker-location.php @@ -0,0 +1,75 @@ +flatten_version( WPSEO_VERSION ); + } + + $analysis_worker = $name . '-' . $flat_version . '.js'; + + $this->asset_location = WPSEO_Admin_Asset_Manager::create_default_location(); + $this->asset = new WPSEO_Admin_Asset( + [ + 'name' => $name, + 'src' => $analysis_worker, + ] + ); + } + + /** + * Retrieves the analysis worker asset. + * + * @return WPSEO_Admin_Asset The analysis worker asset. + */ + public function get_asset() { + return $this->asset; + } + + /** + * Determines the URL of the asset on the dev server. + * + * @param WPSEO_Admin_Asset $asset The asset to determine the URL for. + * @param string $type The type of asset. Usually JS or CSS. + * + * @return string The URL of the asset. + */ + public function get_url( WPSEO_Admin_Asset $asset, $type ) { + $scheme = wp_parse_url( $asset->get_src(), PHP_URL_SCHEME ); + if ( in_array( $scheme, [ 'http', 'https' ], true ) ) { + return $asset->get_src(); + } + + return $this->asset_location->get_url( $asset, $type ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-dev-server-location.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-dev-server-location.php new file mode 100644 index 00000000..cf67ae74 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-dev-server-location.php @@ -0,0 +1,71 @@ +url = $url; + } + + /** + * Determines the URL of the asset on the dev server. + * + * @param WPSEO_Admin_Asset $asset The asset to determine the URL for. + * @param string $type The type of asset. Usually JS or CSS. + * + * @return string The URL of the asset. + */ + public function get_url( WPSEO_Admin_Asset $asset, $type ) { + if ( $type === WPSEO_Admin_Asset::TYPE_CSS ) { + return $this->get_default_url( $asset, $type ); + } + + $path = sprintf( 'js/dist/%s%s.js', $asset->get_src(), $asset->get_suffix() ); + + return trailingslashit( $this->url ) . $path; + } + + /** + * Determines the URL of the asset not using the dev server. + * + * @param WPSEO_Admin_Asset $asset The asset to determine the URL for. + * @param string $type The type of asset. + * + * @return string The URL of the asset file. + */ + public function get_default_url( WPSEO_Admin_Asset $asset, $type ) { + $default_location = new WPSEO_Admin_Asset_SEO_Location( WPSEO_FILE ); + + return $default_location->get_url( $asset, $type ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-location.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-location.php new file mode 100644 index 00000000..7d1c8c35 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-location.php @@ -0,0 +1,22 @@ +asset_location = $asset_location; + $this->prefix = $prefix; + } + + /** + * Enqueues scripts. + * + * @param string $script The name of the script to enqueue. + * + * @return void + */ + public function enqueue_script( $script ) { + wp_enqueue_script( $this->prefix . $script ); + } + + /** + * Enqueues styles. + * + * @param string $style The name of the style to enqueue. + * + * @return void + */ + public function enqueue_style( $style ) { + wp_enqueue_style( $this->prefix . $style ); + } + + /** + * Enqueues the appropriate language for the user. + * + * @return void + */ + public function enqueue_user_language_script() { + $this->enqueue_script( 'language-' . YoastSEO()->helpers->language->get_researcher_language() ); + } + + /** + * Registers scripts based on it's parameters. + * + * @param WPSEO_Admin_Asset $script The script to register. + * + * @return void + */ + public function register_script( WPSEO_Admin_Asset $script ) { + $url = $script->get_src() ? $this->get_url( $script, WPSEO_Admin_Asset::TYPE_JS ) : false; + + wp_register_script( + $this->prefix . $script->get_name(), + $url, + $script->get_deps(), + $script->get_version(), + $script->is_in_footer() + ); + + if ( in_array( 'wp-i18n', $script->get_deps(), true ) ) { + wp_set_script_translations( $this->prefix . $script->get_name(), 'wordpress-seo' ); + } + } + + /** + * Registers styles based on it's parameters. + * + * @param WPSEO_Admin_Asset $style The style to register. + * + * @return void + */ + public function register_style( WPSEO_Admin_Asset $style ) { + wp_register_style( + $this->prefix . $style->get_name(), + $this->get_url( $style, WPSEO_Admin_Asset::TYPE_CSS ), + $style->get_deps(), + $style->get_version(), + $style->get_media() + ); + } + + /** + * Calls the functions that register scripts and styles with the scripts and styles to be registered as arguments. + * + * @return void + */ + public function register_assets() { + $this->register_scripts( $this->scripts_to_be_registered() ); + $this->register_styles( $this->styles_to_be_registered() ); + } + + /** + * Registers all the scripts passed to it. + * + * @param array $scripts The scripts passed to it. + * + * @return void + */ + public function register_scripts( $scripts ) { + foreach ( $scripts as $script ) { + $script = new WPSEO_Admin_Asset( $script ); + $this->register_script( $script ); + } + } + + /** + * Registers all the styles it receives. + * + * @param array $styles Styles that need to be registered. + * + * @return void + */ + public function register_styles( $styles ) { + foreach ( $styles as $style ) { + $style = new WPSEO_Admin_Asset( $style ); + $this->register_style( $style ); + } + } + + /** + * Localizes the script. + * + * @param string $handle The script handle. + * @param string $object_name The object name. + * @param array $data The l10n data. + * + * @return void + */ + public function localize_script( $handle, $object_name, $data ) { + wp_localize_script( $this->prefix . $handle, $object_name, $data ); + } + + /** + * Adds an inline script. + * + * @param string $handle The script handle. + * @param string $data The l10n data. + * @param string $position Optional. Whether to add the inline script before the handle or after. + * + * @return void + */ + public function add_inline_script( $handle, $data, $position = 'after' ) { + wp_add_inline_script( $this->prefix . $handle, $data, $position ); + } + + /** + * A list of styles that shouldn't be registered but are needed in other locations in the plugin. + * + * @return array + */ + public function special_styles() { + $flat_version = $this->flatten_version( WPSEO_VERSION ); + $asset_args = [ + 'name' => 'inside-editor', + 'src' => 'inside-editor-' . $flat_version, + ]; + + return [ 'inside-editor' => new WPSEO_Admin_Asset( $asset_args ) ]; + } + + /** + * Flattens a version number for use in a filename. + * + * @param string $version The original version number. + * + * @return string The flattened version number. + */ + public function flatten_version( $version ) { + $parts = explode( '.', $version ); + + if ( count( $parts ) === 2 && preg_match( '/^\d+$/', $parts[1] ) === 1 ) { + $parts[] = '0'; + } + + return implode( '', $parts ); + } + + /** + * Creates a default location object for use in the admin asset manager. + * + * @return WPSEO_Admin_Asset_Location The location to use in the asset manager. + */ + public static function create_default_location() { + if ( defined( 'YOAST_SEO_DEV_SERVER' ) && YOAST_SEO_DEV_SERVER ) { + $url = defined( 'YOAST_SEO_DEV_SERVER_URL' ) ? YOAST_SEO_DEV_SERVER_URL : WPSEO_Admin_Asset_Dev_Server_Location::DEFAULT_URL; + + return new WPSEO_Admin_Asset_Dev_Server_Location( $url ); + } + + return new WPSEO_Admin_Asset_SEO_Location( WPSEO_FILE, false ); + } + + /** + * Checks if the given script is enqueued. + * + * @param string $script The script to check. + * + * @return bool True when the script is enqueued. + */ + public function is_script_enqueued( $script ) { + return wp_script_is( $this->prefix . $script ); + } + + /** + * Returns the scripts that need to be registered. + * + * @todo Data format is not self-documenting. Needs explanation inline. R. + * + * @return array The scripts that need to be registered. + */ + protected function scripts_to_be_registered() { + $header_scripts = [ + 'admin-global', + 'block-editor', + 'classic-editor', + 'post-edit', + 'help-scout-beacon', + 'redirect-old-features-tab', + ]; + $additional_dependencies = [ + 'analysis-worker' => [ self::PREFIX . 'analysis-package' ], + 'api-client' => [ 'wp-api' ], + 'crawl-settings' => [ 'jquery' ], + 'dashboard-widget' => [ self::PREFIX . 'api-client' ], + 'wincher-dashboard-widget' => [ self::PREFIX . 'api-client' ], + 'editor-modules' => [ 'jquery' ], + 'elementor' => [ + self::PREFIX . 'api-client', + self::PREFIX . 'externals-components', + self::PREFIX . 'externals-contexts', + self::PREFIX . 'externals-redux', + ], + 'indexation' => [ + 'jquery-ui-core', + 'jquery-ui-progressbar', + ], + 'first-time-configuration' => [ + self::PREFIX . 'api-client', + self::PREFIX . 'externals-components', + self::PREFIX . 'externals-contexts', + self::PREFIX . 'externals-redux', + ], + 'integrations-page' => [ + self::PREFIX . 'api-client', + self::PREFIX . 'externals-components', + self::PREFIX . 'externals-contexts', + self::PREFIX . 'externals-redux', + ], + 'post-edit' => [ + self::PREFIX . 'api-client', + self::PREFIX . 'block-editor', + self::PREFIX . 'externals-components', + self::PREFIX . 'externals-contexts', + self::PREFIX . 'externals-redux', + ], + 'reindex-links' => [ + 'jquery-ui-core', + 'jquery-ui-progressbar', + ], + 'settings' => [ + 'jquery-ui-core', + 'jquery-ui-progressbar', + self::PREFIX . 'api-client', + self::PREFIX . 'externals-components', + self::PREFIX . 'externals-contexts', + self::PREFIX . 'externals-redux', + ], + 'term-edit' => [ + self::PREFIX . 'api-client', + self::PREFIX . 'classic-editor', + self::PREFIX . 'externals-components', + self::PREFIX . 'externals-contexts', + self::PREFIX . 'externals-redux', + ], + ]; + + $plugin_scripts = $this->load_generated_asset_file( + [ + 'asset_file' => __DIR__ . '/../src/generated/assets/plugin.php', + 'ext_length' => 3, + 'additional_deps' => $additional_dependencies, + 'header_scripts' => $header_scripts, + ] + ); + $external_scripts = $this->load_generated_asset_file( + [ + 'asset_file' => __DIR__ . '/../src/generated/assets/externals.php', + 'ext_length' => 3, + 'suffix' => '-package', + 'base_dir' => 'externals/', + 'additional_deps' => $additional_dependencies, + 'header_scripts' => $header_scripts, + ] + ); + $language_scripts = $this->load_generated_asset_file( + [ + 'asset_file' => __DIR__ . '/../src/generated/assets/languages.php', + 'ext_length' => 3, + 'suffix' => '-language', + 'base_dir' => 'languages/', + 'additional_deps' => $additional_dependencies, + 'header_scripts' => $header_scripts, + ] + ); + $renamed_scripts = $this->load_renamed_scripts(); + + $scripts = array_merge( + $plugin_scripts, + $external_scripts, + $language_scripts, + $renamed_scripts + ); + + $scripts['installation-success'] = [ + 'name' => 'installation-success', + 'src' => 'installation-success.js', + 'deps' => [ + 'wp-a11y', + 'wp-dom-ready', + 'wp-components', + 'wp-element', + 'wp-i18n', + self::PREFIX . 'components-new-package', + self::PREFIX . 'externals-components', + ], + 'version' => $scripts['installation-success']['version'], + ]; + + $scripts['post-edit-classic'] = [ + 'name' => 'post-edit-classic', + 'src' => $scripts['post-edit']['src'], + 'deps' => array_map( + static function ( $dep ) { + if ( $dep === self::PREFIX . 'block-editor' ) { + return self::PREFIX . 'classic-editor'; + } + return $dep; + }, + $scripts['post-edit']['deps'] + ), + 'in_footer' => ! in_array( 'post-edit-classic', $header_scripts, true ), + 'version' => $scripts['post-edit']['version'], + ]; + + $scripts['workouts'] = [ + 'name' => 'workouts', + 'src' => 'workouts.js', + 'deps' => [ + 'clipboard', + 'lodash', + 'wp-api-fetch', + 'wp-a11y', + 'wp-components', + 'wp-compose', + 'wp-data', + 'wp-dom-ready', + 'wp-element', + 'wp-i18n', + self::PREFIX . 'externals-components', + self::PREFIX . 'externals-contexts', + self::PREFIX . 'externals-redux', + self::PREFIX . 'analysis', + self::PREFIX . 'react-select', + self::PREFIX . 'components-new-package', + ], + 'version' => $scripts['workouts']['version'], + ]; + + // Add the current language to every script that requires the analysis package. + foreach ( $scripts as $name => $script ) { + if ( substr( $name, -8 ) === 'language' ) { + continue; + } + if ( in_array( self::PREFIX . 'analysis-package', $script['deps'], true ) ) { + $scripts[ $name ]['deps'][] = self::PREFIX . YoastSEO()->helpers->language->get_researcher_language() . '-language'; + } + } + + return $scripts; + } + + /** + * Loads a generated asset file. + * + * @param array $args { + * The arguments. + * + * @type string $asset_file The asset file to load. + * @type int $ext_length The length of the extension, including suffix, of the filename. + * @type string $suffix Optional. The suffix of the asset name. + * @type array $additional_deps Optional. The additional dependencies assets may have. + * @type string $base_dir Optional. The base directory of the asset. + * @type string[] $header_scripts Optional. The script names that should be in the header. + * } + * + * @return array { + * The scripts to be registered. + * + * @type string $name The name of the asset. + * @type string $src The src of the asset. + * @type string[] $deps The dependenies of the asset. + * @type bool $in_footer Whether or not the asset should be in the footer. + * } + */ + protected function load_generated_asset_file( $args ) { + $args = wp_parse_args( + $args, + [ + 'suffix' => '', + 'additional_deps' => [], + 'base_dir' => '', + 'header_scripts' => [], + ] + ); + $scripts = []; + $assets = require $args['asset_file']; + foreach ( $assets as $file => $data ) { + $name = substr( $file, 0, -$args['ext_length'] ); + $name = strtolower( preg_replace( '/([A-Z])/', '-$1', $name ) ); + $name .= $args['suffix']; + + $deps = $data['dependencies']; + if ( isset( $args['additional_deps'][ $name ] ) ) { + $deps = array_merge( $deps, $args['additional_deps'][ $name ] ); + } + + $scripts[ $name ] = [ + 'name' => $name, + 'src' => $args['base_dir'] . $file, + 'deps' => $deps, + 'in_footer' => ! in_array( $name, $args['header_scripts'], true ), + 'version' => $data['version'], + ]; + } + + return $scripts; + } + + /** + * Loads the scripts that should be renamed for BC. + * + * @return array { + * The scripts to be registered. + * + * @type string $name The name of the asset. + * @type string $src The src of the asset. + * @type string[] $deps The dependenies of the asset. + * @type bool $in_footer Whether or not the asset should be in the footer. + * } + */ + protected function load_renamed_scripts() { + $scripts = []; + $renamed_scripts = [ + 'admin-global-script' => 'admin-global', + 'analysis' => 'analysis-package', + 'analysis-report' => 'analysis-report-package', + 'api' => 'api-client', + 'commons' => 'commons-package', + 'edit-page' => 'edit-page-script', + 'draft-js' => 'draft-js-package', + 'feature-flag' => 'feature-flag-package', + 'helpers' => 'helpers-package', + 'jed' => 'jed-package', + 'chart.js' => 'chart.js-package', + 'network-admin-script' => 'network-admin', + 'redux' => 'redux-package', + 'replacement-variable-editor' => 'replacement-variable-editor-package', + 'search-metadata-previews' => 'search-metadata-previews-package', + 'social-metadata-forms' => 'social-metadata-forms-package', + 'styled-components' => 'styled-components-package', + 'style-guide' => 'style-guide-package', + 'yoast-components' => 'components-new-package', + ]; + + foreach ( $renamed_scripts as $original => $replacement ) { + $scripts[] = [ + 'name' => $original, + 'src' => false, + 'deps' => [ self::PREFIX . $replacement ], + ]; + } + + return $scripts; + } + + /** + * Returns the styles that need to be registered. + * + * @todo Data format is not self-documenting. Needs explanation inline. R. + * + * @return array Styles that need to be registered. + */ + protected function styles_to_be_registered() { + $flat_version = $this->flatten_version( WPSEO_VERSION ); + + return [ + [ + 'name' => 'admin-css', + 'src' => 'yst_plugin_tools-' . $flat_version, + 'deps' => [ self::PREFIX . 'toggle-switch' ], + ], + [ + 'name' => 'toggle-switch', + 'src' => 'toggle-switch-' . $flat_version, + ], + [ + 'name' => 'dismissible', + 'src' => 'wpseo-dismissible-' . $flat_version, + ], + [ + 'name' => 'notifications', + 'src' => 'notifications-' . $flat_version, + ], + [ + 'name' => 'alert', + 'src' => 'alerts-' . $flat_version, + ], + [ + 'name' => 'edit-page', + 'src' => 'edit-page-' . $flat_version, + ], + [ + 'name' => 'featured-image', + 'src' => 'featured-image-' . $flat_version, + ], + [ + 'name' => 'metabox-css', + 'src' => 'metabox-' . $flat_version, + 'deps' => [ + self::PREFIX . 'admin-css', + self::PREFIX . 'tailwind', + 'wp-components', + ], + ], + [ + 'name' => 'ai-generator', + 'src' => 'ai-generator-' . $flat_version, + 'deps' => [ + self::PREFIX . 'tailwind', + self::PREFIX . 'introductions', + ], + ], + [ + 'name' => 'ai-fix-assessments', + 'src' => 'ai-fix-assessments-' . $flat_version, + ], + [ + 'name' => 'introductions', + 'src' => 'introductions-' . $flat_version, + 'deps' => [ self::PREFIX . 'tailwind' ], + ], + [ + 'name' => 'wp-dashboard', + 'src' => 'dashboard-' . $flat_version, + ], + [ + 'name' => 'scoring', + 'src' => 'yst_seo_score-' . $flat_version, + ], + [ + 'name' => 'adminbar', + 'src' => 'adminbar-' . $flat_version, + 'deps' => [ + 'admin-bar', + ], + ], + [ + 'name' => 'primary-category', + 'src' => 'metabox-primary-category-' . $flat_version, + ], + [ + 'name' => 'admin-global', + 'src' => 'admin-global-' . $flat_version, + ], + [ + 'name' => 'extensions', + 'src' => 'yoast-extensions-' . $flat_version, + 'deps' => [ + 'wp-components', + ], + ], + [ + 'name' => 'filter-explanation', + 'src' => 'filter-explanation-' . $flat_version, + ], + [ + 'name' => 'monorepo', + 'src' => 'monorepo-' . $flat_version, + ], + [ + 'name' => 'structured-data-blocks', + 'src' => 'structured-data-blocks-' . $flat_version, + 'deps' => [ + 'dashicons', + 'forms', + 'wp-edit-blocks', + ], + ], + [ + 'name' => 'elementor', + 'src' => 'elementor-' . $flat_version, + ], + [ + 'name' => 'tailwind', + 'src' => 'tailwind-' . $flat_version, + ], + [ + 'name' => 'new-settings', + 'src' => 'new-settings-' . $flat_version, + 'deps' => [ self::PREFIX . 'tailwind' ], + ], + [ + 'name' => 'black-friday-banner', + 'src' => 'black-friday-banner-' . $flat_version, + 'deps' => [ self::PREFIX . 'tailwind' ], + ], + [ + 'name' => 'academy', + 'src' => 'academy-' . $flat_version, + 'deps' => [ self::PREFIX . 'tailwind' ], + ], + [ + 'name' => 'support', + 'src' => 'support-' . $flat_version, + 'deps' => [ self::PREFIX . 'tailwind' ], + ], + [ + 'name' => 'workouts', + 'src' => 'workouts-' . $flat_version, + 'deps' => [ + self::PREFIX . 'monorepo', + ], + ], + [ + 'name' => 'first-time-configuration', + 'src' => 'first-time-configuration-' . $flat_version, + 'deps' => [ self::PREFIX . 'tailwind' ], + ], + [ + 'name' => 'inside-editor', + 'src' => 'inside-editor-' . $flat_version, + ], + ]; + } + + /** + * Determines the URL of the asset. + * + * @param WPSEO_Admin_Asset $asset The asset to determine the URL for. + * @param string $type The type of asset. Usually JS or CSS. + * + * @return string The URL of the asset. + */ + protected function get_url( WPSEO_Admin_Asset $asset, $type ) { + $scheme = wp_parse_url( $asset->get_src(), PHP_URL_SCHEME ); + if ( in_array( $scheme, [ 'http', 'https' ], true ) ) { + return $asset->get_src(); + } + + return $this->asset_location->get_url( $asset, $type ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-seo-location.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-seo-location.php new file mode 100644 index 00000000..6774ebd6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-seo-location.php @@ -0,0 +1,86 @@ +plugin_file = $plugin_file; + $this->add_suffix = $add_suffix; + } + + /** + * Determines the URL of the asset on the dev server. + * + * @param WPSEO_Admin_Asset $asset The asset to determine the URL for. + * @param string $type The type of asset. Usually JS or CSS. + * + * @return string The URL of the asset. + */ + public function get_url( WPSEO_Admin_Asset $asset, $type ) { + $path = $this->get_path( $asset, $type ); + if ( empty( $path ) ) { + return ''; + } + + return plugins_url( $path, $this->plugin_file ); + } + + /** + * Determines the path relative to the plugin folder of an asset. + * + * @param WPSEO_Admin_Asset $asset The asset to determine the path for. + * @param string $type The type of asset. + * + * @return string The path to the asset file. + */ + protected function get_path( WPSEO_Admin_Asset $asset, $type ) { + $relative_path = ''; + $rtl_suffix = ''; + + switch ( $type ) { + case WPSEO_Admin_Asset::TYPE_JS: + $relative_path = 'js/dist/' . $asset->get_src(); + if ( $this->add_suffix ) { + $relative_path .= $asset->get_suffix() . '.js'; + } + break; + + case WPSEO_Admin_Asset::TYPE_CSS: + // Path and suffix for RTL stylesheets. + if ( is_rtl() && $asset->has_rtl() ) { + $rtl_suffix = '-rtl'; + } + $relative_path = 'css/dist/' . $asset->get_src() . $rtl_suffix . $asset->get_suffix() . '.css'; + break; + } + + return $relative_path; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-editor-specific-replace-vars.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-editor-specific-replace-vars.php new file mode 100644 index 00000000..781ce099 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-editor-specific-replace-vars.php @@ -0,0 +1,227 @@ + [ 'id', 'pt_single', 'pt_plural', 'parent_title' ], + 'post' => [ 'id', 'term404', 'pt_single', 'pt_plural' ], + // Custom post type. + 'custom_post_type' => [ 'id', 'term404', 'pt_single', 'pt_plural', 'parent_title' ], + // Settings - archive pages. + 'custom-post-type_archive' => [ 'pt_single', 'pt_plural' ], + + // Taxonomies. + 'category' => [ 'term_title', 'term_description', 'category_description', 'parent_title', 'term_hierarchy' ], + 'post_tag' => [ 'term_title', 'term_description', 'tag_description' ], + 'post_format' => [ 'term_title' ], + // Custom taxonomy. + 'term-in-custom-taxonomy' => [ 'term_title', 'term_description', 'category_description', 'parent_title', 'term_hierarchy' ], + + // Settings - special pages. + 'search' => [ 'searchphrase' ], + ]; + + /** + * WPSEO_Admin_Editor_Specific_Replace_Vars constructor. + */ + public function __construct() { + $this->add_for_page_types( + [ 'page', 'post', 'custom_post_type' ], + WPSEO_Custom_Fields::get_custom_fields() + ); + + $this->add_for_page_types( + [ 'post', 'term-in-custom-taxonomy' ], + WPSEO_Custom_Taxonomies::get_custom_taxonomies() + ); + } + + /** + * Retrieves the editor specific replacement variables. + * + * @return array The editor specific replacement variables. + */ + public function get() { + /** + * Filter: Adds the possibility to add extra editor specific replacement variables. + * + * @param array $replacement_variables Array of editor specific replace vars. + */ + $replacement_variables = apply_filters( + 'wpseo_editor_specific_replace_vars', + $this->replacement_variables + ); + + if ( ! is_array( $replacement_variables ) ) { + $replacement_variables = $this->replacement_variables; + } + + return array_filter( $replacement_variables, 'is_array' ); + } + + /** + * Retrieves the generic replacement variable names. + * + * Which are the replacement variables without the editor specific ones. + * + * @param array $replacement_variables Possibly generic replacement variables. + * + * @return array The generic replacement variable names. + */ + public function get_generic( $replacement_variables ) { + $shared_variables = array_diff( + $this->extract_names( $replacement_variables ), + $this->get_unique_replacement_variables() + ); + + return array_values( $shared_variables ); + } + + /** + * Determines the page type of the current term. + * + * @param string $taxonomy The taxonomy name. + * + * @return string The page type. + */ + public function determine_for_term( $taxonomy ) { + $replacement_variables = $this->get(); + if ( array_key_exists( $taxonomy, $replacement_variables ) ) { + return $taxonomy; + } + + return 'term-in-custom-taxonomy'; + } + + /** + * Determines the page type of the current post. + * + * @param WP_Post $post A WordPress post instance. + * + * @return string The page type. + */ + public function determine_for_post( $post ) { + if ( $post instanceof WP_Post === false ) { + return 'post'; + } + + $replacement_variables = $this->get(); + if ( array_key_exists( $post->post_type, $replacement_variables ) ) { + return $post->post_type; + } + + return 'custom_post_type'; + } + + /** + * Determines the page type for a post type. + * + * @param string $post_type The name of the post_type. + * @param string $fallback The page type to fall back to. + * + * @return string The page type. + */ + public function determine_for_post_type( $post_type, $fallback = 'custom_post_type' ) { + if ( ! $this->has_for_page_type( $post_type ) ) { + return $fallback; + } + + return $post_type; + } + + /** + * Determines the page type for an archive page. + * + * @param string $name The name of the archive. + * @param string $fallback The page type to fall back to. + * + * @return string The page type. + */ + public function determine_for_archive( $name, $fallback = 'custom-post-type_archive' ) { + $page_type = $name . '_archive'; + + if ( ! $this->has_for_page_type( $page_type ) ) { + return $fallback; + } + + return $page_type; + } + + /** + * Adds the replavement variables for the given page types. + * + * @param array $page_types Page types to add variables for. + * @param array $replacement_variables_to_add The variables to add. + * + * @return void + */ + protected function add_for_page_types( array $page_types, array $replacement_variables_to_add ) { + if ( empty( $replacement_variables_to_add ) ) { + return; + } + + $replacement_variables_to_add = array_fill_keys( $page_types, $replacement_variables_to_add ); + $replacement_variables = $this->replacement_variables; + + $this->replacement_variables = array_merge_recursive( $replacement_variables, $replacement_variables_to_add ); + } + + /** + * Extracts the names from the given replacements variables. + * + * @param array $replacement_variables Replacement variables to extract the name from. + * + * @return array Extracted names. + */ + protected function extract_names( $replacement_variables ) { + $extracted_names = []; + + foreach ( $replacement_variables as $replacement_variable ) { + if ( empty( $replacement_variable['name'] ) ) { + continue; + } + + $extracted_names[] = $replacement_variable['name']; + } + + return $extracted_names; + } + + /** + * Returns whether the given page type has editor specific replace vars. + * + * @param string $page_type The page type to check. + * + * @return bool True if there are associated editor specific replace vars. + */ + protected function has_for_page_type( $page_type ) { + $replacement_variables = $this->get(); + + return ( ! empty( $replacement_variables[ $page_type ] ) && is_array( $replacement_variables[ $page_type ] ) ); + } + + /** + * Merges all editor specific replacement variables into one array and removes duplicates. + * + * @return array The list of unique editor specific replacement variables. + */ + protected function get_unique_replacement_variables() { + $merged_replacement_variables = call_user_func_array( 'array_merge', array_values( $this->get() ) ); + + return array_unique( $merged_replacement_variables ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-gutenberg-compatibility-notification.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-gutenberg-compatibility-notification.php new file mode 100644 index 00000000..8f521de3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-gutenberg-compatibility-notification.php @@ -0,0 +1,105 @@ +compatibility_checker = new WPSEO_Gutenberg_Compatibility(); + $this->notification_center = Yoast_Notification_Center::get(); + } + + /** + * Registers all hooks to WordPress. + * + * @return void + */ + public function register_hooks() { + add_action( 'admin_init', [ $this, 'manage_notification' ] ); + } + + /** + * Manages if the notification should be shown or removed. + * + * @return void + */ + public function manage_notification() { + /** + * Filter: 'yoast_display_gutenberg_compat_notification' - Allows developer to disable the Gutenberg compatibility + * notification. + * + * @param bool $display_notification + */ + $display_notification = apply_filters( 'yoast_display_gutenberg_compat_notification', true ); + + if ( + ! $this->compatibility_checker->is_installed() + || $this->compatibility_checker->is_fully_compatible() + || ! $display_notification + ) { + $this->notification_center->remove_notification_by_id( $this->notification_id ); + + return; + } + + $this->add_notification(); + } + + /** + * Adds the notification to the notificaton center. + * + * @return void + */ + protected function add_notification() { + $level = $this->compatibility_checker->is_below_minimum() ? Yoast_Notification::ERROR : Yoast_Notification::WARNING; + + $message = sprintf( + /* translators: %1$s expands to Yoast SEO, %2$s expands to the installed version, %3$s expands to Gutenberg */ + __( '%1$s detected you are using version %2$s of %3$s, please update to the latest version to prevent compatibility issues.', 'wordpress-seo' ), + 'Yoast SEO', + $this->compatibility_checker->get_installed_version(), + 'Gutenberg' + ); + + $notification = new Yoast_Notification( + $message, + [ + 'id' => $this->notification_id, + 'type' => $level, + 'priority' => 1, + ] + ); + + $this->notification_center->add_notification( $notification ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-help-panel.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-help-panel.php new file mode 100644 index 00000000..6fdb6c2f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-help-panel.php @@ -0,0 +1,104 @@ +id = $id; + $this->help_button_text = $help_button_text; + $this->help_content = $help_content; + $this->wrapper = $wrapper; + } + + /** + * Returns the html for the Help Button. + * + * @return string + */ + public function get_button_html() { + + if ( ! $this->id || ! $this->help_button_text || ! $this->help_content ) { + return ''; + } + + return sprintf( + ' ', + esc_attr( $this->id ), + $this->help_button_text + ); + } + + /** + * Returns the html for the Help Panel. + * + * @return string + */ + public function get_panel_html() { + + if ( ! $this->id || ! $this->help_button_text || ! $this->help_content ) { + return ''; + } + + $wrapper_start = ''; + $wrapper_end = ''; + + if ( $this->wrapper === 'has-wrapper' ) { + $wrapper_start = '
    '; + $wrapper_end = '
    '; + } + + return sprintf( + '%1$s

    %3$s

    %4$s', + $wrapper_start, + esc_attr( $this->id ), + $this->help_content, + $wrapper_end + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-init.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-init.php new file mode 100644 index 00000000..168e789a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-init.php @@ -0,0 +1,379 @@ +pagenow = $GLOBALS['pagenow']; + + $this->asset_manager = new WPSEO_Admin_Asset_Manager(); + + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_dismissible' ] ); + add_action( 'admin_init', [ $this, 'unsupported_php_notice' ], 15 ); + add_action( 'admin_init', [ $this, 'remove_translations_notification' ], 15 ); + add_action( 'admin_init', [ $this->asset_manager, 'register_assets' ] ); + add_action( 'admin_init', [ $this, 'show_hook_deprecation_warnings' ] ); + add_action( 'admin_init', [ 'WPSEO_Plugin_Conflict', 'hook_check_for_plugin_conflicts' ] ); + add_action( 'admin_notices', [ $this, 'permalink_settings_notice' ] ); + add_action( 'post_submitbox_misc_actions', [ $this, 'add_publish_box_section' ] ); + + $this->load_meta_boxes(); + $this->load_taxonomy_class(); + $this->load_admin_page_class(); + $this->load_admin_user_class(); + $this->load_xml_sitemaps_admin(); + $this->load_plugin_suggestions(); + } + + /** + * Enqueue our styling for dismissible yoast notifications. + * + * @return void + */ + public function enqueue_dismissible() { + $this->asset_manager->enqueue_style( 'dismissible' ); + } + + /** + * Removes any notification for incomplete translations. + * + * @return void + */ + public function remove_translations_notification() { + $notification_center = Yoast_Notification_Center::get(); + $notification_center->remove_notification_by_id( 'i18nModuleTranslationAssistance' ); + } + + /** + * Creates an unsupported PHP version notification in the notification center. + * + * @return void + */ + public function unsupported_php_notice() { + $notification_center = Yoast_Notification_Center::get(); + $notification_center->remove_notification_by_id( 'wpseo-dismiss-unsupported-php' ); + } + + /** + * Gets the latest released major WordPress version from the WordPress stable-check api. + * + * @return float|int The latest released major WordPress version. 0 when the stable-check API doesn't respond. + */ + private function get_latest_major_wordpress_version() { + $core_updates = get_core_updates( [ 'dismissed' => true ] ); + + if ( $core_updates === false ) { + return 0; + } + + $wp_version_latest = get_bloginfo( 'version' ); + foreach ( $core_updates as $update ) { + if ( $update->response === 'upgrade' && version_compare( $update->version, $wp_version_latest, '>' ) ) { + $wp_version_latest = $update->version; + } + } + + // Strip the patch version and convert to a float. + return (float) $wp_version_latest; + } + + /** + * Helper to verify if the user is currently visiting one of our admin pages. + * + * @return bool + */ + private function on_wpseo_admin_page() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( ! isset( $_GET['page'] ) || ! is_string( $_GET['page'] ) ) { + return false; + } + + if ( $this->pagenow !== 'admin.php' ) { + return false; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $current_page = sanitize_text_field( wp_unslash( $_GET['page'] ) ); + return strpos( $current_page, 'wpseo' ) === 0; + } + + /** + * Whether we should load the meta box classes. + * + * @return bool true if we should load the meta box classes, false otherwise. + */ + private function should_load_meta_boxes() { + /** + * Filter: 'wpseo_always_register_metaboxes_on_admin' - Allow developers to change whether + * the WPSEO metaboxes are only registered on the typical pages (lean loading) or always + * registered when in admin. + * + * @param bool $register_metaboxes Whether to always register the metaboxes or not. Defaults to false. + */ + if ( apply_filters( 'wpseo_always_register_metaboxes_on_admin', false ) ) { + return true; + } + + // If we are in a post editor. + if ( WPSEO_Metabox::is_post_overview( $this->pagenow ) || WPSEO_Metabox::is_post_edit( $this->pagenow ) ) { + return true; + } + + // If we are doing an inline save. + if ( check_ajax_referer( 'inlineeditnonce', '_inline_edit', false ) && isset( $_POST['action'] ) && sanitize_text_field( wp_unslash( $_POST['action'] ) ) === 'inline-save' ) { + return true; + } + + return false; + } + + /** + * Determine whether we should load the meta box class and if so, load it. + * + * @return void + */ + private function load_meta_boxes() { + if ( $this->should_load_meta_boxes() ) { + $GLOBALS['wpseo_metabox'] = new WPSEO_Metabox(); + $GLOBALS['wpseo_meta_columns'] = new WPSEO_Meta_Columns(); + } + } + + /** + * Determine if we should load our taxonomy edit class and if so, load it. + * + * @return void + */ + private function load_taxonomy_class() { + if ( + WPSEO_Taxonomy::is_term_edit( $this->pagenow ) + || WPSEO_Taxonomy::is_term_overview( $this->pagenow ) + ) { + new WPSEO_Taxonomy(); + } + } + + /** + * Determine if we should load our admin pages class and if so, load it. + * + * Loads admin page class for all admin pages starting with `wpseo_`. + * + * @return void + */ + private function load_admin_user_class() { + if ( in_array( $this->pagenow, [ 'user-edit.php', 'profile.php' ], true ) + && current_user_can( 'edit_users' ) + ) { + new WPSEO_Admin_User_Profile(); + } + } + + /** + * Determine if we should load our admin pages class and if so, load it. + * + * Loads admin page class for all admin pages starting with `wpseo_`. + * + * @return void + */ + private function load_admin_page_class() { + + if ( $this->on_wpseo_admin_page() ) { + // For backwards compatabilty, this still needs a global, for now... + $GLOBALS['wpseo_admin_pages'] = new WPSEO_Admin_Pages(); + + $page = null; + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['page'] ) && is_string( $_GET['page'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $page = sanitize_text_field( wp_unslash( $_GET['page'] ) ); + } + + // Only renders Yoast SEO Premium upsells when the page is a Yoast SEO page. + if ( $page !== null && WPSEO_Utils::is_yoast_seo_free_page( $page ) ) { + $this->register_premium_upsell_admin_block(); + } + } + } + + /** + * Loads the plugin suggestions. + * + * @return void + */ + private function load_plugin_suggestions() { + $suggestions = new WPSEO_Suggested_Plugins( new WPSEO_Plugin_Availability(), Yoast_Notification_Center::get() ); + $suggestions->register_hooks(); + } + + /** + * Registers the Premium Upsell Admin Block. + * + * @return void + */ + private function register_premium_upsell_admin_block() { + if ( ! YoastSEO()->helpers->product->is_premium() ) { + $upsell_block = new WPSEO_Premium_Upsell_Admin_Block( 'wpseo_admin_promo_footer' ); + $upsell_block->register_hooks(); + } + } + + /** + * See if we should start our XML Sitemaps Admin class. + * + * @return void + */ + private function load_xml_sitemaps_admin() { + if ( WPSEO_Options::get( 'enable_xml_sitemap', false ) ) { + new WPSEO_Sitemaps_Admin(); + } + } + + /** + * Shows deprecation warnings to the user if a plugin has registered a filter we have deprecated. + * + * @return void + */ + public function show_hook_deprecation_warnings() { + global $wp_filter; + + if ( wp_doing_ajax() ) { + return; + } + + // WordPress hooks that have been deprecated since a Yoast SEO version. + $deprecated_filters = [ + 'wpseo_genesis_force_adjacent_rel_home' => [ + 'version' => '9.4', + 'alternative' => null, + ], + 'wpseo_opengraph' => [ + 'version' => '14.0', + 'alternative' => null, + ], + 'wpseo_twitter' => [ + 'version' => '14.0', + 'alternative' => null, + ], + 'wpseo_twitter_taxonomy_image' => [ + 'version' => '14.0', + 'alternative' => null, + ], + 'wpseo_twitter_metatag_key' => [ + 'version' => '14.0', + 'alternative' => null, + ], + 'wp_seo_get_bc_ancestors' => [ + 'version' => '14.0', + 'alternative' => 'wpseo_breadcrumb_links', + ], + 'validate_facebook_app_id_api_response_code' => [ + 'version' => '15.5', + 'alternative' => null, + ], + 'validate_facebook_app_id_api_response_body' => [ + 'version' => '15.5', + 'alternative' => null, + ], + ]; + + // Determine which filters have been registered. + $deprecated_notices = array_intersect( + array_keys( $deprecated_filters ), + array_keys( $wp_filter ) + ); + + // Show notice for each deprecated filter or action that has been registered. + foreach ( $deprecated_notices as $deprecated_filter ) { + $deprecation_info = $deprecated_filters[ $deprecated_filter ]; + // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped -- Only uses the hardcoded values from above. + _deprecated_hook( + $deprecated_filter, + 'WPSEO ' . $deprecation_info['version'], + $deprecation_info['alternative'] + ); + // phpcs:enable + } + } + + /** + * Check if the permalink uses %postname%. + * + * @return bool + */ + private function has_postname_in_permalink() { + return ( strpos( get_option( 'permalink_structure' ), '%postname%' ) !== false ); + } + + /** + * Shows a notice on the permalink settings page. + * + * @return void + */ + public function permalink_settings_notice() { + global $pagenow; + + if ( $pagenow === 'options-permalink.php' ) { + printf( + '

    %1$s
    %2$s
    %4$s

    ', + esc_html__( 'WARNING:', 'wordpress-seo' ), + sprintf( + /* translators: %1$s and %2$s expand to items to emphasize the word in the middle. */ + esc_html__( 'Changing your permalinks settings can seriously impact your search engine visibility. It should almost %1$s never %2$s be done on a live website.', 'wordpress-seo' ), + '', + '' + ), + esc_url( WPSEO_Shortlinker::get( 'https://yoa.st/why-permalinks/' ) ), + // The link's content. + esc_html__( 'Learn about why permalinks are important for SEO.', 'wordpress-seo' ) + ); + } + } + + /** + * Adds a custom Yoast section within the Classic Editor publish box. + * + * @param WP_Post $post The current post object. + * + * @return void + */ + public function add_publish_box_section( $post ) { + if ( in_array( $this->pagenow, [ 'post.php', 'post-new.php' ], true ) ) { + ?> +
    + [ 'sitename', 'title', 'sep', 'primary_category' ], + 'post' => [ 'sitename', 'title', 'sep', 'primary_category' ], + // Homepage. + 'homepage' => [ 'sitename', 'sitedesc', 'sep' ], + // Custom post type. + 'custom_post_type' => [ 'sitename', 'title', 'sep' ], + + // Taxonomies. + 'category' => [ 'sitename', 'term_title', 'sep', 'term_hierarchy' ], + 'post_tag' => [ 'sitename', 'term_title', 'sep' ], + 'post_format' => [ 'sitename', 'term_title', 'sep', 'page' ], + + // Custom taxonomy. + 'term-in-custom-taxonomy' => [ 'sitename', 'term_title', 'sep', 'term_hierarchy' ], + + // Settings - archive pages. + 'author_archive' => [ 'sitename', 'title', 'sep', 'page' ], + 'date_archive' => [ 'sitename', 'sep', 'date', 'page' ], + 'custom-post-type_archive' => [ 'sitename', 'title', 'sep', 'page' ], + + // Settings - special pages. + 'search' => [ 'sitename', 'searchphrase', 'sep', 'page' ], + '404' => [ 'sitename', 'sep' ], + ]; + + /** + * Determines the page type of the current term. + * + * @param string $taxonomy The taxonomy name. + * + * @return string The page type. + */ + public function determine_for_term( $taxonomy ) { + $recommended_replace_vars = $this->get_recommended_replacevars(); + if ( array_key_exists( $taxonomy, $recommended_replace_vars ) ) { + return $taxonomy; + } + + return 'term-in-custom-taxonomy'; + } + + /** + * Determines the page type of the current post. + * + * @param WP_Post $post A WordPress post instance. + * + * @return string The page type. + */ + public function determine_for_post( $post ) { + if ( $post instanceof WP_Post === false ) { + return 'post'; + } + + if ( $post->post_type === 'page' && $this->is_homepage( $post ) ) { + return 'homepage'; + } + + $recommended_replace_vars = $this->get_recommended_replacevars(); + if ( array_key_exists( $post->post_type, $recommended_replace_vars ) ) { + return $post->post_type; + } + + return 'custom_post_type'; + } + + /** + * Determines the page type for a post type. + * + * @param string $post_type The name of the post_type. + * @param string $fallback The page type to fall back to. + * + * @return string The page type. + */ + public function determine_for_post_type( $post_type, $fallback = 'custom_post_type' ) { + $page_type = $post_type; + $recommended_replace_vars = $this->get_recommended_replacevars(); + $has_recommended_replacevars = $this->has_recommended_replace_vars( $recommended_replace_vars, $page_type ); + + if ( ! $has_recommended_replacevars ) { + return $fallback; + } + + return $page_type; + } + + /** + * Determines the page type for an archive page. + * + * @param string $name The name of the archive. + * @param string $fallback The page type to fall back to. + * + * @return string The page type. + */ + public function determine_for_archive( $name, $fallback = 'custom-post-type_archive' ) { + $page_type = $name . '_archive'; + $recommended_replace_vars = $this->get_recommended_replacevars(); + $has_recommended_replacevars = $this->has_recommended_replace_vars( $recommended_replace_vars, $page_type ); + + if ( ! $has_recommended_replacevars ) { + return $fallback; + } + + return $page_type; + } + + /** + * Retrieves the recommended replacement variables for the given page type. + * + * @param string $page_type The page type. + * + * @return array The recommended replacement variables. + */ + public function get_recommended_replacevars_for( $page_type ) { + $recommended_replace_vars = $this->get_recommended_replacevars(); + $has_recommended_replace_vars = $this->has_recommended_replace_vars( $recommended_replace_vars, $page_type ); + + if ( ! $has_recommended_replace_vars ) { + return []; + } + + return $recommended_replace_vars[ $page_type ]; + } + + /** + * Retrieves the recommended replacement variables. + * + * @return array The recommended replacement variables. + */ + public function get_recommended_replacevars() { + /** + * Filter: Adds the possibility to add extra recommended replacement variables. + * + * @param array $additional_replace_vars Empty array to add the replacevars to. + */ + $recommended_replace_vars = apply_filters( 'wpseo_recommended_replace_vars', $this->recommended_replace_vars ); + + if ( ! is_array( $recommended_replace_vars ) ) { + return $this->recommended_replace_vars; + } + + return $recommended_replace_vars; + } + + /** + * Returns whether the given page type has recommended replace vars. + * + * @param array $recommended_replace_vars The recommended replace vars + * to check in. + * @param string $page_type The page type to check. + * + * @return bool True if there are associated recommended replace vars. + */ + private function has_recommended_replace_vars( $recommended_replace_vars, $page_type ) { + if ( ! isset( $recommended_replace_vars[ $page_type ] ) ) { + return false; + } + + if ( ! is_array( $recommended_replace_vars[ $page_type ] ) ) { + return false; + } + + return true; + } + + /** + * Determines whether or not a post is the homepage. + * + * @param WP_Post $post The WordPress global post object. + * + * @return bool True if the given post is the homepage. + */ + private function is_homepage( $post ) { + if ( $post instanceof WP_Post === false ) { + return false; + } + + /* + * The page on front returns a string with normal WordPress interaction, while the post ID is an int. + * This way we make sure we always compare strings. + */ + $post_id = (int) $post->ID; + $page_on_front = (int) get_option( 'page_on_front' ); + + return get_option( 'show_on_front' ) === 'page' && $page_on_front === $post_id; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-user-profile.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-user-profile.php new file mode 100644 index 00000000..52fe8fc9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-user-profile.php @@ -0,0 +1,88 @@ +%s', + $install_url, + $plugin['title'] + ); + } + + /** + * Gets a visually hidden accessible message for links that open in a new browser tab. + * + * @return string The visually hidden accessible message. + */ + public static function get_new_tab_message() { + return sprintf( + '%s', + /* translators: Hidden accessibility text. */ + esc_html__( '(Opens in a new browser tab)', 'wordpress-seo' ) + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin.php new file mode 100644 index 00000000..a5d09b29 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin.php @@ -0,0 +1,403 @@ +register_hooks(); + + if ( is_multisite() ) { + WPSEO_Options::maybe_set_multisite_defaults( false ); + } + + if ( WPSEO_Options::get( 'stripcategorybase' ) === true ) { + add_action( 'created_category', [ $this, 'schedule_rewrite_flush' ] ); + add_action( 'edited_category', [ $this, 'schedule_rewrite_flush' ] ); + add_action( 'delete_category', [ $this, 'schedule_rewrite_flush' ] ); + } + + if ( WPSEO_Options::get( 'disable-attachment' ) === true ) { + add_filter( 'wpseo_accessible_post_types', [ 'WPSEO_Post_Type', 'filter_attachment_post_type' ] ); + } + + add_filter( 'plugin_action_links_' . WPSEO_BASENAME, [ $this, 'add_action_link' ], 10, 2 ); + add_filter( 'network_admin_plugin_action_links_' . WPSEO_BASENAME, [ $this, 'add_action_link' ], 10, 2 ); + + add_action( 'admin_enqueue_scripts', [ $this, 'config_page_scripts' ] ); + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_global_style' ] ); + + add_action( 'after_switch_theme', [ $this, 'switch_theme' ] ); + add_action( 'switch_theme', [ $this, 'switch_theme' ] ); + + add_filter( 'set-screen-option', [ $this, 'save_bulk_edit_options' ], 10, 3 ); + + add_action( 'admin_init', [ 'WPSEO_Plugin_Conflict', 'hook_check_for_plugin_conflicts' ], 10, 1 ); + + add_action( 'admin_init', [ $this, 'map_manage_options_cap' ] ); + + WPSEO_Sitemaps_Cache::register_clear_on_option_update( 'wpseo' ); + WPSEO_Sitemaps_Cache::register_clear_on_option_update( 'home' ); + + if ( YoastSEO()->helpers->current_page->is_yoast_seo_page() ) { + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + + $this->set_upsell_notice(); + + $this->initialize_cornerstone_content(); + + if ( WPSEO_Utils::is_plugin_network_active() ) { + $integrations[] = new Yoast_Network_Admin(); + } + + $this->admin_features = [ + 'dashboard_widget' => new Yoast_Dashboard_Widget(), + 'wincher_dashboard_widget' => new Wincher_Dashboard_Widget(), + ]; + + if ( WPSEO_Metabox::is_post_overview( $pagenow ) || WPSEO_Metabox::is_post_edit( $pagenow ) ) { + $this->admin_features['primary_category'] = new WPSEO_Primary_Term_Admin(); + } + + $integrations[] = new WPSEO_Yoast_Columns(); + $integrations[] = new WPSEO_Statistic_Integration(); + $integrations[] = new WPSEO_Capability_Manager_Integration( WPSEO_Capability_Manager_Factory::get() ); + $integrations[] = new WPSEO_Admin_Gutenberg_Compatibility_Notification(); + $integrations[] = new WPSEO_Expose_Shortlinks(); + $integrations[] = new WPSEO_MyYoast_Proxy(); + $integrations[] = new WPSEO_Schema_Person_Upgrade_Notification(); + $integrations[] = new WPSEO_Tracking( 'https://tracking.yoast.com/stats', ( WEEK_IN_SECONDS * 2 ) ); + $integrations[] = new WPSEO_Admin_Settings_Changed_Listener(); + + $integrations = array_merge( + $integrations, + $this->get_admin_features(), + $this->initialize_cornerstone_content() + ); + + foreach ( $integrations as $integration ) { + $integration->register_hooks(); + } + } + + /** + * Schedules a rewrite flush to happen at shutdown. + * + * @return void + */ + public function schedule_rewrite_flush() { + // Bail if this is a multisite installation and the site has been switched. + if ( is_multisite() && ms_is_switched() ) { + return; + } + + add_action( 'shutdown', 'flush_rewrite_rules' ); + } + + /** + * Returns all the classes for the admin features. + * + * @return array + */ + public function get_admin_features() { + return $this->admin_features; + } + + /** + * Register assets needed on admin pages. + * + * @return void + */ + public function enqueue_assets() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form data. + $page = isset( $_GET['page'] ) && is_string( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : ''; + if ( $page === 'wpseo_licenses' ) { + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_style( 'extensions' ); + } + } + + /** + * Returns the manage_options capability. + * + * @return string The capability to use. + */ + public function get_manage_options_cap() { + /** + * Filter: 'wpseo_manage_options_capability' - Allow changing the capability users need to view the settings pages. + * + * @param string $capability The capability. + */ + return apply_filters( 'wpseo_manage_options_capability', 'wpseo_manage_options' ); + } + + /** + * Maps the manage_options cap on saving an options page to wpseo_manage_options. + * + * @return void + */ + public function map_manage_options_cap() { + // phpcs:ignore WordPress.Security -- The variable is only used in strpos and thus safe to not unslash or sanitize. + $option_page = ! empty( $_POST['option_page'] ) ? $_POST['option_page'] : ''; + + if ( strpos( $option_page, 'yoast_wpseo' ) === 0 || strpos( $option_page, Settings_Integration::PAGE ) === 0 ) { + add_filter( 'option_page_capability_' . $option_page, [ $this, 'get_manage_options_cap' ] ); + } + } + + /** + * Adds the ability to choose how many posts are displayed per page + * on the bulk edit pages. + * + * @return void + */ + public function bulk_edit_options() { + $option = 'per_page'; + $args = [ + 'label' => __( 'Posts', 'wordpress-seo' ), + 'default' => 10, + 'option' => 'wpseo_posts_per_page', + ]; + add_screen_option( $option, $args ); + } + + /** + * Saves the posts per page limit for bulk edit pages. + * + * @param int $status Status value to pass through. + * @param string $option Option name. + * @param int $value Count value to check. + * + * @return int + */ + public function save_bulk_edit_options( $status, $option, $value ) { + if ( $option && ( $value > 0 && $value < 1000 ) === 'wpseo_posts_per_page' ) { + return $value; + } + + return $status; + } + + /** + * Adds links to Premium Support and FAQ under the plugin in the plugin overview page. + * + * @param array $links Array of links for the plugins, adapted when the current plugin is found. + * @param string $file The filename for the current plugin, which the filter loops through. + * + * @return array + */ + public function add_action_link( $links, $file ) { + $first_time_configuration_notice_helper = YoastSEO()->helpers->first_time_configuration_notice; + + if ( $file === WPSEO_BASENAME && WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ) { + if ( is_network_admin() ) { + $settings_url = network_admin_url( 'admin.php?page=' . self::PAGE_IDENTIFIER ); + } + else { + $settings_url = admin_url( 'admin.php?page=' . self::PAGE_IDENTIFIER ); + } + $settings_link = '' . __( 'Settings', 'wordpress-seo' ) . ''; + array_unshift( $links, $settings_link ); + } + + // Add link to docs. + $faq_link = '' . __( 'FAQ', 'wordpress-seo' ) . ''; + array_unshift( $links, $faq_link ); + + if ( $first_time_configuration_notice_helper->first_time_configuration_not_finished() && ! is_network_admin() ) { + $configuration_title = ( ! $first_time_configuration_notice_helper->should_show_alternate_message() ) ? 'first-time configuration' : 'SEO configuration'; + /* translators: CTA to finish the first time configuration. %s: Either first-time SEO configuration or SEO configuration. */ + $message = sprintf( __( 'Finish your %s', 'wordpress-seo' ), $configuration_title ); + $ftc_link = '' . $message . ''; + array_unshift( $links, $ftc_link ); + } + + $addon_manager = new WPSEO_Addon_Manager(); + if ( YoastSEO()->helpers->product->is_premium() ) { + + // Remove Free 'deactivate' link if Premium is active as well. We don't want users to deactivate Free when Premium is active. + unset( $links['deactivate'] ); + $no_deactivation_explanation = '' . sprintf( + /* translators: %s expands to Yoast SEO Premium. */ + __( 'Required by %s', 'wordpress-seo' ), + 'Yoast SEO Premium' + ) . ''; + + array_unshift( $links, $no_deactivation_explanation ); + + if ( $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ) ) { + return $links; + } + + // Add link to where premium can be activated. + $activation_link = '' . __( 'Activate your subscription', 'wordpress-seo' ) . ''; + array_unshift( $links, $activation_link ); + + return $links; + } + + // Add link to premium landing page. + $premium_link = '' . __( 'Get Premium', 'wordpress-seo' ) . ''; + array_unshift( $links, $premium_link ); + + return $links; + } + + /** + * Enqueues the (tiny) global JS needed for the plugin. + * + * @return void + */ + public function config_page_scripts() { + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_script( 'admin-global' ); + $asset_manager->localize_script( 'admin-global', 'wpseoAdminGlobalL10n', $this->localize_admin_global_script() ); + } + + /** + * Enqueues the (tiny) global stylesheet needed for the plugin. + * + * @return void + */ + public function enqueue_global_style() { + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_style( 'admin-global' ); + } + + /** + * Filter the $contactmethods array and add a set of social profiles. + * + * These are used with the Facebook author, rel="author" and Twitter cards implementation. + * + * @deprecated 22.6 + * @codeCoverageIgnore + * + * @param array $contactmethods Currently set contactmethods. + * + * @return array Contactmethods with added contactmethods. + */ + public function update_contactmethods( $contactmethods ) { + _deprecated_function( __METHOD__, 'Yoast SEO 22.6' ); + + $contactmethods['facebook'] = __( 'Facebook profile URL', 'wordpress-seo' ); + $contactmethods['instagram'] = __( 'Instagram profile URL', 'wordpress-seo' ); + $contactmethods['linkedin'] = __( 'LinkedIn profile URL', 'wordpress-seo' ); + $contactmethods['myspace'] = __( 'MySpace profile URL', 'wordpress-seo' ); + $contactmethods['pinterest'] = __( 'Pinterest profile URL', 'wordpress-seo' ); + $contactmethods['soundcloud'] = __( 'SoundCloud profile URL', 'wordpress-seo' ); + $contactmethods['tumblr'] = __( 'Tumblr profile URL', 'wordpress-seo' ); + $contactmethods['twitter'] = __( 'X username (without @)', 'wordpress-seo' ); + $contactmethods['youtube'] = __( 'YouTube profile URL', 'wordpress-seo' ); + $contactmethods['wikipedia'] = __( 'Wikipedia page about you', 'wordpress-seo' ) . '
    ' . __( '(if one exists)', 'wordpress-seo' ) . ''; + + return $contactmethods; + } + + /** + * Log the updated timestamp for user profiles when theme is changed. + * + * @return void + */ + public function switch_theme() { + + $users = get_users( [ 'capability' => [ 'edit_posts' ] ] ); + + if ( is_array( $users ) && $users !== [] ) { + foreach ( $users as $user ) { + update_user_meta( $user->ID, '_yoast_wpseo_profile_updated', time() ); + } + } + } + + /** + * Localization for the dismiss urls. + * + * @return array + */ + private function localize_admin_global_script() { + return array_merge( + [ + 'isRtl' => is_rtl(), + 'variable_warning' => sprintf( + /* translators: %1$s: '%%term_title%%' variable used in titles and meta's template that's not compatible with the given template, %2$s: expands to 'HelpScout beacon' */ + __( 'Warning: the variable %1$s cannot be used in this template. See the %2$s for more info.', 'wordpress-seo' ), + '%s', + 'HelpScout beacon' + ), + /* translators: %s: expends to Yoast SEO */ + 'help_video_iframe_title' => sprintf( __( '%s video tutorial', 'wordpress-seo' ), 'Yoast SEO' ), + 'scrollable_table_hint' => __( 'Scroll to see the table content.', 'wordpress-seo' ), + 'wincher_is_logged_in' => WPSEO_Options::get( 'wincher_integration_active', true ) ? YoastSEO()->helpers->wincher->login_status() : false, + ], + YoastSEO()->helpers->wincher->get_admin_global_links() + ); + } + + /** + * Sets the upsell notice. + * + * @return void + */ + protected function set_upsell_notice() { + $upsell = new WPSEO_Product_Upsell_Notice(); + $upsell->dismiss_notice_listener(); + $upsell->initialize(); + } + + /** + * Whether we are on the admin dashboard page. + * + * @return bool + */ + protected function on_dashboard_page() { + return $GLOBALS['pagenow'] === 'index.php'; + } + + /** + * Loads the cornerstone filter. + * + * @return WPSEO_WordPress_Integration[] The integrations to initialize. + */ + protected function initialize_cornerstone_content() { + if ( ! WPSEO_Options::get( 'enable_cornerstone_content' ) ) { + return []; + } + + return [ + 'cornerstone_filter' => new WPSEO_Cornerstone_Filter(), + ]; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-asset.php b/wp/wp-content/plugins/wordpress-seo/admin/class-asset.php new file mode 100644 index 00000000..8cbf0c1f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-asset.php @@ -0,0 +1,255 @@ + [], + 'in_footer' => true, + 'rtl' => true, + 'media' => 'all', + 'version' => '', + 'suffix' => '', + ]; + + /** + * Constructs an instance of the WPSEO_Admin_Asset class. + * + * @param array $args The arguments for this asset. + * + * @throws InvalidArgumentException Throws when no name or src has been provided. + */ + public function __construct( array $args ) { + if ( ! isset( $args['name'] ) ) { + throw new InvalidArgumentException( 'name is a required argument' ); + } + + if ( ! isset( $args['src'] ) ) { + throw new InvalidArgumentException( 'src is a required argument' ); + } + + $args = array_merge( $this->defaults, $args ); + + $this->name = $args['name']; + $this->src = $args['src']; + $this->deps = $args['deps']; + $this->version = $args['version']; + $this->media = $args['media']; + $this->in_footer = $args['in_footer']; + $this->rtl = $args['rtl']; + $this->suffix = $args['suffix']; + } + + /** + * Returns the asset identifier. + * + * @return string + */ + public function get_name() { + return $this->name; + } + + /** + * Returns the path to the asset. + * + * @return string + */ + public function get_src() { + return $this->src; + } + + /** + * Returns the asset dependencies. + * + * @return array|string + */ + public function get_deps() { + return $this->deps; + } + + /** + * Returns the asset version. + * + * @return string|null + */ + public function get_version() { + if ( ! empty( $this->version ) ) { + return $this->version; + } + + return null; + } + + /** + * Returns the media type for CSS assets. + * + * @return string + */ + public function get_media() { + return $this->media; + } + + /** + * Returns whether a script asset should be loaded in the footer of the page. + * + * @return bool + */ + public function is_in_footer() { + return $this->in_footer; + } + + /** + * Returns whether this CSS has a RTL counterpart. + * + * @return bool + */ + public function has_rtl() { + return $this->rtl; + } + + /** + * Returns the file suffix. + * + * @return string + */ + public function get_suffix() { + return $this->suffix; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-description-editor-list-table.php b/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-description-editor-list-table.php new file mode 100644 index 00000000..3b65304b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-description-editor-list-table.php @@ -0,0 +1,80 @@ + 'wpseo_bulk_description', + 'plural' => 'wpseo_bulk_descriptions', + 'ajax' => true, + ]; + + /** + * The field in the database where meta field is saved. + * + * @var string + */ + protected $target_db_field = 'metadesc'; + + /** + * The columns shown on the table. + * + * @return array + */ + public function get_columns() { + $columns = [ + 'col_existing_yoast_seo_metadesc' => __( 'Existing Yoast Meta Description', 'wordpress-seo' ), + 'col_new_yoast_seo_metadesc' => __( 'New Yoast Meta Description', 'wordpress-seo' ), + ]; + + return $this->merge_columns( $columns ); + } + + /** + * Parse the metadescription. + * + * @param string $column_name Column name. + * @param object $record Data object. + * @param string $attributes HTML attributes. + * + * @return string + */ + protected function parse_page_specific_column( $column_name, $record, $attributes ) { + switch ( $column_name ) { + case 'col_new_yoast_seo_metadesc': + return sprintf( + '', + esc_attr( 'wpseo-new-metadesc-' . $record->ID ), + esc_attr( $record->ID ) + ); + + case 'col_existing_yoast_seo_metadesc': + // @todo Inconsistent return/echo behavior R. + // I traced the escaping of the attributes to WPSEO_Bulk_List_Table::column_attributes. Alexander. + // The output of WPSEO_Bulk_List_Table::parse_meta_data_field is properly escaped. + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + echo $this->parse_meta_data_field( $record->ID, $attributes ); + break; + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-editor-list-table.php b/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-editor-list-table.php new file mode 100644 index 00000000..6c5b0798 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-editor-list-table.php @@ -0,0 +1,1049 @@ +page_type) there will be constructed an url part, for subpages and + * navigation. + * + * @var string + */ + protected $page_url; + + /** + * The settings which will be used in the __construct. + * + * @var array + */ + protected $settings; + + /** + * Holds the pagination config. + * + * @var array + */ + protected $pagination = []; + + /** + * Holds the sanitized data from the user input. + * + * @var array + */ + protected $input_fields = []; + + /** + * The field in the database where meta field is saved. + * + * Should be set in the child class. + * + * @var string + */ + protected $target_db_field = ''; + + /** + * Class constructor. + * + * @param array $args The arguments. + */ + public function __construct( $args = [] ) { + parent::__construct( $this->settings ); + + $args = wp_parse_args( + $args, + [ + 'nonce' => '', + 'input_fields' => [], + ] + ); + + $this->input_fields = $args['input_fields']; + if ( isset( $_SERVER['REQUEST_URI'] ) ) { + $this->request_url = sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ); + } + + $this->current_page = ( ! empty( $this->input_fields['paged'] ) ) ? $this->input_fields['paged'] : 1; + $this->current_filter = ( ! empty( $this->input_fields['post_type_filter'] ) ) ? $this->input_fields['post_type_filter'] : 1; + $this->current_status = ( ! empty( $this->input_fields['post_status'] ) ) ? $this->input_fields['post_status'] : 1; + $this->current_order = [ + 'order' => ( ! empty( $this->input_fields['order'] ) ) ? $this->input_fields['order'] : 'asc', + 'orderby' => ( ! empty( $this->input_fields['orderby'] ) ) ? $this->input_fields['orderby'] : 'post_title', + ]; + + $this->nonce = $args['nonce']; + $this->page_url = "&nonce={$this->nonce}&type={$this->page_type}#top#{$this->page_type}"; + + $this->populate_editable_post_types(); + } + + /** + * Prepares the data and renders the page. + * + * @return void + */ + public function show_page() { + $this->prepare_page_navigation(); + $this->prepare_items(); + + $this->views(); + $this->display(); + } + + /** + * Used in the constructor to build a reference list of post types the current user can edit. + * + * @return void + */ + protected function populate_editable_post_types() { + $post_types = get_post_types( + [ + 'public' => true, + 'exclude_from_search' => false, + ], + 'object' + ); + + $this->all_posts = []; + $this->own_posts = []; + + if ( is_array( $post_types ) && $post_types !== [] ) { + foreach ( $post_types as $post_type ) { + if ( ! current_user_can( $post_type->cap->edit_posts ) ) { + continue; + } + + if ( current_user_can( $post_type->cap->edit_others_posts ) ) { + $this->all_posts[] = esc_sql( $post_type->name ); + } + else { + $this->own_posts[] = esc_sql( $post_type->name ); + } + } + } + } + + /** + * Will show the navigation for the table like page navigation and page filter. + * + * @param string $which Table nav location (such as top). + * + * @return void + */ + public function display_tablenav( $which ) { + // phpcs:disable WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $post_status = isset( $_GET['post_status'] ) && is_string( $_GET['post_status'] ) ? sanitize_text_field( wp_unslash( $_GET['post_status'] ) ) : ''; + $order_by = isset( $_GET['orderby'] ) && is_string( $_GET['orderby'] ) ? sanitize_text_field( wp_unslash( $_GET['orderby'] ) ) : ''; + $order = isset( $_GET['order'] ) && is_string( $_GET['order'] ) ? sanitize_text_field( wp_unslash( $_GET['order'] ) ) : ''; + $post_type_filter = isset( $_GET['post_type_filter'] ) && is_string( $_GET['post_type_filter'] ) ? sanitize_text_field( wp_unslash( $_GET['post_type_filter'] ) ) : ''; + // phpcs:enable WordPress.Security.NonceVerification.Recommended; + ?> +
    + + +
    + + + + + + + + + + + + + extra_tablenav( $which ); + $this->pagination( $which ); + ?> + +
    + +
    + +
    + + prepare(), + * passing the current user_id in as the first parameter. + */ + public function get_base_subquery() { + global $wpdb; + + $all_posts_string = "'" . implode( "', '", $this->all_posts ) . "'"; + $own_posts_string = "'" . implode( "', '", $this->own_posts ) . "'"; + + $post_author = esc_sql( (int) get_current_user_id() ); + + $subquery = "( + SELECT * + FROM {$wpdb->posts} + WHERE post_type IN ({$all_posts_string}) + UNION ALL + SELECT * + FROM {$wpdb->posts} + WHERE post_type IN ({$own_posts_string}) AND post_author = {$post_author} + ) sub_base"; + + return $subquery; + } + + /** + * Gets the views. + * + * @return array The views. + */ + public function get_views() { + global $wpdb; + + $status_links = []; + + $states = get_post_stati( [ 'show_in_admin_all_list' => true ] ); + $subquery = $this->get_base_subquery(); + + $total_posts = $wpdb->get_var( + $wpdb->prepare( + "SELECT COUNT(ID) FROM {$subquery} + WHERE post_status IN (" + . implode( ', ', array_fill( 0, count( $states ), '%s' ) ) + . ')', + $states + ) + ); + + $post_status = isset( $_GET['post_status'] ) && is_string( $_GET['post_status'] ) ? sanitize_text_field( wp_unslash( $_GET['post_status'] ) ) : ''; + $current_link_attributes = empty( $post_status ) ? ' class="current" aria-current="page"' : ''; + $localized_text = sprintf( + /* translators: %s expands to the number of posts in localized format. */ + _nx( 'All (%s)', 'All (%s)', $total_posts, 'posts', 'wordpress-seo' ), + number_format_i18n( $total_posts ) + ); + + $status_links['all'] = '' . $localized_text . ''; + + $post_stati = get_post_stati( [ 'show_in_admin_all_list' => true ], 'objects' ); + if ( is_array( $post_stati ) && $post_stati !== [] ) { + foreach ( $post_stati as $status ) { + + $status_name = esc_sql( $status->name ); + + $total = (int) $wpdb->get_var( + $wpdb->prepare( + " + SELECT COUNT(ID) FROM {$subquery} + WHERE post_status = %s + ", + $status_name + ) + ); + + if ( $total === 0 ) { + continue; + } + + $current_link_attributes = ''; + if ( $status_name === $post_status ) { + $current_link_attributes = ' class="current" aria-current="page"'; + } + + $status_links[ $status_name ] = '' . sprintf( translate_nooped_plural( $status->label_count, $total ), number_format_i18n( $total ) ) . ''; + } + } + unset( $post_stati, $status, $status_name, $total, $current_link_attributes ); + + $trashed_posts = $wpdb->get_var( + "SELECT COUNT(ID) FROM {$subquery} + WHERE post_status IN ('trash') + " + ); + + $current_link_attributes = ''; + if ( $post_status === 'trash' ) { + $current_link_attributes = 'class="current" aria-current="page"'; + } + + $localized_text = sprintf( + /* translators: %s expands to the number of trashed posts in localized format. */ + _nx( 'Trash (%s)', 'Trash (%s)', $trashed_posts, 'posts', 'wordpress-seo' ), + number_format_i18n( $trashed_posts ) + ); + + $status_links['trash'] = '' . $localized_text . ''; + + return $status_links; + } + + /** + * Outputs extra table navigation. + * + * @param string $which Table nav location (such as top). + * + * @return void + */ + public function extra_tablenav( $which ) { + + if ( $which === 'top' ) { + $post_types = get_post_types( + [ + 'public' => true, + 'exclude_from_search' => false, + ] + ); + + $instance_type = esc_attr( $this->page_type ); + + if ( is_array( $post_types ) && $post_types !== [] ) { + global $wpdb; + + echo '
    '; + + $post_types = esc_sql( $post_types ); + $post_types = "'" . implode( "', '", $post_types ) . "'"; + + $states = get_post_stati( [ 'show_in_admin_all_list' => true ] ); + $states['trash'] = 'trash'; + + $subquery = $this->get_base_subquery(); + + $post_types = $wpdb->get_results( + $wpdb->prepare( + "SELECT DISTINCT post_type FROM {$subquery} + WHERE post_status IN (" + . implode( ', ', array_fill( 0, count( $states ), '%s' ) ) + . ') ORDER BY post_type ASC', + $states + ) + ); + + $post_type_filter = isset( $_GET['post_type_filter'] ) && is_string( $_GET['post_type_filter'] ) ? sanitize_text_field( wp_unslash( $_GET['post_type_filter'] ) ) : ''; + $selected = ( ! empty( $post_type_filter ) ) ? $post_type_filter : '-1'; + + $options = ''; + + if ( is_array( $post_types ) && $post_types !== [] ) { + foreach ( $post_types as $post_type ) { + $obj = get_post_type_object( $post_type->post_type ); + $options .= sprintf( + '', + esc_html( $obj->labels->name ), + esc_attr( $post_type->post_type ), + selected( $selected, $post_type->post_type, false ) + ); + } + } + + printf( + '', + esc_attr( 'post-type-filter-' . $instance_type ), + /* translators: Hidden accessibility text. */ + esc_html__( 'Filter by content type', 'wordpress-seo' ) + ); + printf( + '', + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $options is properly escaped above. + $options, + esc_attr( 'post-type-filter-' . $instance_type ) + ); + + submit_button( esc_html__( 'Filter', 'wordpress-seo' ), 'button', false, false, [ 'id' => 'post-query-submit' ] ); + echo '
    '; + } + } + } + + /** + * Gets a list of sortable columns. + * + * The format is: 'internal-name' => array( 'orderby', bool ). + * + * @return array + */ + public function get_sortable_columns() { + return [ + 'col_page_title' => [ 'post_title', true ], + 'col_post_type' => [ 'post_type', false ], + 'col_post_date' => [ 'post_date', false ], + ]; + } + + /** + * Sets the correct pagenumber and pageurl for the navigation. + * + * @return void + */ + public function prepare_page_navigation() { + + $request_url = $this->request_url . $this->page_url; + + $current_page = $this->current_page; + $current_filter = $this->current_filter; + $current_status = $this->current_status; + $current_order = $this->current_order; + + /* + * If current type doesn't compare with objects page_type, then we have to unset + * some vars in the requested url (which will be used for internal table urls). + */ + if ( isset( $this->input_fields['type'] ) && $this->input_fields['type'] !== $this->page_type ) { + $request_url = remove_query_arg( 'paged', $request_url ); // Page will be set with value 1 below. + $request_url = remove_query_arg( 'post_type_filter', $request_url ); + $request_url = remove_query_arg( 'post_status', $request_url ); + $request_url = remove_query_arg( 'orderby', $request_url ); + $request_url = remove_query_arg( 'order', $request_url ); + $request_url = add_query_arg( 'pages', 1, $request_url ); + + $current_page = 1; + $current_filter = '-1'; + $current_status = ''; + $current_order = [ + 'orderby' => 'post_title', + 'order' => 'asc', + ]; + } + + $_SERVER['REQUEST_URI'] = $request_url; + + $_GET['paged'] = $current_page; + $_REQUEST['paged'] = $current_page; + $_REQUEST['post_type_filter'] = $current_filter; + $_GET['post_type_filter'] = $current_filter; + $_GET['post_status'] = $current_status; + $_GET['orderby'] = $current_order['orderby']; + $_GET['order'] = $current_order['order']; + } + + /** + * Preparing the requested pagerows and setting the needed variables. + * + * @return void + */ + public function prepare_items() { + + $post_type_clause = $this->get_post_type_clause(); + $all_states = $this->get_all_states(); + $subquery = $this->get_base_subquery(); + + // Setting the column headers. + $this->set_column_headers(); + + // Count the total number of needed items and setting pagination given $total_items. + $total_items = $this->count_items( $subquery, $all_states, $post_type_clause ); + $this->set_pagination( $total_items ); + + // Getting items given $query. + $query = $this->parse_item_query( $subquery, $all_states, $post_type_clause ); + $this->get_items( $query ); + + // Get the metadata for the current items ($this->items). + $this->get_meta_data(); + } + + /** + * Getting the columns for first row. + * + * @return array + */ + public function get_columns() { + return $this->merge_columns(); + } + + /** + * Setting the column headers. + * + * @return void + */ + protected function set_column_headers() { + $columns = $this->get_columns(); + $hidden = []; + $sortable = $this->get_sortable_columns(); + $this->_column_headers = [ $columns, $hidden, $sortable ]; + } + + /** + * Counting total items. + * + * @param string $subquery SQL FROM part. + * @param string $all_states SQL IN part. + * @param string $post_type_clause SQL post type part. + * + * @return mixed + */ + protected function count_items( $subquery, $all_states, $post_type_clause ) { + global $wpdb; + + return (int) $wpdb->get_var( + "SELECT COUNT(ID) FROM {$subquery} + WHERE post_status IN ({$all_states}) + {$post_type_clause} + " + ); + } + + /** + * Getting the post_type_clause filter. + * + * @return string + */ + protected function get_post_type_clause() { + // Filter Block. + $post_type_clause = ''; + $post_type_filter = isset( $_GET['post_type_filter'] ) && is_string( $_GET['post_type_filter'] ) ? sanitize_text_field( wp_unslash( $_GET['post_type_filter'] ) ) : ''; + + if ( ! empty( $post_type_filter ) && get_post_type_object( $post_type_filter ) ) { + $post_types = esc_sql( $post_type_filter ); + $post_type_clause = "AND post_type IN ('{$post_types}')"; + } + + return $post_type_clause; + } + + /** + * Setting the pagination. + * + * Total items is the number of all visible items. + * + * @param int $total_items Total items counts. + * + * @return void + */ + protected function set_pagination( $total_items ) { + // Calculate items per page. + $per_page = $this->get_items_per_page( 'wpseo_posts_per_page', 10 ); + $paged = isset( $_GET['paged'] ) && is_string( $_GET['paged'] ) ? esc_sql( sanitize_text_field( wp_unslash( $_GET['paged'] ) ) ) : ''; + + if ( empty( $paged ) || ! is_numeric( $paged ) ) { + $paged = 1; + } + else { + $paged = (int) $paged; + } + + if ( $paged <= 0 ) { + $paged = 1; + } + + $this->set_pagination_args( + [ + 'total_items' => $total_items, + 'total_pages' => ceil( $total_items / $per_page ), + 'per_page' => $per_page, + ] + ); + + $this->pagination = [ + 'per_page' => $per_page, + 'offset' => ( ( $paged - 1 ) * $per_page ), + ]; + } + + /** + * Parse the query to get items from database. + * + * Based on given parameters there will be parse a query which will get all the pages/posts and other post_types + * from the database. + * + * @param string $subquery SQL FROM part. + * @param string $all_states SQL IN part. + * @param string $post_type_clause SQL post type part. + * + * @return string + */ + protected function parse_item_query( $subquery, $all_states, $post_type_clause ) { + // Order By block. + $orderby = isset( $_GET['orderby'] ) && is_string( $_GET['orderby'] ) ? sanitize_text_field( wp_unslash( $_GET['orderby'] ) ) : ''; + + $orderby = ! empty( $orderby ) ? esc_sql( $orderby ) : 'post_title'; + $orderby = $this->sanitize_orderby( $orderby ); + + // Order clause. + $order = isset( $_GET['order'] ) && is_string( $_GET['order'] ) ? sanitize_text_field( wp_unslash( $_GET['order'] ) ) : ''; + $order = ! empty( $order ) ? esc_sql( strtoupper( $order ) ) : 'ASC'; + $order = $this->sanitize_order( $order ); + + // Get all needed results. + $query = " + SELECT ID, post_title, post_type, post_status, post_modified, post_date + FROM {$subquery} + WHERE post_status IN ({$all_states}) $post_type_clause + ORDER BY {$orderby} {$order} + LIMIT %d,%d + "; + + return $query; + } + + /** + * Heavily restricts the possible columns by which a user can order the table + * in the bulk editor, thereby preventing a possible CSRF vulnerability. + * + * @param string $orderby The column by which we want to order. + * + * @return string + */ + protected function sanitize_orderby( $orderby ) { + $valid_column_names = [ + 'post_title', + 'post_type', + 'post_date', + ]; + + if ( in_array( $orderby, $valid_column_names, true ) ) { + return $orderby; + } + + return 'post_title'; + } + + /** + * Makes sure the order clause is always ASC or DESC for the bulk editor table, + * thereby preventing a possible CSRF vulnerability. + * + * @param string $order Whether we want to sort ascending or descending. + * + * @return string SQL order string (ASC, DESC). + */ + protected function sanitize_order( $order ) { + if ( in_array( strtoupper( $order ), [ 'ASC', 'DESC' ], true ) ) { + return $order; + } + + return 'ASC'; + } + + /** + * Getting all the items. + * + * @param string $query SQL query to use. + * + * @return void + */ + protected function get_items( $query ) { + global $wpdb; + + $this->items = $wpdb->get_results( + $wpdb->prepare( + $query, + $this->pagination['offset'], + $this->pagination['per_page'] + ) + ); + } + + /** + * Getting all the states. + * + * @return string + */ + protected function get_all_states() { + global $wpdb; + + $states = get_post_stati( [ 'show_in_admin_all_list' => true ] ); + $states['trash'] = 'trash'; + + if ( ! empty( $this->input_fields['post_status'] ) ) { + $requested_state = $this->input_fields['post_status']; + if ( in_array( $requested_state, $states, true ) ) { + $states = [ $requested_state ]; + } + + if ( $requested_state !== 'trash' ) { + unset( $states['trash'] ); + } + } + + return $wpdb->prepare( + implode( ', ', array_fill( 0, count( $states ), '%s' ) ), + $states + ); + } + + /** + * Based on $this->items and the defined columns, the table rows will be displayed. + * + * @return void + */ + public function display_rows() { + + $records = $this->items; + + list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info(); + + if ( ( is_array( $records ) && $records !== [] ) && ( is_array( $columns ) && $columns !== [] ) ) { + + foreach ( $records as $record ) { + + echo ''; + + foreach ( $columns as $column_name => $column_display_name ) { + + $classes = ''; + if ( $primary === $column_name ) { + $classes .= ' has-row-actions column-primary'; + } + + $attributes = $this->column_attributes( $column_name, $hidden, $classes, $column_display_name ); + + $column_value = $this->parse_column( $column_name, $record ); + + if ( method_exists( $this, 'parse_page_specific_column' ) && empty( $column_value ) ) { + $column_value = $this->parse_page_specific_column( $column_name, $record, $attributes ); + } + + if ( ! empty( $column_value ) ) { + printf( '%1$s', $column_value, $attributes ); + } + } + + echo ''; + } + } + } + + /** + * Getting the attributes for each table cell. + * + * @param string $column_name Column name string. + * @param array $hidden Set of hidden columns. + * @param string $classes Additional CSS classes. + * @param string $column_display_name Column display name string. + * + * @return string + */ + protected function column_attributes( $column_name, $hidden, $classes, $column_display_name ) { + + $attributes = ''; + $class = [ $column_name, "column-$column_name$classes" ]; + + if ( in_array( $column_name, $hidden, true ) ) { + $class[] = 'hidden'; + } + + if ( ! empty( $class ) ) { + $attributes = 'class="' . esc_attr( implode( ' ', $class ) ) . '"'; + } + + $attributes .= ' data-colname="' . esc_attr( $column_display_name ) . '"'; + + return $attributes; + } + + /** + * Parsing the title. + * + * @param WP_Post $rec Post object. + * + * @return string + */ + protected function parse_page_title_column( $rec ) { + + $title = empty( $rec->post_title ) ? __( '(no title)', 'wordpress-seo' ) : $rec->post_title; + + $return = sprintf( '%1$s', stripslashes( wp_strip_all_tags( $title ) ) ); + + $post_type_object = get_post_type_object( $rec->post_type ); + $can_edit_post = current_user_can( $post_type_object->cap->edit_post, $rec->ID ); + + $actions = []; + + if ( $can_edit_post && $rec->post_status !== 'trash' ) { + $actions['edit'] = sprintf( + '%s', + esc_url( get_edit_post_link( $rec->ID, true ) ), + /* translators: Hidden accessibility text; %s: post title. */ + esc_attr( sprintf( __( 'Edit “%s”', 'wordpress-seo' ), $title ) ), + __( 'Edit', 'wordpress-seo' ) + ); + } + + if ( $post_type_object->public ) { + if ( in_array( $rec->post_status, [ 'pending', 'draft', 'future' ], true ) ) { + if ( $can_edit_post ) { + $actions['view'] = sprintf( + '%s', + esc_url( add_query_arg( 'preview', 'true', get_permalink( $rec->ID ) ) ), + /* translators: Hidden accessibility text; %s: post title. */ + esc_attr( sprintf( __( 'Preview “%s”', 'wordpress-seo' ), $title ) ), + __( 'Preview', 'wordpress-seo' ) + ); + } + } + elseif ( $rec->post_status !== 'trash' ) { + $actions['view'] = sprintf( + '%s', + esc_url( get_permalink( $rec->ID ) ), + /* translators: Hidden accessibility text; %s: post title. */ + esc_attr( sprintf( __( 'View “%s”', 'wordpress-seo' ), $title ) ), + __( 'View', 'wordpress-seo' ) + ); + } + } + + $return .= $this->row_actions( $actions ); + + return $return; + } + + /** + * Parsing the column based on the $column_name. + * + * @param string $column_name Column name. + * @param WP_Post $rec Post object. + * + * @return string + */ + protected function parse_column( $column_name, $rec ) { + + static $date_format; + + if ( ! isset( $date_format ) ) { + $date_format = get_option( 'date_format' ); + } + + switch ( $column_name ) { + case 'col_page_title': + $column_value = $this->parse_page_title_column( $rec ); + break; + + case 'col_page_slug': + $permalink = get_permalink( $rec->ID ); + $display_slug = str_replace( get_bloginfo( 'url' ), '', $permalink ); + $column_value = sprintf( '%1$s', stripslashes( rawurldecode( $display_slug ) ), esc_url( $permalink ) ); + break; + + case 'col_post_type': + $post_type = get_post_type_object( $rec->post_type ); + $column_value = $post_type->labels->singular_name; + break; + + case 'col_post_status': + $post_status = get_post_status_object( $rec->post_status ); + $column_value = $post_status->label; + break; + + case 'col_post_date': + $column_value = date_i18n( $date_format, strtotime( $rec->post_date ) ); + break; + + case 'col_row_action': + $column_value = sprintf( + '%2$s %3$s', + $rec->ID, + esc_html__( 'Save', 'wordpress-seo' ), + esc_html__( 'Save all', 'wordpress-seo' ) + ); + break; + } + + if ( ! empty( $column_value ) ) { + return $column_value; + } + } + + /** + * Parse the field where the existing meta-data value is displayed. + * + * @param int $record_id Record ID. + * @param string $attributes HTML attributes. + * @param bool|array $values Optional values data array. + * + * @return string + */ + protected function parse_meta_data_field( $record_id, $attributes, $values = false ) { + + // Fill meta data if exists in $this->meta_data. + $meta_data = ( ! empty( $this->meta_data[ $record_id ] ) ) ? $this->meta_data[ $record_id ] : []; + $meta_key = WPSEO_Meta::$meta_prefix . $this->target_db_field; + $meta_value = ( ! empty( $meta_data[ $meta_key ] ) ) ? $meta_data[ $meta_key ] : ''; + + if ( ! empty( $values ) ) { + $meta_value = $values[ $meta_value ]; + } + + $id = "wpseo-existing-$this->target_db_field-$record_id"; + + // $attributes correctly escaped, verified by Alexander. See WPSEO_Bulk_Description_List_Table::parse_page_specific_column. + return sprintf( '%1$s', esc_html( $meta_value ), $attributes, esc_attr( $id ) ); + } + + /** + * Method for setting the meta data, which belongs to the records that will be shown on the current page. + * + * This method will loop through the current items ($this->items) for getting the post_id. With this data + * ($needed_ids) the method will query the meta-data table for getting the title. + * + * @return void + */ + protected function get_meta_data() { + + $post_ids = $this->get_post_ids(); + $meta_data = $this->get_meta_data_result( $post_ids ); + + $this->parse_meta_data( $meta_data ); + + // Little housekeeping. + unset( $post_ids, $meta_data ); + } + + /** + * Getting all post_ids from to $this->items. + * + * @return array + */ + protected function get_post_ids() { + $post_ids = []; + foreach ( $this->items as $item ) { + $post_ids[] = $item->ID; + } + + return $post_ids; + } + + /** + * Getting the meta_data from database. + * + * @param array $post_ids Post IDs for SQL IN part. + * + * @return mixed + */ + protected function get_meta_data_result( array $post_ids ) { + global $wpdb; + + $where = $wpdb->prepare( + 'post_id IN (' . implode( ', ', array_fill( 0, count( $post_ids ), '%d' ) ) . ')', + $post_ids + ); + + $where .= $wpdb->prepare( ' AND meta_key = %s', WPSEO_Meta::$meta_prefix . $this->target_db_field ); + + // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- They are prepared on the lines above. + return $wpdb->get_results( "SELECT * FROM {$wpdb->postmeta} WHERE {$where}" ); + } + + /** + * Setting $this->meta_data. + * + * @param array $meta_data Meta data set. + * + * @return void + */ + protected function parse_meta_data( $meta_data ) { + + foreach ( $meta_data as $row ) { + $this->meta_data[ $row->post_id ][ $row->meta_key ] = $row->meta_value; + } + } + + /** + * This method will merge general array with given parameter $columns. + * + * @param array $columns Optional columns set. + * + * @return array + */ + protected function merge_columns( $columns = [] ) { + $columns = array_merge( + [ + 'col_page_title' => __( 'WP Page Title', 'wordpress-seo' ), + 'col_post_type' => __( 'Content Type', 'wordpress-seo' ), + 'col_post_status' => __( 'Post Status', 'wordpress-seo' ), + 'col_post_date' => __( 'Publication date', 'wordpress-seo' ), + 'col_page_slug' => __( 'Page URL/Slug', 'wordpress-seo' ), + ], + $columns + ); + + $columns['col_row_action'] = __( 'Action', 'wordpress-seo' ); + + return $columns; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-title-editor-list-table.php b/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-title-editor-list-table.php new file mode 100644 index 00000000..5314fdb5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-bulk-title-editor-list-table.php @@ -0,0 +1,89 @@ + 'wpseo_bulk_title', + 'plural' => 'wpseo_bulk_titles', + 'ajax' => true, + ]; + + /** + * The field in the database where meta field is saved. + * + * @var string + */ + protected $target_db_field = 'title'; + + /** + * The columns shown on the table. + * + * @return array + */ + public function get_columns() { + + $columns = [ + /* translators: %1$s expands to Yoast SEO */ + 'col_existing_yoast_seo_title' => sprintf( __( 'Existing %1$s Title', 'wordpress-seo' ), 'Yoast SEO' ), + /* translators: %1$s expands to Yoast SEO */ + 'col_new_yoast_seo_title' => sprintf( __( 'New %1$s Title', 'wordpress-seo' ), 'Yoast SEO' ), + ]; + + return $this->merge_columns( $columns ); + } + + /** + * Parse the title columns. + * + * @param string $column_name Column name. + * @param object $record Data object. + * @param string $attributes HTML attributes. + * + * @return string + */ + protected function parse_page_specific_column( $column_name, $record, $attributes ) { + + // Fill meta data if exists in $this->meta_data. + $meta_data = ( ! empty( $this->meta_data[ $record->ID ] ) ) ? $this->meta_data[ $record->ID ] : []; + + switch ( $column_name ) { + case 'col_existing_yoast_seo_title': + // @todo Inconsistent return/echo behavior R. + // I traced the escaping of the attributes to WPSEO_Bulk_List_Table::column_attributes. + // The output of WPSEO_Bulk_List_Table::parse_meta_data_field is properly escaped. + // phpcs:ignore WordPress.Security.EscapeOutput + echo $this->parse_meta_data_field( $record->ID, $attributes ); + break; + + case 'col_new_yoast_seo_title': + return sprintf( + '', + 'wpseo-new-title-' . $record->ID, + $record->ID + ); + } + + unset( $meta_data ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-collector.php b/wp/wp-content/plugins/wordpress-seo/admin/class-collector.php new file mode 100644 index 00000000..e49e872c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-collector.php @@ -0,0 +1,54 @@ +collections[] = $collection; + } + + /** + * Collects the data from the collection objects. + * + * @return array The collected data. + */ + public function collect() { + $data = []; + + foreach ( $this->collections as $collection ) { + $data = array_merge( $data, $collection->get() ); + } + + return $data; + } + + /** + * Returns the collected data as a JSON encoded string. + * + * @return false|string The encode string. + */ + public function get_as_json() { + return WPSEO_Utils::format_json_encode( $this->collect() ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-config.php b/wp/wp-content/plugins/wordpress-seo/admin/class-config.php new file mode 100644 index 00000000..ca9b2b6a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-config.php @@ -0,0 +1,160 @@ +asset_manager = new WPSEO_Admin_Asset_Manager(); + } + + /** + * Make sure the needed scripts are loaded for admin pages. + * + * @return void + */ + public function init() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $page = isset( $_GET['page'] ) && is_string( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : ''; + if ( in_array( $page, [ Settings_Integration::PAGE, Academy_Integration::PAGE, Support_Integration::PAGE ], true ) ) { + // Bail, this is managed in the applicable integration. + return; + } + + add_action( 'admin_enqueue_scripts', [ $this, 'config_page_scripts' ] ); + add_action( 'admin_enqueue_scripts', [ $this, 'config_page_styles' ] ); + } + + /** + * Loads the required styles for the config page. + * + * @return void + */ + public function config_page_styles() { + wp_enqueue_style( 'dashboard' ); + wp_enqueue_style( 'thickbox' ); + wp_enqueue_style( 'global' ); + wp_enqueue_style( 'wp-admin' ); + $this->asset_manager->enqueue_style( 'admin-css' ); + $this->asset_manager->enqueue_style( 'monorepo' ); + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $page = isset( $_GET['page'] ) && is_string( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : ''; + if ( $page === 'wpseo_licenses' ) { + $this->asset_manager->enqueue_style( 'tailwind' ); + } + } + + /** + * Loads the required scripts for the config page. + * + * @return void + */ + public function config_page_scripts() { + $this->asset_manager->enqueue_script( 'settings' ); + wp_enqueue_script( 'dashboard' ); + wp_enqueue_script( 'thickbox' ); + + $alert_dismissal_action = YoastSEO()->classes->get( Alert_Dismissal_Action::class ); + $dismissed_alerts = $alert_dismissal_action->all_dismissed(); + $woocommerce_conditional = new WooCommerce_Conditional(); + + $script_data = [ + 'userLanguageCode' => WPSEO_Language_Utils::get_language( get_user_locale() ), + 'dismissedAlerts' => $dismissed_alerts, + 'isRtl' => is_rtl(), + 'isPremium' => YoastSEO()->helpers->product->is_premium(), + 'isWooCommerceActive' => $woocommerce_conditional->is_met(), + 'currentPromotions' => YoastSEO()->classes->get( Promotion_Manager::class )->get_current_promotions(), + 'webinarIntroSettingsUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/webinar-intro-settings' ), + 'webinarIntroFirstTimeConfigUrl' => $this->get_webinar_shortlink(), + 'linkParams' => WPSEO_Shortlinker::get_query_params(), + 'pluginUrl' => plugins_url( '', WPSEO_FILE ), + ]; + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $page = isset( $_GET['page'] ) && is_string( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : ''; + + if ( in_array( $page, [ WPSEO_Admin::PAGE_IDENTIFIER, 'wpseo_workouts' ], true ) ) { + wp_enqueue_media(); + + $script_data['media'] = [ + 'choose_image' => __( 'Use Image', 'wordpress-seo' ), + ]; + + $script_data['userEditUrl'] = add_query_arg( 'user_id', '{user_id}', admin_url( 'user-edit.php' ) ); + } + + if ( $page === 'wpseo_tools' ) { + $this->enqueue_tools_scripts(); + } + + $this->asset_manager->localize_script( 'settings', 'wpseoScriptData', $script_data ); + $this->asset_manager->enqueue_user_language_script(); + } + + /** + * Enqueues and handles all the tool dependencies. + * + * @return void + */ + private function enqueue_tools_scripts() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $tool = isset( $_GET['tool'] ) && is_string( $_GET['tool'] ) ? sanitize_text_field( wp_unslash( $_GET['tool'] ) ) : ''; + + if ( empty( $tool ) ) { + $this->asset_manager->enqueue_script( 'yoast-seo' ); + } + + if ( $tool === 'bulk-editor' ) { + $this->asset_manager->enqueue_script( 'bulk-editor' ); + } + } + + /** + * Returns the appropriate shortlink for the Webinar. + * + * @return string The shortlink for the Webinar. + */ + private function get_webinar_shortlink() { + if ( YoastSEO()->helpers->product->is_premium() ) { + return WPSEO_Shortlinker::get( 'https://yoa.st/webinar-intro-first-time-config-premium' ); + } + + return WPSEO_Shortlinker::get( 'https://yoa.st/webinar-intro-first-time-config' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-database-proxy.php b/wp/wp-content/plugins/wordpress-seo/admin/class-database-proxy.php new file mode 100644 index 00000000..89ec64d3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-database-proxy.php @@ -0,0 +1,309 @@ +table_name = $table_name; + $this->suppress_errors = (bool) $suppress_errors; + $this->is_multisite_table = (bool) $is_multisite_table; + $this->database = $database; + + // If the table prefix was provided, strip it as it's handled automatically. + $table_prefix = $this->get_table_prefix(); + if ( ! empty( $table_prefix ) && strpos( $this->table_name, $table_prefix ) === 0 ) { + $this->table_prefix = substr( $this->table_name, strlen( $table_prefix ) ); + } + + if ( ! $this->is_table_registered() ) { + $this->register_table(); + } + } + + /** + * Inserts data into the database. + * + * @param array $data Data to insert. + * @param array|string|null $format Formats for the data. + * + * @return false|int Total amount of inserted rows or false on error. + */ + public function insert( array $data, $format = null ) { + $this->pre_execution(); + + $result = $this->database->insert( $this->get_table_name(), $data, $format ); + + $this->post_execution(); + + return $result; + } + + /** + * Updates data in the database. + * + * @param array $data Data to update on the table. + * @param array $where Where condition as key => value array. + * @param array|string|null $format Optional. Data prepare format. + * @param array|string|null $where_format Optional. Where prepare format. + * + * @return false|int False when the update request is invalid, int on number of rows changed. + */ + public function update( array $data, array $where, $format = null, $where_format = null ) { + $this->pre_execution(); + + $result = $this->database->update( $this->get_table_name(), $data, $where, $format, $where_format ); + + $this->post_execution(); + + return $result; + } + + /** + * Upserts data in the database. + * + * Performs an insert into and if key is duplicate it will update the existing record. + * + * @param array $data Data to update on the table. + * @param array|null $where Unused. Where condition as key => value array. + * @param array|string|null $format Optional. Data prepare format. + * @param array|string|null $where_format Optional. Where prepare format. + * + * @return false|int False when the upsert request is invalid, int on number of rows changed. + */ + public function upsert( array $data, ?array $where = null, $format = null, $where_format = null ) { + if ( $where_format !== null ) { + _deprecated_argument( __METHOD__, '7.7.0', 'The where_format argument is deprecated' ); + } + + $this->pre_execution(); + + $update = []; + $keys = []; + $columns = array_keys( $data ); + foreach ( $columns as $column ) { + $keys[] = '`' . $column . '`'; + $update[] = sprintf( '`%1$s` = VALUES(`%1$s`)', $column ); + } + + $query = sprintf( + 'INSERT INTO `%1$s` (%2$s) VALUES ( %3$s ) ON DUPLICATE KEY UPDATE %4$s', + $this->get_table_name(), + implode( ', ', $keys ), + implode( ', ', array_fill( 0, count( $data ), '%s' ) ), + implode( ', ', $update ) + ); + + $result = $this->database->query( + $this->database->prepare( + $query, + array_values( $data ) + ) + ); + + $this->post_execution(); + + return $result; + } + + /** + * Deletes a record from the database. + * + * @param array $where Where clauses for the query. + * @param array|string|null $format Formats for the data. + * + * @return false|int + */ + public function delete( array $where, $format = null ) { + $this->pre_execution(); + + $result = $this->database->delete( $this->get_table_name(), $where, $format ); + + $this->post_execution(); + + return $result; + } + + /** + * Executes the given query and returns the results. + * + * @param string $query The query to execute. + * + * @return array|object|null The resultset + */ + public function get_results( $query ) { + $this->pre_execution(); + + $results = $this->database->get_results( $query ); + + $this->post_execution(); + + return $results; + } + + /** + * Creates a table to the database. + * + * @param array $columns The columns to create. + * @param array $indexes The indexes to use. + * + * @return bool True when creation is successful. + */ + public function create_table( array $columns, array $indexes = [] ) { + $create_table = sprintf( + 'CREATE TABLE IF NOT EXISTS %1$s ( %2$s ) %3$s', + $this->get_table_name(), + implode( ',', array_merge( $columns, $indexes ) ), + $this->database->get_charset_collate() + ); + + $this->pre_execution(); + + $is_created = (bool) $this->database->query( $create_table ); + + $this->post_execution(); + + return $is_created; + } + + /** + * Checks if there is an error. + * + * @return bool Returns true when there is an error. + */ + public function has_error() { + return ( $this->database->last_error !== '' ); + } + + /** + * Executed before a query will be ran. + * + * @return void + */ + protected function pre_execution() { + if ( $this->suppress_errors ) { + $this->last_suppressed_state = $this->database->suppress_errors(); + } + } + + /** + * Executed after a query has been ran. + * + * @return void + */ + protected function post_execution() { + if ( $this->suppress_errors ) { + $this->database->suppress_errors( $this->last_suppressed_state ); + } + } + + /** + * Returns the full table name. + * + * @return string Full table name including prefix. + */ + public function get_table_name() { + return $this->get_table_prefix() . $this->table_name; + } + + /** + * Returns the prefix to use for the table. + * + * @return string The table prefix depending on the database context. + */ + protected function get_table_prefix() { + if ( $this->is_multisite_table ) { + return $this->database->base_prefix; + } + + return $this->database->get_blog_prefix(); + } + + /** + * Registers the table with WordPress. + * + * @return void + */ + protected function register_table() { + $table_name = $this->table_name; + $full_table_name = $this->get_table_name(); + + $this->database->$table_name = $full_table_name; + + if ( $this->is_multisite_table ) { + $this->database->ms_global_tables[] = $table_name; + return; + } + + $this->database->tables[] = $table_name; + } + + /** + * Checks if the table has been registered with WordPress. + * + * @return bool True if the table is registered, false otherwise. + */ + protected function is_table_registered() { + if ( $this->is_multisite_table ) { + return in_array( $this->table_name, $this->database->ms_global_tables, true ); + } + + return in_array( $this->table_name, $this->database->tables, true ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-export.php b/wp/wp-content/plugins/wordpress-seo/admin/class-export.php new file mode 100644 index 00000000..6e769b04 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-export.php @@ -0,0 +1,164 @@ +export_settings(); + $this->output(); + } + + /** + * Outputs the export. + * + * @return void + */ + public function output() { + if ( ! WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ) { + esc_html_e( 'You do not have the required rights to export settings.', 'wordpress-seo' ); + return; + } + + echo '

    '; + printf( + /* translators: %1$s expands to Import settings */ + esc_html__( + 'Copy all these settings to another site\'s %1$s tab and click "%1$s" there.', + 'wordpress-seo' + ), + esc_html__( + 'Import settings', + 'wordpress-seo' + ) + ); + echo '

    '; + /* translators: %1$s expands to Yoast SEO */ + echo '
    '; + echo ''; + } + + /** + * Exports the current site's WP SEO settings. + * + * @return void + */ + private function export_settings() { + $this->export_header(); + + foreach ( WPSEO_Options::get_option_names() as $opt_group ) { + $this->write_opt_group( $opt_group ); + } + } + + /** + * Writes the header of the export. + * + * @return void + */ + private function export_header() { + $header = sprintf( + /* translators: %1$s expands to Yoast SEO, %2$s expands to Yoast.com */ + esc_html__( 'These are settings for the %1$s plugin by %2$s', 'wordpress-seo' ), + 'Yoast SEO', + 'Yoast.com' + ); + $this->write_line( '; ' . $header ); + } + + /** + * Writes a line to the export. + * + * @param string $line Line string. + * @param bool $newline_first Boolean flag whether to prepend with new line. + * + * @return void + */ + private function write_line( $line, $newline_first = false ) { + if ( $newline_first ) { + $this->export .= PHP_EOL; + } + $this->export .= $line . PHP_EOL; + } + + /** + * Writes an entire option group to the export. + * + * @param string $opt_group Option group name. + * + * @return void + */ + private function write_opt_group( $opt_group ) { + + $this->write_line( '[' . $opt_group . ']', true ); + + $options = get_option( $opt_group ); + + if ( ! is_array( $options ) ) { + return; + } + + foreach ( $options as $key => $elem ) { + if ( is_array( $elem ) ) { + $count = count( $elem ); + for ( $i = 0; $i < $count; $i++ ) { + $elem_check = ( $elem[ $i ] ?? null ); + $this->write_setting( $key . '[]', $elem_check ); + } + } + else { + $this->write_setting( $key, $elem ); + } + } + } + + /** + * Writes a settings line to the export. + * + * @param string $key Key string. + * @param string $val Value string. + * + * @return void + */ + private function write_setting( $key, $val ) { + if ( is_string( $val ) ) { + $val = '"' . $val . '"'; + } + $this->write_line( $key . ' = ' . $val ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-expose-shortlinks.php b/wp/wp-content/plugins/wordpress-seo/admin/class-expose-shortlinks.php new file mode 100644 index 00000000..e6a589b6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-expose-shortlinks.php @@ -0,0 +1,143 @@ + 'https://yoa.st/allow-search-engines', + 'shortlinks.advanced.follow_links' => 'https://yoa.st/follow-links', + 'shortlinks.advanced.meta_robots' => 'https://yoa.st/meta-robots-advanced', + 'shortlinks.advanced.breadcrumbs_title' => 'https://yoa.st/breadcrumbs-title', + 'shortlinks.metabox.schema.explanation' => 'https://yoa.st/400', + 'shortlinks.metabox.schema.page_type' => 'https://yoa.st/402', + 'shortlinks.sidebar.schema.explanation' => 'https://yoa.st/401', + 'shortlinks.sidebar.schema.page_type' => 'https://yoa.st/403', + 'shortlinks.focus_keyword_info' => 'https://yoa.st/focus-keyword', + 'shortlinks.nofollow_sponsored' => 'https://yoa.st/nofollow-sponsored', + 'shortlinks.snippet_preview_info' => 'https://yoa.st/snippet-preview', + 'shortlinks.cornerstone_content_info' => 'https://yoa.st/1i9', + 'shortlinks.upsell.social_preview.social' => 'https://yoa.st/social-preview-facebook', + 'shortlinks.upsell.social_preview.x' => 'https://yoa.st/social-preview-twitter', + 'shortlinks.upsell.sidebar.news' => 'https://yoa.st/get-news-sidebar', + 'shortlinks.upsell.sidebar.focus_keyword_synonyms_button' => 'https://yoa.st/keyword-synonyms-popup-sidebar', + 'shortlinks.upsell.sidebar.premium_seo_analysis_button' => 'https://yoa.st/premium-seo-analysis-sidebar', + 'shortlinks.upsell.sidebar.focus_keyword_additional_button' => 'https://yoa.st/add-keywords-popup-sidebar', + 'shortlinks.upsell.sidebar.additional_link' => 'https://yoa.st/textlink-keywords-sidebar', + 'shortlinks.upsell.sidebar.additional_button' => 'https://yoa.st/add-keywords-sidebar', + 'shortlinks.upsell.sidebar.keyphrase_distribution' => 'https://yoa.st/keyphrase-distribution-sidebar', + 'shortlinks.upsell.sidebar.word_complexity' => 'https://yoa.st/word-complexity-sidebar', + 'shortlinks.upsell.sidebar.internal_linking_suggestions' => 'https://yoa.st/internal-linking-suggestions-sidebar', + 'shortlinks.upsell.sidebar.highlighting_seo_analysis' => 'https://yoa.st/highlighting-seo-analysis', + 'shortlinks.upsell.sidebar.highlighting_readability_analysis' => 'https://yoa.st/highlighting-readability-analysis', + 'shortlinks.upsell.sidebar.highlighting_inclusive_analysis' => 'https://yoa.st/highlighting-inclusive-analysis', + 'shortlinks.upsell.metabox.news' => 'https://yoa.st/get-news-metabox', + 'shortlinks.upsell.metabox.go_premium' => 'https://yoa.st/pe-premium-page', + 'shortlinks.upsell.metabox.focus_keyword_synonyms_button' => 'https://yoa.st/keyword-synonyms-popup', + 'shortlinks.upsell.metabox.premium_seo_analysis_button' => 'https://yoa.st/premium-seo-analysis-metabox', + 'shortlinks.upsell.metabox.focus_keyword_additional_button' => 'https://yoa.st/add-keywords-popup', + 'shortlinks.upsell.metabox.additional_link' => 'https://yoa.st/textlink-keywords-metabox', + 'shortlinks.upsell.metabox.additional_button' => 'https://yoa.st/add-keywords-metabox', + 'shortlinks.upsell.metabox.keyphrase_distribution' => 'https://yoa.st/keyphrase-distribution-metabox', + 'shortlinks.upsell.metabox.word_complexity' => 'https://yoa.st/word-complexity-metabox', + 'shortlinks.upsell.metabox.internal_linking_suggestions' => 'https://yoa.st/internal-linking-suggestions-metabox', + 'shortlinks.upsell.gsc.create_redirect_button' => 'https://yoa.st/redirects', + 'shortlinks.readability_analysis_info' => 'https://yoa.st/readability-analysis', + 'shortlinks.inclusive_language_analysis_info' => 'https://yoa.st/inclusive-language-analysis', + 'shortlinks.activate_premium_info' => 'https://yoa.st/activate-subscription', + 'shortlinks.upsell.sidebar.morphology_upsell_metabox' => 'https://yoa.st/morphology-upsell-metabox', + 'shortlinks.upsell.sidebar.morphology_upsell_sidebar' => 'https://yoa.st/morphology-upsell-sidebar', + 'shortlinks.semrush.volume_help' => 'https://yoa.st/3-v', + 'shortlinks.semrush.trend_help' => 'https://yoa.st/3-v', + 'shortlinks.semrush.prices' => 'https://yoa.st/semrush-prices', + 'shortlinks.semrush.premium_landing_page' => 'https://yoa.st/413', + 'shortlinks.wincher.seo_performance' => 'https://yoa.st/wincher-integration', + 'shortlinks-insights-estimated_reading_time' => 'https://yoa.st/4fd', + 'shortlinks-insights-flesch_reading_ease' => 'https://yoa.st/34r', + 'shortlinks-insights-flesch_reading_ease_sidebar' => 'https://yoa.st/4mf', + 'shortlinks-insights-flesch_reading_ease_metabox' => 'https://yoa.st/4mg', + 'shortlinks-insights-flesch_reading_ease_article' => 'https://yoa.st/34s', + 'shortlinks-insights-keyword_research_link' => 'https://yoa.st/keyword-research-metabox', + 'shortlinks-insights-upsell-sidebar-prominent_words' => 'https://yoa.st/prominent-words-upsell-sidebar', + 'shortlinks-insights-upsell-metabox-prominent_words' => 'https://yoa.st/prominent-words-upsell-metabox', + 'shortlinks-insights-upsell-elementor-prominent_words' => 'https://yoa.st/prominent-words-upsell-elementor', + 'shortlinks-insights-word_count' => 'https://yoa.st/word-count', + 'shortlinks-insights-upsell-sidebar-text_formality' => 'https://yoa.st/formality-upsell-sidebar', + 'shortlinks-insights-upsell-metabox-text_formality' => 'https://yoa.st/formality-upsell-metabox', + 'shortlinks-insights-upsell-elementor-text_formality' => 'https://yoa.st/formality-upsell-elementor', + 'shortlinks-insights-text_formality_info_free' => 'https://yoa.st/formality-free', + 'shortlinks-insights-text_formality_info_premium' => 'https://yoa.st/formality', + ]; + + /** + * Registers all hooks to WordPress. + * + * @return void + */ + public function register_hooks() { + add_filter( 'wpseo_admin_l10n', [ $this, 'expose_shortlinks' ] ); + } + + /** + * Adds shortlinks to the passed array. + * + * @param array $input The array to add shortlinks to. + * + * @return array The passed array with the additional shortlinks. + */ + public function expose_shortlinks( $input ) { + foreach ( $this->get_shortlinks() as $key => $shortlink ) { + $input[ $key ] = WPSEO_Shortlinker::get( $shortlink ); + } + + $input['default_query_params'] = WPSEO_Shortlinker::get_query_params(); + + return $input; + } + + /** + * Retrieves the shortlinks. + * + * @return array The shortlinks. + */ + private function get_shortlinks() { + if ( ! $this->is_term_edit() ) { + return $this->shortlinks; + } + + $shortlinks = $this->shortlinks; + + $shortlinks['shortlinks.upsell.metabox.focus_keyword_synonyms_button'] = 'https://yoa.st/keyword-synonyms-popup-term'; + $shortlinks['shortlinks.upsell.metabox.focus_keyword_additional_button'] = 'https://yoa.st/add-keywords-popup-term'; + $shortlinks['shortlinks.upsell.metabox.additional_link'] = 'https://yoa.st/textlink-keywords-metabox-term'; + $shortlinks['shortlinks.upsell.metabox.additional_button'] = 'https://yoa.st/add-keywords-metabox-term'; + $shortlinks['shortlinks.upsell.sidebar.morphology_upsell_metabox'] = 'https://yoa.st/morphology-upsell-metabox-term'; + $shortlinks['shortlinks.upsell.metabox.keyphrase_distribution'] = 'https://yoa.st/keyphrase-distribution-metabox-term'; + $shortlinks['shortlinks.upsell.metabox.word_complexity'] = 'https://yoa.st/word-complexity-metabox-term'; + $shortlinks['shortlinks.upsell.metabox.internal_linking_suggestions'] = 'https://yoa.st/internal-linking-suggestions-metabox-term'; + + return $shortlinks; + } + + /** + * Checks if the current page is a term edit page. + * + * @return bool True when page is term edit. + */ + private function is_term_edit() { + global $pagenow; + + return WPSEO_Taxonomy::is_term_edit( $pagenow ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-gutenberg-compatibility.php b/wp/wp-content/plugins/wordpress-seo/admin/class-gutenberg-compatibility.php new file mode 100644 index 00000000..6160f1a2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-gutenberg-compatibility.php @@ -0,0 +1,107 @@ +current_version = $this->detect_installed_gutenberg_version(); + } + + /** + * Determines whether or not Gutenberg is installed. + * + * @return bool Whether or not Gutenberg is installed. + */ + public function is_installed() { + return $this->current_version !== ''; + } + + /** + * Determines whether or not the currently installed version of Gutenberg is below the minimum supported version. + * + * @return bool True if the currently installed version is below the minimum supported version. False otherwise. + */ + public function is_below_minimum() { + return version_compare( $this->current_version, $this->get_minimum_supported_version(), '<' ); + } + + /** + * Gets the currently installed version. + * + * @return string The currently installed version. + */ + public function get_installed_version() { + return $this->current_version; + } + + /** + * Determines whether or not the currently installed version of Gutenberg is the latest, fully compatible version. + * + * @return bool Whether or not the currently installed version is fully compatible. + */ + public function is_fully_compatible() { + return version_compare( $this->current_version, $this->get_latest_release(), '>=' ); + } + + /** + * Gets the latest released version of Gutenberg. + * + * @return string The latest release. + */ + protected function get_latest_release() { + return self::CURRENT_RELEASE; + } + + /** + * Gets the minimum supported version of Gutenberg. + * + * @return string The minumum supported release. + */ + protected function get_minimum_supported_version() { + return self::MINIMUM_SUPPORTED; + } + + /** + * Detects the currently installed Gutenberg version. + * + * @return string The currently installed Gutenberg version. Empty if the version couldn't be detected. + */ + protected function detect_installed_gutenberg_version() { + if ( defined( 'GUTENBERG_VERSION' ) ) { + return GUTENBERG_VERSION; + } + + return ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-meta-columns.php b/wp/wp-content/plugins/wordpress-seo/admin/class-meta-columns.php new file mode 100644 index 00000000..7b2108fb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-meta-columns.php @@ -0,0 +1,839 @@ +analysis_seo = new WPSEO_Metabox_Analysis_SEO(); + $this->analysis_readability = new WPSEO_Metabox_Analysis_Readability(); + $this->admin_columns_cache = YoastSEO()->classes->get( Admin_Columns_Cache_Integration::class ); + $this->score_icon_helper = YoastSEO()->helpers->score_icon; + } + + /** + * Sets up up the hooks. + * + * @return void + */ + public function setup_hooks() { + $this->set_post_type_hooks(); + + if ( $this->analysis_seo->is_enabled() ) { + add_action( 'restrict_manage_posts', [ $this, 'posts_filter_dropdown' ] ); + } + + if ( $this->analysis_readability->is_enabled() ) { + add_action( 'restrict_manage_posts', [ $this, 'posts_filter_dropdown_readability' ] ); + } + + add_filter( 'request', [ $this, 'column_sort_orderby' ] ); + add_filter( 'default_hidden_columns', [ $this, 'column_hidden' ], 10, 1 ); + } + + /** + * Adds the column headings for the SEO plugin for edit posts / pages overview. + * + * @param array $columns Already existing columns. + * + * @return array Array containing the column headings. + */ + public function column_heading( $columns ) { + if ( $this->display_metabox() === false ) { + return $columns; + } + + $added_columns = []; + + if ( $this->analysis_seo->is_enabled() ) { + $added_columns['wpseo-score'] = '' + . __( 'SEO score', 'wordpress-seo' ) + . ''; + } + + if ( $this->analysis_readability->is_enabled() ) { + $added_columns['wpseo-score-readability'] = '' + . __( 'Readability score', 'wordpress-seo' ) + . ''; + } + + $added_columns['wpseo-title'] = __( 'SEO Title', 'wordpress-seo' ); + $added_columns['wpseo-metadesc'] = __( 'Meta Desc.', 'wordpress-seo' ); + + if ( $this->analysis_seo->is_enabled() ) { + $added_columns['wpseo-focuskw'] = __( 'Keyphrase', 'wordpress-seo' ); + } + + return array_merge( $columns, $added_columns ); + } + + /** + * Displays the column content for the given column. + * + * @param string $column_name Column to display the content for. + * @param int $post_id Post to display the column content for. + * + * @return void + */ + public function column_content( $column_name, $post_id ) { + if ( $this->display_metabox() === false ) { + return; + } + + switch ( $column_name ) { + case 'wpseo-score': + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Correctly escaped in render_score_indicator() method. + echo $this->parse_column_score( $post_id ); + + return; + + case 'wpseo-score-readability': + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Correctly escaped in render_score_indicator() method. + echo $this->parse_column_score_readability( $post_id ); + + return; + + case 'wpseo-title': + $meta = $this->get_meta( $post_id ); + if ( $meta ) { + echo esc_html( $meta->title ); + } + + return; + + case 'wpseo-metadesc': + $metadesc_val = ''; + $meta = $this->get_meta( $post_id ); + if ( $meta ) { + $metadesc_val = $meta->meta_description; + } + if ( $metadesc_val === '' ) { + echo '', + /* translators: Hidden accessibility text. */ + esc_html__( 'Meta description not set.', 'wordpress-seo' ), + ''; + + return; + } + + echo esc_html( $metadesc_val ); + + return; + + case 'wpseo-focuskw': + $focuskw_val = WPSEO_Meta::get_value( 'focuskw', $post_id ); + + if ( $focuskw_val === '' ) { + echo '', + /* translators: Hidden accessibility text. */ + esc_html__( 'Focus keyphrase not set.', 'wordpress-seo' ), + ''; + + return; + } + + echo esc_html( $focuskw_val ); + + return; + } + } + + /** + * Indicates which of the SEO columns are sortable. + * + * @param array $columns Appended with their orderby variable. + * + * @return array Array containing the sortable columns. + */ + public function column_sort( $columns ) { + if ( $this->display_metabox() === false ) { + return $columns; + } + + $columns['wpseo-metadesc'] = 'wpseo-metadesc'; + + if ( $this->analysis_seo->is_enabled() ) { + $columns['wpseo-focuskw'] = 'wpseo-focuskw'; + $columns['wpseo-score'] = 'wpseo-score'; + } + + if ( $this->analysis_readability->is_enabled() ) { + $columns['wpseo-score-readability'] = 'wpseo-score-readability'; + } + + return $columns; + } + + /** + * Hides the SEO title, meta description and focus keyword columns if the user hasn't chosen which columns to hide. + * + * @param array $hidden The hidden columns. + * + * @return array Array containing the columns to hide. + */ + public function column_hidden( $hidden ) { + if ( ! is_array( $hidden ) ) { + $hidden = []; + } + + array_push( $hidden, 'wpseo-title', 'wpseo-metadesc' ); + + if ( $this->analysis_seo->is_enabled() ) { + $hidden[] = 'wpseo-focuskw'; + } + + return $hidden; + } + + /** + * Adds a dropdown that allows filtering on the posts SEO Quality. + * + * @return void + */ + public function posts_filter_dropdown() { + if ( ! $this->can_display_filter() ) { + return; + } + + $ranks = WPSEO_Rank::get_all_ranks(); + + /* translators: Hidden accessibility text. */ + echo ''; + echo ''; + } + + /** + * Adds a dropdown that allows filtering on the posts Readability Quality. + * + * @return void + */ + public function posts_filter_dropdown_readability() { + if ( ! $this->can_display_filter() ) { + return; + } + + $ranks = WPSEO_Rank::get_all_readability_ranks(); + + /* translators: Hidden accessibility text. */ + echo ''; + echo ''; + } + + /** + * Generates an '; + } + + /** + * Returns the meta object for a given post ID. + * + * @param int $post_id The post ID. + * + * @return Meta The meta object. + */ + protected function get_meta( $post_id ) { + $indexable = $this->admin_columns_cache->get_indexable( $post_id ); + + return YoastSEO()->meta->for_indexable( $indexable, 'Post_Type' ); + } + + /** + * Determines the SEO score filter to be later used in the meta query, based on the passed SEO filter. + * + * @param string $seo_filter The SEO filter to use to determine what further filter to apply. + * + * @return array The SEO score filter. + */ + protected function determine_seo_filters( $seo_filter ) { + if ( $seo_filter === WPSEO_Rank::NO_FOCUS ) { + return $this->create_no_focus_keyword_filter(); + } + + if ( $seo_filter === WPSEO_Rank::NO_INDEX ) { + return $this->create_no_index_filter(); + } + + $rank = new WPSEO_Rank( $seo_filter ); + + return $this->create_seo_score_filter( $rank->get_starting_score(), $rank->get_end_score() ); + } + + /** + * Determines the Readability score filter to the meta query, based on the passed Readability filter. + * + * @param string $readability_filter The Readability filter to use to determine what further filter to apply. + * + * @return array The Readability score filter. + */ + protected function determine_readability_filters( $readability_filter ) { + $rank = new WPSEO_Rank( $readability_filter ); + + return $this->create_readability_score_filter( $rank->get_starting_score(), $rank->get_end_score() ); + } + + /** + * Creates a keyword filter for the meta query, based on the passed Keyword filter. + * + * @param string $keyword_filter The keyword filter to use. + * + * @return array The keyword filter. + */ + protected function get_keyword_filter( $keyword_filter ) { + return [ + 'post_type' => get_query_var( 'post_type', 'post' ), + 'key' => WPSEO_Meta::$meta_prefix . 'focuskw', + 'value' => sanitize_text_field( $keyword_filter ), + ]; + } + + /** + * Determines whether the passed filter is considered to be valid. + * + * @param mixed $filter The filter to check against. + * + * @return bool Whether the filter is considered valid. + */ + protected function is_valid_filter( $filter ) { + return ! empty( $filter ) && is_string( $filter ); + } + + /** + * Collects the filters and merges them into a single array. + * + * @return array Array containing all the applicable filters. + */ + protected function collect_filters() { + $active_filters = []; + + $seo_filter = $this->get_current_seo_filter(); + $readability_filter = $this->get_current_readability_filter(); + $current_keyword_filter = $this->get_current_keyword_filter(); + + if ( $this->is_valid_filter( $seo_filter ) ) { + $active_filters = array_merge( + $active_filters, + $this->determine_seo_filters( $seo_filter ) + ); + } + + if ( $this->is_valid_filter( $readability_filter ) ) { + $active_filters = array_merge( + $active_filters, + $this->determine_readability_filters( $readability_filter ) + ); + } + + if ( $this->is_valid_filter( $current_keyword_filter ) ) { + /** + * Adapt the meta query used to filter the post overview on keyphrase. + * + * @internal + * + * @param array $keyphrase The keyphrase used in the filter. + * @param array $keyword_filter The current keyword filter. + */ + $keyphrase_filter = apply_filters( + 'wpseo_change_keyphrase_filter_in_request', + $this->get_keyword_filter( $current_keyword_filter ), + $current_keyword_filter + ); + + if ( is_array( $keyphrase_filter ) ) { + $active_filters = array_merge( + $active_filters, + [ $keyphrase_filter ] + ); + } + } + + /** + * Adapt the active applicable filters on the posts overview. + * + * @internal + * + * @param array $active_filters The current applicable filters. + */ + return apply_filters( 'wpseo_change_applicable_filters', $active_filters ); + } + + /** + * Modify the query based on the filters that are being passed. + * + * @param array $vars Query variables that need to be modified based on the filters. + * + * @return array Array containing the meta query to use for filtering the posts overview. + */ + public function column_sort_orderby( $vars ) { + $collected_filters = $this->collect_filters(); + + $order_by_column = $vars['orderby']; + if ( isset( $order_by_column ) ) { + // Based on the selected column, create a meta query. + $order_by = $this->filter_order_by( $order_by_column ); + + /** + * Adapt the order by part of the query on the posts overview. + * + * @internal + * + * @param array $order_by The current order by. + * @param string $order_by_column The current order by column. + */ + $order_by = apply_filters( 'wpseo_change_order_by', $order_by, $order_by_column ); + + $vars = array_merge( $vars, $order_by ); + } + + return $this->build_filter_query( $vars, $collected_filters ); + } + + /** + * Retrieves the meta robots query values to be used within the meta query. + * + * @return array Array containing the query parameters regarding meta robots. + */ + protected function get_meta_robots_query_values() { + return [ + 'relation' => 'OR', + [ + 'key' => WPSEO_Meta::$meta_prefix . 'meta-robots-noindex', + 'compare' => 'NOT EXISTS', + ], + [ + 'key' => WPSEO_Meta::$meta_prefix . 'meta-robots-noindex', + 'value' => '1', + 'compare' => '!=', + ], + ]; + } + + /** + * Determines the score filters to be used. If more than one is passed, it created an AND statement for the query. + * + * @param array $score_filters Array containing the score filters. + * + * @return array Array containing the score filters that need to be applied to the meta query. + */ + protected function determine_score_filters( $score_filters ) { + if ( count( $score_filters ) > 1 ) { + return array_merge( [ 'relation' => 'AND' ], $score_filters ); + } + + return $score_filters; + } + + /** + * Retrieves the post type from the $_GET variable. + * + * @return string|null The sanitized current post type or null when the variable is not set in $_GET. + */ + public function get_current_post_type() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['post_type'] ) && is_string( $_GET['post_type'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return sanitize_text_field( wp_unslash( $_GET['post_type'] ) ); + } + return null; + } + + /** + * Retrieves the SEO filter from the $_GET variable. + * + * @return string|null The sanitized seo filter or null when the variable is not set in $_GET. + */ + public function get_current_seo_filter() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['seo_filter'] ) && is_string( $_GET['seo_filter'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return sanitize_text_field( wp_unslash( $_GET['seo_filter'] ) ); + } + return null; + } + + /** + * Retrieves the Readability filter from the $_GET variable. + * + * @return string|null The sanitized readability filter or null when the variable is not set in $_GET. + */ + public function get_current_readability_filter() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['readability_filter'] ) && is_string( $_GET['readability_filter'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return sanitize_text_field( wp_unslash( $_GET['readability_filter'] ) ); + } + return null; + } + + /** + * Retrieves the keyword filter from the $_GET variable. + * + * @return string|null The sanitized seo keyword filter or null when the variable is not set in $_GET. + */ + public function get_current_keyword_filter() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['seo_kw_filter'] ) && is_string( $_GET['seo_kw_filter'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return sanitize_text_field( wp_unslash( $_GET['seo_kw_filter'] ) ); + } + return null; + } + + /** + * Uses the vars to create a complete filter query that can later be executed to filter out posts. + * + * @param array $vars Array containing the variables that will be used in the meta query. + * @param array $filters Array containing the filters that we need to apply in the meta query. + * + * @return array Array containing the complete filter query. + */ + protected function build_filter_query( $vars, $filters ) { + // If no filters were applied, just return everything. + if ( count( $filters ) === 0 ) { + return $vars; + } + + $result = [ 'meta_query' => [] ]; + $result['meta_query'] = array_merge( $result['meta_query'], [ $this->determine_score_filters( $filters ) ] ); + + $current_seo_filter = $this->get_current_seo_filter(); + + // This only applies for the SEO score filter because it can because the SEO score can be altered by the no-index option. + if ( $this->is_valid_filter( $current_seo_filter ) && ! in_array( $current_seo_filter, [ WPSEO_Rank::NO_INDEX, WPSEO_Rank::NO_FOCUS ], true ) ) { + $result['meta_query'] = array_merge( $result['meta_query'], [ $this->get_meta_robots_query_values() ] ); + } + + return array_merge( $vars, $result ); + } + + /** + * Creates a Readability score filter. + * + * @param number $low The lower boundary of the score. + * @param number $high The higher boundary of the score. + * + * @return array The Readability Score filter. + */ + protected function create_readability_score_filter( $low, $high ) { + return [ + [ + 'key' => WPSEO_Meta::$meta_prefix . 'content_score', + 'value' => [ $low, $high ], + 'type' => 'numeric', + 'compare' => 'BETWEEN', + ], + ]; + } + + /** + * Creates an SEO score filter. + * + * @param number $low The lower boundary of the score. + * @param number $high The higher boundary of the score. + * + * @return array The SEO score filter. + */ + protected function create_seo_score_filter( $low, $high ) { + return [ + [ + 'key' => WPSEO_Meta::$meta_prefix . 'linkdex', + 'value' => [ $low, $high ], + 'type' => 'numeric', + 'compare' => 'BETWEEN', + ], + ]; + } + + /** + * Creates a filter to retrieve posts that were set to no-index. + * + * @return array Array containin the no-index filter. + */ + protected function create_no_index_filter() { + return [ + [ + 'key' => WPSEO_Meta::$meta_prefix . 'meta-robots-noindex', + 'value' => '1', + 'compare' => '=', + ], + ]; + } + + /** + * Creates a filter to retrieve posts that have no keyword set. + * + * @return array Array containing the no focus keyword filter. + */ + protected function create_no_focus_keyword_filter() { + return [ + [ + 'key' => WPSEO_Meta::$meta_prefix . 'meta-robots-noindex', + 'value' => 'needs-a-value-anyway', + 'compare' => 'NOT EXISTS', + ], + [ + 'key' => WPSEO_Meta::$meta_prefix . 'linkdex', + 'value' => 'needs-a-value-anyway', + 'compare' => 'NOT EXISTS', + ], + ]; + } + + /** + * Determines whether a particular post_id is of an indexable post type. + * + * @param string $post_id The post ID to check. + * + * @return bool Whether or not it is indexable. + */ + protected function is_indexable( $post_id ) { + if ( ! empty( $post_id ) && ! $this->uses_default_indexing( $post_id ) ) { + return WPSEO_Meta::get_value( 'meta-robots-noindex', $post_id ) === '2'; + } + + $post = get_post( $post_id ); + + if ( is_object( $post ) ) { + // If the option is false, this means we want to index it. + return WPSEO_Options::get( 'noindex-' . $post->post_type, false ) === false; + } + + return true; + } + + /** + * Determines whether the given post ID uses the default indexing settings. + * + * @param int $post_id The post ID to check. + * + * @return bool Whether or not the default indexing is being used for the post. + */ + protected function uses_default_indexing( $post_id ) { + return WPSEO_Meta::get_value( 'meta-robots-noindex', $post_id ) === '0'; + } + + /** + * Returns filters when $order_by is matched in the if-statement. + * + * @param string $order_by The ID of the column by which to order the posts. + * + * @return array Array containing the order filters. + */ + private function filter_order_by( $order_by ) { + switch ( $order_by ) { + case 'wpseo-metadesc': + return [ + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key -- Reason: Only used when user requests sorting. + 'meta_key' => WPSEO_Meta::$meta_prefix . 'metadesc', + 'orderby' => 'meta_value', + ]; + + case 'wpseo-focuskw': + return [ + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key -- Reason: Only used when user requests sorting. + 'meta_key' => WPSEO_Meta::$meta_prefix . 'focuskw', + 'orderby' => 'meta_value', + ]; + + case 'wpseo-score': + return [ + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key -- Reason: Only used when user requests sorting. + 'meta_key' => WPSEO_Meta::$meta_prefix . 'linkdex', + 'orderby' => 'meta_value_num', + ]; + + case 'wpseo-score-readability': + return [ + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key -- Reason: Only used when user requests sorting. + 'meta_key' => WPSEO_Meta::$meta_prefix . 'content_score', + 'orderby' => 'meta_value_num', + ]; + } + + return []; + } + + /** + * Parses the score column. + * + * @param int $post_id The ID of the post for which to show the score. + * + * @return string The HTML for the SEO score indicator. + */ + private function parse_column_score( $post_id ) { + $meta = $this->get_meta( $post_id ); + + if ( $meta ) { + return $this->score_icon_helper->for_seo( $meta->indexable, '', __( 'Post is set to noindex.', 'wordpress-seo' ) ); + } + } + + /** + * Parsing the readability score column. + * + * @param int $post_id The ID of the post for which to show the readability score. + * + * @return string The HTML for the readability score indicator. + */ + private function parse_column_score_readability( $post_id ) { + $meta = $this->get_meta( $post_id ); + if ( $meta ) { + return $this->score_icon_helper->for_readability( $meta->indexable->readability_score ); + } + } + + /** + * Sets up the hooks for the post_types. + * + * @return void + */ + private function set_post_type_hooks() { + $post_types = WPSEO_Post_Type::get_accessible_post_types(); + + if ( ! is_array( $post_types ) || $post_types === [] ) { + return; + } + + foreach ( $post_types as $post_type ) { + if ( $this->display_metabox( $post_type ) === false ) { + continue; + } + + add_filter( 'manage_' . $post_type . '_posts_columns', [ $this, 'column_heading' ], 10, 1 ); + add_action( 'manage_' . $post_type . '_posts_custom_column', [ $this, 'column_content' ], 10, 2 ); + add_action( 'manage_edit-' . $post_type . '_sortable_columns', [ $this, 'column_sort' ], 10, 2 ); + } + + unset( $post_type ); + } + + /** + * Wraps the WPSEO_Metabox check to determine whether the metabox should be displayed either by + * choice of the admin or because the post type is not a public post type. + * + * @since 7.0 + * + * @param string|null $post_type Optional. The post type to test, defaults to the current post post_type. + * + * @return bool Whether or not the meta box (and associated columns etc) should be hidden. + */ + private function display_metabox( $post_type = null ) { + $current_post_type = $this->get_current_post_type(); + + if ( ! isset( $post_type ) && ! empty( $current_post_type ) ) { + $post_type = $current_post_type; + } + + return WPSEO_Utils::is_metabox_active( $post_type, 'post_type' ); + } + + /** + * Determines whether or not filter dropdowns should be displayed. + * + * @return bool Whether or the current page can display the filter drop downs. + */ + public function can_display_filter() { + if ( $GLOBALS['pagenow'] === 'upload.php' ) { + return false; + } + + if ( $this->display_metabox() === false ) { + return false; + } + + $screen = get_current_screen(); + if ( $screen === null ) { + return false; + } + + return WPSEO_Post_Type::is_post_type_accessible( $screen->post_type ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-my-yoast-proxy.php b/wp/wp-content/plugins/wordpress-seo/admin/class-my-yoast-proxy.php new file mode 100644 index 00000000..53659c12 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-my-yoast-proxy.php @@ -0,0 +1,219 @@ +is_proxy_page() ) { + return; + } + + // Register the page for the proxy. + add_action( 'admin_menu', [ $this, 'add_proxy_page' ] ); + add_action( 'admin_init', [ $this, 'handle_proxy_page' ] ); + } + + /** + * Registers the proxy page. It does not actually add a link to the dashboard. + * + * @codeCoverageIgnore + * + * @return void + */ + public function add_proxy_page() { + add_dashboard_page( '', '', 'read', self::PAGE_IDENTIFIER, '' ); + } + + /** + * Renders the requested proxy page and exits to prevent the WordPress UI from loading. + * + * @codeCoverageIgnore + * + * @return void + */ + public function handle_proxy_page() { + $this->render_proxy_page(); + + // Prevent the WordPress UI from loading. + exit; + } + + /** + * Renders the requested proxy page. + * + * This is separated from the exits to be able to test it. + * + * @return void + */ + public function render_proxy_page() { + $proxy_options = $this->determine_proxy_options(); + if ( $proxy_options === [] ) { + // Do not accept any other file than implemented. + $this->set_header( 'HTTP/1.0 501 Requested file not implemented' ); + return; + } + + // Set the headers before serving the remote file. + $this->set_header( 'Content-Type: ' . $proxy_options['content_type'] ); + $this->set_header( 'Cache-Control: max-age=' . self::CACHE_CONTROL_MAX_AGE ); + + try { + echo $this->get_remote_url_body( $proxy_options['url'] ); + } + catch ( Exception $e ) { + /* + * Reset the file headers because the loading failed. + * + * Note: Due to supporting PHP 5.2 `header_remove` can not be used here. + * Overwrite the headers instead. + */ + $this->set_header( 'Content-Type: text/plain' ); + $this->set_header( 'Cache-Control: max-age=0' ); + + $this->set_header( 'HTTP/1.0 500 ' . $e->getMessage() ); + } + } + + /** + * Tries to load the given url via `wp_remote_get`. + * + * @codeCoverageIgnore + * + * @param string $url The url to load. + * + * @return string The body of the response. + * + * @throws Exception When `wp_remote_get` returned an error. + * @throws Exception When the response code is not 200. + */ + protected function get_remote_url_body( $url ) { + $response = wp_remote_get( $url ); + + if ( $response instanceof WP_Error ) { + throw new Exception( 'Unable to retrieve file from MyYoast' ); + } + + if ( wp_remote_retrieve_response_code( $response ) !== 200 ) { + throw new Exception( 'Received unexpected response from MyYoast' ); + } + + return wp_remote_retrieve_body( $response ); + } + + /** + * Determines the proxy options based on the file and plugin version arguments. + * + * When the file is known it returns an array like this: + * + * $array = array( + * 'content_type' => 'the content type' + * 'url' => 'the url, possibly with the plugin version' + * ) + * + * + * @return array Empty for an unknown file. See format above for known files. + */ + protected function determine_proxy_options() { + if ( $this->get_proxy_file() === 'research-webworker' ) { + return [ + 'content_type' => 'text/javascript; charset=UTF-8', + 'url' => 'https://my.yoast.com/api/downloads/file/analysis-worker?plugin_version=' . $this->get_plugin_version(), + ]; + } + + return []; + } + + /** + * Checks if the current page is the MyYoast proxy page. + * + * @codeCoverageIgnore + * + * @return bool True when the page request parameter equals the proxy page. + */ + protected function is_proxy_page() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $page = isset( $_GET['page'] ) && is_string( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : ''; + return $page === self::PAGE_IDENTIFIER; + } + + /** + * Returns the proxy file from the HTTP request parameters. + * + * @codeCoverageIgnore + * + * @return string The sanitized file request parameter or an empty string if it does not exist. + */ + protected function get_proxy_file() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['file'] ) && is_string( $_GET['file'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return sanitize_text_field( wp_unslash( $_GET['file'] ) ); + } + return ''; + } + + /** + * Returns the plugin version from the HTTP request parameters. + * + * @codeCoverageIgnore + * + * @return string The sanitized plugin_version request parameter or an empty string if it does not exist. + */ + protected function get_plugin_version() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['plugin_version'] ) && is_string( $_GET['plugin_version'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $plugin_version = sanitize_text_field( wp_unslash( $_GET['plugin_version'] ) ); + // Replace slashes to secure against requiring a file from another path. + return str_replace( [ '/', '\\' ], '_', $plugin_version ); + } + return ''; + } + + /** + * Sets the HTTP header. + * + * This is a tiny helper function to enable better testing. + * + * @codeCoverageIgnore + * + * @param string $header The header to set. + * + * @return void + */ + protected function set_header( $header ) { + header( $header ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-option-tab.php b/wp/wp-content/plugins/wordpress-seo/admin/class-option-tab.php new file mode 100644 index 00000000..4a231258 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-option-tab.php @@ -0,0 +1,112 @@ +name = sanitize_title( $name ); + $this->label = $label; + $this->arguments = $arguments; + } + + /** + * Gets the name. + * + * @return string The name. + */ + public function get_name() { + return $this->name; + } + + /** + * Gets the label. + * + * @return string The label. + */ + public function get_label() { + return $this->label; + } + + /** + * Retrieves whether the tab needs a save button. + * + * @return bool True whether the tabs needs a save button. + */ + public function has_save_button() { + return (bool) $this->get_argument( 'save_button', true ); + } + + /** + * Retrieves whether the tab hosts beta functionalities. + * + * @return bool True whether the tab hosts beta functionalities. + */ + public function is_beta() { + return (bool) $this->get_argument( 'beta', false ); + } + + /** + * Retrieves whether the tab hosts premium functionalities. + * + * @return bool True whether the tab hosts premium functionalities. + */ + public function is_premium() { + return (bool) $this->get_argument( 'premium', false ); + } + + /** + * Gets the option group. + * + * @return string The option group. + */ + public function get_opt_group() { + return $this->get_argument( 'opt_group' ); + } + + /** + * Retrieves the variable from the supplied arguments. + * + * @param string $variable Variable to retrieve. + * @param string|mixed $default_value Default to use when variable not found. + * + * @return mixed|string The retrieved variable. + */ + protected function get_argument( $variable, $default_value = '' ) { + return array_key_exists( $variable, $this->arguments ) ? $this->arguments[ $variable ] : $default_value; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-option-tabs-formatter.php b/wp/wp-content/plugins/wordpress-seo/admin/class-option-tabs-formatter.php new file mode 100644 index 00000000..5a54266f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-option-tabs-formatter.php @@ -0,0 +1,93 @@ +get_base() . '/' . $tab->get_name() . '.php'; + } + + /** + * Outputs the option tabs. + * + * @param WPSEO_Option_Tabs $option_tabs Option Tabs to get tabs from. + * + * @return void + */ + public function run( WPSEO_Option_Tabs $option_tabs ) { + + echo ''; + + foreach ( $option_tabs->get_tabs() as $tab ) { + $identifier = $tab->get_name(); + + $class = 'wpseotab ' . ( $tab->has_save_button() ? 'save' : 'nosave' ); + printf( '
    ', esc_attr( $identifier ), esc_attr( $class ) ); + + $tab_filter_name = sprintf( '%s_%s', $option_tabs->get_base(), $tab->get_name() ); + + /** + * Allows to override the content that is display on the specific option tab. + * + * @internal For internal Yoast SEO use only. + * + * @param string|null $tab_contents The content that should be displayed for this tab. Leave empty for default behaviour. + * @param WPSEO_Option_Tabs $option_tabs The registered option tabs. + * @param WPSEO_Option_Tab $tab The tab that is being displayed. + */ + $option_tab_content = apply_filters( 'wpseo_option_tab-' . $tab_filter_name, null, $option_tabs, $tab ); + if ( ! empty( $option_tab_content ) ) { + echo wp_kses_post( $option_tab_content ); + } + + if ( empty( $option_tab_content ) ) { + // Output the settings view for all tabs. + $tab_view = $this->get_tab_view( $option_tabs, $tab ); + + if ( is_file( $tab_view ) ) { + $yform = Yoast_Form::get_instance(); + require $tab_view; + } + } + + echo '
    '; + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-option-tabs.php b/wp/wp-content/plugins/wordpress-seo/admin/class-option-tabs.php new file mode 100644 index 00000000..fb0c4512 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-option-tabs.php @@ -0,0 +1,124 @@ +base = sanitize_title( $base ); + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $tab = isset( $_GET['tab'] ) && is_string( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : ''; + $this->active_tab = empty( $tab ) ? $active_tab : $tab; + } + + /** + * Get the base. + * + * @return string + */ + public function get_base() { + return $this->base; + } + + /** + * Add a tab. + * + * @param WPSEO_Option_Tab $tab Tab to add. + * + * @return $this + */ + public function add_tab( WPSEO_Option_Tab $tab ) { + $this->tabs[] = $tab; + + return $this; + } + + /** + * Get active tab. + * + * @return WPSEO_Option_Tab|null Get the active tab. + */ + public function get_active_tab() { + if ( empty( $this->active_tab ) ) { + return null; + } + + $active_tabs = array_filter( $this->tabs, [ $this, 'is_active_tab' ] ); + if ( ! empty( $active_tabs ) ) { + $active_tabs = array_values( $active_tabs ); + if ( count( $active_tabs ) === 1 ) { + return $active_tabs[0]; + } + } + + return null; + } + + /** + * Is the tab the active tab. + * + * @param WPSEO_Option_Tab $tab Tab to check for active tab. + * + * @return bool + */ + public function is_active_tab( WPSEO_Option_Tab $tab ) { + return ( $tab->get_name() === $this->active_tab ); + } + + /** + * Get all tabs. + * + * @return WPSEO_Option_Tab[] + */ + public function get_tabs() { + return $this->tabs; + } + + /** + * Display the tabs. + * + * @param Yoast_Form $yform Yoast Form needed in the views. + * + * @return void + */ + public function display( Yoast_Form $yform ) { + $formatter = new WPSEO_Option_Tabs_Formatter(); + $formatter->run( $this, $yform ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-paper-presenter.php b/wp/wp-content/plugins/wordpress-seo/admin/class-paper-presenter.php new file mode 100644 index 00000000..99550e4a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-paper-presenter.php @@ -0,0 +1,141 @@ + null, + 'paper_id_prefix' => 'wpseo-', + 'collapsible' => false, + 'collapsible_header_class' => '', + 'expanded' => false, + 'help_text' => '', + 'title_after' => '', + 'class' => '', + 'content' => '', + 'view_data' => [], + ]; + + $this->settings = wp_parse_args( $settings, $defaults ); + $this->title = $title; + $this->view_file = $view_file; + } + + /** + * Renders the collapsible paper and returns it as a string. + * + * @return string The rendered paper. + */ + public function get_output() { + $view_variables = $this->get_view_variables(); + + extract( $view_variables, EXTR_SKIP ); + + $content = $this->settings['content']; + + if ( $this->view_file !== null ) { + ob_start(); + require $this->view_file; + $content = ob_get_clean(); + } + + ob_start(); + require WPSEO_PATH . 'admin/views/paper-collapsible.php'; + $rendered_output = ob_get_clean(); + + return $rendered_output; + } + + /** + * Retrieves the view variables. + * + * @return array The view variables. + */ + private function get_view_variables() { + if ( $this->settings['help_text'] instanceof WPSEO_Admin_Help_Panel === false ) { + $this->settings['help_text'] = new WPSEO_Admin_Help_Panel( '', '', '' ); + } + + $view_variables = [ + 'class' => $this->settings['class'], + 'collapsible' => $this->settings['collapsible'], + 'collapsible_config' => $this->collapsible_config(), + 'collapsible_header_class' => $this->settings['collapsible_header_class'], + 'title_after' => $this->settings['title_after'], + 'help_text' => $this->settings['help_text'], + 'view_file' => $this->view_file, + 'title' => $this->title, + 'paper_id' => $this->settings['paper_id'], + 'paper_id_prefix' => $this->settings['paper_id_prefix'], + 'yform' => Yoast_Form::get_instance(), + ]; + + return array_merge( $this->settings['view_data'], $view_variables ); + } + + /** + * Retrieves the collapsible config based on the settings. + * + * @return array The config. + */ + protected function collapsible_config() { + if ( empty( $this->settings['collapsible'] ) ) { + return [ + 'toggle_icon' => '', + 'class' => '', + 'expanded' => '', + ]; + } + + if ( ! empty( $this->settings['expanded'] ) ) { + return [ + 'toggle_icon' => 'dashicons-arrow-up-alt2', + 'class' => 'toggleable-container', + 'expanded' => 'true', + ]; + } + + return [ + 'toggle_icon' => 'dashicons-arrow-down-alt2', + 'class' => 'toggleable-container toggleable-container-hidden', + 'expanded' => 'false', + ]; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-plugin-availability.php b/wp/wp-content/plugins/wordpress-seo/admin/class-plugin-availability.php new file mode 100644 index 00000000..9f8c5eb4 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-plugin-availability.php @@ -0,0 +1,355 @@ +register_yoast_plugins(); + $this->register_yoast_plugins_status(); + } + + /** + * Registers all the available Yoast SEO plugins. + * + * @return void + */ + protected function register_yoast_plugins() { + $this->plugins = [ + 'yoast-seo-premium' => [ + 'url' => WPSEO_Shortlinker::get( 'https://yoa.st/1y7' ), + 'title' => 'Yoast SEO Premium', + 'description' => sprintf( + /* translators: %1$s expands to Yoast SEO */ + __( 'The premium version of %1$s with more features & support.', 'wordpress-seo' ), + 'Yoast SEO' + ), + 'installed' => false, + 'slug' => 'wordpress-seo-premium/wp-seo-premium.php', + 'version_sync' => true, + 'premium' => true, + ], + + 'video-seo-for-wordpress-seo-by-yoast' => [ + 'url' => WPSEO_Shortlinker::get( 'https://yoa.st/1y8' ), + 'title' => 'Video SEO', + 'description' => __( 'Optimize your videos to show them off in search results and get more clicks!', 'wordpress-seo' ), + 'installed' => false, + 'slug' => 'wpseo-video/video-seo.php', + 'version_sync' => true, + 'premium' => true, + ], + + 'yoast-news-seo' => [ + 'url' => WPSEO_Shortlinker::get( 'https://yoa.st/1y9' ), + 'title' => 'News SEO', + 'description' => __( 'Are you in Google News? Increase your traffic from Google News by optimizing for it!', 'wordpress-seo' ), + 'installed' => false, + 'slug' => 'wpseo-news/wpseo-news.php', + 'version_sync' => true, + 'premium' => true, + ], + + 'local-seo-for-yoast-seo' => [ + 'url' => WPSEO_Shortlinker::get( 'https://yoa.st/1ya' ), + 'title' => 'Local SEO', + 'description' => __( 'Rank better locally and in Google Maps, without breaking a sweat!', 'wordpress-seo' ), + 'installed' => false, + 'slug' => 'wordpress-seo-local/local-seo.php', + 'version_sync' => true, + 'premium' => true, + ], + + 'yoast-woocommerce-seo' => [ + 'url' => WPSEO_Shortlinker::get( 'https://yoa.st/1o0' ), + 'title' => 'Yoast WooCommerce SEO', + 'description' => sprintf( + /* translators: %1$s expands to Yoast SEO */ + __( 'Seamlessly integrate WooCommerce with %1$s and get extra features!', 'wordpress-seo' ), + 'Yoast SEO' + ), + '_dependencies' => [ + 'WooCommerce' => [ + 'slug' => 'woocommerce/woocommerce.php', // Kept for backwards compatibility, in case external code uses get_dependencies(). Deprecated in 22.4. + 'conditional' => new WooCommerce_Conditional(), + ], + ], + 'installed' => false, + 'slug' => 'wpseo-woocommerce/wpseo-woocommerce.php', + 'version_sync' => true, + 'premium' => true, + ], + ]; + } + + /** + * Sets certain plugin properties based on WordPress' status. + * + * @return void + */ + protected function register_yoast_plugins_status() { + + foreach ( $this->plugins as $name => $plugin ) { + + $plugin_slug = $plugin['slug']; + $plugin_path = WP_PLUGIN_DIR . '/' . $plugin_slug; + + if ( file_exists( $plugin_path ) ) { + $plugin_data = get_plugin_data( $plugin_path, false, false ); + $this->plugins[ $name ]['installed'] = true; + $this->plugins[ $name ]['version'] = $plugin_data['Version']; + $this->plugins[ $name ]['active'] = is_plugin_active( $plugin_slug ); + } + } + } + + /** + * Checks if there are dependencies available for the plugin. + * + * @param array $plugin The information available about the plugin. + * + * @return bool Whether there is a dependency present. + */ + public function has_dependencies( $plugin ) { + return ( isset( $plugin['_dependencies'] ) && ! empty( $plugin['_dependencies'] ) ); + } + + /** + * Gets the dependencies for the plugin. + * + * @param array $plugin The information available about the plugin. + * + * @return array Array containing all the dependencies associated with the plugin. + */ + public function get_dependencies( $plugin ) { + if ( ! $this->has_dependencies( $plugin ) ) { + return []; + } + + return $plugin['_dependencies']; + } + + /** + * Checks if all dependencies are satisfied. + * + * @param array $plugin The information available about the plugin. + * + * @return bool Whether or not the dependencies are satisfied. + */ + public function dependencies_are_satisfied( $plugin ) { + if ( ! $this->has_dependencies( $plugin ) ) { + return true; + } + + $dependencies = $this->get_dependencies( $plugin ); + $active_dependencies = array_filter( $dependencies, [ $this, 'is_dependency_active' ] ); + + return count( $active_dependencies ) === count( $dependencies ); + } + + /** + * Checks whether or not one of the plugins is properly installed and usable. + * + * @param array $plugin The information available about the plugin. + * + * @return bool Whether or not the plugin is properly installed. + */ + public function is_installed( $plugin ) { + if ( empty( $plugin ) ) { + return false; + } + + return $this->is_available( $plugin ); + } + + /** + * Checks for the availability of the plugin. + * + * @param array $plugin The information available about the plugin. + * + * @return bool Whether or not the plugin is available. + */ + public function is_available( $plugin ) { + return isset( $plugin['installed'] ) && $plugin['installed'] === true; + } + + /** + * Checks whether a dependency is active. + * + * @param array $dependency The information about the dependency to look for. + * + * @return bool Whether or not the dependency is active. + */ + public function is_dependency_active( $dependency ) { + return $dependency['conditional']->is_met(); + } + + /** + * Gets an array of plugins that have defined dependencies. + * + * @return array Array of the plugins that have dependencies. + */ + public function get_plugins_with_dependencies() { + return array_filter( $this->plugins, [ $this, 'has_dependencies' ] ); + } + + /** + * Determines whether or not a plugin is active. + * + * @param string $plugin The plugin slug to check. + * + * @return bool Whether or not the plugin is active. + * + * @deprecated 23.4 + * @codeCoverageIgnore + */ + public function is_active( $plugin ) { + _deprecated_function( __METHOD__, 'Yoast SEO 23.4', 'is_plugin_active' ); + + return is_plugin_active( $plugin ); + } + + /** + * Gets all the possibly available plugins. + * + * @return array Array containing the information about the plugins. + * + * @deprecated 23.4 + * @codeCoverageIgnore + */ + public function get_plugins() { + _deprecated_function( __METHOD__, 'Yoast SEO 23.4', 'WPSEO_Addon_Manager::get_addon_filenames' ); + + return $this->plugins; + } + + /** + * Gets a specific plugin. Returns an empty array if it cannot be found. + * + * @param string $plugin The plugin to search for. + * + * @return array The plugin properties. + * + * @deprecated 23.4 + * @codeCoverageIgnore + */ + public function get_plugin( $plugin ) { // @phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found, VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- needed for BC reasons + _deprecated_function( __METHOD__, 'Yoast SEO 23.4', 'WPSEO_Addon_Manager::get_plugin_file' ); + if ( ! isset( $this->plugins[ $plugin ] ) ) { + return []; + } + + return $this->plugins[ $plugin ]; + } + + /** + * Gets the version of the plugin. + * + * @param array $plugin The information available about the plugin. + * + * @return string The version associated with the plugin. + * + * @deprecated 23.4 + * @codeCoverageIgnore + */ + public function get_version( $plugin ) { // @phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found, VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- needed for BC reasons + _deprecated_function( __METHOD__, 'Yoast SEO 23.4', 'WPSEO_Addon_Manager::get_installed_addons_versions' ); + if ( ! isset( $plugin['version'] ) ) { + return ''; + } + + return $plugin['version']; + } + + /** + * Checks whether a dependency is available. + * + * @param array $dependency The information about the dependency to look for. + * + * @return bool Whether or not the dependency is available. + * @deprecated 22.4 + * @codeCoverageIgnore + */ + public function is_dependency_available( $dependency ) { + _deprecated_function( __METHOD__, 'Yoast SEO 22.4' ); + + return isset( get_plugins()[ $dependency['slug'] ] ); + } + + /** + * Gets the names of the dependencies. + * + * @param array $plugin The plugin to get the dependency names from. + * + * @return array Array containing the names of the associated dependencies. + * @deprecated 23.4 + * @codeCoverageIgnore + */ + public function get_dependency_names( $plugin ) { // @phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found, VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- needed for BC reasons + _deprecated_function( __METHOD__, 'Yoast SEO 23.4' ); + if ( ! $this->has_dependencies( $plugin ) ) { + return []; + } + + return array_keys( $plugin['_dependencies'] ); + } + + /** + * Determines whether or not a plugin is a Premium product. + * + * @param array $plugin The plugin to check. + * + * @return bool Whether or not the plugin is a Premium product. + * + * @deprecated 23.4 + * @codeCoverageIgnore + */ + public function is_premium( $plugin ) { + _deprecated_function( __METHOD__, 'Yoast SEO 23.4' ); + + return isset( $plugin['premium'] ) && $plugin['premium'] === true; + } + + /** + * Gets all installed plugins. + * + * @return array The installed plugins. + * + * @deprecated 23.4 + * @codeCoverageIgnore + */ + public function get_installed_plugins() { + + _deprecated_function( __METHOD__, 'Yoast SEO 23.4', 'WPSEO_Addon_Manager::get_installed_addons_versions' ); + $installed = []; + + foreach ( $this->plugins as $plugin_key => $plugin ) { + if ( $this->is_installed( $plugin ) ) { + $installed[ $plugin_key ] = $plugin; + } + } + + return $installed; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-plugin-conflict.php b/wp/wp-content/plugins/wordpress-seo/admin/class-plugin-conflict.php new file mode 100644 index 00000000..a90e8acd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-plugin-conflict.php @@ -0,0 +1,94 @@ +> + */ + protected $plugins = [ + // The plugin which are writing OG metadata. + 'open_graph' => Conflicting_Plugins::OPEN_GRAPH_PLUGINS, + 'xml_sitemaps' => Conflicting_Plugins::XML_SITEMAPS_PLUGINS, + 'cloaking' => Conflicting_Plugins::CLOAKING_PLUGINS, + 'seo' => Conflicting_Plugins::SEO_PLUGINS, + ]; + + /** + * Overrides instance to set with this class as class. + * + * @param string $class_name Optional class name. + * + * @return Yoast_Plugin_Conflict + */ + public static function get_instance( $class_name = self::class ) { + return parent::get_instance( $class_name ); + } + + /** + * After activating any plugin, this method will be executed by a hook. + * + * If the activated plugin is conflicting with ours a notice will be shown. + * + * @param string|bool $plugin Optional plugin basename to check. + * + * @return void + */ + public static function hook_check_for_plugin_conflicts( $plugin = false ) { + // The instance of the plugin. + $instance = self::get_instance(); + + // Only add the plugin as an active plugin if $plugin isn't false. + if ( $plugin && is_string( $plugin ) ) { + $instance->add_active_plugin( $instance->find_plugin_category( $plugin ), $plugin ); + } + + $plugin_sections = []; + + // Only check for open graph problems when they are enabled. + if ( WPSEO_Options::get( 'opengraph' ) ) { + /* translators: %1$s expands to Yoast SEO, %2$s: 'Facebook' plugin name of possibly conflicting plugin with regard to creating OpenGraph output. */ + $plugin_sections['open_graph'] = __( 'Both %1$s and %2$s create Open Graph output, which might make Facebook, X, LinkedIn and other social networks use the wrong texts and images when your pages are being shared.', 'wordpress-seo' ) + . '

    ' + . '' + /* translators: %1$s expands to Yoast SEO. */ + . sprintf( __( 'Configure %1$s\'s Open Graph settings', 'wordpress-seo' ), 'Yoast SEO' ) + . ''; + } + + // Only check for XML conflicts if sitemaps are enabled. + if ( WPSEO_Options::get( 'enable_xml_sitemap' ) ) { + /* translators: %1$s expands to Yoast SEO, %2$s: 'Google XML Sitemaps' plugin name of possibly conflicting plugin with regard to the creation of sitemaps. */ + $plugin_sections['xml_sitemaps'] = __( 'Both %1$s and %2$s can create XML sitemaps. Having two XML sitemaps is not beneficial for search engines and might slow down your site.', 'wordpress-seo' ) + . '

    ' + . '' + /* translators: %1$s expands to Yoast SEO. */ + . sprintf( __( 'Toggle %1$s\'s XML Sitemap', 'wordpress-seo' ), 'Yoast SEO' ) + . ''; + } + + /* translators: %2$s expands to 'RS Head Cleaner' plugin name of possibly conflicting plugin with regard to differentiating output between search engines and normal users. */ + $plugin_sections['cloaking'] = __( 'The plugin %2$s changes your site\'s output and in doing that differentiates between search engines and normal users, a process that\'s called cloaking. We highly recommend that you disable it.', 'wordpress-seo' ); + + /* translators: %1$s expands to Yoast SEO, %2$s: 'SEO' plugin name of possibly conflicting plugin with regard to the creation of duplicate SEO meta. */ + $plugin_sections['seo'] = __( 'Both %1$s and %2$s manage the SEO of your site. Running two SEO plugins at the same time is detrimental.', 'wordpress-seo' ); + + $instance->check_plugin_conflicts( $plugin_sections ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-premium-popup.php b/wp/wp-content/plugins/wordpress-seo/admin/class-premium-popup.php new file mode 100644 index 00000000..00887694 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-premium-popup.php @@ -0,0 +1,105 @@ +identifier = $identifier; + $this->heading_level = $heading_level; + $this->title = $title; + $this->content = $content; + $this->url = $url; + } + + /** + * Returns the premium popup as an HTML string. + * + * @param bool $popup Show this message as a popup show it straight away. + * + * @return string + */ + public function get_premium_message( $popup = true ) { + // Don't show in Premium. + if ( defined( 'WPSEO_PREMIUM_FILE' ) ) { + return ''; + } + + $assets_uri = trailingslashit( plugin_dir_url( WPSEO_FILE ) ); + + /* translators: %s expands to Yoast SEO Premium */ + $cta_text = esc_html( sprintf( __( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' ) ); + /* translators: Hidden accessibility text. */ + $new_tab_message = '' . esc_html__( '(Opens in a new browser tab)', 'wordpress-seo' ) . ''; + $caret_icon = ''; + $classes = ''; + if ( $popup ) { + $classes = ' hidden'; + } + $micro_copy = __( '1 year free support and updates included!', 'wordpress-seo' ); + + $popup = << + Yoast SEO + <{$this->heading_level} id="wpseo-contact-support-popup-title" class="wpseo-premium-popup-title">{$this->title}heading_level}> + {$this->content} + + {$cta_text} {$new_tab_message} {$caret_icon} +
    + {$micro_copy} + +EO_POPUP; + + return $popup; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-premium-upsell-admin-block.php b/wp/wp-content/plugins/wordpress-seo/admin/class-premium-upsell-admin-block.php new file mode 100644 index 00000000..143d08be --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-premium-upsell-admin-block.php @@ -0,0 +1,165 @@ +hook = $hook; + } + + /** + * Registers WordPress hooks. + * + * @return void + */ + public function register_hooks() { + add_action( $this->hook, [ $this, 'render' ] ); + } + + /** + * Renders the upsell block. + * + * @return void + */ + public function render() { + $url = WPSEO_Shortlinker::get( 'https://yoa.st/17h' ); + + $arguments = [ + sprintf( + /* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ + esc_html__( '%1$sAI%2$s: Better SEO titles and meta descriptions, faster.', 'wordpress-seo' ), + '', + '' + ), + sprintf( + /* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ + esc_html__( '%1$sMultiple keywords%2$s: Rank higher for more searches.', 'wordpress-seo' ), + '', + '' + ), + sprintf( + /* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ + esc_html__( '%1$sSuper fast%2$s internal linking suggestions.', 'wordpress-seo' ), + '', + '' + ), + sprintf( + /* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ + esc_html__( '%1$sNo more broken links%2$s: Automatic redirect manager.', 'wordpress-seo' ), + '', + '' + ), + sprintf( + /* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ + esc_html__( '%1$sAppealing social previews%2$s people actually want to click on.', 'wordpress-seo' ), + '', + '' + ), + sprintf( + /* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ + esc_html__( '%1$s24/7 support%2$s: Also on evenings and weekends.', 'wordpress-seo' ), + '', + '' + ), + '' . esc_html__( 'No ads!', 'wordpress-seo' ) . '', + ]; + + $arguments_html = implode( '', array_map( [ $this, 'get_argument_html' ], $arguments ) ); + + $class = $this->get_html_class(); + + /* translators: %s expands to Yoast SEO Premium */ + $button_text = YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-2023-promotion' ) ? esc_html__( 'Claim your 30% off now!', 'wordpress-seo' ) : sprintf( esc_html__( 'Explore %s now!', 'wordpress-seo' ), 'Yoast SEO Premium' ); + /* translators: Hidden accessibility text. */ + $button_text .= '' . esc_html__( '(Opens in a new browser tab)', 'wordpress-seo' ) . '' + . ''; + + $upgrade_button = sprintf( + '%3$s', + esc_attr( 'wpseo-' . $this->identifier . '-popup-button' ), + esc_url( $url ), + $button_text + ); + + echo '
    '; + + if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-2023-promotion' ) ) { + $bf_label = esc_html__( 'BLACK FRIDAY', 'wordpress-seo' ); + $sale_label = esc_html__( '30% OFF', 'wordpress-seo' ); + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Already escaped above. + echo "
    $bf_label $sale_label
    "; + } + + echo '
    '; + echo '

    ' + . sprintf( + /* translators: %s expands to Yoast SEO Premium */ + esc_html__( 'Upgrade to %s', 'wordpress-seo' ), + 'Yoast SEO Premium' + ) + . '

    '; + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Correctly escaped in $this->get_argument_html() method. + echo '
      ' . $arguments_html . '
    '; + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Correctly escaped in $upgrade_button and $button_text above. + echo '

    ' . $upgrade_button . '

    '; + echo '
    '; + + echo '
    '; + } + + /** + * Formats the argument to a HTML list item. + * + * @param string $argument The argument to format. + * + * @return string Formatted argument in HTML. + */ + protected function get_argument_html( $argument ) { + $class = $this->get_html_class(); + + return sprintf( + '
  • %2$s
  • ', + esc_attr( $class . '--argument' ), + $argument + ); + } + + /** + * Returns the HTML base class to use. + * + * @return string The HTML base class. + */ + protected function get_html_class() { + return 'yoast_' . $this->identifier; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-primary-term-admin.php b/wp/wp-content/plugins/wordpress-seo/admin/class-primary-term-admin.php new file mode 100644 index 00000000..85c0c888 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-primary-term-admin.php @@ -0,0 +1,274 @@ +get_primary_term_taxonomies(); + + foreach ( $taxonomies as $taxonomy ) { + $content .= $this->primary_term_field( $taxonomy->name ); + $content .= wp_nonce_field( 'save-primary-term', WPSEO_Meta::$form_prefix . 'primary_' . $taxonomy->name . '_nonce', false, false ); + } + return $content; + } + + /** + * Generates the HTML for a hidden field for a primary taxonomy. + * + * @param string $taxonomy_name The taxonomy's slug. + * + * @return string The HTML for a hidden primary taxonomy field. + */ + protected function primary_term_field( $taxonomy_name ) { + return sprintf( + '', + esc_attr( $this->generate_field_id( $taxonomy_name ) ), + esc_attr( $this->generate_field_name( $taxonomy_name ) ), + esc_attr( $this->get_primary_term( $taxonomy_name ) ) + ); + } + + /** + * Generates an id for a primary taxonomy's hidden field. + * + * @param string $taxonomy_name The taxonomy's slug. + * + * @return string The field id. + */ + protected function generate_field_id( $taxonomy_name ) { + return 'yoast-wpseo-primary-' . $taxonomy_name; + } + + /** + * Generates a name for a primary taxonomy's hidden field. + * + * @param string $taxonomy_name The taxonomy's slug. + * + * @return string The field id. + */ + protected function generate_field_name( $taxonomy_name ) { + return WPSEO_Meta::$form_prefix . 'primary_' . $taxonomy_name . '_term'; + } + + /** + * Adds primary term templates. + * + * @return void + */ + public function wp_footer() { + $taxonomies = $this->get_primary_term_taxonomies(); + + if ( ! empty( $taxonomies ) ) { + $this->include_js_templates(); + } + } + + /** + * Enqueues all the assets needed for the primary term interface. + * + * @return void + */ + public function enqueue_assets() { + global $pagenow; + + if ( ! WPSEO_Metabox::is_post_edit( $pagenow ) ) { + return; + } + + $taxonomies = $this->get_primary_term_taxonomies(); + + // Only enqueue if there are taxonomies that need a primary term. + if ( empty( $taxonomies ) ) { + return; + } + + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_style( 'primary-category' ); + + $mapped_taxonomies = $this->get_mapped_taxonomies_for_js( $taxonomies ); + + $data = [ + 'taxonomies' => $mapped_taxonomies, + ]; + + $asset_manager->localize_script( 'post-edit', 'wpseoPrimaryCategoryL10n', $data ); + $asset_manager->localize_script( 'post-edit-classic', 'wpseoPrimaryCategoryL10n', $data ); + } + + /** + * Gets the id of the primary term. + * + * @param string $taxonomy_name Taxonomy name for the term. + * + * @return int primary term id + */ + protected function get_primary_term( $taxonomy_name ) { + $primary_term = new WPSEO_Primary_Term( $taxonomy_name, $this->get_current_id() ); + + return $primary_term->get_primary_term(); + } + + /** + * Returns all the taxonomies for which the primary term selection is enabled. + * + * @param int|null $post_id Default current post ID. + * @return array + */ + protected function get_primary_term_taxonomies( $post_id = null ) { + if ( $post_id === null ) { + $post_id = $this->get_current_id(); + } + + $taxonomies = wp_cache_get( 'primary_term_taxonomies_' . $post_id, 'wpseo' ); + if ( $taxonomies !== false ) { + return $taxonomies; + } + + $taxonomies = $this->generate_primary_term_taxonomies( $post_id ); + + wp_cache_set( 'primary_term_taxonomies_' . $post_id, $taxonomies, 'wpseo' ); + + return $taxonomies; + } + + /** + * Includes templates file. + * + * @return void + */ + protected function include_js_templates() { + include_once WPSEO_PATH . 'admin/views/js-templates-primary-term.php'; + } + + /** + * Generates the primary term taxonomies. + * + * @param int $post_id ID of the post. + * + * @return array + */ + protected function generate_primary_term_taxonomies( $post_id ) { + $post_type = get_post_type( $post_id ); + $all_taxonomies = get_object_taxonomies( $post_type, 'objects' ); + $all_taxonomies = array_filter( $all_taxonomies, [ $this, 'filter_hierarchical_taxonomies' ] ); + + /** + * Filters which taxonomies for which the user can choose the primary term. + * + * @param array $taxonomies An array of taxonomy objects that are primary_term enabled. + * @param string $post_type The post type for which to filter the taxonomies. + * @param array $all_taxonomies All taxonomies for this post types, even ones that don't have primary term + * enabled. + */ + $taxonomies = (array) apply_filters( 'wpseo_primary_term_taxonomies', $all_taxonomies, $post_type, $all_taxonomies ); + + return $taxonomies; + } + + /** + * Creates a map of taxonomies for localization. + * + * @param array $taxonomies The taxononmies that should be mapped. + * + * @return array The mapped taxonomies. + */ + protected function get_mapped_taxonomies_for_js( $taxonomies ) { + return array_map( [ $this, 'map_taxonomies_for_js' ], $taxonomies ); + } + + /** + * Returns an array suitable for use in the javascript. + * + * @param stdClass $taxonomy The taxonomy to map. + * + * @return array The mapped taxonomy. + */ + private function map_taxonomies_for_js( $taxonomy ) { + $primary_term = $this->get_primary_term( $taxonomy->name ); + + if ( empty( $primary_term ) ) { + $primary_term = ''; + } + + $terms = get_terms( + [ + 'taxonomy' => $taxonomy->name, + 'update_term_meta_cache' => false, + 'fields' => 'id=>name', + ] + ); + + $mapped_terms_for_js = []; + foreach ( $terms as $id => $name ) { + $mapped_terms_for_js[] = [ + 'id' => $id, + 'name' => $name, + ]; + } + + return [ + 'title' => $taxonomy->labels->singular_name, + 'name' => $taxonomy->name, + 'primary' => $primary_term, + 'singularLabel' => $taxonomy->labels->singular_name, + 'fieldId' => $this->generate_field_id( $taxonomy->name ), + 'restBase' => ( $taxonomy->rest_base ) ? $taxonomy->rest_base : $taxonomy->name, + 'terms' => $mapped_terms_for_js, + ]; + } + + /** + * Returns whether or not a taxonomy is hierarchical. + * + * @param stdClass $taxonomy Taxonomy object. + * + * @return bool + */ + private function filter_hierarchical_taxonomies( $taxonomy ) { + return (bool) $taxonomy->hierarchical; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-product-upsell-notice.php b/wp/wp-content/plugins/wordpress-seo/admin/class-product-upsell-notice.php new file mode 100644 index 00000000..e5149c17 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-product-upsell-notice.php @@ -0,0 +1,231 @@ +options = $this->get_options(); + } + + /** + * Checks if the notice should be added or removed. + * + * @return void + */ + public function initialize() { + $this->remove_notification(); + } + + /** + * Sets the upgrade notice. + * + * @return void + */ + public function set_upgrade_notice() { + + if ( $this->has_first_activated_on() ) { + return; + } + + $this->set_first_activated_on(); + $this->add_notification(); + } + + /** + * Listener for the upsell notice. + * + * @return void + */ + public function dismiss_notice_listener() { + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are validating a nonce here. + if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'dismiss-5star-upsell' ) ) { + return; + } + + $dismiss_upsell = isset( $_GET['yoast_dismiss'] ) && is_string( $_GET['yoast_dismiss'] ) ? sanitize_text_field( wp_unslash( $_GET['yoast_dismiss'] ) ) : ''; + + if ( $dismiss_upsell !== 'upsell' ) { + return; + } + + $this->dismiss_notice(); + + if ( wp_safe_redirect( admin_url( 'admin.php?page=wpseo_dashboard' ) ) ) { + exit; + } + } + + /** + * When the notice should be shown. + * + * @return bool + */ + protected function should_add_notification() { + return ( $this->options['first_activated_on'] < strtotime( '-2weeks' ) ); + } + + /** + * Checks if the options has a first activated on date value. + * + * @return bool + */ + protected function has_first_activated_on() { + return $this->options['first_activated_on'] !== false; + } + + /** + * Sets the first activated on. + * + * @return void + */ + protected function set_first_activated_on() { + $this->options['first_activated_on'] = strtotime( '-2weeks' ); + + $this->save_options(); + } + + /** + * Adds a notification to the notification center. + * + * @return void + */ + protected function add_notification() { + $notification_center = Yoast_Notification_Center::get(); + $notification_center->add_notification( $this->get_notification() ); + } + + /** + * Removes a notification to the notification center. + * + * @return void + */ + protected function remove_notification() { + $notification_center = Yoast_Notification_Center::get(); + $notification_center->remove_notification( $this->get_notification() ); + } + + /** + * Returns a premium upsell section if using the free plugin. + * + * @return string + */ + protected function get_premium_upsell_section() { + if ( ! YoastSEO()->helpers->product->is_premium() ) { + return sprintf( + /* translators: %1$s expands anchor to premium plugin page, %2$s expands to */ + __( 'By the way, did you know we also have a %1$sPremium plugin%2$s? It offers advanced features, like a redirect manager and support for multiple keyphrases. It also comes with 24/7 personal support.', 'wordpress-seo' ), + "", + '' + ); + } + + return ''; + } + + /** + * Gets the notification value. + * + * @return Yoast_Notification + */ + protected function get_notification() { + $message = sprintf( + /* translators: %1$s expands to Yoast SEO, %2$s is a link start tag to the plugin page on WordPress.org, %3$s is the link closing tag. */ + __( 'We\'ve noticed you\'ve been using %1$s for some time now; we hope you love it! We\'d be thrilled if you could %2$sgive us a 5 stars rating on WordPress.org%3$s!', 'wordpress-seo' ), + 'Yoast SEO', + '', + '' + ) . "\n\n"; + + $message .= sprintf( + /* translators: %1$s is a link start tag to the bugreport guidelines on the Yoast help center, %2$s is the link closing tag. */ + __( 'If you are experiencing issues, %1$splease file a bug report%2$s and we\'ll do our best to help you out.', 'wordpress-seo' ), + '', + '' + ) . "\n\n"; + + $message .= $this->get_premium_upsell_section() . "\n\n"; + + $message .= '' . __( 'Please don\'t show me this notification anymore', 'wordpress-seo' ) . ''; + + $notification = new Yoast_Notification( + $message, + [ + 'type' => Yoast_Notification::WARNING, + 'id' => 'wpseo-upsell-notice', + 'capabilities' => 'wpseo_manage_options', + 'priority' => 0.8, + ] + ); + + return $notification; + } + + /** + * Dismisses the notice. + * + * @return bool + */ + protected function is_notice_dismissed() { + return get_user_meta( get_current_user_id(), self::USER_META_DISMISSED, true ) === '1'; + } + + /** + * Dismisses the notice. + * + * @return void + */ + protected function dismiss_notice() { + update_user_meta( get_current_user_id(), self::USER_META_DISMISSED, true ); + } + + /** + * Returns the set options. + * + * @return mixed + */ + protected function get_options() { + return get_option( self::OPTION_NAME ); + } + + /** + * Saves the options to the database. + * + * @return void + */ + protected function save_options() { + update_option( self::OPTION_NAME, $this->options ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-remote-request.php b/wp/wp-content/plugins/wordpress-seo/admin/class-remote-request.php new file mode 100644 index 00000000..e54757a7 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-remote-request.php @@ -0,0 +1,158 @@ + false, + 'timeout' => 2, + ]; + + /** + * Holds the response error. + * + * @var WP_Error|null + */ + protected $response_error; + + /** + * Holds the response body. + * + * @var mixed + */ + protected $response_body; + + /** + * Sets the endpoint and arguments. + * + * @param string $endpoint The endpoint to send the request to. + * @param array $args The arguments to use in this request. + */ + public function __construct( $endpoint, array $args = [] ) { + $this->endpoint = $endpoint; + $this->args = wp_parse_args( $this->args, $args ); + } + + /** + * Sets the request body. + * + * @param mixed $body The body to set. + * + * @return void + */ + public function set_body( $body ) { + $this->args['body'] = $body; + } + + /** + * Sends the data to the given endpoint. + * + * @param string $method The type of request to send. + * + * @return bool True when sending data has been successful. + */ + public function send( $method = self::METHOD_POST ) { + switch ( $method ) { + case self::METHOD_POST: + $response = $this->post(); + break; + case self::METHOD_GET: + $response = $this->get(); + break; + default: + /* translators: %1$s expands to the request method */ + $response = new WP_Error( 1, sprintf( __( 'Request method %1$s is not valid.', 'wordpress-seo' ), $method ) ); + break; + } + + return $this->process_response( $response ); + } + + /** + * Returns the value of the response error. + * + * @return WP_Error|null The response error. + */ + public function get_response_error() { + return $this->response_error; + } + + /** + * Returns the response body. + * + * @return mixed The response body. + */ + public function get_response_body() { + return $this->response_body; + } + + /** + * Processes the given response. + * + * @param mixed $response The response to process. + * + * @return bool True when response is valid. + */ + protected function process_response( $response ) { + if ( $response instanceof WP_Error ) { + $this->response_error = $response; + + return false; + } + + $this->response_body = wp_remote_retrieve_body( $response ); + + return ( wp_remote_retrieve_response_code( $response ) === 200 ); + } + + /** + * Performs a post request to the specified endpoint with set arguments. + * + * @return WP_Error|array The response or WP_Error on failure. + */ + protected function post() { + return wp_remote_post( $this->endpoint, $this->args ); + } + + /** + * Performs a post request to the specified endpoint with set arguments. + * + * @return WP_Error|array The response or WP_Error on failure. + */ + protected function get() { + return wp_remote_get( $this->endpoint, $this->args ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-schema-person-upgrade-notification.php b/wp/wp-content/plugins/wordpress-seo/admin/class-schema-person-upgrade-notification.php new file mode 100644 index 00000000..c2332c4e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-schema-person-upgrade-notification.php @@ -0,0 +1,83 @@ +add_notification(); + return; + } + + $this->remove_notification(); + } + + /** + * Adds a notification to the notification center. + * + * @return void + */ + protected function add_notification() { + $notification_center = Yoast_Notification_Center::get(); + $notification_center->add_notification( $this->get_notification() ); + } + + /** + * Removes a notification to the notification center. + * + * @return void + */ + protected function remove_notification() { + $notification_center = Yoast_Notification_Center::get(); + $notification_center->remove_notification( $this->get_notification() ); + } + + /** + * Gets the notification object. + * + * @return Yoast_Notification + */ + protected function get_notification() { + $message = sprintf( + /* translators: %1$s is a link start tag to the Search Appearance settings, %2$s is the link closing tag. */ + __( 'You have previously set your site to represent a person. We’ve improved our functionality around Schema and the Knowledge Graph, so you should go in and %1$scomplete those settings%2$s.', 'wordpress-seo' ), + '', + '' + ); + + $notification = new Yoast_Notification( + $message, + [ + 'type' => Yoast_Notification::WARNING, + 'id' => 'wpseo-schema-person-upgrade', + 'capabilities' => 'wpseo_manage_options', + 'priority' => 0.8, + ] + ); + + return $notification; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-suggested-plugins.php b/wp/wp-content/plugins/wordpress-seo/admin/class-suggested-plugins.php new file mode 100644 index 00000000..2d937be1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-suggested-plugins.php @@ -0,0 +1,140 @@ +availability_checker = $availability_checker; + $this->notification_center = $notification_center; + } + + /** + * Registers all hooks to WordPress. + * + * @return void + */ + public function register_hooks() { + add_action( 'admin_init', [ $this->availability_checker, 'register' ] ); + add_action( 'admin_init', [ $this, 'add_notifications' ] ); + } + + /** + * Adds notifications (when necessary). + * + * @return void + */ + public function add_notifications() { + $checker = $this->availability_checker; + + // Get all Yoast plugins that have dependencies. + $plugins = $checker->get_plugins_with_dependencies(); + + foreach ( $plugins as $plugin_name => $plugin ) { + $notification_id = 'wpseo-suggested-plugin-' . $plugin_name; + + if ( ! $checker->dependencies_are_satisfied( $plugin ) ) { + $this->notification_center->remove_notification_by_id( $notification_id ); + + continue; + } + + if ( ! $checker->is_installed( $plugin ) ) { + $notification = $this->get_yoast_seo_suggested_plugins_notification( $notification_id, $plugin ); + $this->notification_center->add_notification( $notification ); + + continue; + } + + $this->notification_center->remove_notification_by_id( $notification_id ); + } + } + + /** + * Build Yoast SEO suggested plugins notification. + * + * @param string $notification_id The id of the notification to be created. + * @param array> $plugin The plugin to retrieve the data from. + * + * @return Yoast_Notification The notification containing the suggested plugin. + */ + protected function get_yoast_seo_suggested_plugins_notification( $notification_id, $plugin ) { + $message = $this->create_install_suggested_plugin_message( $plugin ); + + return new Yoast_Notification( + $message, + [ + 'id' => $notification_id, + 'type' => Yoast_Notification::WARNING, + 'capabilities' => [ 'install_plugins' ], + ] + ); + } + + /** + * Creates a message to suggest the installation of a particular plugin. + * + * @param array $suggested_plugin The suggested plugin. + * + * @return string The install suggested plugin message. + */ + protected function create_install_suggested_plugin_message( $suggested_plugin ) { + /* translators: %1$s expands to an opening strong tag, %2$s expands to the dependency name, %3$s expands to a closing strong tag, %4$s expands to an opening anchor tag, %5$s expands to a closing anchor tag. */ + $message = __( 'It looks like you aren\'t using our %1$s%2$s addon%3$s. %4$sUpgrade today%5$s to unlock more tools and SEO features to make your products stand out in search results.', 'wordpress-seo' ); + $install_link = WPSEO_Admin_Utils::get_install_link( $suggested_plugin ); + + return sprintf( + $message, + '', + $install_link, + '', + $this->create_more_information_link( $suggested_plugin['url'], $suggested_plugin['title'] ), + '' + ); + } + + /** + * Creates a more information link that directs the user to WordPress.org Plugin repository. + * + * @param string $url The URL to the plugin's page. + * @param string $name The name of the plugin. + * + * @return string The more information link. + */ + protected function create_more_information_link( $url, $name ) { + return sprintf( + '', + $url, + /* translators: Hidden accessibility text; %1$s expands to the dependency name */ + sprintf( __( 'More information about %1$s', 'wordpress-seo' ), $name ) + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-wincher-dashboard-widget.php b/wp/wp-content/plugins/wordpress-seo/admin/class-wincher-dashboard-widget.php new file mode 100644 index 00000000..5f9c793b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-wincher-dashboard-widget.php @@ -0,0 +1,136 @@ +asset_manager = new WPSEO_Admin_Asset_Manager(); + } + + /** + * Register WordPress hooks. + * + * @return void + */ + public function register_hooks() { + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_wincher_dashboard_assets' ] ); + add_action( 'admin_init', [ $this, 'queue_wincher_dashboard_widget' ] ); + } + + /** + * Adds the Wincher dashboard widget if it should be shown. + * + * @return void + */ + public function queue_wincher_dashboard_widget() { + if ( $this->show_widget() ) { + add_action( 'wp_dashboard_setup', [ $this, 'add_wincher_dashboard_widget' ] ); + } + } + + /** + * Adds the Wincher dashboard widget to WordPress. + * + * @return void + */ + public function add_wincher_dashboard_widget() { + add_filter( 'postbox_classes_dashboard_wpseo-wincher-dashboard-overview', [ $this, 'wpseo_wincher_dashboard_overview_class' ] ); + wp_add_dashboard_widget( + 'wpseo-wincher-dashboard-overview', + /* translators: %1$s expands to Yoast SEO, %2$s to Wincher */ + sprintf( __( '%1$s / %2$s: Top Keyphrases', 'wordpress-seo' ), 'Yoast SEO', 'Wincher' ), + [ $this, 'display_wincher_dashboard_widget' ] + ); + } + + /** + * Adds CSS classes to the dashboard widget. + * + * @param array $classes An array of postbox CSS classes. + * + * @return array + */ + public function wpseo_wincher_dashboard_overview_class( $classes ) { + $classes[] = 'yoast wpseo-wincherdashboard-overview'; + return $classes; + } + + /** + * Displays the Wincher dashboard widget. + * + * @return void + */ + public function display_wincher_dashboard_widget() { + echo '
    '; + } + + /** + * Enqueues assets for the dashboard if the current page is the dashboard. + * + * @return void + */ + public function enqueue_wincher_dashboard_assets() { + if ( ! $this->is_dashboard_screen() ) { + return; + } + + $this->asset_manager->localize_script( 'wincher-dashboard-widget', 'wpseoWincherDashboardWidgetL10n', $this->localize_wincher_dashboard_script() ); + $this->asset_manager->enqueue_script( 'wincher-dashboard-widget' ); + $this->asset_manager->enqueue_style( 'wp-dashboard' ); + $this->asset_manager->enqueue_style( 'monorepo' ); + } + + /** + * Translates strings used in the Wincher dashboard widget. + * + * @return array The translated strings. + */ + public function localize_wincher_dashboard_script() { + + return [ + 'wincher_is_logged_in' => YoastSEO()->helpers->wincher->login_status(), + 'wincher_website_id' => WPSEO_Options::get( 'wincher_website_id', '' ), + ]; + } + + /** + * Checks if the current screen is the dashboard screen. + * + * @return bool Whether or not this is the dashboard screen. + */ + private function is_dashboard_screen() { + $current_screen = get_current_screen(); + + return ( $current_screen instanceof WP_Screen && $current_screen->id === 'dashboard' ); + } + + /** + * Returns true when the Wincher dashboard widget should be shown. + * + * @return bool + */ + private function show_widget() { + $analysis_seo = new WPSEO_Metabox_Analysis_SEO(); + $user_can_edit = $analysis_seo->is_enabled() && current_user_can( 'edit_posts' ); + $is_wincher_active = YoastSEO()->helpers->wincher->is_active(); + + return $user_can_edit && $is_wincher_active; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-columns.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-columns.php new file mode 100644 index 00000000..989f87b8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-columns.php @@ -0,0 +1,117 @@ +display_links(); + $meta_columns_present = $this->display_meta_columns(); + if ( ! ( $link_columns_present || $meta_columns_present ) ) { + return; + } + + $help_tab_content = sprintf( + /* translators: %1$s: Yoast SEO */ + __( '%1$s adds several columns to this page.', 'wordpress-seo' ), + 'Yoast SEO' + ); + + if ( $meta_columns_present ) { + $help_tab_content .= ' ' . sprintf( + /* translators: %1$s: Link to article about content analysis, %2$s: Anchor closing */ + __( 'We\'ve written an article about %1$show to use the SEO score and Readability score%2$s.', 'wordpress-seo' ), + '
    ', + '' + ); + } + + if ( $link_columns_present ) { + $help_tab_content .= ' ' . sprintf( + /* translators: %1$s: Link to article about text links, %2$s: Anchor closing tag, %3$s: Emphasis open tag, %4$s: Emphasis close tag */ + __( 'The links columns show the number of articles on this site linking %3$sto%4$s this article and the number of URLs linked %3$sfrom%4$s this article. Learn more about %1$show to use these features to improve your internal linking%2$s, which greatly enhances your SEO.', 'wordpress-seo' ), + '', + '', + '', + '' + ); + } + + $screen = get_current_screen(); + $screen->add_help_tab( + [ + /* translators: %s expands to Yoast */ + 'title' => sprintf( __( '%s Columns', 'wordpress-seo' ), 'Yoast' ), + 'id' => 'yst-columns', + 'content' => '

    ' . $help_tab_content . '

    ', + 'priority' => 15, + ] + ); + } + + /** + * Retrieves the post type from the $_GET variable. + * + * @return string The current post type. + */ + private function get_current_post_type() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['post_type'] ) && is_string( $_GET['post_type'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return sanitize_text_field( wp_unslash( $_GET['post_type'] ) ); + } + return ''; + } + + /** + * Whether we are showing link columns on this overview page. + * This depends on the post being accessible or not. + * + * @return bool Whether the linking columns are shown + */ + private function display_links() { + $current_post_type = $this->get_current_post_type(); + + if ( empty( $current_post_type ) ) { + return false; + } + + return WPSEO_Post_Type::is_post_type_accessible( $current_post_type ); + } + + /** + * Wraps the WPSEO_Metabox check to determine whether the metabox should be displayed either by + * choice of the admin or because the post type is not a public post type. + * + * @return bool Whether the meta box (and associated columns etc) should be hidden. + */ + private function display_meta_columns() { + $current_post_type = $this->get_current_post_type(); + + if ( empty( $current_post_type ) ) { + return false; + } + + return WPSEO_Utils::is_metabox_active( $current_post_type, 'post_type' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-dashboard-widget.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-dashboard-widget.php new file mode 100644 index 00000000..7b07fd99 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-dashboard-widget.php @@ -0,0 +1,160 @@ +statistics = $statistics; + $this->asset_manager = new WPSEO_Admin_Asset_Manager(); + } + + /** + * Register WordPress hooks. + * + * @return void + */ + public function register_hooks() { + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_dashboard_assets' ] ); + add_action( 'admin_init', [ $this, 'queue_dashboard_widget' ] ); + } + + /** + * Adds the dashboard widget if it should be shown. + * + * @return void + */ + public function queue_dashboard_widget() { + if ( $this->show_widget() ) { + add_action( 'wp_dashboard_setup', [ $this, 'add_dashboard_widget' ] ); + } + } + + /** + * Adds dashboard widget to WordPress. + * + * @return void + */ + public function add_dashboard_widget() { + add_filter( 'postbox_classes_dashboard_wpseo-dashboard-overview', [ $this, 'wpseo_dashboard_overview_class' ] ); + wp_add_dashboard_widget( + 'wpseo-dashboard-overview', + /* translators: %s is the plugin name */ + sprintf( __( '%s Posts Overview', 'wordpress-seo' ), 'Yoast SEO' ), + [ $this, 'display_dashboard_widget' ] + ); + } + + /** + * Adds CSS classes to the dashboard widget. + * + * @param array $classes An array of postbox CSS classes. + * + * @return array + */ + public function wpseo_dashboard_overview_class( $classes ) { + $classes[] = 'yoast wpseo-dashboard-overview'; + return $classes; + } + + /** + * Displays the dashboard widget. + * + * @return void + */ + public function display_dashboard_widget() { + echo '
    '; + } + + /** + * Enqueues assets for the dashboard if the current page is the dashboard. + * + * @return void + */ + public function enqueue_dashboard_assets() { + if ( ! $this->is_dashboard_screen() ) { + return; + } + + $this->asset_manager->localize_script( 'dashboard-widget', 'wpseoDashboardWidgetL10n', $this->localize_dashboard_script() ); + $this->asset_manager->enqueue_script( 'dashboard-widget' ); + $this->asset_manager->enqueue_style( 'wp-dashboard' ); + $this->asset_manager->enqueue_style( 'monorepo' ); + } + + /** + * Translates strings used in the dashboard widget. + * + * @return array The translated strings. + */ + public function localize_dashboard_script() { + return [ + 'feed_header' => sprintf( + /* translators: %1$s resolves to Yoast.com */ + __( 'Latest blog posts on %1$s', 'wordpress-seo' ), + 'Yoast.com' + ), + 'feed_footer' => __( 'Read more like this on our SEO blog', 'wordpress-seo' ), + 'wp_version' => substr( $GLOBALS['wp_version'], 0, 3 ) . '-' . ( is_plugin_active( 'classic-editor/classic-editor.php' ) ? '1' : '0' ), + 'php_version' => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION, + ]; + } + + /** + * Checks if the current screen is the dashboard screen. + * + * @return bool Whether or not this is the dashboard screen. + */ + private function is_dashboard_screen() { + $current_screen = get_current_screen(); + + return ( $current_screen instanceof WP_Screen && $current_screen->id === 'dashboard' ); + } + + /** + * Returns true when the dashboard widget should be shown. + * + * @return bool + */ + private function show_widget() { + $analysis_seo = new WPSEO_Metabox_Analysis_SEO(); + + return $analysis_seo->is_enabled() && current_user_can( 'edit_posts' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-form.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-form.php new file mode 100644 index 00000000..3694ef56 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-form.php @@ -0,0 +1,1116 @@ + +
    + +

    +
    +
    +
    + meets_requirements() ) { + $action_url = network_admin_url( 'settings.php' ); + $hidden_fields_cb = [ $network_admin, 'settings_fields' ]; + } + else { + $action_url = admin_url( 'options.php' ); + $hidden_fields_cb = 'settings_fields'; + } + + echo '
    '; + call_user_func( $hidden_fields_cb, $option_long_name ); + } + $this->set_option( $option ); + } + + /** + * Set the option used in output for form elements. + * + * @since 2.0 + * + * @param string $option_name Option key. + * + * @return void + */ + public function set_option( $option_name ) { + $this->option_name = $option_name; + + $this->option_instance = WPSEO_Options::get_option_instance( $option_name ); + if ( ! $this->option_instance ) { + $this->option_instance = null; + } + } + + /** + * Generates the footer for admin pages. + * + * @since 2.0 + * + * @param bool $submit Whether or not a submit button and form end tag should be shown. + * @param bool $show_sidebar Whether or not to show the banner sidebar - used by premium plugins to disable it. + * + * @return void + */ + public function admin_footer( $submit = true, $show_sidebar = true ) { + if ( $submit ) { + $settings_changed_listener = new WPSEO_Admin_Settings_Changed_Listener(); + echo '
    '; + + echo '
    '; + submit_button( __( 'Save changes', 'wordpress-seo' ) ); + $settings_changed_listener->show_success_message(); + echo '
    '; + + echo ''; + + echo '
    '; + + echo ' +
    '; + } + + /** + * Apply general admin_footer hooks. + */ + do_action( 'wpseo_admin_footer', $this ); + + /** + * Run possibly set actions to add for example an i18n box. + */ + do_action( 'wpseo_admin_promo_footer' ); + + echo ' +
    '; + + if ( $show_sidebar ) { + $this->admin_sidebar(); + } + + echo '
    '; + + do_action( 'wpseo_admin_below_content', $this ); + + echo ' +
    '; + } + + /** + * Generates the sidebar for admin pages. + * + * @since 2.0 + * + * @return void + */ + public function admin_sidebar() { + // No banners in Premium. + $addon_manager = new WPSEO_Addon_Manager(); + if ( YoastSEO()->helpers->product->is_premium() && $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ) ) { + return; + } + + $sidebar_presenter = new Sidebar_Presenter(); + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in presenter. + echo $sidebar_presenter->present(); + } + + /** + * Output a label element. + * + * @since 2.0 + * + * @param string $text Label text string, which can contain escaped html. + * @param array $attr HTML attributes set. + * + * @return void + */ + public function label( $text, $attr ) { + $defaults = [ + 'class' => 'checkbox', + 'close' => true, + 'for' => '', + 'aria_label' => '', + ]; + + $attr = wp_parse_args( $attr, $defaults ); + $aria_label = ''; + if ( $attr['aria_label'] !== '' ) { + $aria_label = ' aria-label="' . esc_attr( $attr['aria_label'] ) . '"'; + } + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. Specifically, the $text variable can contain escaped html. + echo "'; + } + } + + /** + * Output a legend element. + * + * @since 3.4 + * + * @param string $text Legend text string. + * @param array $attr HTML attributes set. + * + * @return void + */ + public function legend( $text, $attr ) { + $defaults = [ + 'id' => '', + 'class' => '', + ]; + $attr = wp_parse_args( $attr, $defaults ); + + $id = ( $attr['id'] === '' ) ? '' : ' id="' . esc_attr( $attr['id'] ) . '"'; + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. + echo '' . $text . ''; + } + + /** + * Create a Checkbox input field. + * + * @since 2.0 + * + * @param string $variable The variable within the option to create the checkbox for. + * @param string $label The label to show for the variable. + * @param bool $label_left Whether the label should be left (true) or right (false). + * @param array $attr Extra attributes to add to the checkbox. + * + * @return void + */ + public function checkbox( $variable, $label, $label_left = false, $attr = [] ) { + $val = $this->get_field_value( $variable, false ); + + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + if ( $val === true ) { + $val = 'on'; + } + + $class = ''; + if ( $label_left !== false ) { + $this->label( $label_left, [ 'for' => $variable ] ); + } + else { + $class = 'double'; + } + + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded and all other output is properly escaped. + echo ''; + + if ( ! empty( $label ) ) { + $this->label( $label, [ 'for' => $variable ] ); + } + + echo '
    '; + } + + /** + * Creates a Checkbox input field list. + * + * @since 12.8 + * + * @param string $variable The variables within the option to create the checkbox list for. + * @param string $labels The labels to show for the variable. + * @param array $attr Extra attributes to add to the checkbox list. + * + * @return void + */ + public function checkbox_list( $variable, $labels, $attr = [] ) { + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + $values = $this->get_field_value( $variable, [] ); + + foreach ( $labels as $name => $label ) { + printf( + '', + esc_attr( $variable . '-' . $name ), + esc_attr( $this->option_name . '[' . $variable . '][' . $name . ']' ), + checked( ! empty( $values[ $name ] ), true, false ), + esc_attr( $name ), + disabled( ( isset( $attr['disabled'] ) && $attr['disabled'] ), true, false ) + ); + + printf( + '', + esc_attr( $variable . '-' . $name ), // #1 + esc_html( $label ) + ); + echo '
    '; + } + } + + /** + * Create a light switch input field using a single checkbox. + * + * @since 3.1 + * + * @param string $variable The variable within the option to create the checkbox for. + * @param string $label The visual label text for the toggle. + * @param array $buttons Array of two visual labels for the buttons (defaults Disabled/Enabled). + * @param bool $reverse Reverse order of buttons (default true). + * @param string $help Inline Help that will be printed out before the toggle. + * @param bool $strong Whether the visual label is displayed in strong text. Default is false. + * Starting from Yoast SEO 16.5, the visual label is forced to bold via CSS. + * @param array $attr Extra attributes to add to the light switch. + * + * @return void + */ + public function light_switch( $variable, $label, $buttons = [], $reverse = true, $help = '', $strong = false, $attr = [] ) { + $val = $this->get_field_value( $variable, false ); + + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + if ( $val === true ) { + $val = 'on'; + } + + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + $output = new Light_Switch_Presenter( + $variable, + $label, + $buttons, + $this->option_name . '[' . $variable . ']', + $val, + $reverse, + $help, + $strong, + $disabled_attribute + ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: All output is properly escaped or hardcoded in the presenter. + echo $output; + } + + /** + * Create a Text input field. + * + * @since 2.0 + * @since 2.1 Introduced the `$attr` parameter. + * + * @param string $variable The variable within the option to create the text input field for. + * @param string $label The label to show for the variable. + * @param array|string $attr Extra attributes to add to the input field. Can be class, disabled, autocomplete. + * + * @return void + */ + public function textinput( $variable, $label, $attr = [] ) { + $type = 'text'; + if ( ! is_array( $attr ) ) { + $attr = [ + 'class' => $attr, + 'disabled' => false, + ]; + } + + $defaults = [ + 'placeholder' => '', + 'class' => '', + ]; + $attr = wp_parse_args( $attr, $defaults ); + $val = $this->get_field_value( $variable, '' ); + if ( isset( $attr['type'] ) && $attr['type'] === 'url' ) { + $val = urldecode( $val ); + $type = 'url'; + } + $attributes = isset( $attr['autocomplete'] ) ? ' autocomplete="' . esc_attr( $attr['autocomplete'] ) . '"' : ''; + + $this->label( + $label, + [ + 'for' => $variable, + 'class' => 'textinput', + ] + ); + + $aria_attributes = Yoast_Input_Validation::get_the_aria_invalid_attribute( $variable ); + + $aria_attributes .= Yoast_Input_Validation::get_the_aria_describedby_attribute( $variable ); + + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded and all other output is properly escaped. + echo '', '
    '; + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in getter. + echo Yoast_Input_Validation::get_the_error_description( $variable ); + } + + /** + * Create a Number input field. + * + * @param string $variable The variable within the option to create the text input field for. + * @param string $label The label to show for the variable. + * @param array|string $attr Extra attributes to add to the input field. Can be class, disabled, autocomplete. + * + * @return void + */ + public function number( $variable, $label, $attr = [] ) { + $type = 'number'; + $defaults = [ + 'placeholder' => '', + 'class' => 'number', + 'disabled' => false, + 'min' => 0, + 'max' => 100, + ]; + $attr = wp_parse_args( $attr, $defaults ); + $val = $this->get_field_value( $variable, 0 ); + + $this->label( + $label, + [ + 'for' => $variable, + 'class' => 'textinput ' . $attr['class'], + ] + ); + + $aria_attributes = Yoast_Input_Validation::get_the_aria_invalid_attribute( $variable ); + $aria_attributes .= Yoast_Input_Validation::get_the_aria_describedby_attribute( $variable ); + + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded and all other output is properly escaped. + echo '', '
    '; + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in getter. + echo Yoast_Input_Validation::get_the_error_description( $variable ); + } + + /** + * Creates a text input field with with the ability to add content after the label. + * + * @param string $variable The variable within the option to create the text input field for. + * @param string $label The label to show for the variable. + * @param array $attr Extra attributes to add to the input field. + * + * @return void + */ + public function textinput_extra_content( $variable, $label, $attr = [] ) { + $type = 'text'; + + $defaults = [ + 'class' => 'yoast-field-group__inputfield', + 'disabled' => false, + ]; + + $attr = wp_parse_args( $attr, $defaults ); + $val = $this->get_field_value( $variable, '' ); + + if ( isset( $attr['type'] ) && $attr['type'] === 'url' ) { + $val = urldecode( $val ); + $type = 'url'; + } + + echo '
    '; + $this->label( + $label, + [ + 'for' => $variable, + 'class' => $attr['class'] . '--label', + ] + ); + + if ( isset( $attr['extra_content'] ) ) { + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: may contain HTML that should not be escaped. + echo $attr['extra_content']; + } + echo '
    '; + + $aria_attributes = Yoast_Input_Validation::get_the_aria_invalid_attribute( $variable ); + $aria_attributes .= Yoast_Input_Validation::get_the_aria_describedby_attribute( $variable ); + + // phpcs:disable WordPress.Security.EscapeOutput -- Reason: output is properly escaped or hardcoded. + printf( + '', + $type, + esc_attr( $this->option_name . '[' . $variable . ']' ), + esc_attr( $variable ), + esc_attr( $attr['class'] ), + isset( $attr['placeholder'] ) ? ' placeholder="' . esc_attr( $attr['placeholder'] ) . '"' : '', + isset( $attr['autocomplete'] ) ? ' autocomplete="' . esc_attr( $attr['autocomplete'] ) . '"' : '', + $aria_attributes, + esc_attr( $val ), + $this->get_disabled_attribute( $variable, $attr ) + ); + // phpcs:enable + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: output is properly escaped. + echo Yoast_Input_Validation::get_the_error_description( $variable ); + } + + /** + * Create a textarea. + * + * @since 2.0 + * + * @param string $variable The variable within the option to create the textarea for. + * @param string $label The label to show for the variable. + * @param string|array $attr The CSS class or an array of attributes to assign to the textarea. + * + * @return void + */ + public function textarea( $variable, $label, $attr = [] ) { + if ( ! is_array( $attr ) ) { + $attr = [ + 'class' => $attr, + ]; + } + + $defaults = [ + 'cols' => '', + 'rows' => '', + 'class' => '', + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + $val = $this->get_field_value( $variable, '' ); + + $this->label( + $label, + [ + 'for' => $variable, + 'class' => 'textinput', + ] + ); + + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded and all other output is properly escaped. + echo '
    '; + } + + /** + * Create a hidden input field. + * + * @since 2.0 + * + * @param string $variable The variable within the option to create the hidden input for. + * @param string $id The ID of the element. + * @param mixed $val Optional. The value to set in the input field. Otherwise the value from the options will be used. + * + * @return void + */ + public function hidden( $variable, $id = '', $val = null ) { + if ( is_null( $val ) ) { + $val = $this->get_field_value( $variable, '' ); + } + + if ( is_bool( $val ) ) { + $val = ( $val === true ) ? 'true' : 'false'; + } + + if ( $id === '' ) { + $id = 'hidden_' . $variable; + } + + echo ''; + } + + /** + * Create a Select Box. + * + * @since 2.0 + * + * @param string $variable The variable within the option to create the select for. + * @param string $label The label to show for the variable. + * @param array $select_options The select options to choose from. + * @param string $styled The select style. Use 'styled' to get a styled select. Default 'unstyled'. + * @param bool $show_label Whether or not to show the label, if not, it will be applied as an aria-label. + * @param array $attr Extra attributes to add to the select. + * @param string $help Optional. Inline Help HTML that will be printed after the label. Default is empty. + * + * @return void + */ + public function select( $variable, $label, array $select_options, $styled = 'unstyled', $show_label = true, $attr = [], $help = '' ) { + if ( empty( $select_options ) ) { + return; + } + + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + if ( $show_label ) { + $this->label( + $label, + [ + 'for' => $variable, + 'class' => 'select', + ] + ); + echo $help; // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: The help contains HTML. + } + + $select_name = esc_attr( $this->option_name ) . '[' . esc_attr( $variable ) . ']'; + $active_option = $this->get_field_value( $variable, '' ); + $wrapper_start_tag = ''; + $wrapper_end_tag = ''; + + $select = new Yoast_Input_Select( $variable, $select_name, $select_options, $active_option ); + $select->add_attribute( 'class', 'select' ); + + if ( $this->is_control_disabled( $variable ) + || ( isset( $attr['disabled'] ) && $attr['disabled'] ) ) { + $select->add_attribute( 'disabled', 'disabled' ); + } + + if ( ! $show_label ) { + $select->add_attribute( 'aria-label', $label ); + } + + if ( $styled === 'styled' ) { + $wrapper_start_tag = ''; + $wrapper_end_tag = ''; + } + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. + echo $wrapper_start_tag; + $select->output_html(); + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. + echo $wrapper_end_tag; + echo '
    '; + } + + /** + * Create a File upload field. + * + * @since 2.0 + * + * @param string $variable The variable within the option to create the file upload field for. + * @param string $label The label to show for the variable. + * @param array $attr Extra attributes to add to the file upload input. + * + * @return void + */ + public function file_upload( $variable, $label, $attr = [] ) { + $val = $this->get_field_value( $variable, '' ); + if ( is_array( $val ) ) { + $val = $val['url']; + } + + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + $var_esc = esc_attr( $variable ); + $this->label( + $label, + [ + 'for' => $variable, + 'class' => 'select', + ] + ); + + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded and all other output is properly escaped. + echo ''; + + // Need to save separate array items in hidden inputs, because empty file inputs type will be deleted by settings API. + if ( ! empty( $val ) ) { + $this->hidden( 'file', $this->option_name . '_file' ); + $this->hidden( 'url', $this->option_name . '_url' ); + $this->hidden( 'type', $this->option_name . '_type' ); + } + echo '
    '; + } + + /** + * Media input. + * + * @since 2.0 + * + * @param string $variable Option name. + * @param string $label Label message. + * @param array $attr Extra attributes to add to the media input and buttons. + * + * @return void + */ + public function media_input( $variable, $label, $attr = [] ) { + $val = $this->get_field_value( $variable, '' ); + $id_value = $this->get_field_value( $variable . '_id', '' ); + + $var_esc = esc_attr( $variable ); + + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + $this->label( + $label, + [ + 'for' => 'wpseo_' . $variable, + 'class' => 'select', + ] + ); + + $id_field_id = 'wpseo_' . $var_esc . '_id'; + + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + echo ''; + echo ' '; + echo ' '; + echo ''; + echo ''; + echo ''; + echo '
    '; + } + + /** + * Create a Radio input field. + * + * @since 2.0 + * + * @param string $variable The variable within the option to create the radio button for. + * @param array $values The radio options to choose from. + * @param string $legend Optional. The legend to show for the field set, if any. + * @param array $legend_attr Optional. The attributes for the legend, if any. + * @param array $attr Extra attributes to add to the radio button. + * + * @return void + */ + public function radio( $variable, $values, $legend = '', $legend_attr = [], $attr = [] ) { + if ( ! is_array( $values ) || $values === [] ) { + return; + } + $val = $this->get_field_value( $variable, false ); + + $var_esc = esc_attr( $variable ); + + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. + echo '
    '; + + if ( is_string( $legend ) && $legend !== '' ) { + + $legend_defaults = [ + 'id' => '', + 'class' => 'radiogroup', + ]; + + $legend_attr = wp_parse_args( $legend_attr, $legend_defaults ); + + $this->legend( $legend, $legend_attr ); + } + + foreach ( $values as $key => $value ) { + $label = $value; + $aria_label = ''; + + if ( is_array( $value ) ) { + $label = ( $value['label'] ?? '' ); + $aria_label = ( $value['aria_label'] ?? '' ); + } + + $key_esc = esc_attr( $key ); + + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded and all other output is properly escaped. + echo ''; + $this->label( + $label, + [ + 'for' => $var_esc . '-' . $key_esc, + 'class' => 'radio', + 'aria_label' => $aria_label, + ] + ); + } + echo '
    '; + } + + /** + * Create a toggle switch input field using two radio buttons. + * + * @since 3.1 + * + * @param string $variable The variable within the option to create the radio buttons for. + * @param array $values Associative array of on/off keys and their values to be used as + * the label elements text for the radio buttons. Optionally, each + * value can be an array of visible label text and screen reader text. + * @param string $label The visual label for the radio buttons group, used as the fieldset legend. + * @param string $help Inline Help that will be printed out before the visible toggles text. + * @param array $attr Extra attributes to add to the toggle switch. + * + * @return void + */ + public function toggle_switch( $variable, $values, $label, $help = '', $attr = [] ) { + if ( ! is_array( $values ) || $values === [] ) { + return; + } + + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + if ( isset( $attr['preserve_disabled_value'] ) && $attr['preserve_disabled_value'] ) { + $this->hidden( $variable ); + $variable .= '_disabled'; + } + + $val = $this->get_field_value( $variable, false ); + if ( $val === true ) { + $val = 'on'; + } + if ( $val === false ) { + $val = 'off'; + } + + $help_class = ! empty( $help ) ? ' switch-container__has-help' : ''; + + $has_premium_upsell = ( isset( $attr['show_premium_upsell'] ) && $attr['show_premium_upsell'] && isset( $attr['premium_upsell_url'] ) && ! empty( $attr['premium_upsell_url'] ) ); + $upsell_class = ( $has_premium_upsell ) ? ' premium-upsell' : ''; + + $var_esc = esc_attr( $variable ); + + printf( '
    ', esc_attr( 'switch-container' . $help_class . $upsell_class ) ); + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. + echo '
    ', $label, '', $help; + + // Show disabled note if attribute does not exists or does exist and is set to true. + if ( ! isset( $attr['show_disabled_note'] ) || ( $attr['show_disabled_note'] === true ) ) { + if ( isset( $attr['note_when_disabled'] ) ) { + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. + echo $this->get_disabled_note( $variable, $attr['note_when_disabled'] ); + } + else { + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. + echo $this->get_disabled_note( $variable ); + } + } + + echo '
    '; + + foreach ( $values as $key => $value ) { + $screen_reader_text_html = ''; + + if ( is_array( $value ) ) { + $screen_reader_text = $value['screen_reader_text']; + $screen_reader_text_html = ' ' . esc_html( $screen_reader_text ) . ''; + $value = $value['text']; + } + + $key_esc = esc_attr( $key ); + $for = $var_esc . '-' . $key_esc; + $disabled_attribute = $this->get_disabled_attribute( $variable, $attr ); + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: $disabled_attribute output is hardcoded and all other output is properly escaped. + echo '', + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output escaped before. + ''; + } + + $upsell_button = ''; + if ( $has_premium_upsell ) { + $upsell_button = '' + . esc_html__( 'Unlock with Premium!', 'wordpress-seo' ) + /* translators: Hidden accessibility text. */ + . '' . esc_html__( '(Opens in a new browser tab)', 'wordpress-seo' ) . '' + . ''; + } + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- All variable output is escaped above. + echo '
    ' . $upsell_button . '
    ' . PHP_EOL . PHP_EOL; + } + + /** + * Creates a toggle switch to define whether an indexable should be indexed or not. + * + * @param string $variable The variable within the option to create the radio buttons for. + * @param string $label The visual label for the radio buttons group, used as the fieldset legend. + * @param string $help Inline Help that will be printed out before the visible toggles text. + * @param array $attr Extra attributes to add to the index switch. + * + * @return void + */ + public function index_switch( $variable, $label, $help = '', $attr = [] ) { + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + $index_switch_values = [ + 'off' => __( 'On', 'wordpress-seo' ), + 'on' => __( 'Off', 'wordpress-seo' ), + ]; + + $is_disabled = ( isset( $attr['disabled'] ) && $attr['disabled'] ); + + $this->toggle_switch( + $variable, + $index_switch_values, + sprintf( + /* translators: %s expands to an indexable object's name, like a post type or taxonomy */ + esc_html__( 'Show %s in search results?', 'wordpress-seo' ), + $label + ), + $help, + [ 'disabled' => $is_disabled ] + ); + } + + /** + * Creates a toggle switch to show hide certain options. + * + * @param string $variable The variable within the option to create the radio buttons for. + * @param string $label The visual label for the radio buttons group, used as the fieldset legend. + * @param bool $inverse_keys Whether or not the option keys need to be inverted to support older functions. + * @param string $help Inline Help that will be printed out before the visible toggles text. + * @param array $attr Extra attributes to add to the show-hide switch. + * + * @return void + */ + public function show_hide_switch( $variable, $label, $inverse_keys = false, $help = '', $attr = [] ) { + $defaults = [ + 'disabled' => false, + ]; + $attr = wp_parse_args( $attr, $defaults ); + + $on_key = ( $inverse_keys ) ? 'off' : 'on'; + $off_key = ( $inverse_keys ) ? 'on' : 'off'; + + $show_hide_switch = [ + $on_key => __( 'On', 'wordpress-seo' ), + $off_key => __( 'Off', 'wordpress-seo' ), + ]; + + $is_disabled = ( isset( $attr['disabled'] ) && $attr['disabled'] ); + + $this->toggle_switch( + $variable, + $show_hide_switch, + $label, + $help, + [ 'disabled' => $is_disabled ] + ); + } + + /** + * Retrieves the value for the form field. + * + * @param string $field_name The field name to retrieve the value for. + * @param string|null $default_value The default value, when field has no value. + * + * @return mixed|null The retrieved value. + */ + protected function get_field_value( $field_name, $default_value = null ) { + // On multisite subsites, the Usage tracking feature should always be set to Off. + if ( $this->is_tracking_on_subsite( $field_name ) ) { + return false; + } + + return WPSEO_Options::get( $field_name, $default_value ); + } + + /** + * Checks whether a given control should be disabled. + * + * @param string $variable The variable within the option to check whether its control should be disabled. + * + * @return bool True if control should be disabled, false otherwise. + */ + protected function is_control_disabled( $variable ) { + if ( $this->option_instance === null ) { + return false; + } + + // Disable the Usage tracking feature for multisite subsites. + if ( $this->is_tracking_on_subsite( $variable ) ) { + return true; + } + + return $this->option_instance->is_disabled( $variable ); + } + + /** + * Gets the explanation note to print if a given control is disabled. + * + * @param string $variable The variable within the option to print a disabled note for. + * @param string $custom_note An optional custom note to print instead. + * + * @return string Explanation note HTML string, or empty string if no note necessary. + */ + protected function get_disabled_note( $variable, $custom_note = '' ) { + if ( $custom_note === '' && ! $this->is_control_disabled( $variable ) ) { + return ''; + } + $disabled_message = esc_html__( 'This feature has been disabled by the network admin.', 'wordpress-seo' ); + + // The explanation to show when disabling the Usage tracking feature for multisite subsites. + if ( $this->is_tracking_on_subsite( $variable ) ) { + $disabled_message = esc_html__( 'This feature has been disabled since subsites never send tracking data.', 'wordpress-seo' ); + } + + if ( $custom_note ) { + $disabled_message = esc_html( $custom_note ); + } + + return '

    ' . $disabled_message . '

    '; + } + + /** + * Determines whether we are dealing with the Usage tracking feature on a multisite subsite. + * This feature requires specific behavior for the toggle switch. + * + * @param string $feature_setting The feature setting. + * + * @return bool True if we are dealing with the Usage tracking feature on a multisite subsite. + */ + protected function is_tracking_on_subsite( $feature_setting ) { + return ( $feature_setting === 'tracking' && ! is_network_admin() && ! is_main_site() ); + } + + /** + * Returns the disabled attribute HTML. + * + * @param string $variable The variable within the option of the related form element. + * @param array $attr Extra attributes added to the form element. + * + * @return string The disabled attribute HTML. + */ + protected function get_disabled_attribute( $variable, $attr ) { + if ( $this->is_control_disabled( $variable ) || ( isset( $attr['disabled'] ) && $attr['disabled'] ) ) { + return ' disabled'; + } + + return ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-input-validation.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-input-validation.php new file mode 100644 index 00000000..b034ae40 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-input-validation.php @@ -0,0 +1,256 @@ + + */ + private static $error_descriptions = []; + + /** + * Check whether an option group is a Yoast SEO setting. + * + * The normal pattern is 'yoast' . $option_name . 'options'. + * + * @since 12.0 + * + * @param string $group_name The option group name. + * + * @return bool Whether or not it's an Yoast SEO option group. + */ + public static function is_yoast_option_group_name( $group_name ) { + return ( strpos( $group_name, 'yoast' ) !== false ); + } + + /** + * Adds an error message to the document title when submitting a settings + * form and errors are returned. + * + * Uses the WordPress `admin_title` filter in the WPSEO_Option subclasses. + * + * @since 12.0 + * + * @param string $admin_title The page title, with extra context added. + * + * @return string The modified or original admin title. + */ + public static function add_yoast_admin_document_title_errors( $admin_title ) { + $errors = get_settings_errors(); + $error_count = 0; + + foreach ( $errors as $error ) { + // For now, filter the admin title only in the Yoast SEO settings pages. + if ( self::is_yoast_option_group_name( $error['setting'] ) && $error['code'] !== 'settings_updated' ) { + ++$error_count; + } + } + + if ( $error_count > 0 ) { + return sprintf( + /* translators: %1$s: amount of errors, %2$s: the admin page title */ + _n( 'The form contains %1$s error. %2$s', 'The form contains %1$s errors. %2$s', $error_count, 'wordpress-seo' ), + number_format_i18n( $error_count ), + $admin_title + ); + } + + return $admin_title; + } + + /** + * Checks whether a specific form input field was submitted with an invalid value. + * + * @since 12.1 + * + * @param string $error_code Must be the same slug-name used for the field variable and for `add_settings_error()`. + * + * @return bool Whether or not the submitted input field contained an invalid value. + */ + public static function yoast_form_control_has_error( $error_code ) { + $errors = get_settings_errors(); + + foreach ( $errors as $error ) { + if ( $error['code'] === $error_code ) { + return true; + } + } + + return false; + } + + /** + * Sets the error descriptions. + * + * @since 12.1 + * + * @param array $descriptions An associative array of error descriptions. + * For each entry, the key must be the setting variable. + * + * @return void + * + * @deprecated 23.3 + * @codeCoverageIgnore + */ + public static function set_error_descriptions( $descriptions = [] ) { // @phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable, Generic.CodeAnalysis.UnusedFunctionParameter.Found -- Needed for BC. + _deprecated_function( __METHOD__, 'Yoast SEO 23.3' ); + } + + /** + * Gets all the error descriptions. + * + * @since 12.1 + * + * @deprecated 23.3 + * @codeCoverageIgnore + * + * @return array An associative array of error descriptions. + */ + public static function get_error_descriptions() { + _deprecated_function( __METHOD__, 'Yoast SEO 23.3' ); + return []; + } + + /** + * Gets a specific error description. + * + * @since 12.1 + * + * @param string $error_code Code of the error set via `add_settings_error()`, normally the variable name. + * + * @return string|null The error description. + */ + public static function get_error_description( $error_code ) { + if ( ! isset( self::$error_descriptions[ $error_code ] ) ) { + return null; + } + + return self::$error_descriptions[ $error_code ]; + } + + /** + * Gets the aria-invalid HTML attribute based on the submitted invalid value. + * + * @since 12.1 + * + * @param string $error_code Code of the error set via `add_settings_error()`, normally the variable name. + * + * @return string The aria-invalid HTML attribute or empty string. + */ + public static function get_the_aria_invalid_attribute( $error_code ) { + if ( self::yoast_form_control_has_error( $error_code ) ) { + return ' aria-invalid="true"'; + } + + return ''; + } + + /** + * Gets the aria-describedby HTML attribute based on the submitted invalid value. + * + * @since 12.1 + * + * @param string $error_code Code of the error set via `add_settings_error()`, normally the variable name. + * + * @return string The aria-describedby HTML attribute or empty string. + */ + public static function get_the_aria_describedby_attribute( $error_code ) { + if ( self::yoast_form_control_has_error( $error_code ) && self::get_error_description( $error_code ) ) { + return ' aria-describedby="' . esc_attr( $error_code ) . '-error-description"'; + } + + return ''; + } + + /** + * Gets the error description wrapped in a HTML paragraph. + * + * @since 12.1 + * + * @param string $error_code Code of the error set via `add_settings_error()`, normally the variable name. + * + * @return string The error description HTML or empty string. + */ + public static function get_the_error_description( $error_code ) { + $error_description = self::get_error_description( $error_code ); + + if ( self::yoast_form_control_has_error( $error_code ) && $error_description ) { + return '

    ' . $error_description . '

    '; + } + + return ''; + } + + /** + * Adds the submitted invalid value to the WordPress `$wp_settings_errors` global. + * + * @since 12.1 + * + * @param string $error_code Code of the error set via `add_settings_error()`, normally the variable name. + * @param string $dirty_value The submitted invalid value. + * + * @return void + */ + public static function add_dirty_value_to_settings_errors( $error_code, $dirty_value ) { + global $wp_settings_errors; + + if ( ! is_array( $wp_settings_errors ) ) { + return; + } + + foreach ( $wp_settings_errors as $index => $error ) { + if ( $error['code'] === $error_code ) { + // phpcs:ignore WordPress.WP.GlobalVariablesOverride -- This is a deliberate action. + $wp_settings_errors[ $index ]['yoast_dirty_value'] = $dirty_value; + } + } + } + + /** + * Gets an invalid submitted value. + * + * @since 12.1 + * + * @param string $error_code Code of the error set via `add_settings_error()`, normally the variable name. + * + * @return string The submitted invalid input field value. + * + * @deprecated 23.3 + * @codeCoverageIgnore + */ + public static function get_dirty_value( $error_code ) { // @phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable, Generic.CodeAnalysis.UnusedFunctionParameter.Found -- Needed for BC. + _deprecated_function( __METHOD__, 'Yoast SEO 23.3' ); + return ''; + } + + /** + * Gets a specific invalid value message. + * + * @since 12.1 + * + * @param string $error_code Code of the error set via `add_settings_error()`, normally the variable name. + * + * @return string The error invalid value message or empty string. + * + * @deprecated 23.3 + * @codeCoverageIgnore + */ + public static function get_dirty_value_message( $error_code ) { // @phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable, Generic.CodeAnalysis.UnusedFunctionParameter.Found -- Needed for BC. + _deprecated_function( __METHOD__, 'Yoast SEO 23.3' ); + + return ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-network-admin.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-network-admin.php new file mode 100644 index 00000000..01f8f2f3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-network-admin.php @@ -0,0 +1,334 @@ + $site_label pairs. + */ + public function get_site_choices( $include_empty = false, $show_title = false ) { + $choices = []; + + if ( $include_empty ) { + $choices['-'] = __( 'None', 'wordpress-seo' ); + } + + $criteria = [ + 'deleted' => 0, + 'network_id' => get_current_network_id(), + ]; + $sites = get_sites( $criteria ); + + foreach ( $sites as $site ) { + $site_name = $site->domain . $site->path; + if ( $show_title ) { + $site_name = $site->blogname . ' (' . $site->domain . $site->path . ')'; + } + $choices[ $site->blog_id ] = $site->blog_id . ': ' . $site_name; + + $site_states = $this->get_site_states( $site ); + if ( ! empty( $site_states ) ) { + $choices[ $site->blog_id ] .= ' [' . implode( ', ', $site_states ) . ']'; + } + } + + return $choices; + } + + /** + * Gets the states of a site. + * + * @param WP_Site $site Site object. + * + * @return array Array of $state_slug => $state_label pairs. + */ + public function get_site_states( $site ) { + $available_states = [ + 'public' => __( 'public', 'wordpress-seo' ), + 'archived' => __( 'archived', 'wordpress-seo' ), + 'mature' => __( 'mature', 'wordpress-seo' ), + 'spam' => __( 'spam', 'wordpress-seo' ), + 'deleted' => __( 'deleted', 'wordpress-seo' ), + ]; + + $site_states = []; + foreach ( $available_states as $state_slug => $state_label ) { + if ( $site->$state_slug === '1' ) { + $site_states[ $state_slug ] = $state_label; + } + } + + return $site_states; + } + + /** + * Handles a request to update plugin network options. + * + * This method works similar to how option updates are handled in `wp-admin/options.php` and + * `wp-admin/network/settings.php`. + * + * @return void + */ + public function handle_update_options_request() { + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: Nonce verification will happen in verify_request below. + if ( ! isset( $_POST['network_option_group'] ) || ! is_string( $_POST['network_option_group'] ) ) { + return; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: Nonce verification will happen in verify_request below. + $option_group = sanitize_text_field( wp_unslash( $_POST['network_option_group'] ) ); + + if ( empty( $option_group ) ) { + return; + } + + $this->verify_request( "{$option_group}-network-options" ); + + $whitelist_options = Yoast_Network_Settings_API::get()->get_whitelist_options( $option_group ); + + if ( empty( $whitelist_options ) ) { + add_settings_error( $option_group, 'settings_updated', __( 'You are not allowed to modify unregistered network settings.', 'wordpress-seo' ), 'error' ); + + $this->terminate_request(); + return; + } + + // phpcs:disable WordPress.Security.NonceVerification -- Nonce verified via `verify_request()` above. + foreach ( $whitelist_options as $option_name ) { + $value = null; + if ( isset( $_POST[ $option_name ] ) ) { + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: Adding sanitize_text_field around this will break the saving of settings because it expects a string: https://github.com/Yoast/wordpress-seo/issues/12440. + $value = wp_unslash( $_POST[ $option_name ] ); + } + + WPSEO_Options::update_site_option( $option_name, $value ); + } + // phpcs:enable WordPress.Security.NonceVerification + + $settings_errors = get_settings_errors(); + if ( empty( $settings_errors ) ) { + add_settings_error( $option_group, 'settings_updated', __( 'Settings Updated.', 'wordpress-seo' ), 'updated' ); + } + + $this->terminate_request(); + } + + /** + * Handles a request to restore a site's default settings. + * + * @return void + */ + public function handle_restore_site_request() { + $this->verify_request( 'wpseo-network-restore', 'restore_site_nonce' ); + + $option_group = 'wpseo_ms'; + + // phpcs:ignore WordPress.Security.NonceVerification -- Nonce verified via `verify_request()` above. + $site_id = ! empty( $_POST[ $option_group ]['site_id'] ) ? (int) $_POST[ $option_group ]['site_id'] : 0; + if ( ! $site_id ) { + add_settings_error( $option_group, 'settings_updated', __( 'No site has been selected to restore.', 'wordpress-seo' ), 'error' ); + + $this->terminate_request(); + return; + } + + $site = get_site( $site_id ); + if ( ! $site ) { + /* translators: %s expands to the ID of a site within a multisite network. */ + add_settings_error( $option_group, 'settings_updated', sprintf( __( 'Site with ID %d not found.', 'wordpress-seo' ), $site_id ), 'error' ); + } + else { + WPSEO_Options::reset_ms_blog( $site_id ); + + /* translators: %s expands to the name of a site within a multisite network. */ + add_settings_error( $option_group, 'settings_updated', sprintf( __( '%s restored to default SEO settings.', 'wordpress-seo' ), esc_html( $site->blogname ) ), 'updated' ); + } + + $this->terminate_request(); + } + + /** + * Outputs nonce, action and option group fields for a network settings page in the plugin. + * + * @param string $option_group Option group name for the current page. + * + * @return void + */ + public function settings_fields( $option_group ) { + ?> + + + enqueue_script( 'network-admin' ); + + $translations = [ + /* translators: %s: success message */ + 'success_prefix' => __( 'Success: %s', 'wordpress-seo' ), + /* translators: %s: error message */ + 'error_prefix' => __( 'Error: %s', 'wordpress-seo' ), + ]; + $asset_manager->localize_script( + 'network-admin', + 'wpseoNetworkAdminGlobalL10n', + $translations + ); + } + + /** + * Hooks in the necessary actions and filters. + * + * @return void + */ + public function register_hooks() { + + if ( ! $this->meets_requirements() ) { + return; + } + + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + + add_action( 'admin_action_' . self::UPDATE_OPTIONS_ACTION, [ $this, 'handle_update_options_request' ] ); + add_action( 'admin_action_' . self::RESTORE_SITE_ACTION, [ $this, 'handle_restore_site_request' ] ); + } + + /** + * Hooks in the necessary AJAX actions. + * + * @return void + */ + public function register_ajax_hooks() { + add_action( 'wp_ajax_' . self::UPDATE_OPTIONS_ACTION, [ $this, 'handle_update_options_request' ] ); + add_action( 'wp_ajax_' . self::RESTORE_SITE_ACTION, [ $this, 'handle_restore_site_request' ] ); + } + + /** + * Checks whether the requirements to use this class are met. + * + * @return bool True if requirements are met, false otherwise. + */ + public function meets_requirements() { + return is_multisite() && is_network_admin(); + } + + /** + * Verifies that the current request is valid. + * + * @param string $action Nonce action. + * @param string $query_arg Optional. Nonce query argument. Default '_wpnonce'. + * + * @return void + */ + public function verify_request( $action, $query_arg = '_wpnonce' ) { + $has_access = current_user_can( 'wpseo_manage_network_options' ); + + if ( wp_doing_ajax() ) { + check_ajax_referer( $action, $query_arg ); + + if ( ! $has_access ) { + wp_die( -1, 403 ); + } + return; + } + + check_admin_referer( $action, $query_arg ); + + if ( ! $has_access ) { + wp_die( esc_html__( 'You are not allowed to perform this action.', 'wordpress-seo' ) ); + } + } + + /** + * Terminates the current request by either redirecting back or sending an AJAX response. + * + * @return void + */ + public function terminate_request() { + if ( wp_doing_ajax() ) { + $settings_errors = get_settings_errors(); + + if ( ! empty( $settings_errors ) && $settings_errors[0]['type'] === 'updated' ) { + wp_send_json_success( $settings_errors, 200 ); + } + + wp_send_json_error( $settings_errors, 400 ); + } + + $this->persist_settings_errors(); + $this->redirect_back( [ 'settings-updated' => 'true' ] ); + } + + /** + * Persists settings errors. + * + * Settings errors are stored in a transient for 30 seconds so that this transient + * can be retrieved on the next page load. + * + * @return void + */ + protected function persist_settings_errors() { + /* + * A regular transient is used here, since it is automatically cleared right after the redirect. + * A network transient would be cleaner, but would require a lot of copied code from core for + * just a minor adjustment when displaying settings errors. + */ + set_transient( 'settings_errors', get_settings_errors(), 30 ); + } + + /** + * Redirects back to the referer URL, with optional query arguments. + * + * @param array $query_args Optional. Query arguments to add to the redirect URL. Default none. + * + * @return void + */ + protected function redirect_back( $query_args = [] ) { + $sendback = wp_get_referer(); + + if ( ! empty( $query_args ) ) { + $sendback = add_query_arg( $query_args, $sendback ); + } + + wp_safe_redirect( $sendback ); + exit; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-network-settings-api.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-network-settings-api.php new file mode 100644 index 00000000..990f78ad --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-network-settings-api.php @@ -0,0 +1,164 @@ + $option_group, + 'sanitize_callback' => null, + ]; + $args = wp_parse_args( $args, $defaults ); + + if ( ! isset( $this->whitelist_options[ $option_group ] ) ) { + $this->whitelist_options[ $option_group ] = []; + } + + $this->whitelist_options[ $option_group ][] = $option_name; + + if ( ! empty( $args['sanitize_callback'] ) ) { + add_filter( "sanitize_option_{$option_name}", [ $this, 'filter_sanitize_option' ], 10, 2 ); + } + + if ( array_key_exists( 'default', $args ) ) { + add_filter( "default_site_option_{$option_name}", [ $this, 'filter_default_option' ], 10, 2 ); + } + + $this->registered_settings[ $option_name ] = $args; + } + + /** + * Gets the registered settings and their data. + * + * @return array Array of $option_name => $data pairs. + */ + public function get_registered_settings() { + return $this->registered_settings; + } + + /** + * Gets the whitelisted options for a given option group. + * + * @param string $option_group Option group. + * + * @return array List of option names, or empty array if unknown option group. + */ + public function get_whitelist_options( $option_group ) { + if ( ! isset( $this->whitelist_options[ $option_group ] ) ) { + return []; + } + + return $this->whitelist_options[ $option_group ]; + } + + /** + * Filters sanitization for a network option value. + * + * This method is added as a filter to `sanitize_option_{$option}` for network options that are + * registered with a sanitize callback. + * + * @param string $value The sanitized option value. + * @param string $option The option name. + * + * @return string The filtered sanitized option value. + */ + public function filter_sanitize_option( $value, $option ) { + + if ( empty( $this->registered_settings[ $option ] ) ) { + return $value; + } + + return call_user_func( $this->registered_settings[ $option ]['sanitize_callback'], $value ); + } + + /** + * Filters the default value for a network option. + * + * This function is added as a filter to `default_site_option_{$option}` for network options that + * are registered with a default. + * + * @param mixed $default_value Existing default value to return. + * @param string $option The option name. + * + * @return mixed The filtered default value. + */ + public function filter_default_option( $default_value, $option ) { + + // If a default value was manually passed to the function, allow it to override. + if ( $default_value !== false ) { + return $default_value; + } + + if ( empty( $this->registered_settings[ $option ] ) ) { + return $default_value; + } + + return $this->registered_settings[ $option ]['default']; + } + + /** + * Checks whether the requirements to use this class are met. + * + * @return bool True if requirements are met, false otherwise. + */ + public function meets_requirements() { + return is_multisite(); + } + + /** + * Gets the singleton instance of this class. + * + * @return Yoast_Network_Settings_API The singleton instance. + */ + public static function get() { + + if ( self::$instance === null ) { + self::$instance = new self(); + } + + return self::$instance; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php new file mode 100644 index 00000000..fcbc734d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php @@ -0,0 +1,954 @@ +get_notification_by_id( $notification_id ); + if ( ( $notification instanceof Yoast_Notification ) === false ) { + + // Permit legacy. + $options = [ + 'id' => $notification_id, + 'dismissal_key' => $notification_id, + ]; + $notification = new Yoast_Notification( '', $options ); + } + + if ( self::maybe_dismiss_notification( $notification ) ) { + die( '1' ); + } + + die( '-1' ); + } + + /** + * Check if the user has dismissed a notification. + * + * @param Yoast_Notification $notification The notification to check for dismissal. + * @param int|null $user_id User ID to check on. + * + * @return bool + */ + public static function is_notification_dismissed( Yoast_Notification $notification, $user_id = null ) { + + $user_id = self::get_user_id( $user_id ); + $dismissal_key = $notification->get_dismissal_key(); + + // This checks both the site-specific user option and the meta value. + $current_value = get_user_option( $dismissal_key, $user_id ); + + // Migrate old user meta to user option on-the-fly. + if ( ! empty( $current_value ) + && metadata_exists( 'user', $user_id, $dismissal_key ) + && update_user_option( $user_id, $dismissal_key, $current_value ) ) { + delete_user_meta( $user_id, $dismissal_key ); + } + + return ! empty( $current_value ); + } + + /** + * Checks if the notification is being dismissed. + * + * @param Yoast_Notification $notification Notification to check dismissal of. + * @param string $meta_value Value to set the meta value to if dismissed. + * + * @return bool True if dismissed. + */ + public static function maybe_dismiss_notification( Yoast_Notification $notification, $meta_value = 'seen' ) { + + // Only persistent notifications are dismissible. + if ( ! $notification->is_persistent() ) { + return false; + } + + // If notification is already dismissed, we're done. + if ( self::is_notification_dismissed( $notification ) ) { + return true; + } + + $dismissal_key = $notification->get_dismissal_key(); + $notification_id = $notification->get_id(); + + $is_dismissing = ( $dismissal_key === self::get_user_input( 'notification' ) ); + if ( ! $is_dismissing ) { + $is_dismissing = ( $notification_id === self::get_user_input( 'notification' ) ); + } + + // Fallback to ?dismissal_key=1&nonce=bla when JavaScript fails. + if ( ! $is_dismissing ) { + $is_dismissing = ( self::get_user_input( $dismissal_key ) === '1' ); + } + + if ( ! $is_dismissing ) { + return false; + } + + $user_nonce = self::get_user_input( 'nonce' ); + if ( wp_verify_nonce( $user_nonce, $notification_id ) === false ) { + return false; + } + + return self::dismiss_notification( $notification, $meta_value ); + } + + /** + * Dismisses a notification. + * + * @param Yoast_Notification $notification Notification to dismiss. + * @param string $meta_value Value to save in the dismissal. + * + * @return bool True if dismissed, false otherwise. + */ + public static function dismiss_notification( Yoast_Notification $notification, $meta_value = 'seen' ) { + // Dismiss notification. + return update_user_option( get_current_user_id(), $notification->get_dismissal_key(), $meta_value ) !== false; + } + + /** + * Restores a notification. + * + * @param Yoast_Notification $notification Notification to restore. + * + * @return bool True if restored, false otherwise. + */ + public static function restore_notification( Yoast_Notification $notification ) { + + $user_id = get_current_user_id(); + $dismissal_key = $notification->get_dismissal_key(); + + // Restore notification. + $restored = delete_user_option( $user_id, $dismissal_key ); + + // Delete unprefixed user meta too for backward-compatibility. + if ( metadata_exists( 'user', $user_id, $dismissal_key ) ) { + $restored = delete_user_meta( $user_id, $dismissal_key ) && $restored; + } + + return $restored; + } + + /** + * Clear dismissal information for the specified Notification. + * + * When a cause is resolved, the next time it is present we want to show + * the message again. + * + * @param string|Yoast_Notification $notification Notification to clear the dismissal of. + * + * @return bool + */ + public function clear_dismissal( $notification ) { + + global $wpdb; + + if ( $notification instanceof Yoast_Notification ) { + $dismissal_key = $notification->get_dismissal_key(); + } + + if ( is_string( $notification ) ) { + $dismissal_key = $notification; + } + + if ( empty( $dismissal_key ) ) { + return false; + } + + // Remove notification dismissal for all users. + $deleted = delete_metadata( 'user', 0, $wpdb->get_blog_prefix() . $dismissal_key, '', true ); + + // Delete unprefixed user meta too for backward-compatibility. + $deleted = delete_metadata( 'user', 0, $dismissal_key, '', true ) || $deleted; + + return $deleted; + } + + /** + * Retrieves notifications from the storage and merges in previous notification changes. + * + * The current user in WordPress is not loaded shortly before the 'init' hook, but the plugin + * sometimes needs to add or remove notifications before that. In such cases, the transactions + * are not actually executed, but added to a queue. That queue is then handled in this method, + * after notifications for the current user have been set up. + * + * @return void + */ + public function setup_current_notifications() { + $this->retrieve_notifications_from_storage( get_current_user_id() ); + + foreach ( $this->queued_transactions as $transaction ) { + list( $callback, $args ) = $transaction; + + call_user_func_array( $callback, $args ); + } + + $this->queued_transactions = []; + } + + /** + * Add notification to the cookie. + * + * @param Yoast_Notification $notification Notification object instance. + * + * @return void + */ + public function add_notification( Yoast_Notification $notification ) { + + $callback = [ $this, __FUNCTION__ ]; + $args = func_get_args(); + if ( $this->queue_transaction( $callback, $args ) ) { + return; + } + + // Don't add if the user can't see it. + if ( ! $notification->display_for_current_user() ) { + return; + } + + $notification_id = $notification->get_id(); + $user_id = $notification->get_user_id(); + + // Empty notifications are always added. + if ( $notification_id !== '' ) { + + // If notification ID exists in notifications, don't add again. + $present_notification = $this->get_notification_by_id( $notification_id, $user_id ); + if ( ! is_null( $present_notification ) ) { + $this->remove_notification( $present_notification, false ); + } + + if ( is_null( $present_notification ) ) { + $this->new[] = $notification_id; + } + } + + // Add to list. + $this->notifications[ $user_id ][] = $notification; + + $this->notifications_need_storage = true; + } + + /** + * Get the notification by ID and user ID. + * + * @param string $notification_id The ID of the notification to search for. + * @param int|null $user_id The ID of the user. + * + * @return Yoast_Notification|null + */ + public function get_notification_by_id( $notification_id, $user_id = null ) { + $user_id = self::get_user_id( $user_id ); + + $notifications = $this->get_notifications_for_user( $user_id ); + + foreach ( $notifications as $notification ) { + if ( $notification_id === $notification->get_id() ) { + return $notification; + } + } + + return null; + } + + /** + * Display the notifications. + * + * @param bool $echo_as_json True when notifications should be printed directly. + * + * @return void + */ + public function display_notifications( $echo_as_json = false ) { + + // Never display notifications for network admin. + if ( is_network_admin() ) { + return; + } + + $sorted_notifications = $this->get_sorted_notifications(); + $notifications = array_filter( $sorted_notifications, [ $this, 'is_notification_persistent' ] ); + + if ( empty( $notifications ) ) { + return; + } + + array_walk( $notifications, [ $this, 'remove_notification' ] ); + + $notifications = array_unique( $notifications ); + if ( $echo_as_json ) { + $notification_json = []; + + foreach ( $notifications as $notification ) { + $notification_json[] = $notification->render(); + } + + // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: WPSEO_Utils::format_json_encode is safe. + echo WPSEO_Utils::format_json_encode( $notification_json ); + + return; + } + + foreach ( $notifications as $notification ) { + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: Temporarily disabled, see: https://github.com/Yoast/wordpress-seo-premium/issues/2510 and https://github.com/Yoast/wordpress-seo-premium/issues/2511. + echo $notification; + } + } + + /** + * Remove notification after it has been displayed. + * + * @param Yoast_Notification $notification Notification to remove. + * @param bool $resolve Resolve as fixed. + * + * @return void + */ + public function remove_notification( Yoast_Notification $notification, $resolve = true ) { + + $callback = [ $this, __FUNCTION__ ]; + $args = func_get_args(); + if ( $this->queue_transaction( $callback, $args ) ) { + return; + } + + $index = false; + + // ID of the user to show the notification for, defaults to current user id. + $user_id = $notification->get_user_id(); + $notifications = $this->get_notifications_for_user( $user_id ); + + // Match persistent Notifications by ID, non persistent by item in the array. + if ( $notification->is_persistent() ) { + foreach ( $notifications as $current_index => $present_notification ) { + if ( $present_notification->get_id() === $notification->get_id() ) { + $index = $current_index; + break; + } + } + } + else { + $index = array_search( $notification, $notifications, true ); + } + + if ( $index === false ) { + return; + } + + if ( $notification->is_persistent() && $resolve ) { + ++$this->resolved; + $this->clear_dismissal( $notification ); + } + + unset( $notifications[ $index ] ); + $this->notifications[ $user_id ] = array_values( $notifications ); + + $this->notifications_need_storage = true; + } + + /** + * Removes a notification by its ID. + * + * @param string $notification_id The notification id. + * @param bool $resolve Resolve as fixed. + * + * @return void + */ + public function remove_notification_by_id( $notification_id, $resolve = true ) { + $notification = $this->get_notification_by_id( $notification_id ); + + if ( $notification === null ) { + return; + } + + $this->remove_notification( $notification, $resolve ); + $this->notifications_need_storage = true; + } + + /** + * Get the notification count. + * + * @param bool $dismissed Count dismissed notifications. + * + * @return int Number of notifications + */ + public function get_notification_count( $dismissed = false ) { + + $notifications = $this->get_notifications_for_user( get_current_user_id() ); + $notifications = array_filter( $notifications, [ $this, 'filter_persistent_notifications' ] ); + + if ( ! $dismissed ) { + $notifications = array_filter( $notifications, [ $this, 'filter_dismissed_notifications' ] ); + } + + return count( $notifications ); + } + + /** + * Get the number of notifications resolved this execution. + * + * These notifications have been resolved and should be counted when active again. + * + * @return int + */ + public function get_resolved_notification_count() { + + return $this->resolved; + } + + /** + * Return the notifications sorted on type and priority. + * + * @return array|Yoast_Notification[] Sorted Notifications + */ + public function get_sorted_notifications() { + $notifications = $this->get_notifications_for_user( get_current_user_id() ); + if ( empty( $notifications ) ) { + return []; + } + + // Sort by severity, error first. + usort( $notifications, [ $this, 'sort_notifications' ] ); + + return $notifications; + } + + /** + * AJAX display notifications. + * + * @return void + */ + public function ajax_get_notifications() { + $echo = false; + // phpcs:ignore WordPress.Security.NonceVerification.Missing,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are not processing form data. + if ( isset( $_POST['version'] ) && is_string( $_POST['version'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Missing,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are only comparing the variable in a condition. + $echo = wp_unslash( $_POST['version'] ) === '2'; + } + + // Display the notices. + $this->display_notifications( $echo ); + + // AJAX die. + exit; + } + + /** + * Remove storage when the plugin is deactivated. + * + * @return void + */ + public function deactivate_hook() { + + $this->clear_notifications(); + } + + /** + * Returns the given user ID if it exists. + * Otherwise, this function returns the ID of the current user. + * + * @param int $user_id The user ID to check. + * + * @return int The user ID to use. + */ + private static function get_user_id( $user_id ) { + if ( $user_id ) { + return $user_id; + } + return get_current_user_id(); + } + + /** + * Splits the notifications on user ID. + * + * In other terms, it returns an associative array, + * mapping user ID to a list of notifications for this user. + * + * @param array|Yoast_Notification[] $notifications The notifications to split. + * + * @return array The notifications, split on user ID. + */ + private function split_on_user_id( $notifications ) { + $split_notifications = []; + foreach ( $notifications as $notification ) { + $split_notifications[ $notification->get_user_id() ][] = $notification; + } + return $split_notifications; + } + + /** + * Save persistent notifications to storage. + * + * We need to be able to retrieve these so they can be dismissed at any time during the execution. + * + * @since 3.2 + * + * @return void + */ + public function update_storage() { + + $notifications = $this->notifications; + + /** + * One array of Yoast_Notifications, merged from multiple arrays. + * + * @var Yoast_Notification[] $merged_notifications + */ + $merged_notifications = []; + if ( ! empty( $notifications ) ) { + $merged_notifications = array_merge( ...$notifications ); + } + + /** + * Filter: 'yoast_notifications_before_storage' - Allows developer to filter notifications before saving them. + * + * @param Yoast_Notification[] $notifications + */ + $filtered_merged_notifications = apply_filters( 'yoast_notifications_before_storage', $merged_notifications ); + + // The notifications were filtered and therefore need to be stored. + if ( $merged_notifications !== $filtered_merged_notifications ) { + $merged_notifications = $filtered_merged_notifications; + $this->notifications_need_storage = true; + } + + $notifications = $this->split_on_user_id( $merged_notifications ); + + // No notifications to store, clear storage if it was previously present. + if ( empty( $notifications ) ) { + $this->remove_storage(); + + return; + } + + // Only store notifications if changes are made. + if ( $this->notifications_need_storage ) { + array_walk( $notifications, [ $this, 'store_notifications_for_user' ] ); + } + } + + /** + * Stores the notifications to its respective user's storage. + * + * @param array|Yoast_Notification[] $notifications The notifications to store. + * @param int $user_id The ID of the user for which to store the notifications. + * + * @return void + */ + private function store_notifications_for_user( $notifications, $user_id ) { + $notifications_as_arrays = array_map( [ $this, 'notification_to_array' ], $notifications ); + update_user_option( $user_id, self::STORAGE_KEY, $notifications_as_arrays ); + } + + /** + * Provide a way to verify present notifications. + * + * @return array|Yoast_Notification[] Registered notifications. + */ + public function get_notifications() { + if ( ! $this->notifications ) { + return []; + } + return array_merge( ...$this->notifications ); + } + + /** + * Returns the notifications for the given user. + * + * @param int $user_id The id of the user to check. + * + * @return Yoast_Notification[] The notifications for the user with the given ID. + */ + public function get_notifications_for_user( $user_id ) { + if ( array_key_exists( $user_id, $this->notifications ) ) { + return $this->notifications[ $user_id ]; + } + return []; + } + + /** + * Get newly added notifications. + * + * @return array + */ + public function get_new_notifications() { + + return array_map( [ $this, 'get_notification_by_id' ], $this->new ); + } + + /** + * Get information from the User input. + * + * Note that this function does not handle nonce verification. + * + * @param string $key Key to retrieve. + * + * @return string non-sanitized value of key if set, an empty string otherwise. + */ + private static function get_user_input( $key ) { + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized,WordPress.Security.NonceVerification.Missing -- Reason: We are not processing form information and only using this variable in a comparison. + $request_method = isset( $_SERVER['REQUEST_METHOD'] ) && is_string( $_SERVER['REQUEST_METHOD'] ) ? strtoupper( wp_unslash( $_SERVER['REQUEST_METHOD'] ) ) : ''; + // phpcs:disable WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: This function does not sanitize variables. + // phpcs:disable WordPress.Security.NonceVerification.Recommended,WordPress.Security.NonceVerification.Missing -- Reason: This function does not verify a nonce. + if ( $request_method === 'POST' ) { + if ( isset( $_POST[ $key ] ) && is_string( $_POST[ $key ] ) ) { + return wp_unslash( $_POST[ $key ] ); + } + } + elseif ( isset( $_GET[ $key ] ) && is_string( $_GET[ $key ] ) ) { + return wp_unslash( $_GET[ $key ] ); + } + // phpcs:enable WordPress.Security.NonceVerification.Missing,WordPress.Security.NonceVerification.Missing,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized + return ''; + } + + /** + * Retrieve the notifications from storage and fill the relevant property. + * + * @param int $user_id The ID of the user to retrieve notifications for. + * + * @return void + */ + private function retrieve_notifications_from_storage( $user_id ) { + if ( $this->notifications_retrieved ) { + return; + } + + $this->notifications_retrieved = true; + + $stored_notifications = get_user_option( self::STORAGE_KEY, $user_id ); + + // Check if notifications are stored. + if ( empty( $stored_notifications ) ) { + return; + } + + if ( is_array( $stored_notifications ) ) { + $notifications = array_map( [ $this, 'array_to_notification' ], $stored_notifications ); + + // Apply array_values to ensure we get a 0-indexed array. + $notifications = array_values( array_filter( $notifications, [ $this, 'filter_notification_current_user' ] ) ); + + $this->notifications[ $user_id ] = $notifications; + } + } + + /** + * Sort on type then priority. + * + * @param Yoast_Notification $a Compare with B. + * @param Yoast_Notification $b Compare with A. + * + * @return int 1, 0 or -1 for sorting offset. + */ + private function sort_notifications( Yoast_Notification $a, Yoast_Notification $b ) { + + $a_type = $a->get_type(); + $b_type = $b->get_type(); + + if ( $a_type === $b_type ) { + return WPSEO_Utils::calc( $b->get_priority(), 'compare', $a->get_priority() ); + } + + if ( $a_type === 'error' ) { + return -1; + } + + if ( $b_type === 'error' ) { + return 1; + } + + return 0; + } + + /** + * Clear local stored notifications. + * + * @return void + */ + private function clear_notifications() { + + $this->notifications = []; + $this->notifications_retrieved = false; + } + + /** + * Filter out non-persistent notifications. + * + * @since 3.2 + * + * @param Yoast_Notification $notification Notification to test for persistent. + * + * @return bool + */ + private function filter_persistent_notifications( Yoast_Notification $notification ) { + + return $notification->is_persistent(); + } + + /** + * Filter out dismissed notifications. + * + * @param Yoast_Notification $notification Notification to check. + * + * @return bool + */ + private function filter_dismissed_notifications( Yoast_Notification $notification ) { + + return ! self::maybe_dismiss_notification( $notification ); + } + + /** + * Convert Notification to array representation. + * + * @since 3.2 + * + * @param Yoast_Notification $notification Notification to convert. + * + * @return array + */ + private function notification_to_array( Yoast_Notification $notification ) { + + $notification_data = $notification->to_array(); + + if ( isset( $notification_data['nonce'] ) ) { + unset( $notification_data['nonce'] ); + } + + return $notification_data; + } + + /** + * Convert stored array to Notification. + * + * @param array $notification_data Array to convert to Notification. + * + * @return Yoast_Notification + */ + private function array_to_notification( $notification_data ) { + + if ( isset( $notification_data['options']['nonce'] ) ) { + unset( $notification_data['options']['nonce'] ); + } + + if ( isset( $notification_data['message'] ) + && is_subclass_of( $notification_data['message'], Abstract_Presenter::class, false ) + ) { + $notification_data['message'] = $notification_data['message']->present(); + } + + if ( isset( $notification_data['options']['user'] ) ) { + $notification_data['options']['user_id'] = $notification_data['options']['user']->ID; + unset( $notification_data['options']['user'] ); + + $this->notifications_need_storage = true; + } + + return new Yoast_Notification( + $notification_data['message'], + $notification_data['options'] + ); + } + + /** + * Filter notifications that should not be displayed for the current user. + * + * @param Yoast_Notification $notification Notification to test. + * + * @return bool + */ + private function filter_notification_current_user( Yoast_Notification $notification ) { + return $notification->display_for_current_user(); + } + + /** + * Checks if given notification is persistent. + * + * @param Yoast_Notification $notification The notification to check. + * + * @return bool True when notification is not persistent. + */ + private function is_notification_persistent( Yoast_Notification $notification ) { + return ! $notification->is_persistent(); + } + + /** + * Queues a notification transaction for later execution if notifications are not yet set up. + * + * @param callable $callback Callback that performs the transaction. + * @param array $args Arguments to pass to the callback. + * + * @return bool True if transaction was queued, false if it can be performed immediately. + */ + private function queue_transaction( $callback, $args ) { + if ( $this->notifications_retrieved ) { + return false; + } + + $this->add_transaction_to_queue( $callback, $args ); + + return true; + } + + /** + * Adds a notification transaction to the queue for later execution. + * + * @param callable $callback Callback that performs the transaction. + * @param array $args Arguments to pass to the callback. + * + * @return void + */ + private function add_transaction_to_queue( $callback, $args ) { + $this->queued_transactions[] = [ $callback, $args ]; + } + + /** + * Removes all notifications from storage. + * + * @return bool True when notifications got removed. + */ + protected function remove_storage() { + if ( ! $this->has_stored_notifications() ) { + return false; + } + + delete_user_option( get_current_user_id(), self::STORAGE_KEY ); + return true; + } + + /** + * Checks if there are stored notifications. + * + * @return bool True when there are stored notifications. + */ + protected function has_stored_notifications() { + $stored_notifications = $this->get_stored_notifications(); + + return ! empty( $stored_notifications ); + } + + /** + * Retrieves the stored notifications. + * + * @codeCoverageIgnore + * + * @return array|false Array with notifications or false when not set. + */ + protected function get_stored_notifications() { + return get_user_option( self::STORAGE_KEY, get_current_user_id() ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notification.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notification.php new file mode 100644 index 00000000..3191827b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notification.php @@ -0,0 +1,429 @@ + self::UPDATED, + 'id' => '', + 'user_id' => null, + 'nonce' => null, + 'priority' => 0.5, + 'data_json' => [], + 'dismissal_key' => null, + 'capabilities' => [], + 'capability_check' => self::MATCH_ALL, + 'yoast_branding' => false, + ]; + + /** + * The message for the notification. + * + * @var string + */ + private $message; + + /** + * Notification class constructor. + * + * @param string $message Message string. + * @param array $options Set of options. + */ + public function __construct( $message, $options = [] ) { + $this->message = $message; + $this->options = $this->normalize_options( $options ); + } + + /** + * Retrieve notification ID string. + * + * @return string + */ + public function get_id() { + return $this->options['id']; + } + + /** + * Retrieve the user to show the notification for. + * + * @deprecated 21.6 + * @codeCoverageIgnore + * + * @return WP_User The user to show this notification for. + */ + public function get_user() { + _deprecated_function( __METHOD__, 'Yoast SEO 21.6' ); + return null; + } + + /** + * Retrieve the id of the user to show the notification for. + * + * Returns the id of the current user if not user has been sent. + * + * @return int The user id + */ + public function get_user_id() { + return ( $this->options['user_id'] ?? get_current_user_id() ); + } + + /** + * Retrieve nonce identifier. + * + * @return string|null Nonce for this Notification. + */ + public function get_nonce() { + if ( $this->options['id'] && empty( $this->options['nonce'] ) ) { + $this->options['nonce'] = wp_create_nonce( $this->options['id'] ); + } + + return $this->options['nonce']; + } + + /** + * Make sure the nonce is up to date. + * + * @return void + */ + public function refresh_nonce() { + if ( $this->options['id'] ) { + $this->options['nonce'] = wp_create_nonce( $this->options['id'] ); + } + } + + /** + * Get the type of the notification. + * + * @return string + */ + public function get_type() { + return $this->options['type']; + } + + /** + * Priority of the notification. + * + * Relative to the type. + * + * @return float Returns the priority between 0 and 1. + */ + public function get_priority() { + return $this->options['priority']; + } + + /** + * Get the User Meta key to check for dismissal of notification. + * + * @return string User Meta Option key that registers dismissal. + */ + public function get_dismissal_key() { + if ( empty( $this->options['dismissal_key'] ) ) { + return $this->options['id']; + } + + return $this->options['dismissal_key']; + } + + /** + * Is this Notification persistent. + * + * @return bool True if persistent, False if fire and forget. + */ + public function is_persistent() { + $id = $this->get_id(); + + return ! empty( $id ); + } + + /** + * Check if the notification is relevant for the current user. + * + * @return bool True if a user needs to see this notification, false if not. + */ + public function display_for_current_user() { + // If the notification is for the current page only, always show. + if ( ! $this->is_persistent() ) { + return true; + } + + // If the current user doesn't match capabilities. + return $this->match_capabilities(); + } + + /** + * Does the current user match required capabilities. + * + * @return bool + */ + public function match_capabilities() { + // Super Admin can do anything. + if ( is_multisite() && is_super_admin( $this->options['user_id'] ) ) { + return true; + } + + /** + * Filter capabilities that enable the displaying of this notification. + * + * @param array $capabilities The capabilities that must be present for this notification. + * @param Yoast_Notification $notification The notification object. + * + * @return array Array of capabilities or empty for no restrictions. + * + * @since 3.2 + */ + $capabilities = apply_filters( 'wpseo_notification_capabilities', $this->options['capabilities'], $this ); + + // Should be an array. + if ( ! is_array( $capabilities ) ) { + $capabilities = (array) $capabilities; + } + + /** + * Filter capability check to enable all or any capabilities. + * + * @param string $capability_check The type of check that will be used to determine if an capability is present. + * @param Yoast_Notification $notification The notification object. + * + * @return string self::MATCH_ALL or self::MATCH_ANY. + * + * @since 3.2 + */ + $capability_check = apply_filters( 'wpseo_notification_capability_check', $this->options['capability_check'], $this ); + + if ( ! in_array( $capability_check, [ self::MATCH_ALL, self::MATCH_ANY ], true ) ) { + $capability_check = self::MATCH_ALL; + } + + if ( ! empty( $capabilities ) ) { + + $has_capabilities = array_filter( $capabilities, [ $this, 'has_capability' ] ); + + switch ( $capability_check ) { + case self::MATCH_ALL: + return $has_capabilities === $capabilities; + case self::MATCH_ANY: + return ! empty( $has_capabilities ); + } + } + + return true; + } + + /** + * Array filter function to find matched capabilities. + * + * @param string $capability Capability to test. + * + * @return bool + */ + private function has_capability( $capability ) { + $user_id = $this->options['user_id']; + if ( ! is_numeric( $user_id ) ) { + return false; + } + $user = get_user_by( 'id', $user_id ); + if ( ! $user ) { + return false; + } + + return $user->has_cap( $capability ); + } + + /** + * Return the object properties as an array. + * + * @return array + */ + public function to_array() { + return [ + 'message' => $this->message, + 'options' => $this->options, + ]; + } + + /** + * Adds string (view) behaviour to the notification. + * + * @return string + */ + public function __toString() { + return $this->render(); + } + + /** + * Renders the notification as a string. + * + * @return string The rendered notification. + */ + public function render() { + $attributes = []; + + // Default notification classes. + $classes = [ + 'yoast-notification', + ]; + + // Maintain WordPress visualisation of notifications when they are not persistent. + if ( ! $this->is_persistent() ) { + $classes[] = 'notice'; + $classes[] = $this->get_type(); + } + + if ( ! empty( $classes ) ) { + $attributes['class'] = implode( ' ', $classes ); + } + + // Combined attribute key and value into a string. + array_walk( $attributes, [ $this, 'parse_attributes' ] ); + + $message = null; + if ( $this->options['yoast_branding'] ) { + $message = $this->wrap_yoast_seo_icon( $this->message ); + } + + if ( $message === null ) { + $message = wpautop( $this->message ); + } + + // Build the output DIV. + return '
    ' . $message . '
    ' . PHP_EOL; + } + + /** + * Wraps the message with a Yoast SEO icon. + * + * @param string $message The message to wrap. + * + * @return string The wrapped message. + */ + private function wrap_yoast_seo_icon( $message ) { + $out = sprintf( + '', + esc_url( plugin_dir_url( WPSEO_FILE ) . 'packages/js/images/Yoast_SEO_Icon.svg' ), + 60, + 60 + ); + $out .= '
    '; + $out .= $message; + $out .= '
    '; + + return $out; + } + + /** + * Get the JSON if provided. + * + * @return false|string + */ + public function get_json() { + if ( empty( $this->options['data_json'] ) ) { + return ''; + } + + return WPSEO_Utils::format_json_encode( $this->options['data_json'] ); + } + + /** + * Make sure we only have values that we can work with. + * + * @param array $options Options to normalize. + * + * @return array + */ + private function normalize_options( $options ) { + $options = wp_parse_args( $options, $this->defaults ); + + // Should not exceed 0 or 1. + $options['priority'] = min( 1, max( 0, $options['priority'] ) ); + + // Set default capabilities when not supplied. + if ( empty( $options['capabilities'] ) || $options['capabilities'] === [] ) { + $options['capabilities'] = [ 'wpseo_manage_options' ]; + } + + // Set to the id of the current user if not supplied. + if ( $options['user_id'] === null ) { + $options['user_id'] = get_current_user_id(); + } + + return $options; + } + + /** + * Format HTML element attributes. + * + * @param string $value Attribute value. + * @param string $key Attribute name. + * + * @return void + */ + private function parse_attributes( &$value, $key ) { + $value = sprintf( '%s="%s"', sanitize_key( $key ), esc_attr( $value ) ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notifications.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notifications.php new file mode 100644 index 00000000..c3847e01 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-notifications.php @@ -0,0 +1,319 @@ +add_hooks(); + } + + /** + * Add hooks + * + * @return void + */ + private function add_hooks() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['page'] ) && is_string( $_GET['page'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $page = sanitize_text_field( wp_unslash( $_GET['page'] ) ); + if ( $page === self::ADMIN_PAGE ) { + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + } + + // Needed for adminbar and Notifications page. + add_action( 'admin_init', [ self::class, 'collect_notifications' ], 99 ); + + // Add AJAX hooks. + add_action( 'wp_ajax_yoast_dismiss_notification', [ $this, 'ajax_dismiss_notification' ] ); + add_action( 'wp_ajax_yoast_restore_notification', [ $this, 'ajax_restore_notification' ] ); + } + + /** + * Enqueue assets. + * + * @return void + */ + public function enqueue_assets() { + $asset_manager = new WPSEO_Admin_Asset_Manager(); + + $asset_manager->enqueue_style( 'notifications' ); + } + + /** + * Handle ajax request to dismiss a notification. + * + * @return void + */ + public function ajax_dismiss_notification() { + + $notification = $this->get_notification_from_ajax_request(); + if ( $notification ) { + $notification_center = Yoast_Notification_Center::get(); + $notification_center->maybe_dismiss_notification( $notification ); + + $this->output_ajax_response( $notification->get_type() ); + } + + wp_die(); + } + + /** + * Handle ajax request to restore a notification. + * + * @return void + */ + public function ajax_restore_notification() { + + $notification = $this->get_notification_from_ajax_request(); + if ( $notification ) { + $notification_center = Yoast_Notification_Center::get(); + $notification_center->restore_notification( $notification ); + + $this->output_ajax_response( $notification->get_type() ); + } + + wp_die(); + } + + /** + * Create AJAX response data. + * + * @param string $type Notification type. + * + * @return void + */ + private function output_ajax_response( $type ) { + + $html = $this->get_view_html( $type ); + // phpcs:disable WordPress.Security.EscapeOutput -- Reason: WPSEO_Utils::format_json_encode is safe. + echo WPSEO_Utils::format_json_encode( + [ + 'html' => $html, + 'total' => self::get_active_notification_count(), + ] + ); + // phpcs:enable -- Reason: WPSEO_Utils::format_json_encode is safe. + } + + /** + * Get the HTML to return in the AJAX request. + * + * @param string $type Notification type. + * + * @return bool|string + */ + private function get_view_html( $type ) { + + switch ( $type ) { + case 'error': + $view = 'errors'; + break; + + case 'warning': + default: + $view = 'warnings'; + break; + } + + // Re-collect notifications. + self::collect_notifications(); + + /** + * Stops PHPStorm from nagging about this variable being unused. The variable is used in the view. + * + * @noinspection PhpUnusedLocalVariableInspection + */ + $notifications_data = self::get_template_variables(); + + ob_start(); + include WPSEO_PATH . 'admin/views/partial-notifications-' . $view . '.php'; + $html = ob_get_clean(); + + return $html; + } + + /** + * Extract the Yoast Notification from the AJAX request. + * + * This function does not handle nonce verification. + * + * @return Yoast_Notification|null A Yoast_Notification on success, null on failure. + */ + private function get_notification_from_ajax_request() { + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: This function does not handle nonce verification. + if ( ! isset( $_POST['notification'] ) || ! is_string( $_POST['notification'] ) ) { + return null; + } + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: This function does not handle nonce verification. + $notification_id = sanitize_text_field( wp_unslash( $_POST['notification'] ) ); + + if ( empty( $notification_id ) ) { + return null; + } + $notification_center = Yoast_Notification_Center::get(); + return $notification_center->get_notification_by_id( $notification_id ); + } + + /** + * Collect the notifications and group them together. + * + * @return void + */ + public static function collect_notifications() { + + $notification_center = Yoast_Notification_Center::get(); + + $notifications = $notification_center->get_sorted_notifications(); + self::$notification_count = count( $notifications ); + + self::$errors = array_filter( $notifications, [ self::class, 'filter_error_notifications' ] ); + self::$dismissed_errors = array_filter( self::$errors, [ self::class, 'filter_dismissed_notifications' ] ); + self::$active_errors = array_diff( self::$errors, self::$dismissed_errors ); + + self::$warnings = array_filter( $notifications, [ self::class, 'filter_warning_notifications' ] ); + self::$dismissed_warnings = array_filter( self::$warnings, [ self::class, 'filter_dismissed_notifications' ] ); + self::$active_warnings = array_diff( self::$warnings, self::$dismissed_warnings ); + } + + /** + * Get the variables needed in the views. + * + * @return array + */ + public static function get_template_variables() { + + return [ + 'metrics' => [ + 'total' => self::$notification_count, + 'active' => self::get_active_notification_count(), + 'errors' => count( self::$errors ), + 'warnings' => count( self::$warnings ), + ], + 'errors' => [ + 'dismissed' => self::$dismissed_errors, + 'active' => self::$active_errors, + ], + 'warnings' => [ + 'dismissed' => self::$dismissed_warnings, + 'active' => self::$active_warnings, + ], + ]; + } + + /** + * Get the number of active notifications. + * + * @return int + */ + public static function get_active_notification_count() { + + return ( count( self::$active_errors ) + count( self::$active_warnings ) ); + } + + /** + * Filter out any non-errors. + * + * @param Yoast_Notification $notification Notification to test. + * + * @return bool + */ + private static function filter_error_notifications( Yoast_Notification $notification ) { + + return $notification->get_type() === 'error'; + } + + /** + * Filter out any non-warnings. + * + * @param Yoast_Notification $notification Notification to test. + * + * @return bool + */ + private static function filter_warning_notifications( Yoast_Notification $notification ) { + + return $notification->get_type() !== 'error'; + } + + /** + * Filter out any dismissed notifications. + * + * @param Yoast_Notification $notification Notification to test. + * + * @return bool + */ + private static function filter_dismissed_notifications( Yoast_Notification $notification ) { + + return Yoast_Notification_Center::is_notification_dismissed( $notification ); + } +} + +class_alias( Yoast_Notifications::class, 'Yoast_Alerts' ); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-plugin-conflict.php b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-plugin-conflict.php new file mode 100644 index 00000000..302cd495 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-yoast-plugin-conflict.php @@ -0,0 +1,342 @@ +plugins the active plugins will be stored in this + * property. + * + * @var array + */ + protected $active_conflicting_plugins = []; + + /** + * Property for holding instance of itself. + * + * @var Yoast_Plugin_Conflict + */ + protected static $instance; + + /** + * For the use of singleton pattern. Create instance of itself and return this instance. + * + * @param string $class_name Give the classname to initialize. If classname is + * false (empty) it will use it's own __CLASS__. + * + * @return Yoast_Plugin_Conflict + */ + public static function get_instance( $class_name = '' ) { + + if ( is_null( self::$instance ) ) { + if ( ! is_string( $class_name ) || $class_name === '' ) { + $class_name = self::class; + } + + self::$instance = new $class_name(); + } + + return self::$instance; + } + + /** + * Setting instance, all active plugins and search for active plugins. + * + * Protected constructor to prevent creating a new instance of the + * *Singleton* via the `new` operator from outside this class. + */ + protected function __construct() { + // Set active plugins. + $this->all_active_plugins = get_option( 'active_plugins' ); + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['action'] ) && is_string( $_GET['action'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are not processing form information and only comparing the variable in a condition. + $action = wp_unslash( $_GET['action'] ); + if ( $action === 'deactivate' ) { + $this->remove_deactivated_plugin(); + } + } + + // Search for active plugins. + $this->search_active_plugins(); + } + + /** + * Check if there are conflicting plugins for given $plugin_section. + * + * @param string $plugin_section Type of plugin conflict (such as Open Graph or sitemap). + * + * @return bool + */ + public function check_for_conflicts( $plugin_section ) { + + static $sections_checked; + + // Return early if there are no active conflicting plugins at all. + if ( empty( $this->active_conflicting_plugins ) ) { + return false; + } + + if ( $sections_checked === null ) { + $sections_checked = []; + } + + if ( ! in_array( $plugin_section, $sections_checked, true ) ) { + $sections_checked[] = $plugin_section; + return ( ! empty( $this->active_conflicting_plugins[ $plugin_section ] ) ); + } + + return false; + } + + /** + * Checks for given $plugin_sections for conflicts. + * + * @param array $plugin_sections Set of sections. + * + * @return void + */ + public function check_plugin_conflicts( $plugin_sections ) { + foreach ( $plugin_sections as $plugin_section => $readable_plugin_section ) { + // Check for conflicting plugins and show error if there are conflicts. + if ( $this->check_for_conflicts( $plugin_section ) ) { + $this->set_error( $plugin_section, $readable_plugin_section ); + } + } + + // List of all active sections. + $sections = array_keys( $plugin_sections ); + // List of all sections. + $all_plugin_sections = array_keys( $this->plugins ); + + /* + * Get all sections that are inactive. + * These plugins need to be cleared. + * + * This happens when Sitemaps or OpenGraph implementations toggle active/disabled. + */ + $inactive_sections = array_diff( $all_plugin_sections, $sections ); + if ( ! empty( $inactive_sections ) ) { + foreach ( $inactive_sections as $section ) { + array_walk( $this->plugins[ $section ], [ $this, 'clear_error' ] ); + } + } + + // For active sections clear errors for inactive plugins. + foreach ( $sections as $section ) { + // By default, clear errors for all plugins of the section. + $inactive_plugins = $this->plugins[ $section ]; + + // If there are active plugins, filter them from being cleared. + if ( isset( $this->active_conflicting_plugins[ $section ] ) ) { + $inactive_plugins = array_diff( $this->plugins[ $section ], $this->active_conflicting_plugins[ $section ] ); + } + + array_walk( $inactive_plugins, [ $this, 'clear_error' ] ); + } + } + + /** + * Setting an error on the screen. + * + * @param string $plugin_section Type of conflict group (such as Open Graph or sitemap). + * @param string $readable_plugin_section This is the value for the translation. + * + * @return void + */ + protected function set_error( $plugin_section, $readable_plugin_section ) { + + $notification_center = Yoast_Notification_Center::get(); + + foreach ( $this->active_conflicting_plugins[ $plugin_section ] as $plugin_file ) { + + $plugin_name = $this->get_plugin_name( $plugin_file ); + + $error_message = ''; + /* translators: %1$s: 'Facebook & Open Graph' plugin name(s) of possibly conflicting plugin(s), %2$s to Yoast SEO */ + $error_message .= '

    ' . sprintf( __( 'The %1$s plugin might cause issues when used in conjunction with %2$s.', 'wordpress-seo' ), '' . $plugin_name . '', 'Yoast SEO' ) . '

    '; + $error_message .= '

    ' . sprintf( $readable_plugin_section, 'Yoast SEO', $plugin_name ) . '

    '; + + /* translators: %s: 'Facebook' plugin name of possibly conflicting plugin */ + $error_message .= '' . sprintf( __( 'Deactivate %s', 'wordpress-seo' ), $this->get_plugin_name( $plugin_file ) ) . ' '; + + $identifier = $this->get_notification_identifier( $plugin_file ); + + // Add the message to the notifications center. + $notification_center->add_notification( + new Yoast_Notification( + $error_message, + [ + 'type' => Yoast_Notification::ERROR, + 'id' => 'wpseo-conflict-' . $identifier, + ] + ) + ); + } + } + + /** + * Clear the notification for a plugin. + * + * @param string $plugin_file Clear the optional notification for this plugin. + * + * @return void + */ + public function clear_error( $plugin_file ) { + $identifier = $this->get_notification_identifier( $plugin_file ); + + $notification_center = Yoast_Notification_Center::get(); + $notification_center->remove_notification_by_id( 'wpseo-conflict-' . $identifier ); + } + + /** + * Loop through the $this->plugins to check if one of the plugins is active. + * + * This method will store the active plugins in $this->active_plugins. + * + * @return void + */ + protected function search_active_plugins() { + foreach ( $this->plugins as $plugin_section => $plugins ) { + $this->check_plugins_active( $plugins, $plugin_section ); + } + } + + /** + * Loop through plugins and check if each plugin is active. + * + * @param array $plugins Set of plugins. + * @param string $plugin_section Type of conflict group (such as Open Graph or sitemap). + * + * @return void + */ + protected function check_plugins_active( $plugins, $plugin_section ) { + foreach ( $plugins as $plugin ) { + if ( $this->check_plugin_is_active( $plugin ) ) { + $this->add_active_plugin( $plugin_section, $plugin ); + } + } + } + + /** + * Check if given plugin exists in array with all_active_plugins. + * + * @param string $plugin Plugin basename string. + * + * @return bool + */ + protected function check_plugin_is_active( $plugin ) { + return in_array( $plugin, $this->all_active_plugins, true ); + } + + /** + * Add plugin to the list of active plugins. + * + * This method will check first if key $plugin_section exists, if not it will create an empty array + * If $plugin itself doesn't exist it will be added. + * + * @param string $plugin_section Type of conflict group (such as Open Graph or sitemap). + * @param string $plugin Plugin basename string. + * + * @return void + */ + protected function add_active_plugin( $plugin_section, $plugin ) { + if ( ! array_key_exists( $plugin_section, $this->active_conflicting_plugins ) ) { + $this->active_conflicting_plugins[ $plugin_section ] = []; + } + + if ( ! in_array( $plugin, $this->active_conflicting_plugins[ $plugin_section ], true ) ) { + $this->active_conflicting_plugins[ $plugin_section ][] = $plugin; + } + } + + /** + * Search in $this->plugins for the given $plugin. + * + * If there is a result it will return the plugin category. + * + * @param string $plugin Plugin basename string. + * + * @return int|string + */ + protected function find_plugin_category( $plugin ) { + foreach ( $this->plugins as $plugin_section => $plugins ) { + if ( in_array( $plugin, $plugins, true ) ) { + return $plugin_section; + } + } + } + + /** + * Get plugin name from file. + * + * @param string $plugin Plugin path relative to plugins directory. + * + * @return string|bool Plugin name or false when no name is set. + */ + protected function get_plugin_name( $plugin ) { + $plugin_details = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin ); + + if ( $plugin_details['Name'] !== '' ) { + return $plugin_details['Name']; + } + + return false; + } + + /** + * When being in the deactivation process the currently deactivated plugin has to be removed. + * + * @return void + */ + private function remove_deactivated_plugin() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: On the deactivation screen the nonce is already checked by WordPress itself. + if ( ! isset( $_GET['plugin'] ) || ! is_string( $_GET['plugin'] ) ) { + return; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: On the deactivation screen the nonce is already checked by WordPress itself. + $deactivated_plugin = sanitize_text_field( wp_unslash( $_GET['plugin'] ) ); + $key_to_remove = array_search( $deactivated_plugin, $this->all_active_plugins, true ); + + if ( $key_to_remove !== false ) { + unset( $this->all_active_plugins[ $key_to_remove ] ); + } + } + + /** + * Get the identifier from the plugin file. + * + * @param string $plugin_file Plugin file to get Identifier from. + * + * @return string + */ + private function get_notification_identifier( $plugin_file ) { + return md5( $plugin_file ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint-file-size.php b/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint-file-size.php new file mode 100644 index 00000000..9f2bec07 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint-file-size.php @@ -0,0 +1,85 @@ +service = $service; + } + + /** + * Registers the routes for the endpoints. + * + * @return void + */ + public function register() { + $route_args = [ + 'methods' => 'GET', + 'args' => [ + 'url' => [ + 'required' => true, + 'type' => 'string', + 'description' => 'The url to retrieve', + ], + ], + 'callback' => [ + $this->service, + 'get', + ], + 'permission_callback' => [ + $this, + 'can_retrieve_data', + ], + ]; + register_rest_route( self::REST_NAMESPACE, self::ENDPOINT_SINGULAR, $route_args ); + } + + /** + * Determines whether or not data can be retrieved for the registered endpoints. + * + * @return bool Whether or not data can be retrieved. + */ + public function can_retrieve_data() { + return current_user_can( self::CAPABILITY_RETRIEVE ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint-statistics.php b/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint-statistics.php new file mode 100644 index 00000000..392d1c13 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint-statistics.php @@ -0,0 +1,73 @@ +service = $service; + } + + /** + * Registers the REST routes that are available on the endpoint. + * + * @return void + */ + public function register() { + // Register fetch config. + $route_args = [ + 'methods' => 'GET', + 'callback' => [ $this->service, 'get_statistics' ], + 'permission_callback' => [ $this, 'can_retrieve_data' ], + ]; + register_rest_route( self::REST_NAMESPACE, self::ENDPOINT_RETRIEVE, $route_args ); + } + + /** + * Determines whether or not data can be retrieved for the registered endpoints. + * + * @return bool Whether or not data can be retrieved. + */ + public function can_retrieve_data() { + return current_user_can( self::CAPABILITY_RETRIEVE ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint.php b/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint.php new file mode 100644 index 00000000..abbc9d0e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/endpoints/class-endpoint.php @@ -0,0 +1,26 @@ +is_filter_active() ) { + add_action( 'restrict_manage_posts', [ $this, 'render_hidden_input' ] ); + } + + if ( $this->is_filter_active() && $this->get_explanation() !== null ) { + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_explanation_assets' ] ); + } + } + + /** + * Adds the filter links to the view_edit screens to give the user a filter link. + * + * @return void + */ + public function add_filter_links() { + foreach ( $this->get_post_types() as $post_type ) { + add_filter( 'views_edit-' . $post_type, [ $this, 'add_filter_link' ] ); + } + } + + /** + * Enqueues the necessary assets to display a filter explanation. + * + * @return void + */ + public function enqueue_explanation_assets() { + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_script( 'filter-explanation' ); + $asset_manager->enqueue_style( 'filter-explanation' ); + $asset_manager->localize_script( + 'filter-explanation', + 'yoastFilterExplanation', + [ 'text' => $this->get_explanation() ] + ); + } + + /** + * Adds a filter link to the views. + * + * @param array $views Array with the views. + * + * @return array Array of views including the added view. + */ + public function add_filter_link( $views ) { + $views[ 'yoast_' . $this->get_query_val() ] = sprintf( + '%3$s (%4$s)', + esc_url( $this->get_filter_url() ), + ( $this->is_filter_active() ) ? ' class="current" aria-current="page"' : '', + $this->get_label(), + $this->get_post_total() + ); + + return $views; + } + + /** + * Returns a text explaining this filter. Null if no explanation is necessary. + * + * @return string|null The explanation or null. + */ + protected function get_explanation() { + return null; + } + + /** + * Renders a hidden input to preserve this filter's state when using sub-filters. + * + * @return void + */ + public function render_hidden_input() { + echo ''; + } + + /** + * Returns an url to edit.php with post_type and this filter as the query arguments. + * + * @return string The url to activate this filter. + */ + protected function get_filter_url() { + $query_args = [ + self::FILTER_QUERY_ARG => $this->get_query_val(), + 'post_type' => $this->get_current_post_type(), + ]; + + return add_query_arg( $query_args, 'edit.php' ); + } + + /** + * Returns true when the filter is active. + * + * @return bool Whether the filter is active. + */ + protected function is_filter_active() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET[ self::FILTER_QUERY_ARG ] ) && is_string( $_GET[ self::FILTER_QUERY_ARG ] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return sanitize_text_field( wp_unslash( $_GET[ self::FILTER_QUERY_ARG ] ) ) === $this->get_query_val(); + } + return false; + } + + /** + * Returns the current post type. + * + * @return string The current post type. + */ + protected function get_current_post_type() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['post_type'] ) && is_string( $_GET['post_type'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $post_type = sanitize_text_field( wp_unslash( $_GET['post_type'] ) ); + if ( ! empty( $post_type ) ) { + return $post_type; + } + } + return 'post'; + } + + /** + * Returns the post types to which this filter should be added. + * + * @return array The post types to which this filter should be added. + */ + protected function get_post_types() { + return WPSEO_Post_Type::get_accessible_post_types(); + } + + /** + * Checks if the post type is supported. + * + * @param string $post_type Post type to check against. + * + * @return bool True when it is supported. + */ + protected function is_supported_post_type( $post_type ) { + return in_array( $post_type, $this->get_post_types(), true ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/filters/class-cornerstone-filter.php b/wp/wp-content/plugins/wordpress-seo/admin/filters/class-cornerstone-filter.php new file mode 100644 index 00000000..19831289 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/filters/class-cornerstone-filter.php @@ -0,0 +1,150 @@ +is_filter_active() ) { + global $wpdb; + + $where .= $wpdb->prepare( + " AND {$wpdb->posts}.ID IN ( SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key = %s AND meta_value = '1' ) ", + WPSEO_Meta::$meta_prefix . self::META_NAME + ); + } + + return $where; + } + + /** + * Filters the post types that have the metabox disabled. + * + * @param array $post_types The post types to filter. + * + * @return array The filtered post types. + */ + public function filter_metabox_disabled( $post_types ) { + $filtered_post_types = []; + foreach ( $post_types as $post_type_key => $post_type ) { + if ( ! WPSEO_Post_Type::has_metabox_enabled( $post_type_key ) ) { + continue; + } + + $filtered_post_types[ $post_type_key ] = $post_type; + } + + return $filtered_post_types; + } + + /** + * Returns the label for this filter. + * + * @return string The label for this filter. + */ + protected function get_label() { + return __( 'Cornerstone content', 'wordpress-seo' ); + } + + /** + * Returns a text explaining this filter. + * + * @return string|null The explanation. + */ + protected function get_explanation() { + $post_type_object = get_post_type_object( $this->get_current_post_type() ); + + if ( $post_type_object === null ) { + return null; + } + + return sprintf( + /* translators: %1$s expands to the posttype label, %2$s expands anchor to blog post about cornerstone content, %3$s expands to */ + __( 'Mark the most important %1$s as \'cornerstone content\' to improve your site structure. %2$sLearn more about cornerstone content%3$s.', 'wordpress-seo' ), + strtolower( $post_type_object->labels->name ), + '', + '' + ); + } + + /** + * Returns the total amount of articles marked as cornerstone content. + * + * @return int + */ + protected function get_post_total() { + global $wpdb; + + return (int) $wpdb->get_var( + $wpdb->prepare( + "SELECT COUNT( 1 ) + FROM {$wpdb->postmeta} + WHERE post_id IN( SELECT ID FROM {$wpdb->posts} WHERE post_type = %s ) AND + meta_key = %s AND meta_value = '1' + ", + $this->get_current_post_type(), + WPSEO_Meta::$meta_prefix . self::META_NAME + ) + ); + } + + /** + * Returns the post types to which this filter should be added. + * + * @return array The post types to which this filter should be added. + */ + protected function get_post_types() { + /** + * Filter: 'wpseo_cornerstone_post_types' - Filters post types to exclude the cornerstone feature for. + * + * @param array $post_types The accessible post types to filter. + */ + $post_types = apply_filters( 'wpseo_cornerstone_post_types', parent::get_post_types() ); + if ( ! is_array( $post_types ) ) { + return []; + } + + return $post_types; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-metabox-formatter.php b/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-metabox-formatter.php new file mode 100644 index 00000000..cee32bf2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-metabox-formatter.php @@ -0,0 +1,206 @@ +formatter = $formatter; + } + + /** + * Returns the values. + * + * @return array|bool|int> + */ + public function get_values() { + $defaults = $this->get_defaults(); + $values = $this->formatter->get_values(); + + return ( $values + $defaults ); + } + + /** + * Returns array with all the values always needed by a scraper object. + * + * @return array|bool|int> Default settings for the metabox. + */ + private function get_defaults() { + $schema_types = new Schema_Types(); + $host = YoastSEO()->helpers->url->get_url_host( get_site_url() ); + + $defaults = [ + 'author_name' => get_the_author_meta( 'display_name' ), + 'sitewide_social_image' => WPSEO_Options::get( 'og_default_image' ), + 'translations' => $this->get_translations(), + 'keyword_usage' => [], + 'title_template' => '', + 'metadesc_template' => '', + 'showSocial' => [ + 'facebook' => WPSEO_Options::get( 'opengraph', false ), + 'twitter' => WPSEO_Options::get( 'twitter', false ), + ], + 'schema' => [ + 'displayFooter' => WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ), + 'pageTypeOptions' => $schema_types->get_page_type_options(), + 'articleTypeOptions' => $schema_types->get_article_type_options(), + ], + 'twitterCardType' => 'summary_large_image', + 'publish_box' => [ + 'labels' => [ + 'keyword' => [ + 'na' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the SEO score. */ + __( '%1$sSEO%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Not available', 'wordpress-seo' ) . '' + ), + 'bad' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the SEO score. */ + __( '%1$sSEO%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Needs improvement', 'wordpress-seo' ) . '' + ), + 'ok' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the SEO score. */ + __( '%1$sSEO%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'OK', 'wordpress-seo' ) . '' + ), + 'good' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the SEO score. */ + __( '%1$sSEO%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Good', 'wordpress-seo' ) . '' + ), + ], + 'content' => [ + 'na' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the readability score. */ + __( '%1$sReadability%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Not available', 'wordpress-seo' ) . '' + ), + 'bad' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the readability score. */ + __( '%1$sReadability%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Needs improvement', 'wordpress-seo' ) . '' + ), + 'ok' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the readability score. */ + __( '%1$sReadability%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'OK', 'wordpress-seo' ) . '' + ), + 'good' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the readability score. */ + __( '%1$sReadability%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Good', 'wordpress-seo' ) . '' + ), + ], + 'inclusive-language' => [ + 'na' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */ + __( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Not available', 'wordpress-seo' ) . '' + ), + 'bad' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */ + __( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Needs improvement', 'wordpress-seo' ) . '' + ), + 'ok' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */ + __( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Potentially non-inclusive', 'wordpress-seo' ) . '' + ), + 'good' => sprintf( + /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */ + __( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ), + '', + '', + '' . __( 'Good', 'wordpress-seo' ) . '' + ), + ], + ], + ], + /** + * Filter to determine if the markers should be enabled or not. + * + * @param bool $showMarkers Should the markers being enabled. Default = true. + */ + 'show_markers' => apply_filters( 'wpseo_enable_assessment_markers', true ), + 'getJetpackBoostPrePublishLink' => WPSEO_Shortlinker::get( 'https://yoa.st/jetpack-boost-get-prepublish?domain=' . $host ), + 'upgradeJetpackBoostPrePublishLink' => WPSEO_Shortlinker::get( 'https://yoa.st/jetpack-boost-upgrade-prepublish?domain=' . $host ), + 'woocommerceUpsellSchemaLink' => WPSEO_Shortlinker::get( 'https://yoa.st/product-schema-metabox' ), + 'woocommerceUpsellGooglePreviewLink' => WPSEO_Shortlinker::get( 'https://yoa.st/product-google-preview-metabox' ), + ]; + + $integration_information_repo = YoastSEO()->classes->get( Integration_Information_Repository::class ); + + $enabled_integrations = $integration_information_repo->get_integration_information(); + $defaults = array_merge( $defaults, $enabled_integrations ); + $enabled_features_repo = YoastSEO()->classes->get( Enabled_Analysis_Features_Repository::class ); + + $enabled_features = $enabled_features_repo->get_enabled_features()->parse_to_legacy_array(); + return array_merge( $defaults, $enabled_features ); + } + + /** + * Returns Jed compatible YoastSEO.js translations. + * + * @return string[] + */ + private function get_translations() { + $locale = get_user_locale(); + + $file = WPSEO_PATH . 'languages/wordpress-seo-' . $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 []; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-post-metabox-formatter.php b/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-post-metabox-formatter.php new file mode 100644 index 00000000..a9d3e0d0 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-post-metabox-formatter.php @@ -0,0 +1,93 @@ +post = $post; + $this->permalink = $structure; + } + + /** + * Determines whether the social templates should be used. + * + * @deprecated 23.1 + * @codeCoverageIgnore + */ + public function use_social_templates() { + _deprecated_function( __METHOD__, 'Yoast SEO 23.1' ); + } + + /** + * Returns the translated values. + * + * @return array + */ + public function get_values() { + + $values = [ + 'metaDescriptionDate' => '', + ]; + + if ( $this->post instanceof WP_Post ) { + + /** @var Post_Seo_Information_Repository $repo */ + $repo = YoastSEO()->classes->get( Post_Seo_Information_Repository::class ); + $repo->set_post( $this->post ); + + $values_to_set = [ + 'isInsightsEnabled' => $this->is_insights_enabled(), + ]; + + $values = ( $values_to_set + $values ); + $values = ( $repo->get_seo_data() + $values ); + } + + /** + * Filter: 'wpseo_post_edit_values' - Allows changing the values Yoast SEO uses inside the post editor. + * + * @param array $values The key-value map Yoast SEO uses inside the post editor. + * @param WP_Post $post The post opened in the editor. + */ + return apply_filters( 'wpseo_post_edit_values', $values, $this->post ); + } + + /** + * Determines whether the insights feature is enabled for this post. + * + * @return bool + */ + protected function is_insights_enabled() { + return WPSEO_Options::get( 'enable_metabox_insights', false ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-term-metabox-formatter.php b/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-term-metabox-formatter.php new file mode 100644 index 00000000..29218d38 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/formatter/class-term-metabox-formatter.php @@ -0,0 +1,98 @@ +taxonomy = $taxonomy; + $this->term = $term; + + $this->use_social_templates = $this->use_social_templates(); + } + + /** + * Determines whether the social templates should be used. + * + * @return bool Whether the social templates should be used. + */ + public function use_social_templates() { + return WPSEO_Options::get( 'opengraph', false ) === true; + } + + /** + * Returns the translated values. + * + * @return array + */ + public function get_values() { + $values = []; + + // Todo: a column needs to be added on the termpages to add a filter for the keyword, so this can be used in the focus keyphrase doubles. + if ( is_object( $this->term ) && property_exists( $this->term, 'taxonomy' ) ) { + $values = [ + 'taxonomy' => $this->term->taxonomy, + 'semrushIntegrationActive' => 0, + 'wincherIntegrationActive' => 0, + 'isInsightsEnabled' => $this->is_insights_enabled(), + ]; + + $repo = YoastSEO()->classes->get( Term_Seo_Information_Repository::class ); + $repo->set_term( $this->term ); + $values = ( $repo->get_seo_data() + $values ); + } + + return $values; + } + + /** + * Determines whether the insights feature is enabled for this taxonomy. + * + * @return bool + */ + protected function is_insights_enabled() { + return WPSEO_Options::get( 'enable_metabox_insights', false ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/formatter/interface-metabox-formatter.php b/wp/wp-content/plugins/wordpress-seo/admin/formatter/interface-metabox-formatter.php new file mode 100644 index 00000000..8c220480 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/formatter/interface-metabox-formatter.php @@ -0,0 +1,19 @@ +admin_header( false, 'wpseo-gsc', false, 'yoast_wpseo_gsc_options' ); + +// GSC Error notification. +$gsc_url = 'https://search.google.com/search-console/index'; +$gsc_post_url = 'https://yoa.st/google-search-console-deprecated'; +$gsc_style_alert = ' + display: flex; + align-items: baseline; + position: relative; + padding: 16px; + border: 1px solid rgba(0, 0, 0, 0.2); + font-size: 14px; + font-weight: 400; + line-height: 1.5; + margin: 16px 0; + color: #450c11; + background: #f8d7da; +'; +$gsc_style_alert_icon = 'display: block; margin-right: 8px;'; +$gsc_style_alert_content = 'max-width: 600px;'; +$gsc_style_alert_link = 'color: #004973;'; +$gsc_notification = sprintf( + /* Translators: %1$s: expands to opening anchor tag, %2$s expands to closing anchor tag. */ + __( 'Google has discontinued its Crawl Errors API. Therefore, any possible crawl errors you might have cannot be displayed here anymore. %1$sRead our statement on this for further information%2$s.', 'wordpress-seo' ), + '', + WPSEO_Admin_Utils::get_new_tab_message() . '' +); +$gsc_notification .= '

    '; +$gsc_notification .= sprintf( + /* Translators: %1$s: expands to opening anchor tag, %2$s expands to closing anchor tag. */ + __( 'To view your current crawl errors, %1$splease visit Google Search Console%2$s.', 'wordpress-seo' ), + '', + WPSEO_Admin_Utils::get_new_tab_message() . '' +); +?> +
    + + + + +
    +'; +printf( + /* Translators: %s: expands to Yoast SEO Premium */ + esc_html__( 'Creating redirects is a %s feature', 'wordpress-seo' ), + 'Yoast SEO Premium' +); +echo ''; +echo '

    '; +printf( + /* Translators: %1$s: expands to 'Yoast SEO Premium', %2$s: links to Yoast SEO Premium plugin page. */ + esc_html__( 'To be able to create a redirect and fix this issue, you need %1$s. You can buy the plugin, including one year of support and updates, on %2$s.', 'wordpress-seo' ), + 'Yoast SEO Premium', + 'yoast.com' +); +echo '

    '; +echo ''; diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-detector.php b/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-detector.php new file mode 100644 index 00000000..48d31cc1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-detector.php @@ -0,0 +1,36 @@ +status->status ) { + $this->needs_import[ $importer_class ] = $importer->get_plugin_name(); + } + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-plugin.php b/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-plugin.php new file mode 100644 index 00000000..d71fff83 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-plugin.php @@ -0,0 +1,63 @@ +importer = $importer; + + switch ( $action ) { + case 'cleanup': + $this->status = $this->importer->run_cleanup(); + break; + case 'import': + $this->status = $this->importer->run_import(); + break; + case 'detect': + default: + $this->status = $this->importer->run_detect(); + } + + $this->status->set_msg( $this->complete_msg( $this->status->get_msg() ) ); + } + + /** + * Convenience function to replace %s with plugin name in import message. + * + * @param string $msg Message string. + * + * @return string Returns message with plugin name instead of replacement variables. + */ + protected function complete_msg( $msg ) { + return sprintf( $msg, $this->importer->get_plugin_name() ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-settings.php b/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-settings.php new file mode 100644 index 00000000..3bec4c8f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-settings.php @@ -0,0 +1,127 @@ +status = new WPSEO_Import_Status( 'import', false ); + } + + /** + * Imports the data submitted by the user. + * + * @return void + */ + public function import() { + check_admin_referer( self::NONCE_ACTION ); + + if ( ! WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ) { + return; + } + + if ( ! isset( $_POST['settings_import'] ) || ! is_string( $_POST['settings_import'] ) ) { + return; + } + + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: The raw content will be parsed afterwards. + $content = wp_unslash( $_POST['settings_import'] ); + + if ( empty( $content ) ) { + return; + } + + $this->parse_options( $content ); + } + + /** + * Parse the options. + * + * @param string $raw_options The content to parse. + * + * @return void + */ + protected function parse_options( $raw_options ) { + $options = parse_ini_string( $raw_options, true, INI_SCANNER_RAW ); + + if ( is_array( $options ) && $options !== [] ) { + $this->import_options( $options ); + + return; + } + + $this->status->set_msg( __( 'Settings could not be imported:', 'wordpress-seo' ) . ' ' . __( 'No settings found.', 'wordpress-seo' ) ); + } + + /** + * Parse the option group and import it. + * + * @param string $name Name string. + * @param array $option_group Option group data. + * @param array $options Options data. + * + * @return void + */ + protected function parse_option_group( $name, $option_group, $options ) { + // Make sure that the imported options are cleaned/converted on import. + $option_instance = WPSEO_Options::get_option_instance( $name ); + if ( is_object( $option_instance ) && method_exists( $option_instance, 'import' ) ) { + $option_instance->import( $option_group, $this->old_wpseo_version, $options ); + } + } + + /** + * Imports the options if found. + * + * @param array $options The options parsed from the provided settings. + * + * @return void + */ + protected function import_options( $options ) { + if ( isset( $options['wpseo']['version'] ) && $options['wpseo']['version'] !== '' ) { + $this->old_wpseo_version = $options['wpseo']['version']; + } + + foreach ( $options as $name => $option_group ) { + $this->parse_option_group( $name, $option_group, $options ); + } + + $this->status->set_msg( __( 'Settings successfully imported.', 'wordpress-seo' ) ); + $this->status->set_status( true ); + + // Reset the cached option values. + WPSEO_Options::clear_cache(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-status.php b/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-status.php new file mode 100644 index 00000000..c105d4a7 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/class-import-status.php @@ -0,0 +1,131 @@ +action = $action; + $this->status = $status; + $this->msg = $msg; + } + + /** + * Get the import message. + * + * @return string Message about current status. + */ + public function get_msg() { + if ( $this->msg !== '' ) { + return $this->msg; + } + + if ( $this->status === false ) { + /* translators: %s is replaced with the name of the plugin we're trying to find data from. */ + return __( '%s data not found.', 'wordpress-seo' ); + } + + return $this->get_default_success_message(); + } + + /** + * Get the import action. + * + * @return string Import action type. + */ + public function get_action() { + return $this->action; + } + + /** + * Set the import action, set status to false. + * + * @param string $action The type of action to set as import action. + * + * @return void + */ + public function set_action( $action ) { + $this->action = $action; + $this->status = false; + } + + /** + * Sets the importer status message. + * + * @param string $msg The message to set. + * + * @return void + */ + public function set_msg( $msg ) { + $this->msg = $msg; + } + + /** + * Sets the importer status. + * + * @param bool $status The status to set. + * + * @return WPSEO_Import_Status The current object. + */ + public function set_status( $status ) { + $this->status = (bool) $status; + + return $this; + } + + /** + * Returns a success message depending on the action. + * + * @return string Returns a success message for the current action. + */ + private function get_default_success_message() { + switch ( $this->action ) { + case 'import': + /* translators: %s is replaced with the name of the plugin we're importing data from. */ + return __( '%s data successfully imported.', 'wordpress-seo' ); + case 'cleanup': + /* translators: %s is replaced with the name of the plugin we're removing data from. */ + return __( '%s data successfully removed.', 'wordpress-seo' ); + case 'detect': + default: + /* translators: %s is replaced with the name of the plugin we've found data from. */ + return __( '%s data found.', 'wordpress-seo' ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-abstract-plugin-importer.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-abstract-plugin-importer.php new file mode 100644 index 00000000..6f5674f2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-abstract-plugin-importer.php @@ -0,0 +1,329 @@ +plugin_name; + } + + /** + * Imports the settings and post meta data from another SEO plugin. + * + * @return WPSEO_Import_Status Import status object. + */ + public function run_import() { + $this->status = new WPSEO_Import_Status( 'import', false ); + + if ( ! $this->detect() ) { + return $this->status; + } + + $this->status->set_status( $this->import() ); + + // Flush the entire cache, as we no longer know what's valid and what's not. + wp_cache_flush(); + + return $this->status; + } + + /** + * Handles post meta data to import. + * + * @return bool Import success status. + */ + protected function import() { + return $this->meta_keys_clone( $this->clone_keys ); + } + + /** + * Removes the plugin data from the database. + * + * @return WPSEO_Import_Status Import status object. + */ + public function run_cleanup() { + $this->status = new WPSEO_Import_Status( 'cleanup', false ); + + if ( ! $this->detect() ) { + return $this->status; + } + + return $this->status->set_status( $this->cleanup() ); + } + + /** + * Removes the plugin data from the database. + * + * @return bool Cleanup status. + */ + protected function cleanup() { + global $wpdb; + if ( empty( $this->meta_key ) ) { + return true; + } + $wpdb->query( + $wpdb->prepare( + "DELETE FROM {$wpdb->postmeta} WHERE meta_key LIKE %s", + $this->meta_key + ) + ); + $result = $wpdb->__get( 'result' ); + if ( ! $result ) { + $this->cleanup_error_msg(); + } + + return $result; + } + + /** + * Sets the status message for when a cleanup has gone bad. + * + * @return void + */ + protected function cleanup_error_msg() { + /* translators: %s is replaced with the plugin's name. */ + $this->status->set_msg( sprintf( __( 'Cleanup of %s data failed.', 'wordpress-seo' ), $this->plugin_name ) ); + } + + /** + * Detects whether an import for this plugin is needed. + * + * @return WPSEO_Import_Status Import status object. + */ + public function run_detect() { + $this->status = new WPSEO_Import_Status( 'detect', false ); + + if ( ! $this->detect() ) { + return $this->status; + } + + return $this->status->set_status( true ); + } + + /** + * Detects whether there is post meta data to import. + * + * @return bool Boolean indicating whether there is something to import. + */ + protected function detect() { + global $wpdb; + + $meta_keys = wp_list_pluck( $this->clone_keys, 'old_key' ); + $result = $wpdb->get_var( + $wpdb->prepare( + "SELECT COUNT(*) AS `count` + FROM {$wpdb->postmeta} + WHERE meta_key IN ( " . implode( ', ', array_fill( 0, count( $meta_keys ), '%s' ) ) . ' )', + $meta_keys + ) + ); + + if ( $result === '0' ) { + return false; + } + + return true; + } + + /** + * Helper function to clone meta keys and (optionally) change their values in bulk. + * + * @param string $old_key The existing meta key. + * @param string $new_key The new meta key. + * @param array $replace_values An array, keys old value, values new values. + * + * @return bool Clone status. + */ + protected function meta_key_clone( $old_key, $new_key, $replace_values = [] ) { + global $wpdb; + + // First we create a temp table with all the values for meta_key. + $result = $wpdb->query( + $wpdb->prepare( + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange -- This is intentional + temporary. + "CREATE TEMPORARY TABLE tmp_meta_table SELECT * FROM {$wpdb->postmeta} WHERE meta_key = %s", + $old_key + ) + ); + if ( $result === false ) { + $this->set_missing_db_rights_status(); + return false; + } + + // Delete all the values in our temp table for posts that already have data for $new_key. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM tmp_meta_table WHERE post_id IN ( SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key = %s )", + WPSEO_Meta::$meta_prefix . $new_key + ) + ); + + /* + * We set meta_id to NULL so on re-insert into the postmeta table, MYSQL can set + * new meta_id's and we don't get duplicates. + */ + $wpdb->query( 'UPDATE tmp_meta_table SET meta_id = NULL' ); + + // Now we rename the meta_key. + $wpdb->query( + $wpdb->prepare( + 'UPDATE tmp_meta_table SET meta_key = %s', + WPSEO_Meta::$meta_prefix . $new_key + ) + ); + + $this->meta_key_clone_replace( $replace_values ); + + // With everything done, we insert all our newly cloned lines into the postmeta table. + $wpdb->query( "INSERT INTO {$wpdb->postmeta} SELECT * FROM tmp_meta_table" ); + + // Now we drop our temporary table. + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange -- This is intentional + a temporary table. + $wpdb->query( 'DROP TEMPORARY TABLE IF EXISTS tmp_meta_table' ); + + return true; + } + + /** + * Clones multiple meta keys. + * + * @param array $clone_keys The keys to clone. + * + * @return bool Success status. + */ + protected function meta_keys_clone( $clone_keys ) { + foreach ( $clone_keys as $clone_key ) { + $result = $this->meta_key_clone( $clone_key['old_key'], $clone_key['new_key'], ( $clone_key['convert'] ?? [] ) ); + if ( ! $result ) { + return false; + } + } + return true; + } + + /** + * Sets the import status to false and returns a message about why it failed. + * + * @return void + */ + protected function set_missing_db_rights_status() { + $this->status->set_status( false ); + /* translators: %s is replaced with Yoast SEO. */ + $this->status->set_msg( sprintf( __( 'The %s importer functionality uses temporary database tables. It seems your WordPress install does not have the capability to do this, please consult your hosting provider.', 'wordpress-seo' ), 'Yoast SEO' ) ); + } + + /** + * Helper function to search for a key in an array and maybe save it as a meta field. + * + * @param string $plugin_key The key in the $data array to check. + * @param string $yoast_key The identifier we use in our meta settings. + * @param array $data The array of data for this post to sift through. + * @param int $post_id The post ID. + * + * @return void + */ + protected function import_meta_helper( $plugin_key, $yoast_key, $data, $post_id ) { + if ( ! empty( $data[ $plugin_key ] ) ) { + $this->maybe_save_post_meta( $yoast_key, $data[ $plugin_key ], $post_id ); + } + } + + /** + * Saves a post meta value if it doesn't already exist. + * + * @param string $new_key The key to save. + * @param mixed $value The value to set the key to. + * @param int $post_id The Post to save the meta for. + * + * @return void + */ + protected function maybe_save_post_meta( $new_key, $value, $post_id ) { + // Big. Fat. Sigh. Mostly used for _yst_is_cornerstone, but might be useful for other hidden meta's. + $key = WPSEO_Meta::$meta_prefix . $new_key; + $wpseo_meta = true; + if ( substr( $new_key, 0, 1 ) === '_' ) { + $key = $new_key; + $wpseo_meta = false; + } + + $existing_value = get_post_meta( $post_id, $key, true ); + if ( empty( $existing_value ) ) { + if ( $wpseo_meta ) { + WPSEO_Meta::set_value( $new_key, $value, $post_id ); + return; + } + update_post_meta( $post_id, $new_key, $value ); + } + } + + /** + * Replaces values in our temporary table according to our settings. + * + * @param array $replace_values Key value pair of values to replace with other values. + * + * @return void + */ + protected function meta_key_clone_replace( $replace_values ) { + global $wpdb; + + // Now we replace values if needed. + if ( is_array( $replace_values ) && $replace_values !== [] ) { + foreach ( $replace_values as $old_value => $new_value ) { + $wpdb->query( + $wpdb->prepare( + 'UPDATE tmp_meta_table SET meta_value = %s WHERE meta_value = %s', + $new_value, + $old_value + ) + ); + } + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-aioseo-v4.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-aioseo-v4.php new file mode 100644 index 00000000..122ce46d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-aioseo-v4.php @@ -0,0 +1,241 @@ + '_aioseo_title', + 'new_key' => 'title', + ], + [ + 'old_key' => '_aioseo_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_aioseo_og_title', + 'new_key' => 'opengraph-title', + ], + [ + 'old_key' => '_aioseo_og_description', + 'new_key' => 'opengraph-description', + ], + [ + 'old_key' => '_aioseo_twitter_title', + 'new_key' => 'twitter-title', + ], + [ + 'old_key' => '_aioseo_twitter_description', + 'new_key' => 'twitter-description', + ], + ]; + + /** + * Mapping between the AiOSEO replace vars and the Yoast replace vars. + * + * @var array + * + * @see https://yoast.com/help/list-available-snippet-variables-yoast-seo/ + */ + protected $replace_vars = [ + // They key is the AiOSEO replace var, the value is the Yoast replace var (see class-wpseo-replace-vars). + '#author_first_name' => '%%author_first_name%%', + '#author_last_name' => '%%author_last_name%%', + '#author_name' => '%%name%%', + '#categories' => '%%category%%', + '#current_date' => '%%currentdate%%', + '#current_day' => '%%currentday%%', + '#current_month' => '%%currentmonth%%', + '#current_year' => '%%currentyear%%', + '#permalink' => '%%permalink%%', + '#post_content' => '%%post_content%%', + '#post_date' => '%%date%%', + '#post_day' => '%%post_day%%', + '#post_month' => '%%post_month%%', + '#post_title' => '%%title%%', + '#post_year' => '%%post_year%%', + '#post_excerpt_only' => '%%excerpt_only%%', + '#post_excerpt' => '%%excerpt%%', + '#separator_sa' => '%%sep%%', + '#site_title' => '%%sitename%%', + '#tagline' => '%%sitedesc%%', + '#taxonomy_title' => '%%category_title%%', + ]; + + /** + * Replaces the AiOSEO variables in our temporary table with Yoast variables (replace vars). + * + * @param array $replace_values Key value pair of values to replace with other values. This is only used in the base class but not here. + * That is because this class doesn't have any `convert` keys in `$clone_keys`. + * For that reason, we're overwriting the base class' `meta_key_clone_replace()` function without executing that base functionality. + * + * @return void + */ + protected function meta_key_clone_replace( $replace_values ) { + global $wpdb; + + // At this point we're already looping through all the $clone_keys (this happens in meta_keys_clone() in the abstract class). + // Now, we'll also loop through the replace_vars array, which holds the mappings between the AiOSEO variables and the Yoast variables. + // We'll replace all the AiOSEO variables in the temporary table with their Yoast equivalents. + foreach ( $this->replace_vars as $aioseo_variable => $yoast_variable ) { + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: We need this query and this is done at many other places as well, for example class-import-rankmath. + $wpdb->query( + $wpdb->prepare( + 'UPDATE tmp_meta_table SET meta_value = REPLACE( meta_value, %s, %s )', + $aioseo_variable, + $yoast_variable + ) + ); + } + + // The AiOSEO custom fields take the form of `#custom_field-myfield`. + // These should be mapped to %%cf_myfield%%. + $meta_values_with_custom_fields = $this->get_meta_values_with_custom_field_or_taxonomy( $wpdb, 'custom_field' ); + $unique_custom_fields = $this->get_unique_custom_fields_or_taxonomies( $meta_values_with_custom_fields, 'custom_field' ); + $this->replace_custom_field_or_taxonomy_replace_vars( $unique_custom_fields, $wpdb, 'custom_field', 'cf' ); + + // Map `#tax_name-{tax-slug}` to `%%ct_{tax-slug}%%``. + $meta_values_with_custom_taxonomies = $this->get_meta_values_with_custom_field_or_taxonomy( $wpdb, 'tax_name' ); + $unique_custom_taxonomies = $this->get_unique_custom_fields_or_taxonomies( $meta_values_with_custom_taxonomies, 'tax_name' ); + $this->replace_custom_field_or_taxonomy_replace_vars( $unique_custom_taxonomies, $wpdb, 'tax_name', 'ct' ); + } + + /** + * Filters out all unique custom fields/taxonomies/etc. used in an AiOSEO replace var. + * + * @param string[] $meta_values An array of all the meta values that + * contain one or more AIOSEO custom field replace vars + * (in the form `#custom_field-xyz`). + * @param string $aioseo_prefix The AiOSEO prefix to use + * (e.g. `custom-field` for custom fields or `tax_name` for custom taxonomies). + * + * @return string[] An array of all the unique custom fields/taxonomies/etc. used in the replace vars. + * E.g. `xyz` in the above example. + */ + protected function get_unique_custom_fields_or_taxonomies( $meta_values, $aioseo_prefix ) { + $unique_custom_fields_or_taxonomies = []; + + foreach ( $meta_values as $meta_value ) { + // Find all custom field replace vars, store them in `$matches`. + preg_match_all( + "/#$aioseo_prefix-([\w-]+)/", + $meta_value, + $matches + ); + + /* + * `$matches[1]` contain the captured matches of the + * first capturing group (the `([\w-]+)` in the regex above). + */ + $custom_fields_or_taxonomies = $matches[1]; + + foreach ( $custom_fields_or_taxonomies as $custom_field_or_taxonomy ) { + $unique_custom_fields_or_taxonomies[ trim( $custom_field_or_taxonomy ) ] = 1; + } + } + + return array_keys( $unique_custom_fields_or_taxonomies ); + } + + /** + * Replaces every AIOSEO custom field/taxonomy/etc. replace var with the Yoast version. + * + * E.g. `#custom_field-xyz` becomes `%%cf_xyz%%`. + * + * @param string[] $unique_custom_fields_or_taxonomies An array of unique custom fields to replace the replace vars of. + * @param wpdb $wpdb The WordPress database object. + * @param string $aioseo_prefix The AiOSEO prefix to use + * (e.g. `custom-field` for custom fields or `tax_name` for custom taxonomies). + * @param string $yoast_prefix The Yoast prefix to use (e.g. `cf` for custom fields). + * + * @return void + */ + protected function replace_custom_field_or_taxonomy_replace_vars( $unique_custom_fields_or_taxonomies, $wpdb, $aioseo_prefix, $yoast_prefix ) { + foreach ( $unique_custom_fields_or_taxonomies as $unique_custom_field_or_taxonomy ) { + $aioseo_variable = "#{$aioseo_prefix}-{$unique_custom_field_or_taxonomy}"; + $yoast_variable = "%%{$yoast_prefix}_{$unique_custom_field_or_taxonomy}%%"; + + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching + $wpdb->query( + $wpdb->prepare( + 'UPDATE tmp_meta_table SET meta_value = REPLACE( meta_value, %s, %s )', + $aioseo_variable, + $yoast_variable + ) + ); + } + } + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching + + /** + * Retrieve all the meta values from the temporary meta table that contain + * at least one AiOSEO custom field replace var. + * + * @param wpdb $wpdb The WordPress database object. + * @param string $aioseo_prefix The AiOSEO prefix to use + * (e.g. `custom-field` for custom fields or `tax_name` for custom taxonomies). + * + * @return string[] All meta values that contain at least one AioSEO custom field replace var. + */ + protected function get_meta_values_with_custom_field_or_taxonomy( $wpdb, $aioseo_prefix ) { + return $wpdb->get_col( + $wpdb->prepare( + 'SELECT meta_value FROM tmp_meta_table WHERE meta_value LIKE %s', + "%#$aioseo_prefix-%" + ) + ); + } + + // phpcs:enable WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching + + /** + * Detects whether there is AIOSEO data to import by looking whether the AIOSEO data have been cleaned up. + * + * @return bool Boolean indicating whether there is something to import. + */ + protected function detect() { + $aioseo_cleanup_action = YoastSEO()->classes->get( Aioseo_Cleanup_Action::class ); + return ( $aioseo_cleanup_action->get_total_unindexed() > 0 ); + } + + /** + * Import AIOSEO post data from their custom indexable table. Not currently used. + * + * @return void + */ + protected function import() { + // This is overriden from the import.js and never run. + $aioseo_posts_import_action = YoastSEO()->classes->get( Aioseo_Posts_Importing_Action::class ); + $aioseo_posts_import_action->index(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-aioseo.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-aioseo.php new file mode 100644 index 00000000..cf7ab491 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-aioseo.php @@ -0,0 +1,110 @@ + 'opengraph-title', + 'aioseop_opengraph_settings_desc' => 'opengraph-description', + 'aioseop_opengraph_settings_customimg' => 'opengraph-image', + 'aioseop_opengraph_settings_customimg_twitter' => 'twitter-image', + ]; + + /** + * Array of meta keys to detect and import. + * + * @var array + */ + protected $clone_keys = [ + [ + 'old_key' => '_aioseop_title', + 'new_key' => 'title', + ], + [ + 'old_key' => '_aioseop_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_aioseop_noindex', + 'new_key' => 'meta-robots-noindex', + 'convert' => [ 'on' => 1 ], + ], + [ + 'old_key' => '_aioseop_nofollow', + 'new_key' => 'meta-robots-nofollow', + 'convert' => [ 'on' => 1 ], + ], + ]; + + /** + * Import All In One SEO meta values. + * + * @return bool Import success status. + */ + protected function import() { + $status = parent::import(); + if ( $status ) { + $this->import_opengraph(); + } + return $status; + } + + /** + * Imports the OpenGraph and Twitter settings for all posts. + * + * @return bool + */ + protected function import_opengraph() { + $query_posts = new WP_Query( 'post_type=any&meta_key=_aioseop_opengraph_settings&order=ASC&fields=ids&nopaging=true' ); + + if ( ! empty( $query_posts->posts ) ) { + foreach ( array_values( $query_posts->posts ) as $post_id ) { + $this->import_post_opengraph( $post_id ); + } + } + + return true; + } + + /** + * Imports the OpenGraph and Twitter settings for a single post. + * + * @param int $post_id Post ID. + * + * @return void + */ + private function import_post_opengraph( $post_id ) { + $meta = get_post_meta( $post_id, '_aioseop_opengraph_settings', true ); + $meta = maybe_unserialize( $meta ); + + foreach ( $this->import_keys as $old_key => $new_key ) { + $this->maybe_save_post_meta( $new_key, $meta[ $old_key ], $post_id ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-greg-high-performance-seo.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-greg-high-performance-seo.php new file mode 100644 index 00000000..8925421f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-greg-high-performance-seo.php @@ -0,0 +1,42 @@ + '_ghpseo_alternative_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_ghpseo_secondary_title', + 'new_key' => 'title', + ], + ]; +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-headspace.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-headspace.php new file mode 100644 index 00000000..3a43d169 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-headspace.php @@ -0,0 +1,54 @@ + '_headspace_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_headspace_page_title', + 'new_key' => 'title', + ], + [ + 'old_key' => '_headspace_noindex', + 'new_key' => 'meta-robots-noindex', + 'convert' => [ 'on' => 1 ], + ], + [ + 'old_key' => '_headspace_nofollow', + 'new_key' => 'meta-robots-nofollow', + 'convert' => [ 'on' => 1 ], + ], + ]; +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-jetpack.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-jetpack.php new file mode 100644 index 00000000..5f57d816 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-jetpack.php @@ -0,0 +1,40 @@ + 'advanced_seo_description', + 'new_key' => 'metadesc', + ], + ]; +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-platinum-seo-pack.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-platinum-seo-pack.php new file mode 100644 index 00000000..16a5ce9e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-platinum-seo-pack.php @@ -0,0 +1,138 @@ + 'description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => 'title', + 'new_key' => 'title', + ], + ]; + + /** + * Runs the import of post meta keys stored by Platinum SEO Pack. + * + * @return bool + */ + protected function import() { + $return = parent::import(); + if ( $return ) { + $this->import_robots_meta(); + } + + return $return; + } + + /** + * Cleans up all the meta values Platinum SEO pack creates. + * + * @return bool + */ + protected function cleanup() { + $this->meta_key = 'title'; + parent::cleanup(); + + $this->meta_key = 'description'; + parent::cleanup(); + + $this->meta_key = 'metarobots'; + parent::cleanup(); + + return true; + } + + /** + * Finds all the robotsmeta fields to import and deals with them. + * + * There are four potential values that Platinum SEO stores: + * - index,folllow + * - index,nofollow + * - noindex,follow + * - noindex,nofollow + * + * We only have to deal with the latter 3, the first is our default. + * + * @return void + */ + protected function import_robots_meta() { + $this->import_by_meta_robots( 'index,nofollow', [ 'nofollow' ] ); + $this->import_by_meta_robots( 'noindex,follow', [ 'noindex' ] ); + $this->import_by_meta_robots( 'noindex,nofollow', [ 'noindex', 'nofollow' ] ); + } + + /** + * Imports the values for all index, nofollow posts. + * + * @param string $value The meta robots value to find posts for. + * @param array $metas The meta field(s) to save. + * + * @return void + */ + protected function import_by_meta_robots( $value, $metas ) { + $posts = $this->find_posts_by_robots_meta( $value ); + if ( ! $posts ) { + return; + } + + foreach ( $posts as $post_id ) { + foreach ( $metas as $meta ) { + $this->maybe_save_post_meta( 'meta-robots-' . $meta, 1, $post_id ); + } + } + } + + /** + * Finds posts by a given meta robots value. + * + * @param string $meta_value Robots meta value. + * + * @return array|bool Array of Post IDs on success, false on failure. + */ + protected function find_posts_by_robots_meta( $meta_value ) { + $posts = get_posts( + [ + 'post_type' => 'any', + 'meta_key' => 'robotsmeta', + 'meta_value' => $meta_value, + 'order' => 'ASC', + 'fields' => 'ids', + 'nopaging' => true, + ] + ); + if ( empty( $posts ) ) { + return false; + } + return $posts; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-premium-seo-pack.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-premium-seo-pack.php new file mode 100644 index 00000000..bd93b91e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-premium-seo-pack.php @@ -0,0 +1,39 @@ +table_name = $wpdb->prefix . 'psp'; + $this->meta_key = ''; + } + + /** + * Returns the query to return an identifier for the posts to import. + * + * @return string + */ + protected function retrieve_posts_query() { + return "SELECT URL AS identifier FROM {$this->table_name} WHERE blog_id = %d"; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-rankmath.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-rankmath.php new file mode 100644 index 00000000..68e7c0c1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-rankmath.php @@ -0,0 +1,179 @@ + 'rank_math_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => 'rank_math_title', + 'new_key' => 'title', + ], + [ + 'old_key' => 'rank_math_canonical_url', + 'new_key' => 'canonical', + ], + [ + 'old_key' => 'rank_math_primary_category', + 'new_key' => 'primary_category', + ], + [ + 'old_key' => 'rank_math_facebook_title', + 'new_key' => 'opengraph-title', + ], + [ + 'old_key' => 'rank_math_facebook_description', + 'new_key' => 'opengraph-description', + ], + [ + 'old_key' => 'rank_math_facebook_image', + 'new_key' => 'opengraph-image', + ], + [ + 'old_key' => 'rank_math_facebook_image_id', + 'new_key' => 'opengraph-image-id', + ], + [ + 'old_key' => 'rank_math_twitter_title', + 'new_key' => 'twitter-title', + ], + [ + 'old_key' => 'rank_math_twitter_description', + 'new_key' => 'twitter-description', + ], + [ + 'old_key' => 'rank_math_twitter_image', + 'new_key' => 'twitter-image', + ], + [ + 'old_key' => 'rank_math_twitter_image_id', + 'new_key' => 'twitter-image-id', + ], + [ + 'old_key' => 'rank_math_focus_keyword', + 'new_key' => 'focuskw', + ], + ]; + + /** + * Handles post meta data to import. + * + * @return bool Import success status. + */ + protected function import() { + global $wpdb; + // Replace % with %% as their variables are the same except for that. + $wpdb->query( "UPDATE $wpdb->postmeta SET meta_value = REPLACE( meta_value, '%', '%%' ) WHERE meta_key IN ( 'rank_math_description', 'rank_math_title' )" ); + + $this->import_meta_robots(); + $return = $this->meta_keys_clone( $this->clone_keys ); + + // Return %% to % so our import is non-destructive. + $wpdb->query( "UPDATE $wpdb->postmeta SET meta_value = REPLACE( meta_value, '%%', '%' ) WHERE meta_key IN ( 'rank_math_description', 'rank_math_title' )" ); + + if ( $return ) { + $this->import_settings(); + } + + return $return; + } + + /** + * RankMath stores robots meta quite differently, so we have to parse it out. + * + * @return void + */ + private function import_meta_robots() { + global $wpdb; + $post_metas = $wpdb->get_results( "SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'rank_math_robots'" ); + foreach ( $post_metas as $post_meta ) { + // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions -- Reason: We can't control the form in which Rankmath sends the data. + $robots_values = unserialize( $post_meta->meta_value ); + foreach ( [ 'noindex', 'nofollow' ] as $directive ) { + $directive_key = array_search( $directive, $robots_values, true ); + if ( $directive_key !== false ) { + update_post_meta( $post_meta->post_id, '_yoast_wpseo_meta-robots-' . $directive, 1 ); + unset( $robots_values[ $directive_key ] ); + } + } + if ( count( $robots_values ) > 0 ) { + $value = implode( ',', $robots_values ); + update_post_meta( $post_meta->post_id, '_yoast_wpseo_meta-robots-adv', $value ); + } + } + } + + /** + * Imports some of the RankMath settings. + * + * @return void + */ + private function import_settings() { + $settings = [ + 'title_separator' => 'separator', + 'homepage_title' => 'title-home-wpseo', + 'homepage_description' => 'metadesc-home-wpseo', + 'author_archive_title' => 'title-author-wpseo', + 'date_archive_title' => 'title-archive-wpseo', + 'search_title' => 'title-search-wpseo', + '404_title' => 'title-404-wpseo', + 'pt_post_title' => 'title-post', + 'pt_page_title' => 'title-page', + ]; + $options = get_option( 'rank-math-options-titles' ); + + foreach ( $settings as $import_setting_key => $setting_key ) { + if ( ! empty( $options[ $import_setting_key ] ) ) { + $value = $options[ $import_setting_key ]; + // Make sure replace vars work. + $value = str_replace( '%', '%%', $value ); + WPSEO_Options::set( $setting_key, $value ); + } + } + } + + /** + * Removes the plugin data from the database. + * + * @return bool Cleanup status. + */ + protected function cleanup() { + $return = parent::cleanup(); + if ( $return ) { + global $wpdb; + $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE 'rank-math-%'" ); + $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '%rank_math%'" ); + } + + return $return; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-seo-framework.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-seo-framework.php new file mode 100644 index 00000000..8a8ac9e1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-seo-framework.php @@ -0,0 +1,94 @@ + '_genesis_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_genesis_title', + 'new_key' => 'title', + ], + [ + 'old_key' => '_genesis_noindex', + 'new_key' => 'meta-robots-noindex', + ], + [ + 'old_key' => '_genesis_nofollow', + 'new_key' => 'meta-robots-nofollow', + ], + [ + 'old_key' => '_genesis_canonical_uri', + 'new_key' => 'canonical', + ], + [ + 'old_key' => '_open_graph_title', + 'new_key' => 'opengraph-title', + ], + [ + 'old_key' => '_open_graph_description', + 'new_key' => 'opengraph-description', + ], + [ + 'old_key' => '_social_image_url', + 'new_key' => 'opengraph-image', + ], + [ + 'old_key' => '_twitter_title', + 'new_key' => 'twitter-title', + ], + [ + 'old_key' => '_twitter_description', + 'new_key' => 'twitter-description', + ], + ]; + + /** + * Removes all the metadata set by the SEO Framework plugin. + * + * @return bool + */ + protected function cleanup() { + $set1 = parent::cleanup(); + + $this->meta_key = '_social_image_%'; + $set2 = parent::cleanup(); + + $this->meta_key = '_twitter_%'; + $set3 = parent::cleanup(); + + $this->meta_key = '_open_graph_%'; + $set4 = parent::cleanup(); + + return ( $set1 || $set2 || $set3 || $set4 ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-seopressor.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-seopressor.php new file mode 100644 index 00000000..4009c798 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-seopressor.php @@ -0,0 +1,175 @@ + '_seop_settings', + ], + ]; + + /** + * Imports the post meta values to Yoast SEO. + * + * @return bool Import success status. + */ + protected function import() { + // Query for all the posts that have an _seop_settings meta set. + $query_posts = new WP_Query( 'post_type=any&meta_key=_seop_settings&order=ASC&fields=ids&nopaging=true' ); + foreach ( $query_posts->posts as $post_id ) { + $this->import_post_focus_keywords( $post_id ); + $this->import_seopressor_post_settings( $post_id ); + } + + return true; + } + + /** + * Removes all the post meta fields SEOpressor creates. + * + * @return bool Cleanup status. + */ + protected function cleanup() { + global $wpdb; + + // If we get to replace the data, let's do some proper cleanup. + return $wpdb->query( "DELETE FROM {$wpdb->postmeta} WHERE meta_key LIKE '_seop_%'" ); + } + + /** + * Imports the data. SEOpressor stores most of the data in one post array, this loops over it. + * + * @param int $post_id Post ID. + * + * @return void + */ + private function import_seopressor_post_settings( $post_id ) { + $settings = get_post_meta( $post_id, '_seop_settings', true ); + + foreach ( + [ + 'fb_description' => 'opengraph-description', + 'fb_title' => 'opengraph-title', + 'fb_type' => 'og_type', + 'fb_img' => 'opengraph-image', + 'meta_title' => 'title', + 'meta_description' => 'metadesc', + 'meta_canonical' => 'canonical', + 'tw_description' => 'twitter-description', + 'tw_title' => 'twitter-title', + 'tw_image' => 'twitter-image', + ] as $seopressor_key => $yoast_key ) { + $this->import_meta_helper( $seopressor_key, $yoast_key, $settings, $post_id ); + } + + if ( isset( $settings['meta_rules'] ) ) { + $this->import_post_robots( $settings['meta_rules'], $post_id ); + } + } + + /** + * Imports the focus keywords, and stores them for later use. + * + * @param int $post_id Post ID. + * + * @return void + */ + private function import_post_focus_keywords( $post_id ) { + // Import the focus keyword. + $focuskw = trim( get_post_meta( $post_id, '_seop_kw_1', true ) ); + $this->maybe_save_post_meta( 'focuskw', $focuskw, $post_id ); + + // Import additional focus keywords for use in premium. + $focuskw2 = trim( get_post_meta( $post_id, '_seop_kw_2', true ) ); + $focuskw3 = trim( get_post_meta( $post_id, '_seop_kw_3', true ) ); + + $focus_keywords = []; + if ( ! empty( $focuskw2 ) ) { + $focus_keywords[] = $focuskw2; + } + if ( ! empty( $focuskw3 ) ) { + $focus_keywords[] = $focuskw3; + } + + if ( $focus_keywords !== [] ) { + $this->maybe_save_post_meta( 'focuskeywords', WPSEO_Utils::format_json_encode( $focus_keywords ), $post_id ); + } + } + + /** + * Retrieves the SEOpressor robot value and map this to Yoast SEO values. + * + * @param string $meta_rules The meta rules taken from the SEOpressor settings array. + * @param int $post_id The post id of the current post. + * + * @return void + */ + private function import_post_robots( $meta_rules, $post_id ) { + $seopressor_robots = explode( '#|#|#', $meta_rules ); + $robot_value = $this->get_robot_value( $seopressor_robots ); + + // Saving the new meta values for Yoast SEO. + $this->maybe_save_post_meta( 'meta-robots-noindex', $robot_value['index'], $post_id ); + $this->maybe_save_post_meta( 'meta-robots-nofollow', $robot_value['follow'], $post_id ); + $this->maybe_save_post_meta( 'meta-robots-adv', $robot_value['advanced'], $post_id ); + } + + /** + * Gets the robot config by given SEOpressor robots value. + * + * @param array $seopressor_robots The value in SEOpressor that needs to be converted to the Yoast format. + * + * @return array The robots values in Yoast format. + */ + private function get_robot_value( $seopressor_robots ) { + $return = [ + 'index' => 2, + 'follow' => 0, + 'advanced' => '', + ]; + + if ( in_array( 'noindex', $seopressor_robots, true ) ) { + $return['index'] = 1; + } + if ( in_array( 'nofollow', $seopressor_robots, true ) ) { + $return['follow'] = 1; + } + foreach ( [ 'noarchive', 'nosnippet', 'noimageindex' ] as $needle ) { + if ( in_array( $needle, $seopressor_robots, true ) ) { + $return['advanced'] .= $needle . ','; + } + } + $return['advanced'] = rtrim( $return['advanced'], ',' ); + + return $return; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-smartcrawl.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-smartcrawl.php new file mode 100644 index 00000000..507120c6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-smartcrawl.php @@ -0,0 +1,151 @@ + '_wds_metadesc', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_wds_title', + 'new_key' => 'title', + ], + [ + 'old_key' => '_wds_canonical', + 'new_key' => 'canonical', + ], + [ + 'old_key' => '_wds_focus-keywords', + 'new_key' => 'focuskw', + ], + [ + 'old_key' => '_wds_meta-robots-noindex', + 'new_key' => 'meta-robots-noindex', + ], + [ + 'old_key' => '_wds_meta-robots-nofollow', + 'new_key' => 'meta-robots-nofollow', + ], + ]; + + /** + * Used for importing Twitter and Facebook meta's. + * + * @var array + */ + protected $social_keys = []; + + /** + * Handles post meta data to import. + * + * @return bool Import success status. + */ + protected function import() { + $return = parent::import(); + if ( $return ) { + $this->import_opengraph(); + $this->import_twitter(); + } + + return $return; + } + + /** + * Imports the OpenGraph meta keys saved by Smartcrawl. + * + * @return bool Import status. + */ + protected function import_opengraph() { + $this->social_keys = [ + 'title' => 'opengraph-title', + 'description' => 'opengraph-description', + 'images' => 'opengraph-image', + ]; + return $this->post_find_import( '_wds_opengraph' ); + } + + /** + * Imports the Twitter meta keys saved by Smartcrawl. + * + * @return bool Import status. + */ + protected function import_twitter() { + $this->social_keys = [ + 'title' => 'twitter-title', + 'description' => 'twitter-description', + ]; + return $this->post_find_import( '_wds_twitter' ); + } + + /** + * Imports a post's serialized post meta values. + * + * @param int $post_id Post ID. + * @param string $key The meta key to import. + * + * @return void + */ + protected function import_serialized_post_meta( $post_id, $key ) { + $data = get_post_meta( $post_id, $key, true ); + $data = maybe_unserialize( $data ); + foreach ( $this->social_keys as $key => $meta_key ) { + if ( ! isset( $data[ $key ] ) ) { + return; + } + $value = $data[ $key ]; + if ( is_array( $value ) ) { + $value = $value[0]; + } + $this->maybe_save_post_meta( $meta_key, $value, $post_id ); + } + } + + /** + * Finds all the posts with a certain meta key and imports its values. + * + * @param string $key The meta key to search for. + * + * @return bool Import status. + */ + protected function post_find_import( $key ) { + $query_posts = new WP_Query( 'post_type=any&meta_key=' . $key . '&order=ASC&fields=ids&nopaging=true' ); + + if ( empty( $query_posts->posts ) ) { + return false; + } + + foreach ( array_values( $query_posts->posts ) as $post_id ) { + $this->import_serialized_post_meta( $post_id, $key ); + } + + return true; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-squirrly.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-squirrly.php new file mode 100644 index 00000000..2c088e26 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-squirrly.php @@ -0,0 +1,224 @@ + 'meta-robots-noindex', + 'nofollow' => 'meta-robots-nofollow', + 'title' => 'title', + 'description' => 'metadesc', + 'canonical' => 'canonical', + 'cornerstone' => '_yst_is_cornerstone', + 'tw_media' => 'twitter-image', + 'tw_title' => 'twitter-title', + 'tw_description' => 'twitter-description', + 'og_title' => 'opengraph-title', + 'og_description' => 'opengraph-description', + 'og_media' => 'opengraph-image', + 'focuskw' => 'focuskw', + ]; + + /** + * WPSEO_Import_Squirrly constructor. + */ + public function __construct() { + parent::__construct(); + + global $wpdb; + $this->table_name = $wpdb->prefix . 'qss'; + } + + /** + * Imports the post meta values to Yoast SEO. + * + * @return bool Import success status. + */ + protected function import() { + $results = $this->retrieve_posts(); + foreach ( $results as $post ) { + $return = $this->import_post_values( $post->identifier ); + if ( ! $return ) { + return false; + } + } + + return true; + } + + /** + * Retrieve the posts from the Squirrly Database. + * + * @return array Array of post IDs from the DB. + */ + protected function retrieve_posts() { + global $wpdb; + return $wpdb->get_results( + $wpdb->prepare( + $this->retrieve_posts_query(), + get_current_blog_id() + ) + ); + } + + /** + * Returns the query to return an identifier for the posts to import. + * + * @return string Query to get post ID's from the DB. + */ + protected function retrieve_posts_query() { + return "SELECT post_id AS identifier FROM {$this->table_name} WHERE blog_id = %d"; + } + + /** + * Removes the DB table and the post meta field Squirrly creates. + * + * @return bool Cleanup status. + */ + protected function cleanup() { + global $wpdb; + + // If we can clean, let's clean. + $wpdb->query( "DROP TABLE {$this->table_name}" ); + + // This removes the post meta field for the focus keyword from the DB. + parent::cleanup(); + + // If we can still see the table, something went wrong. + if ( $this->detect() ) { + $this->cleanup_error_msg(); + return false; + } + + return true; + } + + /** + * Detects whether there is post meta data to import. + * + * @return bool Boolean indicating whether there is something to import. + */ + protected function detect() { + global $wpdb; + + $result = $wpdb->get_var( "SHOW TABLES LIKE '{$this->table_name}'" ); + if ( is_wp_error( $result ) || is_null( $result ) ) { + return false; + } + + return true; + } + + /** + * Imports the data of a post out of Squirrly's DB table. + * + * @param mixed $post_identifier Post identifier, can be ID or string. + * + * @return bool Import status. + */ + private function import_post_values( $post_identifier ) { + $data = $this->retrieve_post_data( $post_identifier ); + if ( ! $data ) { + return false; + } + + if ( ! is_numeric( $post_identifier ) ) { + $post_id = url_to_postid( $post_identifier ); + } + + if ( is_numeric( $post_identifier ) ) { + $post_id = (int) $post_identifier; + $data['focuskw'] = $this->maybe_add_focus_kw( $post_identifier ); + } + + foreach ( $this->seo_field_keys as $squirrly_key => $yoast_key ) { + $this->import_meta_helper( $squirrly_key, $yoast_key, $data, $post_id ); + } + return true; + } + + /** + * Retrieves the Squirrly SEO data for a post from the DB. + * + * @param int $post_identifier Post ID. + * + * @return array|bool Array of data or false. + */ + private function retrieve_post_data( $post_identifier ) { + global $wpdb; + + if ( is_numeric( $post_identifier ) ) { + $post_identifier = (int) $post_identifier; + $query_where = 'post_id = %d'; + } + if ( ! is_numeric( $post_identifier ) ) { + $query_where = 'URL = %s'; + } + + $replacements = [ + get_current_blog_id(), + $post_identifier, + ]; + + $data = $wpdb->get_var( + $wpdb->prepare( + "SELECT seo FROM {$this->table_name} WHERE blog_id = %d AND " . $query_where, + $replacements + ) + ); + if ( ! $data || is_wp_error( $data ) ) { + return false; + } + $data = maybe_unserialize( $data ); + return $data; + } + + /** + * Squirrly stores the focus keyword in post meta. + * + * @param int $post_id Post ID. + * + * @return string The focus keyword. + */ + private function maybe_add_focus_kw( $post_id ) { + $focuskw = get_post_meta( $post_id, '_sq_post_keyword', true ); + if ( $focuskw ) { + $focuskw = json_decode( $focuskw ); + return $focuskw->keyword; + } + return ''; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-ultimate-seo.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-ultimate-seo.php new file mode 100644 index 00000000..a5113650 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-ultimate-seo.php @@ -0,0 +1,64 @@ + '_su_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_su_title', + 'new_key' => 'title', + ], + [ + 'old_key' => '_su_og_title', + 'new_key' => 'opengraph-title', + ], + [ + 'old_key' => '_su_og_description', + 'new_key' => 'opengraph-description', + ], + [ + 'old_key' => '_su_og_image', + 'new_key' => 'opengraph-image', + ], + [ + 'old_key' => '_su_meta_robots_noindex', + 'new_key' => 'meta-robots-noindex', + 'convert' => [ 'on' => 1 ], + ], + [ + 'old_key' => '_su_meta_robots_nofollow', + 'new_key' => 'meta-robots-nofollow', + 'convert' => [ 'on' => 1 ], + ], + ]; +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-woothemes-seo.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-woothemes-seo.php new file mode 100644 index 00000000..5ee943c3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-woothemes-seo.php @@ -0,0 +1,138 @@ + 'seo_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => 'seo_title', + 'new_key' => 'title', + ], + [ + 'old_key' => 'seo_noindex', + 'new_key' => 'meta-robots-noindex', + ], + [ + 'old_key' => 'seo_follow', + 'new_key' => 'meta-robots-nofollow', + ], + ]; + + /** + * Holds the meta fields we can delete after import. + * + * @var array + */ + protected $cleanup_metas = [ + 'seo_follow', + 'seo_noindex', + 'seo_title', + 'seo_description', + 'seo_keywords', + ]; + + /** + * Holds the options we can delete after import. + * + * @var array + */ + protected $cleanup_options = [ + 'seo_woo_archive_layout', + 'seo_woo_single_layout', + 'seo_woo_page_layout', + 'seo_woo_wp_title', + 'seo_woo_meta_single_desc', + 'seo_woo_meta_single_key', + 'seo_woo_home_layout', + ]; + + /** + * Cleans up the WooThemes SEO settings. + * + * @return bool Cleanup status. + */ + protected function cleanup() { + $result = $this->cleanup_meta(); + if ( $result ) { + $this->cleanup_options(); + } + return $result; + } + + /** + * Removes the Woo Options from the database. + * + * @return void + */ + private function cleanup_options() { + foreach ( $this->cleanup_options as $option ) { + delete_option( $option ); + } + } + + /** + * Removes the post meta fields from the database. + * + * @return bool Cleanup status. + */ + private function cleanup_meta() { + foreach ( $this->cleanup_metas as $key ) { + $result = $this->cleanup_meta_key( $key ); + if ( ! $result ) { + return false; + } + } + return true; + } + + /** + * Removes a single meta field from the postmeta table in the database. + * + * @param string $key The meta_key to delete. + * + * @return bool Cleanup status. + */ + private function cleanup_meta_key( $key ) { + global $wpdb; + + $wpdb->query( + $wpdb->prepare( + "DELETE FROM {$wpdb->postmeta} WHERE meta_key = %s", + $key + ) + ); + return $wpdb->__get( 'result' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-wp-meta-seo.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-wp-meta-seo.php new file mode 100644 index 00000000..e6a55efb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-wp-meta-seo.php @@ -0,0 +1,82 @@ + '_metaseo_metadesc', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_metaseo_metatitle', + 'new_key' => 'title', + ], + [ + 'old_key' => '_metaseo_metaopengraph-title', + 'new_key' => 'opengraph-title', + ], + [ + 'old_key' => '_metaseo_metaopengraph-desc', + 'new_key' => 'opengraph-description', + ], + [ + 'old_key' => '_metaseo_metaopengraph-image', + 'new_key' => 'opengraph-image', + ], + [ + 'old_key' => '_metaseo_metatwitter-title', + 'new_key' => 'twitter-title', + ], + [ + 'old_key' => '_metaseo_metatwitter-desc', + 'new_key' => 'twitter-description', + ], + [ + 'old_key' => '_metaseo_metatwitter-image', + 'new_key' => 'twitter-image', + ], + [ + 'old_key' => '_metaseo_metaindex', + 'new_key' => 'meta-robots-noindex', + 'convert' => [ + 'index' => 0, + 'noindex' => 1, + ], + ], + [ + 'old_key' => '_metaseo_metafollow', + 'new_key' => 'meta-robots-nofollow', + 'convert' => [ + 'follow' => 0, + 'nofollow' => 1, + ], + ], + ]; +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-wpseo.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-wpseo.php new file mode 100644 index 00000000..0d138f2b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-import-wpseo.php @@ -0,0 +1,310 @@ + '_wpseo_edit_description', + 'new_key' => 'metadesc', + ], + [ + 'old_key' => '_wpseo_edit_title', + 'new_key' => 'title', + ], + [ + 'old_key' => '_wpseo_edit_canonical', + 'new_key' => 'canonical', + ], + [ + 'old_key' => '_wpseo_edit_og_title', + 'new_key' => 'opengraph-title', + ], + [ + 'old_key' => '_wpseo_edit_og_description', + 'new_key' => 'opengraph-description', + ], + [ + 'old_key' => '_wpseo_edit_og_image', + 'new_key' => 'opengraph-image', + ], + [ + 'old_key' => '_wpseo_edit_twittercard_title', + 'new_key' => 'twitter-title', + ], + [ + 'old_key' => '_wpseo_edit_twittercard_description', + 'new_key' => 'twitter-description', + ], + [ + 'old_key' => '_wpseo_edit_twittercard_image', + 'new_key' => 'twitter-image', + ], + ]; + + /** + * The values 1 - 6 are the configured values from wpSEO. This array will map the values of wpSEO to our values. + * + * There are some double array like 1-6 and 3-4. The reason is they only set the index value. The follow value is + * the default we use in the cases there isn't a follow value present. + * + * @var array + */ + private $robot_values = [ + // In wpSEO: index, follow. + 1 => [ + 'index' => 2, + 'follow' => 0, + ], + // In wpSEO: index, nofollow. + 2 => [ + 'index' => 2, + 'follow' => 1, + ], + // In wpSEO: noindex. + 3 => [ + 'index' => 1, + 'follow' => 0, + ], + // In wpSEO: noindex, follow. + 4 => [ + 'index' => 1, + 'follow' => 0, + ], + // In wpSEO: noindex, nofollow. + 5 => [ + 'index' => 1, + 'follow' => 1, + ], + // In wpSEO: index. + 6 => [ + 'index' => 2, + 'follow' => 0, + ], + ]; + + /** + * Imports wpSEO settings. + * + * @return bool Import success status. + */ + protected function import() { + $status = parent::import(); + if ( $status ) { + $this->import_post_robots(); + $this->import_taxonomy_metas(); + } + + return $status; + } + + /** + * Removes wpseo.de post meta's. + * + * @return bool Cleanup status. + */ + protected function cleanup() { + $this->cleanup_term_meta(); + $result = $this->cleanup_post_meta(); + return $result; + } + + /** + * Detects whether there is post meta data to import. + * + * @return bool Boolean indicating whether there is something to import. + */ + protected function detect() { + if ( parent::detect() ) { + return true; + } + + global $wpdb; + $count = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->options} WHERE option_name LIKE 'wpseo_category_%'" ); + if ( $count !== '0' ) { + return true; + } + + return false; + } + + /** + * Imports the robot values from WPSEO plugin. These have to be converted to the Yoast format. + * + * @return void + */ + private function import_post_robots() { + $query_posts = new WP_Query( 'post_type=any&meta_key=_wpseo_edit_robots&order=ASC&fields=ids&nopaging=true' ); + + if ( ! empty( $query_posts->posts ) ) { + foreach ( array_values( $query_posts->posts ) as $post_id ) { + $this->import_post_robot( $post_id ); + } + } + } + + /** + * Gets the wpSEO robot value and map this to Yoast SEO values. + * + * @param int $post_id The post id of the current post. + * + * @return void + */ + private function import_post_robot( $post_id ) { + $wpseo_robots = get_post_meta( $post_id, '_wpseo_edit_robots', true ); + $robot_value = $this->get_robot_value( $wpseo_robots ); + + // Saving the new meta values for Yoast SEO. + $this->maybe_save_post_meta( 'meta-robots-noindex', $robot_value['index'], $post_id ); + $this->maybe_save_post_meta( 'meta-robots-nofollow', $robot_value['follow'], $post_id ); + } + + /** + * Imports the taxonomy metas from wpSEO. + * + * @return void + */ + private function import_taxonomy_metas() { + $terms = get_terms( + [ + 'taxonomy' => get_taxonomies(), + 'hide_empty' => false, + ] + ); + $tax_meta = get_option( 'wpseo_taxonomy_meta' ); + + foreach ( $terms as $term ) { + $this->import_taxonomy_description( $tax_meta, $term->taxonomy, $term->term_id ); + $this->import_taxonomy_robots( $tax_meta, $term->taxonomy, $term->term_id ); + } + + update_option( 'wpseo_taxonomy_meta', $tax_meta ); + } + + /** + * Imports the meta description to Yoast SEO. + * + * @param array $tax_meta The array with the current metadata. + * @param string $taxonomy String with the name of the taxonomy. + * @param string $term_id The ID of the current term. + * + * @return void + */ + private function import_taxonomy_description( &$tax_meta, $taxonomy, $term_id ) { + $description = get_option( 'wpseo_' . $taxonomy . '_' . $term_id, false ); + if ( $description !== false ) { + // Import description. + $tax_meta[ $taxonomy ][ $term_id ]['wpseo_desc'] = $description; + } + } + + /** + * Imports the robot value to Yoast SEO. + * + * @param array $tax_meta The array with the current metadata. + * @param string $taxonomy String with the name of the taxonomy. + * @param string $term_id The ID of the current term. + * + * @return void + */ + private function import_taxonomy_robots( &$tax_meta, $taxonomy, $term_id ) { + $wpseo_robots = get_option( 'wpseo_' . $taxonomy . '_' . $term_id . '_robots', false ); + if ( $wpseo_robots === false ) { + return; + } + // The value 1, 2 and 6 are the index values in wpSEO. + $new_robot_value = 'noindex'; + + if ( in_array( (int) $wpseo_robots, [ 1, 2, 6 ], true ) ) { + $new_robot_value = 'index'; + } + + $tax_meta[ $taxonomy ][ $term_id ]['wpseo_noindex'] = $new_robot_value; + } + + /** + * Deletes the wpSEO taxonomy meta data. + * + * @param string $taxonomy String with the name of the taxonomy. + * @param string $term_id The ID of the current term. + * + * @return void + */ + private function delete_taxonomy_metas( $taxonomy, $term_id ) { + delete_option( 'wpseo_' . $taxonomy . '_' . $term_id ); + delete_option( 'wpseo_' . $taxonomy . '_' . $term_id . '_robots' ); + } + + /** + * Gets the robot config by given wpSEO robots value. + * + * @param string $wpseo_robots The value in wpSEO that needs to be converted to the Yoast format. + * + * @return string The correct robot value. + */ + private function get_robot_value( $wpseo_robots ) { + if ( array_key_exists( $wpseo_robots, $this->robot_values ) ) { + return $this->robot_values[ $wpseo_robots ]; + } + + return $this->robot_values[1]; + } + + /** + * Deletes wpSEO postmeta from the database. + * + * @return bool Cleanup status. + */ + private function cleanup_post_meta() { + global $wpdb; + + // If we get to replace the data, let's do some proper cleanup. + return $wpdb->query( "DELETE FROM {$wpdb->postmeta} WHERE meta_key LIKE '_wpseo_edit_%'" ); + } + + /** + * Cleans up the wpSEO term meta. + * + * @return void + */ + private function cleanup_term_meta() { + $terms = get_terms( + [ + 'taxonomy' => get_taxonomies(), + 'hide_empty' => false, + ] + ); + + foreach ( $terms as $term ) { + $this->delete_taxonomy_metas( $term->taxonomy, $term->term_id ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-importers.php b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-importers.php new file mode 100644 index 00000000..d2336ecd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/import/plugins/class-importers.php @@ -0,0 +1,47 @@ +get_manage_capability(); + $page_identifier = $this->get_page_identifier(); + $admin_page_callback = $this->get_admin_page_callback(); + + // Get all submenu pages. + $submenu_pages = $this->get_submenu_pages(); + + foreach ( $submenu_pages as $submenu_page ) { + if ( WPSEO_Capability_Utils::current_user_can( $submenu_page[3] ) ) { + $manage_capability = $submenu_page[3]; + $page_identifier = $submenu_page[4]; + $admin_page_callback = $submenu_page[5]; + break; + } + } + + foreach ( $submenu_pages as $index => $submenu_page ) { + $submenu_pages[ $index ][0] = $page_identifier; + } + + /* + * The current user has the capability to control anything. + * This means that all submenus and dashboard can be shown. + */ + global $admin_page_hooks; + + add_menu_page( + 'Yoast SEO: ' . __( 'Dashboard', 'wordpress-seo' ), + 'Yoast SEO ' . $this->get_notification_counter(), + $manage_capability, + $page_identifier, + $admin_page_callback, + $this->get_icon_svg(), + 99 + ); + + // Wipe notification bits from hooks. + // phpcs:ignore WordPress.WP.GlobalVariablesOverride -- This is a deliberate action. + $admin_page_hooks[ $page_identifier ] = 'seo'; + + // Add submenu items to the main menu if possible. + $this->register_submenu_pages( $submenu_pages ); + } + + /** + * Returns the list of registered submenu pages. + * + * @return array List of registered submenu pages. + */ + public function get_submenu_pages() { + global $wpseo_admin; + + $search_console_callback = null; + + // Account for when the available submenu pages are requested from outside the admin. + if ( isset( $wpseo_admin ) ) { + $google_search_console = new WPSEO_GSC(); + $search_console_callback = [ $google_search_console, 'display' ]; + } + + // Submenu pages. + $submenu_pages = [ + $this->get_submenu_page( __( 'General', 'wordpress-seo' ), $this->get_page_identifier() ), + $this->get_submenu_page( + __( 'Search Console', 'wordpress-seo' ), + 'wpseo_search_console', + $search_console_callback + ), + $this->get_submenu_page( __( 'Tools', 'wordpress-seo' ), 'wpseo_tools' ), + $this->get_submenu_page( $this->get_license_page_title(), 'wpseo_licenses' ), + ]; + + /** + * Filter: 'wpseo_submenu_pages' - Collects all submenus that need to be shown. + * + * @param array $submenu_pages List with all submenu pages. + */ + return (array) apply_filters( 'wpseo_submenu_pages', $submenu_pages ); + } + + /** + * Returns the notification count in HTML format. + * + * @return string The notification count in HTML format. + */ + protected function get_notification_counter() { + $notification_center = Yoast_Notification_Center::get(); + $notification_count = $notification_center->get_notification_count(); + + // Add main page. + /* translators: Hidden accessibility text; %s: number of notifications. */ + $notifications = sprintf( _n( '%s notification', '%s notifications', $notification_count, 'wordpress-seo' ), number_format_i18n( $notification_count ) ); + + return sprintf( '%2$s', $notification_count, $notifications ); + } + + /** + * Returns the capability that is required to manage all options. + * + * @return string Capability to check against. + */ + protected function get_manage_capability() { + return 'wpseo_manage_options'; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/menu/class-base-menu.php b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-base-menu.php new file mode 100644 index 00000000..1d91eaa8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-base-menu.php @@ -0,0 +1,287 @@ +menu = $menu; + } + + /** + * Returns the list of registered submenu pages. + * + * @return array List of registered submenu pages. + */ + abstract public function get_submenu_pages(); + + /** + * Creates a submenu formatted array. + * + * @param string $page_title Page title to use. + * @param string $page_slug Page slug to use. + * @param callable|null $callback Optional. Callback which handles the page request. + * @param callable[]|null $hook Optional. Hook to trigger when the page is registered. + * + * @return array Formatted submenu. + */ + protected function get_submenu_page( $page_title, $page_slug, $callback = null, $hook = null ) { + if ( $callback === null ) { + $callback = $this->get_admin_page_callback(); + } + + return [ + $this->get_page_identifier(), + '', + $page_title, + $this->get_manage_capability(), + $page_slug, + $callback, + $hook, + ]; + } + + /** + * Registers submenu pages as menu pages. + * + * This method should only be used if the user does not have the required capabilities + * to access the parent menu page. + * + * @param array $submenu_pages List of submenu pages to register. + * + * @return void + */ + protected function register_menu_pages( $submenu_pages ) { + if ( ! is_array( $submenu_pages ) || empty( $submenu_pages ) ) { + return; + } + + // Loop through submenu pages and add them. + array_walk( $submenu_pages, [ $this, 'register_menu_page' ] ); + } + + /** + * Registers submenu pages. + * + * @param array $submenu_pages List of submenu pages to register. + * + * @return void + */ + protected function register_submenu_pages( $submenu_pages ) { + if ( ! is_array( $submenu_pages ) || empty( $submenu_pages ) ) { + return; + } + + // Loop through submenu pages and add them. + array_walk( $submenu_pages, [ $this, 'register_submenu_page' ] ); + } + + /** + * Registers a submenu page as a menu page. + * + * This method should only be used if the user does not have the required capabilities + * to access the parent menu page. + * + * @param array $submenu_page { + * Submenu page definition. + * + * @type string $0 Parent menu page slug. + * @type string $1 Page title, currently unused. + * @type string $2 Title to display in the menu. + * @type string $3 Required capability to access the page. + * @type string $4 Page slug. + * @type callable $5 Callback to run when the page is rendered. + * @type array $6 Optional. List of callbacks to run when the page is loaded. + * } + * + * @return void + */ + protected function register_menu_page( $submenu_page ) { + + // If the submenu page requires the general manage capability, it must be added as an actual submenu page. + if ( $submenu_page[3] === $this->get_manage_capability() ) { + return; + } + + $page_title = 'Yoast SEO: ' . $submenu_page[2]; + + // Register submenu page as menu page. + $hook_suffix = add_menu_page( + $page_title, + $submenu_page[2], + $submenu_page[3], + $submenu_page[4], + $submenu_page[5], + $this->get_icon_svg(), + 99 + ); + + // If necessary, add hooks for the submenu page. + if ( isset( $submenu_page[6] ) && ( is_array( $submenu_page[6] ) ) ) { + $this->add_page_hooks( $hook_suffix, $submenu_page[6] ); + } + } + + /** + * Registers a submenu page. + * + * This method will override the capability of the page to automatically use the + * general manage capability. Use the `register_menu_page()` method if the submenu + * page should actually use a different capability. + * + * @param array $submenu_page { + * Submenu page definition. + * + * @type string $0 Parent menu page slug. + * @type string $1 Page title, currently unused. + * @type string $2 Title to display in the menu. + * @type string $3 Required capability to access the page. + * @type string $4 Page slug. + * @type callable $5 Callback to run when the page is rendered. + * @type array $6 Optional. List of callbacks to run when the page is loaded. + * } + * + * @return void + */ + protected function register_submenu_page( $submenu_page ) { + $page_title = $submenu_page[2]; + + // We cannot use $submenu_page[1] because add-ons define that, so hard-code this value. + if ( $submenu_page[4] === 'wpseo_licenses' ) { + $page_title = $this->get_license_page_title(); + } + + /* + * Handle the Google Search Console special case by passing a fake parent + * page slug. This way, the sub-page is stil registered and can be accessed + * directly. Its menu item won't be displayed. + */ + if ( $submenu_page[4] === 'wpseo_search_console' ) { + // Set the parent page slug to a non-existing one. + $submenu_page[0] = 'wpseo_fake_menu_parent_page_slug'; + } + + $page_title .= ' - Yoast SEO'; + + // Register submenu page. + $hook_suffix = add_submenu_page( + $submenu_page[0], + $page_title, + $submenu_page[2], + $submenu_page[3], + $submenu_page[4], + $submenu_page[5] + ); + + // If necessary, add hooks for the submenu page. + if ( isset( $submenu_page[6] ) && ( is_array( $submenu_page[6] ) ) ) { + $this->add_page_hooks( $hook_suffix, $submenu_page[6] ); + } + } + + /** + * Adds hook callbacks for a given admin page hook suffix. + * + * @param string $hook_suffix Admin page hook suffix, as returned by `add_menu_page()` + * or `add_submenu_page()`. + * @param array $callbacks Callbacks to add. + * + * @return void + */ + protected function add_page_hooks( $hook_suffix, array $callbacks ) { + foreach ( $callbacks as $callback ) { + add_action( 'load-' . $hook_suffix, $callback ); + } + } + + /** + * Gets the main admin page identifier. + * + * @return string Admin page identifier. + */ + protected function get_page_identifier() { + return $this->menu->get_page_identifier(); + } + + /** + * Checks whether the current user has capabilities to manage all options. + * + * @return bool True if capabilities are sufficient, false otherwise. + */ + protected function check_manage_capability() { + return WPSEO_Capability_Utils::current_user_can( $this->get_manage_capability() ); + } + + /** + * Returns the capability that is required to manage all options. + * + * @return string Capability to check against. + */ + abstract protected function get_manage_capability(); + + /** + * Returns the page handler callback. + * + * @return array Callback page handler. + */ + protected function get_admin_page_callback() { + return [ $this->menu, 'load_page' ]; + } + + /** + * Returns the page title to use for the licenses page. + * + * @return string The title for the license page. + */ + protected function get_license_page_title() { + static $title = null; + + if ( $title === null ) { + $title = __( 'Upgrades', 'wordpress-seo' ); + } + + if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-2023-promotion' ) && ! YoastSEO()->helpers->product->is_premium() ) { + $title = __( 'Upgrades', 'wordpress-seo' ) . '' . __( '30% OFF', 'wordpress-seo' ) . ''; + } + + return $title; + } + + /** + * Returns a base64 URL for the svg for use in the menu. + * + * @param bool $base64 Whether or not to return base64'd output. + * + * @return string SVG icon. + */ + public function get_icon_svg( $base64 = true ) { + $svg = ''; + + if ( $base64 ) { + //phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode -- This encoding is intended. + return 'data:image/svg+xml;base64,' . base64_encode( $svg ); + } + + return $svg; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/menu/class-menu.php b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-menu.php new file mode 100644 index 00000000..bc3ab3e0 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-menu.php @@ -0,0 +1,96 @@ +register_hooks(); + + if ( WPSEO_Utils::is_plugin_network_active() ) { + $network_admin_menu = new WPSEO_Network_Admin_Menu( $this ); + $network_admin_menu->register_hooks(); + } + + $capability_normalizer = new WPSEO_Submenu_Capability_Normalize(); + $capability_normalizer->register_hooks(); + } + + /** + * Returns the main menu page identifier. + * + * @return string Page identifier to use. + */ + public function get_page_identifier() { + return self::PAGE_IDENTIFIER; + } + + /** + * Loads the requested admin settings page. + * + * @return void + */ + public function load_page() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['page'] ) && is_string( $_GET['page'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $page = sanitize_text_field( wp_unslash( $_GET['page'] ) ); + $this->show_page( $page ); + } + } + + /** + * Shows an admin settings page. + * + * @param string $page Page to display. + * + * @return void + */ + protected function show_page( $page ) { + switch ( $page ) { + case 'wpseo_tools': + require_once WPSEO_PATH . 'admin/pages/tools.php'; + break; + + case 'wpseo_licenses': + require_once WPSEO_PATH . 'admin/pages/licenses.php'; + break; + + case 'wpseo_files': + require_once WPSEO_PATH . 'admin/views/tool-file-editor.php'; + break; + + default: + require_once WPSEO_PATH . 'admin/pages/dashboard.php'; + break; + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/menu/class-network-admin-menu.php b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-network-admin-menu.php new file mode 100644 index 00000000..b440cc10 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-network-admin-menu.php @@ -0,0 +1,97 @@ +check_manage_capability() ) { + return; + } + + add_menu_page( + __( 'Network Settings', 'wordpress-seo' ) . ' - Yoast SEO', + 'Yoast SEO', + $this->get_manage_capability(), + $this->get_page_identifier(), + [ $this, 'network_config_page' ], + $this->get_icon_svg() + ); + + $submenu_pages = $this->get_submenu_pages(); + $this->register_submenu_pages( $submenu_pages ); + } + + /** + * Returns the list of registered submenu pages. + * + * @return array List of registered submenu pages. + */ + public function get_submenu_pages() { + + // Submenu pages. + $submenu_pages = [ + $this->get_submenu_page( + __( 'General', 'wordpress-seo' ), + $this->get_page_identifier(), + [ $this, 'network_config_page' ] + ), + ]; + + if ( WPSEO_Utils::allow_system_file_edit() === true ) { + $submenu_pages[] = $this->get_submenu_page( __( 'Edit Files', 'wordpress-seo' ), 'wpseo_files' ); + } + + $submenu_pages[] = $this->get_submenu_page( __( 'Extensions', 'wordpress-seo' ), 'wpseo_licenses' ); + + return $submenu_pages; + } + + /** + * Loads the form for the network configuration page. + * + * @return void + */ + public function network_config_page() { + require_once WPSEO_PATH . 'admin/pages/network.php'; + } + + /** + * Checks whether the current user has capabilities to manage all options. + * + * @return bool True if capabilities are sufficient, false otherwise. + */ + protected function check_manage_capability() { + return current_user_can( $this->get_manage_capability() ); + } + + /** + * Returns the capability that is required to manage all options. + * + * @return string Capability to check against. + */ + protected function get_manage_capability() { + return 'wpseo_manage_network_options'; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/menu/class-replacevar-editor.php b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-replacevar-editor.php new file mode 100644 index 00000000..7f3b8201 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-replacevar-editor.php @@ -0,0 +1,159 @@ + true, + 'label_title' => '', + 'label_description' => '', + 'description_placeholder' => '', + 'has_new_badge' => false, + 'is_disabled' => false, + 'has_premium_badge' => false, + ] + ); + + $this->validate_arguments( $arguments ); + + $this->yform = $yform; + $this->arguments = [ + 'title' => (string) $arguments['title'], + 'description' => (string) $arguments['description'], + 'page_type_recommended' => (string) $arguments['page_type_recommended'], + 'page_type_specific' => (string) $arguments['page_type_specific'], + 'paper_style' => (bool) $arguments['paper_style'], + 'label_title' => (string) $arguments['label_title'], + 'label_description' => (string) $arguments['label_description'], + 'description_placeholder' => (string) $arguments['description_placeholder'], + 'has_new_badge' => (bool) $arguments['has_new_badge'], + 'is_disabled' => (bool) $arguments['is_disabled'], + 'has_premium_badge' => (bool) $arguments['has_premium_badge'], + ]; + } + + /** + * Renders a div for the react application to mount to, and hidden inputs where + * the app should store it's value so they will be properly saved when the form + * is submitted. + * + * @return void + */ + public function render() { + $this->yform->hidden( $this->arguments['title'], $this->arguments['title'] ); + $this->yform->hidden( $this->arguments['description'], $this->arguments['description'] ); + + printf( + '
    ', + esc_attr( $this->arguments['title'] ), + esc_attr( $this->arguments['description'] ), + esc_attr( $this->arguments['page_type_recommended'] ), + esc_attr( $this->arguments['page_type_specific'] ), + esc_attr( $this->arguments['paper_style'] ), + esc_attr( $this->arguments['label_title'] ), + esc_attr( $this->arguments['label_description'] ), + esc_attr( $this->arguments['description_placeholder'] ), + esc_attr( $this->arguments['has_new_badge'] ), + esc_attr( $this->arguments['is_disabled'] ), + esc_attr( $this->arguments['has_premium_badge'] ) + ); + } + + /** + * Validates the replacement variable editor arguments. + * + * @param array $arguments The arguments to validate. + * + * @throws InvalidArgumentException Thrown when not all required arguments are present. + * + * @return void + */ + protected function validate_arguments( array $arguments ) { + $required_arguments = [ + 'title', + 'description', + 'page_type_recommended', + 'page_type_specific', + 'paper_style', + ]; + + foreach ( $required_arguments as $field_name ) { + if ( ! array_key_exists( $field_name, $arguments ) ) { + throw new InvalidArgumentException( + sprintf( + /* translators: %1$s expands to the missing field name. */ + __( 'Not all required fields are given. Missing field %1$s', 'wordpress-seo' ), + $field_name + ) + ); + } + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/menu/class-replacevar-field.php b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-replacevar-field.php new file mode 100644 index 00000000..e94d2c73 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-replacevar-field.php @@ -0,0 +1,88 @@ +yform = $yform; + $this->field_id = $field_id; + $this->label = $label; + $this->page_type_recommended = $page_type_recommended; + $this->page_type_specific = $page_type_specific; + } + + /** + * Renders a div for the react application to mount to, and hidden inputs where + * the app should store it's value so they will be properly saved when the form + * is submitted. + * + * @return void + */ + public function render() { + $this->yform->hidden( $this->field_id, $this->field_id ); + + printf( + '
    ', + esc_attr( $this->field_id ), + esc_attr( $this->label ), + esc_attr( $this->page_type_recommended ), + esc_attr( $this->page_type_specific ) + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/menu/class-submenu-capability-normalize.php b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-submenu-capability-normalize.php new file mode 100644 index 00000000..6e35718f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/menu/class-submenu-capability-normalize.php @@ -0,0 +1,41 @@ + $submenu_page ) { + if ( $submenu_page[3] === 'manage_options' ) { + $submenu_pages[ $index ][3] = 'wpseo_manage_options'; + } + } + + return $submenu_pages; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-abstract-sectioned-metabox-tab.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-abstract-sectioned-metabox-tab.php new file mode 100644 index 00000000..29ec6e90 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-abstract-sectioned-metabox-tab.php @@ -0,0 +1,97 @@ + '', + 'link_class' => '', + 'link_aria_label' => '', + ]; + + $options = array_merge( $default_options, $options ); + + $this->name = $name; + + $this->link_content = $link_content; + $this->link_title = $options['link_title']; + $this->link_class = $options['link_class']; + $this->link_aria_label = $options['link_aria_label']; + } + + /** + * Outputs the section link if any section has been added. + * + * @return void + */ + public function display_link() { + if ( $this->has_sections() ) { + printf( + '
  • %5$s
  • ', + esc_attr( $this->name ), + esc_attr( $this->link_class ), + ( $this->link_title !== '' ) ? ' title="' . esc_attr( $this->link_title ) . '"' : '', + ( $this->link_aria_label !== '' ) ? ' aria-label="' . esc_attr( $this->link_aria_label ) . '"' : '', + $this->link_content + ); + } + } + + /** + * Checks whether the tab has any sections. + * + * @return bool Whether the tab has any sections + */ + abstract protected function has_sections(); +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-inclusive-language.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-inclusive-language.php new file mode 100644 index 00000000..1fe2a1fd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-inclusive-language.php @@ -0,0 +1,58 @@ +is_globally_enabled() && $this->is_user_enabled() && $this->is_current_version_supported() + && YoastSEO()->helpers->language->has_inclusive_language_support( WPSEO_Language_Utils::get_language( get_locale() ) ); + } + + /** + * Whether or not this analysis is enabled by the user. + * + * @return bool Whether or not this analysis is enabled by the user. + */ + public function is_user_enabled() { + return ! get_the_author_meta( 'wpseo_inclusive_language_analysis_disable', get_current_user_id() ); + } + + /** + * Whether or not this analysis is enabled globally. + * + * @return bool Whether or not this analysis is enabled globally. + */ + public function is_globally_enabled() { + return WPSEO_Options::get( 'inclusive_language_analysis_active', false ); + } + + /** + * Whether the inclusive language analysis should be loaded in Free. + * + * It should always be loaded when Premium is not active. If Premium is active, it depends on the version. Some Premium + * versions also have inclusive language code (when it was still a Premium only feature) which would result in rendering + * the analysis twice. In those cases, the analysis should be only loaded from the Premium side. + * + * @return bool Whether or not the inclusive language analysis should be loaded. + */ + private function is_current_version_supported() { + $is_premium = YoastSEO()->helpers->product->is_premium(); + $premium_version = YoastSEO()->helpers->product->get_premium_version(); + + return ! $is_premium + || version_compare( $premium_version, '19.6-RC0', '>=' ) + || version_compare( $premium_version, '19.2', '==' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-readability.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-readability.php new file mode 100644 index 00000000..65345c48 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-readability.php @@ -0,0 +1,39 @@ +is_globally_enabled() && $this->is_user_enabled(); + } + + /** + * Whether or not this analysis is enabled by the user. + * + * @return bool Whether or not this analysis is enabled by the user. + */ + public function is_user_enabled() { + return ! get_the_author_meta( 'wpseo_content_analysis_disable', get_current_user_id() ); + } + + /** + * Whether or not this analysis is enabled globally. + * + * @return bool Whether or not this analysis is enabled globally. + */ + public function is_globally_enabled() { + return WPSEO_Options::get( 'content_analysis_active', true ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-seo.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-seo.php new file mode 100644 index 00000000..8225defb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-analysis-seo.php @@ -0,0 +1,39 @@ +is_globally_enabled() && $this->is_user_enabled(); + } + + /** + * Whether or not this analysis is enabled by the user. + * + * @return bool Whether or not this analysis is enabled by the user. + */ + public function is_user_enabled() { + return ! get_the_author_meta( 'wpseo_keyword_analysis_disable', get_current_user_id() ); + } + + /** + * Whether or not this analysis is enabled globally. + * + * @return bool Whether or not this analysis is enabled globally. + */ + public function is_globally_enabled() { + return WPSEO_Options::get( 'keyword_analysis_active', true ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-collapsible.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-collapsible.php new file mode 100644 index 00000000..c5d378cd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-collapsible.php @@ -0,0 +1,84 @@ +name = $name; + $this->content = $content; + $this->link_content = $link_content; + } + + /** + * Returns the html for the tab link. + * + * @return string + */ + public function link() { + return $this->link_content; + } + + /** + * Returns the html for the tab content. + * + * @return string + */ + public function content() { + $collapsible_paper = new WPSEO_Paper_Presenter( + $this->link(), + null, + [ + 'content' => $this->content, + 'collapsible' => true, + 'class' => 'metabox wpseo-form wpseo-collapsible-container', + 'paper_id' => 'collapsible-' . $this->name, + ] + ); + + return $collapsible_paper->get_output(); + } + + /** + * Returns the collapsible's unique identifier. + * + * @return string + */ + public function get_name() { + return $this->name; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-collapsibles-section.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-collapsibles-section.php new file mode 100644 index 00000000..14e8638e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-collapsibles-section.php @@ -0,0 +1,65 @@ +collapsibles = $collapsibles; + } + + /** + * Outputs the section content if any tab has been added. + * + * @return void + */ + public function display_content() { + if ( $this->has_sections() ) { + printf( '
    ', esc_attr( 'wpseo-meta-section-' . $this->name ) ); + echo '
    '; + + add_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_forms' ] ); + add_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_a11y' ] ); + foreach ( $this->collapsibles as $collapsible ) { + echo wp_kses_post( $collapsible->content() ); + } + remove_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_forms' ] ); + remove_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_a11y' ] ); + + echo '
    '; + } + } + + /** + * Checks whether the tab has any sections. + * + * @return bool Whether the tab has any sections + */ + protected function has_sections() { + return ! empty( $this->collapsibles ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-editor.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-editor.php new file mode 100644 index 00000000..4d689177 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-editor.php @@ -0,0 +1,85 @@ +special_styles(); + $inside_editor = $styles['inside-editor']; + + $asset_location = new WPSEO_Admin_Asset_SEO_Location( WPSEO_FILE ); + $url = $asset_location->get_url( $inside_editor, WPSEO_Admin_Asset::TYPE_CSS ); + + if ( $css_files === '' ) { + $css_files = $url; + } + else { + $css_files .= ',' . $url; + } + + return $css_files; + } + + /** + * Enqueues the CSS to use in the TinyMCE editor. + * + * @return void + */ + public function add_editor_styles() { + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_style( 'inside-editor' ); + } + + /** + * Adds a custom element to the tinyMCE editor that we need for marking the content. + * + * @param array $tinymce_config The tinyMCE config as configured by WordPress. + * + * @return array The new tinyMCE config with our added custom elements. + */ + public function add_custom_element( $tinymce_config ) { + if ( ! empty( $tinymce_config['custom_elements'] ) ) { + $custom_elements = $tinymce_config['custom_elements']; + + $custom_elements .= ',~yoastmark'; + } + else { + $custom_elements = '~yoastmark'; + } + + $tinymce_config['custom_elements'] = $custom_elements; + + return $tinymce_config; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-form-tab.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-form-tab.php new file mode 100644 index 00000000..df39f8b0 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-form-tab.php @@ -0,0 +1,135 @@ + '', + 'link_class' => '', + 'link_title' => '', + 'link_aria_label' => '', + 'single' => false, + ]; + + $options = array_merge( $default_options, $options ); + + $this->name = $name; + $this->content = $content; + $this->link_content = $link_content; + $this->tab_class = $options['tab_class']; + $this->link_class = $options['link_class']; + $this->link_title = $options['link_title']; + $this->link_aria_label = $options['link_aria_label']; + $this->single = $options['single']; + } + + /** + * Returns the html for the tab link. + * + * @return string + */ + public function link() { + + $html = '
  • %6$s
  • '; + + if ( $this->single ) { + $html = '
  • %6$s
  • '; + } + + return sprintf( + $html, + esc_attr( $this->name ), + ( $this->tab_class !== '' ) ? ' ' . esc_attr( $this->tab_class ) : '', + ( $this->link_class !== '' ) ? ' ' . esc_attr( $this->link_class ) : '', + ( $this->link_title !== '' ) ? ' title="' . esc_attr( $this->link_title ) . '"' : '', + ( $this->link_aria_label !== '' ) ? ' aria-label="' . esc_attr( $this->link_aria_label ) . '"' : '', + $this->link_content + ); + } + + /** + * Returns the html for the tab content. + * + * @return string + */ + public function content() { + return sprintf( + '
    %3$s
    ', + esc_attr( 'wpseo_' . $this->name ), + esc_attr( $this->name ), + $this->content + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-null-tab.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-null-tab.php new file mode 100644 index 00000000..1e31fd2b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-null-tab.php @@ -0,0 +1,30 @@ +name = $name; + $this->content = $content; + $default_options = [ + 'link_class' => '', + 'link_aria_label' => '', + 'content_class' => 'wpseo-form', + ]; + $options = wp_parse_args( $options, $default_options ); + $this->link_content = $link_content; + $this->link_class = $options['link_class']; + $this->link_aria_label = $options['link_aria_label']; + $this->content_class = $options['content_class']; + } + + /** + * Outputs the section link. + * + * @return void + */ + public function display_link() { + printf( + '
  • %4$s
  • ', + esc_attr( $this->name ), + esc_attr( $this->link_class ), + ( $this->link_aria_label !== '' ) ? ' aria-label="' . esc_attr( $this->link_aria_label ) . '"' : '', + $this->link_content + ); + } + + /** + * Outputs the section content. + * + * @return void + */ + public function display_content() { + $html = sprintf( + '
    ', + esc_attr( $this->name ), + esc_attr( $this->content_class ) + ); + $html .= $this->content; + $html .= '
    '; + echo $html; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-inclusive-language.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-inclusive-language.php new file mode 100644 index 00000000..1fddff4a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-inclusive-language.php @@ -0,0 +1,46 @@ + +
    %2$s
    ', + esc_attr( $this->name ), + esc_html__( 'Inclusive language', 'wordpress-seo' ) + ); + } + + /** + * Outputs the section content. + * + * @return void + */ + public function display_content() { + printf( + '
    ', + esc_attr( $this->name ) + ); + echo '
    ', '
    '; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-react.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-react.php new file mode 100644 index 00000000..70906599 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-react.php @@ -0,0 +1,118 @@ +name = $name; + $this->content = $content; + + $default_options = [ + 'link_class' => '', + 'link_aria_label' => '', + 'html_after' => '', + ]; + + $options = wp_parse_args( $options, $default_options ); + + $this->link_content = $link_content; + $this->link_class = $options['link_class']; + $this->link_aria_label = $options['link_aria_label']; + $this->html_after = $options['html_after']; + } + + /** + * Outputs the section link. + * + * @return void + */ + public function display_link() { + printf( + '
  • %4$s
  • ', + esc_attr( $this->name ), + esc_attr( $this->link_class ), + ( $this->link_aria_label !== '' ) ? ' aria-label="' . esc_attr( $this->link_aria_label ) . '"' : '', + wp_kses_post( $this->link_content ) + ); + } + + /** + * Outputs the section content. + * + * @return void + */ + public function display_content() { + add_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_forms' ] ); + add_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_a11y' ] ); + + printf( + '
    ', + esc_attr( $this->name ) + ); + echo wp_kses_post( $this->content ); + echo '
    '; + echo wp_kses_post( $this->html_after ); + echo '
    '; + + remove_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_forms' ] ); + remove_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_a11y' ] ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-readability.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-readability.php new file mode 100644 index 00000000..cbfea907 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-section-readability.php @@ -0,0 +1,46 @@ + +
    %2$s
    ', + esc_attr( $this->name ), + esc_html__( 'Readability', 'wordpress-seo' ) + ); + } + + /** + * Outputs the section content. + * + * @return void + */ + public function display_content() { + printf( + '
    ', + esc_attr( $this->name ) + ); + echo '
    ', '
    '; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php new file mode 100644 index 00000000..3f105b79 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php @@ -0,0 +1,1214 @@ +is_internet_explorer() ) { + add_action( 'add_meta_boxes', [ $this, 'internet_explorer_metabox' ] ); + + return; + } + + add_action( 'add_meta_boxes', [ $this, 'add_meta_box' ] ); + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue' ] ); + add_action( 'wp_insert_post', [ $this, 'save_postdata' ] ); + add_action( 'edit_attachment', [ $this, 'save_postdata' ] ); + add_action( 'add_attachment', [ $this, 'save_postdata' ] ); + add_action( 'admin_init', [ $this, 'translate_meta_boxes' ] ); + + $this->editor = new WPSEO_Metabox_Editor(); + $this->editor->register_hooks(); + + $this->social_is_enabled = WPSEO_Options::get( 'opengraph', false ) || WPSEO_Options::get( 'twitter', false ); + $this->is_advanced_metadata_enabled = WPSEO_Capability_Utils::current_user_can( 'wpseo_edit_advanced_metadata' ) || WPSEO_Options::get( 'disableadvanced_meta' ) === false; + + $this->seo_analysis = new WPSEO_Metabox_Analysis_SEO(); + $this->readability_analysis = new WPSEO_Metabox_Analysis_Readability(); + $this->inclusive_language_analysis = new WPSEO_Metabox_Analysis_Inclusive_Language(); + } + + /** + * Checks whether the request comes from an IE 11 browser. + * + * @return bool Whether the request comes from an IE 11 browser. + */ + public static function is_internet_explorer() { + if ( empty( $_SERVER['HTTP_USER_AGENT'] ) ) { + return false; + } + + $user_agent = sanitize_text_field( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ); + + if ( stripos( $user_agent, 'Trident/7.0' ) === false ) { + return false; + } + + return true; + } + + /** + * Adds an alternative metabox for internet explorer users. + * + * @return void + */ + public function internet_explorer_metabox() { + $post_types = WPSEO_Post_Type::get_accessible_post_types(); + $post_types = array_filter( $post_types, [ $this, 'display_metabox' ] ); + + if ( ! is_array( $post_types ) || $post_types === [] ) { + return; + } + + $product_title = $this->get_product_title(); + + foreach ( $post_types as $post_type ) { + add_filter( "postbox_classes_{$post_type}_wpseo_meta", [ $this, 'wpseo_metabox_class' ] ); + + add_meta_box( + 'wpseo_meta', + $product_title, + [ $this, 'render_internet_explorer_notice' ], + $post_type, + 'normal', + apply_filters( 'wpseo_metabox_prio', 'high' ), + [ '__block_editor_compatible_meta_box' => true ] + ); + } + } + + /** + * Renders the content for the internet explorer metabox. + * + * @return void + */ + public function render_internet_explorer_notice() { + $content = sprintf( + /* translators: 1: Link start tag to the Firefox website, 2: Link start tag to the Chrome website, 3: Link start tag to the Edge website, 4: Link closing tag. */ + esc_html__( 'The browser you are currently using is unfortunately rather dated. Since we strive to give you the best experience possible, we no longer support this browser. Instead, please use %1$sFirefox%4$s, %2$sChrome%4$s or %3$sMicrosoft Edge%4$s.', 'wordpress-seo' ), + '', + '', + '', + '' + ); + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped above. + echo new Alert_Presenter( $content ); + } + + /** + * Translates text strings for use in the meta box. + * + * IMPORTANT: if you want to add a new string (option) somewhere, make sure you add that array key to + * the main meta box definition array in the class WPSEO_Meta() as well!!!! + * + * @return void + */ + public static function translate_meta_boxes() { + WPSEO_Meta::$meta_fields['general']['title']['title'] = __( 'SEO title', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['general']['metadesc']['title'] = __( 'Meta description', 'wordpress-seo' ); + + /* translators: %s expands to the post type name. */ + WPSEO_Meta::$meta_fields['advanced']['meta-robots-noindex']['title'] = __( 'Allow search engines to show this %s in search results?', 'wordpress-seo' ); + if ( (string) get_option( 'blog_public' ) === '0' ) { + WPSEO_Meta::$meta_fields['advanced']['meta-robots-noindex']['description'] = '' . __( 'Warning: even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won\'t have an effect.', 'wordpress-seo' ) . ''; + } + /* translators: %1$s expands to Yes or No, %2$s expands to the post type name.*/ + WPSEO_Meta::$meta_fields['advanced']['meta-robots-noindex']['options']['0'] = __( 'Default for %2$s, currently: %1$s', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['meta-robots-noindex']['options']['2'] = __( 'Yes', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['meta-robots-noindex']['options']['1'] = __( 'No', 'wordpress-seo' ); + + /* translators: %1$s expands to the post type name.*/ + WPSEO_Meta::$meta_fields['advanced']['meta-robots-nofollow']['title'] = __( 'Should search engines follow links on this %1$s?', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['meta-robots-nofollow']['options']['0'] = __( 'Yes', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['meta-robots-nofollow']['options']['1'] = __( 'No', 'wordpress-seo' ); + + WPSEO_Meta::$meta_fields['advanced']['meta-robots-adv']['title'] = __( 'Meta robots advanced', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['meta-robots-adv']['description'] = __( 'If you want to apply advanced meta robots settings for this page, please define them in the following field.', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['meta-robots-adv']['options']['noimageindex'] = __( 'No Image Index', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['meta-robots-adv']['options']['noarchive'] = __( 'No Archive', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['meta-robots-adv']['options']['nosnippet'] = __( 'No Snippet', 'wordpress-seo' ); + + WPSEO_Meta::$meta_fields['advanced']['bctitle']['title'] = __( 'Breadcrumbs Title', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['bctitle']['description'] = __( 'Title to use for this page in breadcrumb paths', 'wordpress-seo' ); + + WPSEO_Meta::$meta_fields['advanced']['canonical']['title'] = __( 'Canonical URL', 'wordpress-seo' ); + + WPSEO_Meta::$meta_fields['advanced']['canonical']['description'] = sprintf( + /* translators: 1: link open tag; 2: link close tag. */ + __( 'The canonical URL that this page should point to. Leave empty to default to permalink. %1$sCross domain canonical%2$s supported too.', 'wordpress-seo' ), + '', + WPSEO_Admin_Utils::get_new_tab_message() . '' + ); + + WPSEO_Meta::$meta_fields['advanced']['redirect']['title'] = __( '301 Redirect', 'wordpress-seo' ); + WPSEO_Meta::$meta_fields['advanced']['redirect']['description'] = __( 'The URL that this page should redirect to.', 'wordpress-seo' ); + + do_action( 'wpseo_tab_translate' ); + } + + /** + * Determines whether the metabox should be shown for the passed identifier. + * + * By default the check is done for post types, but can also be used for taxonomies. + * + * @param string|null $identifier The identifier to check. + * @param string $type The type of object to check. Defaults to post_type. + * + * @return bool Whether or not the metabox should be displayed. + */ + public function display_metabox( $identifier = null, $type = 'post_type' ) { + return WPSEO_Utils::is_metabox_active( $identifier, $type ); + } + + /** + * Adds the Yoast SEO meta box to the edit boxes in the edit post, page, + * attachment, and custom post types pages. + * + * @return void + */ + public function add_meta_box() { + $post_types = WPSEO_Post_Type::get_accessible_post_types(); + $post_types = array_filter( $post_types, [ $this, 'display_metabox' ] ); + + if ( ! is_array( $post_types ) || $post_types === [] ) { + return; + } + + $product_title = $this->get_product_title(); + + foreach ( $post_types as $post_type ) { + add_filter( "postbox_classes_{$post_type}_wpseo_meta", [ $this, 'wpseo_metabox_class' ] ); + + add_meta_box( + 'wpseo_meta', + $product_title, + [ $this, 'meta_box' ], + $post_type, + 'normal', + apply_filters( 'wpseo_metabox_prio', 'high' ), + [ '__block_editor_compatible_meta_box' => true ] + ); + } + } + + /** + * Adds CSS classes to the meta box. + * + * @param string[] $classes An array of postbox CSS classes. + * + * @return string[] List of classes that will be applied to the editbox container. + */ + public function wpseo_metabox_class( $classes ) { + $classes[] = 'yoast wpseo-metabox'; + + return $classes; + } + + /** + * Passes variables to js for use with the post-scraper. + * + * @return array|bool|int> + */ + public function get_metabox_script_data() { + $permalink = $this->get_permalink(); + + $post_formatter = new WPSEO_Metabox_Formatter( + new WPSEO_Post_Metabox_Formatter( $this->get_metabox_post(), [], $permalink ) + ); + + $values = $post_formatter->get_values(); + /** This filter is documented in admin/filters/class-cornerstone-filter.php. */ + $post_types = apply_filters( 'wpseo_cornerstone_post_types', WPSEO_Post_Type::get_accessible_post_types() ); + if ( $values['cornerstoneActive'] && ! in_array( $this->get_metabox_post()->post_type, $post_types, true ) ) { + $values['cornerstoneActive'] = false; + } + + if ( $values['semrushIntegrationActive'] && $this->post->post_type === 'attachment' ) { + $values['semrushIntegrationActive'] = 0; + } + + if ( $values['wincherIntegrationActive'] && $this->post->post_type === 'attachment' ) { + $values['wincherIntegrationActive'] = 0; + } + + return $values; + } + + /** + * Determines whether or not the current post type has registered taxonomies. + * + * @return bool Whether the current post type has taxonomies. + */ + private function current_post_type_has_taxonomies() { + $post_taxonomies = get_object_taxonomies( get_post_type() ); + + return ! empty( $post_taxonomies ); + } + + /** + * Determines the scope based on the post type. + * This can be used by the replacevar plugin to determine if a replacement needs to be executed. + * + * @return string String describing the current scope. + */ + private function determine_scope() { + if ( $this->get_metabox_post()->post_type === 'page' ) { + return 'page'; + } + + return 'post'; + } + + /** + * Outputs the meta box. + * + * @return void + */ + public function meta_box() { + $this->render_hidden_fields(); + $this->render_tabs(); + } + + /** + * Renders the metabox hidden fields. + * + * @return void + */ + protected function render_hidden_fields() { + wp_nonce_field( 'yoast_free_metabox', 'yoast_free_metabox_nonce' ); + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in class. + echo new Meta_Fields_Presenter( $this->get_metabox_post(), 'general' ); + + if ( $this->is_advanced_metadata_enabled ) { + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in class. + echo new Meta_Fields_Presenter( $this->get_metabox_post(), 'advanced' ); + } + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in class. + echo new Meta_Fields_Presenter( $this->get_metabox_post(), 'schema', $this->get_metabox_post()->post_type ); + + if ( $this->social_is_enabled ) { + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in class. + echo new Meta_Fields_Presenter( $this->get_metabox_post(), 'social' ); + } + + /** + * Filter: 'wpseo_content_meta_section_content' - Allow filtering the metabox content before outputting. + * + * @param string $post_content The metabox content string. + */ + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output should be escaped in the filter. + echo apply_filters( 'wpseo_content_meta_section_content', '' ); + } + + /** + * Renders the metabox tabs. + * + * @return void + */ + protected function render_tabs() { + echo '
    '; + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $this->get_product_title() returns a hard-coded string. + printf( '
      ', $this->get_product_title() ); + + $tabs = $this->get_tabs(); + + foreach ( $tabs as $tab ) { + if ( $tab->name === 'premium' ) { + continue; + } + + $tab->display_link(); + } + + echo '
    '; + + foreach ( $tabs as $tab ) { + $tab->display_content(); + } + + echo '
    '; + } + + /** + * Returns the relevant metabox tabs for the current view. + * + * @return WPSEO_Metabox_Section[] + */ + private function get_tabs() { + $tabs = []; + + $label = __( 'SEO', 'wordpress-seo' ); + if ( $this->seo_analysis->is_enabled() ) { + $label = '' . $label; + } + $tabs[] = new WPSEO_Metabox_Section_React( 'content', $label ); + + if ( $this->readability_analysis->is_enabled() ) { + $tabs[] = new WPSEO_Metabox_Section_Readability(); + } + + if ( $this->inclusive_language_analysis->is_enabled() ) { + $tabs[] = new WPSEO_Metabox_Section_Inclusive_Language(); + } + + if ( $this->is_advanced_metadata_enabled ) { + $tabs[] = new WPSEO_Metabox_Section_React( + 'schema', + '' . __( 'Schema', 'wordpress-seo' ), + '' + ); + } + + if ( $this->social_is_enabled ) { + $tabs[] = new WPSEO_Metabox_Section_React( + 'social', + '' . __( 'Social', 'wordpress-seo' ), + '', + [ + 'html_after' => '
    ', + ] + ); + } + + $tabs = array_merge( $tabs, $this->get_additional_tabs() ); + + return $tabs; + } + + /** + * Returns the metabox tabs that have been added by other plugins. + * + * @return WPSEO_Metabox_Section_Additional[] + */ + protected function get_additional_tabs() { + $tabs = []; + + /** + * Private filter: 'yoast_free_additional_metabox_sections'. + * + * Meant for internal use only. Allows adding additional tabs to the Yoast SEO metabox. + * + * @since 11.9 + * + * @param array[] $tabs { + * An array of arrays with tab specifications. + * + * @type array $tab { + * A tab specification. + * + * @type string $name The name of the tab. Used in the HTML IDs, href and aria properties. + * @type string $link_content The content of the tab link. + * @type string $content The content of the tab. + * @type array $options { + * Optional. Extra options. + * + * @type string $link_class Optional. The class for the tab link. + * @type string $link_aria_label Optional. The aria label of the tab link. + * } + * } + * } + */ + $requested_tabs = apply_filters( 'yoast_free_additional_metabox_sections', [] ); + + foreach ( $requested_tabs as $tab ) { + if ( is_array( $tab ) && array_key_exists( 'name', $tab ) && array_key_exists( 'link_content', $tab ) && array_key_exists( 'content', $tab ) ) { + $options = array_key_exists( 'options', $tab ) ? $tab['options'] : []; + $tabs[] = new WPSEO_Metabox_Section_Additional( + $tab['name'], + $tab['link_content'], + $tab['content'], + $options + ); + } + } + + return $tabs; + } + + /** + * Adds a line in the meta box. + * + * @todo [JRF] Check if $class is added appropriately everywhere. + * + * @param string[] $meta_field_def Contains the vars based on which output is generated. + * @param string $key Internal key (without prefix). + * + * @return string + */ + public function do_meta_box( $meta_field_def, $key = '' ) { + $content = ''; + $esc_form_key = esc_attr( WPSEO_Meta::$form_prefix . $key ); + $meta_value = WPSEO_Meta::get_value( $key, $this->get_metabox_post()->ID ); + + $class = ''; + if ( isset( $meta_field_def['class'] ) && $meta_field_def['class'] !== '' ) { + $class = ' ' . $meta_field_def['class']; + } + + $placeholder = ''; + if ( isset( $meta_field_def['placeholder'] ) && $meta_field_def['placeholder'] !== '' ) { + $placeholder = $meta_field_def['placeholder']; + } + + $aria_describedby = ''; + $description = ''; + if ( isset( $meta_field_def['description'] ) ) { + $aria_describedby = ' aria-describedby="' . $esc_form_key . '-desc"'; + $description = '

    ' . $meta_field_def['description'] . '

    '; + } + + // Add a hide_on_pages option that returns nothing when the field is rendered on a page. + if ( isset( $meta_field_def['hide_on_pages'] ) && $meta_field_def['hide_on_pages'] && get_post_type() === 'page' ) { + return ''; + } + + switch ( $meta_field_def['type'] ) { + case 'text': + $ac = ''; + if ( isset( $meta_field_def['autocomplete'] ) && $meta_field_def['autocomplete'] === false ) { + $ac = 'autocomplete="off" '; + } + if ( $placeholder !== '' ) { + $placeholder = ' placeholder="' . esc_attr( $placeholder ) . '"'; + } + $content .= ''; + break; + + case 'url': + if ( $placeholder !== '' ) { + $placeholder = ' placeholder="' . esc_attr( $placeholder ) . '"'; + } + $content .= ''; + break; + + case 'textarea': + $rows = 3; + if ( isset( $meta_field_def['rows'] ) && $meta_field_def['rows'] > 0 ) { + $rows = $meta_field_def['rows']; + } + $content .= ''; + break; + + case 'hidden': + $default = ''; + if ( isset( $meta_field_def['default'] ) ) { + $default = sprintf( ' data-default="%s"', esc_attr( $meta_field_def['default'] ) ); + } + $content .= '' . "\n"; + break; + case 'select': + if ( isset( $meta_field_def['options'] ) && is_array( $meta_field_def['options'] ) && $meta_field_def['options'] !== [] ) { + $content .= ''; + } + break; + + case 'multiselect': + if ( isset( $meta_field_def['options'] ) && is_array( $meta_field_def['options'] ) && $meta_field_def['options'] !== [] ) { + + // Set $meta_value as $selected_arr. + $selected_arr = $meta_value; + + // If the multiselect field is 'meta-robots-adv' we should explode on ,. + if ( $key === 'meta-robots-adv' ) { + $selected_arr = explode( ',', $meta_value ); + } + + if ( ! is_array( $selected_arr ) ) { + $selected_arr = (array) $selected_arr; + } + + $options_count = count( $meta_field_def['options'] ); + + $content .= ''; + unset( $val, $option, $selected, $selected_arr, $options_count ); + } + break; + + case 'checkbox': + $checked = checked( $meta_value, 'on', false ); + $expl = ( isset( $meta_field_def['expl'] ) ) ? esc_html( $meta_field_def['expl'] ) : ''; + $content .= ' '; + unset( $checked, $expl ); + break; + + case 'radio': + if ( isset( $meta_field_def['options'] ) && is_array( $meta_field_def['options'] ) && $meta_field_def['options'] !== [] ) { + foreach ( $meta_field_def['options'] as $val => $option ) { + $checked = checked( $meta_value, $val, false ); + $content .= ' '; + } + unset( $val, $option, $checked ); + } + break; + + case 'upload': + $content .= ' '; + $content .= ' '; + $content .= ''; + break; + } + + $html = ''; + if ( $content === '' ) { + $content = apply_filters( 'wpseo_do_meta_box_field_' . $key, $content, $meta_value, $esc_form_key, $meta_field_def, $key ); + } + + if ( $content !== '' ) { + + $title = esc_html( $meta_field_def['title'] ); + + // By default, use the field title as a label element. + $label = ''; + + // Set the inline help and help panel, if any. + $help_button = ''; + $help_panel = ''; + if ( isset( $meta_field_def['help'] ) && $meta_field_def['help'] !== '' ) { + $help = new WPSEO_Admin_Help_Panel( $key, $meta_field_def['help-button'], $meta_field_def['help'] ); + $help_button = $help->get_button_html(); + $help_panel = $help->get_panel_html(); + } + + // If it's a set of radio buttons, output proper fieldset and legend. + if ( $meta_field_def['type'] === 'radio' ) { + return '
    ' . $title . '' . $help_button . $help_panel . $content . $description . '
    '; + } + + // If it's a single checkbox, ignore the title. + if ( $meta_field_def['type'] === 'checkbox' ) { + $label = ''; + } + + // Other meta box content or form fields. + if ( $meta_field_def['type'] === 'hidden' ) { + $html = $content; + } + else { + $html = $label . $description . $help_button . $help_panel . $content; + } + } + + return $html; + } + + /** + * Saves the WP SEO metadata for posts. + * + * {@internal $_POST parameters are validated via sanitize_post_meta().}} + * + * @param int $post_id Post ID. + * + * @return bool|void Boolean false if invalid save post request. + */ + public function save_postdata( $post_id ) { + // Bail if this is a multisite installation and the site has been switched. + if ( is_multisite() && ms_is_switched() ) { + return false; + } + + if ( $post_id === null ) { + return false; + } + + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized in wp_verify_none. + if ( ! isset( $_POST['yoast_free_metabox_nonce'] ) || ! wp_verify_nonce( wp_unslash( $_POST['yoast_free_metabox_nonce'] ), 'yoast_free_metabox' ) ) { + return false; + } + + if ( wp_is_post_revision( $post_id ) ) { + $post_id = wp_is_post_revision( $post_id ); + } + + /** + * Determine we're not accidentally updating a different post. + * We can't use filter_input here as the ID isn't available at this point, other than in the $_POST data. + */ + if ( ! isset( $_POST['ID'] ) || $post_id !== (int) $_POST['ID'] ) { + return false; + } + + clean_post_cache( $post_id ); + $post = get_post( $post_id ); + + if ( ! is_object( $post ) ) { + // Non-existent post. + return false; + } + + do_action( 'wpseo_save_compare_data', $post ); + + $social_fields = []; + if ( $this->social_is_enabled ) { + $social_fields = WPSEO_Meta::get_meta_field_defs( 'social' ); + } + + $meta_boxes = apply_filters( 'wpseo_save_metaboxes', [] ); + $meta_boxes = array_merge( + $meta_boxes, + WPSEO_Meta::get_meta_field_defs( 'general', $post->post_type ), + WPSEO_Meta::get_meta_field_defs( 'advanced' ), + $social_fields, + WPSEO_Meta::get_meta_field_defs( 'schema', $post->post_type ) + ); + + foreach ( $meta_boxes as $key => $meta_box ) { + + // If analysis is disabled remove that analysis score value from the DB. + if ( $this->is_meta_value_disabled( $key ) ) { + WPSEO_Meta::delete( $key, $post_id ); + continue; + } + + $data = null; + $field_name = WPSEO_Meta::$form_prefix . $key; + + if ( $meta_box['type'] === 'checkbox' ) { + $data = isset( $_POST[ $field_name ] ) ? 'on' : 'off'; + } + else { + if ( isset( $_POST[ $field_name ] ) ) { + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- We're preparing to do just that. + $data = wp_unslash( $_POST[ $field_name ] ); + + // For multi-select. + if ( is_array( $data ) ) { + $data = array_map( [ 'WPSEO_Utils', 'sanitize_text_field' ], $data ); + } + + if ( is_string( $data ) ) { + $data = ( $key !== 'canonical' ) ? WPSEO_Utils::sanitize_text_field( $data ) : WPSEO_Utils::sanitize_url( $data ); + } + } + + // Reset options when no entry is present with multiselect - only applies to `meta-robots-adv` currently. + if ( ! isset( $_POST[ $field_name ] ) && ( $meta_box['type'] === 'multiselect' ) ) { + $data = []; + } + } + + if ( $data !== null ) { + WPSEO_Meta::set_value( $key, $data, $post_id ); + } + } + + do_action( 'wpseo_saved_postdata' ); + } + + /** + * Determines if the given meta value key is disabled. + * + * @param string $key The key of the meta value. + * + * @return bool Whether the given meta value key is disabled. + */ + public function is_meta_value_disabled( $key ) { + if ( $key === 'linkdex' && ! $this->seo_analysis->is_enabled() ) { + return true; + } + + if ( $key === 'content_score' && ! $this->readability_analysis->is_enabled() ) { + return true; + } + + if ( $key === 'inclusive_language_score' && ! $this->inclusive_language_analysis->is_enabled() ) { + return true; + } + + return false; + } + + /** + * Enqueues all the needed JS and CSS. + * + * @todo [JRF => whomever] Create css/metabox-mp6.css file and add it to the below allowed colors array when done. + * + * @return void + */ + public function enqueue() { + global $pagenow; + + $asset_manager = new WPSEO_Admin_Asset_Manager(); + + $is_editor = self::is_post_overview( $pagenow ) || self::is_post_edit( $pagenow ); + + if ( self::is_post_overview( $pagenow ) ) { + $asset_manager->enqueue_style( 'edit-page' ); + $asset_manager->enqueue_script( 'edit-page' ); + + return; + } + + /* Filter 'wpseo_always_register_metaboxes_on_admin' documented in wpseo-main.php */ + if ( ( $is_editor === false && apply_filters( 'wpseo_always_register_metaboxes_on_admin', false ) === false ) || $this->display_metabox() === false ) { + return; + } + + $post_id = get_queried_object_id(); + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( empty( $post_id ) && isset( $_GET['post'] ) && is_string( $_GET['post'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + $post_id = sanitize_text_field( wp_unslash( $_GET['post'] ) ); + } + + if ( $post_id !== 0 ) { + // Enqueue files needed for upload functionality. + wp_enqueue_media( [ 'post' => $post_id ] ); + } + + $asset_manager->enqueue_style( 'metabox-css' ); + $asset_manager->enqueue_style( 'scoring' ); + $asset_manager->enqueue_style( 'monorepo' ); + $asset_manager->enqueue_style( 'ai-generator' ); + $asset_manager->enqueue_style( 'ai-fix-assessments' ); + + $is_block_editor = WP_Screen::get()->is_block_editor(); + $post_edit_handle = 'post-edit'; + if ( ! $is_block_editor ) { + $post_edit_handle = 'post-edit-classic'; + } + $asset_manager->enqueue_script( $post_edit_handle ); + $asset_manager->enqueue_style( 'admin-css' ); + + /** + * Removes the emoji script as it is incompatible with both React and any + * contenteditable fields. + */ + remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); + + $asset_manager->localize_script( $post_edit_handle, 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() ); + + $plugins_script_data = [ + 'replaceVars' => [ + 'no_parent_text' => __( '(no parent)', 'wordpress-seo' ), + 'replace_vars' => $this->get_replace_vars(), + 'hidden_replace_vars' => $this->get_hidden_replace_vars(), + 'recommended_replace_vars' => $this->get_recommended_replace_vars(), + 'scope' => $this->determine_scope(), + 'has_taxonomies' => $this->current_post_type_has_taxonomies(), + ], + 'shortcodes' => [ + 'wpseo_shortcode_tags' => $this->get_valid_shortcode_tags(), + 'wpseo_filter_shortcodes_nonce' => wp_create_nonce( 'wpseo-filter-shortcodes' ), + ], + ]; + + $worker_script_data = [ + 'url' => YoastSEO()->helpers->asset->get_asset_url( 'yoast-seo-analysis-worker' ), + 'dependencies' => YoastSEO()->helpers->asset->get_dependency_urls_by_handle( 'yoast-seo-analysis-worker' ), + 'keywords_assessment_url' => YoastSEO()->helpers->asset->get_asset_url( 'yoast-seo-used-keywords-assessment' ), + 'log_level' => WPSEO_Utils::get_analysis_worker_log_level(), + ]; + + $woocommerce_conditional = new WooCommerce_Conditional(); + $woocommerce_active = $woocommerce_conditional->is_met(); + $addon_manager = new WPSEO_Addon_Manager(); + $woocommerce_seo_active = is_plugin_active( $addon_manager->get_plugin_file( WPSEO_Addon_Manager::WOOCOMMERCE_SLUG ) ); + + $script_data = [ + // @todo replace this translation with JavaScript translations. + 'media' => [ 'choose_image' => __( 'Use Image', 'wordpress-seo' ) ], + 'metabox' => $this->get_metabox_script_data(), + 'userLanguageCode' => WPSEO_Language_Utils::get_language( get_user_locale() ), + 'isPost' => true, + 'isBlockEditor' => $is_block_editor, + 'postId' => $post_id, + 'postStatus' => get_post_status( $post_id ), + 'postType' => get_post_type( $post_id ), + 'usedKeywordsNonce' => wp_create_nonce( 'wpseo-keyword-usage-and-post-types' ), + 'analysis' => [ + 'plugins' => $plugins_script_data, + 'worker' => $worker_script_data, + ], + 'isJetpackBoostActive' => ( $is_block_editor ) ? YoastSEO()->classes->get( Jetpack_Boost_Active_Conditional::class )->is_met() : false, + 'isJetpackBoostNotPremium' => ( $is_block_editor ) ? YoastSEO()->classes->get( Jetpack_Boost_Not_Premium_Conditional::class )->is_met() : false, + 'isWooCommerceSeoActive' => $woocommerce_seo_active, + 'isWooCommerceActive' => $woocommerce_active, + 'woocommerceUpsell' => get_post_type( $post_id ) === 'product' && ! $woocommerce_seo_active && $woocommerce_active, + ]; + + /** + * The website information repository. + * + * @var $repo Website_Information_Repository + */ + $repo = YoastSEO()->classes->get( Website_Information_Repository::class ); + $site_information = $repo->get_post_site_information(); + $site_information->set_permalink( $this->get_permalink() ); + $script_data = array_merge_recursive( $site_information->get_legacy_site_information(), $script_data ); + + if ( post_type_supports( get_post_type(), 'thumbnail' ) ) { + $asset_manager->enqueue_style( 'featured-image' ); + + // @todo replace this translation with JavaScript translations. + $script_data['featuredImage'] = [ + 'featured_image_notice' => __( 'SEO issue: The featured image should be at least 200 by 200 pixels to be picked up by Facebook and other social media sites.', 'wordpress-seo' ), + ]; + } + + $asset_manager->localize_script( $post_edit_handle, 'wpseoScriptData', $script_data ); + $asset_manager->enqueue_user_language_script(); + } + + /** + * Returns post in metabox context. + * + * @return WP_Post|array + */ + protected function get_metabox_post() { + if ( $this->post !== null ) { + return $this->post; + } + + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['post'] ) && is_string( $_GET['post'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are not processing form information, Sanitization happens in the validate_int function. + $post_id = (int) WPSEO_Utils::validate_int( wp_unslash( $_GET['post'] ) ); + + $this->post = get_post( $post_id ); + + return $this->post; + } + + if ( isset( $GLOBALS['post'] ) ) { + $this->post = $GLOBALS['post']; + + return $this->post; + } + + return []; + } + + /** + * Returns an array with shortcode tags for all registered shortcodes. + * + * @return string[] + */ + private function get_valid_shortcode_tags() { + $shortcode_tags = []; + + foreach ( $GLOBALS['shortcode_tags'] as $tag => $description ) { + $shortcode_tags[] = $tag; + } + + return $shortcode_tags; + } + + /** + * Prepares the replace vars for localization. + * + * @return string[] Replace vars. + */ + private function get_replace_vars() { + $cached_replacement_vars = []; + + $vars_to_cache = [ + 'date', + 'id', + 'sitename', + 'sitedesc', + 'sep', + 'page', + 'currentdate', + 'currentyear', + 'currentmonth', + 'currentday', + 'post_year', + 'post_month', + 'post_day', + 'name', + 'author_first_name', + 'author_last_name', + 'permalink', + 'post_content', + 'category_title', + 'tag', + 'category', + ]; + + foreach ( $vars_to_cache as $var ) { + $cached_replacement_vars[ $var ] = wpseo_replace_vars( '%%' . $var . '%%', $this->get_metabox_post() ); + } + + // Merge custom replace variables with the WordPress ones. + return array_merge( $cached_replacement_vars, $this->get_custom_replace_vars( $this->get_metabox_post() ) ); + } + + /** + * Returns the list of replace vars that should be hidden inside the editor. + * + * @return string[] The hidden replace vars. + */ + protected function get_hidden_replace_vars() { + return ( new WPSEO_Replace_Vars() )->get_hidden_replace_vars(); + } + + /** + * Prepares the recommended replace vars for localization. + * + * @return array Recommended replacement variables. + */ + private function get_recommended_replace_vars() { + $recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars(); + + // What is recommended depends on the current context. + $post_type = $recommended_replace_vars->determine_for_post( $this->get_metabox_post() ); + + return $recommended_replace_vars->get_recommended_replacevars_for( $post_type ); + } + + /** + * Gets the custom replace variables for custom taxonomies and fields. + * + * @param WP_Post $post The post to check for custom taxonomies and fields. + * + * @return array Array containing all the replacement variables. + */ + private function get_custom_replace_vars( $post ) { + return [ + 'custom_fields' => $this->get_custom_fields_replace_vars( $post ), + 'custom_taxonomies' => $this->get_custom_taxonomies_replace_vars( $post ), + ]; + } + + /** + * Gets the custom replace variables for custom taxonomies. + * + * @param WP_Post $post The post to check for custom taxonomies. + * + * @return array Array containing all the replacement variables. + */ + private function get_custom_taxonomies_replace_vars( $post ) { + $taxonomies = get_object_taxonomies( $post, 'objects' ); + $custom_replace_vars = []; + + foreach ( $taxonomies as $taxonomy_name => $taxonomy ) { + + if ( is_string( $taxonomy ) ) { // If attachment, see https://core.trac.wordpress.org/ticket/37368 . + $taxonomy_name = $taxonomy; + $taxonomy = get_taxonomy( $taxonomy_name ); + } + + if ( $taxonomy->_builtin && $taxonomy->public ) { + continue; + } + + $custom_replace_vars[ $taxonomy_name ] = [ + 'name' => $taxonomy->name, + 'description' => $taxonomy->description, + ]; + } + + return $custom_replace_vars; + } + + /** + * Gets the custom replace variables for custom fields. + * + * @param WP_Post $post The post to check for custom fields. + * + * @return array Array containing all the replacement variables. + */ + private function get_custom_fields_replace_vars( $post ) { + $custom_replace_vars = []; + + // If no post object is passed, return the empty custom_replace_vars array. + if ( ! is_object( $post ) ) { + return $custom_replace_vars; + } + + $custom_fields = get_post_custom( $post->ID ); + + // If $custom_fields is an empty string or generally not an array, return early. + if ( ! is_array( $custom_fields ) ) { + return $custom_replace_vars; + } + + $meta = YoastSEO()->meta->for_post( $post->ID ); + + if ( ! $meta ) { + return $custom_replace_vars; + } + + // Simply concatenate all fields containing replace vars so we can handle them all with a single regex find. + $replace_vars_fields = implode( + ' ', + [ + $meta->presentation->title, + $meta->presentation->meta_description, + ] + ); + + preg_match_all( '/%%cf_([A-Za-z0-9_]+)%%/', $replace_vars_fields, $matches ); + $fields_to_include = $matches[1]; + foreach ( $custom_fields as $custom_field_name => $custom_field ) { + // Skip private custom fields. + if ( substr( $custom_field_name, 0, 1 ) === '_' ) { + continue; + } + + // Skip custom fields that are not used, new ones will be fetched dynamically. + if ( ! in_array( $custom_field_name, $fields_to_include, true ) ) { + continue; + } + + // Skip custom field values that are serialized. + if ( is_serialized( $custom_field[0] ) ) { + continue; + } + + $custom_replace_vars[ $custom_field_name ] = $custom_field[0]; + } + + return $custom_replace_vars; + } + + /** + * Checks if the page is the post overview page. + * + * @param string $page The page to check for the post overview page. + * + * @return bool Whether or not the given page is the post overview page. + */ + public static function is_post_overview( $page ) { + return $page === 'edit.php'; + } + + /** + * Checks if the page is the post edit page. + * + * @param string $page The page to check for the post edit page. + * + * @return bool Whether or not the given page is the post edit page. + */ + public static function is_post_edit( $page ) { + return $page === 'post.php' + || $page === 'post-new.php'; + } + + /** + * Retrieves the product title. + * + * @return string The product title. + */ + protected function get_product_title() { + return YoastSEO()->helpers->product->get_product_name(); + } + + /** + * Gets the permalink. + * + * @return string + */ + protected function get_permalink() { + $permalink = ''; + + if ( is_object( $this->get_metabox_post() ) ) { + $permalink = get_sample_permalink( $this->get_metabox_post()->ID ); + $permalink = $permalink[0]; + } + + return $permalink; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/metabox/interface-metabox-analysis.php b/wp/wp-content/plugins/wordpress-seo/admin/metabox/interface-metabox-analysis.php new file mode 100644 index 00000000..756ca97d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/metabox/interface-metabox-analysis.php @@ -0,0 +1,33 @@ +get_listener_value() !== $this->notification_identifier ) { + return; + } + + $this->dismiss(); + } + + /** + * Adds the notification if applicable, otherwise removes it. + * + * @param Yoast_Notification_Center $notification_center The notification center object. + * + * @return void + */ + public function handle( Yoast_Notification_Center $notification_center ) { + if ( $this->is_applicable() ) { + $notification = $this->get_notification(); + $notification_center->add_notification( $notification ); + + return; + } + + $notification_center->remove_notification_by_id( 'wpseo-' . $this->notification_identifier ); + } + + /** + * Listens to an argument in the request URL and triggers an action. + * + * @return void + */ + protected function dismiss() { + $this->set_dismissal_state(); + $this->redirect_to_dashboard(); + } + + /** + * Checks if a notice is applicable. + * + * @return bool Whether a notice should be shown or not. + */ + protected function is_applicable() { + return $this->is_notice_dismissed() === false; + } + + /** + * Checks whether the notification has been dismissed. + * + * @codeCoverageIgnore + * + * @return bool True when notification is dismissed. + */ + protected function is_notice_dismissed() { + return get_user_meta( get_current_user_id(), 'wpseo-remove-' . $this->notification_identifier, true ) === '1'; + } + + /** + * Retrieves the value where listener is listening for. + * + * @codeCoverageIgnore + * + * @return string|null The listener value or null if not set. + */ + protected function get_listener_value() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: Normally we would need to check for a nonce here but this class is not used anymore. + if ( isset( $_GET['yoast_dismiss'] ) && is_string( $_GET['yoast_dismiss'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: Normally we would need to check for a nonce here but this class is not used anymore. + return sanitize_text_field( wp_unslash( $_GET['yoast_dismiss'] ) ); + } + return null; + } + + /** + * Dismisses the notification. + * + * @codeCoverageIgnore + * + * @return void + */ + protected function set_dismissal_state() { + update_user_meta( get_current_user_id(), 'wpseo-remove-' . $this->notification_identifier, true ); + } + + /** + * Redirects the user back to the dashboard. + * + * @codeCoverageIgnore + * + * @return void + */ + protected function redirect_to_dashboard() { + wp_safe_redirect( admin_url( 'admin.php?page=wpseo_dashboard' ) ); + exit; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/notifiers/interface-notification-handler.php b/wp/wp-content/plugins/wordpress-seo/admin/notifiers/interface-notification-handler.php new file mode 100644 index 00000000..f798a586 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/notifiers/interface-notification-handler.php @@ -0,0 +1,21 @@ +admin_header( true, 'wpseo' ); + +do_action( 'wpseo_all_admin_notices' ); + +$dashboard_tabs = new WPSEO_Option_Tabs( 'dashboard' ); +$dashboard_tabs->add_tab( + new WPSEO_Option_Tab( + 'dashboard', + __( 'Dashboard', 'wordpress-seo' ), + [ + 'save_button' => false, + ] + ) +); + +/** + * Allows the addition of tabs to the dashboard by calling $dashboard_tabs->add_tab(). + */ +do_action( 'wpseo_settings_tabs_dashboard', $dashboard_tabs ); + +$dashboard_tabs->display( $yform ); + +do_action( 'wpseo_dashboard' ); + +$yform->admin_footer(); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/pages/licenses.php b/wp/wp-content/plugins/wordpress-seo/admin/pages/licenses.php new file mode 100644 index 00000000..fb713cdc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/pages/licenses.php @@ -0,0 +1,15 @@ +admin_header( true, 'wpseo_ms' ); + +$network_tabs = new WPSEO_Option_Tabs( 'network' ); +$network_tabs->add_tab( new WPSEO_Option_Tab( 'general', __( 'General', 'wordpress-seo' ) ) ); +$network_tabs->add_tab( new WPSEO_Option_Tab( 'features', __( 'Features', 'wordpress-seo' ) ) ); +$network_tabs->add_tab( new WPSEO_Option_Tab( 'integrations', __( 'Integrations', 'wordpress-seo' ) ) ); + +$network_tabs->add_tab( + new WPSEO_Option_Tab( + 'crawl-settings', + __( 'Crawl settings', 'wordpress-seo' ), + [ + 'save_button' => true, + ] + ) +); +$network_tabs->add_tab( new WPSEO_Option_Tab( 'restore-site', __( 'Restore Site', 'wordpress-seo' ), [ 'save_button' => false ] ) ); +$network_tabs->display( $yform ); + +$yform->admin_footer(); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/pages/redirects.php b/wp/wp-content/plugins/wordpress-seo/admin/pages/redirects.php new file mode 100644 index 00000000..52acbc33 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/pages/redirects.php @@ -0,0 +1,15 @@ +admin_header( false ); + +if ( $tool_page === '' ) { + + $tools = []; + + $tools['import-export'] = [ + 'title' => __( 'Import and Export', 'wordpress-seo' ), + 'desc' => __( 'Import settings from other SEO plugins and export your settings for re-use on (another) site.', 'wordpress-seo' ), + ]; + + if ( WPSEO_Utils::allow_system_file_edit() === true && ! is_multisite() ) { + $tools['file-editor'] = [ + 'title' => __( 'File editor', 'wordpress-seo' ), + 'desc' => __( 'This tool allows you to quickly change important files for your SEO, like your robots.txt and, if you have one, your .htaccess file.', 'wordpress-seo' ), + ]; + } + + $tools['bulk-editor'] = [ + 'title' => __( 'Bulk editor', 'wordpress-seo' ), + 'desc' => __( 'This tool allows you to quickly change titles and descriptions of your posts and pages without having to go into the editor for each page.', 'wordpress-seo' ), + ]; + + echo '

    '; + printf( + /* translators: %1$s expands to Yoast SEO */ + esc_html__( '%1$s comes with some very powerful built-in tools:', 'wordpress-seo' ), + 'Yoast SEO' + ); + echo '

    '; + + echo '
      '; + + $admin_url = admin_url( 'admin.php?page=wpseo_tools' ); + + foreach ( $tools as $slug => $tool ) { + $href = ( ! empty( $tool['href'] ) ) ? $admin_url . $tool['href'] : add_query_arg( [ 'tool' => $slug ], $admin_url ); + $attr = ( ! empty( $tool['attr'] ) ) ? $tool['attr'] : ''; + + echo '
    • '; + echo '', esc_html( $tool['title'] ), '
      '; + echo esc_html( $tool['desc'] ); + echo '
    • '; + } + + /** + * WARNING: This hook is intended for internal use only. + * Don't use it in your code as it will be removed shortly. + */ + do_action( 'wpseo_tools_overview_list_items_internal' ); + + echo '
    '; +} +else { + echo '', esc_html__( '« Back to Tools page', 'wordpress-seo' ), ''; + + $tool_pages = [ 'bulk-editor', 'import-export' ]; + + if ( WPSEO_Utils::allow_system_file_edit() === true && ! is_multisite() ) { + $tool_pages[] = 'file-editor'; + } + + if ( in_array( $tool_page, $tool_pages, true ) ) { + require_once WPSEO_PATH . 'admin/views/tool-' . $tool_page . '.php'; + } +} + +$yform->admin_footer( false ); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/roles/class-abstract-role-manager.php b/wp/wp-content/plugins/wordpress-seo/admin/roles/class-abstract-role-manager.php new file mode 100644 index 00000000..39edad49 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/roles/class-abstract-role-manager.php @@ -0,0 +1,149 @@ +roles[ $role ] = (object) [ + 'display_name' => $display_name, + 'template' => $template, + ]; + } + + /** + * Returns the list of registered roles. + * + * @return string[] List or registered roles. + */ + public function get_roles() { + return array_keys( $this->roles ); + } + + /** + * Adds the registered roles. + * + * @return void + */ + public function add() { + foreach ( $this->roles as $role => $data ) { + $capabilities = $this->get_capabilities( $data->template ); + $capabilities = $this->filter_existing_capabilties( $role, $capabilities ); + + $this->add_role( $role, $data->display_name, $capabilities ); + } + } + + /** + * Removes the registered roles. + * + * @return void + */ + public function remove() { + $roles = array_keys( $this->roles ); + array_map( [ $this, 'remove_role' ], $roles ); + } + + /** + * Returns the capabilities for the specified role. + * + * @param string $role Role to fetch capabilities from. + * + * @return array List of capabilities. + */ + protected function get_capabilities( $role ) { + if ( ! is_string( $role ) || empty( $role ) ) { + return []; + } + + $wp_role = get_role( $role ); + if ( ! $wp_role ) { + return []; + } + + return $wp_role->capabilities; + } + + /** + * Returns true if the capability exists on the role. + * + * @param WP_Role $role Role to check capability against. + * @param string $capability Capability to check. + * + * @return bool True if the capability is defined for the role. + */ + protected function capability_exists( WP_Role $role, $capability ) { + return ! array_key_exists( $capability, $role->capabilities ); + } + + /** + * Filters out capabilities that are already set for the role. + * + * This makes sure we don't override configurations that have been previously set. + * + * @param string $role The role to check against. + * @param array $capabilities The capabilities that should be set. + * + * @return array Capabilties that can be safely set. + */ + protected function filter_existing_capabilties( $role, array $capabilities ) { + if ( $capabilities === [] ) { + return $capabilities; + } + + $wp_role = get_role( $role ); + if ( ! $wp_role ) { + return $capabilities; + } + + foreach ( $capabilities as $capability => $grant ) { + if ( $this->capability_exists( $wp_role, $capability ) ) { + unset( $capabilities[ $capability ] ); + } + } + + return $capabilities; + } + + /** + * Adds a role to the system. + * + * @param string $role Role to add. + * @param string $display_name Name to display for the role. + * @param array $capabilities Capabilities to add to the role. + * + * @return void + */ + abstract protected function add_role( $role, $display_name, array $capabilities = [] ); + + /** + * Removes a role from the system. + * + * @param string $role Role to remove. + * + * @return void + */ + abstract protected function remove_role( $role ); +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/roles/class-register-roles.php b/wp/wp-content/plugins/wordpress-seo/admin/roles/class-register-roles.php new file mode 100644 index 00000000..9636237e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/roles/class-register-roles.php @@ -0,0 +1,33 @@ +register( 'wpseo_manager', 'SEO Manager', 'editor' ); + $role_manager->register( 'wpseo_editor', 'SEO Editor', 'editor' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/roles/class-role-manager-factory.php b/wp/wp-content/plugins/wordpress-seo/admin/roles/class-role-manager-factory.php new file mode 100644 index 00000000..d22753a2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/roles/class-role-manager-factory.php @@ -0,0 +1,27 @@ + $grant ) { + $wp_role->add_cap( $capability, $grant ); + } + + return; + } + + add_role( $role, $display_name, $capabilities ); + } + + /** + * Removes a role from the system. + * + * @param string $role Role to remove. + * + * @return void + */ + protected function remove_role( $role ) { + remove_role( $role ); + } + + /** + * Formats the capabilities to the required format. + * + * @param array $capabilities Capabilities to format. + * @param bool $enabled Whether these capabilities should be enabled or not. + * + * @return array Formatted capabilities. + */ + protected function format_capabilities( array $capabilities, $enabled = true ) { + // Flip keys and values. + $capabilities = array_flip( $capabilities ); + + // Set all values to $enabled. + return array_fill_keys( array_keys( $capabilities ), $enabled ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/roles/class-role-manager.php b/wp/wp-content/plugins/wordpress-seo/admin/roles/class-role-manager.php new file mode 100644 index 00000000..7f9d82bb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/roles/class-role-manager.php @@ -0,0 +1,44 @@ +get_file_url( $request ); + + return new WP_REST_Response( + [ + 'type' => 'success', + 'size_in_bytes' => $this->get_file_size( $file_url ), + ], + 200 + ); + } + catch ( WPSEO_File_Size_Exception $exception ) { + return new WP_REST_Response( + [ + 'type' => 'failure', + 'response' => $exception->getMessage(), + ], + 404 + ); + } + } + + /** + * Retrieves the file url. + * + * @param WP_REST_Request $request The request to retrieve file url from. + * + * @return string The file url. + * @throws WPSEO_File_Size_Exception The file is hosted externally. + */ + protected function get_file_url( WP_REST_Request $request ) { + $file_url = rawurldecode( $request->get_param( 'url' ) ); + + if ( ! $this->is_externally_hosted( $file_url ) ) { + return $file_url; + } + + throw WPSEO_File_Size_Exception::externally_hosted( $file_url ); + } + + /** + * Checks if the file is hosted externally. + * + * @param string $file_url The file url. + * + * @return bool True if it is hosted externally. + */ + protected function is_externally_hosted( $file_url ) { + return wp_parse_url( home_url(), PHP_URL_HOST ) !== wp_parse_url( $file_url, PHP_URL_HOST ); + } + + /** + * Returns the file size. + * + * @param string $file_url The file url to get the size for. + * + * @return int The file size. + * @throws WPSEO_File_Size_Exception Retrieval of file size went wrong for unknown reasons. + */ + protected function get_file_size( $file_url ) { + $file_config = wp_upload_dir(); + $file_url = str_replace( $file_config['baseurl'], '', $file_url ); + $file_size = $this->calculate_file_size( $file_url ); + + if ( ! $file_size ) { + throw WPSEO_File_Size_Exception::unknown_error( $file_url ); + } + + return $file_size; + } + + /** + * Calculates the file size using the Utils class. + * + * @param string $file_url The file to retrieve the size for. + * + * @return int|bool The file size or False if it could not be retrieved. + */ + protected function calculate_file_size( $file_url ) { + return WPSEO_Image_Utils::get_file_size( + [ + 'path' => $file_url, + ] + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/statistics/class-statistics-integration.php b/wp/wp-content/plugins/wordpress-seo/admin/statistics/class-statistics-integration.php new file mode 100644 index 00000000..756f314c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/statistics/class-statistics-integration.php @@ -0,0 +1,36 @@ +statistics = $statistics; + } + + /** + * Fetches statistics by REST request. + * + * @return WP_REST_Response The response object. + */ + public function get_statistics() { + // Switch to the user locale with fallback to the site locale. + switch_to_locale( get_user_locale() ); + + $this->labels = $this->labels(); + $statistics = $this->statistic_items(); + + $data = [ + 'header' => $this->get_header_from_statistics( $statistics ), + 'seo_scores' => $statistics['scores'], + ]; + + return new WP_REST_Response( $data ); + } + + /** + * Gets a header summarizing the given statistics results. + * + * @param array $statistics The statistics results. + * + * @return string The header summing up the statistics results. + */ + private function get_header_from_statistics( array $statistics ) { + // Personal interpretation to allow release, should be looked at later. + if ( $statistics['division'] === false ) { + return __( 'You don\'t have any published posts, your SEO scores will appear here once you make your first post!', 'wordpress-seo' ); + } + + if ( $statistics['division']['good'] > 0.66 ) { + return __( 'Hey, your SEO is doing pretty well! Check out the stats:', 'wordpress-seo' ); + } + + return __( 'Below are your published posts\' SEO scores. Now is as good a time as any to start improving some of your posts!', 'wordpress-seo' ); + } + + /** + * An array representing items to be added to the At a Glance dashboard widget. + * + * @return array The statistics for the current user. + */ + private function statistic_items() { + $transient = $this->get_transient(); + $user_id = get_current_user_id(); + + if ( isset( $transient[ $user_id ] ) ) { + return $transient[ $user_id ]; + } + + return $this->set_statistic_items_for_user( $transient, $user_id ); + } + + /** + * Gets the statistics transient value. Returns array if transient wasn't set. + * + * @return array|mixed Returns the transient or an empty array if the transient doesn't exist. + */ + private function get_transient() { + $transient = get_transient( self::CACHE_TRANSIENT_KEY ); + + if ( $transient === false ) { + return []; + } + + return $transient; + } + + /** + * Set the statistics transient cache for a specific user. + * + * @param array $transient The current stored transient with the cached data. + * @param int $user The user's ID to assign the retrieved values to. + * + * @return array The statistics transient for the user. + */ + private function set_statistic_items_for_user( $transient, $user ) { + $scores = $this->get_seo_scores_with_post_count(); + $division = $this->get_seo_score_division( $scores ); + + $transient[ $user ] = [ + // Use array_values because array_filter may return non-zero indexed arrays. + 'scores' => array_values( array_filter( $scores, [ $this, 'filter_items' ] ) ), + 'division' => $division, + ]; + + set_transient( self::CACHE_TRANSIENT_KEY, $transient, DAY_IN_SECONDS ); + + return $transient[ $user ]; + } + + /** + * Gets the division of SEO scores. + * + * @param array $scores The SEO scores. + * + * @return array|bool The division of SEO scores, false if there are no posts. + */ + private function get_seo_score_division( array $scores ) { + $total = 0; + $division = []; + + foreach ( $scores as $score ) { + $total += $score['count']; + } + + if ( $total === 0 ) { + return false; + } + + foreach ( $scores as $score ) { + $division[ $score['seo_rank'] ] = ( $score['count'] / $total ); + } + + return $division; + } + + /** + * Get all SEO ranks and data associated with them. + * + * @return array An array of SEO scores and associated data. + */ + private function get_seo_scores_with_post_count() { + $ranks = WPSEO_Rank::get_all_ranks(); + + return array_map( [ $this, 'map_rank_to_widget' ], $ranks ); + } + + /** + * Converts a rank to data usable in the dashboard widget. + * + * @param WPSEO_Rank $rank The rank to map. + * + * @return array The mapped rank. + */ + private function map_rank_to_widget( WPSEO_Rank $rank ) { + return [ + 'seo_rank' => $rank->get_rank(), + 'label' => $this->get_label_for_rank( $rank ), + 'count' => $this->statistics->get_post_count( $rank ), + 'link' => $this->get_link_for_rank( $rank ), + ]; + } + + /** + * Returns a dashboard widget label to use for a certain rank. + * + * @param WPSEO_Rank $rank The rank to return a label for. + * + * @return string The label for the rank. + */ + private function get_label_for_rank( WPSEO_Rank $rank ) { + return $this->labels[ $rank->get_rank() ]; + } + + /** + * Determines the labels for the various scoring ranks that are known within Yoast SEO. + * + * @return array Array containing the translatable labels. + */ + private function labels() { + return [ + WPSEO_Rank::NO_FOCUS => sprintf( + /* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag */ + __( 'Posts %1$swithout%2$s a focus keyphrase', 'wordpress-seo' ), + '', + '' + ), + WPSEO_Rank::BAD => sprintf( + /* translators: %s expands to the score */ + __( 'Posts with the SEO score: %s', 'wordpress-seo' ), + '' . __( 'Needs improvement', 'wordpress-seo' ) . '' + ), + WPSEO_Rank::OK => sprintf( + /* translators: %s expands to the score */ + __( 'Posts with the SEO score: %s', 'wordpress-seo' ), + '' . __( 'OK', 'wordpress-seo' ) . '' + ), + WPSEO_Rank::GOOD => sprintf( + /* translators: %s expands to the score */ + __( 'Posts with the SEO score: %s', 'wordpress-seo' ), + '' . __( 'Good', 'wordpress-seo' ) . '' + ), + WPSEO_Rank::NO_INDEX => __( 'Posts that should not show up in search results', 'wordpress-seo' ), + ]; + } + + /** + * Filter items if they have a count of zero. + * + * @param array $item The item to potentially filter out. + * + * @return bool Whether or not the count is zero. + */ + private function filter_items( $item ) { + return $item['count'] !== 0; + } + + /** + * Returns a link for the overview of posts of a certain rank. + * + * @param WPSEO_Rank $rank The rank to return a link for. + * + * @return string The link that shows an overview of posts with that rank. + */ + private function get_link_for_rank( WPSEO_Rank $rank ) { + if ( current_user_can( 'edit_others_posts' ) === false ) { + return esc_url( admin_url( 'edit.php?post_status=publish&post_type=post&seo_filter=' . $rank->get_rank() . '&author=' . get_current_user_id() ) ); + } + + return esc_url( admin_url( 'edit.php?post_status=publish&post_type=post&seo_filter=' . $rank->get_rank() ) ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-columns.php b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-columns.php new file mode 100644 index 00000000..fda2f19c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-columns.php @@ -0,0 +1,231 @@ +taxonomy = $this->get_taxonomy(); + + if ( ! empty( $this->taxonomy ) ) { + add_filter( 'manage_edit-' . $this->taxonomy . '_columns', [ $this, 'add_columns' ] ); + add_filter( 'manage_' . $this->taxonomy . '_custom_column', [ $this, 'parse_column' ], 10, 3 ); + } + + $this->analysis_seo = new WPSEO_Metabox_Analysis_SEO(); + $this->analysis_readability = new WPSEO_Metabox_Analysis_Readability(); + $this->indexable_repository = YoastSEO()->classes->get( Indexable_Repository::class ); + $this->score_icon_helper = YoastSEO()->helpers->score_icon; + } + + /** + * Adds an SEO score column to the terms table, right after the description column. + * + * @param array $columns Current set columns. + * + * @return array + */ + public function add_columns( array $columns ) { + if ( $this->display_metabox( $this->taxonomy ) === false ) { + return $columns; + } + + $new_columns = []; + + foreach ( $columns as $column_name => $column_value ) { + $new_columns[ $column_name ] = $column_value; + + if ( $column_name === 'description' && $this->analysis_seo->is_enabled() ) { + $new_columns['wpseo-score'] = '' + . __( 'SEO score', 'wordpress-seo' ) . ''; + } + + if ( $column_name === 'description' && $this->analysis_readability->is_enabled() ) { + $new_columns['wpseo-score-readability'] = '' + . __( 'Readability score', 'wordpress-seo' ) . ''; + } + } + + return $new_columns; + } + + /** + * Parses the column. + * + * @param string $content The current content of the column. + * @param string $column_name The name of the column. + * @param int $term_id ID of requested taxonomy. + * + * @return string + */ + public function parse_column( $content, $column_name, $term_id ) { + + switch ( $column_name ) { + case 'wpseo-score': + return $this->get_score_value( $term_id ); + + case 'wpseo-score-readability': + return $this->get_score_readability_value( $term_id ); + } + + return $content; + } + + /** + * Retrieves the taxonomy from the $_GET or $_POST variable. + * + * @return string|null The current taxonomy or null when it is not set. + */ + public function get_current_taxonomy() { + // phpcs:disable WordPress.Security.NonceVerification.Missing,WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( ! empty( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] === 'POST' ) { + if ( isset( $_POST['taxonomy'] ) && is_string( $_POST['taxonomy'] ) ) { + return sanitize_text_field( wp_unslash( $_POST['taxonomy'] ) ); + } + } + elseif ( isset( $_GET['taxonomy'] ) && is_string( $_GET['taxonomy'] ) ) { + return sanitize_text_field( wp_unslash( $_GET['taxonomy'] ) ); + } + // phpcs:enable WordPress.Security.NonceVerification.Missing,WordPress.Security.NonceVerification.Recommended + return null; + } + + /** + * Returns the posted/get taxonomy value if it is set. + * + * @return string|null + */ + private function get_taxonomy() { + // phpcs:disable WordPress.Security.NonceVerification.Missing,WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( wp_doing_ajax() ) { + if ( isset( $_POST['taxonomy'] ) && is_string( $_POST['taxonomy'] ) ) { + return sanitize_text_field( wp_unslash( $_POST['taxonomy'] ) ); + } + } + elseif ( isset( $_GET['taxonomy'] ) && is_string( $_GET['taxonomy'] ) ) { + return sanitize_text_field( wp_unslash( $_GET['taxonomy'] ) ); + } + // phpcs:enable WordPress.Security.NonceVerification.Missing,WordPress.Security.NonceVerification.Recommended + return null; + } + + /** + * Parses the value for the score column. + * + * @param int $term_id ID of requested term. + * + * @return string + */ + private function get_score_value( $term_id ) { + $indexable = $this->indexable_repository->find_by_id_and_type( (int) $term_id, 'term' ); + + return $this->score_icon_helper->for_seo( $indexable, '', __( 'Term is set to noindex.', 'wordpress-seo' ) ); + } + + /** + * Parses the value for the readability score column. + * + * @param int $term_id ID of the requested term. + * + * @return string The HTML for the readability score indicator. + */ + private function get_score_readability_value( $term_id ) { + $score = (int) WPSEO_Taxonomy_Meta::get_term_meta( $term_id, $this->taxonomy, 'content_score' ); + + return $this->score_icon_helper->for_readability( $score ); + } + + /** + * Check if the taxonomy is indexable. + * + * @param mixed $term The current term. + * + * @return bool Whether the term is indexable. + */ + private function is_indexable( $term ) { + // When the no_index value is not empty and not default, check if its value is index. + $no_index = WPSEO_Taxonomy_Meta::get_term_meta( $term->term_id, $this->taxonomy, 'noindex' ); + + // Check if the default for taxonomy is empty (this will be index). + if ( ! empty( $no_index ) && $no_index !== 'default' ) { + return ( $no_index === 'index' ); + } + + if ( is_object( $term ) ) { + $no_index_key = 'noindex-tax-' . $term->taxonomy; + + // If the option is false, this means we want to index it. + return WPSEO_Options::get( $no_index_key, false ) === false; + } + + return true; + } + + /** + * Wraps the WPSEO_Metabox check to determine whether the metabox should be displayed either by + * choice of the admin or because the taxonomy is not public. + * + * @since 7.0 + * + * @param string|null $taxonomy Optional. The taxonomy to test, defaults to the current taxonomy. + * + * @return bool Whether the meta box (and associated columns etc) should be hidden. + */ + private function display_metabox( $taxonomy = null ) { + $current_taxonomy = $this->get_current_taxonomy(); + + if ( ! isset( $taxonomy ) && ! empty( $current_taxonomy ) ) { + $taxonomy = $current_taxonomy; + } + + return WPSEO_Utils::is_metabox_active( $taxonomy, 'taxonomy' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-fields-presenter.php b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-fields-presenter.php new file mode 100644 index 00000000..9ab28b0c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-fields-presenter.php @@ -0,0 +1,221 @@ +tax_meta = WPSEO_Taxonomy_Meta::get_term_meta( (int) $term->term_id, $term->taxonomy ); + } + + /** + * Displaying the form fields. + * + * @param array $fields Array with the fields that will be displayed. + * + * @return string + */ + public function html( array $fields ) { + $content = ''; + foreach ( $fields as $field_name => $field_configuration ) { + $content .= $this->form_row( 'wpseo_' . $field_name, $field_configuration ); + } + return $content; + } + + /** + * Create a row in the form table. + * + * @param string $field_name Variable the row controls. + * @param array $field_configuration Array with the field configuration. + * + * @return string + */ + private function form_row( $field_name, array $field_configuration ) { + $esc_field_name = esc_attr( $field_name ); + + $options = (array) $field_configuration['options']; + + if ( ! empty( $field_configuration['description'] ) ) { + $options['description'] = $field_configuration['description']; + } + + $label = $this->get_label( $field_configuration['label'], $esc_field_name ); + $field = $this->get_field( $field_configuration['type'], $esc_field_name, $this->get_field_value( $field_name ), $options ); + $help_content = ( $field_configuration['options']['help'] ?? '' ); + $help_button_text = ( $field_configuration['options']['help-button'] ?? '' ); + $help = new WPSEO_Admin_Help_Panel( $field_name, $help_button_text, $help_content ); + + return $this->parse_row( $label, $help, $field ); + } + + /** + * Generates the html for the given field config. + * + * @param string $field_type The fieldtype, e.g: text, checkbox, etc. + * @param string $field_name The name of the field. + * @param string $field_value The value of the field. + * @param array $options Array with additional options. + * + * @return string + */ + private function get_field( $field_type, $field_name, $field_value, array $options ) { + + $class = $this->get_class( $options ); + $field = ''; + $description = ''; + $aria_describedby = ''; + + if ( ! empty( $options['description'] ) ) { + $aria_describedby = ' aria-describedby="' . $field_name . '-desc"'; + $description = '

    ' . $options['description'] . '

    '; + } + + switch ( $field_type ) { + case 'div': + $field .= '
    '; + break; + case 'url': + $field .= ''; + break; + case 'text': + $field .= ''; + break; + case 'checkbox': + $field .= ''; + break; + case 'textarea': + $rows = 3; + if ( ! empty( $options['rows'] ) ) { + $rows = $options['rows']; + } + $field .= ''; + break; + case 'upload': + $field .= ' '; + $field .= ' '; + $field .= ''; + break; + case 'select': + if ( is_array( $options ) && $options !== [] ) { + $field .= ''; + } + break; + case 'hidden': + $field .= ''; + break; + } + + return $field . $description; + } + + /** + * Getting the value for given field_name. + * + * @param string $field_name The fieldname to get the value for. + * + * @return string + */ + private function get_field_value( $field_name ) { + if ( isset( $this->tax_meta[ $field_name ] ) && $this->tax_meta[ $field_name ] !== '' ) { + return $this->tax_meta[ $field_name ]; + } + + return ''; + } + + /** + * Getting the class attributes if $options contains a class key. + * + * @param array $options The array with field options. + * + * @return string + */ + private function get_class( array $options ) { + if ( ! empty( $options['class'] ) ) { + return ' class="' . esc_attr( $options['class'] ) . '"'; + } + + return ''; + } + + /** + * Getting the label HTML. + * + * @param string $label The label value. + * @param string $field_name The target field. + * + * @return string + */ + private function get_label( $label, $field_name ) { + if ( $label !== '' ) { + return ''; + } + + return ''; + } + + /** + * Returns the HTML for the row which contains label, help and the field. + * + * @param string $label The html for the label if there was a label set. + * @param WPSEO_Admin_Help_Panel $help The help panel to render in this row. + * @param string $field The html for the field. + * + * @return string + */ + private function parse_row( $label, WPSEO_Admin_Help_Panel $help, $field ) { + if ( $label !== '' || $help !== '' ) { + return $label . $help->get_button_html() . $help->get_panel_html() . $field; + } + + return $field; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-fields.php b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-fields.php new file mode 100644 index 00000000..9da698ef --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-fields.php @@ -0,0 +1,235 @@ +get_content_fields(); + break; + case 'settings': + $fields = $this->get_settings_fields(); + break; + case 'social': + $fields = $this->get_social_fields(); + break; + } + + return $this->filter_hidden_fields( $fields ); + } + + /** + * Returns array with the fields for the general tab. + * + * @return array + */ + protected function get_content_fields() { + $fields = [ + 'title' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'desc' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'linkdex' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'content_score' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'inclusive_language_score' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'focuskw' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'is_cornerstone' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + ]; + + /** + * Filter: 'wpseo_taxonomy_content_fields' - Adds the possibility to register additional content fields. + * + * @param array $additional_fields The additional fields. + */ + $additional_fields = apply_filters( 'wpseo_taxonomy_content_fields', [] ); + + return array_merge( $fields, $additional_fields ); + } + + /** + * Returns array with the fields for the settings tab. + * + * @return array + */ + protected function get_settings_fields() { + return [ + 'noindex' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'bctitle' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => ( WPSEO_Options::get( 'breadcrumbs-enable' ) !== true ), + ], + 'canonical' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + ]; + } + + /** + * Returning the fields for the social media tab. + * + * @return array + */ + protected function get_social_fields() { + $fields = []; + + if ( WPSEO_Options::get( 'opengraph', false ) === true ) { + $fields = [ + 'opengraph-title' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'opengraph-description' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'opengraph-image' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'opengraph-image-id' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + ]; + } + + if ( WPSEO_Options::get( 'twitter', false ) === true ) { + $fields = array_merge( + $fields, + [ + 'twitter-title' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'twitter-description' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'twitter-image' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + 'twitter-image-id' => [ + 'label' => '', + 'description' => '', + 'type' => 'hidden', + 'options' => '', + 'hide' => false, + ], + ] + ); + } + + return $fields; + } + + /** + * Filter the hidden fields. + * + * @param array $fields Array with the form fields that has will be filtered. + * + * @return array + */ + protected function filter_hidden_fields( array $fields ) { + foreach ( $fields as $field_name => $field_options ) { + if ( ! empty( $field_options['hide'] ) ) { + unset( $fields[ $field_name ] ); + } + } + + return $fields; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-metabox.php b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-metabox.php new file mode 100644 index 00000000..d7b1fff6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-metabox.php @@ -0,0 +1,229 @@ +term = $term; + $this->taxonomy = $taxonomy; + $this->is_social_enabled = WPSEO_Options::get( 'opengraph', false ) || WPSEO_Options::get( 'twitter', false ); + + $this->seo_analysis = new WPSEO_Metabox_Analysis_SEO(); + $this->readability_analysis = new WPSEO_Metabox_Analysis_Readability(); + $this->inclusive_language_analysis = new WPSEO_Metabox_Analysis_Inclusive_Language(); + } + + /** + * Shows the Yoast SEO metabox for the term. + * + * @return void + */ + public function display() { + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $this->get_product_title() returns a hard-coded string. + printf( '

    %1$s

    ', $this->get_product_title() ); + + echo '
    '; + echo '
    '; + + $this->render_hidden_fields(); + $this->render_tabs(); + + echo '
    '; + echo '
    '; + } + + /** + * Renders the metabox hidden fields. + * + * @return void + */ + protected function render_hidden_fields() { + $fields_presenter = new WPSEO_Taxonomy_Fields_Presenter( $this->term ); + $field_definitions = new WPSEO_Taxonomy_Fields(); + + echo $fields_presenter->html( $field_definitions->get( 'content' ) ); + if ( WPSEO_Capability_Utils::current_user_can( 'wpseo_edit_advanced_metadata' ) || WPSEO_Options::get( 'disableadvanced_meta' ) === false ) { + echo $fields_presenter->html( $field_definitions->get( 'settings' ) ); + } + + if ( $this->is_social_enabled ) { + echo $fields_presenter->html( $field_definitions->get( 'social' ) ); + } + } + + /** + * Renders the metabox tabs. + * + * @return void + */ + protected function render_tabs() { + echo '
    '; + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $this->get_product_title() returns a hard-coded string. + printf( '
      ', $this->get_product_title() ); + + $tabs = $this->get_tabs(); + + foreach ( $tabs as $tab ) { + $tab->display_link(); + } + + echo '
    '; + + foreach ( $tabs as $tab ) { + $tab->display_content(); + } + + echo '
    '; + } + + /** + * Returns the relevant metabox sections for the current view. + * + * @return WPSEO_Metabox_Section[] + */ + private function get_tabs() { + $tabs = []; + + $label = __( 'SEO', 'wordpress-seo' ); + if ( $this->seo_analysis->is_enabled() ) { + $label = '' . $label; + } + + $tabs[] = new WPSEO_Metabox_Section_React( 'content', $label ); + + if ( $this->readability_analysis->is_enabled() ) { + $tabs[] = new WPSEO_Metabox_Section_Readability(); + } + + if ( $this->inclusive_language_analysis->is_enabled() ) { + $tabs[] = new WPSEO_Metabox_Section_Inclusive_Language(); + } + + if ( $this->is_social_enabled ) { + $tabs[] = new WPSEO_Metabox_Section_React( + 'social', + '' . __( 'Social', 'wordpress-seo' ), + '', + [ + 'html_after' => '
    ', + ] + ); + } + + $tabs = array_merge( $tabs, $this->get_additional_tabs() ); + + return $tabs; + } + + /** + * Returns the metabox tabs that have been added by other plugins. + * + * @return WPSEO_Metabox_Section_Additional[] + */ + protected function get_additional_tabs() { + $tabs = []; + + /** + * Private filter: 'yoast_free_additional_taxonomy_metabox_sections'. + * + * Meant for internal use only. Allows adding additional tabs to the Yoast SEO metabox for taxonomies. + * + * @param array[] $tabs { + * An array of arrays with tab specifications. + * + * @type array $tab { + * A tab specification. + * + * @type string $name The name of the tab. Used in the HTML IDs, href and aria properties. + * @type string $link_content The content of the tab link. + * @type string $content The content of the tab. + * @type array $options { + * Optional. Extra options. + * + * @type string $link_class Optional. The class for the tab link. + * @type string $link_aria_label Optional. The aria label of the tab link. + * } + * } + * } + */ + $requested_tabs = apply_filters( 'yoast_free_additional_taxonomy_metabox_sections', [] ); + + foreach ( $requested_tabs as $tab ) { + if ( is_array( $tab ) && array_key_exists( 'name', $tab ) && array_key_exists( 'link_content', $tab ) && array_key_exists( 'content', $tab ) ) { + $options = array_key_exists( 'options', $tab ) ? $tab['options'] : []; + $tabs[] = new WPSEO_Metabox_Section_Additional( + $tab['name'], + $tab['link_content'], + $tab['content'], + $options + ); + } + } + + return $tabs; + } + + /** + * Retrieves the product title. + * + * @return string The product title. + */ + protected function get_product_title() { + return YoastSEO()->helpers->product->get_product_name(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy.php b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy.php new file mode 100644 index 00000000..41edb10c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy.php @@ -0,0 +1,492 @@ +taxonomy = $this::get_taxonomy(); + + add_action( 'edit_term', [ $this, 'update_term' ], 99, 3 ); + add_action( 'init', [ $this, 'custom_category_descriptions_allow_html' ] ); + add_action( 'admin_init', [ $this, 'admin_init' ] ); + + if ( self::is_term_overview( $GLOBALS['pagenow'] ) ) { + new WPSEO_Taxonomy_Columns(); + } + $this->analysis_seo = new WPSEO_Metabox_Analysis_SEO(); + $this->analysis_readability = new WPSEO_Metabox_Analysis_Readability(); + $this->analysis_inclusive_language = new WPSEO_Metabox_Analysis_Inclusive_Language(); + } + + /** + * Add hooks late enough for taxonomy object to be available for checks. + * + * @return void + */ + public function admin_init() { + + $taxonomy = get_taxonomy( $this->taxonomy ); + + if ( empty( $taxonomy ) || empty( $taxonomy->public ) || ! $this->show_metabox() ) { + return; + } + + // Adds custom category description editor. Needs a hook that runs before the description field. + add_action( "{$this->taxonomy}_term_edit_form_top", [ $this, 'custom_category_description_editor' ] ); + + add_action( sanitize_text_field( $this->taxonomy ) . '_edit_form', [ $this, 'term_metabox' ], 90, 1 ); + add_action( 'admin_enqueue_scripts', [ $this, 'admin_enqueue_scripts' ] ); + } + + /** + * Show the SEO inputs for term. + * + * @param stdClass|WP_Term $term Term to show the edit boxes for. + * + * @return void + */ + public function term_metabox( $term ) { + if ( WPSEO_Metabox::is_internet_explorer() ) { + $this->show_internet_explorer_notice(); + return; + } + + $metabox = new WPSEO_Taxonomy_Metabox( $this->taxonomy, $term ); + $metabox->display(); + } + + /** + * Renders the content for the internet explorer metabox. + * + * @return void + */ + private function show_internet_explorer_notice() { + $product_title = YoastSEO()->helpers->product->get_product_name(); + + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $product_title is hardcoded. + printf( '

    %1$s

    ', $product_title ); + echo '
    '; + + $content = sprintf( + /* translators: 1: Link start tag to the Firefox website, 2: Link start tag to the Chrome website, 3: Link start tag to the Edge website, 4: Link closing tag. */ + esc_html__( 'The browser you are currently using is unfortunately rather dated. Since we strive to give you the best experience possible, we no longer support this browser. Instead, please use %1$sFirefox%4$s, %2$sChrome%4$s or %3$sMicrosoft Edge%4$s.', 'wordpress-seo' ), + '', + '', + '', + '' + ); + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped above. + echo new Alert_Presenter( $content ); + + echo '
    '; + } + + /** + * Queue assets for taxonomy screens. + * + * @since 1.5.0 + * + * @return void + */ + public function admin_enqueue_scripts() { + + $pagenow = $GLOBALS['pagenow']; + + if ( ! ( self::is_term_edit( $pagenow ) || self::is_term_overview( $pagenow ) ) ) { + return; + } + + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_style( 'scoring' ); + $asset_manager->enqueue_style( 'monorepo' ); + + $tag_id = $this::get_tag_id(); + + if ( + self::is_term_edit( $pagenow ) + && ! is_null( $tag_id ) + ) { + wp_enqueue_media(); // Enqueue files needed for upload functionality. + + $asset_manager->enqueue_style( 'metabox-css' ); + $asset_manager->enqueue_style( 'ai-generator' ); + $asset_manager->enqueue_script( 'term-edit' ); + + /** + * Remove the emoji script as it is incompatible with both React and any + * contenteditable fields. + */ + remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); + + $asset_manager->localize_script( 'term-edit', 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() ); + + $script_data = [ + 'analysis' => [ + 'plugins' => [ + 'replaceVars' => [ + 'no_parent_text' => __( '(no parent)', 'wordpress-seo' ), + 'replace_vars' => $this->get_replace_vars(), + 'recommended_replace_vars' => $this->get_recommended_replace_vars(), + 'scope' => $this->determine_scope(), + ], + 'shortcodes' => [ + 'wpseo_shortcode_tags' => $this->get_valid_shortcode_tags(), + 'wpseo_filter_shortcodes_nonce' => wp_create_nonce( 'wpseo-filter-shortcodes' ), + ], + ], + 'worker' => [ + 'url' => YoastSEO()->helpers->asset->get_asset_url( 'yoast-seo-analysis-worker' ), + 'dependencies' => YoastSEO()->helpers->asset->get_dependency_urls_by_handle( 'yoast-seo-analysis-worker' ), + 'keywords_assessment_url' => YoastSEO()->helpers->asset->get_asset_url( 'yoast-seo-used-keywords-assessment' ), + 'log_level' => WPSEO_Utils::get_analysis_worker_log_level(), + ], + ], + 'media' => [ + // @todo replace this translation with JavaScript translations. + 'choose_image' => __( 'Use Image', 'wordpress-seo' ), + ], + 'metabox' => $this->localize_term_scraper_script( $tag_id ), + 'userLanguageCode' => WPSEO_Language_Utils::get_language( get_user_locale() ), + 'isTerm' => true, + 'postId' => $tag_id, + 'termType' => $this->get_taxonomy(), + 'usedKeywordsNonce' => wp_create_nonce( 'wpseo-keyword-usage' ), + ]; + + /** + * The website information repository. + * + * @var $repo Website_Information_Repository + */ + $repo = YoastSEO()->classes->get( Website_Information_Repository::class ); + $term_information = $repo->get_term_site_information(); + $term_information->set_term( get_term_by( 'id', $tag_id, $this::get_taxonomy() ) ); + $script_data = array_merge_recursive( $term_information->get_legacy_site_information(), $script_data ); + + $asset_manager->localize_script( 'term-edit', 'wpseoScriptData', $script_data ); + $asset_manager->enqueue_user_language_script(); + } + + if ( self::is_term_overview( $pagenow ) ) { + $asset_manager->enqueue_script( 'edit-page' ); + } + } + + /** + * Update the taxonomy meta data on save. + * + * @param int $term_id ID of the term to save data for. + * @param int $tt_id The taxonomy_term_id for the term. + * @param string $taxonomy The taxonomy the term belongs to. + * + * @return void + */ + public function update_term( $term_id, $tt_id, $taxonomy ) { + // Bail if this is a multisite installation and the site has been switched. + if ( is_multisite() && ms_is_switched() ) { + return; + } + + /* Create post array with only our values. */ + $new_meta_data = []; + foreach ( WPSEO_Taxonomy_Meta::$defaults_per_term as $key => $default ) { + // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Reason: Nonce is already checked by WordPress before executing this action. + if ( isset( $_POST[ $key ] ) && is_string( $_POST[ $key ] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Missing,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: $data is getting sanitized later. + $data = wp_unslash( $_POST[ $key ] ); + $new_meta_data[ $key ] = ( $key !== 'wpseo_canonical' ) ? WPSEO_Utils::sanitize_text_field( $data ) : WPSEO_Utils::sanitize_url( $data ); + } + + // If analysis is disabled remove that analysis score value from the DB. + if ( $this->is_meta_value_disabled( $key ) ) { + $new_meta_data[ $key ] = ''; + } + } + + // Saving the values. + WPSEO_Taxonomy_Meta::set_values( $term_id, $taxonomy, $new_meta_data ); + } + + /** + * Determines if the given meta value key is disabled. + * + * @param string $key The key of the meta value. + * @return bool Whether the given meta value key is disabled. + */ + public function is_meta_value_disabled( $key ) { + if ( $key === 'wpseo_linkdex' && ! $this->analysis_seo->is_enabled() ) { + return true; + } + + if ( $key === 'wpseo_content_score' && ! $this->analysis_readability->is_enabled() ) { + return true; + } + + if ( $key === 'wpseo_inclusive_language_score' && ! $this->analysis_inclusive_language->is_enabled() ) { + return true; + } + + return false; + } + + /** + * Allows post-kses-filtered HTML in term descriptions. + * + * @return void + */ + public function custom_category_descriptions_allow_html() { + remove_filter( 'term_description', 'wp_kses_data' ); + remove_filter( 'pre_term_description', 'wp_filter_kses' ); + add_filter( 'term_description', 'wp_kses_post' ); + add_filter( 'pre_term_description', 'wp_filter_post_kses' ); + } + + /** + * Output the WordPress editor. + * + * @return void + */ + public function custom_category_description_editor() { + wp_editor( '', 'description' ); + } + + /** + * Pass variables to js for use with the term-scraper. + * + * @param int $term_id The ID of the term to localize the script for. + * + * @return array + */ + public function localize_term_scraper_script( $term_id ) { + $term = get_term_by( 'id', $term_id, $this::get_taxonomy() ); + $taxonomy = get_taxonomy( $term->taxonomy ); + + $term_formatter = new WPSEO_Metabox_Formatter( + new WPSEO_Term_Metabox_Formatter( $taxonomy, $term ) + ); + + return $term_formatter->get_values(); + } + + /** + * Pass some variables to js for replacing variables. + * + * @return array + */ + public function localize_replace_vars_script() { + return [ + 'no_parent_text' => __( '(no parent)', 'wordpress-seo' ), + 'replace_vars' => $this->get_replace_vars(), + 'recommended_replace_vars' => $this->get_recommended_replace_vars(), + 'scope' => $this->determine_scope(), + ]; + } + + /** + * Determines the scope based on the current taxonomy. + * This can be used by the replacevar plugin to determine if a replacement needs to be executed. + * + * @return string String decribing the current scope. + */ + private function determine_scope() { + $taxonomy = $this::get_taxonomy(); + + if ( $taxonomy === 'category' ) { + return 'category'; + } + + if ( $taxonomy === 'post_tag' ) { + return 'tag'; + } + + return 'term'; + } + + /** + * Determines if a given page is the term overview page. + * + * @param string $page The string to check for the term overview page. + * + * @return bool + */ + public static function is_term_overview( $page ) { + return $page === 'edit-tags.php'; + } + + /** + * Determines if a given page is the term edit page. + * + * @param string $page The string to check for the term edit page. + * + * @return bool + */ + public static function is_term_edit( $page ) { + return $page === 'term.php'; + } + + /** + * Function to get the labels for the current taxonomy. + * + * @return object|null Labels for the current taxonomy or null if the taxonomy is not set. + */ + public static function get_labels() { + $term = self::get_taxonomy(); + if ( $term !== '' ) { + $taxonomy = get_taxonomy( $term ); + return $taxonomy->labels; + } + return null; + } + + /** + * Retrieves a template. + * Check if metabox for current taxonomy should be displayed. + * + * @return bool + */ + private function show_metabox() { + $option_key = 'display-metabox-tax-' . $this->taxonomy; + + return WPSEO_Options::get( $option_key ); + } + + /** + * Getting the taxonomy from the URL. + * + * @return string + */ + private static function get_taxonomy() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['taxonomy'] ) && is_string( $_GET['taxonomy'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + return sanitize_text_field( wp_unslash( $_GET['taxonomy'] ) ); + } + return ''; + } + + /** + * Get the current tag ID from the GET parameters. + * + * @return int|null the tag ID if it exists, null otherwise. + */ + private static function get_tag_id() { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['tag_ID'] ) && is_string( $_GET['tag_ID'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are not processing form information, We are casting to an integer. + $tag_id = (int) wp_unslash( $_GET['tag_ID'] ); + if ( $tag_id > 0 ) { + return $tag_id; + } + } + return null; + } + + /** + * Prepares the replace vars for localization. + * + * @return array The replacement variables. + */ + private function get_replace_vars() { + $term_id = $this::get_tag_id(); + $term = get_term_by( 'id', $term_id, $this::get_taxonomy() ); + + $cached_replacement_vars = []; + + $vars_to_cache = [ + 'date', + 'id', + 'sitename', + 'sitedesc', + 'sep', + 'page', + 'term_title', + 'term_description', + 'term_hierarchy', + 'category_description', + 'tag_description', + 'searchphrase', + 'currentyear', + ]; + + foreach ( $vars_to_cache as $var ) { + $cached_replacement_vars[ $var ] = wpseo_replace_vars( '%%' . $var . '%%', $term ); + } + + return $cached_replacement_vars; + } + + /** + * Prepares the recommended replace vars for localization. + * + * @return array The recommended replacement variables. + */ + private function get_recommended_replace_vars() { + $recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars(); + $taxonomy = $this::get_taxonomy(); + + if ( $taxonomy === '' ) { + return []; + } + + // What is recommended depends on the current context. + $page_type = $recommended_replace_vars->determine_for_term( $taxonomy ); + + return $recommended_replace_vars->get_recommended_replacevars_for( $page_type ); + } + + /** + * Returns an array with shortcode tags for all registered shortcodes. + * + * @return array Array with shortcode tags. + */ + private function get_valid_shortcode_tags() { + $shortcode_tags = []; + + foreach ( $GLOBALS['shortcode_tags'] as $tag => $description ) { + $shortcode_tags[] = $tag; + } + + return $shortcode_tags; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-addon-data.php b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-addon-data.php new file mode 100644 index 00000000..0cbc27c7 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-addon-data.php @@ -0,0 +1,126 @@ +is_installed( WPSEO_Addon_Manager::LOCAL_SLUG ) ) { + $addon_settings = $this->get_local_addon_settings( $addon_settings, 'wpseo_local', WPSEO_Addon_Manager::LOCAL_SLUG, $this->local_include_list ); + } + + if ( $addon_manager->is_installed( WPSEO_Addon_Manager::WOOCOMMERCE_SLUG ) ) { + $addon_settings = $this->get_addon_settings( $addon_settings, 'wpseo_woo', WPSEO_Addon_Manager::WOOCOMMERCE_SLUG, $this->woo_include_list ); + } + + if ( $addon_manager->is_installed( WPSEO_Addon_Manager::NEWS_SLUG ) ) { + $addon_settings = $this->get_addon_settings( $addon_settings, 'wpseo_news', WPSEO_Addon_Manager::NEWS_SLUG, $this->news_include_list ); + } + + if ( $addon_manager->is_installed( WPSEO_Addon_Manager::VIDEO_SLUG ) ) { + $addon_settings = $this->get_addon_settings( $addon_settings, 'wpseo_video', WPSEO_Addon_Manager::VIDEO_SLUG, $this->video_include_list ); + } + + return $addon_settings; + } + + /** + * Gets the tracked options from the addon + * + * @param array $addon_settings The current list of addon settings. + * @param string $source_name The option key of the addon. + * @param string $slug The addon slug. + * @param array $option_include_list All the options to be included in tracking. + * + * @return array + */ + public function get_addon_settings( array $addon_settings, $source_name, $slug, $option_include_list ) { + $source_options = get_option( $source_name, [] ); + if ( ! is_array( $source_options ) || empty( $source_options ) ) { + return $addon_settings; + } + $addon_settings[ $slug ] = array_intersect_key( $source_options, array_flip( $option_include_list ) ); + + return $addon_settings; + } + + /** + * Filter business_type in local addon settings. + * + * Remove the business_type setting when 'multiple_locations_shared_business_info' setting is turned off. + * + * @param array $addon_settings The current list of addon settings. + * @param string $source_name The option key of the addon. + * @param string $slug The addon slug. + * @param array $option_include_list All the options to be included in tracking. + * + * @return array + */ + public function get_local_addon_settings( array $addon_settings, $source_name, $slug, $option_include_list ) { + $source_options = get_option( $source_name, [] ); + if ( ! is_array( $source_options ) || empty( $source_options ) ) { + return $addon_settings; + } + $addon_settings[ $slug ] = array_intersect_key( $source_options, array_flip( $option_include_list ) ); + + if ( array_key_exists( 'use_multiple_locations', $source_options ) && array_key_exists( 'business_type', $addon_settings[ $slug ] ) && $source_options['use_multiple_locations'] === 'on' && $source_options['multiple_locations_shared_business_info'] === 'off' ) { + $addon_settings[ $slug ]['business_type'] = 'multiple_locations'; + } + + if ( ! ( new WooCommerce_Conditional() )->is_met() ) { + unset( $addon_settings[ $slug ]['woocommerce_local_pickup_setting'] ); + } + + return $addon_settings; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-default-data.php b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-default-data.php new file mode 100644 index 00000000..498e7d08 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-default-data.php @@ -0,0 +1,60 @@ + get_option( 'blogname' ), + '@timestamp' => (int) gmdate( 'Uv' ), + 'wpVersion' => $this->get_wordpress_version(), + 'homeURL' => home_url(), + 'adminURL' => admin_url(), + 'isMultisite' => is_multisite(), + 'siteLanguage' => get_bloginfo( 'language' ), + 'gmt_offset' => get_option( 'gmt_offset' ), + 'timezoneString' => get_option( 'timezone_string' ), + 'migrationStatus' => get_option( 'yoast_migrations_free' ), + 'countPosts' => $this->get_post_count( 'post' ), + 'countPages' => $this->get_post_count( 'page' ), + ]; + } + + /** + * Returns the number of posts of a certain type. + * + * @param string $post_type The post type return the count for. + * + * @return int The count for this post type. + */ + protected function get_post_count( $post_type ) { + $count = wp_count_posts( $post_type ); + if ( isset( $count->publish ) ) { + return $count->publish; + } + return 0; + } + + /** + * Returns the WordPress version. + * + * @return string The version. + */ + protected function get_wordpress_version() { + global $wp_version; + + return $wp_version; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-plugin-data.php b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-plugin-data.php new file mode 100644 index 00000000..2c585e1d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-plugin-data.php @@ -0,0 +1,90 @@ + $this->get_plugin_data(), + ]; + } + + /** + * Returns all plugins. + * + * @return array The formatted plugins. + */ + protected function get_plugin_data() { + + if ( ! function_exists( 'get_plugin_data' ) ) { + require_once ABSPATH . 'wp-admin/includes/plugin.php'; + } + $plugins = wp_get_active_and_valid_plugins(); + + $plugins = array_map( 'get_plugin_data', $plugins ); + $this->set_auto_update_plugin_list(); + $plugins = array_map( [ $this, 'format_plugin' ], $plugins ); + + $plugin_data = []; + foreach ( $plugins as $plugin ) { + $plugin_key = sanitize_title( $plugin['name'] ); + $plugin_data[ $plugin_key ] = $plugin; + } + + return $plugin_data; + } + + /** + * Sets all auto updating plugin data so it can be used in the tracking list. + * + * @return void + */ + public function set_auto_update_plugin_list() { + + $auto_update_plugins = []; + $auto_update_plugin_files = get_option( 'auto_update_plugins' ); + if ( $auto_update_plugin_files ) { + foreach ( $auto_update_plugin_files as $auto_update_plugin ) { + $data = get_plugin_data( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $auto_update_plugin ); + $auto_update_plugins[ $data['Name'] ] = $data; + } + } + + $this->auto_update_plugin_list = $auto_update_plugins; + } + + /** + * Formats the plugin array. + * + * @param array $plugin The plugin details. + * + * @return array The formatted array. + */ + protected function format_plugin( array $plugin ) { + + return [ + 'name' => $plugin['Name'], + 'version' => $plugin['Version'], + 'auto_updating' => array_key_exists( $plugin['Name'], $this->auto_update_plugin_list ), + ]; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php new file mode 100644 index 00000000..220753f1 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-server-data.php @@ -0,0 +1,85 @@ + $this->get_server_data(), + ]; + } + + /** + * Returns the values with server details. + * + * @return array Array with the value. + */ + protected function get_server_data() { + $server_data = []; + + // Validate if the server address is a valid IP-address. + $ipaddress = isset( $_SERVER['SERVER_ADDR'] ) ? filter_var( wp_unslash( $_SERVER['SERVER_ADDR'] ), FILTER_VALIDATE_IP ) : ''; + if ( $ipaddress ) { + $server_data['ip'] = $ipaddress; + $server_data['Hostname'] = gethostbyaddr( $ipaddress ); + } + + $server_data['os'] = function_exists( 'php_uname' ) ? php_uname() : PHP_OS; + $server_data['PhpVersion'] = PHP_VERSION; + $server_data['CurlVersion'] = $this->get_curl_info(); + $server_data['PhpExtensions'] = $this->get_php_extensions(); + + return $server_data; + } + + /** + * Returns details about the curl version. + * + * @return array|null The curl info. Or null when curl isn't available.. + */ + protected function get_curl_info() { + if ( ! function_exists( 'curl_version' ) ) { + return null; + } + + $curl = curl_version(); + + $ssl_support = true; + if ( ! $curl['features'] && CURL_VERSION_SSL ) { + $ssl_support = false; + } + + return [ + 'version' => $curl['version'], + 'sslSupport' => $ssl_support, + ]; + } + + /** + * Returns a list with php extensions. + * + * @return array Returns the state of the php extensions. + */ + protected function get_php_extensions() { + return [ + 'imagick' => extension_loaded( 'imagick' ), + 'filter' => extension_loaded( 'filter' ), + 'bcmath' => extension_loaded( 'bcmath' ), + 'pcre' => extension_loaded( 'pcre' ), + 'xml' => extension_loaded( 'xml' ), + 'pdo_mysql' => extension_loaded( 'pdo_mysql' ), + ]; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-settings-data.php b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-settings-data.php new file mode 100644 index 00000000..86e896ed --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-settings-data.php @@ -0,0 +1,274 @@ +include_list = apply_filters( 'wpseo_tracking_settings_include_list', $this->include_list ); + + $options = WPSEO_Options::get_all(); + // Returns the settings of which the keys intersect with the values of the include list. + $options = array_intersect_key( $options, array_flip( $this->include_list ) ); + + return [ + 'settings' => $this->anonymize_settings( $options ), + ]; + } + + /** + * Anonimizes the WPSEO_Options array by replacing all $anonymous_settings values to 'used'. + * + * @param array $settings The settings. + * + * @return array The anonymized settings. + */ + private function anonymize_settings( $settings ) { + foreach ( $this->anonymous_settings as $setting ) { + if ( ! empty( $settings[ $setting ] ) ) { + $settings[ $setting ] = 'used'; + } + } + + return $settings; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-theme-data.php b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-theme-data.php new file mode 100644 index 00000000..e2225950 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking-theme-data.php @@ -0,0 +1,51 @@ + [ + 'name' => $theme->get( 'Name' ), + 'url' => $theme->get( 'ThemeURI' ), + 'version' => $theme->get( 'Version' ), + 'author' => [ + 'name' => $theme->get( 'Author' ), + 'url' => $theme->get( 'AuthorURI' ), + ], + 'parentTheme' => $this->get_parent_theme( $theme ), + 'blockTemplateSupport' => current_theme_supports( 'block-templates' ), + 'isBlockTheme' => function_exists( 'wp_is_block_theme' ) && wp_is_block_theme(), + ], + ]; + } + + /** + * Returns the name of the parent theme. + * + * @param WP_Theme $theme The theme object. + * + * @return string|null The name of the parent theme or null. + */ + private function get_parent_theme( WP_Theme $theme ) { + if ( is_child_theme() ) { + return $theme->get( 'Template' ); + } + + return null; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking.php b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking.php new file mode 100644 index 00000000..58bfdff3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/tracking/class-tracking.php @@ -0,0 +1,240 @@ +tracking_enabled() ) { + return; + } + + $this->endpoint = $endpoint; + $this->threshold = $threshold; + $this->current_time = time(); + } + + /** + * Registers all hooks to WordPress. + * + * @return void + */ + public function register_hooks() { + if ( ! $this->tracking_enabled() ) { + return; + } + + // Send tracking data on `admin_init`. + add_action( 'admin_init', [ $this, 'send' ], 1 ); + + // Add an action hook that will be triggered at the specified time by `wp_schedule_single_event()`. + add_action( 'wpseo_send_tracking_data_after_core_update', [ $this, 'send' ] ); + // Call `wp_schedule_single_event()` after a WordPress core update. + add_action( 'upgrader_process_complete', [ $this, 'schedule_tracking_data_sending' ], 10, 2 ); + } + + /** + * Schedules a new sending of the tracking data after a WordPress core update. + * + * @param bool|WP_Upgrader $upgrader Optional. WP_Upgrader instance or false. + * Depending on context, it might be a Theme_Upgrader, + * Plugin_Upgrader, Core_Upgrade, or Language_Pack_Upgrader. + * instance. Default false. + * @param array $data Array of update data. + * + * @return void + */ + public function schedule_tracking_data_sending( $upgrader = false, $data = [] ) { + // Return if it's not a WordPress core update. + if ( ! $upgrader || ! isset( $data['type'] ) || $data['type'] !== 'core' ) { + return; + } + + /* + * To uniquely identify the scheduled cron event, `wp_next_scheduled()` + * needs to receive the same arguments as those used when originally + * scheduling the event otherwise it will always return false. + */ + if ( ! wp_next_scheduled( 'wpseo_send_tracking_data_after_core_update', [ true ] ) ) { + /* + * Schedule sending of data tracking 6 hours after a WordPress core + * update. Pass a `true` parameter for the callback `$force` argument. + */ + wp_schedule_single_event( ( time() + ( HOUR_IN_SECONDS * 6 ) ), 'wpseo_send_tracking_data_after_core_update', [ true ] ); + } + } + + /** + * Sends the tracking data. + * + * @param bool $force Whether to send the tracking data ignoring the two + * weeks time threshold. Default false. + * + * @return void + */ + public function send( $force = false ) { + if ( ! $this->should_send_tracking( $force ) ) { + return; + } + + // Set a 'content-type' header of 'application/json'. + $tracking_request_args = [ + 'headers' => [ + 'content-type:' => 'application/json', + ], + ]; + + $collector = $this->get_collector(); + + $request = new WPSEO_Remote_Request( $this->endpoint, $tracking_request_args ); + $request->set_body( $collector->get_as_json() ); + $request->send(); + + update_option( $this->option_name, $this->current_time, 'yes' ); + } + + /** + * Determines whether to send the tracking data. + * + * Returns false if tracking is disabled or the current page is one of the + * admin plugins pages. Returns true when there's no tracking data stored or + * the data was sent more than two weeks ago. The two weeks interval is set + * when instantiating the class. + * + * @param bool $ignore_time_treshhold Whether to send the tracking data ignoring + * the two weeks time treshhold. Default false. + * + * @return bool True when tracking data should be sent. + */ + protected function should_send_tracking( $ignore_time_treshhold = false ) { + global $pagenow; + + // Only send tracking on the main site of a multi-site instance. This returns true on non-multisite installs. + if ( is_network_admin() || ! is_main_site() ) { + return false; + } + + // Because we don't want to possibly block plugin actions with our routines. + if ( in_array( $pagenow, [ 'plugins.php', 'plugin-install.php', 'plugin-editor.php' ], true ) ) { + return false; + } + + $last_time = get_option( $this->option_name ); + + // When tracking data haven't been sent yet or when sending data is forced. + if ( ! $last_time || $ignore_time_treshhold ) { + return true; + } + + return $this->exceeds_treshhold( $this->current_time - $last_time ); + } + + /** + * Checks if the given amount of seconds exceeds the set threshold. + * + * @param int $seconds The amount of seconds to check. + * + * @return bool True when seconds is bigger than threshold. + */ + protected function exceeds_treshhold( $seconds ) { + return ( $seconds > $this->threshold ); + } + + /** + * Returns the collector for collecting the data. + * + * @return WPSEO_Collector The instance of the collector. + */ + public function get_collector() { + $collector = new WPSEO_Collector(); + $collector->add_collection( new WPSEO_Tracking_Default_Data() ); + $collector->add_collection( new WPSEO_Tracking_Server_Data() ); + $collector->add_collection( new WPSEO_Tracking_Theme_Data() ); + $collector->add_collection( new WPSEO_Tracking_Plugin_Data() ); + $collector->add_collection( new WPSEO_Tracking_Settings_Data() ); + $collector->add_collection( new WPSEO_Tracking_Addon_Data() ); + $collector->add_collection( YoastSEO()->classes->get( Missing_Indexables_Collector::class ) ); + $collector->add_collection( YoastSEO()->classes->get( To_Be_Cleaned_Indexables_Collector::class ) ); + + return $collector; + } + + /** + * See if we should run tracking at all. + * + * @return bool True when we can track, false when we can't. + */ + private function tracking_enabled() { + // Check if we're allowing tracking. + $tracking = WPSEO_Options::get( 'tracking' ); + + if ( $tracking === false ) { + return false; + } + + // Save this state. + if ( $tracking === null ) { + /** + * Filter: 'wpseo_enable_tracking' - Enables the data tracking of Yoast SEO Premium and add-ons. + * + * @param string $is_enabled The enabled state. Default is false. + */ + $tracking = apply_filters( 'wpseo_enable_tracking', false ); + + WPSEO_Options::set( 'tracking', $tracking ); + } + + if ( $tracking === false ) { + return false; + } + + if ( ! YoastSEO()->helpers->environment->is_production_mode() ) { + return false; + } + + return true; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-feature-toggle.php b/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-feature-toggle.php new file mode 100644 index 00000000..ea61a73b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-feature-toggle.php @@ -0,0 +1,206 @@ + $value ) { + if ( property_exists( $this, $key ) ) { + $this->$key = $value; + } + } + } + + /** + * Magic isset-er. + * + * @param string $key Key to check whether a value for it is set. + * + * @return bool True if set, false otherwise. + */ + public function __isset( $key ) { + return isset( $this->$key ); + } + + /** + * Magic getter. + * + * @param string $key Key to get the value for. + * + * @return mixed Value for the key, or null if not set. + */ + public function __get( $key ) { + if ( isset( $this->$key ) ) { + return $this->$key; + } + + return null; + } + + /** + * Checks whether the feature for this toggle is enabled. + * + * @return bool True if the feature is enabled, false otherwise. + */ + public function is_enabled() { + return (bool) WPSEO_Options::get( $this->setting ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-feature-toggles.php b/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-feature-toggles.php new file mode 100644 index 00000000..a4efc0d5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-feature-toggles.php @@ -0,0 +1,284 @@ +toggles === null ) { + $this->toggles = $this->load_toggles(); + } + + return $this->toggles; + } + + /** + * Loads the available feature toggles. + * + * Also ensures that the toggles are all Yoast_Feature_Toggle instances and sorted by their order value. + * + * @return array List of sorted Yoast_Feature_Toggle instances. + */ + protected function load_toggles() { + $xml_sitemap_extra = false; + if ( WPSEO_Options::get( 'enable_xml_sitemap' ) ) { + $xml_sitemap_extra = '' . esc_html__( 'See the XML sitemap.', 'wordpress-seo' ) . ''; + } + + $feature_toggles = [ + (object) [ + 'name' => __( 'SEO analysis', 'wordpress-seo' ), + 'setting' => 'keyword_analysis_active', + 'label' => __( 'The SEO analysis offers suggestions to improve the SEO of your text.', 'wordpress-seo' ), + 'read_more_label' => __( 'Learn how the SEO analysis can help you rank.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/2ak', + 'order' => 10, + ], + (object) [ + 'name' => __( 'Readability analysis', 'wordpress-seo' ), + 'setting' => 'content_analysis_active', + 'label' => __( 'The readability analysis offers suggestions to improve the structure and style of your text.', 'wordpress-seo' ), + 'read_more_label' => __( 'Discover why readability is important for SEO.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/2ao', + 'order' => 20, + ], + (object) [ + 'name' => __( 'Inclusive language analysis', 'wordpress-seo' ), + 'supported_languages' => Language_Helper::$languages_with_inclusive_language_support, + 'setting' => 'inclusive_language_analysis_active', + 'label' => __( 'The inclusive language analysis offers suggestions to write more inclusive copy.', 'wordpress-seo' ), + 'read_more_label' => __( 'Discover why inclusive language is important for SEO.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/inclusive-language-features-free', + 'order' => 25, + ], + (object) [ + 'name' => __( 'Cornerstone content', 'wordpress-seo' ), + 'setting' => 'enable_cornerstone_content', + 'label' => __( 'The cornerstone content feature lets you to mark and filter cornerstone content on your website.', 'wordpress-seo' ), + 'read_more_label' => __( 'Find out how cornerstone content can help you improve your site structure.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/dashboard-help-cornerstone', + 'order' => 30, + ], + (object) [ + 'name' => __( 'Text link counter', 'wordpress-seo' ), + 'setting' => 'enable_text_link_counter', + 'label' => __( 'The text link counter helps you improve your site structure.', 'wordpress-seo' ), + 'read_more_label' => __( 'Find out how the text link counter can enhance your SEO.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/2aj', + 'order' => 40, + ], + (object) [ + 'name' => __( 'Insights', 'wordpress-seo' ), + 'setting' => 'enable_metabox_insights', + 'label' => __( 'Find relevant data about your content right in the Insights section in the Yoast SEO metabox. You’ll see what words you use most often and if they’re a match with your keywords! ', 'wordpress-seo' ), + 'read_more_label' => __( 'Find out how Insights can help you improve your content.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/4ew', + 'premium_url' => 'https://yoa.st/2ai', + 'order' => 41, + ], + (object) [ + 'name' => __( 'Link suggestions', 'wordpress-seo' ), + 'premium' => true, + 'setting' => 'enable_link_suggestions', + 'label' => __( 'Get relevant internal linking suggestions — while you’re writing! The link suggestions metabox shows a list of posts on your blog with similar content that might be interesting to link to. ', 'wordpress-seo' ), + 'read_more_label' => __( 'Read more about how internal linking can improve your site structure.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/4ev', + 'premium_url' => 'https://yoa.st/17g', + 'premium_upsell_url' => 'https://yoa.st/get-link-suggestions', + 'order' => 42, + ], + (object) [ + 'name' => __( 'XML sitemaps', 'wordpress-seo' ), + 'setting' => 'enable_xml_sitemap', + /* translators: %s: Yoast SEO */ + 'label' => sprintf( __( 'Enable the XML sitemaps that %s generates.', 'wordpress-seo' ), 'Yoast SEO' ), + 'read_more_label' => __( 'Read why XML Sitemaps are important for your site.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/2a-', + 'extra' => $xml_sitemap_extra, + 'after' => $this->sitemaps_toggle_after(), + 'order' => 60, + ], + (object) [ + 'name' => __( 'Admin bar menu', 'wordpress-seo' ), + 'setting' => 'enable_admin_bar_menu', + /* translators: 1: Yoast SEO */ + 'label' => sprintf( __( 'The %1$s admin bar menu contains useful links to third-party tools for analyzing pages and makes it easy to see if you have new notifications.', 'wordpress-seo' ), 'Yoast SEO' ), + 'order' => 80, + ], + (object) [ + 'name' => __( 'Security: no advanced or schema settings for authors', 'wordpress-seo' ), + 'setting' => 'disableadvanced_meta', + 'label' => sprintf( + /* translators: 1: Yoast SEO, 2: translated version of "Off" */ + __( 'The advanced section of the %1$s meta box allows a user to remove posts from the search results or change the canonical. The settings in the schema tab allows a user to change schema meta data for a post. These are things you might not want any author to do. That\'s why, by default, only editors and administrators can do this. Setting to "%2$s" allows all users to change these settings.', 'wordpress-seo' ), + 'Yoast SEO', + __( 'Off', 'wordpress-seo' ) + ), + 'order' => 90, + ], + (object) [ + 'name' => __( 'Usage tracking', 'wordpress-seo' ), + 'label' => __( 'Usage tracking', 'wordpress-seo' ), + 'setting' => 'tracking', + 'read_more_label' => sprintf( + /* translators: 1: Yoast SEO */ + __( 'Allow us to track some data about your site to improve our plugin.', 'wordpress-seo' ), + 'Yoast SEO' + ), + 'read_more_url' => 'https://yoa.st/usage-tracking-2', + 'order' => 95, + ], + (object) [ + 'name' => __( 'REST API: Head endpoint', 'wordpress-seo' ), + 'setting' => 'enable_headless_rest_endpoints', + 'label' => sprintf( + /* translators: 1: Yoast SEO */ + __( 'This %1$s REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use %1$s for all their SEO meta output.', 'wordpress-seo' ), + 'Yoast SEO' + ), + 'order' => 100, + ], + (object) [ + 'name' => __( 'Enhanced Slack sharing', 'wordpress-seo' ), + 'setting' => 'enable_enhanced_slack_sharing', + 'label' => __( 'This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.', 'wordpress-seo' ), + 'read_more_label' => __( 'Find out how a rich snippet can improve visibility and click-through-rate.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/help-slack-share', + 'order' => 105, + ], + (object) [ + 'name' => __( 'IndexNow', 'wordpress-seo' ), + 'premium' => true, + 'setting' => 'enable_index_now', + 'label' => __( 'Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.', 'wordpress-seo' ), + 'read_more_label' => __( 'Find out how IndexNow can help your site.', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/index-now-read-more', + 'premium_url' => 'https://yoa.st/index-now-feature', + 'premium_upsell_url' => 'https://yoa.st/get-indexnow', + 'order' => 110, + ], + (object) [ + 'name' => __( 'AI title & description generator', 'wordpress-seo' ), + 'premium' => true, + 'setting' => 'enable_ai_generator', + 'label' => __( 'Use the power of Yoast AI to automatically generate compelling titles and descriptions for your posts and pages.', 'wordpress-seo' ), + 'read_more_label' => __( 'Learn more', 'wordpress-seo' ), + 'read_more_url' => 'https://yoa.st/ai-generator-read-more', + 'premium_url' => 'https://yoa.st/ai-generator-feature', + 'premium_upsell_url' => 'https://yoa.st/get-ai-generator', + 'order' => 115, + ], + ]; + + /** + * Filter to add feature toggles from add-ons. + * + * @param array $feature_toggles Array with feature toggle objects where each object + * should have a `name`, `setting` and `label` property. + */ + $feature_toggles = apply_filters( 'wpseo_feature_toggles', $feature_toggles ); + + $feature_toggles = array_map( [ $this, 'ensure_toggle' ], $feature_toggles ); + usort( $feature_toggles, [ $this, 'sort_toggles_callback' ] ); + + return $feature_toggles; + } + + /** + * Returns html for a warning that core sitemaps are enabled when yoast seo sitemaps are disabled. + * + * @return string HTML string for the warning. + */ + protected function sitemaps_toggle_after() { + $out = ''; + + return $out; + } + + /** + * Ensures that the passed value is a Yoast_Feature_Toggle. + * + * @param Yoast_Feature_Toggle|object|array $toggle_data Feature toggle instance, or raw object or array + * containing feature toggle data. + * @return Yoast_Feature_Toggle Feature toggle instance based on $toggle_data. + */ + protected function ensure_toggle( $toggle_data ) { + if ( $toggle_data instanceof Yoast_Feature_Toggle ) { + return $toggle_data; + } + + if ( is_object( $toggle_data ) ) { + $toggle_data = get_object_vars( $toggle_data ); + } + + return new Yoast_Feature_Toggle( $toggle_data ); + } + + /** + * Callback for sorting feature toggles by their order. + * + * {@internal Once the minimum PHP version goes up to PHP 7.0, the logic in the function + * can be replaced with the spaceship operator `<=>`.} + * + * @param Yoast_Feature_Toggle $feature_a Feature A. + * @param Yoast_Feature_Toggle $feature_b Feature B. + * + * @return int An integer less than, equal to, or greater than zero indicating respectively + * that feature A is considered to be less than, equal to, or greater than feature B. + */ + protected function sort_toggles_callback( Yoast_Feature_Toggle $feature_a, Yoast_Feature_Toggle $feature_b ) { + return ( $feature_a->order - $feature_b->order ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-input-select.php b/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-input-select.php new file mode 100644 index 00000000..1f2a1735 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-input-select.php @@ -0,0 +1,146 @@ +select_id = $select_id; + $this->select_name = $select_name; + $this->select_options = $select_options; + $this->selected_option = $selected_option; + } + + /** + * Print the rendered view. + * + * @return void + */ + public function output_html() { + // Extract it, because we want each value accessible via a variable instead of accessing it as an array. + extract( $this->get_select_values() ); + + require WPSEO_PATH . 'admin/views/form/select.php'; + } + + /** + * Return the rendered view. + * + * @return string + */ + public function get_html() { + ob_start(); + + $this->output_html(); + + $rendered_output = ob_get_contents(); + ob_end_clean(); + + return $rendered_output; + } + + /** + * Add an attribute to the attributes property. + * + * @param string $attribute The name of the attribute to add. + * @param string $value The value of the attribute. + * + * @return void + */ + public function add_attribute( $attribute, $value ) { + $this->select_attributes[ $attribute ] = $value; + } + + /** + * Return the set fields for the select. + * + * @return array + */ + private function get_select_values() { + return [ + 'id' => $this->select_id, + 'name' => $this->select_name, + 'attributes' => $this->get_attributes(), + 'options' => $this->select_options, + 'selected' => $this->selected_option, + ]; + } + + /** + * Return the attribute string, when there are attributes set. + * + * @return string + */ + private function get_attributes() { + $attributes = $this->select_attributes; + + if ( ! empty( $attributes ) ) { + array_walk( $attributes, [ $this, 'parse_attribute' ] ); + + return implode( ' ', $attributes ) . ' '; + } + + return ''; + } + + /** + * Get an attribute from the attributes. + * + * @param string $value The value of the attribute. + * @param string $attribute The attribute to look for. + * + * @return void + */ + private function parse_attribute( &$value, $attribute ) { + $value = sprintf( '%s="%s"', sanitize_key( $attribute ), esc_attr( $value ) ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-integration-toggles.php b/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-integration-toggles.php new file mode 100644 index 00000000..ac66ee0f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/class-yoast-integration-toggles.php @@ -0,0 +1,139 @@ +toggles === null ) { + $this->toggles = $this->load_toggles(); + } + + return $this->toggles; + } + + /** + * Loads the available integration toggles. + * + * Also ensures that the toggles are all Yoast_Feature_Toggle instances and sorted by their order value. + * + * @return array List of sorted Yoast_Feature_Toggle instances. + */ + protected function load_toggles() { + $integration_toggles = [ + (object) [ + /* translators: %s: 'Semrush' */ + 'name' => sprintf( __( '%s integration', 'wordpress-seo' ), 'Semrush' ), + 'setting' => 'semrush_integration_active', + 'label' => sprintf( + /* translators: %s: 'Semrush' */ + __( 'The %s integration offers suggestions and insights for keywords related to the entered focus keyphrase.', 'wordpress-seo' ), + 'Semrush' + ), + 'order' => 10, + ], + (object) [ + /* translators: %s: Algolia. */ + 'name' => sprintf( esc_html__( '%s integration', 'wordpress-seo' ), 'Algolia' ), + 'premium' => true, + 'setting' => 'algolia_integration_active', + 'label' => __( 'Improve the quality of your site search! Automatically helps your users find your cornerstone and most important content in your internal search results. It also removes noindexed posts & pages from your site’s search results.', 'wordpress-seo' ), + /* translators: %s: Algolia. */ + 'read_more_label' => sprintf( __( 'Find out more about our %s integration.', 'wordpress-seo' ), 'Algolia' ), + 'read_more_url' => 'https://yoa.st/4eu', + 'premium_url' => 'https://yoa.st/4ex', + 'premium_upsell_url' => 'https://yoa.st/get-algolia-integration', + 'order' => 25, + ], + ]; + + /** + * Filter to add integration toggles from add-ons. + * + * @param array $integration_toggles Array with integration toggle objects where each object + * should have a `name`, `setting` and `label` property. + */ + $integration_toggles = apply_filters( 'wpseo_integration_toggles', $integration_toggles ); + + $integration_toggles = array_map( [ $this, 'ensure_toggle' ], $integration_toggles ); + usort( $integration_toggles, [ $this, 'sort_toggles_callback' ] ); + + return $integration_toggles; + } + + /** + * Ensures that the passed value is a Yoast_Feature_Toggle. + * + * @param Yoast_Feature_Toggle|object|array $toggle_data Feature toggle instance, or raw object or array + * containing integration toggle data. + * @return Yoast_Feature_Toggle Feature toggle instance based on $toggle_data. + */ + protected function ensure_toggle( $toggle_data ) { + if ( $toggle_data instanceof Yoast_Feature_Toggle ) { + return $toggle_data; + } + + if ( is_object( $toggle_data ) ) { + $toggle_data = get_object_vars( $toggle_data ); + } + + return new Yoast_Feature_Toggle( $toggle_data ); + } + + /** + * Callback for sorting integration toggles by their order. + * + * {@internal Once the minimum PHP version goes up to PHP 7.0, the logic in the function + * can be replaced with the spaceship operator `<=>`.} + * + * @param Yoast_Feature_Toggle $feature_a Feature A. + * @param Yoast_Feature_Toggle $feature_b Feature B. + * + * @return int An integer less than, equal to, or greater than zero indicating respectively + * that feature A is considered to be less than, equal to, or greater than feature B. + */ + protected function sort_toggles_callback( Yoast_Feature_Toggle $feature_a, Yoast_Feature_Toggle $feature_b ) { + return ( $feature_a->order - $feature_b->order ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/form/select.php b/wp/wp-content/plugins/wordpress-seo/admin/views/form/select.php new file mode 100644 index 00000000..8f3a846c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/form/select.php @@ -0,0 +1,26 @@ + + + diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/interface-yoast-form-element.php b/wp/wp-content/plugins/wordpress-seo/admin/views/interface-yoast-form-element.php new file mode 100644 index 00000000..24a8ccb3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/interface-yoast-form-element.php @@ -0,0 +1,19 @@ + + + + + diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/licenses.php b/wp/wp-content/plugins/wordpress-seo/admin/views/licenses.php new file mode 100644 index 00000000..69618cbe --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/licenses.php @@ -0,0 +1,395 @@ + WPSEO_Shortlinker::get( 'https://yoa.st/zz' ), + 'infoUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zy' ), + 'title' => 'Yoast SEO Premium', + /* translators: %1$s expands to Yoast SEO */ + 'desc' => sprintf( __( 'The premium version of %1$s with more features & support.', 'wordpress-seo' ), 'Yoast SEO' ), + 'image' => plugin_dir_url( WPSEO_FILE ) . 'packages/js/images/Yoast_SEO_Icon.svg', + 'benefits' => [], +]; + +$extensions = [ + WPSEO_Addon_Manager::LOCAL_SLUG => [ + 'buyUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zt' ), + 'infoUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zs' ), + 'title' => 'Local SEO', + 'display_title' => __( 'Stand out for local searches', 'wordpress-seo' ), + 'desc' => __( 'Rank better locally and in Google Maps, without breaking a sweat!', 'wordpress-seo' ), + 'image' => plugins_url( 'images/local_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE ), + 'benefits' => [ + __( 'Attract more customers to your site and physical store', 'wordpress-seo' ), + __( 'Automatically get technical SEO best practices for local businesses', 'wordpress-seo' ), + __( 'Easily add maps, address finders, and opening hours to your content', 'wordpress-seo' ), + __( 'Optimize your business for multiple locations', 'wordpress-seo' ), + ], + ], + WPSEO_Addon_Manager::VIDEO_SLUG => [ + 'buyUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zx/' ), + 'infoUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zw/' ), + 'title' => 'Video SEO', + 'display_title' => __( 'Drive more views to your videos', 'wordpress-seo' ), + 'desc' => __( 'Optimize your videos to show them off in search results and get more clicks!', 'wordpress-seo' ), + 'image' => plugins_url( 'images/video_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE ), + 'benefits' => [ + __( 'Automatically get technical SEO best practices for video content', 'wordpress-seo' ), + __( 'Make sure your videos load quickly for users', 'wordpress-seo' ), + __( 'Make your videos responsive for all screen sizes', 'wordpress-seo' ), + __( 'Optimize your video previews & thumbnails', 'wordpress-seo' ), + ], + ], + WPSEO_Addon_Manager::NEWS_SLUG => [ + 'buyUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zv/' ), + 'infoUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zu/' ), + 'title' => 'News SEO', + 'display_title' => __( 'Rank higher in Google\'s news carousel', 'wordpress-seo' ), + 'desc' => __( 'Are you in Google News? Increase your traffic from Google News by optimizing for it!', 'wordpress-seo' ), + 'image' => plugins_url( 'images/news_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE ), + 'benefits' => [ + __( 'Optimize your site for Google News', 'wordpress-seo' ), + __( 'Ping Google on the publication of a new post', 'wordpress-seo' ), + __( 'Add all necessary schema.org markup', 'wordpress-seo' ), + __( 'Get XML sitemaps', 'wordpress-seo' ), + ], + ], +]; + +// Add Yoast WooCommerce SEO when WooCommerce is active. +if ( YoastSEO()->helpers->woocommerce->is_active() ) { + $extensions[ WPSEO_Addon_Manager::WOOCOMMERCE_SLUG ] = [ + 'buyUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zr' ), + 'infoUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zq' ), + 'title' => 'Yoast WooCommerce SEO', + 'display_title' => __( 'Drive more traffic to your online store', 'wordpress-seo' ), + /* translators: %1$s expands to Yoast SEO */ + 'desc' => sprintf( __( 'Seamlessly integrate WooCommerce with %1$s and get extra features!', 'wordpress-seo' ), 'Yoast SEO' ), + 'image' => plugins_url( 'images/woo_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE ), + 'benefits' => [ + __( 'Write product pages that rank using the SEO analysis', 'wordpress-seo' ), + __( 'Increase Google clicks with rich results', 'wordpress-seo' ), + __( 'Add global identifiers for variable products', 'wordpress-seo' ), + /* translators: %1$s expands to Yoast SEO, %2$s expands to WooCommerce */ + sprintf( __( 'Seamless integration between %1$s and %2$s', 'wordpress-seo' ), 'Yoast SEO', 'WooCommerce' ), + __( 'Turn more visitors into customers!', 'wordpress-seo' ), + ], + 'buy_button' => 'WooCommerce SEO', + ]; +} + +// The total number of plugins to consider is the length of the array + 1 for Premium. +// @phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound +$number_plugins_total = ( count( $extensions ) + 1 ); +// @phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound +$number_plugins_active = 0; + +$extensions['yoast-seo-plugin-subscription'] = [ + 'buyUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/premium-page-bundle-buy' ), + 'infoUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/premium-page-bundle-info' ), + /* translators: used in phrases such as "More information about all the Yoast plugins" */ + 'title' => __( 'all the Yoast plugins', 'wordpress-seo' ), + 'display_title' => __( 'Cover all your SEO bases', 'wordpress-seo' ), + 'desc' => '', + 'image' => plugins_url( 'images/plugin_subscription.svg?v=' . WPSEO_VERSION, WPSEO_FILE ), + 'benefits' => [ + __( 'Get all 5 Yoast plugins for WordPress at a big discount', 'wordpress-seo' ), + __( 'Reach new customers who live near your business', 'wordpress-seo' ), + __( 'Drive more views to your videos', 'wordpress-seo' ), + __( 'Rank higher in Google\'s news carousel', 'wordpress-seo' ), + __( 'Drive more traffic to your online store', 'wordpress-seo' ), + + ], + /* translators: used in phrases such as "Buy all the Yoast plugins" */ + 'buy_button' => __( 'all the Yoast plugins', 'wordpress-seo' ), +]; + +$addon_manager = new WPSEO_Addon_Manager(); +$has_valid_premium_subscription = YoastSEO()->helpers->product->is_premium() && $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ); + +/* translators: %1$s expands to Yoast SEO. */ +$wpseo_extensions_header = sprintf( __( '%1$s Extensions', 'wordpress-seo' ), 'Yoast SEO' ); +$new_tab_message = sprintf( + '%1$s', + /* translators: Hidden accessibility text. */ + esc_html__( '(Opens in a new browser tab)', 'wordpress-seo' ) +); + +$sale_badge = ''; +$premium_sale_badge = ''; + +if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-2023-promotion' ) ) { + /* translators: %1$s expands to opening span, %2$s expands to closing span */ + $sale_badge_span = sprintf( esc_html__( '%1$sSALE 30%% OFF!%2$s', 'wordpress-seo' ), '', '' ); + + $sale_badge = '
    ' . $sale_badge_span . '
    '; + + $premium_sale_badge = ( $has_valid_premium_subscription ) ? '' : $sale_badge; +} + +?> + +
    + +

    + +
    +
    + +

    + + +

    + +
      +
    • + ', + '' + ); + ?> +
    • +
    • + ', + '' + ); + ?> +
    • +
    • + ', + '' + ); + ?> +
    • +
    • + ', + '' + ); + ?> +
    • +
    • + ', + '' + ); + ?> +
    • +
    • + ', + '' + ); + ?> +
    • +
    + + is_installed( WPSEO_Addon_Manager::PREMIUM_SLUG ) ) : ?> +
    + + +
    + + + + +
    + + + + + + + + + '; + ?> + + + + + + + +

    + +

    + +
    + + + +
    +

    + ', + '', + 'Yoast SEO' + ); + ?> +

    + + $extension ) : + + // Skip the "All the plugins" card if the user has already all the plugins active. + if ( $slug === 'yoast-seo-plugin-subscription' && $number_plugins_active === $number_plugins_total ) { + continue; + } + ?> +
    + has_valid_subscription( $slug ) || ! $addon_manager->is_installed( $slug ) ) : ?> + + +

    + + +

    +
      + +
    • + +
    + +
    + is_installed( $slug ) ) : ?> +
    + + has_valid_subscription( $slug ) ) : + ++$number_plugins_active; + ?> +
    + + + + +
    + + + + + + + '; + ?> + + +

    + +

    + + + + + +
    +
    + +
    +
    + +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/paper-collapsible.php b/wp/wp-content/plugins/wordpress-seo/admin/views/paper-collapsible.php new file mode 100644 index 00000000..e8e3fea4 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/paper-collapsible.php @@ -0,0 +1,79 @@ + +
    > + + %4$s%5$s ', + esc_attr( 'collapsible-header ' . $collapsible_header_class ), + // phpcs:ignore WordPress.Security.EscapeOutput -- $button_id_attr is escaped above. + $button_id_attr, + esc_attr( $collapsible_config['expanded'] ), + // phpcs:ignore WordPress.Security.EscapeOutput -- $help_text is an instance of WPSEO_Admin_Help_Panel, which escapes it's own output. + $help_text->get_button_html(), + esc_html( $title ) . wp_kses_post( $title_after ), + wp_kses_post( $collapsible_config['toggle_icon'] ) + ); + } + else { + echo '

    ', + esc_html( $title ), + wp_kses_post( $title_after ), + // phpcs:ignore WordPress.Security.EscapeOutput -- $help_text is an instance of WPSEO_Admin_Help_Panel, which escapes it's own output. + $help_text->get_button_html(), + '

    '; + } + } + ?> + get_panel_html(); + + $container_id_attr = ''; + if ( ! empty( $paper_id ) ) { + $container_id_attr = sprintf( ' id="%s"', esc_attr( $paper_id_prefix . $paper_id . '-container' ) ); + } + + printf( + '%3$s
    ', + // phpcs:ignore WordPress.Security.EscapeOutput -- $container_id_attr is escaped above. + $container_id_attr, + esc_attr( 'paper-container ' . $collapsible_config['class'] ), + $content + ); + ?> + + diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/partial-notifications-errors.php b/wp/wp-content/plugins/wordpress-seo/admin/views/partial-notifications-errors.php new file mode 100644 index 00000000..3db05a04 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/partial-notifications-errors.php @@ -0,0 +1,29 @@ +%1$s', + /* translators: Hidden accessibility text. */ + esc_html__( 'Hide this item.', 'wordpress-seo' ) + ); + break; + + case 'dismissed': + $button = sprintf( + '', + /* translators: Hidden accessibility text. */ + esc_html__( 'Show this item.', 'wordpress-seo' ) + ); + break; + } + + $notifications .= sprintf( + '
    %4$s%5$s
    ', + esc_attr( $notification->get_id() ), + esc_attr( $notification->get_nonce() ), + esc_attr( $notification->get_json() ), + // This needs to be fixed in https://github.com/Yoast/wordpress-seo-premium/issues/2548. + $notification, + // Note: $button is properly escaped above. + $button + ); + } + + return $notifications; + } +} + +$wpseo_i18n_summary = $yoast_seo_i18n_issues; +if ( ! $yoast_seo_active ) { + $yoast_seo_dashicon = 'yes'; + $wpseo_i18n_summary = $yoast_seo_i18n_no_issues; +} + +?> +

    + + () +

    + +
    + + +

    + +
    + +
    + + esc_attr( $yoast_seo_type . '-dismissed' ), + 'paper_id_prefix' => 'yoast-', + 'class' => 'yoast-notifications-dismissed', + 'content' => _yoast_display_notifications( $yoast_seo_dismissed, 'dismissed' ), + 'collapsible' => true, + 'collapsible_header_class' => 'yoast-notification', + ] + ); + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: get_output() output is properly escaped. + echo $dismissed_paper->get_output(); + } + ?> + + + +

    + + +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/partial-notifications-warnings.php b/wp/wp-content/plugins/wordpress-seo/admin/views/partial-notifications-warnings.php new file mode 100644 index 00000000..e960d6ae --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/partial-notifications-warnings.php @@ -0,0 +1,29 @@ + +
    +

    +
    +
    + + + +
    +
    + + +
    +

    + +

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

    + ', + '' + ); + ?> +

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

     

    +
    + + +
    + +
    + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + +
    + +
    +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/dashboard.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/dashboard.php new file mode 100644 index 00000000..262a37d3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/dashboard.php @@ -0,0 +1,44 @@ + + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    +

    +

    + +

    +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/first-time-configuration.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/first-time-configuration.php new file mode 100644 index 00000000..f15c4bb5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/first-time-configuration.php @@ -0,0 +1,14 @@ +'; diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/site-analysis.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/site-analysis.php new file mode 100644 index 00000000..b45c40ec --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/dashboard/site-analysis.php @@ -0,0 +1,20 @@ +get_all(); + +?> +

    +
    + '; + printf( + /* translators: %1$s opens the link to the Yoast.com article about Crawl settings, %2$s closes the link, */ + esc_html__( '%1$sLearn more about crawl settings.%2$s', 'wordpress-seo' ), + '', + '' + ); + echo '

    '; + + /** + * Fires when displaying the crawl cleanup network tab. + * + * @param Yoast_Form $yform The yoast form object. + */ + do_action( 'wpseo_settings_tab_crawl_cleanup_network', $yform ); + ?> +
    +hidden( 'show_onboarding_notice', 'wpseo_show_onboarding_notice' ); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/features.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/features.php new file mode 100644 index 00000000..05ac5bbf --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/features.php @@ -0,0 +1,115 @@ +get_all(); + +?> +

    +
    + helpers->product->is_premium(); + $premium_version = YoastSEO()->helpers->product->get_premium_version(); + + if ( $feature->premium && $feature->premium_version ) { + $not_supported_in_current_premium_version = $is_premium && version_compare( $premium_version, $feature->premium_version, '<' ); + + if ( $not_supported_in_current_premium_version ) { + continue; + } + } + + $help_text = esc_html( $feature->label ); + if ( ! empty( $feature->extra ) ) { + $help_text .= ' ' . $feature->extra; + } + if ( ! empty( $feature->read_more_label ) ) { + $url = $feature->read_more_url; + if ( ! empty( $feature->premium ) && $feature->premium === true ) { + $url = $feature->premium_url; + } + $help_text .= sprintf( + '%2$s', + esc_url( WPSEO_Shortlinker::get( $url ) ), + esc_html( $feature->read_more_label ) + ); + } + + $feature_help = new WPSEO_Admin_Help_Panel( + WPSEO_Option::ALLOW_KEY_PREFIX . $feature->setting, + /* translators: Hidden accessibility text; %s expands to a feature's name. */ + sprintf( esc_html__( 'Help on: %s', 'wordpress-seo' ), esc_html( $feature->name ) ), + $help_text + ); + + $name = $feature->name; + if ( ! empty( $feature->premium ) && $feature->premium === true ) { + $name .= ' ' . new Premium_Badge_Presenter( $feature->name ); + } + + if ( ! empty( $feature->in_beta ) && $feature->in_beta === true ) { + $name .= ' ' . new Beta_Badge_Presenter( $feature->name ); + } + + $disabled = false; + $show_premium_upsell = false; + $premium_upsell_url = ''; + $note_when_disabled = ''; + + if ( $feature->premium === true && YoastSEO()->helpers->product->is_premium() === false ) { + $disabled = true; + $show_premium_upsell = true; + $premium_upsell_url = WPSEO_Shortlinker::get( $feature->premium_upsell_url ); + } + + $preserve_disabled_value = false; + if ( $disabled ) { + $preserve_disabled_value = true; + } + + $yform->toggle_switch( + WPSEO_Option::ALLOW_KEY_PREFIX . $feature->setting, + [ + 'on' => __( 'Allow Control', 'wordpress-seo' ), + 'off' => __( 'Disable', 'wordpress-seo' ), + ], + $name, + $feature_help->get_button_html() . $feature_help->get_panel_html(), + [ + 'disabled' => $disabled, + 'preserve_disabled_value' => $preserve_disabled_value, + 'show_premium_upsell' => $show_premium_upsell, + 'premium_upsell_url' => $premium_upsell_url, + 'note_when_disabled' => $note_when_disabled, + ] + ); + } + ?> +
    +hidden( 'show_onboarding_notice', 'wpseo_show_onboarding_notice' ); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/general.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/general.php new file mode 100644 index 00000000..a73c722b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/general.php @@ -0,0 +1,56 @@ +'; + +/* + * {@internal Important: Make sure the options added to the array here are in line with the + * options set in the WPSEO_Option_MS::$allowed_access_options property.}} + */ +$yform->select( + 'access', + /* translators: %1$s expands to Yoast SEO */ + sprintf( __( 'Who should have access to the %1$s settings', 'wordpress-seo' ), 'Yoast SEO' ), + [ + 'admin' => __( 'Site Admins (default)', 'wordpress-seo' ), + 'superadmin' => __( 'Super Admins only', 'wordpress-seo' ), + ] +); + +if ( get_blog_count() <= 100 ) { + $network_admin = new Yoast_Network_Admin(); + + $yform->select( + 'defaultblog', + __( 'New sites in the network inherit their SEO settings from this site', 'wordpress-seo' ), + $network_admin->get_site_choices( true, true ) + ); + echo '

    ' . esc_html__( 'Choose the site whose settings you want to use as default for all sites that are added to your network. If you choose \'None\', the normal plugin defaults will be used.', 'wordpress-seo' ) . '

    '; +} +else { + $yform->textinput( 'defaultblog', __( 'New sites in the network inherit their SEO settings from this site', 'wordpress-seo' ) ); + echo '

    '; + printf( + /* translators: 1: link open tag; 2: link close tag. */ + esc_html__( 'Enter the %1$sSite ID%2$s for the site whose settings you want to use as default for all sites that are added to your network. Leave empty for none (i.e. the normal plugin defaults will be used).', 'wordpress-seo' ), + '', + '' + ); + echo '

    '; +} + +echo '

    ' . esc_html__( 'Take note:', 'wordpress-seo' ) . ' ' . esc_html__( 'Privacy sensitive (FB admins and such), theme specific (title rewrite) and a few very site specific settings will not be imported to new sites.', 'wordpress-seo' ) . '

    '; + +echo ''; diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/integrations.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/integrations.php new file mode 100644 index 00000000..be635eec --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/integrations.php @@ -0,0 +1,103 @@ +get_all(); + +?> +

    +
    + label ); + + if ( ! empty( $integration->extra ) ) { + $help_text .= ' ' . $integration->extra; + } + + if ( ! empty( $integration->read_more_label ) ) { + $help_text .= ' '; + $help_text .= sprintf( + '%2$s', + esc_url( WPSEO_Shortlinker::get( $integration->read_more_url ) ), + esc_html( $integration->read_more_label ) + ); + } + + $feature_help = new WPSEO_Admin_Help_Panel( + WPSEO_Option::ALLOW_KEY_PREFIX . $integration->setting, + /* translators: Hidden accessibility text; %s expands to an integration's name. */ + sprintf( esc_html__( 'Help on: %s', 'wordpress-seo' ), esc_html( $integration->name ) ), + $help_text + ); + + $name = $integration->name; + if ( ! empty( $integration->premium ) && $integration->premium === true ) { + $name .= ' ' . new Premium_Badge_Presenter( $integration->name ); + } + + if ( ! empty( $integration->new ) && $integration->new === true ) { + $name .= ' ' . new Badge_Presenter( $integration->name ); + } + + $disabled = $integration->disabled; + $show_premium_upsell = false; + $premium_upsell_url = ''; + + if ( $integration->premium === true && YoastSEO()->helpers->product->is_premium() === false ) { + $disabled = true; + $show_premium_upsell = true; + $premium_upsell_url = WPSEO_Shortlinker::get( $integration->premium_upsell_url ); + } + + $preserve_disabled_value = false; + if ( $disabled ) { + $preserve_disabled_value = true; + } + + $yform->toggle_switch( + WPSEO_Option::ALLOW_KEY_PREFIX . $integration->setting, + [ + 'on' => __( 'Allow Control', 'wordpress-seo' ), + 'off' => __( 'Disable', 'wordpress-seo' ), + ], + $name, + $feature_help->get_button_html() . $feature_help->get_panel_html(), + [ + 'disabled' => $disabled, + 'preserve_disabled_value' => $preserve_disabled_value, + 'show_premium_upsell' => $show_premium_upsell, + 'premium_upsell_url' => $premium_upsell_url, + ] + ); + + do_action( 'Yoast\WP\SEO\admin_network_integration_after', $integration ); + } + ?> +
    +hidden( 'show_onboarding_notice', 'wpseo_show_onboarding_notice' ); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/restore-site.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/restore-site.php new file mode 100644 index 00000000..ce6701a9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/network/restore-site.php @@ -0,0 +1,32 @@ +' . esc_html__( 'Using this form you can reset a site to the default SEO settings.', 'wordpress-seo' ) . '

    '; + +if ( get_blog_count() <= 100 ) { + $network_admin = new Yoast_Network_Admin(); + + $yform->select( + 'site_id', + __( 'Site ID', 'wordpress-seo' ), + $network_admin->get_site_choices( false, true ) + ); +} +else { + $yform->textinput( 'site_id', __( 'Site ID', 'wordpress-seo' ) ); +} + +wp_nonce_field( 'wpseo-network-restore', 'restore_site_nonce', false ); +echo ''; diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/import-seo.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/import-seo.php new file mode 100644 index 00000000..9cac6366 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/import-seo.php @@ -0,0 +1,127 @@ +detect(); +if ( count( $import_check->needs_import ) === 0 ) { + echo '

    ', esc_html__( 'Import from other SEO plugins', 'wordpress-seo' ), '

    '; + echo '

    '; + printf( + /* translators: %s expands to Yoast SEO */ + esc_html__( '%s did not detect any plugin data from plugins it can import from.', 'wordpress-seo' ), + 'Yoast SEO' + ); + echo '

    '; + + return; +} + +/** + * Creates a select box given a name and plugins array. + * + * @param string $name Name field for the select field. + * @param array $plugins An array of plugins and classes. + * + * @return void + */ +function wpseo_import_external_select( $name, $plugins ) { + esc_html_e( 'Plugin: ', 'wordpress-seo' ); + echo ''; +} + +?> +

    +

    + +

    + +
    +

    +

    + +

    +
    + +
    +

    +

    + +

    +
    + needs_import ); + ?> + + +
    +
    + +
    +

    +

    + +

    +
    + +
    +

    +

    + ', + '' + ); + ?> +

    +
    + +
    +

    +

    + +

    +
    + needs_import ); + ?> + +
    +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/wpseo-export.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/wpseo-export.php new file mode 100644 index 00000000..d0a41961 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/wpseo-export.php @@ -0,0 +1,39 @@ +export(); + return; +} + +$wpseo_export_phrase = sprintf( + /* translators: %1$s expands to Yoast SEO */ + __( 'Export your %1$s settings here, to copy them on another site.', 'wordpress-seo' ), + 'Yoast SEO' +); +?> + +

    +
    + + + +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/wpseo-import.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/wpseo-import.php new file mode 100644 index 00000000..18a5bfe9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tabs/tool/wpseo-import.php @@ -0,0 +1,46 @@ + +

    + +

    + +
    + +
    +
    + +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tool-bulk-editor.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tool-bulk-editor.php new file mode 100644 index 00000000..354ba376 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tool-bulk-editor.php @@ -0,0 +1,120 @@ + $yoast_free_input_fields, + 'nonce' => wp_create_nonce( 'bulk-editor-table' ), +]; + +$wpseo_bulk_titles_table = new WPSEO_Bulk_Title_Editor_List_Table( $yoast_bulk_editor_arguments ); +$wpseo_bulk_description_table = new WPSEO_Bulk_Description_List_Table( $yoast_bulk_editor_arguments ); + +$yoast_free_screen_reader_content = [ + 'heading_views' => __( 'Filter posts list', 'wordpress-seo' ), + 'heading_pagination' => __( 'Posts list navigation', 'wordpress-seo' ), + 'heading_list' => __( 'Posts list', 'wordpress-seo' ), +]; +get_current_screen()->set_screen_reader_content( $yoast_free_screen_reader_content ); + +if ( ! empty( $_REQUEST['_wp_http_referer'] ) && isset( $_SERVER['REQUEST_URI'] ) ) { + $request_uri = sanitize_file_name( wp_unslash( $_SERVER['REQUEST_URI'] ) ); + + wp_redirect( + remove_query_arg( + [ '_wp_http_referer', '_wpnonce' ], + $request_uri + ) + ); + exit; +} + +/** + * Renders a bulk editor tab. + * + * @param WPSEO_Bulk_List_Table $table The table to render. + * @param string $id The id for the tab. + * + * @return void + */ +function wpseo_get_rendered_tab( $table, $id ) { + ?> +
    + show_page(); + ?> +
    + + + +

    + +
    + + + +
    + + +
    +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tool-file-editor.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tool-file-editor.php new file mode 100644 index 00000000..d28b5bf7 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tool-file-editor.php @@ -0,0 +1,244 @@ +admin_header( false, 'wpseo_ms' ); +} +else { + $action_url = admin_url( 'admin.php?page=wpseo_tools&tool=file-editor' ); +} + +if ( isset( $msg ) && ! empty( $msg ) ) { + echo '

    ', esc_html( $msg ), '

    '; +} + +// N.B.: "robots.txt" is a fixed file name and should not be translatable. +echo '

    robots.txt

    '; + +if ( ! file_exists( $robots_file ) ) { + if ( is_writable( $home_path ) ) { + echo '
    '; + wp_nonce_field( 'wpseo_create_robots', '_wpnonce', true, true ); + echo '

    '; + printf( + /* translators: %s expands to robots.txt. */ + esc_html__( 'You don\'t have a %s file, create one here:', 'wordpress-seo' ), + 'robots.txt' + ); + echo '

    '; + + printf( + '', + sprintf( + /* translators: %s expands to robots.txt. */ + esc_attr__( 'Create %s file', 'wordpress-seo' ), + 'robots.txt' + ) + ); + echo '
    '; + } + else { + echo '

    '; + printf( + /* translators: %s expands to robots.txt. */ + esc_html__( 'If you had a %s file and it was editable, you could edit it from here.', 'wordpress-seo' ), + 'robots.txt' + ); + echo '

    '; + } +} +else { + $f = fopen( $robots_file, 'r' ); + + $content = ''; + if ( filesize( $robots_file ) > 0 ) { + $content = fread( $f, filesize( $robots_file ) ); + } + + if ( ! is_writable( $robots_file ) ) { + echo '

    '; + printf( + /* translators: %s expands to robots.txt. */ + esc_html__( 'If your %s were writable, you could edit it from here.', 'wordpress-seo' ), + 'robots.txt' + ); + echo '

    '; + echo '
    '; + } + else { + echo '
    '; + wp_nonce_field( 'wpseo-robotstxt', '_wpnonce', true, true ); + echo ''; + echo '
    '; + printf( + '
    ', + sprintf( + /* translators: %s expands to robots.txt. */ + esc_attr__( 'Save changes to %s', 'wordpress-seo' ), + 'robots.txt' + ) + ); + echo '
    '; + } +} +if ( ! WPSEO_Utils::is_nginx() ) { + + echo '

    '; + printf( + /* translators: %s expands to ".htaccess". */ + esc_html__( '%s file', 'wordpress-seo' ), + '.htaccess' + ); + echo '

    '; + + if ( file_exists( $ht_access_file ) ) { + $f = fopen( $ht_access_file, 'r' ); + + $contentht = ''; + if ( filesize( $ht_access_file ) > 0 ) { + $contentht = fread( $f, filesize( $ht_access_file ) ); + } + + if ( ! is_writable( $ht_access_file ) ) { + echo '

    '; + printf( + /* translators: %s expands to ".htaccess". */ + esc_html__( 'If your %s were writable, you could edit it from here.', 'wordpress-seo' ), + '.htaccess' + ); + echo '

    '; + echo '
    '; + } + else { + echo '
    '; + wp_nonce_field( 'wpseo-htaccess', '_wpnonce', true, true ); + echo ''; + echo '
    '; + printf( + '
    ', + sprintf( + /* translators: %s expands to ".htaccess". */ + esc_attr__( 'Save changes to %s', 'wordpress-seo' ), + '.htaccess' + ) + ); + echo '
    '; + } + } + else { + echo '

    '; + printf( + /* translators: %s expands to ".htaccess". */ + esc_html__( 'If you had a %s file and it was editable, you could edit it from here.', 'wordpress-seo' ), + '.htaccess' + ); + echo '

    '; + } +} + +if ( is_multisite() ) { + $yform->admin_footer( false ); +} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/tool-import-export.php b/wp/wp-content/plugins/wordpress-seo/admin/views/tool-import-export.php new file mode 100644 index 00000000..d2e0fd84 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/tool-import-export.php @@ -0,0 +1,123 @@ +import(); +} + +/** + * Allow custom import actions. + * + * @param WPSEO_Import_Status $yoast_seo_import Contains info about the handled import. + */ +$yoast_seo_import = apply_filters( 'wpseo_handle_import', $yoast_seo_import ); + +if ( $yoast_seo_import ) { + + $yoast_seo_message = ''; + if ( $yoast_seo_import->status instanceof WPSEO_Import_Status ) { + $yoast_seo_message = $yoast_seo_import->status->get_msg(); + } + + /** + * Allow customization of import/export message. + * + * @param string $yoast_seo_msg The message. + */ + $yoast_seo_msg = apply_filters( 'wpseo_import_message', $yoast_seo_message ); + + if ( ! empty( $yoast_seo_msg ) ) { + $yoast_seo_status = 'error'; + if ( $yoast_seo_import->status->status ) { + $yoast_seo_status = 'updated'; + } + + $yoast_seo_class = 'message ' . $yoast_seo_status; + + echo '

    ', esc_html( $yoast_seo_msg ), '

    '; + } +} + +$yoast_seo_tabs = [ + 'wpseo-import' => [ + 'label' => __( 'Import settings', 'wordpress-seo' ), + ], + 'wpseo-export' => [ + 'label' => __( 'Export settings', 'wordpress-seo' ), + ], + 'import-seo' => [ + 'label' => __( 'Import from other SEO plugins', 'wordpress-seo' ), + ], +]; + +?> +

    + + + + $tab ) { + printf( '
    ', esc_attr( $identifier ) ); + require_once WPSEO_PATH . 'admin/views/tabs/tool/' . $identifier . '.php'; + echo '
    '; +} + +/** + * Allow adding a custom import tab. + */ +do_action( 'wpseo_import_tab_content' ); diff --git a/wp/wp-content/plugins/wordpress-seo/admin/views/user-profile.php b/wp/wp-content/plugins/wordpress-seo/admin/views/user-profile.php new file mode 100644 index 00000000..2f4fb102 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/views/user-profile.php @@ -0,0 +1,79 @@ + + +
    + +

    + + + +
    + + +
    + + ID ) === 'on' ) ? 'checked' : ''; ?> /> +
    + + + + ID ) === 'on' ) ? 'checked' : ''; ?> /> + +
    +

    + +

    + + + + ID ) === 'on' ) ? 'checked' : ''; ?> /> + +
    +

    + +

    + + + + ID ) === 'on' ) ? 'checked' : ''; ?> /> + +
    +

    + +

    + + + +
    diff --git a/wp/wp-content/plugins/wordpress-seo/admin/watchers/class-slug-change-watcher.php b/wp/wp-content/plugins/wordpress-seo/admin/watchers/class-slug-change-watcher.php new file mode 100644 index 00000000..68d18616 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/admin/watchers/class-slug-change-watcher.php @@ -0,0 +1,256 @@ +helpers->product->is_premium() ) { + return; + } + + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + + // Detect a post trash. + add_action( 'wp_trash_post', [ $this, 'detect_post_trash' ] ); + + // Detect a post delete. + add_action( 'before_delete_post', [ $this, 'detect_post_delete' ] ); + + // Detects deletion of a term. + add_action( 'delete_term_taxonomy', [ $this, 'detect_term_delete' ] ); + } + + /** + * Enqueues the quick edit handler. + * + * @return void + */ + public function enqueue_assets() { + global $pagenow; + + if ( ! in_array( $pagenow, [ 'edit.php', 'edit-tags.php' ], true ) ) { + return; + } + + $asset_manager = new WPSEO_Admin_Asset_Manager(); + $asset_manager->enqueue_script( 'quick-edit-handler' ); + } + + /** + * Shows a message when a post is about to get trashed. + * + * @param int $post_id The current post ID. + * + * @return void + */ + public function detect_post_trash( $post_id ) { + if ( ! $this->is_post_viewable( $post_id ) ) { + return; + } + + $post_label = $this->get_post_type_label( get_post_type( $post_id ) ); + + /* translators: %1$s expands to the translated name of the post type. */ + $first_sentence = sprintf( __( 'You just trashed a %1$s.', 'wordpress-seo' ), $post_label ); + $second_sentence = __( 'Search engines and other websites can still send traffic to your trashed content.', 'wordpress-seo' ); + $message = $this->get_message( $first_sentence, $second_sentence ); + + $this->add_notification( $message ); + } + + /** + * Shows a message when a post is about to get trashed. + * + * @param int $post_id The current post ID. + * + * @return void + */ + public function detect_post_delete( $post_id ) { + if ( ! $this->is_post_viewable( $post_id ) ) { + return; + } + + $post_label = $this->get_post_type_label( get_post_type( $post_id ) ); + + /* translators: %1$s expands to the translated name of the post type. */ + $first_sentence = sprintf( __( 'You just deleted a %1$s.', 'wordpress-seo' ), $post_label ); + $second_sentence = __( 'Search engines and other websites can still send traffic to your deleted content.', 'wordpress-seo' ); + $message = $this->get_message( $first_sentence, $second_sentence ); + + $this->add_notification( $message ); + } + + /** + * Shows a message when a term is about to get deleted. + * + * @param int $term_taxonomy_id The term taxonomy ID that will be deleted. + * + * @return void + */ + public function detect_term_delete( $term_taxonomy_id ) { + if ( ! $this->is_term_viewable( $term_taxonomy_id ) ) { + return; + } + + $term = get_term_by( 'term_taxonomy_id', (int) $term_taxonomy_id ); + $term_label = $this->get_taxonomy_label_for_term( $term->term_id ); + + /* translators: %1$s expands to the translated name of the term. */ + $first_sentence = sprintf( __( 'You just deleted a %1$s.', 'wordpress-seo' ), $term_label ); + $second_sentence = __( 'Search engines and other websites can still send traffic to your deleted content.', 'wordpress-seo' ); + $message = $this->get_message( $first_sentence, $second_sentence ); + + $this->add_notification( $message ); + } + + /** + * Checks if the post is viewable. + * + * @param string $post_id The post id to check. + * + * @return bool Whether the post is viewable or not. + */ + protected function is_post_viewable( $post_id ) { + $post_type = get_post_type( $post_id ); + if ( ! WPSEO_Post_Type::is_post_type_accessible( $post_type ) ) { + return false; + } + + $post_status = get_post_status( $post_id ); + if ( ! $this->check_visible_post_status( $post_status ) ) { + return false; + } + + return true; + } + + /** + * Checks if the term is viewable. + * + * @param int $term_taxonomy_id The term taxonomy ID to check. + * + * @return bool Whether the term is viewable or not. + */ + protected function is_term_viewable( $term_taxonomy_id ) { + $term = get_term_by( 'term_taxonomy_id', (int) $term_taxonomy_id ); + + if ( ! $term || is_wp_error( $term ) ) { + return false; + } + + $taxonomy = get_taxonomy( $term->taxonomy ); + if ( ! $taxonomy ) { + return false; + } + + return $taxonomy->publicly_queryable || $taxonomy->public; + } + + /** + * Gets the taxonomy label to use for a term. + * + * @param int $term_id The term ID. + * + * @return string The taxonomy's singular label. + */ + protected function get_taxonomy_label_for_term( $term_id ) { + $term = get_term( $term_id ); + $taxonomy = get_taxonomy( $term->taxonomy ); + + return $taxonomy->labels->singular_name; + } + + /** + * Retrieves the singular post type label. + * + * @param string $post_type Post type to retrieve label from. + * + * @return string The singular post type name. + */ + protected function get_post_type_label( $post_type ) { + $post_type_object = get_post_type_object( $post_type ); + + // If the post type of this post wasn't registered default back to post. + if ( $post_type_object === null ) { + $post_type_object = get_post_type_object( 'post' ); + } + + return $post_type_object->labels->singular_name; + } + + /** + * Checks whether the given post status is visible or not. + * + * @param string $post_status The post status to check. + * + * @return bool Whether or not the post is visible. + */ + protected function check_visible_post_status( $post_status ) { + $visible_post_statuses = [ + 'publish', + 'static', + 'private', + ]; + + return in_array( $post_status, $visible_post_statuses, true ); + } + + /** + * Returns the message around changed URLs. + * + * @param string $first_sentence The first sentence of the notification. + * @param string $second_sentence The second sentence of the notification. + * + * @return string The full notification. + */ + protected function get_message( $first_sentence, $second_sentence ) { + return '

    ' . __( 'Make sure you don\'t miss out on traffic!', 'wordpress-seo' ) . '

    ' + . '

    ' + . $first_sentence + . ' ' . $second_sentence + . ' ' . __( 'You should create a redirect to ensure your visitors do not get a 404 error when they click on the no longer working URL.', 'wordpress-seo' ) + /* translators: %s expands to Yoast SEO Premium */ + . ' ' . sprintf( __( 'With %s, you can easily create such redirects.', 'wordpress-seo' ), 'Yoast SEO Premium' ) + . '

    ' + . '

    ' + /* translators: %s expands to Yoast SEO Premium */ + . sprintf( __( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' ) + /* translators: Hidden accessibility text. */ + . '' . __( '(Opens in a new browser tab)', 'wordpress-seo' ) . '' + . '' + . '

    '; + } + + /** + * Adds a notification to be shown on the next page request since posts are updated in an ajax request. + * + * @param string $message The message to add to the notification. + * + * @return void + */ + protected function add_notification( $message ) { + $notification = new Yoast_Notification( + $message, + [ + 'type' => 'notice-warning is-dismissible', + 'yoast_branding' => true, + ] + ); + + $notification_center = Yoast_Notification_Center::get(); + $notification_center->add_notification( $notification ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/blocks/dynamic-blocks/breadcrumbs/block.json b/wp/wp-content/plugins/wordpress-seo/blocks/dynamic-blocks/breadcrumbs/block.json new file mode 100644 index 00000000..33ecb48c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/blocks/dynamic-blocks/breadcrumbs/block.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "version": "22.8", + "name": "yoast-seo/breadcrumbs", + "title": "Yoast Breadcrumbs", + "description": "Adds the Yoast SEO breadcrumbs to your template or content.", + "category": "yoast-internal-linking-blocks", + "icon": "admin-links", + "keywords": [ + "SEO", + "breadcrumbs", + "internal linking", + "site structure" + ], + "textdomain": "wordpress-seo", + "attributes": { + "className": { + "type": "string" + } + }, + "example": { + "attributes": {} + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/faq/block.json b/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/faq/block.json new file mode 100644 index 00000000..649f1226 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/faq/block.json @@ -0,0 +1,44 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "version": "22.7", + "name": "yoast/faq-block", + "title": "Yoast FAQ", + "description": "List your Frequently Asked Questions in an SEO-friendly way.", + "category": "yoast-structured-data-blocks", + "icon": "editor-ul", + "keywords": [ + "FAQ", + "Frequently Asked Questions", + "Schema", + "SEO", + "Structured Data" + ], + "textdomain": "wordpress-seo", + "attributes": { + "questions": { + "type": "array" + }, + "additionalListCssClasses": { + "type": "string" + } + }, + "example": { + "attributes": { + "steps": [ + { + "id": "faq-question-1", + "question": [ ], + "answer": [ ] + }, + { + "id": "faq-question-2", + "question": [ ], + "answer": [ ] + } + ] + } + }, + "editorScript": "yoast-seo-faq-block", + "editorStyle": "yoast-seo-structured-data-blocks" +} diff --git a/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/how-to/block.json b/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/how-to/block.json new file mode 100644 index 00000000..7a1cfe5e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/how-to/block.json @@ -0,0 +1,76 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "version": "22.7", + "name": "yoast/how-to-block", + "title": "Yoast How-to", + "description": "Create a How-to guide in an SEO-friendly way. You can only use one How-to block per post.", + "category": "yoast-structured-data-blocks", + "icon": "editor-ol", + "keywords": [ + "How-to", + "How to", + "Schema", + "SEO", + "Structured Data" + ], + "supports": { + "multiple": false + }, + "textdomain": "wordpress-seo", + "attributes": { + "hasDuration": { + "type": "boolean" + }, + "days": { + "type": "string" + }, + "hours": { + "type": "string" + }, + "minutes": { + "type": "string" + }, + "description": { + "type": "string", + "source": "html", + "selector": ".schema-how-to-description" + }, + "jsonDescription": { + "type": "string" + }, + "steps": { + "type": "array" + }, + "additionalListCssClasses": { + "type": "string" + }, + "unorderedList": { + "type": "boolean" + }, + "durationText": { + "type": "string" + }, + "defaultDurationText": { + "type": "string" + } + }, + "example": { + "attributes": { + "steps": [ + { + "id": "how-to-step-example-1", + "name": [ ], + "text": [ ] + }, + { + "id": "how-to-step-example-2", + "name": [ ], + "text": [ ] + } + ] + } + }, + "editorScript": "yoast-seo-how-to-block", + "editorStyle": "yoast-seo-structured-data-blocks" +} diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2340-rtl.css new file mode 100644 index 00000000..752312db --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2340-rtl.css @@ -0,0 +1 @@ +.seo_page_wpseo_page_academy{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity));z-index:-1}.seo_page_wpseo_page_academy #wpcontent{padding-right:0!important}.seo_page_wpseo_page_academy #wpfooter{padding-left:1rem}@media (min-width:768px){.seo_page_wpseo_page_academy #wpfooter{padding-right:17rem;padding-left:2rem}}@media screen and (max-width:782px){.seo_page_wpseo_page_academy .wp-responsive-open #wpbody{left:-190px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2340.css new file mode 100644 index 00000000..6d15e7ef --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2340.css @@ -0,0 +1 @@ +.seo_page_wpseo_page_academy{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity));z-index:-1}.seo_page_wpseo_page_academy #wpcontent{padding-left:0!important}.seo_page_wpseo_page_academy #wpfooter{padding-right:1rem}@media (min-width:768px){.seo_page_wpseo_page_academy #wpfooter{padding-left:17rem;padding-right:2rem}}@media screen and (max-width:782px){.seo_page_wpseo_page_academy .wp-responsive-open #wpbody{right:-190px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2340-rtl.css new file mode 100644 index 00000000..4103d80d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2340-rtl.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-tooltip{position:relative}button.yoast-tooltip{overflow:visible}.yoast-tooltip:after{word-wrap:break-word;-webkit-font-smoothing:subpixel-antialiased;background:#000c;border-radius:3px;color:#fff;content:attr(aria-label);display:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;letter-spacing:normal;opacity:0;padding:6px 8px 5px;pointer-events:none;position:absolute;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;white-space:pre;z-index:1000000}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{border:5px solid #0000;color:#000c;content:"\00a0";display:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0;z-index:1000001}@keyframes yoast-tooltip-appear{0%{opacity:0}to{opacity:1}}.yoast-tooltip:active:after,.yoast-tooltip:active:before,.yoast-tooltip:focus:after,.yoast-tooltip:focus:before,.yoast-tooltip:hover:after,.yoast-tooltip:hover:before{animation-duration:.1s;animation-fill-mode:forwards;animation-name:yoast-tooltip-appear;animation-timing-function:ease-in;display:inline-block;text-decoration:none}.yoast-tooltip-no-delay:active:after,.yoast-tooltip-no-delay:active:before,.yoast-tooltip-no-delay:focus:after,.yoast-tooltip-no-delay:focus:before,.yoast-tooltip-no-delay:hover:after,.yoast-tooltip-no-delay:hover:before{animation:none;opacity:1}.yoast-tooltip-multiline:active:after,.yoast-tooltip-multiline:focus:after,.yoast-tooltip-multiline:hover:after{display:table-cell}.yoast-tooltip-s:after,.yoast-tooltip-se:after,.yoast-tooltip-sw:after{margin-top:5px;left:50%;top:100%}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{border-bottom-color:#000c;bottom:-5px;margin-left:-5px;left:50%;top:auto}.yoast-tooltip-se:after{right:50%;margin-right:-15px;left:auto}.yoast-tooltip-sw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{bottom:100%;margin-bottom:5px;left:50%}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{border-top-color:#000c;bottom:auto;margin-left:-5px;left:50%;top:-5px}.yoast-tooltip-ne:after{right:50%;margin-right:-15px;left:auto}.yoast-tooltip-nw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(-50%)}.yoast-tooltip-w:after{bottom:50%;margin-left:5px;left:100%;transform:translateY(50%)}.yoast-tooltip-w:before{border-right-color:#000c;bottom:50%;right:-5px;margin-top:-5px;top:50%}.yoast-tooltip-e:after{bottom:50%;right:100%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-e:before{border-left-color:#000c;bottom:50%;margin-top:-5px;left:-5px;top:50%}.yoast-tooltip-multiline:after{word-wrap:normal;border-collapse:initial;max-width:250px;white-space:pre-line;width:250px;width:max-content;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{right:50%;left:auto;transform:translateX(50%)}.yoast-tooltip-multiline.yoast-tooltip-e:after,.yoast-tooltip-multiline.yoast-tooltip-w:after{left:100%}@media screen and (min-width:0\0){.yoast-tooltip-multiline:after{width:250px}}.yoast-tooltip-sticky:after,.yoast-tooltip-sticky:before{display:inline-block}.yoast-tooltip-sticky.yoast-tooltip-multiline:after{display:table-cell}@media only screen and (-moz-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.yoast-tooltip-w:after{margin-left:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.rtl .yst-icon-rtl{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wpseo-premium-indicator{display:inline-block;height:1px;width:1px}#adminmenu .wpseo-premium-indicator{color:inherit;margin:-2px 2px -3px 0}.wpseo-premium-indicator svg{display:none;height:100%;width:auto}.yoast-measure{max-width:600px}.yoast-measure.padded{max-width:632px}#TB_window .wpseo_content_wrapper p{font-size:14px;font-style:normal}#TB_window .wpseo_content_wrapper label{font-size:14px;font-weight:600;margin:0 0 0 10px}.wpseo-premium-popup-title{font-size:1.3em!important;font-weight:600!important;margin:1em 0!important;padding:0!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{height:auto;max-width:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{height:0;overflow:hidden;padding-bottom:56.25%;position:relative}.yoast-video-container iframe{height:100%;right:0;position:absolute;top:0;width:100%}.yoast-settings{margin-bottom:2em;padding-right:220px}.yoast-settings h2{margin-bottom:0;margin-right:-220px}.yoast-settings label{color:#23282d;display:inline-block;font-size:14px;font-weight:600;line-height:1.3;margin-right:-220px;margin-left:6px;padding-left:10px;padding-top:4px;vertical-align:top;width:200px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio,.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea{margin-bottom:.5em;margin-top:2em}.yoast-settings__textarea--medium{max-width:600px;width:100%}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{position:relative;top:1px;vertical-align:top}.yoast-settings__group--checkbox,.yoast-settings__group--radio{padding-top:1em}.yoast-settings__group--checkbox .yoast-settings__checkbox,.yoast-settings__group--radio .yoast-settings__radio{margin:0 0 10px 4px}.yoast-settings__checkbox+label,.yoast-settings__radio+label{margin-right:0;margin-left:0;max-width:calc(100% - 25px);padding:0;width:auto}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{font-weight:400;margin-bottom:10px;margin-top:0}.yoast-settings legend{color:#23282d;font-size:14px;font-weight:600}.yoast-settings .description{font-size:14px;margin-top:0}td .wpseo-score-icon{background:#888;border-radius:50%;display:inline-block;height:12px;line-height:16px;margin-right:5px;margin-top:3px;width:12px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{padding:0;width:3em}.fixed th.column-wpseo-score-readability.sortable,.fixed th.column-wpseo-score-readability.sorted,.fixed th.column-wpseo-score.sortable,.fixed th.column-wpseo-score.sorted{width:3.5em}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score .yoast-tooltip,th.column-wpseo-score-readability .yoast-tooltip{display:inline-block;overflow:visible;padding:8px 0;vertical-align:middle}th.column-wpseo-score .yoast-tooltip,th.column-wpseo-score-readability .yoast-tooltip{padding:8px 11px}th.column-wpseo-score-readability.sortable .yoast-tooltip,th.column-wpseo-score-readability.sorted .yoast-tooltip,th.column-wpseo-score.sortable .yoast-tooltip,th.column-wpseo-score.sorted .yoast-tooltip{padding-left:0}.column-wpseo-links .yoast-tooltip-multiline:after{max-width:160px}.column-wpseo-linked .yoast-tooltip-multiline:after{max-width:170px}.yoast-column-header-has-tooltip{position:relative}.manage-column .yoast-column-header-has-tooltip:before{color:#444;content:"";display:inline-block;height:20px;padding:0;text-decoration:none!important;vertical-align:top;width:20px}.manage-column .yoast-linked-to:before{background:#0000 url(../../images/link-out-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-linked-from:before{background:#0000 url(../../images/link-in-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:#0000 url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-readability:before{background:#0000 url(../../images/readability-icon.svg) no-repeat 100% 0;background-size:20px}td.column-wpseo-linked,td.column-wpseo-links{word-wrap:normal}@media screen and (max-width:782px){.yoast-settings{padding-right:0}.yoast-settings h2{margin-right:0}.yoast-settings label{margin-right:0;margin-left:0;padding:0;width:auto}.yoast .yoast-settings__radio,.yoast-settings__radio+label{margin-bottom:1em}.yoast-settings__checkbox+label,.yoast-settings__radio+label{max-width:calc(100% - 35px);padding-top:8px}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{padding-top:4px}.yoast-settings input[type=text],.yoast-settings select,.yoast-settings textarea{box-sizing:border-box;display:block;line-height:1.5;margin-bottom:0;margin-top:0;max-width:none;padding:7px 10px;width:100%}.screen-reader-text.wpseo-score-text{-webkit-clip-path:none;clip-path:none;height:auto;margin:0;position:static!important;width:auto}}.react-tabs__tab-panel{margin:0 auto;max-width:900px}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{font-size:.9375rem;line-height:1.4;margin:0 auto 1.5em}.contact-premium-support__content:nth-child(2){max-width:610px}.contact-premium-support__content:nth-child(3){max-width:560px}.contact-premium-support .contact-premium-support__button{margin-bottom:48px}.wpseo-premium-description{margin-top:.5em}.wpseo-premium-advantages-list{list-style:disc;padding-right:1.5em}.yoast_help.yoast-help-button,.yoast_help.yoast-help-link{background:#0000;border:0;box-shadow:none;color:#72777c;cursor:pointer;height:20px;margin:0;outline:none;padding:0;position:relative;vertical-align:top;width:20px}.yoast-section .yoast_help.yoast-help-button{float:left}.help-button-inline .yoast_help.yoast-help-button{margin-top:-4px}.yoast-section .yoast_help.yoast-help-button{margin-top:-44px}.wpseo-admin-page .yoast_help.yoast-help-button{margin-left:6px}.yoast_help .yoast-help-icon:before{content:"\f223";right:0;padding:4px;position:absolute;top:0}.yoast_help.yoast-help-button:focus,.yoast_help.yoast-help-button:hover,.yoast_help.yoast-help-link:hover{color:#0073aa}.assessment-results__mark:focus,.yoast_help.yoast-help-button:focus .yoast-help-icon:before,.yoast_help.yoast-help-link:focus .yoast-help-icon:before{border-radius:100%;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc}.yoast-help-panel{clear:both;display:none;font-weight:400;max-width:30em!important;padding:0 0 1em;white-space:normal}.wpseo-admin-page .yoast-help-panel{max-width:600px!important}.copy-home-meta-description{margin-top:1em}.copy-home-meta-description .yoast-help-panel{max-width:400px!important}.yoast-modal_is-open{overflow:hidden}.yoast-notification .yoast-seo-icon{float:right;margin:20px 10px}.yoast-notification .yoast-seo-icon-wrap{margin:0 85px 0 0}.yoast-button-upsell{align-items:center;background-color:#fec228;border-radius:4px;box-shadow:inset 0 -4px 0 #0003;box-sizing:border-box;color:#000;display:inline-flex;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));font-family:Arial,sans-serif;font-size:16px;justify-content:center;line-height:1.5;min-height:48px;padding:8px 1em;text-decoration:none}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{background-color:#f2ae01;color:#000}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 #0003,0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc}.yoast-button-upsell:active{box-shadow:none;filter:none;transform:translateY(1px)}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{background:#0000 var(--yoast-svg-icon-caret-right) center no-repeat;flex-shrink:0;height:16px;margin:0 6px 0 -2px;width:8px}.rtl .yoast-button-upsell__caret{background-image:var(--yoast-svg-icon-caret-left)}body.folded .wpseo-admin-submit-fixed{right:36px}@media screen and (max-width:782px){body.folded .wpseo-admin-submit-fixed{right:0}}.wpseo-admin-submit{align-items:baseline;display:flex;justify-content:flex-start;margin:0;padding:16px 0;z-index:5}.wpseo-admin-submit.wpseo-admin-submit-fixed{background-color:#fff;bottom:0;box-shadow:0 1px 8px 1px #00000080;padding:16px;position:fixed;width:600px}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0;width:782px}}.wpseo-admin-submit p.submit{margin:0;padding:0}.wpseo-admin-submit p.wpseo-message{color:#008a00;margin:0 0 0 16px;padding:0}.yoast-site-health__signature{color:#707070;display:flex;font-size:12px;line-height:20px;margin-top:2em}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-left:8px}#wpadminbar .yoast-badge,.yoast-badge{border-radius:8px;display:inline-block;font-weight:600;line-height:1.6;padding:0 8px}.yoast-badge{font-size:10px;min-height:16px}.yoast-badge--sale{background-color:#a4286a;border-radius:999px!important;color:#fff;font-size:12px!important;margin-top:-24px;position:absolute;left:30px;transform:rotate(-14deg)}@media (max-width:1024px){.yoast-badge--sale{display:inline-block;position:unset;vertical-align:top}}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;box-shadow:none;color:#fff;outline:none}#wpadminbar .yoast-badge,.wp-submenu .yoast-badge{font-size:9px;min-height:14px}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-beta-badge{background-color:#cce5ff;color:#004973}.yoast-badge__is-link{text-decoration:none}.switch-container .yoast-badge{vertical-align:-1em}.switch-container legend .yoast-badge{vertical-align:0}.yoast_help+.yoast-badge{vertical-align:bottom}.yoast #crawl-settings fieldset[id$=_disabled],.yoast #crawl-settings p.disabled,.yoast label[for=clean_permalinks_extra_variables_free],.yoast label[for=search_character_limit_free],.yoast p.yoast-extra-variables-label-free{opacity:.5}.yoast #crawl-settings fieldset[id$=_disabled] .switch-toggle.switch-yoast-seo input:disabled~a{background:#a4286a;border:1px solid #b5b5b5}.yoast label[for^=search_character_limit]{font-weight:600;margin-bottom:10px!important;padding-right:2px;width:320px!important}.yoast input[id^=search_character_limit]{width:70px!important}.yoast label[for^=clean_permalinks_extra_variables]{font-weight:600;padding-right:2px;width:240px!important}.yoast input[id^=clean_permalinks_extra_variables]{width:358px!important}.yoast .yoast-crawl-single-setting{margin-top:18px}.yoast p[class*=yoast-extra-variables-label]{padding-right:243px!important}@media screen and (max-width:782px){.yoast p[class*=yoast-extra-variables-label]{margin-top:-20px!important;padding-right:0!important}}.yoast .yoast-crawl-settings-help{font-style:italic}.notice-yoast{background:#fff;border:1px solid #c3c4c7;border-right:4px solid var(--yoast-color-primary);box-shadow:0 1px 1px #0000000a;margin:20px 0 15px;padding:1px 12px}#black-friday-2023-product-editor-checklist .notice-yoast__container{padding:0 5px}.notice-yoast.is-dismissible{padding-left:38px;position:relative}.notice-yoast__container{padding:10px 0 5px}.notice-yoast__container,.notice-yoast__header{align-items:center;display:flex;flex-direction:row}.notice-yoast__header{box-sizing:border-box;justify-content:left;margin-bottom:8px;padding:0;width:100%}.notice-yoast__header .notice-yoast__header-heading{line-height:1.2;margin:0;padding:0}.notice-yoast__header h2.notice-yoast__header-heading{color:var(--yoast-color-primary);font-size:14px;font-weight:600;line-height:1;margin:0}.notice-yoast__header .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:14px;margin-left:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:14px}.notice-yoast__content{display:flex;padding:0}.notice-yoast .notice-yoast__container>svg{height:60px;line-height:1;margin-right:10px;width:auto}.notice-yoast img{height:60px;line-height:1;margin-bottom:5px;margin-right:16px;width:auto}.notice-yoast p{font-size:13px;font-weight:400;line-height:19px;max-width:600px}.notice-yoast .yoast-button--small{min-height:unset}.notice-yoast .notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;left:1px;top:0}.notice-yoast .notice-dismiss:before{speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px}.notice-yoast .notice-dismiss:hover:before{color:#d63638}.privacy-settings .notice-yoast{margin:0 20px}.yoast .yoast-crawl-settings-explanation-free,.yoast .yoast-crawl-settings-help-free{opacity:.5}.yoast h3.yoast-crawl-settings,.yoast h3.yoast-crawl-settings-free{margin:2em 0 .5em}.yoast .yoast-crawl-settings-disabled,.yoast h3.yoast-crawl-settings-free{opacity:.5}.yoast .indexables-indexing-error p{margin-bottom:13px}.yoast .indexables-indexing-error strong{font-weight:500}.yoast .indexables-indexing-error summary{font-weight:700}.yoast-dashicons-notice{color:#dba617}#black-friday-2023-promotion-sidebar.notice-yoast{background:#fff;border-color:#fcd34d;border-radius:8px;border-width:2px;margin:20px 0 15px;padding:1px 12px}#black-friday-2023-promotion-sidebar .notice-yoast__header{margin-bottom:2px}#black-friday-2023-promotion-metabox.notice-yoast{background:#fff;border-color:#fcd34d;border-radius:8px;border-width:2px;margin:20px}#black-friday-2023-promotion-metabox h2.notice-yoast__header-heading{padding:0}#black-friday-2023-promotion-metabox .notice-yoast__container{padding-bottom:0}#black-friday-2023-promotion-metabox .notice-yoast__container p{display:inline}#black-friday-2023-promotion-metabox .notice-yoast__header{margin-bottom:8px}#black-friday-2023-promotion-metabox .notice-yoast__header a{font-weight:400;margin-right:13px}.yoast-bf-sale-badge{display:block;right:12px;position:absolute;top:-10px}.yoast-bf-sale-badge,.yoast-menu-bf-sale-badge{background-color:#1f2937;border-radius:8px;color:#fcd34d;font-size:10px;font-weight:600;line-height:normal;padding:2px 8px}.yoast-menu-bf-sale-badge{border:1px solid #fcd34d;margin-right:5px} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2340.css new file mode 100644 index 00000000..41fa18ef --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2340.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-tooltip{position:relative}button.yoast-tooltip{overflow:visible}.yoast-tooltip:after{word-wrap:break-word;-webkit-font-smoothing:subpixel-antialiased;background:#000c;border-radius:3px;color:#fff;content:attr(aria-label);display:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;letter-spacing:normal;opacity:0;padding:6px 8px 5px;pointer-events:none;position:absolute;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;white-space:pre;z-index:1000000}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{border:5px solid #0000;color:#000c;content:"\00a0";display:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0;z-index:1000001}@keyframes yoast-tooltip-appear{0%{opacity:0}to{opacity:1}}.yoast-tooltip:active:after,.yoast-tooltip:active:before,.yoast-tooltip:focus:after,.yoast-tooltip:focus:before,.yoast-tooltip:hover:after,.yoast-tooltip:hover:before{animation-duration:.1s;animation-fill-mode:forwards;animation-name:yoast-tooltip-appear;animation-timing-function:ease-in;display:inline-block;text-decoration:none}.yoast-tooltip-no-delay:active:after,.yoast-tooltip-no-delay:active:before,.yoast-tooltip-no-delay:focus:after,.yoast-tooltip-no-delay:focus:before,.yoast-tooltip-no-delay:hover:after,.yoast-tooltip-no-delay:hover:before{animation:none;opacity:1}.yoast-tooltip-multiline:active:after,.yoast-tooltip-multiline:focus:after,.yoast-tooltip-multiline:hover:after{display:table-cell}.yoast-tooltip-s:after,.yoast-tooltip-se:after,.yoast-tooltip-sw:after{margin-top:5px;right:50%;top:100%}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{border-bottom-color:#000c;bottom:-5px;margin-right:-5px;right:50%;top:auto}.yoast-tooltip-se:after{left:50%;margin-left:-15px;right:auto}.yoast-tooltip-sw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{bottom:100%;margin-bottom:5px;right:50%}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{border-top-color:#000c;bottom:auto;margin-right:-5px;right:50%;top:-5px}.yoast-tooltip-ne:after{left:50%;margin-left:-15px;right:auto}.yoast-tooltip-nw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(50%)}.yoast-tooltip-w:after{bottom:50%;margin-right:5px;right:100%;transform:translateY(50%)}.yoast-tooltip-w:before{border-left-color:#000c;bottom:50%;left:-5px;margin-top:-5px;top:50%}.yoast-tooltip-e:after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-e:before{border-right-color:#000c;bottom:50%;margin-top:-5px;right:-5px;top:50%}.yoast-tooltip-multiline:after{word-wrap:normal;border-collapse:initial;max-width:250px;white-space:pre-line;width:250px;width:max-content;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{left:50%;right:auto;transform:translateX(-50%)}.yoast-tooltip-multiline.yoast-tooltip-e:after,.yoast-tooltip-multiline.yoast-tooltip-w:after{right:100%}@media screen and (min-width:0\0){.yoast-tooltip-multiline:after{width:250px}}.yoast-tooltip-sticky:after,.yoast-tooltip-sticky:before{display:inline-block}.yoast-tooltip-sticky.yoast-tooltip-multiline:after{display:table-cell}@media only screen and (-moz-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.yoast-tooltip-w:after{margin-right:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.rtl .yst-icon-rtl{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wpseo-premium-indicator{display:inline-block;height:1px;width:1px}#adminmenu .wpseo-premium-indicator{color:inherit;margin:-2px 0 -3px 2px}.wpseo-premium-indicator svg{display:none;height:100%;width:auto}.yoast-measure{max-width:600px}.yoast-measure.padded{max-width:632px}#TB_window .wpseo_content_wrapper p{font-size:14px;font-style:normal}#TB_window .wpseo_content_wrapper label{font-size:14px;font-weight:600;margin:0 10px 0 0}.wpseo-premium-popup-title{font-size:1.3em!important;font-weight:600!important;margin:1em 0!important;padding:0!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{height:auto;max-width:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{height:0;overflow:hidden;padding-bottom:56.25%;position:relative}.yoast-video-container iframe{height:100%;left:0;position:absolute;top:0;width:100%}.yoast-settings{margin-bottom:2em;padding-left:220px}.yoast-settings h2{margin-bottom:0;margin-left:-220px}.yoast-settings label{color:#23282d;display:inline-block;font-size:14px;font-weight:600;line-height:1.3;margin-left:-220px;margin-right:6px;padding-right:10px;padding-top:4px;vertical-align:top;width:200px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio,.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea{margin-bottom:.5em;margin-top:2em}.yoast-settings__textarea--medium{max-width:600px;width:100%}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{position:relative;top:1px;vertical-align:top}.yoast-settings__group--checkbox,.yoast-settings__group--radio{padding-top:1em}.yoast-settings__group--checkbox .yoast-settings__checkbox,.yoast-settings__group--radio .yoast-settings__radio{margin:0 4px 10px 0}.yoast-settings__checkbox+label,.yoast-settings__radio+label{margin-left:0;margin-right:0;max-width:calc(100% - 25px);padding:0;width:auto}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{font-weight:400;margin-bottom:10px;margin-top:0}.yoast-settings legend{color:#23282d;font-size:14px;font-weight:600}.yoast-settings .description{font-size:14px;margin-top:0}td .wpseo-score-icon{background:#888;border-radius:50%;display:inline-block;height:12px;line-height:16px;margin-left:5px;margin-top:3px;width:12px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{padding:0;width:3em}.fixed th.column-wpseo-score-readability.sortable,.fixed th.column-wpseo-score-readability.sorted,.fixed th.column-wpseo-score.sortable,.fixed th.column-wpseo-score.sorted{width:3.5em}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score .yoast-tooltip,th.column-wpseo-score-readability .yoast-tooltip{display:inline-block;overflow:visible;padding:8px 0;vertical-align:middle}th.column-wpseo-score .yoast-tooltip,th.column-wpseo-score-readability .yoast-tooltip{padding:8px 11px}th.column-wpseo-score-readability.sortable .yoast-tooltip,th.column-wpseo-score-readability.sorted .yoast-tooltip,th.column-wpseo-score.sortable .yoast-tooltip,th.column-wpseo-score.sorted .yoast-tooltip{padding-right:0}.column-wpseo-links .yoast-tooltip-multiline:after{max-width:160px}.column-wpseo-linked .yoast-tooltip-multiline:after{max-width:170px}.yoast-column-header-has-tooltip{position:relative}.manage-column .yoast-column-header-has-tooltip:before{color:#444;content:"";display:inline-block;height:20px;padding:0;text-decoration:none!important;vertical-align:top;width:20px}.manage-column .yoast-linked-to:before{background:#0000 url(../../images/link-out-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-linked-from:before{background:#0000 url(../../images/link-in-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:#0000 url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-readability:before{background:#0000 url(../../images/readability-icon.svg) no-repeat 0 0;background-size:20px}td.column-wpseo-linked,td.column-wpseo-links{word-wrap:normal}@media screen and (max-width:782px){.yoast-settings{padding-left:0}.yoast-settings h2{margin-left:0}.yoast-settings label{margin-left:0;margin-right:0;padding:0;width:auto}.yoast .yoast-settings__radio,.yoast-settings__radio+label{margin-bottom:1em}.yoast-settings__checkbox+label,.yoast-settings__radio+label{max-width:calc(100% - 35px);padding-top:8px}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{padding-top:4px}.yoast-settings input[type=text],.yoast-settings select,.yoast-settings textarea{box-sizing:border-box;display:block;line-height:1.5;margin-bottom:0;margin-top:0;max-width:none;padding:7px 10px;width:100%}.screen-reader-text.wpseo-score-text{-webkit-clip-path:none;clip-path:none;height:auto;margin:0;position:static!important;width:auto}}.react-tabs__tab-panel{margin:0 auto;max-width:900px}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{font-size:.9375rem;line-height:1.4;margin:0 auto 1.5em}.contact-premium-support__content:nth-child(2){max-width:610px}.contact-premium-support__content:nth-child(3){max-width:560px}.contact-premium-support .contact-premium-support__button{margin-bottom:48px}.wpseo-premium-description{margin-top:.5em}.wpseo-premium-advantages-list{list-style:disc;padding-left:1.5em}.yoast_help.yoast-help-button,.yoast_help.yoast-help-link{background:#0000;border:0;box-shadow:none;color:#72777c;cursor:pointer;height:20px;margin:0;outline:none;padding:0;position:relative;vertical-align:top;width:20px}.yoast-section .yoast_help.yoast-help-button{float:right}.help-button-inline .yoast_help.yoast-help-button{margin-top:-4px}.yoast-section .yoast_help.yoast-help-button{margin-top:-44px}.wpseo-admin-page .yoast_help.yoast-help-button{margin-right:6px}.yoast_help .yoast-help-icon:before{content:"\f223";left:0;padding:4px;position:absolute;top:0}.yoast_help.yoast-help-button:focus,.yoast_help.yoast-help-button:hover,.yoast_help.yoast-help-link:hover{color:#0073aa}.assessment-results__mark:focus,.yoast_help.yoast-help-button:focus .yoast-help-icon:before,.yoast_help.yoast-help-link:focus .yoast-help-icon:before{border-radius:100%;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc}.yoast-help-panel{clear:both;display:none;font-weight:400;max-width:30em!important;padding:0 0 1em;white-space:normal}.wpseo-admin-page .yoast-help-panel{max-width:600px!important}.copy-home-meta-description{margin-top:1em}.copy-home-meta-description .yoast-help-panel{max-width:400px!important}.yoast-modal_is-open{overflow:hidden}.yoast-notification .yoast-seo-icon{float:left;margin:20px 10px}.yoast-notification .yoast-seo-icon-wrap{margin:0 0 0 85px}.yoast-button-upsell{align-items:center;background-color:#fec228;border-radius:4px;box-shadow:inset 0 -4px 0 #0003;box-sizing:border-box;color:#000;display:inline-flex;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));font-family:Arial,sans-serif;font-size:16px;justify-content:center;line-height:1.5;min-height:48px;padding:8px 1em;text-decoration:none}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{background-color:#f2ae01;color:#000}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 #0003,0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc}.yoast-button-upsell:active{box-shadow:none;filter:none;transform:translateY(1px)}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{background:#0000 var(--yoast-svg-icon-caret-right) center no-repeat;flex-shrink:0;height:16px;margin:0 -2px 0 6px;width:8px}.rtl .yoast-button-upsell__caret{background-image:var(--yoast-svg-icon-caret-left)}body.folded .wpseo-admin-submit-fixed{left:36px}@media screen and (max-width:782px){body.folded .wpseo-admin-submit-fixed{left:0}}.wpseo-admin-submit{align-items:baseline;display:flex;justify-content:flex-start;margin:0;padding:16px 0;z-index:5}.wpseo-admin-submit.wpseo-admin-submit-fixed{background-color:#fff;bottom:0;box-shadow:0 1px 8px 1px #00000080;padding:16px;position:fixed;width:600px}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0;width:782px}}.wpseo-admin-submit p.submit{margin:0;padding:0}.wpseo-admin-submit p.wpseo-message{color:#008a00;margin:0 16px 0 0;padding:0}.yoast-site-health__signature{color:#707070;display:flex;font-size:12px;line-height:20px;margin-top:2em}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-right:8px}#wpadminbar .yoast-badge,.yoast-badge{border-radius:8px;display:inline-block;font-weight:600;line-height:1.6;padding:0 8px}.yoast-badge{font-size:10px;min-height:16px}.yoast-badge--sale{background-color:#a4286a;border-radius:999px!important;color:#fff;font-size:12px!important;margin-top:-24px;position:absolute;right:30px;transform:rotate(14deg)}@media (max-width:1024px){.yoast-badge--sale{display:inline-block;position:unset;vertical-align:top}}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;box-shadow:none;color:#fff;outline:none}#wpadminbar .yoast-badge,.wp-submenu .yoast-badge{font-size:9px;min-height:14px}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-beta-badge{background-color:#cce5ff;color:#004973}.yoast-badge__is-link{text-decoration:none}.switch-container .yoast-badge{vertical-align:-1em}.switch-container legend .yoast-badge{vertical-align:0}.yoast_help+.yoast-badge{vertical-align:bottom}.yoast #crawl-settings fieldset[id$=_disabled],.yoast #crawl-settings p.disabled,.yoast label[for=clean_permalinks_extra_variables_free],.yoast label[for=search_character_limit_free],.yoast p.yoast-extra-variables-label-free{opacity:.5}.yoast #crawl-settings fieldset[id$=_disabled] .switch-toggle.switch-yoast-seo input:disabled~a{background:#a4286a;border:1px solid #b5b5b5}.yoast label[for^=search_character_limit]{font-weight:600;margin-bottom:10px!important;padding-left:2px;width:320px!important}.yoast input[id^=search_character_limit]{width:70px!important}.yoast label[for^=clean_permalinks_extra_variables]{font-weight:600;padding-left:2px;width:240px!important}.yoast input[id^=clean_permalinks_extra_variables]{width:358px!important}.yoast .yoast-crawl-single-setting{margin-top:18px}.yoast p[class*=yoast-extra-variables-label]{padding-left:243px!important}@media screen and (max-width:782px){.yoast p[class*=yoast-extra-variables-label]{margin-top:-20px!important;padding-left:0!important}}.yoast .yoast-crawl-settings-help{font-style:italic}.notice-yoast{background:#fff;border:1px solid #c3c4c7;border-left:4px solid var(--yoast-color-primary);box-shadow:0 1px 1px #0000000a;margin:20px 0 15px;padding:1px 12px}#black-friday-2023-product-editor-checklist .notice-yoast__container{padding:0 5px}.notice-yoast.is-dismissible{padding-right:38px;position:relative}.notice-yoast__container{padding:10px 0 5px}.notice-yoast__container,.notice-yoast__header{align-items:center;display:flex;flex-direction:row}.notice-yoast__header{box-sizing:border-box;justify-content:left;margin-bottom:8px;padding:0;width:100%}.notice-yoast__header .notice-yoast__header-heading{line-height:1.2;margin:0;padding:0}.notice-yoast__header h2.notice-yoast__header-heading{color:var(--yoast-color-primary);font-size:14px;font-weight:600;line-height:1;margin:0}.notice-yoast__header .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:14px;margin-right:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:14px}.notice-yoast__content{display:flex;padding:0}.notice-yoast .notice-yoast__container>svg{height:60px;line-height:1;margin-left:10px;width:auto}.notice-yoast img{height:60px;line-height:1;margin-bottom:5px;margin-left:16px;width:auto}.notice-yoast p{font-size:13px;font-weight:400;line-height:19px;max-width:600px}.notice-yoast .yoast-button--small{min-height:unset}.notice-yoast .notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.notice-yoast .notice-dismiss:before{speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px}.notice-yoast .notice-dismiss:hover:before{color:#d63638}.privacy-settings .notice-yoast{margin:0 20px}.yoast .yoast-crawl-settings-explanation-free,.yoast .yoast-crawl-settings-help-free{opacity:.5}.yoast h3.yoast-crawl-settings,.yoast h3.yoast-crawl-settings-free{margin:2em 0 .5em}.yoast .yoast-crawl-settings-disabled,.yoast h3.yoast-crawl-settings-free{opacity:.5}.yoast .indexables-indexing-error p{margin-bottom:13px}.yoast .indexables-indexing-error strong{font-weight:500}.yoast .indexables-indexing-error summary{font-weight:700}.yoast-dashicons-notice{color:#dba617}#black-friday-2023-promotion-sidebar.notice-yoast{background:#fff;border-color:#fcd34d;border-radius:8px;border-width:2px;margin:20px 0 15px;padding:1px 12px}#black-friday-2023-promotion-sidebar .notice-yoast__header{margin-bottom:2px}#black-friday-2023-promotion-metabox.notice-yoast{background:#fff;border-color:#fcd34d;border-radius:8px;border-width:2px;margin:20px}#black-friday-2023-promotion-metabox h2.notice-yoast__header-heading{padding:0}#black-friday-2023-promotion-metabox .notice-yoast__container{padding-bottom:0}#black-friday-2023-promotion-metabox .notice-yoast__container p{display:inline}#black-friday-2023-promotion-metabox .notice-yoast__header{margin-bottom:8px}#black-friday-2023-promotion-metabox .notice-yoast__header a{font-weight:400;margin-left:13px}.yoast-bf-sale-badge{display:block;left:12px;position:absolute;top:-10px}.yoast-bf-sale-badge,.yoast-menu-bf-sale-badge{background-color:#1f2937;border-radius:8px;color:#fcd34d;font-size:10px;font-weight:600;line-height:normal;padding:2px 8px}.yoast-menu-bf-sale-badge{border:1px solid #fcd34d;margin-left:5px} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2340-rtl.css new file mode 100644 index 00000000..ebbe7da7 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2340-rtl.css @@ -0,0 +1 @@ +.wpseo-score-icon{background:#888;border-radius:50%!important;display:inline-block!important;height:12px!important;margin:3px 3px 0 10px;vertical-align:top;width:12px!important}.wpseo-score-icon.good{background-color:#7ad03a}.wpseo-score-icon.ok{background-color:#ee7c1b}.wpseo-score-icon.bad{background-color:#dc3232}.wpseo-score-icon.na{background-color:#888}.wpseo-score-icon.noindex{background-color:#1e8cbe}#wp-admin-bar-wpseo-menu .wpseo-score-icon{margin:10px 4px 0 0!important}#wp-admin-bar-wpseo-menu .wpseo-score-icon.adminbar-sub-menu-score{margin:11px 4px 0 0!important}#wp-admin-bar-wpseo-menu-default .ab-item{line-height:2.46153846!important}#wp-admin-bar-wpseo-menu .ab-submenu{margin-bottom:5px}#wpadminbar .quicklinks #wp-admin-bar-wpseo-menu #wp-admin-bar-wpseo-menu-default li#wp-admin-bar-wpseo-get-premium a{color:#fff!important;font-weight:700!important}#wpadminbar .quicklinks #wp-admin-bar-wpseo-menu #wp-admin-bar-wpseo-menu-default li#wp-admin-bar-wpseo-get-premium span{background:#1f2937;border:1px solid #fcd34d;border-radius:14px;color:#fcd34d;font-size:13px;font-weight:600;padding:1px 4px}#wpadminbar .yoast-menu-bf-sale-badge{background-color:#1f2937;border:1px solid #fcd34d;border-radius:8px;color:#fcd34d;font-size:10px;font-weight:600;line-height:normal;margin-right:5px;padding:2px 8px}#wpadminbar .quicklinks #wp-admin-bar-wpseo-menu .wpseo-focus-keyword{display:inline-block!important;max-width:100px!important;overflow:hidden;text-overflow:ellipsis!important;vertical-align:bottom;white-space:nowrap}#wpadminbar .yoast-badge{border-radius:8px;display:inline-block;font-weight:600;line-height:1.6;margin-right:4px;padding:0 8px}#wpadminbar .yoast-beta-badge{background-color:#cce5ff;color:#004973}#wpadminbar .yoast-premium-badge{background-color:#fff3cd;color:#674e00}#wpadminbar .yoast-issue-added,#wpadminbar .yoast-issue-added:hover{background-color:#a4286a;border-radius:10px 0 10px 10px;box-shadow:-1px 1px 1px 1px grey;color:#fff;right:0;padding:2px 12px;position:absolute;top:32px;white-space:nowrap}#wpadminbar .yoast-issue-added{display:none}#wpadminbar .yoast-issue-counter{background-color:#d63638;border-radius:9px;color:#fff;display:inline;padding:1px 6px 1px 7px!important}#wpadminbar .yoast-logo.svg{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsOiM4Mjg3OGMiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMjAzLjYgMzk1YzYuOC0xNy40IDYuOC0zNi42IDAtNTRsLTc5LjQtMjA0aDcwLjlsNDcuNyAxNDkuNCA3NC44LTIwNy42SDExNi40Yy00MS44IDAtNzYgMzQuMi03NiA3NlYzNTdjMCA0MS44IDM0LjIgNzYgNzYgNzZIMTczYzE2LTguOSAyNC42LTIyLjcgMzAuNi0zOHpNNDcxLjYgMTU0LjhjMC00MS44LTM0LjItNzYtNzYtNzZoLTNMMjg1LjcgMzY1Yy05LjYgMjYuNy0xOS40IDQ5LjMtMzAuMyA2OGgyMTYuMlYxNTQuOHoiLz48cGF0aCBkPSJtMzM4IDEuMy05My4zIDI1OS4xLTQyLjEtMTMxLjloLTg5LjFsODMuOCAyMTUuMmM2IDE1LjUgNiAzMi41IDAgNDgtNy40IDE5LTE5IDM3LjMtNTMgNDEuOWwtNy4yIDF2NzZoOC4zYzgxLjcgMCAxMTguOS01Ny4yIDE0OS42LTE0Mi45TDQzMS42IDEuM0gzMzh6TTI3OS40IDM2MmMtMzIuOSA5Mi02Ny42IDEyOC43LTEyNS43IDEzMS44di00NWMzNy41LTcuNSA1MS4zLTMxIDU5LjEtNTEuMSA3LjUtMTkuMyA3LjUtNDAuNyAwLTYwbC03NS0xOTIuN2g1Mi44bDUzLjMgMTY2LjggMTA1LjktMjk0aDU4LjFMMjc5LjQgMzYyeiIvPjwvc3ZnPg==");background-position:100% 6px;background-repeat:no-repeat;background-size:20px;float:right;height:30px;width:26px}#wpadminbar #wp-admin-bar-wpseo-licenses .ab-item{color:#f18500}@media screen and (max-width:782px){#wp-admin-bar-wpseo-menu .wpseo-score-icon{margin:16px 2px 0 10px!important}#wpadminbar #wp-admin-bar-wpseo-menu{display:block;position:static}#wpadminbar .yoast-logo.svg{background-position:50% 8px;background-size:30px;height:46px;width:52px}#wpadminbar .yoast-logo+.yoast-issue-counter{margin-right:-5px;margin-left:10px}#wpadminbar .ab-sub-wrapper .yoast-issue-counter{position:relative;top:-5px;vertical-align:text-top}#wpadminbar .yoast-issue-added,#wpadminbar .yoast-issue-added:hover{line-height:1.8;top:46px;white-space:normal}#wp-admin-bar-wpseo-menu.menupop .ab-sub-wrapper #wp-admin-bar-wpseo-kwresearch,#wp-admin-bar-wpseo-menu.menupop .ab-sub-wrapper #wp-admin-bar-wpseo-settings{display:none}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2340.css new file mode 100644 index 00000000..5d8fc6f3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2340.css @@ -0,0 +1 @@ +.wpseo-score-icon{background:#888;border-radius:50%!important;display:inline-block!important;height:12px!important;margin:3px 10px 0 3px;vertical-align:top;width:12px!important}.wpseo-score-icon.good{background-color:#7ad03a}.wpseo-score-icon.ok{background-color:#ee7c1b}.wpseo-score-icon.bad{background-color:#dc3232}.wpseo-score-icon.na{background-color:#888}.wpseo-score-icon.noindex{background-color:#1e8cbe}#wp-admin-bar-wpseo-menu .wpseo-score-icon{margin:10px 0 0 4px!important}#wp-admin-bar-wpseo-menu .wpseo-score-icon.adminbar-sub-menu-score{margin:11px 0 0 4px!important}#wp-admin-bar-wpseo-menu-default .ab-item{line-height:2.46153846!important}#wp-admin-bar-wpseo-menu .ab-submenu{margin-bottom:5px}#wpadminbar .quicklinks #wp-admin-bar-wpseo-menu #wp-admin-bar-wpseo-menu-default li#wp-admin-bar-wpseo-get-premium a{color:#fff!important;font-weight:700!important}#wpadminbar .quicklinks #wp-admin-bar-wpseo-menu #wp-admin-bar-wpseo-menu-default li#wp-admin-bar-wpseo-get-premium span{background:#1f2937;border:1px solid #fcd34d;border-radius:14px;color:#fcd34d;font-size:13px;font-weight:600;padding:1px 4px}#wpadminbar .yoast-menu-bf-sale-badge{background-color:#1f2937;border:1px solid #fcd34d;border-radius:8px;color:#fcd34d;font-size:10px;font-weight:600;line-height:normal;margin-left:5px;padding:2px 8px}#wpadminbar .quicklinks #wp-admin-bar-wpseo-menu .wpseo-focus-keyword{display:inline-block!important;max-width:100px!important;overflow:hidden;text-overflow:ellipsis!important;vertical-align:bottom;white-space:nowrap}#wpadminbar .yoast-badge{border-radius:8px;display:inline-block;font-weight:600;line-height:1.6;margin-left:4px;padding:0 8px}#wpadminbar .yoast-beta-badge{background-color:#cce5ff;color:#004973}#wpadminbar .yoast-premium-badge{background-color:#fff3cd;color:#674e00}#wpadminbar .yoast-issue-added,#wpadminbar .yoast-issue-added:hover{background-color:#a4286a;border-radius:0 10px 10px 10px;box-shadow:1px 1px 1px 1px grey;color:#fff;left:0;padding:2px 12px;position:absolute;top:32px;white-space:nowrap}#wpadminbar .yoast-issue-added{display:none}#wpadminbar .yoast-issue-counter{background-color:#d63638;border-radius:9px;color:#fff;display:inline;padding:1px 7px 1px 6px!important}#wpadminbar .yoast-logo.svg{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsOiM4Mjg3OGMiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMjAzLjYgMzk1YzYuOC0xNy40IDYuOC0zNi42IDAtNTRsLTc5LjQtMjA0aDcwLjlsNDcuNyAxNDkuNCA3NC44LTIwNy42SDExNi40Yy00MS44IDAtNzYgMzQuMi03NiA3NlYzNTdjMCA0MS44IDM0LjIgNzYgNzYgNzZIMTczYzE2LTguOSAyNC42LTIyLjcgMzAuNi0zOHpNNDcxLjYgMTU0LjhjMC00MS44LTM0LjItNzYtNzYtNzZoLTNMMjg1LjcgMzY1Yy05LjYgMjYuNy0xOS40IDQ5LjMtMzAuMyA2OGgyMTYuMlYxNTQuOHoiLz48cGF0aCBkPSJtMzM4IDEuMy05My4zIDI1OS4xLTQyLjEtMTMxLjloLTg5LjFsODMuOCAyMTUuMmM2IDE1LjUgNiAzMi41IDAgNDgtNy40IDE5LTE5IDM3LjMtNTMgNDEuOWwtNy4yIDF2NzZoOC4zYzgxLjcgMCAxMTguOS01Ny4yIDE0OS42LTE0Mi45TDQzMS42IDEuM0gzMzh6TTI3OS40IDM2MmMtMzIuOSA5Mi02Ny42IDEyOC43LTEyNS43IDEzMS44di00NWMzNy41LTcuNSA1MS4zLTMxIDU5LjEtNTEuMSA3LjUtMTkuMyA3LjUtNDAuNyAwLTYwbC03NS0xOTIuN2g1Mi44bDUzLjMgMTY2LjggMTA1LjktMjk0aDU4LjFMMjc5LjQgMzYyeiIvPjwvc3ZnPg==");background-position:0 6px;background-repeat:no-repeat;background-size:20px;float:left;height:30px;width:26px}#wpadminbar #wp-admin-bar-wpseo-licenses .ab-item{color:#f18500}@media screen and (max-width:782px){#wp-admin-bar-wpseo-menu .wpseo-score-icon{margin:16px 10px 0 2px!important}#wpadminbar #wp-admin-bar-wpseo-menu{display:block;position:static}#wpadminbar .yoast-logo.svg{background-position:50% 8px;background-size:30px;height:46px;width:52px}#wpadminbar .yoast-logo+.yoast-issue-counter{margin-left:-5px;margin-right:10px}#wpadminbar .ab-sub-wrapper .yoast-issue-counter{position:relative;top:-5px;vertical-align:text-top}#wpadminbar .yoast-issue-added,#wpadminbar .yoast-issue-added:hover{line-height:1.8;top:46px;white-space:normal}#wp-admin-bar-wpseo-menu.menupop .ab-sub-wrapper #wp-admin-bar-wpseo-kwresearch,#wp-admin-bar-wpseo-menu.menupop .ab-sub-wrapper #wp-admin-bar-wpseo-settings{display:none}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/ai-fix-assessments-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-fix-assessments-2340-rtl.css new file mode 100644 index 00000000..6520677a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-fix-assessments-2340-rtl.css @@ -0,0 +1 @@ +.yst-fixes-button__lock-icon{background-color:#fde68a;border-radius:50%;height:14px;padding:1px 2px;position:absolute;left:-6px;top:-6px;width:14px}.ai-button:disabled{pointer-events:auto} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/ai-fix-assessments-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-fix-assessments-2340.css new file mode 100644 index 00000000..066f8ebd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-fix-assessments-2340.css @@ -0,0 +1 @@ +.yst-fixes-button__lock-icon{background-color:#fde68a;border-radius:50%;height:14px;padding:1px 2px;position:absolute;right:-6px;top:-6px;width:14px}.ai-button:disabled{pointer-events:auto} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2340-rtl.css new file mode 100644 index 00000000..e8f6cee9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2340-rtl.css @@ -0,0 +1 @@ +.yst-replacevar__use-ai-button-upsell{align-items:center;background-color:#f7f7f7;border:1px solid #dbdbdb;border-radius:4px;box-shadow:inset 0 -2px 0 0 #0000001a;box-sizing:border-box;color:#303030;cursor:pointer;display:flex;min-height:32px;padding:0 .5em;transition:var(--yoast-transition-default)}.yst-replacevar__use-ai-button-upsell:hover{background-color:#fff;border-color:var(--yoast-color-border--default);color:#000} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2340.css new file mode 100644 index 00000000..e8f6cee9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2340.css @@ -0,0 +1 @@ +.yst-replacevar__use-ai-button-upsell{align-items:center;background-color:#f7f7f7;border:1px solid #dbdbdb;border-radius:4px;box-shadow:inset 0 -2px 0 0 #0000001a;box-sizing:border-box;color:#303030;cursor:pointer;display:flex;min-height:32px;padding:0 .5em;transition:var(--yoast-transition-default)}.yst-replacevar__use-ai-button-upsell:hover{background-color:#fff;border-color:var(--yoast-color-border--default);color:#000} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2340-rtl.css new file mode 100644 index 00000000..273a5d84 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2340-rtl.css @@ -0,0 +1 @@ +.yoast-alert{align-items:flex-start;border:1px solid #0003;display:flex;font-size:13px;line-height:1.5;margin:16px 0;padding:16px}.yoast-alert--error{background:#f9dcdc;color:#8f1919}.yoast-alert--info{background:#cce5ff;color:#00468f}.yoast-alert--success{background:#e2f2cc;color:#395315}.yoast-alert--warning{background:#fff3cd;color:#674e00}.yoast-alert__icon.yoast-alert__icon{display:block;height:16px;margin-left:8px;margin-top:.1rem;max-width:none;width:16px}.yoast-alert a{color:#004973} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2340.css new file mode 100644 index 00000000..275d7f75 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2340.css @@ -0,0 +1 @@ +.yoast-alert{align-items:flex-start;border:1px solid #0003;display:flex;font-size:13px;line-height:1.5;margin:16px 0;padding:16px}.yoast-alert--error{background:#f9dcdc;color:#8f1919}.yoast-alert--info{background:#cce5ff;color:#00468f}.yoast-alert--success{background:#e2f2cc;color:#395315}.yoast-alert--warning{background:#fff3cd;color:#674e00}.yoast-alert__icon.yoast-alert__icon{display:block;height:16px;margin-right:8px;margin-top:.1rem;max-width:none;width:16px}.yoast-alert a{color:#004973} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2340-rtl.css new file mode 100644 index 00000000..97ab5580 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2340-rtl.css @@ -0,0 +1 @@ +.sidebar__sale_banner_container .sidebar__sale_banner{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity));box-shadow:0 -1px 4px 0 #fcd34d,0 1px 4px 0 #fcd34d,0 -1px 0 0 #fcd34d,0 1px 0 0 #fcd34d;color:#fcd34d;font-size:1.125rem;font-weight:700;letter-spacing:.5px;line-height:30px;margin-bottom:10px;margin-right:-30px;margin-top:1.25rem;padding:.25rem 0;text-align:center;transform:rotate(5deg);width:calc(100% + 60px)}.sidebar__sale_banner_container .sidebar__sale_banner .banner_text{display:inline-block;margin:0 35px}.sidebar__sale_banner_container{margin-bottom:-25px;margin-right:-24px;margin-top:-25px;overflow:hidden;padding-bottom:10px;width:calc(100% + 48px)} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2340.css new file mode 100644 index 00000000..fc2c025b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2340.css @@ -0,0 +1 @@ +.sidebar__sale_banner_container .sidebar__sale_banner{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity));box-shadow:0 -1px 4px 0 #fcd34d,0 1px 4px 0 #fcd34d,0 -1px 0 0 #fcd34d,0 1px 0 0 #fcd34d;color:#fcd34d;font-size:1.125rem;font-weight:700;letter-spacing:.5px;line-height:30px;margin-bottom:10px;margin-left:-30px;margin-top:1.25rem;padding:.25rem 0;text-align:center;transform:rotate(-5deg);width:calc(100% + 60px)}.sidebar__sale_banner_container .sidebar__sale_banner .banner_text{display:inline-block;margin:0 35px}.sidebar__sale_banner_container{margin-bottom:-25px;margin-left:-24px;margin-top:-25px;overflow:hidden;padding-bottom:10px;width:calc(100% + 48px)} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2340-rtl.css new file mode 100644 index 00000000..51f5b707 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2340-rtl.css @@ -0,0 +1 @@ +#yoast-seo-dashboard-widget h3{font-weight:700}#yoast-seo-dashboard-widget .assessments,#yoast-seo-dashboard-widget .score-assessments{padding-right:0}#yoast-seo-dashboard-widget .wordpress-feed{border-top:1px solid #eee;margin:16px -12px 0;padding:12px 12px 0}#yoast-seo-dashboard-widget .wordpress-feed .wordpress-feed__post{margin-top:12px}#yoast-seo-dashboard-widget .wordpress-feed .wordpress-feed__footer{border-top:1px solid #eee;margin:0 -12px;padding:4px 12px 0}#yoast-seo-dashboard-widget:empty:before,#yoast-seo-wincher-dashboard-widget:empty:before{animation:rotate 2s linear infinite;background-image:url(../../packages/js/images/Yoast_SEO_Icon.svg);content:"";display:block;height:40px;margin:25px auto;width:40px}@keyframes rotate{0%{transform:perspective(120px) rotateX(0deg) rotateY(0deg);-webkit-transform:perspective(120px) rotateX(0deg) rotateY(0deg)}to{transform:perspective(120px) rotateX(0deg) rotateY(-1turn);-webkit-transform:perspective(120px) rotateX(0deg) rotateY(-1turn)}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2340.css new file mode 100644 index 00000000..c9a82129 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2340.css @@ -0,0 +1 @@ +#yoast-seo-dashboard-widget h3{font-weight:700}#yoast-seo-dashboard-widget .assessments,#yoast-seo-dashboard-widget .score-assessments{padding-left:0}#yoast-seo-dashboard-widget .wordpress-feed{border-top:1px solid #eee;margin:16px -12px 0;padding:12px 12px 0}#yoast-seo-dashboard-widget .wordpress-feed .wordpress-feed__post{margin-top:12px}#yoast-seo-dashboard-widget .wordpress-feed .wordpress-feed__footer{border-top:1px solid #eee;margin:0 -12px;padding:4px 12px 0}#yoast-seo-dashboard-widget:empty:before,#yoast-seo-wincher-dashboard-widget:empty:before{animation:rotate 2s linear infinite;background-image:url(../../packages/js/images/Yoast_SEO_Icon.svg);content:"";display:block;height:40px;margin:25px auto;width:40px}@keyframes rotate{0%{transform:perspective(120px) rotateX(0deg) rotateY(0deg);-webkit-transform:perspective(120px) rotateX(0deg) rotateY(0deg)}to{transform:perspective(120px) rotateX(0deg) rotateY(1turn);-webkit-transform:perspective(120px) rotateX(0deg) rotateY(1turn)}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2340-rtl.css new file mode 100644 index 00000000..63cce966 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2340-rtl.css @@ -0,0 +1 @@ +.wpseo-score-icon{background:#888;border-radius:50%!important;display:inline-block!important;height:12px!important;margin:3px 3px 0 10px;vertical-align:top;width:12px!important}.wpseo-score-icon.good{background-color:#7ad03a}.wpseo-score-icon.ok{background-color:#ee7c1b}.wpseo-score-icon.bad{background-color:#dc3232}.wpseo-score-icon.na{background-color:#888}.wpseo-score-icon.noindex{background-color:#1e8cbe}@media screen and (max-width:782px){.column-wpseo-focuskw,.column-wpseo-metadesc,.column-wpseo-score,.column-wpseo-title{display:none}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2340.css new file mode 100644 index 00000000..eb516235 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2340.css @@ -0,0 +1 @@ +.wpseo-score-icon{background:#888;border-radius:50%!important;display:inline-block!important;height:12px!important;margin:3px 10px 0 3px;vertical-align:top;width:12px!important}.wpseo-score-icon.good{background-color:#7ad03a}.wpseo-score-icon.ok{background-color:#ee7c1b}.wpseo-score-icon.bad{background-color:#dc3232}.wpseo-score-icon.na{background-color:#888}.wpseo-score-icon.noindex{background-color:#1e8cbe}@media screen and (max-width:782px){.column-wpseo-focuskw,.column-wpseo-metadesc,.column-wpseo-score,.column-wpseo-title{display:none}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2340-rtl.css new file mode 100644 index 00000000..a7418238 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2340-rtl.css @@ -0,0 +1 @@ +:root{--yoast-elementor-color-paragraph:#555d66}.yoast,.yoast h2,.yoast h3{font-family:var(--yoast-font-family)!important}.yoast h2{color:var(--yoast-color-dark);font-size:1.3em;font-weight:var(--yoast-font-weight-bold);margin-bottom:1em}.yoast input,.yoast input:focus,.yoast label,.yoast select:focus,.yoast select:not(:focus){background-color:#0000;border-color:var(--yoast-color-secondary-darker);color:var(--yoast-color-font-default)}.yoast label{color:var(--yoast-color-label)}.yoast input[disabled]{background-color:var(--yoast-color-inactive-grey-light)}.yoast.components-panel__body .yoast-title{font-weight:500}.yoast-field-group__title b{font-weight:var(--yoast-font-weight-bold)}.yoast h3 span>span{font-weight:400}.elementor-tab-control-yoast-seo-tab span:before,.yoast-element-menu-icon:before{background-color:currentColor;content:" ";height:16px;margin:0 auto;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:16px}.yoast-element-menu-icon{display:inline-flex}.yoast-element-menu-icon:before{height:19px;width:19px}.yoast-elementor-panel__fills{-webkit-font-smoothing:subpixel-antialiased;background-color:var(--yoast-color-white);color:var(--yoast-color-dark)}.yoast li,.yoast p,.yoast small{line-height:1.5;margin-bottom:6px}.yoast p,.yoast small,.yoast ul[role=list] li{color:var(--yoast-elementor-color-paragraph)}.button-link,.yoast a,.yoast a p,.yoast-elementor-panel__fills p a{color:var(--yoast-color-link);text-decoration:underline}.yoast a.dashicons{color:var(--yoast-color-inactive-text);height:24px;vertical-align:text-bottom;width:24px}.button-link{background:none;border:none;cursor:pointer;font-size:1em;line-height:1.5}.yoast .yoast-button-upsell,.yoast-elementor-panel__fills .UpsellLinkButton{color:var(--yoast-color-label);line-height:1.4em;text-decoration:none}.yoast-elementor-panel__fills h3>button{background:none;border:none;box-shadow:none}.yoast-gutenberg-modal .yoast-notice-container>hr{border-top-color:#ddd;border-top-style:solid}.yoast-gutenberg-modal input[type=radio]{-webkit-appearance:none;-moz-appearance:none;border:var(--yoast-border-default);border-radius:50%;box-shadow:inset 0 2px 4px #0000001a;cursor:pointer;height:18px;margin:0 0 0 8px;overflow:hidden;padding:2px;position:relative;transition:all .15s ease-out 0s;vertical-align:text-bottom;width:18px}.yoast-gutenberg-modal input[type=radio]:checked{background-color:inherit;border-color:var(--yoast-color-primary)}.yoast-gutenberg-modal input[type=radio]:checked:after{background:var(--yoast-color-primary);border-radius:50%;content:"";display:block;height:10px;right:3px;position:absolute;top:3px;width:10px}.yoast-post-settings-modal .yoast-notice-container{bottom:auto}.yoast-gutenberg-modal .components-popover.components-tooltip{right:unset!important;position:relative;left:40px;top:15px!important}.yoast div:focus,div.yoast:focus{outline:0}.yoast .button-link:focus,.yoast a:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc;color:#124964;outline:1px solid #0000}.yoast a.dashicons:focus{color:#1e8cbe}.yoast input[type=radio]:checked:focus{border-color:#fff;box-shadow:var(--yoast-color-focus)}.yoast .yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 #0003,0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc;color:#000}.yoast-elementor-introduction{background-color:#fff;box-shadow:var(--yoast-shadow-default);padding:20px;position:absolute!important;text-align:right;z-index:1}#yoast-introduction{border-radius:3px;right:41px!important;top:5px!important}#yoast-introduction-editor-v2{border:1px solid #000;border-radius:8px}.yoast-elementor-introduction:before{border:solid #0000;content:"";position:absolute}#yoast-introduction:before{border-bottom-color:#fff;border-width:7px 5px;right:-12px;top:8px;transform:rotate(90deg)}#yoast-introduction-editor-v2:before{border-bottom-color:#000;border-width:10px 8px;right:var(--yoast-elementor-introduction-arrow,28%);top:-20px}.yoast-elementor-introduction>div{color:var(--yoast-color-default)}.yoast-elementor-introduction>.dialog-header{font-weight:var(--yoast-font-weight-bold);line-height:1.3}.yoast-elementor-introduction>.dialog-message{margin-top:.5em}.yoast-elementor-introduction>.dialog-buttons-wrapper{display:flex;justify-content:flex-end;margin-top:12px}#yoast-introduction .dialog-button,#yoast-introduction-editor-v2 .dialog-button{background-color:var(--yoast-color-primary);font-size:12px;padding:7px 17px}@media(hover:hover){.button-link:hover,.yoast a:hover,.yoast a:hover p,.yoast-elementor-panel__fills p a:hover{color:var(--yoast-color-primary-darker)}.yoast a.dashicons:hover{color:var(--yoast-color-link)}.yoast .yoast-button-upsell:hover,.yoast-elementor-panel__fills .UpsellLinkButton:hover{color:var(--yoast-color-label)}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2340.css new file mode 100644 index 00000000..1a584f89 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2340.css @@ -0,0 +1 @@ +:root{--yoast-elementor-color-paragraph:#555d66}.yoast,.yoast h2,.yoast h3{font-family:var(--yoast-font-family)!important}.yoast h2{color:var(--yoast-color-dark);font-size:1.3em;font-weight:var(--yoast-font-weight-bold);margin-bottom:1em}.yoast input,.yoast input:focus,.yoast label,.yoast select:focus,.yoast select:not(:focus){background-color:#0000;border-color:var(--yoast-color-secondary-darker);color:var(--yoast-color-font-default)}.yoast label{color:var(--yoast-color-label)}.yoast input[disabled]{background-color:var(--yoast-color-inactive-grey-light)}.yoast.components-panel__body .yoast-title{font-weight:500}.yoast-field-group__title b{font-weight:var(--yoast-font-weight-bold)}.yoast h3 span>span{font-weight:400}.elementor-tab-control-yoast-seo-tab span:before,.yoast-element-menu-icon:before{background-color:currentColor;content:" ";height:16px;margin:0 auto;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:16px}.yoast-element-menu-icon{display:inline-flex}.yoast-element-menu-icon:before{height:19px;width:19px}.yoast-elementor-panel__fills{-webkit-font-smoothing:subpixel-antialiased;background-color:var(--yoast-color-white);color:var(--yoast-color-dark)}.yoast li,.yoast p,.yoast small{line-height:1.5;margin-bottom:6px}.yoast p,.yoast small,.yoast ul[role=list] li{color:var(--yoast-elementor-color-paragraph)}.button-link,.yoast a,.yoast a p,.yoast-elementor-panel__fills p a{color:var(--yoast-color-link);text-decoration:underline}.yoast a.dashicons{color:var(--yoast-color-inactive-text);height:24px;vertical-align:text-bottom;width:24px}.button-link{background:none;border:none;cursor:pointer;font-size:1em;line-height:1.5}.yoast .yoast-button-upsell,.yoast-elementor-panel__fills .UpsellLinkButton{color:var(--yoast-color-label);line-height:1.4em;text-decoration:none}.yoast-elementor-panel__fills h3>button{background:none;border:none;box-shadow:none}.yoast-gutenberg-modal .yoast-notice-container>hr{border-top-color:#ddd;border-top-style:solid}.yoast-gutenberg-modal input[type=radio]{-webkit-appearance:none;-moz-appearance:none;border:var(--yoast-border-default);border-radius:50%;box-shadow:inset 0 2px 4px #0000001a;cursor:pointer;height:18px;margin:0 8px 0 0;overflow:hidden;padding:2px;position:relative;transition:all .15s ease-out 0s;vertical-align:text-bottom;width:18px}.yoast-gutenberg-modal input[type=radio]:checked{background-color:inherit;border-color:var(--yoast-color-primary)}.yoast-gutenberg-modal input[type=radio]:checked:after{background:var(--yoast-color-primary);border-radius:50%;content:"";display:block;height:10px;left:3px;position:absolute;top:3px;width:10px}.yoast-post-settings-modal .yoast-notice-container{bottom:auto}.yoast-gutenberg-modal .components-popover.components-tooltip{left:unset!important;position:relative;right:40px;top:15px!important}.yoast div:focus,div.yoast:focus{outline:0}.yoast .button-link:focus,.yoast a:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc;color:#124964;outline:1px solid #0000}.yoast a.dashicons:focus{color:#1e8cbe}.yoast input[type=radio]:checked:focus{border-color:#fff;box-shadow:var(--yoast-color-focus)}.yoast .yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 #0003,0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc;color:#000}.yoast-elementor-introduction{background-color:#fff;box-shadow:var(--yoast-shadow-default);padding:20px;position:absolute!important;text-align:left;z-index:1}#yoast-introduction{border-radius:3px;left:41px!important;top:5px!important}#yoast-introduction-editor-v2{border:1px solid #000;border-radius:8px}.yoast-elementor-introduction:before{border:solid #0000;content:"";position:absolute}#yoast-introduction:before{border-bottom-color:#fff;border-width:7px 5px;left:-12px;top:8px;transform:rotate(-90deg)}#yoast-introduction-editor-v2:before{border-bottom-color:#000;border-width:10px 8px;left:var(--yoast-elementor-introduction-arrow,28%);top:-20px}.yoast-elementor-introduction>div{color:var(--yoast-color-default)}.yoast-elementor-introduction>.dialog-header{font-weight:var(--yoast-font-weight-bold);line-height:1.3}.yoast-elementor-introduction>.dialog-message{margin-top:.5em}.yoast-elementor-introduction>.dialog-buttons-wrapper{display:flex;justify-content:flex-end;margin-top:12px}#yoast-introduction .dialog-button,#yoast-introduction-editor-v2 .dialog-button{background-color:var(--yoast-color-primary);font-size:12px;padding:7px 17px}@media(hover:hover){.button-link:hover,.yoast a:hover,.yoast a:hover p,.yoast-elementor-panel__fills p a:hover{color:var(--yoast-color-primary-darker)}.yoast a.dashicons:hover{color:var(--yoast-color-link)}.yoast .yoast-button-upsell:hover,.yoast-elementor-panel__fills .UpsellLinkButton:hover{color:var(--yoast-color-label)}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2340-rtl.css new file mode 100644 index 00000000..336c6100 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2340-rtl.css @@ -0,0 +1 @@ +#yst_opengraph_image_warning{margin-top:0}.yoast-opengraph-image-notice #set-post-thumbnail>img{box-shadow:0 0 0 2px #fff,0 0 0 5px #dc3232} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2340.css new file mode 100644 index 00000000..336c6100 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2340.css @@ -0,0 +1 @@ +#yst_opengraph_image_warning{margin-top:0}.yoast-opengraph-image-notice #set-post-thumbnail>img{box-shadow:0 0 0 2px #fff,0 0 0 5px #dc3232} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2340-rtl.css new file mode 100644 index 00000000..bd1b36eb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2340-rtl.css @@ -0,0 +1 @@ +#posts-filter .wpseo-filter-explanation{clear:both;margin:10px 1px 5px} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2340.css new file mode 100644 index 00000000..bd1b36eb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2340.css @@ -0,0 +1 @@ +#posts-filter .wpseo-filter-explanation{clear:both;margin:10px 1px 5px} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2340-rtl.css new file mode 100644 index 00000000..f6a2d2cc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2340-rtl.css @@ -0,0 +1 @@ +#wpseo-first-time-configuration .yst-root .yst-input{--tw-bg-opacity:1!important;--tw-shadow:0 1px 2px 0 #0000000d!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important;border-radius:.375rem!important;border-width:1px!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;font-size:.8125rem!important;padding:.5rem .75rem!important}#wpseo-first-time-configuration .yst-root .yst-radio{align-items:center!important;display:flex!important}#wpseo-first-time-configuration .yst-root .yst-radio__input{--tw-border-opacity:1!important;--tw-text-opacity:1!important;--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;-webkit-appearance:none!important;appearance:none!important;border-color:rgb(209 213 219/var(--tw-border-opacity))!important;border-radius:9999px!important;border-width:1px!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;color:rgb(166 30 105/var(--tw-text-opacity))!important;height:1rem!important;margin:0!important;transition-property:none!important;width:1rem!important}#wpseo-first-time-configuration .yst-root .yst-radio__input:before{content:var(--tw-content)!important;display:none!important}#wpseo-first-time-configuration .yst-root .yst-radio__input:checked{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important;border-width:5px!important}#wpseo-first-time-configuration .yst-root .yst-radio__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important;outline:2px solid #0000!important;outline-offset:2px!important}#wpseo-first-time-configuration .yst-root .yst-radio__label{--tw-text-opacity:1!important;color:rgb(55 65 81/var(--tw-text-opacity))!important;font-weight:500!important;margin-right:.75rem!important}#wpseo-first-time-configuration .yst-root .yst-radio-group__label{margin-bottom:.25rem!important}#wpseo-first-time-configuration .yst-root .yst-radio-group__options{display:flex!important;flex-direction:column!important;gap:.5rem!important}#wpseo-first-time-configuration .yst-root .yst-radio-group__description{margin-bottom:1rem!important}#wpseo-first-time-configuration .yst-root .yst-checkbox__input:before{--tw-content:none!important;content:var(--tw-content)!important} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2340.css new file mode 100644 index 00000000..04d8c25b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2340.css @@ -0,0 +1 @@ +#wpseo-first-time-configuration .yst-root .yst-input{--tw-bg-opacity:1!important;--tw-shadow:0 1px 2px 0 #0000000d!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important;border-radius:.375rem!important;border-width:1px!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;font-size:.8125rem!important;padding:.5rem .75rem!important}#wpseo-first-time-configuration .yst-root .yst-radio{align-items:center!important;display:flex!important}#wpseo-first-time-configuration .yst-root .yst-radio__input{--tw-border-opacity:1!important;--tw-text-opacity:1!important;--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;-webkit-appearance:none!important;appearance:none!important;border-color:rgb(209 213 219/var(--tw-border-opacity))!important;border-radius:9999px!important;border-width:1px!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;color:rgb(166 30 105/var(--tw-text-opacity))!important;height:1rem!important;margin:0!important;transition-property:none!important;width:1rem!important}#wpseo-first-time-configuration .yst-root .yst-radio__input:before{content:var(--tw-content)!important;display:none!important}#wpseo-first-time-configuration .yst-root .yst-radio__input:checked{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important;border-width:5px!important}#wpseo-first-time-configuration .yst-root .yst-radio__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important;outline:2px solid #0000!important;outline-offset:2px!important}#wpseo-first-time-configuration .yst-root .yst-radio__label{--tw-text-opacity:1!important;color:rgb(55 65 81/var(--tw-text-opacity))!important;font-weight:500!important;margin-left:.75rem!important}#wpseo-first-time-configuration .yst-root .yst-radio-group__label{margin-bottom:.25rem!important}#wpseo-first-time-configuration .yst-root .yst-radio-group__options{display:flex!important;flex-direction:column!important;gap:.5rem!important}#wpseo-first-time-configuration .yst-root .yst-radio-group__description{margin-bottom:1rem!important}#wpseo-first-time-configuration .yst-root .yst-checkbox__input:before{--tw-content:none!important;content:var(--tw-content)!important} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2340-rtl.css new file mode 100644 index 00000000..e8929ee9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2340-rtl.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2340.css new file mode 100644 index 00000000..e8929ee9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2340.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2340-rtl.css new file mode 100644 index 00000000..c7e4aab5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2340-rtl.css @@ -0,0 +1 @@ +.yoast-text-mark{background-color:#e1bee7}.yoast-text-mark__highlight{background-color:#4a148c;color:#fff} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2340.css new file mode 100644 index 00000000..c7e4aab5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2340.css @@ -0,0 +1 @@ +.yoast-text-mark{background-color:#e1bee7}.yoast-text-mark__highlight{background-color:#4a148c;color:#fff} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2340-rtl.css new file mode 100644 index 00000000..7cb43907 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2340-rtl.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-color-default:#404040;--yoast-color-default-darker:#303030;--yoast-color-primary:#a4286a;--yoast-color-secondary:#f7f7f7;--yoast-color-white:#fff;--yoast-color-green:#6ea029;--yoast-color-primary-darker:#7b1e50;--yoast-color-primary-lighter:#f5d6e6;--yoast-color-secondary-darker:#d9d9d9;--yoast-color-button-upsell:#fec228;--yoast-color-button-upsell-hover:#f2ae01;--yoast-color-dark:#303030;--yoast-color-sale:#fec228;--yoast-color-sale-darker:#feb601;--yoast-color-border:#0003;--yoast-color-label:#303030;--yoast-color-label-help:#707070;--yoast-color-active:#6ea029;--yoast-color-inactive:#dc3232;--yoast-color-inactive-text:#707070;--yoast-color-inactive-grey:#9e9e9e;--yoast-color-inactive-grey-light:#f1f1f1;--yoast-color-active-light:#b6cf94;--yoast-transition-default:all 150ms ease-out;--yoast-color-link:#006dac;--yoast-color-border--default:#0003;--yoast-color-focus:0 0 0 2px #007fff,0 0 0 5px #bfdfff}.yst-root .yst-introduction-modal .yst-modal__close-button{--tw-text-opacity:1;background-color:initial;color:rgb(107 114 128/var(--tw-text-opacity))}.yst-root .yst-introduction-modal .yst-modal__close-button:focus{--tw-ring-offset-width:0px;outline:2px solid #0000;outline-offset:2px}.yst-root .yst-introduction-gradient{background:linear-gradient(-180deg,#a61e6940 10%,#fff0 80%)}.yst-root .yst-introduction-modal-uppercase{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity));letter-spacing:.8px;text-transform:uppercase}.yst-root .yst-logo-icon{background-color:var(--yoast-color-primary);height:17px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:17px} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2340.css new file mode 100644 index 00000000..6001f965 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2340.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-color-default:#404040;--yoast-color-default-darker:#303030;--yoast-color-primary:#a4286a;--yoast-color-secondary:#f7f7f7;--yoast-color-white:#fff;--yoast-color-green:#6ea029;--yoast-color-primary-darker:#7b1e50;--yoast-color-primary-lighter:#f5d6e6;--yoast-color-secondary-darker:#d9d9d9;--yoast-color-button-upsell:#fec228;--yoast-color-button-upsell-hover:#f2ae01;--yoast-color-dark:#303030;--yoast-color-sale:#fec228;--yoast-color-sale-darker:#feb601;--yoast-color-border:#0003;--yoast-color-label:#303030;--yoast-color-label-help:#707070;--yoast-color-active:#6ea029;--yoast-color-inactive:#dc3232;--yoast-color-inactive-text:#707070;--yoast-color-inactive-grey:#9e9e9e;--yoast-color-inactive-grey-light:#f1f1f1;--yoast-color-active-light:#b6cf94;--yoast-transition-default:all 150ms ease-out;--yoast-color-link:#006dac;--yoast-color-border--default:#0003;--yoast-color-focus:0 0 0 2px #007fff,0 0 0 5px #bfdfff}.yst-root .yst-introduction-modal .yst-modal__close-button{--tw-text-opacity:1;background-color:initial;color:rgb(107 114 128/var(--tw-text-opacity))}.yst-root .yst-introduction-modal .yst-modal__close-button:focus{--tw-ring-offset-width:0px;outline:2px solid #0000;outline-offset:2px}.yst-root .yst-introduction-gradient{background:linear-gradient(180deg,#a61e6940 10%,#fff0 80%)}.yst-root .yst-introduction-modal-uppercase{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity));letter-spacing:.8px;text-transform:uppercase}.yst-root .yst-logo-icon{background-color:var(--yoast-color-primary);height:17px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:17px} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2340-rtl.css new file mode 100644 index 00000000..53d37d39 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2340-rtl.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:#a4286a99;bottom:0;right:0;position:fixed;left:0;top:0;z-index:100000}.yoast-modal{background:#fff;bottom:48px;display:flex;flex-direction:column;height:calc(100% - 96px);right:calc(50% - 440px);max-width:880px;overflow:hidden;position:fixed;top:48px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:20px;margin-left:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:20px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-columns:280px 1fr;grid-template-rows:72px 1fr 88px}.yoast-modal__heading{align-items:center;background:var(--yoast-color-white);border-bottom:var(--yoast-border-default);box-sizing:border-box;display:flex;grid-area:heading;min-height:72px;padding:0 24px}.yoast-modal__heading .yoast-close{position:absolute;left:16px}.yoast-gutenberg-modal__box.components-modal__frame{box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@media (min-width:600px){.yoast-gutenberg-modal__box.components-modal__frame{border-radius:8px;max-height:calc(100% - 48px)}}.yoast-gutenberg-modal__no-padding .components-modal__content{padding:0}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{color:var(--yoast-color-primary);font-size:20px;font-weight:400;line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__content .components-modal__header{border-bottom:1px solid #e2e8f0!important}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);flex-shrink:0;height:20px;margin-left:16px;width:19px}.yoast-modal__menu{border-left:var(--yoast-border-default);grid-area:menu;overflow-y:auto}.yoast-modal__menu ul{list-style:none;margin:0;padding:0}.yoast-modal__menu li{border-bottom:var(--yoast-border-default);color:var(--yoast-color-default);cursor:pointer;display:block;font-size:16px;padding:12px 16px 11px;text-decoration:none}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{display:flex;flex-direction:column;flex-grow:1;grid-area:content;overflow-y:auto;position:relative}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{background:var(--yoast-color-white);padding:24px 24px 0;position:sticky;top:0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{align-items:center;align-self:flex-end;background:var(--yoast-color-white);border-top:var(--yoast-border-default);bottom:0;box-sizing:border-box;display:flex;grid-area:footer;justify-content:flex-end;margin:0 24px;min-height:88px;padding:0;position:sticky;width:calc(100% - 48px);z-index:10}.yoast-modal__settings-saved{align-items:center;display:inline-flex;margin-left:16px;position:relative}.yoast-modal__settings-saved:before{background:var(--yoast-checkmark--green) no-repeat center;content:"";display:inline-block;height:13px;margin-left:8px;width:14px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{flex-grow:1;padding:24px}@media screen and (max-width:880px){.yoast-modal{bottom:0;height:auto;right:0;left:0;top:0}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{min-height:48px;padding:0 16px;position:fixed;top:0;width:100%;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-left:8px}.yoast .yoast-close{left:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{flex-grow:0;overflow:initial}.yoast-modal__section-content{margin:0 16px;padding:24px 0}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{margin:0;padding:0;position:sticky;top:48px}.yoast-modal__section-open .yoast-modal__section-header{margin-right:16px;margin-left:16px;padding-right:0;padding-left:0}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{margin:0;min-height:72px;padding:0 16px;position:fixed;width:100%;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{border-bottom:var(--yoast-border-default);margin:0;padding:24px 16px}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{background:#fff;border:none;border-bottom:var(--yoast-border-default);color:var(--yoast-color-primary);cursor:pointer;font-size:var(--yoast-font-size-default);justify-content:space-between;padding:16px;text-align:right;width:100%}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(-180deg)}.yoast-collapsible__trigger[aria-expanded=true]{margin:0 16px;padding:16px 0;width:calc(100% - 32px)}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;border:none;display:block;float:left;height:19px;width:19px}.yoast-collapsible-block{margin-top:48px;width:100%}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{height:100%;max-height:calc(100% - 96px);max-width:calc(100% - 96px);overflow:hidden;width:880px}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{grid-gap:24px;display:grid;grid-template-columns:1fr 1fr}}.yoast-post-settings-modal__button-container{border-bottom:1px solid #0003;display:flex;flex-direction:column;padding:16px}.yoast-post-settings-modal .components-modal__content{display:flex;flex-direction:column;padding:0}.yoast-post-settings-modal .components-modal__header{border-bottom:var(--yoast-border-default);flex-shrink:0;margin:0}.yoast-post-settings-modal .yoast-notice-container{bottom:0;right:0;margin-top:auto;position:sticky;width:100%;z-index:1}.yoast-post-settings-modal .components-modal__content>div:not([class]):not([class=""]){display:flex;flex-direction:column;overflow:hidden}.yoast-post-settings-modal .yoast-notice-container>hr{margin-bottom:0;margin-top:-1px}.yoast-post-settings-modal .yoast-content-container{flex-grow:1;overflow-y:auto}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;margin:0;padding:24px}.yoast-post-settings-modal .yoast-button-container p{align-self:center;color:var(--yoast-color-label-help);padding-left:24px}.yoast-post-settings-modal .yoast-button-container button{align-self:center;flex-shrink:0;max-height:45px}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{justify-content:space-between;padding:16px}.yoast-post-settings-modal .yoast-button-container p{padding-left:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}.yoast-wincher-seo-performance-modal__content{padding:25px 32px 32px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{border:none;position:relative}.yoast-related-keyphrases-modal__chart{display:block}.m6zwb4v,.m6zwb4v:visited{background:#e6f3ff;border-radius:2px;color:#575f67;cursor:pointer;display:inline-block;padding-right:2px;padding-left:2px;-webkit-text-decoration:none;text-decoration:none}.m6zwb4v:focus,.m6zwb4v:hover{background:#edf5fd;color:#677584;outline:0}.m6zwb4v:active{background:#455261;color:#222}.mnw6qvm{background:#fff;border:1px solid #eee;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;max-width:440px;min-width:220px;padding-bottom:8px;padding-top:8px;position:absolute;transform:scale(0);z-index:2}.m1ymsnxd{opacity:0;transition:opacity .25s cubic-bezier(.3,1.2,.2,1)}.m126ak5t{opacity:1}.mtiwdxc{padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.mtiwdxc:active{background-color:#cce7ff}.myz2dw1{background-color:#e6f3ff;padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.myz2dw1:active{background-color:#cce7ff}.mpqdcgq{font-size:.9em;margin-bottom:.2em;margin-right:8px;max-width:368px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m1mfvffo,.mpqdcgq{display:inline-block}.m1mfvffo{border-radius:12px;height:24px;width:24px}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:#fff0;border-left:.1px solid #0000;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}#wpseo_meta{box-sizing:border-box}#wpseo_meta *,#wpseo_meta :after,#wpseo_meta :before{box-sizing:inherit}.DraftEditor-root [data-block]{margin:0}#edittag>#wp-description-wrap{display:none}#wp-description-wrap .wp-editor-area{border:0}.term-description-wrap td>textarea#description{min-height:530px}.wpseo-meta-section,.wpseo-meta-section-react{border:1px solid #0003;display:none;height:auto;max-width:600px;min-height:100%;vertical-align:top;width:100%}.wpseo-meta-section-react.active,.wpseo-meta-section.active{background:#fff;position:relative;z-index:12}.wpseo-meta-section.active{display:inline-block}.wpseo-meta-section-react.active{display:block;margin-bottom:10px}.wpseo-meta-section-content{padding:16px}.wpseo-metabox-content{max-width:800px;padding-top:16px}.edit-post-meta-boxes-area__container .wpseo-metabox .postbox-header{border-bottom:1px solid #ddd}.edit-post-meta-boxes-area__container .wpseo-metabox .inside{background-color:#f1f5f9}.edit-post-meta-boxes-area__container .wpseo-metabox .wpseo-metabox-content{max-width:none;padding:32px 8px 8px}.edit-post-meta-boxes-area__container .wpseo-metabox .wpseo-meta-section,.edit-post-meta-boxes-area__container .wpseo-metabox .wpseo-metabox-menu{margin:0 auto}.edit-post-meta-boxes-area__container .wpseo-metabox .wpseo-meta-section.active{display:block}.wpseo-metabox-menu{max-width:600px;padding:0}.wpseo-metabox-menu ul{align-items:flex-end;display:flex;flex-wrap:wrap;flex-flow:wrap-reverse;margin:0 0 0 1px;padding:0 16px 0 0}.wpseo-metabox-menu ul li:first-child{z-index:10}.wpseo-metabox-menu ul li:nth-child(2){z-index:9}.wpseo-metabox-menu ul li:nth-child(3){z-index:8}.wpseo-metabox-menu ul li:nth-child(4){z-index:7}.wpseo-metabox-menu ul li:nth-child(5){z-index:6}.wpseo-metabox-menu ul li:nth-child(6){z-index:5}.wpseo-metabox-menu ul li{background-color:#f8f8f8;box-shadow:0 0 4px 0 #0000001a;height:32px;margin-bottom:-1px;margin-right:-1px;position:relative;text-align:center}.wpseo-metabox-menu ul li a{align-items:center;border:1px solid #0003;border-bottom:2px #0000;color:#0073aa;display:flex}.wpseo-metabox-menu ul li a:focus{box-shadow:inherit}.wpseo-metabox-menu ul li .yst-traffic-light{height:20px;margin-right:4px;margin-left:10px;width:auto}.wpseo-metabox-menu ul li span.dashicons{margin-left:8px}.wpseo-metabox-menu ul li span.wpseo-buy-premium{color:#a4286a}.wpseo-metabox-menu ul li span.wpseo-buy-premium:hover{color:#832055}.wpseo-metabox-menu ul li.active{background-color:#fff;border-bottom:2px #0000;box-shadow:none;height:36px;margin-top:-4px;z-index:13}.wpseo-metabox-menu ul li.active a{color:#444;height:36px}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium{border-color:#a4286a;color:#a4286a}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium:hover{border-color:#832055;color:#832055}.wpseo-metabox-menu a{height:32px;padding:0 8px;text-decoration:none}.wpseotab{background-color:#fdfdfd;border:1px solid #ddd;display:none;padding:16px}.wpseotab .wpseo-cornerstone-checkbox{margin-left:.5em}.wpseotab.content{padding:20px 15px}.wpseotab.active{display:block}.wpseo-metabox-sidebar .dashicons{font-size:30px;height:30px;width:30px}#wpseo_meta .inside{margin:0}#wpseo_meta .inside:after{clear:both;content:"";display:table}#wpseo_meta .postbox .inside .wpseotab{font-size:13px!important}.wpseo-form input,.wpseo-form label,.wpseo-form p.error-message,.wpseo-form textarea{max-width:600px}.wpseo-form fieldset{padding-top:5px}.wpseo-form legend{font-weight:600}.wpseo-form label{display:block;font-weight:600}.wpseo-form input[type=checkbox]+label,.wpseo-form input[type=radio]+label{display:inline-block;font-weight:400}.wpseo-form fieldset,.wpseo-form label{margin-bottom:.5em;margin-top:2em}.wpseo-form input[type=checkbox],.wpseo-form input[type=checkbox]+label{font-size:1em;margin-bottom:0;margin-top:2em}.wpseo-form fieldset:first-child,.wpseo-form input[type=checkbox]:first-child,.wpseo-form input[type=checkbox]:first-child+label,.wpseo-form label:first-child{margin-top:10px}.wpseo-form input[type=radio]{margin-top:0}.wpseo-form input[type=radio]+label{margin:0 0 0 1em}.wpseo-form p.error-message{margin:.5em 0}.wpseo-form select[multiple]{margin-top:0}.yoast-metabox__description{margin:.5em 0;max-width:600px}.wpseo_image_upload_button{margin-right:3px}.good,.warn,.wrong{font-weight:600}.good{color:green}.warn{color:maroon}.wrong{color:#dc3232}#current_seo_title span{background-color:#ffffe0;padding:2px 5px}#focuskwresults ul{margin:0}#focuskwresults li,#focuskwresults p{font-size:13px}#focuskwresults li{list-style-type:disc;margin:0 20px 0 0}.wpseo_hidden{display:none}.wpseo_msg{background-color:#ffffe0;border:1px solid #e6db55;margin:5px 0 10px;padding:0 5px}.snippet-editor__button.snippet-editor__edit-button:focus{background-color:#fafafa;border-color:#5b9dd9;box-shadow:0 0 3px #0073aacc;color:#23282d;outline:none}.wpseo-admin-page .subsubsub li{display:inline;max-width:none}.yoast-seo-help-container{float:right;max-width:none;width:100%}.yoast-seo-help-container .yoast-help-panel{margin:.5em 0!important}.wpseo_content_wrapper p.search-box{margin:10px 0 5px}#wpseotab .ui-widget-content .ui-state-hover{background:#f1f1f1;border:1px solid #dfdfdf;color:#333}.yst-traffic-light{height:30px;margin:0 5px 0 0;width:19px}.yst-traffic-light .traffic-light-color{display:none}.yst-traffic-light.bad .traffic-light-red,.yst-traffic-light.good .traffic-light-green,.yst-traffic-light.init .traffic-light-init,.yst-traffic-light.na .traffic-light-empty,.yst-traffic-light.ok .traffic-light-orange{display:inline}.yoast-seo-score .yoast-logo.svg{background:var(--yoast-svg-icon-yoast) no-repeat;background-size:18px;flex-shrink:0;float:right;height:18px;margin-left:7px;width:18px}.yoast-seo-score .yoast-logo.svg.good{background-image:var(--yoast-svg-icon-yoast-good)}.yoast-seo-score .yoast-logo.svg.ok{background-image:var(--yoast-svg-icon-yoast-ok)}.yoast-seo-score .yoast-logo.svg.bad{background-image:var(--yoast-svg-icon-yoast-bad)}.yoast-seo-score .yoast-logo.svg.na,.yoast-seo-score .yoast-logo.svg.noindex{background-image:var(--yoast-svg-icon-yoast)}.term-php .wpseo-taxonomy-metabox-postbox>h2{border-bottom:1px solid #eee;font-size:14px;line-height:1.4;margin:0;padding:8px 12px}#TB_window #TB_ajaxContent p{margin:5px 0 0;padding:5px 0 0}#TB_window #TB_ajaxContent ul{margin:5px 0 10px}#TB_window #TB_ajaxContent li{list-style:none;margin:5px 0 0}#TB_window #TB_ajaxContent li:before{content:"+";font-weight:700;margin:0 0 0 10px}.yoast-section__heading-icon-list{background-image:var(--yoast-svg-icon-list)}.yoast-section__heading-icon-key{background-image:var(--yoast-svg-icon-key)}.yoast-section__heading-icon-edit{background-image:var(--yoast-svg-icon-edit)}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.screen-reader-text.wpseo-generic-tab-textual-score,.screen-reader-text.wpseo-keyword-tab-textual-score{display:block}.yoast-notice-go-premium{background:#f1f1f1;border-right-color:#a4286a;margin:0}.editor-styles-wrapper mark.annotation-text-yoast{background-color:#e1bee7}@media screen and (max-width:782px){.wpseo-metabox-buy-premium .wpseo-buy-premium{display:inline-block;height:20px;margin-left:5px;padding:0;width:20px}.yoast-help-panel{max-width:none!important}#wpseo-crawl-issues-table-form .subsubsub{float:none;max-width:calc(100vw - 20px)}#wpseo-crawl-issues-table-form .yoast-help-button{margin-top:3px}.wpseotab select[multiple]{height:auto!important}}@media screen and (max-width:600px){.wpseotab.content{padding:16px 0}}.wpseo-score-icon-container{align-items:center;display:flex;height:20px;justify-content:center;margin-left:8px;width:20px}.yoast-seo-sidebar-panel .yoast-analysis-check{display:flex}.yoast-seo-sidebar-panel .yoast-analysis-check svg{margin-left:5px;margin-top:6px}.yoast-seo-sidebar-panel .yoast-analysis-check span{line-height:1.5;margin-top:3px}.yoast-seo-sidebar-panel div{line-height:2}.yoast-seo-sidebar-panel div svg{vertical-align:middle}ul.yoast-seo-social-share-buttons li{display:inline-block;margin-left:24px}ul.yoast-seo-social-share-buttons li .x-share svg{fill:#000;height:30px;width:30px}ul.yoast-seo-social-share-buttons svg{height:32px;margin-bottom:8px;width:32px}ul.yoast-seo-social-share-buttons a{align-items:center;display:flex;flex-direction:column}.yoast-field-group.yoast-wincher-post-publish{margin-bottom:10px}.edit-post-pinned-plugins button.components-button:not(.is-compact)[aria-label="Yoast SEO Premium"]>svg,.edit-post-pinned-plugins button.components-button:not(.is-compact)[aria-label="Yoast SEO"]>svg,div.interface-pinned-items button.components-button:not(.is-compact)[aria-label="Yoast SEO Premium"]>svg,div.interface-pinned-items button.components-button:not(.is-compact)[aria-label="Yoast SEO"]>svg{height:28px;max-height:28px;max-width:28px;width:28px}div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO Premium"]>svg path,div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO"]>svg path{fill:#fff}.wpseo-schema-icon{align-items:center;background-image:var(--yoast-svg-icon-schema);background-size:cover;display:flex;height:16px;justify-content:center;margin-left:8px;width:16px}.wpseo-metabox-menu ul li.active a .wpseo-schema-icon{background-image:var(--yoast-svg-icon-schema-active)}.yoast-icon-span svg{fill:inherit;margin-left:8px}.yoast.components-panel__body{border-top:0}.components-button>.yoast-title-container{flex-grow:1;line-height:normal;overflow-x:hidden}.yoast-title-container>.yoast-subtitle,.yoast-title-container>.yoast-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yoast-title-container>.yoast-subtitle{font-size:.8125rem;font-weight:300;margin-top:2px}.yoast.components-panel__body .yoast-chevron{background-color:#1e1e1e;display:inline-block;height:24px;-webkit-mask-image:var(--yoast-svg-icon-chevron-down);mask-image:var(--yoast-svg-icon-chevron-down);-webkit-mask-size:100% 100%;mask-size:100% 100%;width:24px}.yoast.components-panel__body.is-opened .yoast-chevron{-webkit-mask-image:var(--yoast-svg-icon-chevron-up);mask-image:var(--yoast-svg-icon-chevron-up)}.yoast .components-panel__body-toggle{padding-left:16px}.yoast .components-form-token-field__remove-token.components-button,.yoast .components-form-token-field__token-text{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}.yoast .yoast-insights{color:#404040}.yoast .yoast-insights .yoast-field-group__title>b{color:var(--yoast-color-primary);font-size:16px;font-weight:var(--yoast-font-weight-default);line-height:1.2em}.yoast .yoast-insights-card__score{color:var(--yoast-color-primary);margin-block:0}.yoast .yoast-insights-card__description{line-height:1.4em}.yoast .yoast-prominent-words p,.yoast .yoast-prominent-words ul,.yoast .yoast-text-formality p{margin-block:1.2em}.yoast #wpseo-metabox-root .yoast-prominent-words{border-bottom:1px solid #0000001a;margin-bottom:24px;padding-bottom:24px}.yoast .yoast-insights .yoast-data-model--upsell li{color:#bbb}.yoast .yoast-insights .yoast-data-model--upsell li:after{background:#fdf4f8} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2340.css new file mode 100644 index 00000000..e01e4791 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2340.css @@ -0,0 +1,3 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:#a4286a99;bottom:0;left:0;position:fixed;right:0;top:0;z-index:100000}.yoast-modal{background:#fff;bottom:48px;display:flex;flex-direction:column;height:calc(100% - 96px);left:calc(50% - 440px);max-width:880px;overflow:hidden;position:fixed;top:48px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:20px;margin-right:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:20px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-columns:280px 1fr;grid-template-rows:72px 1fr 88px}.yoast-modal__heading{align-items:center;background:var(--yoast-color-white);border-bottom:var(--yoast-border-default);box-sizing:border-box;display:flex;grid-area:heading;min-height:72px;padding:0 24px}.yoast-modal__heading .yoast-close{position:absolute;right:16px}.yoast-gutenberg-modal__box.components-modal__frame{box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@media (min-width:600px){.yoast-gutenberg-modal__box.components-modal__frame{border-radius:8px;max-height:calc(100% - 48px)}}.yoast-gutenberg-modal__no-padding .components-modal__content{padding:0}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{color:var(--yoast-color-primary);font-size:20px;font-weight:400;line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__content .components-modal__header{border-bottom:1px solid #e2e8f0!important}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);flex-shrink:0;height:20px;margin-right:16px;width:19px}.yoast-modal__menu{border-right:var(--yoast-border-default);grid-area:menu;overflow-y:auto}.yoast-modal__menu ul{list-style:none;margin:0;padding:0}.yoast-modal__menu li{border-bottom:var(--yoast-border-default);color:var(--yoast-color-default);cursor:pointer;display:block;font-size:16px;padding:12px 16px 11px;text-decoration:none}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{display:flex;flex-direction:column;flex-grow:1;grid-area:content;overflow-y:auto;position:relative}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{background:var(--yoast-color-white);padding:24px 24px 0;position:sticky;top:0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{align-items:center;align-self:flex-end;background:var(--yoast-color-white);border-top:var(--yoast-border-default);bottom:0;box-sizing:border-box;display:flex;grid-area:footer;justify-content:flex-end;margin:0 24px;min-height:88px;padding:0;position:sticky;width:calc(100% - 48px);z-index:10}.yoast-modal__settings-saved{align-items:center;display:inline-flex;margin-right:16px;position:relative}.yoast-modal__settings-saved:before{background:var(--yoast-checkmark--green) no-repeat center;content:"";display:inline-block;height:13px;margin-right:8px;width:14px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{flex-grow:1;padding:24px}@media screen and (max-width:880px){.yoast-modal{bottom:0;height:auto;left:0;right:0;top:0}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{min-height:48px;padding:0 16px;position:fixed;top:0;width:100%;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-right:8px}.yoast .yoast-close{right:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{flex-grow:0;overflow:initial}.yoast-modal__section-content{margin:0 16px;padding:24px 0}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{margin:0;padding:0;position:sticky;top:48px}.yoast-modal__section-open .yoast-modal__section-header{margin-left:16px;margin-right:16px;padding-left:0;padding-right:0}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{margin:0;min-height:72px;padding:0 16px;position:fixed;width:100%;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{border-bottom:var(--yoast-border-default);margin:0;padding:24px 16px}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{background:#fff;border:none;border-bottom:var(--yoast-border-default);color:var(--yoast-color-primary);cursor:pointer;font-size:var(--yoast-font-size-default);justify-content:space-between;padding:16px;text-align:left;width:100%}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(180deg)}.yoast-collapsible__trigger[aria-expanded=true]{margin:0 16px;padding:16px 0;width:calc(100% - 32px)}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;border:none;display:block;float:right;height:19px;width:19px}.yoast-collapsible-block{margin-top:48px;width:100%}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{height:100%;max-height:calc(100% - 96px);max-width:calc(100% - 96px);overflow:hidden;width:880px}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{grid-gap:24px;display:grid;grid-template-columns:1fr 1fr}}.yoast-post-settings-modal__button-container{border-bottom:1px solid #0003;display:flex;flex-direction:column;padding:16px}.yoast-post-settings-modal .components-modal__content{display:flex;flex-direction:column;padding:0}.yoast-post-settings-modal .components-modal__header{border-bottom:var(--yoast-border-default);flex-shrink:0;margin:0}.yoast-post-settings-modal .yoast-notice-container{bottom:0;left:0;margin-top:auto;position:sticky;width:100%;z-index:1}.yoast-post-settings-modal .components-modal__content>div:not([class]):not([class=""]){display:flex;flex-direction:column;overflow:hidden}.yoast-post-settings-modal .yoast-notice-container>hr{margin-bottom:0;margin-top:-1px}.yoast-post-settings-modal .yoast-content-container{flex-grow:1;overflow-y:auto}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;margin:0;padding:24px}.yoast-post-settings-modal .yoast-button-container p{align-self:center;color:var(--yoast-color-label-help);padding-right:24px}.yoast-post-settings-modal .yoast-button-container button{align-self:center;flex-shrink:0;max-height:45px}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{justify-content:space-between;padding:16px}.yoast-post-settings-modal .yoast-button-container p{padding-right:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}.yoast-wincher-seo-performance-modal__content{padding:25px 32px 32px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{border:none;position:relative}.yoast-related-keyphrases-modal__chart{display:block}.m6zwb4v,.m6zwb4v:visited{background:#e6f3ff;border-radius:2px;color:#575f67;cursor:pointer;display:inline-block;padding-left:2px;padding-right:2px;-webkit-text-decoration:none;text-decoration:none}.m6zwb4v:focus,.m6zwb4v:hover{background:#edf5fd;color:#677584;outline:0}.m6zwb4v:active{background:#455261;color:#222}.mnw6qvm{background:#fff;border:1px solid #eee;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;max-width:440px;min-width:220px;padding-bottom:8px;padding-top:8px;position:absolute;transform:scale(0);z-index:2}.m1ymsnxd{opacity:0;transition:opacity .25s cubic-bezier(.3,1.2,.2,1)}.m126ak5t{opacity:1}.mtiwdxc{padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.mtiwdxc:active{background-color:#cce7ff}.myz2dw1{background-color:#e6f3ff;padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.myz2dw1:active{background-color:#cce7ff}.mpqdcgq{font-size:.9em;margin-bottom:.2em;margin-left:8px;max-width:368px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m1mfvffo,.mpqdcgq{display:inline-block}.m1mfvffo{border-radius:12px;height:24px;width:24px} +/*!rtl:begin:ignore*/.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:#fff0;border-left:.1px solid #0000;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4} +/*!rtl:end:ignore*/#wpseo_meta{box-sizing:border-box}#wpseo_meta *,#wpseo_meta :after,#wpseo_meta :before{box-sizing:inherit}.DraftEditor-root [data-block]{margin:0}#edittag>#wp-description-wrap{display:none}#wp-description-wrap .wp-editor-area{border:0}.term-description-wrap td>textarea#description{min-height:530px}.wpseo-meta-section,.wpseo-meta-section-react{border:1px solid #0003;display:none;height:auto;max-width:600px;min-height:100%;vertical-align:top;width:100%}.wpseo-meta-section-react.active,.wpseo-meta-section.active{background:#fff;position:relative;z-index:12}.wpseo-meta-section.active{display:inline-block}.wpseo-meta-section-react.active{display:block;margin-bottom:10px}.wpseo-meta-section-content{padding:16px}.wpseo-metabox-content{max-width:800px;padding-top:16px}.edit-post-meta-boxes-area__container .wpseo-metabox .postbox-header{border-bottom:1px solid #ddd}.edit-post-meta-boxes-area__container .wpseo-metabox .inside{background-color:#f1f5f9}.edit-post-meta-boxes-area__container .wpseo-metabox .wpseo-metabox-content{max-width:none;padding:32px 8px 8px}.edit-post-meta-boxes-area__container .wpseo-metabox .wpseo-meta-section,.edit-post-meta-boxes-area__container .wpseo-metabox .wpseo-metabox-menu{margin:0 auto}.edit-post-meta-boxes-area__container .wpseo-metabox .wpseo-meta-section.active{display:block}.wpseo-metabox-menu{max-width:600px;padding:0}.wpseo-metabox-menu ul{align-items:flex-end;display:flex;flex-wrap:wrap;flex-flow:wrap-reverse;margin:0 1px 0 0;padding:0 0 0 16px}.wpseo-metabox-menu ul li:first-child{z-index:10}.wpseo-metabox-menu ul li:nth-child(2){z-index:9}.wpseo-metabox-menu ul li:nth-child(3){z-index:8}.wpseo-metabox-menu ul li:nth-child(4){z-index:7}.wpseo-metabox-menu ul li:nth-child(5){z-index:6}.wpseo-metabox-menu ul li:nth-child(6){z-index:5}.wpseo-metabox-menu ul li{background-color:#f8f8f8;box-shadow:0 0 4px 0 #0000001a;height:32px;margin-bottom:-1px;margin-left:-1px;position:relative;text-align:center}.wpseo-metabox-menu ul li a{align-items:center;border:1px solid #0003;border-bottom:2px #0000;color:#0073aa;display:flex}.wpseo-metabox-menu ul li a:focus{box-shadow:inherit}.wpseo-metabox-menu ul li .yst-traffic-light{height:20px;margin-left:4px;margin-right:10px;width:auto}.wpseo-metabox-menu ul li span.dashicons{margin-right:8px}.wpseo-metabox-menu ul li span.wpseo-buy-premium{color:#a4286a}.wpseo-metabox-menu ul li span.wpseo-buy-premium:hover{color:#832055}.wpseo-metabox-menu ul li.active{background-color:#fff;border-bottom:2px #0000;box-shadow:none;height:36px;margin-top:-4px;z-index:13}.wpseo-metabox-menu ul li.active a{color:#444;height:36px}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium{border-color:#a4286a;color:#a4286a}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium:hover{border-color:#832055;color:#832055}.wpseo-metabox-menu a{height:32px;padding:0 8px;text-decoration:none}.wpseotab{background-color:#fdfdfd;border:1px solid #ddd;display:none;padding:16px}.wpseotab .wpseo-cornerstone-checkbox{margin-right:.5em}.wpseotab.content{padding:20px 15px}.wpseotab.active{display:block}.wpseo-metabox-sidebar .dashicons{font-size:30px;height:30px;width:30px}#wpseo_meta .inside{margin:0}#wpseo_meta .inside:after{clear:both;content:"";display:table}#wpseo_meta .postbox .inside .wpseotab{font-size:13px!important}.wpseo-form input,.wpseo-form label,.wpseo-form p.error-message,.wpseo-form textarea{max-width:600px}.wpseo-form fieldset{padding-top:5px}.wpseo-form legend{font-weight:600}.wpseo-form label{display:block;font-weight:600}.wpseo-form input[type=checkbox]+label,.wpseo-form input[type=radio]+label{display:inline-block;font-weight:400}.wpseo-form fieldset,.wpseo-form label{margin-bottom:.5em;margin-top:2em}.wpseo-form input[type=checkbox],.wpseo-form input[type=checkbox]+label{font-size:1em;margin-bottom:0;margin-top:2em}.wpseo-form fieldset:first-child,.wpseo-form input[type=checkbox]:first-child,.wpseo-form input[type=checkbox]:first-child+label,.wpseo-form label:first-child{margin-top:10px}.wpseo-form input[type=radio]{margin-top:0}.wpseo-form input[type=radio]+label{margin:0 1em 0 0}.wpseo-form p.error-message{margin:.5em 0}.wpseo-form select[multiple]{margin-top:0}.yoast-metabox__description{margin:.5em 0;max-width:600px}.wpseo_image_upload_button{margin-left:3px}.good,.warn,.wrong{font-weight:600}.good{color:green}.warn{color:maroon}.wrong{color:#dc3232}#current_seo_title span{background-color:#ffffe0;padding:2px 5px}#focuskwresults ul{margin:0}#focuskwresults li,#focuskwresults p{font-size:13px}#focuskwresults li{list-style-type:disc;margin:0 0 0 20px}.wpseo_hidden{display:none}.wpseo_msg{background-color:#ffffe0;border:1px solid #e6db55;margin:5px 0 10px;padding:0 5px}.snippet-editor__button.snippet-editor__edit-button:focus{background-color:#fafafa;border-color:#5b9dd9;box-shadow:0 0 3px #0073aacc;color:#23282d;outline:none}.wpseo-admin-page .subsubsub li{display:inline;max-width:none}.yoast-seo-help-container{float:left;max-width:none;width:100%}.yoast-seo-help-container .yoast-help-panel{margin:.5em 0!important}.wpseo_content_wrapper p.search-box{margin:10px 0 5px}#wpseotab .ui-widget-content .ui-state-hover{background:#f1f1f1;border:1px solid #dfdfdf;color:#333}.yst-traffic-light{height:30px;margin:0 0 0 5px;width:19px}.yst-traffic-light .traffic-light-color{display:none}.yst-traffic-light.bad .traffic-light-red,.yst-traffic-light.good .traffic-light-green,.yst-traffic-light.init .traffic-light-init,.yst-traffic-light.na .traffic-light-empty,.yst-traffic-light.ok .traffic-light-orange{display:inline}.yoast-seo-score .yoast-logo.svg{background:var(--yoast-svg-icon-yoast) no-repeat;background-size:18px;flex-shrink:0;float:left;height:18px;margin-right:7px;width:18px}.yoast-seo-score .yoast-logo.svg.good{background-image:var(--yoast-svg-icon-yoast-good)}.yoast-seo-score .yoast-logo.svg.ok{background-image:var(--yoast-svg-icon-yoast-ok)}.yoast-seo-score .yoast-logo.svg.bad{background-image:var(--yoast-svg-icon-yoast-bad)}.yoast-seo-score .yoast-logo.svg.na,.yoast-seo-score .yoast-logo.svg.noindex{background-image:var(--yoast-svg-icon-yoast)}.term-php .wpseo-taxonomy-metabox-postbox>h2{border-bottom:1px solid #eee;font-size:14px;line-height:1.4;margin:0;padding:8px 12px}#TB_window #TB_ajaxContent p{margin:5px 0 0;padding:5px 0 0}#TB_window #TB_ajaxContent ul{margin:5px 0 10px}#TB_window #TB_ajaxContent li{list-style:none;margin:5px 0 0}#TB_window #TB_ajaxContent li:before{content:"+";font-weight:700;margin:0 10px 0 0}.yoast-section__heading-icon-list{background-image:var(--yoast-svg-icon-list)}.yoast-section__heading-icon-key{background-image:var(--yoast-svg-icon-key)}.yoast-section__heading-icon-edit{background-image:var(--yoast-svg-icon-edit)}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.screen-reader-text.wpseo-generic-tab-textual-score,.screen-reader-text.wpseo-keyword-tab-textual-score{display:block}.yoast-notice-go-premium{background:#f1f1f1;border-left-color:#a4286a;margin:0}.editor-styles-wrapper mark.annotation-text-yoast{background-color:#e1bee7}@media screen and (max-width:782px){.wpseo-metabox-buy-premium .wpseo-buy-premium{display:inline-block;height:20px;margin-right:5px;padding:0;width:20px}.yoast-help-panel{max-width:none!important}#wpseo-crawl-issues-table-form .subsubsub{float:none;max-width:calc(100vw - 20px)}#wpseo-crawl-issues-table-form .yoast-help-button{margin-top:3px}.wpseotab select[multiple]{height:auto!important}}@media screen and (max-width:600px){.wpseotab.content{padding:16px 0}}.wpseo-score-icon-container{align-items:center;display:flex;height:20px;justify-content:center;margin-right:8px;width:20px}.yoast-seo-sidebar-panel .yoast-analysis-check{display:flex}.yoast-seo-sidebar-panel .yoast-analysis-check svg{margin-right:5px;margin-top:6px}.yoast-seo-sidebar-panel .yoast-analysis-check span{line-height:1.5;margin-top:3px}.yoast-seo-sidebar-panel div{line-height:2}.yoast-seo-sidebar-panel div svg{vertical-align:middle}ul.yoast-seo-social-share-buttons li{display:inline-block;margin-right:24px}ul.yoast-seo-social-share-buttons li .x-share svg{fill:#000;height:30px;width:30px}ul.yoast-seo-social-share-buttons svg{height:32px;margin-bottom:8px;width:32px}ul.yoast-seo-social-share-buttons a{align-items:center;display:flex;flex-direction:column}.yoast-field-group.yoast-wincher-post-publish{margin-bottom:10px}.edit-post-pinned-plugins button.components-button:not(.is-compact)[aria-label="Yoast SEO Premium"]>svg,.edit-post-pinned-plugins button.components-button:not(.is-compact)[aria-label="Yoast SEO"]>svg,div.interface-pinned-items button.components-button:not(.is-compact)[aria-label="Yoast SEO Premium"]>svg,div.interface-pinned-items button.components-button:not(.is-compact)[aria-label="Yoast SEO"]>svg{height:28px;max-height:28px;max-width:28px;width:28px}div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO Premium"]>svg path,div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO"]>svg path{fill:#fff}.wpseo-schema-icon{align-items:center;background-image:var(--yoast-svg-icon-schema);background-size:cover;display:flex;height:16px;justify-content:center;margin-right:8px;width:16px}.wpseo-metabox-menu ul li.active a .wpseo-schema-icon{background-image:var(--yoast-svg-icon-schema-active)}.yoast-icon-span svg{fill:inherit;margin-right:8px}.yoast.components-panel__body{border-top:0}.components-button>.yoast-title-container{flex-grow:1;line-height:normal;overflow-x:hidden}.yoast-title-container>.yoast-subtitle,.yoast-title-container>.yoast-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yoast-title-container>.yoast-subtitle{font-size:.8125rem;font-weight:300;margin-top:2px}.yoast.components-panel__body .yoast-chevron{background-color:#1e1e1e;display:inline-block;height:24px;-webkit-mask-image:var(--yoast-svg-icon-chevron-down);mask-image:var(--yoast-svg-icon-chevron-down);-webkit-mask-size:100% 100%;mask-size:100% 100%;width:24px}.yoast.components-panel__body.is-opened .yoast-chevron{-webkit-mask-image:var(--yoast-svg-icon-chevron-up);mask-image:var(--yoast-svg-icon-chevron-up)}.yoast .components-panel__body-toggle{padding-right:16px}.yoast .components-form-token-field__remove-token.components-button,.yoast .components-form-token-field__token-text{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}.yoast .yoast-insights{color:#404040}.yoast .yoast-insights .yoast-field-group__title>b{color:var(--yoast-color-primary);font-size:16px;font-weight:var(--yoast-font-weight-default);line-height:1.2em}.yoast .yoast-insights-card__score{color:var(--yoast-color-primary);margin-block:0}.yoast .yoast-insights-card__description{line-height:1.4em}.yoast .yoast-prominent-words p,.yoast .yoast-prominent-words ul,.yoast .yoast-text-formality p{margin-block:1.2em}.yoast #wpseo-metabox-root .yoast-prominent-words{border-bottom:1px solid #0000001a;margin-bottom:24px;padding-bottom:24px}.yoast .yoast-insights .yoast-data-model--upsell li{color:#bbb}.yoast .yoast-insights .yoast-data-model--upsell li:after{background:#fdf4f8} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2340-rtl.css new file mode 100644 index 00000000..6070b13b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2340-rtl.css @@ -0,0 +1 @@ +.wpseo-is-primary-term,.wpseo-primary-term>label{font-weight:600}.wpseo-non-primary-term>.wpseo-is-primary-term,.wpseo-primary-term>.wpseo-make-primary-term,.wpseo-term-unchecked>.wpseo-is-primary-term,.wpseo-term-unchecked>.wpseo-make-primary-term{display:none}.wpseo-is-primary-term,.wpseo-make-primary-term{float:left}.wpseo-non-primary-term:after,.wpseo-non-primary-term:before,.wpseo-primary-term:after,.wpseo-primary-term:before{content:"";display:table}.wpseo-non-primary-term:after,.wpseo-primary-term:after{clear:both}.wpseo-make-primary-term{background:none;border:none;color:#0073aa;cursor:pointer;margin:4px 0 0;padding:0;text-decoration:underline}.wpseo-make-primary-term:hover{color:#00a0d2} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2340.css new file mode 100644 index 00000000..32b768ce --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2340.css @@ -0,0 +1 @@ +.wpseo-is-primary-term,.wpseo-primary-term>label{font-weight:600}.wpseo-non-primary-term>.wpseo-is-primary-term,.wpseo-primary-term>.wpseo-make-primary-term,.wpseo-term-unchecked>.wpseo-is-primary-term,.wpseo-term-unchecked>.wpseo-make-primary-term{display:none}.wpseo-is-primary-term,.wpseo-make-primary-term{float:right}.wpseo-non-primary-term:after,.wpseo-non-primary-term:before,.wpseo-primary-term:after,.wpseo-primary-term:before{content:"";display:table}.wpseo-non-primary-term:after,.wpseo-primary-term:after{clear:both}.wpseo-make-primary-term{background:none;border:none;color:#0073aa;cursor:pointer;margin:4px 0 0;padding:0;text-decoration:underline}.wpseo-make-primary-term:hover{color:#00a0d2} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2340-rtl.css new file mode 100644 index 00000000..9737503e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2340-rtl.css @@ -0,0 +1 @@ +.yoast-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:#a4286a99;bottom:0;right:0;position:fixed;left:0;top:0;z-index:100000}.yoast-modal{background:#fff;bottom:48px;display:flex;flex-direction:column;height:calc(100% - 96px);right:calc(50% - 440px);max-width:880px;overflow:hidden;position:fixed;top:48px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:20px;margin-left:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:20px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-columns:280px 1fr;grid-template-rows:72px 1fr 88px}.yoast-modal__heading{align-items:center;background:var(--yoast-color-white);border-bottom:var(--yoast-border-default);box-sizing:border-box;display:flex;grid-area:heading;min-height:72px;padding:0 24px}.yoast-modal__heading .yoast-close{position:absolute;left:16px}.yoast-gutenberg-modal__box.components-modal__frame{box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@media (min-width:600px){.yoast-gutenberg-modal__box.components-modal__frame{border-radius:8px;max-height:calc(100% - 48px)}}.yoast-gutenberg-modal__no-padding .components-modal__content{padding:0}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{color:var(--yoast-color-primary);font-size:20px;font-weight:400;line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__content .components-modal__header{border-bottom:1px solid #e2e8f0!important}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);flex-shrink:0;height:20px;margin-left:16px;width:19px}.yoast-modal__menu{border-left:var(--yoast-border-default);grid-area:menu;overflow-y:auto}.yoast-modal__menu ul{list-style:none;margin:0;padding:0}.yoast-modal__menu li{border-bottom:var(--yoast-border-default);color:var(--yoast-color-default);cursor:pointer;display:block;font-size:16px;padding:12px 16px 11px;text-decoration:none}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{display:flex;flex-direction:column;flex-grow:1;grid-area:content;overflow-y:auto;position:relative}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{background:var(--yoast-color-white);padding:24px 24px 0;position:sticky;top:0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{align-items:center;align-self:flex-end;background:var(--yoast-color-white);border-top:var(--yoast-border-default);bottom:0;box-sizing:border-box;display:flex;grid-area:footer;justify-content:flex-end;margin:0 24px;min-height:88px;padding:0;position:sticky;width:calc(100% - 48px);z-index:10}.yoast-modal__settings-saved{align-items:center;display:inline-flex;margin-left:16px;position:relative}.yoast-modal__settings-saved:before{background:var(--yoast-checkmark--green) no-repeat center;content:"";display:inline-block;height:13px;margin-left:8px;width:14px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{flex-grow:1;padding:24px}@media screen and (max-width:880px){.yoast-modal{bottom:0;height:auto;right:0;left:0;top:0}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{min-height:48px;padding:0 16px;position:fixed;top:0;width:100%;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-left:8px}.yoast .yoast-close{left:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{flex-grow:0;overflow:initial}.yoast-modal__section-content{margin:0 16px;padding:24px 0}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{margin:0;padding:0;position:sticky;top:48px}.yoast-modal__section-open .yoast-modal__section-header{margin-right:16px;margin-left:16px;padding-right:0;padding-left:0}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{margin:0;min-height:72px;padding:0 16px;position:fixed;width:100%;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{border-bottom:var(--yoast-border-default);margin:0;padding:24px 16px}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{background:#fff;border:none;border-bottom:var(--yoast-border-default);color:var(--yoast-color-primary);cursor:pointer;font-size:var(--yoast-font-size-default);justify-content:space-between;padding:16px;text-align:right;width:100%}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(-180deg)}.yoast-collapsible__trigger[aria-expanded=true]{margin:0 16px;padding:16px 0;width:calc(100% - 32px)}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;border:none;display:block;float:left;height:19px;width:19px}.yoast-collapsible-block{margin-top:48px;width:100%}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{height:100%;max-height:calc(100% - 96px);max-width:calc(100% - 96px);overflow:hidden;width:880px}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{grid-gap:24px;display:grid;grid-template-columns:1fr 1fr}}.yoast-post-settings-modal__button-container{border-bottom:1px solid #0003;display:flex;flex-direction:column;padding:16px}.yoast-post-settings-modal .components-modal__content{display:flex;flex-direction:column;padding:0}.yoast-post-settings-modal .components-modal__header{border-bottom:var(--yoast-border-default);flex-shrink:0;margin:0}.yoast-post-settings-modal .yoast-notice-container{bottom:0;right:0;margin-top:auto;position:sticky;width:100%;z-index:1}.yoast-post-settings-modal .components-modal__content>div:not([class]):not([class=""]){display:flex;flex-direction:column;overflow:hidden}.yoast-post-settings-modal .yoast-notice-container>hr{margin-bottom:0;margin-top:-1px}.yoast-post-settings-modal .yoast-content-container{flex-grow:1;overflow-y:auto}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;margin:0;padding:24px}.yoast-post-settings-modal .yoast-button-container p{align-self:center;color:var(--yoast-color-label-help);padding-left:24px}.yoast-post-settings-modal .yoast-button-container button{align-self:center;flex-shrink:0;max-height:45px}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{justify-content:space-between;padding:16px}.yoast-post-settings-modal .yoast-button-container p{padding-left:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}.yoast-wincher-seo-performance-modal__content{padding:25px 32px 32px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{border:none;position:relative}.yoast-related-keyphrases-modal__chart{display:block} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2340.css new file mode 100644 index 00000000..b4af6b4f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2340.css @@ -0,0 +1 @@ +.yoast-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:#a4286a99;bottom:0;left:0;position:fixed;right:0;top:0;z-index:100000}.yoast-modal{background:#fff;bottom:48px;display:flex;flex-direction:column;height:calc(100% - 96px);left:calc(50% - 440px);max-width:880px;overflow:hidden;position:fixed;top:48px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:20px;margin-right:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:20px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-columns:280px 1fr;grid-template-rows:72px 1fr 88px}.yoast-modal__heading{align-items:center;background:var(--yoast-color-white);border-bottom:var(--yoast-border-default);box-sizing:border-box;display:flex;grid-area:heading;min-height:72px;padding:0 24px}.yoast-modal__heading .yoast-close{position:absolute;right:16px}.yoast-gutenberg-modal__box.components-modal__frame{box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@media (min-width:600px){.yoast-gutenberg-modal__box.components-modal__frame{border-radius:8px;max-height:calc(100% - 48px)}}.yoast-gutenberg-modal__no-padding .components-modal__content{padding:0}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{color:var(--yoast-color-primary);font-size:20px;font-weight:400;line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__content .components-modal__header{border-bottom:1px solid #e2e8f0!important}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);flex-shrink:0;height:20px;margin-right:16px;width:19px}.yoast-modal__menu{border-right:var(--yoast-border-default);grid-area:menu;overflow-y:auto}.yoast-modal__menu ul{list-style:none;margin:0;padding:0}.yoast-modal__menu li{border-bottom:var(--yoast-border-default);color:var(--yoast-color-default);cursor:pointer;display:block;font-size:16px;padding:12px 16px 11px;text-decoration:none}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{display:flex;flex-direction:column;flex-grow:1;grid-area:content;overflow-y:auto;position:relative}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{background:var(--yoast-color-white);padding:24px 24px 0;position:sticky;top:0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{align-items:center;align-self:flex-end;background:var(--yoast-color-white);border-top:var(--yoast-border-default);bottom:0;box-sizing:border-box;display:flex;grid-area:footer;justify-content:flex-end;margin:0 24px;min-height:88px;padding:0;position:sticky;width:calc(100% - 48px);z-index:10}.yoast-modal__settings-saved{align-items:center;display:inline-flex;margin-right:16px;position:relative}.yoast-modal__settings-saved:before{background:var(--yoast-checkmark--green) no-repeat center;content:"";display:inline-block;height:13px;margin-right:8px;width:14px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{flex-grow:1;padding:24px}@media screen and (max-width:880px){.yoast-modal{bottom:0;height:auto;left:0;right:0;top:0}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{min-height:48px;padding:0 16px;position:fixed;top:0;width:100%;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-right:8px}.yoast .yoast-close{right:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{flex-grow:0;overflow:initial}.yoast-modal__section-content{margin:0 16px;padding:24px 0}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{margin:0;padding:0;position:sticky;top:48px}.yoast-modal__section-open .yoast-modal__section-header{margin-left:16px;margin-right:16px;padding-left:0;padding-right:0}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{margin:0;min-height:72px;padding:0 16px;position:fixed;width:100%;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{border-bottom:var(--yoast-border-default);margin:0;padding:24px 16px}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{background:#fff;border:none;border-bottom:var(--yoast-border-default);color:var(--yoast-color-primary);cursor:pointer;font-size:var(--yoast-font-size-default);justify-content:space-between;padding:16px;text-align:left;width:100%}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(180deg)}.yoast-collapsible__trigger[aria-expanded=true]{margin:0 16px;padding:16px 0;width:calc(100% - 32px)}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;border:none;display:block;float:right;height:19px;width:19px}.yoast-collapsible-block{margin-top:48px;width:100%}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{height:100%;max-height:calc(100% - 96px);max-width:calc(100% - 96px);overflow:hidden;width:880px}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{grid-gap:24px;display:grid;grid-template-columns:1fr 1fr}}.yoast-post-settings-modal__button-container{border-bottom:1px solid #0003;display:flex;flex-direction:column;padding:16px}.yoast-post-settings-modal .components-modal__content{display:flex;flex-direction:column;padding:0}.yoast-post-settings-modal .components-modal__header{border-bottom:var(--yoast-border-default);flex-shrink:0;margin:0}.yoast-post-settings-modal .yoast-notice-container{bottom:0;left:0;margin-top:auto;position:sticky;width:100%;z-index:1}.yoast-post-settings-modal .components-modal__content>div:not([class]):not([class=""]){display:flex;flex-direction:column;overflow:hidden}.yoast-post-settings-modal .yoast-notice-container>hr{margin-bottom:0;margin-top:-1px}.yoast-post-settings-modal .yoast-content-container{flex-grow:1;overflow-y:auto}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;margin:0;padding:24px}.yoast-post-settings-modal .yoast-button-container p{align-self:center;color:var(--yoast-color-label-help);padding-right:24px}.yoast-post-settings-modal .yoast-button-container button{align-self:center;flex-shrink:0;max-height:45px}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{justify-content:space-between;padding:16px}.yoast-post-settings-modal .yoast-button-container p{padding-right:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}.yoast-wincher-seo-performance-modal__content{padding:25px 32px 32px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{border:none;position:relative}.yoast-related-keyphrases-modal__chart{display:block} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2340-rtl.css new file mode 100644 index 00000000..6ca7bccf --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2340-rtl.css @@ -0,0 +1 @@ +:root{--yoast-border-default:1px solid #0003;--yoast-color-default:#404040;--yoast-color-default-darker:#303030;--yoast-color-primary:#a4286a;--yoast-color-secondary:#f7f7f7;--yoast-color-white:#fff;--yoast-color-green:#6ea029;--yoast-color-primary-darker:#7b1e50;--yoast-color-primary-lighter:#f5d6e6;--yoast-color-secondary-darker:#d9d9d9;--yoast-color-button-upsell:#fec228;--yoast-color-button-upsell-hover:#f2ae01;--yoast-color-dark:#303030;--yoast-color-sale:#fec228;--yoast-color-sale-darker:#feb601;--yoast-color-border:#0003;--yoast-color-label:#303030;--yoast-color-label-help:#707070;--yoast-color-active:#6ea029;--yoast-color-inactive:#dc3232;--yoast-color-inactive-text:#707070;--yoast-color-inactive-grey:#9e9e9e;--yoast-color-inactive-grey-light:#f1f1f1;--yoast-color-active-light:#b6cf94;--yoast-transition-default:all 150ms ease-out;--yoast-color-link:#006dac;--yoast-color-border--default:#0003;--yoast-color-focus:0 0 0 2px #007fff,0 0 0 5px #bfdfff;--yoast-svg-icon-chevron-down:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-chevron-up:url('data:image/svg+xml;charset=utf-8,');--yoast-checkmark--white:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' viewBox='0 0 512 512'%3E%3Cpath d='m173.898 439.404-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001'/%3E%3C/svg%3E");--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23m-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23m640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 1792 1792'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' aria-hidden='true' viewBox='0 0 192 512'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960M944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34m848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136m0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136m1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5M384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136m1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5m0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5'/%3E%3C/svg%3E");--yoast-svg-icon-key:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-edit:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url('data:image/svg+xml;charset=utf-8,');--yoast-checkmark--green:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236EA029' viewBox='0 0 512 512'%3E%3Cpath d='m173.898 439.404-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001'/%3E%3C/svg%3E");--yoast-exclamation-mark:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23DC3232' viewBox='0 0 512 512'%3E%3Cpath d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248m-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46m-43.673-165.346 7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654'/%3E%3C/svg%3E");--yoast-svg-icon-schema:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24m181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24m32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24m-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24m-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24M0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24m386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24m0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24M181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24'/%3E%3C/svg%3E");--yoast-svg-icon-schema-active:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' aria-hidden='true'%3E%3Cpath fill='D4444' d='M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24m181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24m32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24m-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24m-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24M0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24m386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24m0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24M181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24'/%3E%3C/svg%3E");--yoast-svg-icon-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23707070' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 16 4.586-4.586a2 2 0 0 1 2.828 0L16 16m-2-2 1.586-1.586a2 2 0 0 1 2.828 0L20 14m-6-6h.01M6 20h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2'/%3E%3C/svg%3E");--yoast-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--yoast-font-size-default:14px;--yoast-font-weight-default:400;--yoast-font-weight-bold:600;--yoast-color-font-default:#404040;--yoast-shadow-default:0px 3px 6px #00000026}.yoast-h1,.yoast-h2,.yoast-h3{color:var(--yoast-color-primary);font-weight:400;line-height:1.2;margin:0}.yoast-h1 a,.yoast-h2 a,.yoast-h3 a{color:var(--yoast-color-primary);text-decoration:none}.yoast-h1{font-size:24px}.yoast-h2{font-size:20px}.yoast-h3{font-size:16px}.yoast-paragraph{font-size:var(--yoast-font-size-default);margin-top:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);margin:-1px;padding:0}.screen-reader-text,.visually-hidden{height:1px;overflow:hidden;position:absolute;width:1px}.visually-hidden{clip:rect(1px,1px,1px,1px);word-wrap:normal;white-space:nowrap}@media (max-width:782px){.yoast-show-on-mobile{display:initial!important}}@media (min-width:782px){.yoast-hide-on-desktop{display:none}}.yoast-field-group__title-separator{display:flex;flex-wrap:wrap}.yoast-field-group__title-separator label{align-items:center;border:var(--yoast-border-default);box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;height:42px;justify-content:center;margin:0 0 6px 6px;width:42px}.yoast-field-group__title-separator input[type=radio]:checked+label{border:3px solid var(--yoast-color-primary)}.yoast .yoast-button{align-items:center;border:1px solid #0003;border-radius:4px;box-shadow:inset 0 -2px 0 #0000001a;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;line-height:1.2;padding:10px 12px 12px;position:relative;text-decoration:none;transition:background-color .15s ease-out 0s}.yoast .yoast-button:focus,.yoast-close:focus,.yoast-hide:focus,.yoast-remove:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast .yoast-button::-moz-focus-inner,.yoast-close::-moz-focus-inner,.yoast-hide::-moz-focus-inner,.yoast-remove::-moz-focus-inner{border:0}.yoast .yoast-button:not(:disabled):active{box-shadow:none;top:2px}.yoast .yoast-button:disabled{cursor:default;opacity:.5}.yoast .yoast-button--primary{background-color:var(--yoast-color-primary)}.yoast .yoast-button--primary,.yoast .yoast-button--primary:visited{border:1px solid #0003;color:var(--yoast-color-white)}.yoast .yoast-button--primary:active,.yoast .yoast-button--primary:not(:disabled):hover{background-color:var(--yoast-color-primary-darker);border:1px solid #0003;color:var(--yoast-color-white)}.yoast .yoast-button--primary:focus{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}.yoast .yoast-button--secondary{background-color:var(--yoast-color-secondary);box-shadow:inset 0 -2px 0 #0000001a;color:var(--yoast-color-dark)}.yoast .yoast-button--secondary:visited{color:var(--yoast-color-dark)}.yoast .yoast-button--secondary:active,.yoast .yoast-button--secondary:not(:disabled):hover{background-color:var(--yoast-color-secondary-darker);border:1px solid #0003;color:var(--yoast-color-dark)}.yoast .yoast-button--buy{background-color:var(--yoast-color-sale)}.yoast .yoast-button--buy,.yoast .yoast-button--buy:visited{color:var(--yoast-color-dark)}.yoast .yoast-button--buy:active,.yoast .yoast-button--buy:not(:disabled):hover{background-color:var(--yoast-color-sale-darker);color:var(--yoast-color-dark)}.yoast .yoast-button--buy__caret{height:16px;margin:0 6px 0 -2px;-webkit-mask-image:var(--yoast-svg-icon-caret-right);mask-image:var(--yoast-svg-icon-caret-right);width:6px}.yoast .yoast-button--buy__caret,.yoast .yoast-button--edit{background-color:currentColor;display:inline-block;flex-shrink:0}.yoast .yoast-button--edit{height:18px;margin-left:8px;-webkit-mask-image:var(--yoast-svg-icon-edit);mask-image:var(--yoast-svg-icon-edit);width:20.25px}html[dir=rtl] .yoast .yoast-button--edit{margin-right:8px;margin-left:0}html[dir=rtl] .yoast .yoast-button--buy{flex-direction:row-reverse}.yoast .yoast-button--small{font-size:13px;padding:5px 8px 8px}.yoast .yoast-button--small .yoast-button--buy__caret{height:10px;width:4px}.yoast-hide,.yoast-remove{background-color:initial;border:none;color:#dc3232;cursor:pointer;font-size:14px;padding:0;text-decoration:underline}.yoast-hide{color:var(--yoast-color-link)}.yoast-field-group__upload .yoast-button{margin-left:24px}.yoast-close{align-items:center;background:none;border:none;box-shadow:none;cursor:pointer;display:flex;height:44px;justify-content:center;padding:0;width:44px}.yoast-close svg{fill:var(--yoast-color-default);width:14px}@media screen and (max-width:782px){.yoast-close svg{width:10px}}.yoast-field-group__checkbox{align-items:center;display:flex}.yoast-field-group__checkbox:not(.yoast-field-group__checkbox--horizontal)+.yoast-field-group__checkbox{margin-top:4px}.yoast-field-group__checkbox label{cursor:pointer}.yoast-field-group__checkbox input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;border:var(--yoast-border-default);border-radius:2px;box-shadow:inset 0 2px 4px #0000001a;cursor:pointer;height:18px;margin:2px 0 0 8px;overflow:hidden;padding:2px;position:relative;transition:background-color .15s ease-out 0s;width:18px}.yoast-field-group__checkbox input[type=checkbox]:checked:focus,.yoast-field-group__checkbox input[type=checkbox]:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast label+input[type=checkbox]{margin-right:16px}.yoast-field-group__checkbox input[type=checkbox]:checked{background:var(--yoast-checkmark--white) var(--yoast-color-primary) no-repeat center /13px;border:1px solid var(--yoast-color-primary);box-shadow:none}.yoast-field-group__checkbox input[type=checkbox]:checked:before{content:""}.yoast-field-group{border:none;margin:0 0 24px;padding:0;position:relative}.yoast-field-group__title{align-items:center;color:var(--yoast-color-label);display:flex;font-size:var(--yoast-font-size-default);font-weight:var(--yoast-font-weight-bold);line-height:1.5;margin:0 0 8px;padding:0}.yoast-field-group__title.yoast-field-group__title--light{font-weight:var(--yoast-font-weight-default)}.yoast-field-group .field-group-description{margin:0 0 1em}.yoast-field-group__inline{align-items:center;display:flex}.yoast-field-group__inline .yoast-field-group__inputfield{margin-left:8px}.yoast-field-group__inline .yoast-button{flex-shrink:0}.yoast-field-group .components-form-token-field__label{display:none}@media screen and (max-width:782px){.yoast-field-group__inline{display:block}.yoast-field-group__inline .yoast-field-group__inputfield{margin-bottom:8px;margin-left:0}}.yoast-help{margin-right:4px}.yoast-help__icon svg{fill:var(--yoast-color-inactive-text);height:12px;transition:var(--yoast-transition-default);width:12px}.yoast-help:focus svg,.yoast-help:hover svg{fill:var(--yoast-color-link)}.yoast-data-model{list-style:none;padding:0}.yoast-data-model li{font-weight:var(--yoast-font-weight-bold);line-height:1.4;padding:0 8px;position:relative;z-index:2}.yoast-data-model span{float:left;font-weight:var(--yoast-font-weight-default)}.yoast-data-model li+li{margin-top:9px}.yoast-data-model li:after{background:#f5d6e6;content:"";height:20px;right:0;position:absolute;width:var(--yoast-width);z-index:-1}.yoast-image-select__preview{align-items:center;background-color:initial;border:1px solid #0003;display:flex;justify-content:center;max-height:200px;max-width:100%;min-height:165px;overflow:hidden;padding:0;width:300px}.yoast-image-select__preview--no-preview{background:var(--yoast-color-inactive-grey-light) var(--yoast-svg-icon-image) no-repeat center center /64px 64px}.yoast-image-select__preview.yoast-image-select__preview-has-warnings{margin-bottom:16px}.yoast-image-select__preview .yoast-image-select__preview--image{height:100%;max-width:100%;object-fit:contain}.yoast-image-select .yoast-field-group__inputfield{margin-bottom:1em}.yoast-image-select .yoast-button{margin-left:1.5em}.yoast-image-select{margin-bottom:1.7em;margin-top:1.7em}.yoast-image-select .yoast-image-select-buttons button{margin-top:1em}#organization-image-select .yoast-image-select{margin-top:0}:root{--yoast-color-placeholder:#707070}.yoast .yoast-field-group__inputfield,.yoast .yoast-field-group__textarea{background:var(--yoast-color-white);border:var(--yoast-border-default);border-radius:0;box-shadow:inset 0 2px 4px #0000001a;box-sizing:border-box;font-size:var(--yoast-font-size-default);padding:8px;width:100%}.yoast .yoast-field-group__inputfield:focus,.yoast .yoast-field-group__textarea:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast-field-group__upload .yoast-field-group__inputfield{margin-bottom:8px}.yoast-field-group__inputfield{height:40px}.yoast-field-group__textarea{min-height:200px}.yoast input+.description,.yoast-field-group .description+.yoast-field-group__inputfield,.yoast-field-group .description+input,.yoast-field-group__inputfield+.description{margin-bottom:24px;margin-top:8px}.yoast .yoast-field-group__inputfield:disabled,.yoast .yoast-field-group__inputfield:read-only,.yoast .yoast-field-group__inputfield[aria-disabled=true]{background:var(--yoast-color-inactive-grey-light)}.yoast .duration-inputs__wrapper{display:flex;flex-direction:row}.yoast .duration-inputs__input-wrapper{display:flex;flex-direction:column}.yoast .duration-inputs__input{margin:0 0 0 8px;width:4em}::placeholder{color:var(--yoast-color-placeholder);opacity:1}.yoast-insights-row:not(:last-of-type){border-bottom:1px solid #0000001a;margin-bottom:24px;padding-bottom:24px}.yoast-insights-row--columns{grid-gap:24px;display:grid;grid-template-columns:1fr 1fr}@media(min-width:782px){.yoast-modal-content .yoast-insights-row{border-bottom:1px solid #0000001a;margin-bottom:24px;padding-bottom:24px}}.yoast-insights-card__content{display:flex}.yoast-insights-card__score{flex-shrink:0;font-size:16px;margin-left:2em}.yoast-insights-card__amount{display:block;font-size:3.5em;line-height:1}.yoast-field-group__radiobutton{align-items:center;display:flex}.yoast-field-group__radiobutton--vertical:not(:last-of-type){margin-bottom:8px}.yoast-field-group__radiobutton label{cursor:pointer;margin-left:16px}.yoast-field-group__radiobutton input[type=radio]{-webkit-appearance:none;-moz-appearance:none;border:var(--yoast-border-default);border-radius:50%;box-shadow:inset 0 2px 4px #0000001a;cursor:pointer;height:18px;margin:0 0 0 8px;overflow:hidden;padding:2px;position:relative;transition:border-color .15s ease-out 0s;width:18px}.yoast-field-group__radiobutton input[type=radio]:checked:focus,.yoast-field-group__radiobutton input[type=radio]:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast-field-group__radiobutton input[type=radio]:checked{background-color:inherit;border-color:var(--yoast-color-primary)}.yoast-field-group__radiobutton input[type=radio]:checked:before{content:none}.yoast-field-group__radiobutton input[type=radio]:after{background-color:initial;border-radius:50%;content:"";display:block;height:10px;right:3px;position:absolute;top:3px;transition:background-color .15s ease-out 0s;width:10px}.yoast-field-group__radiobutton input[type=radio]:checked:after{background-color:var(--yoast-color-primary)}.yoast-field-group__select{align-items:center;cursor:pointer;display:flex}.yoast-select__indicator-separator{display:none}.yoast-select-container{background-color:#fff;border:var(--yoast-border-default);border-radius:0;box-shadow:inset 0 2px 4px #0000001a;display:block;min-height:2.85em;padding:0;position:relative;width:100%}.yoast-select-container .yoast-select__control--is-focused{box-shadow:var(--yoast-color-focus);outline:none}.yoast-select-container .yoast-select__indicator>svg{color:#212121}.yoast-select-container .yoast-select__menu{margin:0;z-index:2}.yoast-select-container .yoast-select__multi-value__label{align-items:center;box-sizing:border-box;color:inherit;display:flex;font-size:14px;padding:0}.yoast-select-container .yoast-select__multi-value{background-color:var(--yoast-color-primary);border:0;border-radius:12px;color:var(--yoast-color-white);display:flex;flex-direction:row-reverse;font-weight:500;line-height:1.5;margin-bottom:3px;margin-left:8px;margin-top:3px;padding:1px 10px 2px}.yoast-select-container .yoast-select__menu-list{padding:0}.yoast-select-container .yoast-select__multi-value__remove{-webkit-box-align:center;align-items:center;border-radius:2px;box-sizing:border-box;display:flex;margin-left:6px;padding:2px 0 0}.yoast-select-container .yoast-select__multi-value__remove:hover{background-color:inherit;color:var(--yoast-color-white);cursor:pointer}.yoast-select-container .yoast-select__control{background-color:initial;border:none;border-radius:0}.yoast-select-container .yoast-select__option{box-sizing:border-box;color:inherit;cursor:default;display:block;padding:8px 12px;-webkit-user-select:none;user-select:none;width:100%}.yoast-select-container .yoast-select__option--is-focused{background-color:var(--yoast-color-primary-lighter);color:var(--yoast-color-font-default)}.yoast-select-container .yoast-select__option.yoast-select__option--is-selected{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}.yoast-select-container input[type=text]:focus{box-shadow:none}.yoast-field-group select,.yoast-field-group__select select{-webkit-appearance:none;-moz-appearance:none;background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,');background-position:left 15px center;background-repeat:no-repeat;background-size:13px auto;border:var(--yoast-border-default);border-radius:0;box-shadow:inset 0 2px 4px #0000001a;display:block;font-size:var(--yoast-font-size-default);max-width:300px;min-height:2.85em;padding:5px 8px;position:relative;width:100%}.yoast-field-group .yoast-select__value-container{padding:0 8px!important}.yoast-field-group select:focus,.yoast-field-group__select select:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast-field-group select,.yoast-field-group__select select{line-height:1.9;padding-left:40px}.yoast-field-group select.yoast-select--inline{display:inline-block}.yoast-field-group--inline{display:inline-block;margin-left:8px;max-width:300px;width:100%}.yoast-star-rating{display:inline-block;height:12px;width:65px}.yoast-star-rating span{background-repeat:repeat-x;background-size:13px 12px;height:100%;width:100%}.yoast-star-rating__placeholder{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAmCAQAAAAYCMGrAAAA+klEQVR4AcWV4cbtMBBFF0MIVUopoVSrhDDv/3gf/RFRpzdNOty1HiBO99mzeYWgCMZMKCPGrCgrxiSUhCkDeukxJKCXAUMiehkxw6FZhxEzmp0x4kCzByYISqlYdal0supS6WrVpdLEK0YSamJiJOPY0c/uOG4s6CcXfuKJaJcRzyNCQJsNiF1sRTR1hP11NNJ8RCrONOPRf+r7J+TZgQ5CNfMOYvW/2YxDqzqA/57+gVY9eiakrnyZEGXDsaE3p/4JScwPX3rtnZATDxnPWT7X16XAHaH8HWNrlxJD9TyGti5tCM84zpZe+RxNjeX9tZqLaGoMxN/P/wHP5Vw+8ZxnEQAAAABJRU5ErkJggg==);display:inline-block;overflow:hidden;position:relative}.yoast-star-rating__fill{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAmBAMAAABALxQTAAAAFVBMVEVMaXH4twP4twP4twP4twP4twP4twP7w8S/AAAAB3RSTlMAFv5uPpvQloUsTQAAAMFJREFUeAGE0TEOgzAMQFEXoDNiYC6/wFxxAsTADDkB5f6HqNRENXUi8TYiRfnY8lNXkjBOkuBWSeAhsYJOYiW9xO4MEqshkTbCSyIH7GLdgFasHHgmwkikZQD6OROZRG4Hxju8o/TNhbNhCqkOxaZDVKdxNnq/EjUS/A2o0PuXpyVeb9bjDWY9QSWXDQfBbtbjtWY9bM4sqfx+5yYt8wNcAFEzrGGkk5668KsFrKewPtQ3aFqh8WOnYZ+lIBQkgykAWk8rlAqcHfQAAAAASUVORK5CYII=);display:block}.yoast-table{border:var(--yoast-border-default);border-bottom:0;border-spacing:0;color:var(--yoast-color-default);font-size:var(--yoast-font-size-default);line-height:1.2;width:100%}.yoast-table tbody tr:nth-child(odd){background-color:#f9f9f9}.yoast-table th{color:var(--yoast-color-dark);font-weight:var(--yoast-font-weight-bold);text-align:right;white-space:nowrap}.yoast-table td,.yoast-table th{border-bottom:var(--yoast-border-default);padding:18px 12px}.yoast-table td:first-child,.yoast-table th:first-child{padding-right:16px}.yoast-table td:last-child,.yoast-table th:last-child{padding-left:16px}td.yoast-table__button,td.yoast-table__image{padding:10px 18px 9px}.yoast-table.yoast-table--nobreak td,td.yoast-table--nobreak,tr.yoast-table--nobreak td{white-space:nowrap}th.yoast-table--primary{width:100%}td.yoast-table--nopadding{padding:0 12px}.yoast-badge{border-radius:8px;display:inline-block;font-size:10px;font-weight:600;line-height:1.6;min-height:16px;padding:0 8px}.yoast-badge__in-label{margin-right:8px;vertical-align:text-top}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-beta-badge{background-color:#cce5ff;color:#004973;margin:0 0 0 2px}.yoast-feature{margin-left:150px;max-width:600px}.yoast-toggle__item{border-bottom:1px solid var(--yoast-color-border);display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:16px}.yoast-toggle__item-disabled{position:relative}.yoast-toggle__item-disabled .yoast-button.yoast-button--buy{right:100%;margin-right:32px;position:absolute;white-space:nowrap}.yoast-toggle__item-disabled .yoast-toggle,.yoast-toggle__item-disabled .yoast-toggle__item-title{opacity:.5}.yoast-toggle__item-title{align-items:center;display:flex;font-weight:700}input[type=checkbox].yoast-toggle__checkbox{-webkit-appearance:none;-moz-appearance:none;background-color:initial;border:0;box-shadow:none;height:23px;margin-right:8px;overflow:hidden;position:absolute;width:34px;z-index:1}input[type=checkbox].yoast-toggle__checkbox:checked:before{content:none}.yoast-toggle__switch{background-color:var(--yoast-color-inactive-grey);border-radius:8px;display:inline-block;height:14px;margin-right:8px;margin-left:8px;position:relative;width:34px}.yoast-toggle__checkbox:focus~.yoast-toggle__switch:before{box-shadow:var(--yoast-color-focus)}.yoast-toggle__switch:before{background-color:var(--yoast-color-inactive-grey-light);border:.5px solid #0000001a;border-radius:50%;box-shadow:0 1px 2px 0 #0006;box-sizing:border-box;content:"";height:20px;right:0;position:absolute;top:-3px;width:20px}.yoast-toggle,.yoast-toggle--inverse{align-items:center;display:grid;grid-template:1fr/repeat(3,auto);position:relative}.yoast-toggle--inverse>*,.yoast-toggle>*{grid-row:1}.yoast-toggle--inactive,.yoast-toggle--inverse .yoast-toggle--active{grid-column:1}.yoast-toggle__checkbox,.yoast-toggle__switch{grid-column:2}.yoast-toggle--active,.yoast-toggle--inverse .yoast-toggle--inactive{grid-column:3}.yoast-toggle .yoast-toggle__checkbox:checked~.yoast-toggle__switch,.yoast-toggle--inverse .yoast-toggle__checkbox:not(:checked)~.yoast-toggle__switch{background-color:var(--yoast-color-active-light)}.yoast-toggle .yoast-toggle__checkbox:checked~.yoast-toggle__switch:before,.yoast-toggle--inverse .yoast-toggle__checkbox:not(:checked)~.yoast-toggle__switch:before{background-color:var(--yoast-color-active);right:auto;left:0}.yoast-toggle--inverse .yoast-toggle__checkbox:checked~.yoast-toggle__switch:before{right:0;left:auto}.yoast-toggle .yoast-toggle__checkbox~.yoast-toggle--inactive,.yoast-toggle--inverse .yoast-toggle__checkbox~.yoast-toggle--inactive{color:var(--yoast-color-default-darker)}.yoast-toggle .yoast-toggle__checkbox:checked~.yoast-toggle--inactive,.yoast-toggle .yoast-toggle__checkbox~.yoast-toggle--active,.yoast-toggle--inverse .yoast-toggle__checkbox:checked~.yoast-toggle--inactive,.yoast-toggle--inverse .yoast-toggle__checkbox~.yoast-toggle--active{color:var(--yoast-color-inactive-text)}.yoast-toggle .yoast-toggle__checkbox:checked~.yoast-toggle--active,.yoast-toggle--inverse .yoast-toggle__checkbox:checked~.yoast-toggle--active{color:var(--yoast-color-default-darker)}@media(max-width:400px){.yoast-feature{margin-left:0}.yoast-toggle__item-disabled{flex-wrap:wrap}.yoast-toggle__item-disabled .yoast-button.yoast-button--buy{margin-right:0;margin-top:8px;position:static}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2340.css new file mode 100644 index 00000000..d03eebb3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2340.css @@ -0,0 +1 @@ +:root{--yoast-border-default:1px solid #0003;--yoast-color-default:#404040;--yoast-color-default-darker:#303030;--yoast-color-primary:#a4286a;--yoast-color-secondary:#f7f7f7;--yoast-color-white:#fff;--yoast-color-green:#6ea029;--yoast-color-primary-darker:#7b1e50;--yoast-color-primary-lighter:#f5d6e6;--yoast-color-secondary-darker:#d9d9d9;--yoast-color-button-upsell:#fec228;--yoast-color-button-upsell-hover:#f2ae01;--yoast-color-dark:#303030;--yoast-color-sale:#fec228;--yoast-color-sale-darker:#feb601;--yoast-color-border:#0003;--yoast-color-label:#303030;--yoast-color-label-help:#707070;--yoast-color-active:#6ea029;--yoast-color-inactive:#dc3232;--yoast-color-inactive-text:#707070;--yoast-color-inactive-grey:#9e9e9e;--yoast-color-inactive-grey-light:#f1f1f1;--yoast-color-active-light:#b6cf94;--yoast-transition-default:all 150ms ease-out;--yoast-color-link:#006dac;--yoast-color-border--default:#0003;--yoast-color-focus:0 0 0 2px #007fff,0 0 0 5px #bfdfff;--yoast-svg-icon-chevron-down:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-chevron-up:url('data:image/svg+xml;charset=utf-8,');--yoast-checkmark--white:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' viewBox='0 0 512 512'%3E%3Cpath d='m173.898 439.404-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001'/%3E%3C/svg%3E");--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23m-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23m640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 1792 1792'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' aria-hidden='true' viewBox='0 0 192 512'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960M944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34m848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136m0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136m1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5M384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136m1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5m0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5'/%3E%3C/svg%3E");--yoast-svg-icon-key:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-edit:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url('data:image/svg+xml;charset=utf-8,');--yoast-checkmark--green:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236EA029' viewBox='0 0 512 512'%3E%3Cpath d='m173.898 439.404-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001'/%3E%3C/svg%3E");--yoast-exclamation-mark:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23DC3232' viewBox='0 0 512 512'%3E%3Cpath d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248m-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46m-43.673-165.346 7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654'/%3E%3C/svg%3E");--yoast-svg-icon-schema:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24m181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24m32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24m-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24m-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24M0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24m386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24m0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24M181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24'/%3E%3C/svg%3E");--yoast-svg-icon-schema-active:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' aria-hidden='true'%3E%3Cpath fill='D4444' d='M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24m181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24m32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24m-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24m-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24M0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24m386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24m0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24M181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24'/%3E%3C/svg%3E");--yoast-svg-icon-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23707070' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 16 4.586-4.586a2 2 0 0 1 2.828 0L16 16m-2-2 1.586-1.586a2 2 0 0 1 2.828 0L20 14m-6-6h.01M6 20h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2'/%3E%3C/svg%3E");--yoast-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--yoast-font-size-default:14px;--yoast-font-weight-default:400;--yoast-font-weight-bold:600;--yoast-color-font-default:#404040;--yoast-shadow-default:0px 3px 6px #00000026}.yoast-h1,.yoast-h2,.yoast-h3{color:var(--yoast-color-primary);font-weight:400;line-height:1.2;margin:0}.yoast-h1 a,.yoast-h2 a,.yoast-h3 a{color:var(--yoast-color-primary);text-decoration:none}.yoast-h1{font-size:24px}.yoast-h2{font-size:20px}.yoast-h3{font-size:16px}.yoast-paragraph{font-size:var(--yoast-font-size-default);margin-top:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);margin:-1px;padding:0}.screen-reader-text,.visually-hidden{height:1px;overflow:hidden;position:absolute;width:1px}.visually-hidden{clip:rect(1px,1px,1px,1px);word-wrap:normal;white-space:nowrap}@media (max-width:782px){.yoast-show-on-mobile{display:initial!important}}@media (min-width:782px){.yoast-hide-on-desktop{display:none}}.yoast-field-group__title-separator{display:flex;flex-wrap:wrap}.yoast-field-group__title-separator label{align-items:center;border:var(--yoast-border-default);box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;height:42px;justify-content:center;margin:0 6px 6px 0;width:42px}.yoast-field-group__title-separator input[type=radio]:checked+label{border:3px solid var(--yoast-color-primary)}.yoast .yoast-button{align-items:center;border:1px solid #0003;border-radius:4px;box-shadow:inset 0 -2px 0 #0000001a;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;line-height:1.2;padding:10px 12px 12px;position:relative;text-decoration:none;transition:background-color .15s ease-out 0s}.yoast .yoast-button:focus,.yoast-close:focus,.yoast-hide:focus,.yoast-remove:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast .yoast-button::-moz-focus-inner,.yoast-close::-moz-focus-inner,.yoast-hide::-moz-focus-inner,.yoast-remove::-moz-focus-inner{border:0}.yoast .yoast-button:not(:disabled):active{box-shadow:none;top:2px}.yoast .yoast-button:disabled{cursor:default;opacity:.5}.yoast .yoast-button--primary{background-color:var(--yoast-color-primary)}.yoast .yoast-button--primary,.yoast .yoast-button--primary:visited{border:1px solid #0003;color:var(--yoast-color-white)}.yoast .yoast-button--primary:active,.yoast .yoast-button--primary:not(:disabled):hover{background-color:var(--yoast-color-primary-darker);border:1px solid #0003;color:var(--yoast-color-white)}.yoast .yoast-button--primary:focus{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}.yoast .yoast-button--secondary{background-color:var(--yoast-color-secondary);box-shadow:inset 0 -2px 0 #0000001a;color:var(--yoast-color-dark)}.yoast .yoast-button--secondary:visited{color:var(--yoast-color-dark)}.yoast .yoast-button--secondary:active,.yoast .yoast-button--secondary:not(:disabled):hover{background-color:var(--yoast-color-secondary-darker);border:1px solid #0003;color:var(--yoast-color-dark)}.yoast .yoast-button--buy{background-color:var(--yoast-color-sale)}.yoast .yoast-button--buy,.yoast .yoast-button--buy:visited{color:var(--yoast-color-dark)}.yoast .yoast-button--buy:active,.yoast .yoast-button--buy:not(:disabled):hover{background-color:var(--yoast-color-sale-darker);color:var(--yoast-color-dark)}.yoast .yoast-button--buy__caret{height:16px;margin:0 -2px 0 6px;-webkit-mask-image:var(--yoast-svg-icon-caret-right);mask-image:var(--yoast-svg-icon-caret-right);width:6px}.yoast .yoast-button--buy__caret,.yoast .yoast-button--edit{background-color:currentColor;display:inline-block;flex-shrink:0}.yoast .yoast-button--edit{height:18px;margin-right:8px;-webkit-mask-image:var(--yoast-svg-icon-edit);mask-image:var(--yoast-svg-icon-edit);width:20.25px}html[dir=rtl] .yoast .yoast-button--edit{margin-left:8px;margin-right:0}html[dir=rtl] .yoast .yoast-button--buy{flex-direction:row-reverse}.yoast .yoast-button--small{font-size:13px;padding:5px 8px 8px}.yoast .yoast-button--small .yoast-button--buy__caret{height:10px;width:4px}.yoast-hide,.yoast-remove{background-color:initial;border:none;color:#dc3232;cursor:pointer;font-size:14px;padding:0;text-decoration:underline}.yoast-hide{color:var(--yoast-color-link)}.yoast-field-group__upload .yoast-button{margin-right:24px}.yoast-close{align-items:center;background:none;border:none;box-shadow:none;cursor:pointer;display:flex;height:44px;justify-content:center;padding:0;width:44px}.yoast-close svg{fill:var(--yoast-color-default);width:14px}@media screen and (max-width:782px){.yoast-close svg{width:10px}}.yoast-field-group__checkbox{align-items:center;display:flex}.yoast-field-group__checkbox:not(.yoast-field-group__checkbox--horizontal)+.yoast-field-group__checkbox{margin-top:4px}.yoast-field-group__checkbox label{cursor:pointer}.yoast-field-group__checkbox input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;border:var(--yoast-border-default);border-radius:2px;box-shadow:inset 0 2px 4px #0000001a;cursor:pointer;height:18px;margin:2px 8px 0 0;overflow:hidden;padding:2px;position:relative;transition:background-color .15s ease-out 0s;width:18px}.yoast-field-group__checkbox input[type=checkbox]:checked:focus,.yoast-field-group__checkbox input[type=checkbox]:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast label+input[type=checkbox]{margin-left:16px}.yoast-field-group__checkbox input[type=checkbox]:checked{background:var(--yoast-checkmark--white) var(--yoast-color-primary) no-repeat center /13px;border:1px solid var(--yoast-color-primary);box-shadow:none}.yoast-field-group__checkbox input[type=checkbox]:checked:before{content:""}.yoast-field-group{border:none;margin:0 0 24px;padding:0;position:relative}.yoast-field-group__title{align-items:center;color:var(--yoast-color-label);display:flex;font-size:var(--yoast-font-size-default);font-weight:var(--yoast-font-weight-bold);line-height:1.5;margin:0 0 8px;padding:0}.yoast-field-group__title.yoast-field-group__title--light{font-weight:var(--yoast-font-weight-default)}.yoast-field-group .field-group-description{margin:0 0 1em}.yoast-field-group__inline{align-items:center;display:flex}.yoast-field-group__inline .yoast-field-group__inputfield{margin-right:8px}.yoast-field-group__inline .yoast-button{flex-shrink:0}.yoast-field-group .components-form-token-field__label{display:none}@media screen and (max-width:782px){.yoast-field-group__inline{display:block}.yoast-field-group__inline .yoast-field-group__inputfield{margin-bottom:8px;margin-right:0}}.yoast-help{margin-left:4px}.yoast-help__icon svg{fill:var(--yoast-color-inactive-text);height:12px;transition:var(--yoast-transition-default);width:12px}.yoast-help:focus svg,.yoast-help:hover svg{fill:var(--yoast-color-link)}.yoast-data-model{list-style:none;padding:0}.yoast-data-model li{font-weight:var(--yoast-font-weight-bold);line-height:1.4;padding:0 8px;position:relative;z-index:2}.yoast-data-model span{float:right;font-weight:var(--yoast-font-weight-default)}.yoast-data-model li+li{margin-top:9px}.yoast-data-model li:after{background:#f5d6e6;content:"";height:20px;left:0;position:absolute;width:var(--yoast-width);z-index:-1}.yoast-image-select__preview{align-items:center;background-color:initial;border:1px solid #0003;display:flex;justify-content:center;max-height:200px;max-width:100%;min-height:165px;overflow:hidden;padding:0;width:300px}.yoast-image-select__preview--no-preview{background:var(--yoast-color-inactive-grey-light) var(--yoast-svg-icon-image) no-repeat center center /64px 64px}.yoast-image-select__preview.yoast-image-select__preview-has-warnings{margin-bottom:16px}.yoast-image-select__preview .yoast-image-select__preview--image{height:100%;max-width:100%;object-fit:contain}.yoast-image-select .yoast-field-group__inputfield{margin-bottom:1em}.yoast-image-select .yoast-button{margin-right:1.5em}.yoast-image-select{margin-bottom:1.7em;margin-top:1.7em}.yoast-image-select .yoast-image-select-buttons button{margin-top:1em}#organization-image-select .yoast-image-select{margin-top:0}:root{--yoast-color-placeholder:#707070}.yoast .yoast-field-group__inputfield,.yoast .yoast-field-group__textarea{background:var(--yoast-color-white);border:var(--yoast-border-default);border-radius:0;box-shadow:inset 0 2px 4px #0000001a;box-sizing:border-box;font-size:var(--yoast-font-size-default);padding:8px;width:100%}.yoast .yoast-field-group__inputfield:focus,.yoast .yoast-field-group__textarea:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast-field-group__upload .yoast-field-group__inputfield{margin-bottom:8px}.yoast-field-group__inputfield{height:40px}.yoast-field-group__textarea{min-height:200px}.yoast input+.description,.yoast-field-group .description+.yoast-field-group__inputfield,.yoast-field-group .description+input,.yoast-field-group__inputfield+.description{margin-bottom:24px;margin-top:8px}.yoast .yoast-field-group__inputfield:disabled,.yoast .yoast-field-group__inputfield:read-only,.yoast .yoast-field-group__inputfield[aria-disabled=true]{background:var(--yoast-color-inactive-grey-light)}.yoast .duration-inputs__wrapper{display:flex;flex-direction:row}.yoast .duration-inputs__input-wrapper{display:flex;flex-direction:column}.yoast .duration-inputs__input{margin:0 8px 0 0;width:4em}::placeholder{color:var(--yoast-color-placeholder);opacity:1}.yoast-insights-row:not(:last-of-type){border-bottom:1px solid #0000001a;margin-bottom:24px;padding-bottom:24px}.yoast-insights-row--columns{grid-gap:24px;display:grid;grid-template-columns:1fr 1fr}@media(min-width:782px){.yoast-modal-content .yoast-insights-row{border-bottom:1px solid #0000001a;margin-bottom:24px;padding-bottom:24px}}.yoast-insights-card__content{display:flex}.yoast-insights-card__score{flex-shrink:0;font-size:16px;margin-right:2em}.yoast-insights-card__amount{display:block;font-size:3.5em;line-height:1}.yoast-field-group__radiobutton{align-items:center;display:flex}.yoast-field-group__radiobutton--vertical:not(:last-of-type){margin-bottom:8px}.yoast-field-group__radiobutton label{cursor:pointer;margin-right:16px}.yoast-field-group__radiobutton input[type=radio]{-webkit-appearance:none;-moz-appearance:none;border:var(--yoast-border-default);border-radius:50%;box-shadow:inset 0 2px 4px #0000001a;cursor:pointer;height:18px;margin:0 8px 0 0;overflow:hidden;padding:2px;position:relative;transition:border-color .15s ease-out 0s;width:18px}.yoast-field-group__radiobutton input[type=radio]:checked:focus,.yoast-field-group__radiobutton input[type=radio]:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast-field-group__radiobutton input[type=radio]:checked{background-color:inherit;border-color:var(--yoast-color-primary)}.yoast-field-group__radiobutton input[type=radio]:checked:before{content:none}.yoast-field-group__radiobutton input[type=radio]:after{background-color:initial;border-radius:50%;content:"";display:block;height:10px;left:3px;position:absolute;top:3px;transition:background-color .15s ease-out 0s;width:10px}.yoast-field-group__radiobutton input[type=radio]:checked:after{background-color:var(--yoast-color-primary)}.yoast-field-group__select{align-items:center;cursor:pointer;display:flex}.yoast-select__indicator-separator{display:none}.yoast-select-container{background-color:#fff;border:var(--yoast-border-default);border-radius:0;box-shadow:inset 0 2px 4px #0000001a;display:block;min-height:2.85em;padding:0;position:relative;width:100%}.yoast-select-container .yoast-select__control--is-focused{box-shadow:var(--yoast-color-focus);outline:none}.yoast-select-container .yoast-select__indicator>svg{color:#212121}.yoast-select-container .yoast-select__menu{margin:0;z-index:2}.yoast-select-container .yoast-select__multi-value__label{align-items:center;box-sizing:border-box;color:inherit;display:flex;font-size:14px;padding:0}.yoast-select-container .yoast-select__multi-value{background-color:var(--yoast-color-primary);border:0;border-radius:12px;color:var(--yoast-color-white);display:flex;flex-direction:row-reverse;font-weight:500;line-height:1.5;margin-bottom:3px;margin-right:8px;margin-top:3px;padding:1px 10px 2px}.yoast-select-container .yoast-select__menu-list{padding:0}.yoast-select-container .yoast-select__multi-value__remove{-webkit-box-align:center;align-items:center;border-radius:2px;box-sizing:border-box;display:flex;margin-right:6px;padding:2px 0 0}.yoast-select-container .yoast-select__multi-value__remove:hover{background-color:inherit;color:var(--yoast-color-white);cursor:pointer}.yoast-select-container .yoast-select__control{background-color:initial;border:none;border-radius:0}.yoast-select-container .yoast-select__option{box-sizing:border-box;color:inherit;cursor:default;display:block;padding:8px 12px;-webkit-user-select:none;user-select:none;width:100%}.yoast-select-container .yoast-select__option--is-focused{background-color:var(--yoast-color-primary-lighter);color:var(--yoast-color-font-default)}.yoast-select-container .yoast-select__option.yoast-select__option--is-selected{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}.yoast-select-container input[type=text]:focus{box-shadow:none}.yoast-field-group select,.yoast-field-group__select select{-webkit-appearance:none;-moz-appearance:none;background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,');background-position:right 15px center;background-repeat:no-repeat;background-size:13px auto;border:var(--yoast-border-default);border-radius:0;box-shadow:inset 0 2px 4px #0000001a;display:block;font-size:var(--yoast-font-size-default);max-width:300px;min-height:2.85em;padding:5px 8px;position:relative;width:100%}.yoast-field-group .yoast-select__value-container{padding:0 8px!important}.yoast-field-group select:focus,.yoast-field-group__select select:focus{box-shadow:var(--yoast-color-focus);outline:none}.yoast-field-group select,.yoast-field-group__select select{line-height:1.9;padding-right:40px}.yoast-field-group select.yoast-select--inline{display:inline-block}.yoast-field-group--inline{display:inline-block;margin-right:8px;max-width:300px;width:100%}.yoast-star-rating{display:inline-block;height:12px;width:65px}.yoast-star-rating span{background-repeat:repeat-x;background-size:13px 12px;height:100%;width:100%}.yoast-star-rating__placeholder{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAmCAQAAAAYCMGrAAAA+klEQVR4AcWV4cbtMBBFF0MIVUopoVSrhDDv/3gf/RFRpzdNOty1HiBO99mzeYWgCMZMKCPGrCgrxiSUhCkDeukxJKCXAUMiehkxw6FZhxEzmp0x4kCzByYISqlYdal0supS6WrVpdLEK0YSamJiJOPY0c/uOG4s6CcXfuKJaJcRzyNCQJsNiF1sRTR1hP11NNJ8RCrONOPRf+r7J+TZgQ5CNfMOYvW/2YxDqzqA/57+gVY9eiakrnyZEGXDsaE3p/4JScwPX3rtnZATDxnPWT7X16XAHaH8HWNrlxJD9TyGti5tCM84zpZe+RxNjeX9tZqLaGoMxN/P/wHP5Vw+8ZxnEQAAAABJRU5ErkJggg==);display:inline-block;overflow:hidden;position:relative}.yoast-star-rating__fill{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAmBAMAAABALxQTAAAAFVBMVEVMaXH4twP4twP4twP4twP4twP4twP7w8S/AAAAB3RSTlMAFv5uPpvQloUsTQAAAMFJREFUeAGE0TEOgzAMQFEXoDNiYC6/wFxxAsTADDkB5f6HqNRENXUi8TYiRfnY8lNXkjBOkuBWSeAhsYJOYiW9xO4MEqshkTbCSyIH7GLdgFasHHgmwkikZQD6OROZRG4Hxju8o/TNhbNhCqkOxaZDVKdxNnq/EjUS/A2o0PuXpyVeb9bjDWY9QSWXDQfBbtbjtWY9bM4sqfx+5yYt8wNcAFEzrGGkk5668KsFrKewPtQ3aFqh8WOnYZ+lIBQkgykAWk8rlAqcHfQAAAAASUVORK5CYII=);display:block}.yoast-table{border:var(--yoast-border-default);border-bottom:0;border-spacing:0;color:var(--yoast-color-default);font-size:var(--yoast-font-size-default);line-height:1.2;width:100%}.yoast-table tbody tr:nth-child(odd){background-color:#f9f9f9}.yoast-table th{color:var(--yoast-color-dark);font-weight:var(--yoast-font-weight-bold);text-align:left;white-space:nowrap}.yoast-table td,.yoast-table th{border-bottom:var(--yoast-border-default);padding:18px 12px}.yoast-table td:first-child,.yoast-table th:first-child{padding-left:16px}.yoast-table td:last-child,.yoast-table th:last-child{padding-right:16px}td.yoast-table__button,td.yoast-table__image{padding:10px 18px 9px}.yoast-table.yoast-table--nobreak td,td.yoast-table--nobreak,tr.yoast-table--nobreak td{white-space:nowrap}th.yoast-table--primary{width:100%}td.yoast-table--nopadding{padding:0 12px}.yoast-badge{border-radius:8px;display:inline-block;font-size:10px;font-weight:600;line-height:1.6;min-height:16px;padding:0 8px}.yoast-badge__in-label{margin-left:8px;vertical-align:text-top}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-beta-badge{background-color:#cce5ff;color:#004973;margin:0 2px 0 0}.yoast-feature{margin-right:150px;max-width:600px}.yoast-toggle__item{border-bottom:1px solid var(--yoast-color-border);display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:16px}.yoast-toggle__item-disabled{position:relative}.yoast-toggle__item-disabled .yoast-button.yoast-button--buy{left:100%;margin-left:32px;position:absolute;white-space:nowrap}.yoast-toggle__item-disabled .yoast-toggle,.yoast-toggle__item-disabled .yoast-toggle__item-title{opacity:.5}.yoast-toggle__item-title{align-items:center;display:flex;font-weight:700}input[type=checkbox].yoast-toggle__checkbox{-webkit-appearance:none;-moz-appearance:none;background-color:initial;border:0;box-shadow:none;height:23px;margin-left:8px;overflow:hidden;position:absolute;width:34px;z-index:1}input[type=checkbox].yoast-toggle__checkbox:checked:before{content:none}.yoast-toggle__switch{background-color:var(--yoast-color-inactive-grey);border-radius:8px;display:inline-block;height:14px;margin-left:8px;margin-right:8px;position:relative;width:34px}.yoast-toggle__checkbox:focus~.yoast-toggle__switch:before{box-shadow:var(--yoast-color-focus)}.yoast-toggle__switch:before{background-color:var(--yoast-color-inactive-grey-light);border:.5px solid #0000001a;border-radius:50%;box-shadow:0 1px 2px 0 #0006;box-sizing:border-box;content:"";height:20px;left:0;position:absolute;top:-3px;width:20px}.yoast-toggle,.yoast-toggle--inverse{align-items:center;display:grid;grid-template:1fr/repeat(3,auto);position:relative}.yoast-toggle--inverse>*,.yoast-toggle>*{grid-row:1}.yoast-toggle--inactive,.yoast-toggle--inverse .yoast-toggle--active{grid-column:1}.yoast-toggle__checkbox,.yoast-toggle__switch{grid-column:2}.yoast-toggle--active,.yoast-toggle--inverse .yoast-toggle--inactive{grid-column:3}.yoast-toggle .yoast-toggle__checkbox:checked~.yoast-toggle__switch,.yoast-toggle--inverse .yoast-toggle__checkbox:not(:checked)~.yoast-toggle__switch{background-color:var(--yoast-color-active-light)}.yoast-toggle .yoast-toggle__checkbox:checked~.yoast-toggle__switch:before,.yoast-toggle--inverse .yoast-toggle__checkbox:not(:checked)~.yoast-toggle__switch:before{background-color:var(--yoast-color-active);left:auto;right:0}.yoast-toggle--inverse .yoast-toggle__checkbox:checked~.yoast-toggle__switch:before{left:0;right:auto}.yoast-toggle .yoast-toggle__checkbox~.yoast-toggle--inactive,.yoast-toggle--inverse .yoast-toggle__checkbox~.yoast-toggle--inactive{color:var(--yoast-color-default-darker)}.yoast-toggle .yoast-toggle__checkbox:checked~.yoast-toggle--inactive,.yoast-toggle .yoast-toggle__checkbox~.yoast-toggle--active,.yoast-toggle--inverse .yoast-toggle__checkbox:checked~.yoast-toggle--inactive,.yoast-toggle--inverse .yoast-toggle__checkbox~.yoast-toggle--active{color:var(--yoast-color-inactive-text)}.yoast-toggle .yoast-toggle__checkbox:checked~.yoast-toggle--active,.yoast-toggle--inverse .yoast-toggle__checkbox:checked~.yoast-toggle--active{color:var(--yoast-color-default-darker)}@media(max-width:400px){.yoast-feature{margin-right:0}.yoast-toggle__item-disabled{flex-wrap:wrap}.yoast-toggle__item-disabled .yoast-button.yoast-button--buy{margin-left:0;margin-top:8px;position:static}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2340-rtl.css new file mode 100644 index 00000000..013822f3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2340-rtl.css @@ -0,0 +1 @@ +body.seo_page_wpseo_page_settings{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity));z-index:-1}body.seo_page_wpseo_page_settings #wpcontent{padding-right:0!important}body.seo_page_wpseo_page_settings #wpfooter{padding-left:1rem}@media (min-width:768px){body.seo_page_wpseo_page_settings #wpfooter{padding-right:17rem;padding-left:2rem}}@media screen and (max-width:782px){body.seo_page_wpseo_page_settings .wp-responsive-open #wpbody{left:-190px}}body.seo_page_wpseo_page_settings #modal-search .yst-modal__close{margin-top:-.25rem}@media (min-width:783px) and (max-width:962px){body.seo_page_wpseo_page_settings.sticky-menu .yst-root .yst-notifications--bottom-left{right:calc(160px + 2rem)}}@media (min-width:783px) and (max-width:963px){body.seo_page_wpseo_page_settings.sticky-menu.auto-fold .yst-root .yst-notifications--bottom-left,body.seo_page_wpseo_page_settings.sticky-menu.folded .yst-root .yst-notifications--bottom-left{right:calc(32px + 2rem)}}@media (min-width:962px){body.seo_page_wpseo_page_settings.sticky-menu.folded .yst-root .yst-notifications--bottom-left{right:calc(32px + 2rem)}}@media (max-width:783px){body.seo_page_wpseo_page_settings:not(.sticky-menu) .wp-responsive-open .yst-root .yst-notifications--bottom-left{right:calc(190px + 2rem)}}body.seo_page_wpseo_page_settings .yst-root .yst-notifications{max-height:calc(100% - 4rem - 32px)}@media (max-width:782px){body.seo_page_wpseo_page_settings .yst-root .yst-notifications{max-height:calc(100% - 4rem - 48px)}}body.seo_page_wpseo_page_settings .yst-root .yst-notifications--bottom-left{z-index:9991}@media (min-width:783px){body.seo_page_wpseo_page_settings .yst-root .yst-notifications--bottom-left{right:calc(160px + 2rem)}}@media (min-width:601px) and (max-width:768px){body.seo_page_wpseo_page_settings .yst-root .yst-mobile-navigation__top{top:46px}}@media (min-width:783px){body.seo_page_wpseo_page_settings .yst-root .yst-mobile-navigation__top{display:none}}body.seo_page_wpseo_page_settings .yst-root .yst-mobile-navigation__dialog{z-index:99999}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar{position:relative}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar .emoji-select-popover{right:0;left:auto;z-index:20}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .emoji-select-button,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__editor,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__label{opacity:.5}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .emoji-select-button,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__button-insert,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__editor,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__label{cursor:not-allowed}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .emoji-select-button{pointer-events:none}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__label{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:flex;font-size:.8125rem;font-weight:500;margin-bottom:.5rem}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__buttons{display:inline-flex;gap:.375rem}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:500;line-height:1rem;margin-bottom:.5rem;padding:.5rem .75rem;-webkit-text-decoration-line:none;text-decoration-line:none}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert:disabled{cursor:not-allowed;opacity:.5;pointer-events:none}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;border-width:1px;color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;line-height:1.5rem;padding:.5rem .75rem;width:100%}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor:focus-within{--tw-border-opacity:0;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden]{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);padding-bottom:.25rem;padding-top:.25rem;width:14rem;z-index:20}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden]:focus{outline:2px solid #0000;outline-offset:2px}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden] div>div{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));cursor:pointer;display:block;font-size:.8125rem;padding:.5rem 1rem;-webkit-text-decoration-line:none;text-decoration-line:none}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden] div>div:hover,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden] div>div[aria-selected]{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--description .yst-replacevar__editor{min-height:5rem}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__mention{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;color:rgb(15 23 42/var(--tw-text-opacity));display:inline-block;font-size:.75rem;font-weight:500;line-height:1.25;margin-right:.125rem;margin-left:.125rem;padding:.125rem .5rem}body.seo_page_wpseo_page_settings.rtl .yst-root .yst-replacevar .emoji-select-popover{right:0;left:auto} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2340.css new file mode 100644 index 00000000..36009a8b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2340.css @@ -0,0 +1 @@ +body.seo_page_wpseo_page_settings{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity));z-index:-1}body.seo_page_wpseo_page_settings #wpcontent{padding-left:0!important}body.seo_page_wpseo_page_settings #wpfooter{padding-right:1rem}@media (min-width:768px){body.seo_page_wpseo_page_settings #wpfooter{padding-left:17rem;padding-right:2rem}}@media screen and (max-width:782px){body.seo_page_wpseo_page_settings .wp-responsive-open #wpbody{right:-190px}}body.seo_page_wpseo_page_settings #modal-search .yst-modal__close{margin-top:-.25rem}@media (min-width:783px) and (max-width:962px){body.seo_page_wpseo_page_settings.sticky-menu .yst-root .yst-notifications--bottom-left{left:calc(160px + 2rem)}}@media (min-width:783px) and (max-width:963px){body.seo_page_wpseo_page_settings.sticky-menu.auto-fold .yst-root .yst-notifications--bottom-left,body.seo_page_wpseo_page_settings.sticky-menu.folded .yst-root .yst-notifications--bottom-left{left:calc(32px + 2rem)}}@media (min-width:962px){body.seo_page_wpseo_page_settings.sticky-menu.folded .yst-root .yst-notifications--bottom-left{left:calc(32px + 2rem)}}@media (max-width:783px){body.seo_page_wpseo_page_settings:not(.sticky-menu) .wp-responsive-open .yst-root .yst-notifications--bottom-left{left:calc(190px + 2rem)}}body.seo_page_wpseo_page_settings .yst-root .yst-notifications{max-height:calc(100% - 4rem - 32px)}@media (max-width:782px){body.seo_page_wpseo_page_settings .yst-root .yst-notifications{max-height:calc(100% - 4rem - 48px)}}body.seo_page_wpseo_page_settings .yst-root .yst-notifications--bottom-left{z-index:9991}@media (min-width:783px){body.seo_page_wpseo_page_settings .yst-root .yst-notifications--bottom-left{left:calc(160px + 2rem)}}@media (min-width:601px) and (max-width:768px){body.seo_page_wpseo_page_settings .yst-root .yst-mobile-navigation__top{top:46px}}@media (min-width:783px){body.seo_page_wpseo_page_settings .yst-root .yst-mobile-navigation__top{display:none}}body.seo_page_wpseo_page_settings .yst-root .yst-mobile-navigation__dialog{z-index:99999}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar{position:relative}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar .emoji-select-popover{left:0;right:auto;z-index:20}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .emoji-select-button,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__editor,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__label{opacity:.5}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .emoji-select-button,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__button-insert,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__editor,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .yst-replacevar__label{cursor:not-allowed}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--disabled .emoji-select-button{pointer-events:none}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__label{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:flex;font-size:.8125rem;font-weight:500;margin-bottom:.5rem}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__buttons{display:inline-flex;gap:.375rem}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:500;line-height:1rem;margin-bottom:.5rem;padding:.5rem .75rem;-webkit-text-decoration-line:none;text-decoration-line:none}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert:disabled{cursor:not-allowed;opacity:.5;pointer-events:none}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__button-insert:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;border-width:1px;color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;line-height:1.5rem;padding:.5rem .75rem;width:100%}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor:focus-within{--tw-border-opacity:0;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden]{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);padding-bottom:.25rem;padding-top:.25rem;width:14rem;z-index:20}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden]:focus{outline:2px solid #0000;outline-offset:2px}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden] div>div{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));cursor:pointer;display:block;font-size:.8125rem;padding:.5rem 1rem;-webkit-text-decoration-line:none;text-decoration-line:none}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden] div>div:hover,body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__editor [data-popper-reference-hidden] div>div[aria-selected]{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar--description .yst-replacevar__editor{min-height:5rem}body.seo_page_wpseo_page_settings .yst-root .yst-replacevar__mention{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;color:rgb(15 23 42/var(--tw-text-opacity));display:inline-block;font-size:.75rem;font-weight:500;line-height:1.25;margin-left:.125rem;margin-right:.125rem;padding:.125rem .5rem}body.seo_page_wpseo_page_settings.rtl .yst-root .yst-replacevar .emoji-select-popover{left:0;right:auto} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2340-rtl.css new file mode 100644 index 00000000..64fdf1dc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2340-rtl.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute!important;width:1px}.yoast-notification{background:#fff;border-right:4px solid #fff;box-shadow:0 1px 2px #0003;padding:0 12px}.yoast-container{background-color:#fdfdfd;border:1px solid #e5e5e5;box-shadow:0 1px 1px #0000000a;margin:20px 0 1px;max-width:1280px;padding:20px 20px 0;position:relative}.yoast-notifications>h2:first-child{font-size:23px;font-weight:400;line-height:29px;margin:0;padding:9px 0 4px}.yoast-notifications .yoast-container h3{background-color:#fdfdfd;border-bottom:1px solid #ccc;font-size:1.4em;margin:-20px -20px 0;padding:1em}.yoast-container .container{max-width:980px}.yoast-container .yoast-notification-holder{display:flex;position:relative}.dismiss .dashicons,.restore .dashicons{font-size:20px;height:20px;width:20px}.yoast-bottom-spacing{margin-bottom:20px}.yoast-notifications .button.dismiss,.yoast-notifications .button.restore{background:#0000;border:none;border-radius:0;box-shadow:none;cursor:pointer;height:100%;line-height:inherit;outline:none;padding:0;position:absolute;left:0;width:52px}.yoast-notifications .button.dismiss:focus,.yoast-notifications .button.dismiss:hover,.yoast-notifications .button.restore:focus,.yoast-notifications .button.restore:hover{background:#0000}.yoast-notifications .button.dismiss:focus:before,.yoast-notifications .button.restore:focus:before{border-radius:50%;box-shadow:0 0 0 1px #007cba;content:"";display:block;height:32px;right:50%;outline:2px solid #0000;position:absolute;top:50%;transform:translate(50%,-50%);width:32px}.yoast-container .separator{border-top:1px solid #ddd;margin-bottom:1em;margin-top:1em}.yoast-container .dashicons-yes{color:#77b227}.yoast-container-disabled{background-color:#e8e8e8b3;border-radius:4px;bottom:0;display:table-cell;right:0;position:absolute;left:0;top:0}.yoast-no-issues{color:#666;padding:1em 16px 1em 1em}.yoast-muted-title{font-style:italic;font-weight:600;overflow:hidden}.yoast-muted-title:after{border-top:1px solid #ddd;content:"";display:inline-block;height:.5em;margin-right:10px;margin-left:-100%;vertical-align:bottom;width:100%}.yoast-notifications-active .yoast-notification,.yoast-notifications-dismissed .yoast-notification{flex:1;padding-left:52px}.yoast-notifications-active .yoast-notification-holder{margin-bottom:20px}.yoast-notifications-dismissed.paper.tab-block{margin:20px 0}.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container{padding:0}.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container .yoast-notification-holder:nth-child(odd){background-color:#f7f7f7}.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container .yoast-notification-holder:nth-child(odd) .yoast-notification{background-color:initial}.yoast-notifications-dismissed .yoast-svg-icon-eye{background:#0000 var(--yoast-svg-icon-eye) no-repeat 100% 0;background-size:20px}#yoast-errors-header .dashicons{color:#dc3232}#yoast-errors-active .yoast-notification{border-right-color:#dc3232}#yoast-errors-dismissed .yoast-notification{border-right-color:#d93f69}#yoast-warnings-header .dashicons{color:#5d237a}#yoast-warnings-active .yoast-notification{border-right-color:#5d237a}#yoast-warnings-dismissed .yoast-notification{border-right-color:#0075b3} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2340.css new file mode 100644 index 00000000..f95e57c4 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2340.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.screen-reader-text{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute!important;width:1px}.yoast-notification{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 2px #0003;padding:0 12px}.yoast-container{background-color:#fdfdfd;border:1px solid #e5e5e5;box-shadow:0 1px 1px #0000000a;margin:20px 0 1px;max-width:1280px;padding:20px 20px 0;position:relative}.yoast-notifications>h2:first-child{font-size:23px;font-weight:400;line-height:29px;margin:0;padding:9px 0 4px}.yoast-notifications .yoast-container h3{background-color:#fdfdfd;border-bottom:1px solid #ccc;font-size:1.4em;margin:-20px -20px 0;padding:1em}.yoast-container .container{max-width:980px}.yoast-container .yoast-notification-holder{display:flex;position:relative}.dismiss .dashicons,.restore .dashicons{font-size:20px;height:20px;width:20px}.yoast-bottom-spacing{margin-bottom:20px}.yoast-notifications .button.dismiss,.yoast-notifications .button.restore{background:#0000;border:none;border-radius:0;box-shadow:none;cursor:pointer;height:100%;line-height:inherit;outline:none;padding:0;position:absolute;right:0;width:52px}.yoast-notifications .button.dismiss:focus,.yoast-notifications .button.dismiss:hover,.yoast-notifications .button.restore:focus,.yoast-notifications .button.restore:hover{background:#0000}.yoast-notifications .button.dismiss:focus:before,.yoast-notifications .button.restore:focus:before{border-radius:50%;box-shadow:0 0 0 1px #007cba;content:"";display:block;height:32px;left:50%;outline:2px solid #0000;position:absolute;top:50%;transform:translate(-50%,-50%);width:32px}.yoast-container .separator{border-top:1px solid #ddd;margin-bottom:1em;margin-top:1em}.yoast-container .dashicons-yes{color:#77b227}.yoast-container-disabled{background-color:#e8e8e8b3;border-radius:4px;bottom:0;display:table-cell;left:0;position:absolute;right:0;top:0}.yoast-no-issues{color:#666;padding:1em 1em 1em 16px}.yoast-muted-title{font-style:italic;font-weight:600;overflow:hidden}.yoast-muted-title:after{border-top:1px solid #ddd;content:"";display:inline-block;height:.5em;margin-left:10px;margin-right:-100%;vertical-align:bottom;width:100%}.yoast-notifications-active .yoast-notification,.yoast-notifications-dismissed .yoast-notification{flex:1;padding-right:52px}.yoast-notifications-active .yoast-notification-holder{margin-bottom:20px}.yoast-notifications-dismissed.paper.tab-block{margin:20px 0}.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container{padding:0}.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container .yoast-notification-holder:nth-child(odd){background-color:#f7f7f7}.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container .yoast-notification-holder:nth-child(odd) .yoast-notification{background-color:initial}.yoast-notifications-dismissed .yoast-svg-icon-eye{background:#0000 var(--yoast-svg-icon-eye) no-repeat 0 0;background-size:20px}#yoast-errors-header .dashicons{color:#dc3232}#yoast-errors-active .yoast-notification{border-left-color:#dc3232}#yoast-errors-dismissed .yoast-notification{border-left-color:#d93f69}#yoast-warnings-header .dashicons{color:#5d237a}#yoast-warnings-active .yoast-notification{border-left-color:#5d237a}#yoast-warnings-dismissed .yoast-notification{border-left-color:#0075b3} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2340-rtl.css new file mode 100644 index 00000000..23fa8c61 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2340-rtl.css @@ -0,0 +1 @@ +.wpseo-score-icon{background:#888;border-radius:50%!important;display:inline-block!important;height:12px!important;margin:3px 3px 0 10px;vertical-align:top;width:12px!important}.wpseo-score-icon.good{background-color:#7ad03a}.wpseo-score-icon.ok{background-color:#ee7c1b}.wpseo-score-icon.bad{background-color:#dc3232}.wpseo-score-icon.na{background-color:#888}.wpseo-score-icon.noindex{background-color:#1e8cbe} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2340.css new file mode 100644 index 00000000..b6193eec --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2340.css @@ -0,0 +1 @@ +.wpseo-score-icon{background:#888;border-radius:50%!important;display:inline-block!important;height:12px!important;margin:3px 10px 0 3px;vertical-align:top;width:12px!important}.wpseo-score-icon.good{background-color:#7ad03a}.wpseo-score-icon.ok{background-color:#ee7c1b}.wpseo-score-icon.bad{background-color:#dc3232}.wpseo-score-icon.na{background-color:#888}.wpseo-score-icon.noindex{background-color:#1e8cbe} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2340-rtl.css new file mode 100644 index 00000000..a5c8cd08 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2340-rtl.css @@ -0,0 +1 @@ +.schema-faq-section,.schema-how-to-step{border:1px solid #9197a240;list-style-type:none;margin:4px 0;padding:8px 32px 8px 4px;position:relative}.schema-faq-buttons,.schema-how-to-buttons{display:flex;justify-content:center}.schema-faq-buttons button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.schema-how-to-buttons button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;color:#007cba}.schema-faq-section-mover,.schema-how-to-step-mover{display:inline-block}.schema-faq-section-mover .editor-block-mover__control,.schema-how-to-step-mover .editor-block-mover__control{display:inline-flex;height:36px;width:36px}.schema-faq-question,.schema-how-to-step-name{font-weight:600}.schema-faq .schema-faq-answer,.schema-faq .schema-faq-question,.schema-how-to .schema-how-to-description,.schema-how-to .schema-how-to-step-name,.schema-how-to .schema-how-to-step-text,.schema-how-to .schema-how-to-steps{line-height:inherit;margin:0}.schema-how-to .schema-how-to-steps{padding-top:0}.schema-faq-section-button-container,.schema-how-to-step-button-container{display:inline-flex;text-align:left}.schema-faq-section-button-container button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.schema-how-to-step-button-container button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;color:#007cba}.schema-faq-section-controls-container,.schema-how-to-step-controls-container{margin-right:-28px;text-align:left}.schema-faq-section-controls-container .dashicons-arrow-up-alt2,.schema-how-to-step-controls-container .dashicons-arrow-up-alt2{position:relative;top:-1px}.faq-section-add-media .dashicon,.how-to-step-add-media .dashicon,.schema-faq-add-question .dashicon,.schema-how-to-add-step .dashicon,.schema-how-to-duration-button .dashicon{margin-left:4px}.schema-how-to{padding-top:4px}.schema-how-to-step-number{right:4px;position:absolute;text-align:left;width:24px}.schema-how-to-duration{border:0;margin:0;padding:0}.schema-how-to-duration-flex-container{align-items:center;display:flex}.schema-how-to-duration-time-input{align-items:center;display:inline-flex;flex-wrap:nowrap}legend.schema-how-to-duration-legend{margin-left:4px}#schema-how-to-duration-days{margin-left:8px}.schema-how-to-duration .schema-how-to-duration-input[type=number]{-moz-appearance:textfield;margin:0 2px;padding:6px 4px;text-align:center;width:40px}.schema-how-to-duration .schema-how-to-duration-input[type=number]::-webkit-inner-spin-button,.schema-how-to-duration .schema-how-to-duration-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.schema-how-to-duration-button.components-icon-button{margin-right:-8px;vertical-align:top}.schema-how-to-duration-button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;color:#007cba}.schema-how-to-description{margin:8px 0}body.is-dark-theme .schema-faq-section-mover button.components-button,body.is-dark-theme .schema-how-to-step-mover button.components-button,body.is-dark-theme button.components-button.schema-faq-add-question,body.is-dark-theme button.components-button.schema-faq-section-button,body.is-dark-theme button.components-button.schema-how-to-add-step,body.is-dark-theme button.components-button.schema-how-to-duration-button,body.is-dark-theme button.components-button.schema-how-to-step-button{color:#e8eaed} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2340.css new file mode 100644 index 00000000..23f0f862 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2340.css @@ -0,0 +1 @@ +.schema-faq-section,.schema-how-to-step{border:1px solid #9197a240;list-style-type:none;margin:4px 0;padding:8px 4px 8px 32px;position:relative}.schema-faq-buttons,.schema-how-to-buttons{display:flex;justify-content:center}.schema-faq-buttons button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.schema-how-to-buttons button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;color:#007cba}.schema-faq-section-mover,.schema-how-to-step-mover{display:inline-block}.schema-faq-section-mover .editor-block-mover__control,.schema-how-to-step-mover .editor-block-mover__control{display:inline-flex;height:36px;width:36px}.schema-faq-question,.schema-how-to-step-name{font-weight:600}.schema-faq .schema-faq-answer,.schema-faq .schema-faq-question,.schema-how-to .schema-how-to-description,.schema-how-to .schema-how-to-step-name,.schema-how-to .schema-how-to-step-text,.schema-how-to .schema-how-to-steps{line-height:inherit;margin:0}.schema-how-to .schema-how-to-steps{padding-top:0}.schema-faq-section-button-container,.schema-how-to-step-button-container{display:inline-flex;text-align:right}.schema-faq-section-button-container button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.schema-how-to-step-button-container button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;color:#007cba}.schema-faq-section-controls-container,.schema-how-to-step-controls-container{margin-left:-28px;text-align:right}.schema-faq-section-controls-container .dashicons-arrow-up-alt2,.schema-how-to-step-controls-container .dashicons-arrow-up-alt2{position:relative;top:-1px}.faq-section-add-media .dashicon,.how-to-step-add-media .dashicon,.schema-faq-add-question .dashicon,.schema-how-to-add-step .dashicon,.schema-how-to-duration-button .dashicon{margin-right:4px}.schema-how-to{padding-top:4px}.schema-how-to-step-number{left:4px;position:absolute;text-align:right;width:24px}.schema-how-to-duration{border:0;margin:0;padding:0}.schema-how-to-duration-flex-container{align-items:center;display:flex}.schema-how-to-duration-time-input{align-items:center;display:inline-flex;flex-wrap:nowrap}legend.schema-how-to-duration-legend{margin-right:4px}#schema-how-to-duration-days{margin-right:8px}.schema-how-to-duration .schema-how-to-duration-input[type=number]{-moz-appearance:textfield;margin:0 2px;padding:6px 4px;text-align:center;width:40px}.schema-how-to-duration .schema-how-to-duration-input[type=number]::-webkit-inner-spin-button,.schema-how-to-duration .schema-how-to-duration-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.schema-how-to-duration-button.components-icon-button{margin-left:-8px;vertical-align:top}.schema-how-to-duration-button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;color:#007cba}.schema-how-to-description{margin:8px 0}body.is-dark-theme .schema-faq-section-mover button.components-button,body.is-dark-theme .schema-how-to-step-mover button.components-button,body.is-dark-theme button.components-button.schema-faq-add-question,body.is-dark-theme button.components-button.schema-faq-section-button,body.is-dark-theme button.components-button.schema-how-to-add-step,body.is-dark-theme button.components-button.schema-how-to-duration-button,body.is-dark-theme button.components-button.schema-how-to-step-button{color:#e8eaed} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/support-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/support-2340-rtl.css new file mode 100644 index 00000000..44a1ca14 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/support-2340-rtl.css @@ -0,0 +1 @@ +.seo_page_wpseo_page_support{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity));z-index:-1}.seo_page_wpseo_page_support #wpcontent{padding-right:0!important}.seo_page_wpseo_page_support #wpfooter{padding-left:1rem}@media (min-width:768px){.seo_page_wpseo_page_support #wpfooter{padding-right:17rem;padding-left:2rem}}@media screen and (max-width:782px){.seo_page_wpseo_page_support .wp-responsive-open #wpbody{left:-190px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/support-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/support-2340.css new file mode 100644 index 00000000..fa1284bb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/support-2340.css @@ -0,0 +1 @@ +.seo_page_wpseo_page_support{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity));z-index:-1}.seo_page_wpseo_page_support #wpcontent{padding-left:0!important}.seo_page_wpseo_page_support #wpfooter{padding-right:1rem}@media (min-width:768px){.seo_page_wpseo_page_support #wpfooter{padding-left:17rem;padding-right:2rem}}@media screen and (max-width:782px){.seo_page_wpseo_page_support .wp-responsive-open #wpbody{right:-190px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2340-rtl.css new file mode 100644 index 00000000..bfd38599 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2340-rtl.css @@ -0,0 +1 @@ +.yst-root *,.yst-root :after,.yst-root :before{border:0 solid #e5e7eb;box-sizing:border-box}.yst-root :after,.yst-root :before{--tw-content:""}.yst-root{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;margin:0;tab-size:4}.yst-root hr{border-top-width:1px;color:inherit;height:0}.yst-root abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6{font-size:inherit;font-weight:inherit}.yst-root a{color:inherit;text-decoration:inherit}.yst-root b,.yst-root strong{font-weight:bolder}.yst-root code,.yst-root kbd,.yst-root pre,.yst-root samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.yst-root small{font-size:80%}.yst-root sub,.yst-root sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}.yst-root sub{bottom:-.25em}.yst-root sup{top:-.5em}.yst-root table{border-collapse:collapse;border-color:inherit;text-indent:0}.yst-root button,.yst-root input,.yst-root optgroup,.yst-root select,.yst-root textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}.yst-root button,.yst-root select{text-transform:none}.yst-root [type=button],.yst-root [type=reset],.yst-root [type=submit],.yst-root button{-webkit-appearance:button;background-color:initial;background-image:none}.yst-root :-moz-focusring{outline:auto}.yst-root :-moz-ui-invalid{box-shadow:none}.yst-root progress{vertical-align:initial}.yst-root ::-webkit-inner-spin-button,.yst-root ::-webkit-outer-spin-button{height:auto}.yst-root [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.yst-root ::-webkit-search-decoration{-webkit-appearance:none}.yst-root ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.yst-root summary{display:list-item}.yst-root blockquote,.yst-root dd,.yst-root dl,.yst-root figure,.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6,.yst-root hr,.yst-root p,.yst-root pre{margin:0}.yst-root fieldset{margin:0;padding:0}.yst-root legend{padding:0}.yst-root menu,.yst-root ol,.yst-root ul{list-style:none;margin:0;padding:0}.yst-root textarea{resize:vertical}.yst-root input::placeholder,.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root [role=button],.yst-root button{cursor:pointer}.yst-root :disabled{cursor:default}.yst-root audio,.yst-root canvas,.yst-root embed,.yst-root iframe,.yst-root img,.yst-root object,.yst-root svg,.yst-root video{display:block;vertical-align:middle}.yst-root img,.yst-root video{height:auto;max-width:100%}.yst-root [type=date],.yst-root [type=datetime-local],.yst-root [type=email],.yst-root [type=month],.yst-root [type=number],.yst-root [type=password],.yst-root [type=search],.yst-root [type=tel],.yst-root [type=text],.yst-root [type=time],.yst-root [type=url],.yst-root [type=week]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root [type=date]:focus,.yst-root [type=datetime-local]:focus,.yst-root [type=email]:focus,.yst-root [type=month]:focus,.yst-root [type=number]:focus,.yst-root [type=password]:focus,.yst-root [type=search]:focus,.yst-root [type=tel]:focus,.yst-root [type=text]:focus,.yst-root [type=time]:focus,.yst-root [type=url]:focus,.yst-root [type=week]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder{color:#6b7280;opacity:1}.yst-root [type=date]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=datetime-local]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=email]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=month]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=number]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=password]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=search]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=tel]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=text]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=time]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=url]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=week]::-webkit-datetime-edit-fields-wrapper{padding:0}.yst-root [type=date]::-webkit-date-and-time-value,.yst-root [type=datetime-local]::-webkit-date-and-time-value,.yst-root [type=email]::-webkit-date-and-time-value,.yst-root [type=month]::-webkit-date-and-time-value,.yst-root [type=number]::-webkit-date-and-time-value,.yst-root [type=password]::-webkit-date-and-time-value,.yst-root [type=search]::-webkit-date-and-time-value,.yst-root [type=tel]::-webkit-date-and-time-value,.yst-root [type=text]::-webkit-date-and-time-value,.yst-root [type=time]::-webkit-date-and-time-value,.yst-root [type=url]::-webkit-date-and-time-value,.yst-root [type=week]::-webkit-date-and-time-value{min-height:1.5em}.yst-root [type=date]::-webkit-datetime-edit,.yst-root [type=date]::-webkit-datetime-edit-day-field,.yst-root [type=date]::-webkit-datetime-edit-hour-field,.yst-root [type=date]::-webkit-datetime-edit-meridiem-field,.yst-root [type=date]::-webkit-datetime-edit-millisecond-field,.yst-root [type=date]::-webkit-datetime-edit-minute-field,.yst-root [type=date]::-webkit-datetime-edit-month-field,.yst-root [type=date]::-webkit-datetime-edit-second-field,.yst-root [type=date]::-webkit-datetime-edit-year-field,.yst-root [type=datetime-local]::-webkit-datetime-edit,.yst-root [type=datetime-local]::-webkit-datetime-edit-day-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-hour-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-meridiem-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-millisecond-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-minute-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-month-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-second-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-year-field,.yst-root [type=email]::-webkit-datetime-edit,.yst-root [type=email]::-webkit-datetime-edit-day-field,.yst-root [type=email]::-webkit-datetime-edit-hour-field,.yst-root [type=email]::-webkit-datetime-edit-meridiem-field,.yst-root [type=email]::-webkit-datetime-edit-millisecond-field,.yst-root [type=email]::-webkit-datetime-edit-minute-field,.yst-root [type=email]::-webkit-datetime-edit-month-field,.yst-root [type=email]::-webkit-datetime-edit-second-field,.yst-root [type=email]::-webkit-datetime-edit-year-field,.yst-root [type=month]::-webkit-datetime-edit,.yst-root [type=month]::-webkit-datetime-edit-day-field,.yst-root [type=month]::-webkit-datetime-edit-hour-field,.yst-root [type=month]::-webkit-datetime-edit-meridiem-field,.yst-root [type=month]::-webkit-datetime-edit-millisecond-field,.yst-root [type=month]::-webkit-datetime-edit-minute-field,.yst-root [type=month]::-webkit-datetime-edit-month-field,.yst-root [type=month]::-webkit-datetime-edit-second-field,.yst-root [type=month]::-webkit-datetime-edit-year-field,.yst-root [type=number]::-webkit-datetime-edit,.yst-root [type=number]::-webkit-datetime-edit-day-field,.yst-root [type=number]::-webkit-datetime-edit-hour-field,.yst-root [type=number]::-webkit-datetime-edit-meridiem-field,.yst-root [type=number]::-webkit-datetime-edit-millisecond-field,.yst-root [type=number]::-webkit-datetime-edit-minute-field,.yst-root [type=number]::-webkit-datetime-edit-month-field,.yst-root [type=number]::-webkit-datetime-edit-second-field,.yst-root [type=number]::-webkit-datetime-edit-year-field,.yst-root [type=password]::-webkit-datetime-edit,.yst-root [type=password]::-webkit-datetime-edit-day-field,.yst-root [type=password]::-webkit-datetime-edit-hour-field,.yst-root [type=password]::-webkit-datetime-edit-meridiem-field,.yst-root [type=password]::-webkit-datetime-edit-millisecond-field,.yst-root [type=password]::-webkit-datetime-edit-minute-field,.yst-root [type=password]::-webkit-datetime-edit-month-field,.yst-root [type=password]::-webkit-datetime-edit-second-field,.yst-root [type=password]::-webkit-datetime-edit-year-field,.yst-root [type=search]::-webkit-datetime-edit,.yst-root [type=search]::-webkit-datetime-edit-day-field,.yst-root [type=search]::-webkit-datetime-edit-hour-field,.yst-root [type=search]::-webkit-datetime-edit-meridiem-field,.yst-root [type=search]::-webkit-datetime-edit-millisecond-field,.yst-root [type=search]::-webkit-datetime-edit-minute-field,.yst-root [type=search]::-webkit-datetime-edit-month-field,.yst-root [type=search]::-webkit-datetime-edit-second-field,.yst-root [type=search]::-webkit-datetime-edit-year-field,.yst-root [type=tel]::-webkit-datetime-edit,.yst-root [type=tel]::-webkit-datetime-edit-day-field,.yst-root [type=tel]::-webkit-datetime-edit-hour-field,.yst-root [type=tel]::-webkit-datetime-edit-meridiem-field,.yst-root [type=tel]::-webkit-datetime-edit-millisecond-field,.yst-root [type=tel]::-webkit-datetime-edit-minute-field,.yst-root [type=tel]::-webkit-datetime-edit-month-field,.yst-root [type=tel]::-webkit-datetime-edit-second-field,.yst-root [type=tel]::-webkit-datetime-edit-year-field,.yst-root [type=text]::-webkit-datetime-edit,.yst-root [type=text]::-webkit-datetime-edit-day-field,.yst-root [type=text]::-webkit-datetime-edit-hour-field,.yst-root [type=text]::-webkit-datetime-edit-meridiem-field,.yst-root [type=text]::-webkit-datetime-edit-millisecond-field,.yst-root [type=text]::-webkit-datetime-edit-minute-field,.yst-root [type=text]::-webkit-datetime-edit-month-field,.yst-root [type=text]::-webkit-datetime-edit-second-field,.yst-root [type=text]::-webkit-datetime-edit-year-field,.yst-root [type=time]::-webkit-datetime-edit,.yst-root [type=time]::-webkit-datetime-edit-day-field,.yst-root [type=time]::-webkit-datetime-edit-hour-field,.yst-root [type=time]::-webkit-datetime-edit-meridiem-field,.yst-root [type=time]::-webkit-datetime-edit-millisecond-field,.yst-root [type=time]::-webkit-datetime-edit-minute-field,.yst-root [type=time]::-webkit-datetime-edit-month-field,.yst-root [type=time]::-webkit-datetime-edit-second-field,.yst-root [type=time]::-webkit-datetime-edit-year-field,.yst-root [type=url]::-webkit-datetime-edit,.yst-root [type=url]::-webkit-datetime-edit-day-field,.yst-root [type=url]::-webkit-datetime-edit-hour-field,.yst-root [type=url]::-webkit-datetime-edit-meridiem-field,.yst-root [type=url]::-webkit-datetime-edit-millisecond-field,.yst-root [type=url]::-webkit-datetime-edit-minute-field,.yst-root [type=url]::-webkit-datetime-edit-month-field,.yst-root [type=url]::-webkit-datetime-edit-second-field,.yst-root [type=url]::-webkit-datetime-edit-year-field,.yst-root [type=week]::-webkit-datetime-edit,.yst-root [type=week]::-webkit-datetime-edit-day-field,.yst-root [type=week]::-webkit-datetime-edit-hour-field,.yst-root [type=week]::-webkit-datetime-edit-meridiem-field,.yst-root [type=week]::-webkit-datetime-edit-millisecond-field,.yst-root [type=week]::-webkit-datetime-edit-minute-field,.yst-root [type=week]::-webkit-datetime-edit-month-field,.yst-root [type=week]::-webkit-datetime-edit-second-field,.yst-root [type=week]::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.yst-root textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root select{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:left .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-left:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.yst-root select[multiple]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select[multiple]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:0;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=checkbox]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:checked,.yst-root [type=checkbox]:checked:focus,.yst-root [type=checkbox]:checked:hover,.yst-root [type=checkbox]:indeterminate{background-color:currentColor;border-color:#0000}.yst-root [type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:indeterminate:focus,.yst-root [type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}.yst-root [type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:100%;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=radio]:checked,.yst-root [type=radio]:checked:focus,.yst-root [type=radio]:checked:hover{background-color:currentColor;border-color:#0000}.yst-root{--tw-text-opacity:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgb(71 85 105/var(--tw-text-opacity));font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.8125rem;font-weight:400;line-height:1.5}.yst-root a{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root a:visited{color:#a61e69}.yst-root a:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root a:hover:visited{color:#b94986}.yst-root a:focus{--tw-text-opacity:1;border-radius:.125rem;color:rgb(99 102 241/var(--tw-text-opacity));outline-color:#4f46e5;outline-offset:1px;outline-style:solid}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder,.yst-root textarea::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root svg path{stroke-width:inherit}.yst-root .yst-radio__input,.yst-root a:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-radio__input{transition-property:none}.yst-root .yst-radio__input:checked:before{content:var(--tw-content);display:none}.yst-root .yst-modal{z-index:100000!important}.yst-root dd,.yst-root li{margin-bottom:0}.yst-root input[type=date],.yst-root input[type=datetime-local],.yst-root input[type=datetime],.yst-root input[type=email],.yst-root input[type=month],.yst-root input[type=number],.yst-root input[type=password],.yst-root input[type=search],.yst-root input[type=tel],.yst-root input[type=text],.yst-root input[type=time],.yst-root input[type=url],.yst-root input[type=week]{min-height:0}.yst-root input[type=checkbox]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);min-height:0;min-width:0;transition-property:none}.yst-root input[type=checkbox]:before{--tw-content:none;content:var(--tw-content)}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.yst-root .yst-alert{border-radius:.375rem;display:flex;gap:.75rem;padding:1rem}.yst-root .yst-alert--info{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.yst-root .yst-alert--info .yst-alert__message{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.yst-root .yst-alert--warning{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity))}.yst-root .yst-alert--warning .yst-alert__message{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity))}.yst-root .yst-alert--success{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.yst-root .yst-alert--success .yst-alert__message{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.yst-root .yst-alert--error{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.yst-root .yst-alert--error .yst-alert__message{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.yst-root .yst-alert__icon{flex-grow:0;flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-autocomplete{position:relative}.yst-root .yst-autocomplete--error .yst-autocomplete__button{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.yst-root .yst-autocomplete--error .yst-autocomplete__button:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity));border-color:rgb(239 68 68/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete--error .yst-autocomplete__input::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.yst-root .yst-autocomplete--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-autocomplete--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;padding-right:.75rem;padding-left:.75rem;width:100%}.yst-root .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;left:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-autocomplete__input{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem 0 .5rem 2.5rem;width:100%}.yst-root .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:20}.yst-root .yst-autocomplete__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-autocomplete__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-autocomplete__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-autocomplete__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-badge{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(219 234 254/var(--tw-bg-opacity));border-radius:9999px;color:rgb(30 64 175/var(--tw-text-opacity));display:inline-flex;font-size:.75rem;font-weight:500;line-height:1.25;padding:.125rem .5rem;vertical-align:middle;white-space:nowrap}.yst-root .yst-badge--info{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.yst-root .yst-badge--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-badge--plain{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.yst-root .yst-badge--small{font-size:.675rem}.yst-root .yst-badge--large{font-size:1rem;padding-right:.75rem;padding-left:.75rem}.yst-root .yst-button{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-color:#0000;align-items:center;border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:500;justify-content:center;line-height:1.25rem;padding:.5rem .75rem;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none}.yst-root .yst-button:focus{outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root a.yst-button:focus{border-radius:.375rem}.yst-root .yst-button--primary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-color:#0000;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:visited{color:#fff}.yst-root .yst-button--primary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(143 15 87/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:hover:visited{color:#fff}.yst-root .yst-button--primary:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--secondary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:visited{color:#1e293b}.yst-root .yst-button--secondary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:hover:visited{color:#1e293b}.yst-root .yst-button--secondary:focus{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--tertiary{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:initial;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:visited{color:#83084e}.yst-root .yst-button--tertiary:hover{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:hover:visited{color:#83084e}.yst-root .yst-button--tertiary:focus{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--error{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity));border-color:#0000;color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:visited{color:#fff}.yst-root .yst-button--error:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:hover:visited{color:#fff}.yst-root .yst-button--error:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#dc2626}.yst-root .yst-button--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity));border-color:#0000;color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:visited{color:#78350f}.yst-root .yst-button--upsell:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:hover:visited{color:#78350f}.yst-root .yst-button--upsell:focus{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity));outline-color:#fbbf24}.yst-root .yst-button--large{font-size:.875rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-button--extra-large{font-size:1rem;line-height:1.5rem;padding:.625rem .875rem}.yst-root .yst-button--small{font-size:.75rem;line-height:1rem;padding:.375rem .625rem}.yst-root .yst-button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-button--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-checkbox{align-items:center;display:flex}.yst-root .yst-checkbox--disabled .yst-checkbox__input,.yst-root .yst-checkbox--disabled .yst-checkbox__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.25rem;color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-checkbox__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-checkbox__label{margin-right:.75rem}.yst-root .yst-code{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;color:rgb(15 23 42/var(--tw-text-opacity));display:inline-block;font-size:.75rem;line-height:1.25;margin:0;padding:.25rem}.yst-root .yst-code--block{display:block;margin-bottom:.5rem;margin-top:.5rem;max-width:100%;overflow-x:auto;padding:.25rem .5rem;white-space:nowrap}.yst-root .yst-file-input{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border:2px dashed rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;padding:1.25rem 1.5rem 1.5rem;text-align:center;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:100%}.yst-root .yst-file-input.yst-is-drag-over{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(250 243 247/var(--tw-bg-opacity));border-color:rgb(205 130 171/var(--tw-border-opacity))}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__content{pointer-events:none}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__icon{--tw-translate-y:-0.5rem;--tw-text-opacity:1;color:rgb(185 73 134/var(--tw-text-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-file-input.yst-is-disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-file-input.yst-is-disabled .yst-file-input__select-label{cursor:not-allowed}.yst-root .yst-file-input__content{align-items:center;display:inline-flex;flex-direction:column;max-width:20rem}.yst-root .yst-file-input__content>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-input__content{text-align:center}.yst-root .yst-file-input__icon{stroke-width:1;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:3rem;margin-right:auto;margin-left:auto;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:3rem}.yst-root .yst-file-input__icon>path{stroke-width:1}.yst-root .yst-file-input__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-file-input__input:focus+.yst-file-input__select-label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-input__labels{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:inline-block;font-weight:400}.yst-root .yst-file-input__select-label{border-radius:.375rem;font-weight:500}[dir=rtl] .yst-root .yst-file-input__labels{flex-direction:row-reverse}.yst-root .yst-label{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;font-weight:500}.yst-root .yst-link{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root .yst-link:visited{color:#a61e69}.yst-root .yst-link:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root .yst-link:hover:visited{color:#b94986}.yst-root .yst-link:focus{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(79 70 229/var(--tw-ring-opacity));--tw-ring-offset-width:1px;--tw-ring-offset-color:#0000;border-radius:.125rem;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(99 102 241/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-link--primary{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus,.yst-root .yst-link--primary:hover{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(154 22 96/var(--tw-ring-opacity))}.yst-root .yst-link--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-link--error:focus,.yst-root .yst-link--error:hover{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-link--error:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(220 38 38/var(--tw-ring-opacity))}.yst-root .yst-paper{--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column}.yst-root .yst-paper__header{border-bottom-width:1px;padding:2rem}.yst-root .yst-paper__content{flex-grow:1;padding:2rem}.yst-root .yst-progress-bar{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;display:block;overflow:hidden;width:100%}.yst-root .yst-progress-bar__progress{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));border-radius:9999px;display:block;height:.375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:linear}.yst-root .yst-radio{align-items:center;display:flex}.yst-root .yst-radio--disabled .yst-radio__check,.yst-root .yst-radio--disabled .yst-radio__input,.yst-root .yst-radio--disabled .yst-radio__label{cursor:not-allowed;opacity:.5}.yst-root .yst-radio--disabled .yst-radio__check:focus,.yst-root .yst-radio--disabled .yst-radio__input:focus,.yst-root .yst-radio--disabled .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block{display:inline-flex}.yst-root .yst-radio--inline-block .yst-radio__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:#0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__check{visibility:visible}.yst-root .yst-radio--inline-block .yst-radio__input:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-offset-width:1px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__content{position:relative}.yst-root .yst-radio--inline-block .yst-radio__label{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);cursor:pointer;display:flex;font-size:1rem;height:3.5rem;justify-content:center;margin-right:0;width:3.5rem}.yst-root .yst-radio--inline-block .yst-radio__label:hover{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity))}.yst-root .yst-radio--inline-block .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio--inline-block .yst-radio__check{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity));height:1.25rem;position:absolute;left:.125rem;top:.125rem;visibility:hidden;width:1.25rem}.yst-root .yst-radio__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-radio__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-radio__label{margin-right:.75rem}.yst-root .yst-select{position:relative}.yst-root .yst-select--disabled .yst-select__button,.yst-root .yst-select--disabled .yst-select__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select__button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;line-height:1.5rem;padding:.5rem .75rem;position:relative;text-align:right;width:100%}.yst-root .yst-select__button:focus{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;left:.625rem;top:.625rem;width:1.25rem}.yst-root .yst-select__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:10}.yst-root .yst-select__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-select__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-select__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(154 22 96/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__button-label,.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-select__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-skeleton-loader{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;display:block;height:auto;overflow:hidden;position:relative;width:-moz-fit-content;width:fit-content}.yst-root .yst-skeleton-loader:after{--tw-translate-x:-100%;animation:wave 2.5s linear .5s infinite;background:linear-gradient(-90deg,#0000,#00000012,#0000);bottom:0;content:"";right:0;position:absolute;left:0;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes wave{0%{transform:translateX(100%)}50%,to{transform:translateX(-100%)}}.yst-root .yst-tag-input{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(30 41 59/var(--tw-text-opacity));display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.375rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-tag-input::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root .yst-tag-input{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-tag-input,.yst-root .yst-tag-input:focus-within{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-tag-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-input--disabled:focus-within{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:rgb(203 213 225/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus,.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(148 163 184/var(--tw-text-opacity))}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__input{cursor:not-allowed}.yst-root .yst-tag-input__tag{cursor:pointer;gap:.125rem;min-height:20px;padding-inline-end:.125rem}.yst-root .yst-tag-input__tag:hover{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input__tag:focus,.yst-root .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__remove-tag{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1rem;justify-content:center;width:1rem}.yst-root .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__input{border-style:none;display:inline-flex;flex:1 1 0%;font-size:.8125rem;margin:0;padding:0}.yst-root .yst-tag-input__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-text-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-text-input--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-text-input--read-only{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-color:rgb(248 250 252/var(--tw-bg-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(100 116 139/var(--tw-text-opacity));cursor:default}.yst-root .yst-textarea{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-textarea:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-textarea--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-textarea--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-title{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity));font-weight:500;line-height:1.25}.yst-root .yst-title--1{font-size:1.5rem}.yst-root .yst-title--2{font-size:1.125rem}.yst-root .yst-title--3{font-size:.875rem}.yst-root .yst-title--4{font-size:1rem}.yst-root .yst-title--5{font-size:.8125rem}.yst-root .yst-toast{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);max-width:100%;overflow-y:auto;padding:1rem;pointer-events:auto;width:20rem;z-index:20}.yst-root .yst-toast--large{width:24rem}.yst-root .yst-toggle{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));border-color:#0000;border-radius:9999px;border-width:2px;cursor:pointer;display:inline-flex;flex-shrink:0;height:1.5rem;position:relative;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);width:2.75rem}.yst-root .yst-toggle:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-toggle--checked{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-toggle--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-toggle--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-toggle__handle{--tw-translate-x:0px;--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;height:1.25rem;justify-content:center;pointer-events:none;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1.25rem}.yst-root .yst-toggle__icon{stroke:currentColor;stroke-width:2;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-grow:0;flex-shrink:0;height:.625rem;transition-duration:.1s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:.625rem}.yst-root .yst-toggle__icon--check{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-toggle__icon--x{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}[dir=rtl] .yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:-1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(255 255 255/var(--tw-text-opacity));display:inline-block;font-size:.75rem;max-width:24rem;padding:.5rem .625rem;position:absolute;white-space:normal;width:max-content;z-index:10}.yst-root .yst-tooltip--top{--tw-translate-x:-50%;--tw-translate-y:-100%;right:50%;margin-top:-.75rem;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--top:before{--tw-translate-x:-50%;--tw-translate-y:0px;--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:#0000;border-left-color:#0000;border-top-color:rgb(31 41 55/var(--tw-border-opacity));border-width:8px;content:var(--tw-content);position:absolute}.yst-root .yst-tooltip--bottom,.yst-root .yst-tooltip--top:before{right:50%;top:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--bottom{--tw-translate-x:-50%;--tw-translate-y:-0px;margin-top:.75rem}.yst-root .yst-tooltip--bottom:before{--tw-translate-x:-50%;--tw-border-opacity:1;--tw-content:"";border-bottom-color:rgb(31 41 55/var(--tw-border-opacity));border-right-color:#0000;border-left-color:#0000;border-top-color:#0000;border-width:8px;bottom:100%;content:var(--tw-content);right:50%;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right{--tw-translate-x:-0px;right:100%;margin-right:.75rem}.yst-root .yst-tooltip--right,.yst-root .yst-tooltip--right:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:#0000;border-left-color:rgb(31 41 55/var(--tw-border-opacity));border-top-color:#0000;border-width:8px;content:var(--tw-content);position:absolute;left:100%}.yst-root .yst-tooltip--left{margin-left:.75rem;left:100%}.yst-root .yst-tooltip--left,.yst-root .yst-tooltip--left:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--left:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:rgb(31 41 55/var(--tw-border-opacity));border-left-color:#0000;border-top-color:#0000;border-width:8px;content:var(--tw-content);right:100%;position:absolute}.yst-root .yst-validation-icon{pointer-events:none}.yst-root .yst-validation-icon--success{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.yst-root .yst-validation-icon--info{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.yst-root .yst-validation-icon--warning{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.yst-root .yst-validation-icon--error{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-validation-input{position:relative}.yst-root .yst-validation-input--success .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(134 239 172/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--success .yst-validation-input__input:focus,.yst-root .yst-validation-input--success .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity))}.yst-root .yst-validation-input--info .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(147 197 253/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--info .yst-validation-input__input:focus,.yst-root .yst-validation-input--info .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.yst-root .yst-validation-input--warning .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 211 77/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--warning .yst-validation-input__input:focus,.yst-root .yst-validation-input--warning .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(245 158 11/var(--tw-ring-opacity))}.yst-root .yst-validation-input--error .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 165 165/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--error .yst-validation-input__input:focus,.yst-root .yst-validation-input--error .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.yst-root .yst-validation-input__input:focus,.yst-root .yst-validation-input__input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-validation-input__icon{height:1.25rem;position:absolute;left:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-validation-message a{color:inherit;font-weight:500}.yst-root .yst-validation-message a:visited:hover{color:inherit}.yst-root .yst-validation-message a:focus{--tw-ring-color:currentColor}.yst-root .yst-validation-message--success{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.yst-root .yst-validation-message--info{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.yst-root .yst-validation-message--warning{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}.yst-root .yst-validation-message--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-autocomplete-field__description,.yst-root .yst-autocomplete-field__validation{margin-top:.5rem}.yst-root .yst-card{display:flex;flex-direction:column;position:relative}.yst-root .yst-card>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-card{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden;padding:1.5rem;transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-card__header{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 244 246/var(--tw-bg-opacity));display:flex;height:6rem;justify-content:center;margin-right:-1.5rem;margin-left:-1.5rem;margin-top:-1.5rem;padding:1.5rem;position:relative}.yst-root .yst-card__content{flex-grow:1}.yst-root .yst-card__footer{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));border-top-width:1px;padding-top:1.5rem}.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__description,.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox-group__label{margin-bottom:.5rem}.yst-root .yst-checkbox-group__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-checkbox-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-feature-upsell{position:relative}.yst-root .yst-feature-upsell--default{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.yst-root .yst-feature-upsell--card{padding:1.5rem}.yst-root .yst-file-import>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-import__feedback{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);padding:1rem}.yst-root .yst-file-import__feedback-header{align-items:flex-start;display:flex}.yst-root .yst-file-import__feedback-header>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-left:calc(1rem*var(--tw-space-x-reverse))}.yst-root .yst-file-import__feedback-figure{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 229 237/var(--tw-bg-opacity));border-radius:9999px;display:flex;height:2rem;justify-content:center;width:2rem}.yst-root .yst-file-import__feedback-figure>svg{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity));height:1.25rem;width:1.25rem}.yst-root .yst-file-import__feedback-title{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:block;font-weight:500;margin-bottom:.125rem;overflow-wrap:break-word}.yst-root .yst-file-import__feedback-description{display:block;font-size:.75rem;font-weight:500}.yst-root .yst-file-import__abort-button{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(241 245 249/var(--tw-bg-opacity));border-radius:9999px;color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1.25rem;justify-content:center;width:1.25rem}.yst-root .yst-file-import__abort-button:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(71 85 105/var(--tw-text-opacity))}.yst-root .yst-file-import__abort-button:focus{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-import__abort-button>svg{height:.75rem;width:.75rem}.yst-root .yst-file-import__abort-button>svg>path{stroke-width:3}.yst-root .yst-modal{bottom:0;right:0;padding:1rem;position:fixed;left:0;top:0;z-index:10}@media (min-width:640px){.yst-root .yst-modal{padding:2rem}}@media (min-width:768px){.yst-root .yst-modal{padding:5rem}}.yst-root .yst-modal__layout{display:flex;min-height:100%}.yst-root .yst-modal--center .yst-modal__layout{align-items:center;justify-content:center}.yst-root .yst-modal--top-center .yst-modal__layout{align-items:flex-start;justify-content:center}.yst-root .yst-modal__overlay{--tw-bg-opacity:0.75;background-color:rgb(100 116 139/var(--tw-bg-opacity));bottom:0;right:0;position:fixed;left:0;top:0;transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-modal__panel{--tw-bg-opacity:1;--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);max-width:36rem;overflow:hidden;padding:1.5rem;position:relative;width:100%}.yst-root .yst-modal__close{display:block;position:absolute;left:1rem;top:1rem}.yst-root .yst-modal__close-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(148 163 184/var(--tw-text-opacity));position:relative;z-index:10}.yst-root .yst-modal__close-button:hover{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-modal__close-button:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-modal__container{display:flex;flex-direction:column;max-height:calc(100vh - 2rem)}@media (min-width:640px){.yst-root .yst-modal__container{max-height:calc(100vh - 4rem)}}@media (min-width:768px){.yst-root .yst-modal__container{max-height:calc(100vh - 10rem)}}.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 5rem)}@media (min-width:640px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 7rem)}}@media (min-width:768px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 13rem)}}.yst-root .yst-modal__container-footer,.yst-root .yst-modal__container-header{flex-shrink:0}.yst-root .yst-modal__container-content{overflow:auto}.yst-root .yst-modal__panel .yst-modal__container-content{margin-right:-1.5rem;margin-left:-1.5rem;padding-right:1.5rem;padding-left:1.5rem}.yst-root .yst-notifications{display:flex;flex-direction:column;max-height:calc(100vh - 4rem);max-width:calc(100vw - 4rem);pointer-events:none;position:fixed;width:100%;z-index:20}.yst-root .yst-notifications>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-notifications--bottom-center{align-items:center;bottom:2rem}.yst-root .yst-notifications--bottom-left{bottom:2rem;right:2rem}.yst-root .yst-notifications--top-center{align-items:center;top:2rem}.yst-root .yst-notification--large{width:24rem}.yst-root .yst-notification__icon{height:1.25rem;width:1.25rem}.yst-root .yst-pagination{display:inline-flex;isolation:isolate}.yst-root .yst-pagination>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(-1px*(1 - var(--tw-space-x-reverse)));margin-left:calc(-1px*var(--tw-space-x-reverse))}.yst-root .yst-pagination{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-pagination-display__text{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));font-weight:400;padding:.5rem .75rem}.yst-root .yst-pagination-display__current-text{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity));font-weight:600}.yst-root .yst-pagination-display__truncated{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));align-self:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;font-size:.8125rem;font-weight:600;padding:.5rem 1rem}.yst-root .yst-pagination__button{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;padding:.5rem;position:relative}.yst-root .yst-pagination__button:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}.yst-root .yst-pagination__button:focus{outline-color:#a61e69;outline-offset:0;z-index:20}.yst-root .yst-pagination__button--active{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:rgb(166 30 105/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(255 255 255/var(--tw-text-opacity));font-size:.8125rem;font-weight:600;z-index:10}.yst-root .yst-pagination__button--active:hover{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-pagination__button--active:focus{z-index:20}.yst-root .yst-pagination__button--active:focus-visible{border-radius:.125rem;outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root .yst-pagination__button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-pagination__button--disabled:hover{background-color:initial}.yst-root .yst-pagination__button--disabled:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio-group--inline-block .yst-radio-group__options{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}.yst-root .yst-radio-group--disabled .yst-radio-group__description,.yst-root .yst-radio-group--disabled .yst-radio-group__label{opacity:.5}.yst-root .yst-radio-group--disabled .yst-radio-group__label{cursor:not-allowed}.yst-root .yst-radio-group__label{margin-bottom:.5rem}.yst-root .yst-radio-group__options{display:flex;flex-direction:column;gap:.5rem}.yst-root .yst-radio-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-select-field--disabled .yst-select-field__description,.yst-root .yst-select-field--disabled .yst-select-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select-field__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-select-field__description,.yst-root .yst-select-field__validation{margin-top:.5rem}.yst-root .yst-mobile-navigation__top{position:sticky;top:0;width:100%;z-index:50}.yst-root .yst-mobile-navigation__dialog{bottom:0;display:flex;right:0;position:fixed;left:0;top:0;z-index:50}.yst-root .yst-tag-field--disabled .yst-tag-field__description,.yst-root .yst-tag-field--disabled .yst-tag-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-field__description,.yst-root .yst-tag-field__validation{margin-top:.5rem}.yst-root .yst-text-field--disabled .yst-text-field__description,.yst-root .yst-text-field--disabled .yst-text-field__label{opacity:.5}.yst-root .yst-text-field--disabled .yst-text-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-text-field__label{cursor:default}.yst-root .yst-text-field__description,.yst-root .yst-text-field__validation{margin-top:.5rem}.yst-root .yst-textarea-field--disabled .yst-textarea-field__description,.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{opacity:.5}.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-textarea-field__label{cursor:default}.yst-root .yst-textarea-field__description,.yst-root .yst-textarea-field__validation{margin-top:.5rem}.yst-root .yst-toggle-field{display:flex;flex-direction:column;gap:.25rem}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{opacity:.5}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{cursor:not-allowed}.yst-root .yst-toggle-field__header{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:space-between}.yst-root .yst-toggle-field__label-wrapper{align-items:center;display:flex;gap:.25rem}.yst-root .yst-toggle-field__description{margin-left:4.25rem}.yst-sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.yst-pointer-events-none{pointer-events:none!important}.yst-invisible{visibility:hidden!important}.yst-fixed{position:fixed!important}.yst-absolute{position:absolute!important}.yst-relative{position:relative!important}.yst-sticky{position:sticky!important}.yst-inset-0{bottom:0!important;top:0!important}.yst-inset-0,.yst-inset-x-0{right:0!important;left:0!important}.yst-inset-y-0{bottom:0!important;top:0!important}.yst--left-3{right:-.75rem!important}.yst-top-0{top:0!important}.yst-right-0{left:0!important}.yst-bottom-12{bottom:3rem!important}.yst-top-2{top:.5rem!important}.yst-right-2{left:.5rem!important}.yst-bottom-0{bottom:0!important}.yst-top-1\/2{top:50%!important}.yst--right-\[6\.5px\]{left:-6.5px!important}.yst--top-\[6\.5px\]{top:-6.5px!important}.yst-left-4{right:1rem!important}.yst--bottom-6{bottom:-1.5rem!important}.yst-top-8{top:2rem!important}.yst-top-3\.5{top:.875rem!important}.yst-top-3{top:.75rem!important}.yst-left-0{right:0!important}.yst-z-30{z-index:30!important}.yst-z-40{z-index:40!important}.yst-z-10{z-index:10!important}.yst-z-20{z-index:20!important}.yst-order-last{order:9999!important}.yst-col-span-1{grid-column:span 1/span 1!important}.yst-m-0{margin:0!important}.yst--m-\[16px\]{margin:-16px!important}.yst--m-6{margin:-1.5rem!important}.yst-my-auto{margin-bottom:auto!important;margin-top:auto!important}.yst-mx-auto{margin-right:auto!important;margin-left:auto!important}.yst-my-4{margin-bottom:1rem!important;margin-top:1rem!important}.yst-my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.yst-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.yst-my-12{margin-bottom:3rem!important;margin-top:3rem!important}.yst-my-3{margin-bottom:.75rem!important;margin-top:.75rem!important}.yst-my-8{margin-bottom:2rem!important;margin-top:2rem!important}.yst--mx-6{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.yst-mx-1\.5{margin-right:.375rem!important;margin-left:.375rem!important}.yst-mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.yst-mx-0{margin-right:0!important;margin-left:0!important}.yst-mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.yst-my-0{margin-bottom:0!important;margin-top:0!important}.yst-my-16{margin-bottom:4rem!important;margin-top:4rem!important}.yst--ml-1{margin-right:-.25rem!important}.yst-mt-6{margin-top:1.5rem!important}.yst-mt-1\.5{margin-top:.375rem!important}.yst-mt-1{margin-top:.25rem!important}.yst-ml-8{margin-right:2rem!important}.yst--mr-14{margin-left:-3.5rem!important}.yst-mb-2{margin-bottom:.5rem!important}.yst-mr-4{margin-left:1rem!important}.yst-mr-2{margin-left:.5rem!important}.yst-mb-px{margin-bottom:1px!important}.yst-ml-4{margin-right:1rem!important}.yst-mb-16{margin-bottom:4rem!important}.yst-mt-auto{margin-top:auto!important}.yst-ml-3{margin-right:.75rem!important}.yst-mr-1{margin-left:.25rem!important}.yst-mr-5{margin-left:1.25rem!important}.yst-mb-8{margin-bottom:2rem!important}.yst-mt-3{margin-top:.75rem!important}.yst-ml-1{margin-right:.25rem!important}.yst--mr-1{margin-left:-.25rem!important}.yst--mb-\[1em\]{margin-bottom:-1em!important}.yst--ml-0\.5{margin-right:-.125rem!important}.yst--ml-0{margin-right:0!important}.yst-ml-auto{margin-right:auto!important}.yst-mt-2{margin-top:.5rem!important}.yst-mt-4{margin-top:1rem!important}.yst-mb-5{margin-bottom:1.25rem!important}.yst-mb-6{margin-bottom:1.5rem!important}.yst-mt-8{margin-top:2rem!important}.yst-mt-12{margin-top:3rem!important}.yst-mb-3{margin-bottom:.75rem!important}.yst-ml-1\.5{margin-right:.375rem!important}.yst-mr-6{margin-left:1.5rem!important}.yst--ml-px{margin-right:-1px!important}.yst-ml-12{margin-right:3rem!important}.yst-mb-0{margin-bottom:0!important}.yst--mt-6{margin-top:-1.5rem!important}.yst-mb-4{margin-bottom:1rem!important}.yst-ml-2{margin-right:.5rem!important}.yst-mr-3{margin-left:.75rem!important}.yst-mt-7{margin-top:1.75rem!important}.yst-mt-10{margin-top:2.5rem!important}.yst-mt-\[-2\.6rem\]{margin-top:-2.6rem!important}.yst-mt-\[18px\]{margin-top:18px!important}.yst-mb-1{margin-bottom:.25rem!important}.yst-mr-8{margin-left:2rem!important}.yst--mt-4{margin-top:-1rem!important}.yst-mb-24{margin-bottom:6rem!important}.yst-mt-\[27\.5px\]{margin-top:27.5px!important}.yst-mt-5{margin-top:1.25rem!important}.yst-mt-0{margin-top:0!important}.yst-block{display:block!important}.yst-inline-block{display:inline-block!important}.yst-inline{display:inline!important}.yst-flex{display:flex!important}.yst-inline-flex{display:inline-flex!important}.yst-grid{display:grid!important}.yst-hidden{display:none!important}.yst-h-5{height:1.25rem!important}.yst-h-6{height:1.5rem!important}.yst-h-4{height:1rem!important}.yst-h-12{height:3rem!important}.yst-h-0{height:0!important}.yst-h-full{height:100%!important}.yst-h-16{height:4rem!important}.yst-h-7{height:1.75rem!important}.yst-h-3{height:.75rem!important}.yst-h-8{height:2rem!important}.yst-h-\[90vh\]{height:90vh!important}.yst-h-4\/5{height:80%!important}.yst-h-20{height:5rem!important}.yst-h-\[120px\]{height:120px!important}.yst-h-auto{height:auto!important}.yst-h-9{height:2.25rem!important}.yst-h-2\.5{height:.625rem!important}.yst-h-2{height:.5rem!important}.yst-h-24{height:6rem!important}.yst-h-48{height:12rem!important}.yst-h-96{height:24rem!important}.yst-h-\[45px\]{height:45px!important}.yst-h-14{height:3.5rem!important}.yst-h-28{height:7rem!important}.yst-max-h-\[calc\(90vh-10rem\)\]{max-height:calc(90vh - 10rem)!important}.yst-max-h-60{max-height:15rem!important}.yst-min-h-full{min-height:100%!important}.yst-w-5{width:1.25rem!important}.yst-w-6{width:1.5rem!important}.yst-w-0{width:0!important}.yst-w-full{width:100%!important}.yst-w-4{width:1rem!important}.yst-w-12{width:3rem!important}.yst-w-2{width:.5rem!important}.yst-w-3{width:.75rem!important}.yst-w-8{width:2rem!important}.yst-w-\[350px\]{width:350px!important}.yst-w-20{width:5rem!important}.yst-w-\[150px\]{width:150px!important}.yst-w-\[3px\]{width:3px!important}.yst-w-40{width:10rem!important}.yst-w-56{width:14rem!important}.yst-w-2\.5{width:.625rem!important}.yst-w-0\.5{width:.125rem!important}.yst-w-48{width:12rem!important}.yst-w-96{width:24rem!important}.yst-w-3\/5{width:60%!important}.yst-w-16{width:4rem!important}.yst-w-14{width:3.5rem!important}.yst-w-\[463px\]{width:463px!important}.yst-w-24{width:6rem!important}.yst-min-w-full{min-width:100%!important}.yst-min-w-0{min-width:0!important}.yst-max-w-xs{max-width:20rem!important}.yst-max-w-sm{max-width:24rem!important}.yst-max-w-screen-sm{max-width:640px!important}.yst-max-w-6xl{max-width:72rem!important}.yst-max-w-lg{max-width:32rem!important}.yst-max-w-\[715px\]{max-width:715px!important}.yst-max-w-none{max-width:none!important}.yst-max-w-full{max-width:100%!important}.yst-max-w-5xl{max-width:64rem!important}.yst-max-w-2xl{max-width:42rem!important}.yst-max-w-\[500px\]{max-width:500px!important}.yst-flex-1{flex:1 1 0%!important}.yst-flex-none{flex:none!important}.yst-flex-shrink-0,.yst-shrink-0{flex-shrink:0!important}.yst-flex-grow,.yst-grow{flex-grow:1!important}.yst-origin-top{transform-origin:top!important}.yst-translate-y-4{--tw-translate-y:1rem!important}.yst-translate-y-0,.yst-translate-y-4{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-translate-y-0{--tw-translate-y:0px!important}.yst-translate-y-full{--tw-translate-y:100%!important}.yst--translate-y-full,.yst-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst--translate-y-full{--tw-translate-y:-100%!important}.yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.yst-scale-100,.yst-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important}.yst-scale-y-0{--tw-scale-y:0!important}.yst-scale-y-0,.yst-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes yst-spin{to{transform:rotate(-1turn)}}.yst-animate-spin{animation:yst-spin 1s linear infinite!important}.yst-cursor-wait{cursor:wait!important}.yst-cursor-not-allowed{cursor:not-allowed!important}.yst-cursor-default{cursor:default!important}.yst-select-none{-webkit-user-select:none!important;user-select:none!important}.yst-scroll-pt-11{scroll-padding-top:2.75rem!important}.yst-scroll-pb-2{scroll-padding-bottom:.5rem!important}.yst-list-outside{list-style-position:outside!important}.yst-list-disc{list-style-type:disc!important}.yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.yst-flex-row{flex-direction:row!important}.yst-flex-col{flex-direction:column!important}.yst-flex-wrap{flex-wrap:wrap!important}.yst-content-between{align-content:space-between!important}.yst-items-start{align-items:flex-start!important}.yst-items-center{align-items:center!important}.yst-justify-center{justify-content:center!important}.yst-justify-between{justify-content:space-between!important}.yst-gap-2{gap:.5rem!important}.yst-gap-3{gap:.75rem!important}.yst-gap-8{gap:2rem!important}.yst-gap-6{gap:1.5rem!important}.yst-gap-1\.5{gap:.375rem!important}.yst-gap-1{gap:.25rem!important}.yst-gap-4{gap:1rem!important}.yst-gap-x-6{column-gap:1.5rem!important}.yst-gap-y-2{row-gap:.5rem!important}.yst-gap-x-4{column-gap:1rem!important}.yst-space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(2rem*var(--tw-space-x-reverse))!important}.yst-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.25rem*var(--tw-space-y-reverse))!important;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(.5rem*var(--tw-space-x-reverse))!important}.yst-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.75rem*var(--tw-space-y-reverse))!important;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(.75rem*var(--tw-space-x-reverse))!important}.yst-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}.yst-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}.yst-divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(229 231 235/var(--tw-divide-opacity))!important}.yst-divide-slate-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(203 213 225/var(--tw-divide-opacity))!important}.yst-self-start{align-self:flex-start!important}.yst-self-end{align-self:flex-end!important}.yst-self-center{align-self:center!important}.yst-overflow-auto{overflow:auto!important}.yst-overflow-hidden{overflow:hidden!important}.yst-overflow-y-auto{overflow-y:auto!important}.yst-overflow-x-scroll{overflow-x:scroll!important}.yst-truncate{overflow:hidden!important;white-space:nowrap!important}.yst-overflow-ellipsis,.yst-text-ellipsis,.yst-truncate{text-overflow:ellipsis!important}.yst-whitespace-nowrap{white-space:nowrap!important}.yst-whitespace-pre-line{white-space:pre-line!important}.yst-rounded-md{border-radius:.375rem!important}.yst-rounded-full{border-radius:9999px!important}.yst-rounded-lg{border-radius:.5rem!important}.yst-rounded-3xl{border-radius:1.5rem!important}.yst-rounded-none{border-radius:0!important}.yst-rounded-xl{border-radius:.75rem!important}.yst-rounded-l-md{border-bottom-right-radius:.375rem!important;border-top-right-radius:.375rem!important}.yst-rounded-r-md{border-bottom-left-radius:.375rem!important;border-top-left-radius:.375rem!important}.yst-rounded-t-lg{border-top-right-radius:.5rem!important;border-top-left-radius:.5rem!important}.yst-rounded-b-lg{border-bottom-right-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.yst-rounded-br-none{border-bottom-left-radius:0!important}.yst-border{border-width:1px!important}.yst-border-2{border-width:2px!important}.yst-border-0{border-width:0!important}.yst-border-y{border-bottom-width:1px!important;border-top-width:1px!important}.yst-border-x-0{border-right-width:0!important;border-left-width:0!important}.yst-border-l{border-right-width:1px!important}.yst-border-b{border-bottom-width:1px!important}.yst-border-r{border-left-width:1px!important}.yst-border-t,.yst-border-t-\[1px\]{border-top-width:1px!important}.yst-border-solid{border-style:solid!important}.yst-border-dashed{border-style:dashed!important}.yst-border-none{border-style:none!important}.yst-border-slate-200{--tw-border-opacity:1!important;border-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-transparent{border-color:#0000!important}.yst-border-white{--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}.yst-border-amber-300{--tw-border-opacity:1!important;border-color:rgb(252 211 77/var(--tw-border-opacity))!important}.yst-border-slate-300{--tw-border-opacity:1!important;border-color:rgb(203 213 225/var(--tw-border-opacity))!important}.yst-border-primary-500{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.yst-border-slate-100{--tw-border-opacity:1!important;border-color:rgb(241 245 249/var(--tw-border-opacity))!important}.yst-border-primary-300{--tw-border-opacity:1!important;border-color:rgb(205 130 171/var(--tw-border-opacity))!important}.yst-border-red-300{--tw-border-opacity:1!important;border-color:rgb(252 165 165/var(--tw-border-opacity))!important}.yst-border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.yst-border-emerald-600{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.yst-border-r-slate-200{--tw-border-opacity:1!important;border-left-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-t-\[rgb\(0\,0\,0\,0\.2\)\]{border-top-color:#0003!important}.yst-bg-slate-600{--tw-bg-opacity:1!important;background-color:rgb(71 85 105/var(--tw-bg-opacity))!important}.yst-bg-slate-100{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.yst-bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.yst-bg-slate-200{--tw-bg-opacity:1!important;background-color:rgb(226 232 240/var(--tw-bg-opacity))!important}.yst-bg-slate-50{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.yst-bg-transparent{background-color:initial!important}.yst-bg-green-100{--tw-bg-opacity:1!important;background-color:rgb(220 252 231/var(--tw-bg-opacity))!important}.yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-bg-black{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.yst-bg-slate-300{--tw-bg-opacity:1!important;background-color:rgb(203 213 225/var(--tw-bg-opacity))!important}.yst-bg-red-100{--tw-bg-opacity:1!important;background-color:rgb(254 226 226/var(--tw-bg-opacity))!important}.yst-bg-primary-600{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.yst-bg-blue-100{--tw-bg-opacity:1!important;background-color:rgb(219 234 254/var(--tw-bg-opacity))!important}.yst-bg-yellow-100{--tw-bg-opacity:1!important;background-color:rgb(254 249 195/var(--tw-bg-opacity))!important}.yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-bg-opacity-75{--tw-bg-opacity:0.75!important}.yst-stroke-3{stroke-width:3px!important}.yst-stroke-1{stroke-width:1!important}.yst-object-contain{object-fit:contain!important}.yst-object-cover{object-fit:cover!important}.yst-object-center{object-position:center!important}.yst-p-1{padding:.25rem!important}.yst-p-6{padding:1.5rem!important}.yst-p-4{padding:1rem!important}.yst-p-8{padding:2rem!important}.yst-p-0{padding:0!important}.yst-p-2\.5{padding:.625rem!important}.yst-p-2{padding:.5rem!important}.yst-p-3{padding:.75rem!important}.yst-px-4{padding-right:1rem!important;padding-left:1rem!important}.yst-px-3{padding-right:.75rem!important;padding-left:.75rem!important}.yst-py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.yst-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.yst-px-2{padding-right:.5rem!important;padding-left:.5rem!important}.yst-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.yst-px-6{padding-right:1.5rem!important;padding-left:1.5rem!important}.yst-py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}.yst-px-2\.5{padding-right:.625rem!important;padding-left:.625rem!important}.yst-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.yst-px-0\.5{padding-right:.125rem!important;padding-left:.125rem!important}.yst-px-0{padding-right:0!important;padding-left:0!important}.yst-px-\[3px\]{padding-right:3px!important;padding-left:3px!important}.yst-py-\[3px\]{padding-bottom:3px!important;padding-top:3px!important}.yst-px-8{padding-right:2rem!important;padding-left:2rem!important}.yst-py-12{padding-bottom:3rem!important;padding-top:3rem!important}.yst-py-1\.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.yst-px-11{padding-right:2.75rem!important;padding-left:2.75rem!important}.yst-px-10{padding-right:2.5rem!important;padding-left:2.5rem!important}.yst-pb-10{padding-bottom:2.5rem!important}.yst-pb-1{padding-bottom:.25rem!important}.yst-pt-1{padding-top:.25rem!important}.yst-pt-4{padding-top:1rem!important}.yst-pb-4{padding-bottom:1rem!important}.yst-pr-4{padding-left:1rem!important}.yst-pl-6{padding-right:1.5rem!important}.yst-pt-2{padding-top:.5rem!important}.yst-pl-\[1em\]{padding-right:1em!important}.yst-pb-6{padding-bottom:1.5rem!important}.yst-pb-8{padding-bottom:2rem!important}.yst-pt-6{padding-top:1.5rem!important}.yst-pl-2{padding-right:.5rem!important}.yst-pr-3{padding-left:.75rem!important}.yst-pb-2{padding-bottom:.5rem!important}.yst-pt-10{padding-top:2.5rem!important}.yst-pt-\[56\.25\%\]{padding-top:56.25%!important}.yst-pl-3{padding-right:.75rem!important}.yst-pr-2{padding-left:.5rem!important}.yst-pl-0{padding-right:0!important}.yst-pr-10{padding-left:2.5rem!important}.yst-pr-9{padding-left:2.25rem!important}.yst-text-left{text-align:right!important}.yst-text-center{text-align:center!important}.yst-align-middle{vertical-align:middle!important}.yst-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.yst-font-wp{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important}.yst-text-sm{font-size:.8125rem!important}.yst-text-4xl{font-size:2.25rem!important}.yst-text-2xl{font-size:1.5rem!important}.yst-text-base{font-size:1rem!important}.yst-text-tiny{font-size:.875rem!important}.yst-text-lg{font-size:1.125rem!important}.yst-text-xs{font-size:.75rem!important}.yst-text-xl{font-size:1.25rem!important}.yst-text-\[10px\]{font-size:10px!important}.yst-text-xxs{font-size:.675rem!important}.yst-font-medium{font-weight:500!important}.yst-font-semibold{font-weight:600!important}.yst-font-extrabold{font-weight:800!important}.yst-font-bold{font-weight:700!important}.yst-font-\[650\]{font-weight:650!important}.yst-font-light{font-weight:300!important}.yst-font-normal{font-weight:400!important}.yst-uppercase{text-transform:uppercase!important}.yst-italic{font-style:italic!important}.yst-leading-10{line-height:2.5rem!important}.yst-leading-6{line-height:1.5rem!important}.yst-leading-8{line-height:2rem!important}.yst-leading-5{line-height:1.25rem!important}.yst-leading-normal{line-height:1.5!important}.yst-leading-\[normal\]{line-height:normal!important}.yst-leading-tight{line-height:1.25!important}.yst-leading-4{line-height:1rem!important}.yst-tracking-tight{letter-spacing:-.025em!important}.yst-tracking-wide{letter-spacing:.025em!important}.yst-text-slate-800{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.yst-text-slate-400{--tw-text-opacity:1!important;color:rgb(148 163 184/var(--tw-text-opacity))!important}.yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.yst-text-slate-600{--tw-text-opacity:1!important;color:rgb(71 85 105/var(--tw-text-opacity))!important}.yst-text-primary-500{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.yst-text-gray-900{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.yst-text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity))!important}.yst-text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity))!important}.yst-text-indigo-600{--tw-text-opacity:1!important;color:rgb(79 70 229/var(--tw-text-opacity))!important}.yst-text-\[\#555\]{--tw-text-opacity:1!important;color:rgb(85 85 85/var(--tw-text-opacity))!important}.yst-text-amber-300{--tw-text-opacity:1!important;color:rgb(252 211 77/var(--tw-text-opacity))!important}.yst-text-slate-700{--tw-text-opacity:1!important;color:rgb(51 65 85/var(--tw-text-opacity))!important}.yst-text-red-500{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity))!important}.yst-text-green-400{--tw-text-opacity:1!important;color:rgb(74 222 128/var(--tw-text-opacity))!important}.yst-text-\[\#111827\]{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-yellow-900{--tw-text-opacity:1!important;color:rgb(113 63 18/var(--tw-text-opacity))!important}.yst-text-amber-500{--tw-text-opacity:1!important;color:rgb(245 158 11/var(--tw-text-opacity))!important}.yst-text-amber-900{--tw-text-opacity:1!important;color:rgb(120 53 15/var(--tw-text-opacity))!important}.yst-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.yst-text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.yst-text-blue-800{--tw-text-opacity:1!important;color:rgb(30 64 175/var(--tw-text-opacity))!important}.yst-text-yellow-500{--tw-text-opacity:1!important;color:rgb(234 179 8/var(--tw-text-opacity))!important}.yst-text-yellow-800{--tw-text-opacity:1!important;color:rgb(133 77 14/var(--tw-text-opacity))!important}.yst-text-red-800{--tw-text-opacity:1!important;color:rgb(153 27 27/var(--tw-text-opacity))!important}.yst-text-emerald-600{--tw-text-opacity:1!important;color:rgb(5 150 105/var(--tw-text-opacity))!important}.yst-text-green-800{--tw-text-opacity:1!important;color:rgb(22 101 52/var(--tw-text-opacity))!important}.yst-text-red-900{--tw-text-opacity:1!important;color:rgb(127 29 29/var(--tw-text-opacity))!important}.yst-underline{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.yst-line-through{-webkit-text-decoration-line:line-through!important;text-decoration-line:line-through!important}.yst-no-underline{-webkit-text-decoration-line:none!important;text-decoration-line:none!important}.yst-subpixel-antialiased{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important}.yst-placeholder-slate-500::placeholder{--tw-placeholder-opacity:1!important;color:rgb(100 116 139/var(--tw-placeholder-opacity))!important}.yst-opacity-0{opacity:0!important}.yst-opacity-100{opacity:1!important}.yst-opacity-25{opacity:.25!important}.yst-opacity-75{opacity:.75!important}.yst-opacity-50{opacity:.5!important}.yst-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important}.yst-shadow,.yst-shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.yst-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}.yst-shadow-md,.yst-shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a!important;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)!important}.yst-shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.yst-shadow-none,.yst-shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.yst-shadow-amber-700\/30{--tw-shadow-color:#b453094d!important;--tw-shadow:var(--tw-shadow-colored)!important}.yst-outline-none{outline:2px solid #0000!important;outline-offset:2px!important}.yst-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.yst-ring-gray-200{--tw-ring-opacity:1!important;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))!important}.yst-ring-black{--tw-ring-opacity:1!important;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))!important}.yst-ring-opacity-5{--tw-ring-opacity:0.05!important}.yst-ring-offset-2{--tw-ring-offset-width:2px!important}.yst-ring-offset-primary-500{--tw-ring-offset-color:#a61e69!important}.yst-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f)!important}.yst-drop-shadow-md,.yst-grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-grayscale{--tw-grayscale:grayscale(100%)!important}.yst-filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-\[width\]{transition-duration:.15s!important;transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-delay-200{transition-delay:.2s!important}.yst-delay-\[900ms\]{transition-delay:.9s!important}.yst-delay-100{transition-delay:.1s!important}.yst-duration-1000{transition-duration:1s!important}.yst-duration-200{transition-duration:.2s!important}.yst-duration-300{transition-duration:.3s!important}.yst-duration-100{transition-duration:.1s!important}.yst-duration-75{transition-duration:75ms!important}.yst-duration-150{transition-duration:.15s!important}.yst-duration-500{transition-duration:.5s!important}.yst-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.yst-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.yst-ease-linear{transition-timing-function:linear!important}.odd\:yst-bg-white:nth-child(odd){--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.even\:yst-bg-slate-50:nth-child(2n){--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.focus-within\:yst-border-primary-500:focus-within{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus-within\:yst-outline-none:focus-within{outline:2px solid #0000!important;outline-offset:2px!important}.focus-within\:yst-ring-1:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus-within\:yst-ring-primary-500:focus-within{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.hover\:yst-bg-slate-50:hover{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.hover\:yst-bg-gray-50:hover{--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}.hover\:yst-bg-\[\#f0f0f0\]:hover{--tw-bg-opacity:1!important;background-color:rgb(240 240 240/var(--tw-bg-opacity))!important}.hover\:yst-bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.hover\:yst-bg-primary-600:hover{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.hover\:yst-text-slate-900:hover{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.hover\:yst-text-slate-500:hover{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.hover\:yst-text-slate-800:hover{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.hover\:yst-text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.hover\:yst-text-primary-500:hover{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.hover\:yst-underline:hover{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.focus\:yst-border-primary-500:focus{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus\:yst-border-red-500:focus{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.focus\:yst-border-emerald-600:focus{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.focus\:yst-bg-primary-600:focus{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.focus\:yst-text-white:focus{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.focus\:yst-text-primary-500:focus{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.focus\:yst-shadow-\[0_0_3px_rgba\(8\2c 74\2c 103\2c 0\.8\)\]:focus{--tw-shadow:0 0 3px #084a67cc!important;--tw-shadow-colored:0 0 3px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.focus\:yst-outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}.focus\:yst-outline:focus{outline-style:solid!important}.focus\:yst-outline-\[1px\]:focus{outline-width:1px!important}.focus\:-yst-outline-offset-1:focus{outline-offset:-1px!important}.focus\:yst-outline-\[color\:\#0066cd\]:focus{outline-color:#0066cd!important}.focus\:yst-ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-1:focus,.focus\:yst-ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus\:yst-ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-inset:focus{--tw-ring-inset:inset!important}.focus\:yst-ring-primary-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-white:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))!important}.focus\:yst-ring-red-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))!important}.focus\:yst-ring-emerald-600:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(5 150 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-offset-1:focus{--tw-ring-offset-width:1px!important}.focus\:yst-ring-offset-2:focus{--tw-ring-offset-width:2px!important}.focus\:yst-ring-offset-transparent:focus{--tw-ring-offset-color:#0000!important}.focus\:yst-ring-offset-primary-500:focus{--tw-ring-offset-color:#a61e69!important}.yst-group:hover .group-hover\:yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-primary-800{--tw-text-opacity:1!important;color:rgb(131 8 78/var(--tw-text-opacity))!important}[dir=rtl] .rtl\:yst-rotate-180{--tw-rotate:180deg!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@media not all and (min-width:640px){.max-sm\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}}@media (min-width:640px){.sm\:yst-mx-0{margin-right:0!important;margin-left:0!important}.sm\:yst-mb-0{margin-bottom:0!important}.sm\:yst-ml-3{margin-right:.75rem!important}.sm\:yst-mt-0{margin-top:0!important}.sm\:yst-ml-4{margin-right:1rem!important}.sm\:yst-flex{display:flex!important}.sm\:yst-h-10{height:2.5rem!important}.sm\:yst-w-auto{width:auto!important}.sm\:yst-w-10{width:2.5rem!important}.sm\:yst-translate-y-0{--tw-translate-y:0px!important}.sm\:yst-scale-95,.sm\:yst-translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.sm\:yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm\:yst-flex-row-reverse{flex-direction:row-reverse!important}.sm\:yst-items-start{align-items:flex-start!important}.sm\:yst-text-left{text-align:right!important}.sm\:yst-text-sm{font-size:.8125rem!important}}@media (min-width:768px){.md\:yst-absolute{position:absolute!important}.md\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:yst-flex-row{flex-direction:row!important}}@media (min-width:783px){.min-\[783px\]\:yst-block{display:block!important}.min-\[783px\]\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.min-\[783px\]\:yst-p-8{padding:2rem!important}}@media (min-width:1024px){.lg\:yst-col-span-2{grid-column:span 2/span 2!important}.lg\:yst-mt-0{margin-top:0!important}.lg\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lg\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.lg\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:yst-gap-12{gap:3rem!important}}@media (min-width:1280px){.xl\:yst-fixed{position:fixed!important}.xl\:yst-right-8{left:2rem!important}.xl\:yst-col-span-2{grid-column:span 2/span 2!important}.xl\:yst-mb-0{margin-bottom:0!important}.xl\:yst-mt-0{margin-top:0!important}.xl\:yst-w-\[16rem\]{width:16rem!important}.xl\:yst-max-w-3xl{max-width:48rem!important}.xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xl\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.xl\:yst-gap-12{gap:3rem!important}.xl\:yst-pr-\[17\.5rem\]{padding-left:17.5rem!important}}@media (min-width:1536px){.\32xl\:yst-col-span-2{grid-column:span 2/span 2!important}.\32xl\:yst-mt-0{margin-top:0!important}.\32xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.\32xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.\32xl\:yst-gap-12{gap:3rem!important}}@media (min-width:1800px){.min-\[1800px\]\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2340.css new file mode 100644 index 00000000..5eb2cf82 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2340.css @@ -0,0 +1 @@ +.yst-root *,.yst-root :after,.yst-root :before{border:0 solid #e5e7eb;box-sizing:border-box}.yst-root :after,.yst-root :before{--tw-content:""}.yst-root{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;margin:0;tab-size:4}.yst-root hr{border-top-width:1px;color:inherit;height:0}.yst-root abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6{font-size:inherit;font-weight:inherit}.yst-root a{color:inherit;text-decoration:inherit}.yst-root b,.yst-root strong{font-weight:bolder}.yst-root code,.yst-root kbd,.yst-root pre,.yst-root samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.yst-root small{font-size:80%}.yst-root sub,.yst-root sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}.yst-root sub{bottom:-.25em}.yst-root sup{top:-.5em}.yst-root table{border-collapse:collapse;border-color:inherit;text-indent:0}.yst-root button,.yst-root input,.yst-root optgroup,.yst-root select,.yst-root textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}.yst-root button,.yst-root select{text-transform:none}.yst-root [type=button],.yst-root [type=reset],.yst-root [type=submit],.yst-root button{-webkit-appearance:button;background-color:initial;background-image:none}.yst-root :-moz-focusring{outline:auto}.yst-root :-moz-ui-invalid{box-shadow:none}.yst-root progress{vertical-align:initial}.yst-root ::-webkit-inner-spin-button,.yst-root ::-webkit-outer-spin-button{height:auto}.yst-root [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.yst-root ::-webkit-search-decoration{-webkit-appearance:none}.yst-root ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.yst-root summary{display:list-item}.yst-root blockquote,.yst-root dd,.yst-root dl,.yst-root figure,.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6,.yst-root hr,.yst-root p,.yst-root pre{margin:0}.yst-root fieldset{margin:0;padding:0}.yst-root legend{padding:0}.yst-root menu,.yst-root ol,.yst-root ul{list-style:none;margin:0;padding:0}.yst-root textarea{resize:vertical}.yst-root input::placeholder,.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root [role=button],.yst-root button{cursor:pointer}.yst-root :disabled{cursor:default}.yst-root audio,.yst-root canvas,.yst-root embed,.yst-root iframe,.yst-root img,.yst-root object,.yst-root svg,.yst-root video{display:block;vertical-align:middle}.yst-root img,.yst-root video{height:auto;max-width:100%}.yst-root [type=date],.yst-root [type=datetime-local],.yst-root [type=email],.yst-root [type=month],.yst-root [type=number],.yst-root [type=password],.yst-root [type=search],.yst-root [type=tel],.yst-root [type=text],.yst-root [type=time],.yst-root [type=url],.yst-root [type=week]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root [type=date]:focus,.yst-root [type=datetime-local]:focus,.yst-root [type=email]:focus,.yst-root [type=month]:focus,.yst-root [type=number]:focus,.yst-root [type=password]:focus,.yst-root [type=search]:focus,.yst-root [type=tel]:focus,.yst-root [type=text]:focus,.yst-root [type=time]:focus,.yst-root [type=url]:focus,.yst-root [type=week]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder{color:#6b7280;opacity:1}.yst-root [type=date]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=datetime-local]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=email]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=month]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=number]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=password]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=search]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=tel]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=text]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=time]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=url]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=week]::-webkit-datetime-edit-fields-wrapper{padding:0}.yst-root [type=date]::-webkit-date-and-time-value,.yst-root [type=datetime-local]::-webkit-date-and-time-value,.yst-root [type=email]::-webkit-date-and-time-value,.yst-root [type=month]::-webkit-date-and-time-value,.yst-root [type=number]::-webkit-date-and-time-value,.yst-root [type=password]::-webkit-date-and-time-value,.yst-root [type=search]::-webkit-date-and-time-value,.yst-root [type=tel]::-webkit-date-and-time-value,.yst-root [type=text]::-webkit-date-and-time-value,.yst-root [type=time]::-webkit-date-and-time-value,.yst-root [type=url]::-webkit-date-and-time-value,.yst-root [type=week]::-webkit-date-and-time-value{min-height:1.5em}.yst-root [type=date]::-webkit-datetime-edit,.yst-root [type=date]::-webkit-datetime-edit-day-field,.yst-root [type=date]::-webkit-datetime-edit-hour-field,.yst-root [type=date]::-webkit-datetime-edit-meridiem-field,.yst-root [type=date]::-webkit-datetime-edit-millisecond-field,.yst-root [type=date]::-webkit-datetime-edit-minute-field,.yst-root [type=date]::-webkit-datetime-edit-month-field,.yst-root [type=date]::-webkit-datetime-edit-second-field,.yst-root [type=date]::-webkit-datetime-edit-year-field,.yst-root [type=datetime-local]::-webkit-datetime-edit,.yst-root [type=datetime-local]::-webkit-datetime-edit-day-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-hour-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-meridiem-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-millisecond-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-minute-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-month-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-second-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-year-field,.yst-root [type=email]::-webkit-datetime-edit,.yst-root [type=email]::-webkit-datetime-edit-day-field,.yst-root [type=email]::-webkit-datetime-edit-hour-field,.yst-root [type=email]::-webkit-datetime-edit-meridiem-field,.yst-root [type=email]::-webkit-datetime-edit-millisecond-field,.yst-root [type=email]::-webkit-datetime-edit-minute-field,.yst-root [type=email]::-webkit-datetime-edit-month-field,.yst-root [type=email]::-webkit-datetime-edit-second-field,.yst-root [type=email]::-webkit-datetime-edit-year-field,.yst-root [type=month]::-webkit-datetime-edit,.yst-root [type=month]::-webkit-datetime-edit-day-field,.yst-root [type=month]::-webkit-datetime-edit-hour-field,.yst-root [type=month]::-webkit-datetime-edit-meridiem-field,.yst-root [type=month]::-webkit-datetime-edit-millisecond-field,.yst-root [type=month]::-webkit-datetime-edit-minute-field,.yst-root [type=month]::-webkit-datetime-edit-month-field,.yst-root [type=month]::-webkit-datetime-edit-second-field,.yst-root [type=month]::-webkit-datetime-edit-year-field,.yst-root [type=number]::-webkit-datetime-edit,.yst-root [type=number]::-webkit-datetime-edit-day-field,.yst-root [type=number]::-webkit-datetime-edit-hour-field,.yst-root [type=number]::-webkit-datetime-edit-meridiem-field,.yst-root [type=number]::-webkit-datetime-edit-millisecond-field,.yst-root [type=number]::-webkit-datetime-edit-minute-field,.yst-root [type=number]::-webkit-datetime-edit-month-field,.yst-root [type=number]::-webkit-datetime-edit-second-field,.yst-root [type=number]::-webkit-datetime-edit-year-field,.yst-root [type=password]::-webkit-datetime-edit,.yst-root [type=password]::-webkit-datetime-edit-day-field,.yst-root [type=password]::-webkit-datetime-edit-hour-field,.yst-root [type=password]::-webkit-datetime-edit-meridiem-field,.yst-root [type=password]::-webkit-datetime-edit-millisecond-field,.yst-root [type=password]::-webkit-datetime-edit-minute-field,.yst-root [type=password]::-webkit-datetime-edit-month-field,.yst-root [type=password]::-webkit-datetime-edit-second-field,.yst-root [type=password]::-webkit-datetime-edit-year-field,.yst-root [type=search]::-webkit-datetime-edit,.yst-root [type=search]::-webkit-datetime-edit-day-field,.yst-root [type=search]::-webkit-datetime-edit-hour-field,.yst-root [type=search]::-webkit-datetime-edit-meridiem-field,.yst-root [type=search]::-webkit-datetime-edit-millisecond-field,.yst-root [type=search]::-webkit-datetime-edit-minute-field,.yst-root [type=search]::-webkit-datetime-edit-month-field,.yst-root [type=search]::-webkit-datetime-edit-second-field,.yst-root [type=search]::-webkit-datetime-edit-year-field,.yst-root [type=tel]::-webkit-datetime-edit,.yst-root [type=tel]::-webkit-datetime-edit-day-field,.yst-root [type=tel]::-webkit-datetime-edit-hour-field,.yst-root [type=tel]::-webkit-datetime-edit-meridiem-field,.yst-root [type=tel]::-webkit-datetime-edit-millisecond-field,.yst-root [type=tel]::-webkit-datetime-edit-minute-field,.yst-root [type=tel]::-webkit-datetime-edit-month-field,.yst-root [type=tel]::-webkit-datetime-edit-second-field,.yst-root [type=tel]::-webkit-datetime-edit-year-field,.yst-root [type=text]::-webkit-datetime-edit,.yst-root [type=text]::-webkit-datetime-edit-day-field,.yst-root [type=text]::-webkit-datetime-edit-hour-field,.yst-root [type=text]::-webkit-datetime-edit-meridiem-field,.yst-root [type=text]::-webkit-datetime-edit-millisecond-field,.yst-root [type=text]::-webkit-datetime-edit-minute-field,.yst-root [type=text]::-webkit-datetime-edit-month-field,.yst-root [type=text]::-webkit-datetime-edit-second-field,.yst-root [type=text]::-webkit-datetime-edit-year-field,.yst-root [type=time]::-webkit-datetime-edit,.yst-root [type=time]::-webkit-datetime-edit-day-field,.yst-root [type=time]::-webkit-datetime-edit-hour-field,.yst-root [type=time]::-webkit-datetime-edit-meridiem-field,.yst-root [type=time]::-webkit-datetime-edit-millisecond-field,.yst-root [type=time]::-webkit-datetime-edit-minute-field,.yst-root [type=time]::-webkit-datetime-edit-month-field,.yst-root [type=time]::-webkit-datetime-edit-second-field,.yst-root [type=time]::-webkit-datetime-edit-year-field,.yst-root [type=url]::-webkit-datetime-edit,.yst-root [type=url]::-webkit-datetime-edit-day-field,.yst-root [type=url]::-webkit-datetime-edit-hour-field,.yst-root [type=url]::-webkit-datetime-edit-meridiem-field,.yst-root [type=url]::-webkit-datetime-edit-millisecond-field,.yst-root [type=url]::-webkit-datetime-edit-minute-field,.yst-root [type=url]::-webkit-datetime-edit-month-field,.yst-root [type=url]::-webkit-datetime-edit-second-field,.yst-root [type=url]::-webkit-datetime-edit-year-field,.yst-root [type=week]::-webkit-datetime-edit,.yst-root [type=week]::-webkit-datetime-edit-day-field,.yst-root [type=week]::-webkit-datetime-edit-hour-field,.yst-root [type=week]::-webkit-datetime-edit-meridiem-field,.yst-root [type=week]::-webkit-datetime-edit-millisecond-field,.yst-root [type=week]::-webkit-datetime-edit-minute-field,.yst-root [type=week]::-webkit-datetime-edit-month-field,.yst-root [type=week]::-webkit-datetime-edit-second-field,.yst-root [type=week]::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.yst-root textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root select{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.yst-root select[multiple]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select[multiple]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:0;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=checkbox]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:checked,.yst-root [type=checkbox]:checked:focus,.yst-root [type=checkbox]:checked:hover,.yst-root [type=checkbox]:indeterminate{background-color:currentColor;border-color:#0000}.yst-root [type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:indeterminate:focus,.yst-root [type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}.yst-root [type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:100%;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=radio]:checked,.yst-root [type=radio]:checked:focus,.yst-root [type=radio]:checked:hover{background-color:currentColor;border-color:#0000}.yst-root{--tw-text-opacity:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgb(71 85 105/var(--tw-text-opacity));font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.8125rem;font-weight:400;line-height:1.5}.yst-root a{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root a:visited{color:#a61e69}.yst-root a:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root a:hover:visited{color:#b94986}.yst-root a:focus{--tw-text-opacity:1;border-radius:.125rem;color:rgb(99 102 241/var(--tw-text-opacity));outline-color:#4f46e5;outline-offset:1px;outline-style:solid}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder,.yst-root textarea::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root svg path{stroke-width:inherit}.yst-root .yst-radio__input,.yst-root a:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-radio__input{transition-property:none}.yst-root .yst-radio__input:checked:before{content:var(--tw-content);display:none}.yst-root .yst-modal{z-index:100000!important}.yst-root dd,.yst-root li{margin-bottom:0}.yst-root input[type=date],.yst-root input[type=datetime-local],.yst-root input[type=datetime],.yst-root input[type=email],.yst-root input[type=month],.yst-root input[type=number],.yst-root input[type=password],.yst-root input[type=search],.yst-root input[type=tel],.yst-root input[type=text],.yst-root input[type=time],.yst-root input[type=url],.yst-root input[type=week]{min-height:0}.yst-root input[type=checkbox]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);min-height:0;min-width:0;transition-property:none}.yst-root input[type=checkbox]:before{--tw-content:none;content:var(--tw-content)}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.yst-root .yst-alert{border-radius:.375rem;display:flex;gap:.75rem;padding:1rem}.yst-root .yst-alert--info{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.yst-root .yst-alert--info .yst-alert__message{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.yst-root .yst-alert--warning{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity))}.yst-root .yst-alert--warning .yst-alert__message{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity))}.yst-root .yst-alert--success{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.yst-root .yst-alert--success .yst-alert__message{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.yst-root .yst-alert--error{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.yst-root .yst-alert--error .yst-alert__message{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.yst-root .yst-alert__icon{flex-grow:0;flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-autocomplete{position:relative}.yst-root .yst-autocomplete--error .yst-autocomplete__button{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.yst-root .yst-autocomplete--error .yst-autocomplete__button:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity));border-color:rgb(239 68 68/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete--error .yst-autocomplete__input::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.yst-root .yst-autocomplete--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-autocomplete--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;padding-left:.75rem;padding-right:.75rem;width:100%}.yst-root .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;right:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-autocomplete__input{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem 2.5rem .5rem 0;width:100%}.yst-root .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:20}.yst-root .yst-autocomplete__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-autocomplete__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-autocomplete__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-autocomplete__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-badge{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(219 234 254/var(--tw-bg-opacity));border-radius:9999px;color:rgb(30 64 175/var(--tw-text-opacity));display:inline-flex;font-size:.75rem;font-weight:500;line-height:1.25;padding:.125rem .5rem;vertical-align:middle;white-space:nowrap}.yst-root .yst-badge--info{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.yst-root .yst-badge--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-badge--plain{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.yst-root .yst-badge--small{font-size:.675rem}.yst-root .yst-badge--large{font-size:1rem;padding-left:.75rem;padding-right:.75rem}.yst-root .yst-button{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-color:#0000;align-items:center;border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:500;justify-content:center;line-height:1.25rem;padding:.5rem .75rem;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none}.yst-root .yst-button:focus{outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root a.yst-button:focus{border-radius:.375rem}.yst-root .yst-button--primary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-color:#0000;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:visited{color:#fff}.yst-root .yst-button--primary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(143 15 87/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:hover:visited{color:#fff}.yst-root .yst-button--primary:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--secondary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:visited{color:#1e293b}.yst-root .yst-button--secondary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:hover:visited{color:#1e293b}.yst-root .yst-button--secondary:focus{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--tertiary{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:initial;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:visited{color:#83084e}.yst-root .yst-button--tertiary:hover{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:hover:visited{color:#83084e}.yst-root .yst-button--tertiary:focus{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--error{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity));border-color:#0000;color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:visited{color:#fff}.yst-root .yst-button--error:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:hover:visited{color:#fff}.yst-root .yst-button--error:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#dc2626}.yst-root .yst-button--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity));border-color:#0000;color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:visited{color:#78350f}.yst-root .yst-button--upsell:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:hover:visited{color:#78350f}.yst-root .yst-button--upsell:focus{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity));outline-color:#fbbf24}.yst-root .yst-button--large{font-size:.875rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-button--extra-large{font-size:1rem;line-height:1.5rem;padding:.625rem .875rem}.yst-root .yst-button--small{font-size:.75rem;line-height:1rem;padding:.375rem .625rem}.yst-root .yst-button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-button--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-checkbox{align-items:center;display:flex}.yst-root .yst-checkbox--disabled .yst-checkbox__input,.yst-root .yst-checkbox--disabled .yst-checkbox__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.25rem;color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-checkbox__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-checkbox__label{margin-left:.75rem}.yst-root .yst-code{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;color:rgb(15 23 42/var(--tw-text-opacity));display:inline-block;font-size:.75rem;line-height:1.25;margin:0;padding:.25rem}.yst-root .yst-code--block{display:block;margin-bottom:.5rem;margin-top:.5rem;max-width:100%;overflow-x:auto;padding:.25rem .5rem;white-space:nowrap}.yst-root .yst-file-input{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border:2px dashed rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;padding:1.25rem 1.5rem 1.5rem;text-align:center;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:100%}.yst-root .yst-file-input.yst-is-drag-over{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(250 243 247/var(--tw-bg-opacity));border-color:rgb(205 130 171/var(--tw-border-opacity))}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__content{pointer-events:none}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__icon{--tw-translate-y:-0.5rem;--tw-text-opacity:1;color:rgb(185 73 134/var(--tw-text-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-file-input.yst-is-disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-file-input.yst-is-disabled .yst-file-input__select-label{cursor:not-allowed}.yst-root .yst-file-input__content{align-items:center;display:inline-flex;flex-direction:column;max-width:20rem}.yst-root .yst-file-input__content>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-input__content{text-align:center}.yst-root .yst-file-input__icon{stroke-width:1;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:3rem;margin-left:auto;margin-right:auto;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:3rem}.yst-root .yst-file-input__icon>path{stroke-width:1}.yst-root .yst-file-input__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-file-input__input:focus+.yst-file-input__select-label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-input__labels{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:inline-block;font-weight:400}.yst-root .yst-file-input__select-label{border-radius:.375rem;font-weight:500}[dir=rtl] .yst-root .yst-file-input__labels{flex-direction:row-reverse}.yst-root .yst-label{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;font-weight:500}.yst-root .yst-link{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root .yst-link:visited{color:#a61e69}.yst-root .yst-link:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root .yst-link:hover:visited{color:#b94986}.yst-root .yst-link:focus{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(79 70 229/var(--tw-ring-opacity));--tw-ring-offset-width:1px;--tw-ring-offset-color:#0000;border-radius:.125rem;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(99 102 241/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-link--primary{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus,.yst-root .yst-link--primary:hover{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(154 22 96/var(--tw-ring-opacity))}.yst-root .yst-link--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-link--error:focus,.yst-root .yst-link--error:hover{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-link--error:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(220 38 38/var(--tw-ring-opacity))}.yst-root .yst-paper{--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column}.yst-root .yst-paper__header{border-bottom-width:1px;padding:2rem}.yst-root .yst-paper__content{flex-grow:1;padding:2rem}.yst-root .yst-progress-bar{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;display:block;overflow:hidden;width:100%}.yst-root .yst-progress-bar__progress{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));border-radius:9999px;display:block;height:.375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:linear}.yst-root .yst-radio{align-items:center;display:flex}.yst-root .yst-radio--disabled .yst-radio__check,.yst-root .yst-radio--disabled .yst-radio__input,.yst-root .yst-radio--disabled .yst-radio__label{cursor:not-allowed;opacity:.5}.yst-root .yst-radio--disabled .yst-radio__check:focus,.yst-root .yst-radio--disabled .yst-radio__input:focus,.yst-root .yst-radio--disabled .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block{display:inline-flex}.yst-root .yst-radio--inline-block .yst-radio__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:#0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__check{visibility:visible}.yst-root .yst-radio--inline-block .yst-radio__input:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-offset-width:1px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__content{position:relative}.yst-root .yst-radio--inline-block .yst-radio__label{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);cursor:pointer;display:flex;font-size:1rem;height:3.5rem;justify-content:center;margin-left:0;width:3.5rem}.yst-root .yst-radio--inline-block .yst-radio__label:hover{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity))}.yst-root .yst-radio--inline-block .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio--inline-block .yst-radio__check{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity));height:1.25rem;position:absolute;right:.125rem;top:.125rem;visibility:hidden;width:1.25rem}.yst-root .yst-radio__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-radio__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-radio__label{margin-left:.75rem}.yst-root .yst-select{position:relative}.yst-root .yst-select--disabled .yst-select__button,.yst-root .yst-select--disabled .yst-select__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select__button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;line-height:1.5rem;padding:.5rem .75rem;position:relative;text-align:left;width:100%}.yst-root .yst-select__button:focus{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;right:.625rem;top:.625rem;width:1.25rem}.yst-root .yst-select__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:10}.yst-root .yst-select__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-select__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-select__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(154 22 96/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__button-label,.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-select__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-skeleton-loader{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;display:block;height:auto;overflow:hidden;position:relative;width:-moz-fit-content;width:fit-content}.yst-root .yst-skeleton-loader:after{--tw-translate-x:-100%;animation:wave 2.5s linear .5s infinite;background:linear-gradient(90deg,#0000,#00000012,#0000);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes wave{0%{transform:translateX(-100%)}50%,to{transform:translateX(100%)}}.yst-root .yst-tag-input{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(30 41 59/var(--tw-text-opacity));display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.375rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-tag-input::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root .yst-tag-input{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-tag-input,.yst-root .yst-tag-input:focus-within{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-tag-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-input--disabled:focus-within{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:rgb(203 213 225/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus,.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(148 163 184/var(--tw-text-opacity))}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__input{cursor:not-allowed}.yst-root .yst-tag-input__tag{cursor:pointer;gap:.125rem;min-height:20px;padding-inline-end:.125rem}.yst-root .yst-tag-input__tag:hover{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input__tag:focus,.yst-root .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__remove-tag{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1rem;justify-content:center;width:1rem}.yst-root .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__input{border-style:none;display:inline-flex;flex:1 1 0%;font-size:.8125rem;margin:0;padding:0}.yst-root .yst-tag-input__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-text-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-text-input--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-text-input--read-only{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-color:rgb(248 250 252/var(--tw-bg-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(100 116 139/var(--tw-text-opacity));cursor:default}.yst-root .yst-textarea{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-textarea:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-textarea--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-textarea--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-title{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity));font-weight:500;line-height:1.25}.yst-root .yst-title--1{font-size:1.5rem}.yst-root .yst-title--2{font-size:1.125rem}.yst-root .yst-title--3{font-size:.875rem}.yst-root .yst-title--4{font-size:1rem}.yst-root .yst-title--5{font-size:.8125rem}.yst-root .yst-toast{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);max-width:100%;overflow-y:auto;padding:1rem;pointer-events:auto;width:20rem;z-index:20}.yst-root .yst-toast--large{width:24rem}.yst-root .yst-toggle{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));border-color:#0000;border-radius:9999px;border-width:2px;cursor:pointer;display:inline-flex;flex-shrink:0;height:1.5rem;position:relative;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);width:2.75rem}.yst-root .yst-toggle:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-toggle--checked{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-toggle--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-toggle--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-toggle__handle{--tw-translate-x:0px;--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;height:1.25rem;justify-content:center;pointer-events:none;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1.25rem}.yst-root .yst-toggle__icon{stroke:currentColor;stroke-width:2;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-grow:0;flex-shrink:0;height:.625rem;transition-duration:.1s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:.625rem}.yst-root .yst-toggle__icon--check{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-toggle__icon--x{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}[dir=rtl] .yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:-1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(255 255 255/var(--tw-text-opacity));display:inline-block;font-size:.75rem;max-width:24rem;padding:.5rem .625rem;position:absolute;white-space:normal;width:max-content;z-index:10}.yst-root .yst-tooltip--top{--tw-translate-x:-50%;--tw-translate-y:-100%;left:50%;margin-top:-.75rem;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--top:before{--tw-translate-x:-50%;--tw-translate-y:0px;--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;border-top-color:rgb(31 41 55/var(--tw-border-opacity));border-width:8px;content:var(--tw-content);position:absolute}.yst-root .yst-tooltip--bottom,.yst-root .yst-tooltip--top:before{left:50%;top:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--bottom{--tw-translate-x:-50%;--tw-translate-y:-0px;margin-top:.75rem}.yst-root .yst-tooltip--bottom:before{--tw-translate-x:-50%;--tw-border-opacity:1;--tw-content:"";border-bottom-color:rgb(31 41 55/var(--tw-border-opacity));border-left-color:#0000;border-right-color:#0000;border-top-color:#0000;border-width:8px;bottom:100%;content:var(--tw-content);left:50%;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right{--tw-translate-x:-0px;left:100%;margin-left:.75rem}.yst-root .yst-tooltip--right,.yst-root .yst-tooltip--right:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:#0000;border-right-color:rgb(31 41 55/var(--tw-border-opacity));border-top-color:#0000;border-width:8px;content:var(--tw-content);position:absolute;right:100%}.yst-root .yst-tooltip--left{margin-right:.75rem;right:100%}.yst-root .yst-tooltip--left,.yst-root .yst-tooltip--left:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--left:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:rgb(31 41 55/var(--tw-border-opacity));border-right-color:#0000;border-top-color:#0000;border-width:8px;content:var(--tw-content);left:100%;position:absolute}.yst-root .yst-validation-icon{pointer-events:none}.yst-root .yst-validation-icon--success{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.yst-root .yst-validation-icon--info{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.yst-root .yst-validation-icon--warning{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.yst-root .yst-validation-icon--error{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-validation-input{position:relative}.yst-root .yst-validation-input--success .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(134 239 172/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--success .yst-validation-input__input:focus,.yst-root .yst-validation-input--success .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity))}.yst-root .yst-validation-input--info .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(147 197 253/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--info .yst-validation-input__input:focus,.yst-root .yst-validation-input--info .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.yst-root .yst-validation-input--warning .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 211 77/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--warning .yst-validation-input__input:focus,.yst-root .yst-validation-input--warning .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(245 158 11/var(--tw-ring-opacity))}.yst-root .yst-validation-input--error .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 165 165/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--error .yst-validation-input__input:focus,.yst-root .yst-validation-input--error .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.yst-root .yst-validation-input__input:focus,.yst-root .yst-validation-input__input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-validation-input__icon{height:1.25rem;position:absolute;right:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-validation-message a{color:inherit;font-weight:500}.yst-root .yst-validation-message a:visited:hover{color:inherit}.yst-root .yst-validation-message a:focus{--tw-ring-color:currentColor}.yst-root .yst-validation-message--success{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.yst-root .yst-validation-message--info{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.yst-root .yst-validation-message--warning{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}.yst-root .yst-validation-message--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-autocomplete-field__description,.yst-root .yst-autocomplete-field__validation{margin-top:.5rem}.yst-root .yst-card{display:flex;flex-direction:column;position:relative}.yst-root .yst-card>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-card{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden;padding:1.5rem;transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-card__header{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 244 246/var(--tw-bg-opacity));display:flex;height:6rem;justify-content:center;margin-left:-1.5rem;margin-right:-1.5rem;margin-top:-1.5rem;padding:1.5rem;position:relative}.yst-root .yst-card__content{flex-grow:1}.yst-root .yst-card__footer{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));border-top-width:1px;padding-top:1.5rem}.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__description,.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox-group__label{margin-bottom:.5rem}.yst-root .yst-checkbox-group__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-checkbox-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-feature-upsell{position:relative}.yst-root .yst-feature-upsell--default{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.yst-root .yst-feature-upsell--card{padding:1.5rem}.yst-root .yst-file-import>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-import__feedback{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);padding:1rem}.yst-root .yst-file-import__feedback-header{align-items:flex-start;display:flex}.yst-root .yst-file-import__feedback-header>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.yst-root .yst-file-import__feedback-figure{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 229 237/var(--tw-bg-opacity));border-radius:9999px;display:flex;height:2rem;justify-content:center;width:2rem}.yst-root .yst-file-import__feedback-figure>svg{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity));height:1.25rem;width:1.25rem}.yst-root .yst-file-import__feedback-title{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:block;font-weight:500;margin-bottom:.125rem;overflow-wrap:break-word}.yst-root .yst-file-import__feedback-description{display:block;font-size:.75rem;font-weight:500}.yst-root .yst-file-import__abort-button{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(241 245 249/var(--tw-bg-opacity));border-radius:9999px;color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1.25rem;justify-content:center;width:1.25rem}.yst-root .yst-file-import__abort-button:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(71 85 105/var(--tw-text-opacity))}.yst-root .yst-file-import__abort-button:focus{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-import__abort-button>svg{height:.75rem;width:.75rem}.yst-root .yst-file-import__abort-button>svg>path{stroke-width:3}.yst-root .yst-modal{bottom:0;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:10}@media (min-width:640px){.yst-root .yst-modal{padding:2rem}}@media (min-width:768px){.yst-root .yst-modal{padding:5rem}}.yst-root .yst-modal__layout{display:flex;min-height:100%}.yst-root .yst-modal--center .yst-modal__layout{align-items:center;justify-content:center}.yst-root .yst-modal--top-center .yst-modal__layout{align-items:flex-start;justify-content:center}.yst-root .yst-modal__overlay{--tw-bg-opacity:0.75;background-color:rgb(100 116 139/var(--tw-bg-opacity));bottom:0;left:0;position:fixed;right:0;top:0;transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-modal__panel{--tw-bg-opacity:1;--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);max-width:36rem;overflow:hidden;padding:1.5rem;position:relative;width:100%}.yst-root .yst-modal__close{display:block;position:absolute;right:1rem;top:1rem}.yst-root .yst-modal__close-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(148 163 184/var(--tw-text-opacity));position:relative;z-index:10}.yst-root .yst-modal__close-button:hover{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-modal__close-button:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-modal__container{display:flex;flex-direction:column;max-height:calc(100vh - 2rem)}@media (min-width:640px){.yst-root .yst-modal__container{max-height:calc(100vh - 4rem)}}@media (min-width:768px){.yst-root .yst-modal__container{max-height:calc(100vh - 10rem)}}.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 5rem)}@media (min-width:640px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 7rem)}}@media (min-width:768px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 13rem)}}.yst-root .yst-modal__container-footer,.yst-root .yst-modal__container-header{flex-shrink:0}.yst-root .yst-modal__container-content{overflow:auto}.yst-root .yst-modal__panel .yst-modal__container-content{margin-left:-1.5rem;margin-right:-1.5rem;padding-left:1.5rem;padding-right:1.5rem}.yst-root .yst-notifications{display:flex;flex-direction:column;max-height:calc(100vh - 4rem);max-width:calc(100vw - 4rem);pointer-events:none;position:fixed;width:100%;z-index:20}.yst-root .yst-notifications>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-notifications--bottom-center{align-items:center;bottom:2rem}.yst-root .yst-notifications--bottom-left{bottom:2rem;left:2rem}.yst-root .yst-notifications--top-center{align-items:center;top:2rem}.yst-root .yst-notification--large{width:24rem}.yst-root .yst-notification__icon{height:1.25rem;width:1.25rem}.yst-root .yst-pagination{display:inline-flex;isolation:isolate}.yst-root .yst-pagination>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(-1px*(1 - var(--tw-space-x-reverse)));margin-right:calc(-1px*var(--tw-space-x-reverse))}.yst-root .yst-pagination{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-pagination-display__text{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));font-weight:400;padding:.5rem .75rem}.yst-root .yst-pagination-display__current-text{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity));font-weight:600}.yst-root .yst-pagination-display__truncated{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));align-self:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;font-size:.8125rem;font-weight:600;padding:.5rem 1rem}.yst-root .yst-pagination__button{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;padding:.5rem;position:relative}.yst-root .yst-pagination__button:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}.yst-root .yst-pagination__button:focus{outline-color:#a61e69;outline-offset:0;z-index:20}.yst-root .yst-pagination__button--active{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:rgb(166 30 105/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(255 255 255/var(--tw-text-opacity));font-size:.8125rem;font-weight:600;z-index:10}.yst-root .yst-pagination__button--active:hover{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-pagination__button--active:focus{z-index:20}.yst-root .yst-pagination__button--active:focus-visible{border-radius:.125rem;outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root .yst-pagination__button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-pagination__button--disabled:hover{background-color:initial}.yst-root .yst-pagination__button--disabled:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio-group--inline-block .yst-radio-group__options{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}.yst-root .yst-radio-group--disabled .yst-radio-group__description,.yst-root .yst-radio-group--disabled .yst-radio-group__label{opacity:.5}.yst-root .yst-radio-group--disabled .yst-radio-group__label{cursor:not-allowed}.yst-root .yst-radio-group__label{margin-bottom:.5rem}.yst-root .yst-radio-group__options{display:flex;flex-direction:column;gap:.5rem}.yst-root .yst-radio-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-select-field--disabled .yst-select-field__description,.yst-root .yst-select-field--disabled .yst-select-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select-field__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-select-field__description,.yst-root .yst-select-field__validation{margin-top:.5rem}.yst-root .yst-mobile-navigation__top{position:sticky;top:0;width:100%;z-index:50}.yst-root .yst-mobile-navigation__dialog{bottom:0;display:flex;left:0;position:fixed;right:0;top:0;z-index:50}.yst-root .yst-tag-field--disabled .yst-tag-field__description,.yst-root .yst-tag-field--disabled .yst-tag-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-field__description,.yst-root .yst-tag-field__validation{margin-top:.5rem}.yst-root .yst-text-field--disabled .yst-text-field__description,.yst-root .yst-text-field--disabled .yst-text-field__label{opacity:.5}.yst-root .yst-text-field--disabled .yst-text-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-text-field__label{cursor:default}.yst-root .yst-text-field__description,.yst-root .yst-text-field__validation{margin-top:.5rem}.yst-root .yst-textarea-field--disabled .yst-textarea-field__description,.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{opacity:.5}.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-textarea-field__label{cursor:default}.yst-root .yst-textarea-field__description,.yst-root .yst-textarea-field__validation{margin-top:.5rem}.yst-root .yst-toggle-field{display:flex;flex-direction:column;gap:.25rem}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{opacity:.5}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{cursor:not-allowed}.yst-root .yst-toggle-field__header{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:space-between}.yst-root .yst-toggle-field__label-wrapper{align-items:center;display:flex;gap:.25rem}.yst-root .yst-toggle-field__description{margin-right:4.25rem}.yst-sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.yst-pointer-events-none{pointer-events:none!important}.yst-invisible{visibility:hidden!important}.yst-fixed{position:fixed!important}.yst-absolute{position:absolute!important}.yst-relative{position:relative!important}.yst-sticky{position:sticky!important}.yst-inset-0{bottom:0!important;top:0!important}.yst-inset-0,.yst-inset-x-0{left:0!important;right:0!important}.yst-inset-y-0{bottom:0!important;top:0!important}.yst--left-3{left:-.75rem!important}.yst-top-0{top:0!important}.yst-right-0{right:0!important}.yst-bottom-12{bottom:3rem!important}.yst-top-2{top:.5rem!important}.yst-right-2{right:.5rem!important}.yst-bottom-0{bottom:0!important}.yst-top-1\/2{top:50%!important}.yst--right-\[6\.5px\]{right:-6.5px!important}.yst--top-\[6\.5px\]{top:-6.5px!important}.yst-left-4{left:1rem!important}.yst--bottom-6{bottom:-1.5rem!important}.yst-top-8{top:2rem!important}.yst-top-3\.5{top:.875rem!important}.yst-top-3{top:.75rem!important}.yst-left-0{left:0!important}.yst-z-30{z-index:30!important}.yst-z-40{z-index:40!important}.yst-z-10{z-index:10!important}.yst-z-20{z-index:20!important}.yst-order-last{order:9999!important}.yst-col-span-1{grid-column:span 1/span 1!important}.yst-m-0{margin:0!important}.yst--m-\[16px\]{margin:-16px!important}.yst--m-6{margin:-1.5rem!important}.yst-my-auto{margin-bottom:auto!important;margin-top:auto!important}.yst-mx-auto{margin-left:auto!important;margin-right:auto!important}.yst-my-4{margin-bottom:1rem!important;margin-top:1rem!important}.yst-my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.yst-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.yst-my-12{margin-bottom:3rem!important;margin-top:3rem!important}.yst-my-3{margin-bottom:.75rem!important;margin-top:.75rem!important}.yst-my-8{margin-bottom:2rem!important;margin-top:2rem!important}.yst--mx-6{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.yst-mx-1\.5{margin-left:.375rem!important;margin-right:.375rem!important}.yst-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.yst-mx-0{margin-left:0!important;margin-right:0!important}.yst-mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.yst-my-0{margin-bottom:0!important;margin-top:0!important}.yst-my-16{margin-bottom:4rem!important;margin-top:4rem!important}.yst--ml-1{margin-left:-.25rem!important}.yst-mt-6{margin-top:1.5rem!important}.yst-mt-1\.5{margin-top:.375rem!important}.yst-mt-1{margin-top:.25rem!important}.yst-ml-8{margin-left:2rem!important}.yst--mr-14{margin-right:-3.5rem!important}.yst-mb-2{margin-bottom:.5rem!important}.yst-mr-4{margin-right:1rem!important}.yst-mr-2{margin-right:.5rem!important}.yst-mb-px{margin-bottom:1px!important}.yst-ml-4{margin-left:1rem!important}.yst-mb-16{margin-bottom:4rem!important}.yst-mt-auto{margin-top:auto!important}.yst-ml-3{margin-left:.75rem!important}.yst-mr-1{margin-right:.25rem!important}.yst-mr-5{margin-right:1.25rem!important}.yst-mb-8{margin-bottom:2rem!important}.yst-mt-3{margin-top:.75rem!important}.yst-ml-1{margin-left:.25rem!important}.yst--mr-1{margin-right:-.25rem!important}.yst--mb-\[1em\]{margin-bottom:-1em!important}.yst--ml-0\.5{margin-left:-.125rem!important}.yst--ml-0{margin-left:0!important}.yst-ml-auto{margin-left:auto!important}.yst-mt-2{margin-top:.5rem!important}.yst-mt-4{margin-top:1rem!important}.yst-mb-5{margin-bottom:1.25rem!important}.yst-mb-6{margin-bottom:1.5rem!important}.yst-mt-8{margin-top:2rem!important}.yst-mt-12{margin-top:3rem!important}.yst-mb-3{margin-bottom:.75rem!important}.yst-ml-1\.5{margin-left:.375rem!important}.yst-mr-6{margin-right:1.5rem!important}.yst--ml-px{margin-left:-1px!important}.yst-ml-12{margin-left:3rem!important}.yst-mb-0{margin-bottom:0!important}.yst--mt-6{margin-top:-1.5rem!important}.yst-mb-4{margin-bottom:1rem!important}.yst-ml-2{margin-left:.5rem!important}.yst-mr-3{margin-right:.75rem!important}.yst-mt-7{margin-top:1.75rem!important}.yst-mt-10{margin-top:2.5rem!important}.yst-mt-\[-2\.6rem\]{margin-top:-2.6rem!important}.yst-mt-\[18px\]{margin-top:18px!important}.yst-mb-1{margin-bottom:.25rem!important}.yst-mr-8{margin-right:2rem!important}.yst--mt-4{margin-top:-1rem!important}.yst-mb-24{margin-bottom:6rem!important}.yst-mt-\[27\.5px\]{margin-top:27.5px!important}.yst-mt-5{margin-top:1.25rem!important}.yst-mt-0{margin-top:0!important}.yst-block{display:block!important}.yst-inline-block{display:inline-block!important}.yst-inline{display:inline!important}.yst-flex{display:flex!important}.yst-inline-flex{display:inline-flex!important}.yst-grid{display:grid!important}.yst-hidden{display:none!important}.yst-h-5{height:1.25rem!important}.yst-h-6{height:1.5rem!important}.yst-h-4{height:1rem!important}.yst-h-12{height:3rem!important}.yst-h-0{height:0!important}.yst-h-full{height:100%!important}.yst-h-16{height:4rem!important}.yst-h-7{height:1.75rem!important}.yst-h-3{height:.75rem!important}.yst-h-8{height:2rem!important}.yst-h-\[90vh\]{height:90vh!important}.yst-h-4\/5{height:80%!important}.yst-h-20{height:5rem!important}.yst-h-\[120px\]{height:120px!important}.yst-h-auto{height:auto!important}.yst-h-9{height:2.25rem!important}.yst-h-2\.5{height:.625rem!important}.yst-h-2{height:.5rem!important}.yst-h-24{height:6rem!important}.yst-h-48{height:12rem!important}.yst-h-96{height:24rem!important}.yst-h-\[45px\]{height:45px!important}.yst-h-14{height:3.5rem!important}.yst-h-28{height:7rem!important}.yst-max-h-\[calc\(90vh-10rem\)\]{max-height:calc(90vh - 10rem)!important}.yst-max-h-60{max-height:15rem!important}.yst-min-h-full{min-height:100%!important}.yst-w-5{width:1.25rem!important}.yst-w-6{width:1.5rem!important}.yst-w-0{width:0!important}.yst-w-full{width:100%!important}.yst-w-4{width:1rem!important}.yst-w-12{width:3rem!important}.yst-w-2{width:.5rem!important}.yst-w-3{width:.75rem!important}.yst-w-8{width:2rem!important}.yst-w-\[350px\]{width:350px!important}.yst-w-20{width:5rem!important}.yst-w-\[150px\]{width:150px!important}.yst-w-\[3px\]{width:3px!important}.yst-w-40{width:10rem!important}.yst-w-56{width:14rem!important}.yst-w-2\.5{width:.625rem!important}.yst-w-0\.5{width:.125rem!important}.yst-w-48{width:12rem!important}.yst-w-96{width:24rem!important}.yst-w-3\/5{width:60%!important}.yst-w-16{width:4rem!important}.yst-w-14{width:3.5rem!important}.yst-w-\[463px\]{width:463px!important}.yst-w-24{width:6rem!important}.yst-min-w-full{min-width:100%!important}.yst-min-w-0{min-width:0!important}.yst-max-w-xs{max-width:20rem!important}.yst-max-w-sm{max-width:24rem!important}.yst-max-w-screen-sm{max-width:640px!important}.yst-max-w-6xl{max-width:72rem!important}.yst-max-w-lg{max-width:32rem!important}.yst-max-w-\[715px\]{max-width:715px!important}.yst-max-w-none{max-width:none!important}.yst-max-w-full{max-width:100%!important}.yst-max-w-5xl{max-width:64rem!important}.yst-max-w-2xl{max-width:42rem!important}.yst-max-w-\[500px\]{max-width:500px!important}.yst-flex-1{flex:1 1 0%!important}.yst-flex-none{flex:none!important}.yst-flex-shrink-0,.yst-shrink-0{flex-shrink:0!important}.yst-flex-grow,.yst-grow{flex-grow:1!important}.yst-origin-top{transform-origin:top!important}.yst-translate-y-4{--tw-translate-y:1rem!important}.yst-translate-y-0,.yst-translate-y-4{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-translate-y-0{--tw-translate-y:0px!important}.yst-translate-y-full{--tw-translate-y:100%!important}.yst--translate-y-full,.yst-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst--translate-y-full{--tw-translate-y:-100%!important}.yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.yst-scale-100,.yst-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important}.yst-scale-y-0{--tw-scale-y:0!important}.yst-scale-y-0,.yst-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes yst-spin{to{transform:rotate(1turn)}}.yst-animate-spin{animation:yst-spin 1s linear infinite!important}.yst-cursor-wait{cursor:wait!important}.yst-cursor-not-allowed{cursor:not-allowed!important}.yst-cursor-default{cursor:default!important}.yst-select-none{-webkit-user-select:none!important;user-select:none!important}.yst-scroll-pt-11{scroll-padding-top:2.75rem!important}.yst-scroll-pb-2{scroll-padding-bottom:.5rem!important}.yst-list-outside{list-style-position:outside!important}.yst-list-disc{list-style-type:disc!important}.yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.yst-flex-row{flex-direction:row!important}.yst-flex-col{flex-direction:column!important}.yst-flex-wrap{flex-wrap:wrap!important}.yst-content-between{align-content:space-between!important}.yst-items-start{align-items:flex-start!important}.yst-items-center{align-items:center!important}.yst-justify-center{justify-content:center!important}.yst-justify-between{justify-content:space-between!important}.yst-gap-2{gap:.5rem!important}.yst-gap-3{gap:.75rem!important}.yst-gap-8{gap:2rem!important}.yst-gap-6{gap:1.5rem!important}.yst-gap-1\.5{gap:.375rem!important}.yst-gap-1{gap:.25rem!important}.yst-gap-4{gap:1rem!important}.yst-gap-x-6{column-gap:1.5rem!important}.yst-gap-y-2{row-gap:.5rem!important}.yst-gap-x-4{column-gap:1rem!important}.yst-space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}.yst-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.25rem*var(--tw-space-y-reverse))!important;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}.yst-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.75rem*var(--tw-space-y-reverse))!important;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}.yst-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}.yst-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}.yst-divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(229 231 235/var(--tw-divide-opacity))!important}.yst-divide-slate-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(203 213 225/var(--tw-divide-opacity))!important}.yst-self-start{align-self:flex-start!important}.yst-self-end{align-self:flex-end!important}.yst-self-center{align-self:center!important}.yst-overflow-auto{overflow:auto!important}.yst-overflow-hidden{overflow:hidden!important}.yst-overflow-y-auto{overflow-y:auto!important}.yst-overflow-x-scroll{overflow-x:scroll!important}.yst-truncate{overflow:hidden!important;white-space:nowrap!important}.yst-overflow-ellipsis,.yst-text-ellipsis,.yst-truncate{text-overflow:ellipsis!important}.yst-whitespace-nowrap{white-space:nowrap!important}.yst-whitespace-pre-line{white-space:pre-line!important}.yst-rounded-md{border-radius:.375rem!important}.yst-rounded-full{border-radius:9999px!important}.yst-rounded-lg{border-radius:.5rem!important}.yst-rounded-3xl{border-radius:1.5rem!important}.yst-rounded-none{border-radius:0!important}.yst-rounded-xl{border-radius:.75rem!important}.yst-rounded-l-md{border-bottom-left-radius:.375rem!important;border-top-left-radius:.375rem!important}.yst-rounded-r-md{border-bottom-right-radius:.375rem!important;border-top-right-radius:.375rem!important}.yst-rounded-t-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.yst-rounded-b-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.yst-rounded-br-none{border-bottom-right-radius:0!important}.yst-border{border-width:1px!important}.yst-border-2{border-width:2px!important}.yst-border-0{border-width:0!important}.yst-border-y{border-bottom-width:1px!important;border-top-width:1px!important}.yst-border-x-0{border-left-width:0!important;border-right-width:0!important}.yst-border-l{border-left-width:1px!important}.yst-border-b{border-bottom-width:1px!important}.yst-border-r{border-right-width:1px!important}.yst-border-t,.yst-border-t-\[1px\]{border-top-width:1px!important}.yst-border-solid{border-style:solid!important}.yst-border-dashed{border-style:dashed!important}.yst-border-none{border-style:none!important}.yst-border-slate-200{--tw-border-opacity:1!important;border-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-transparent{border-color:#0000!important}.yst-border-white{--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}.yst-border-amber-300{--tw-border-opacity:1!important;border-color:rgb(252 211 77/var(--tw-border-opacity))!important}.yst-border-slate-300{--tw-border-opacity:1!important;border-color:rgb(203 213 225/var(--tw-border-opacity))!important}.yst-border-primary-500{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.yst-border-slate-100{--tw-border-opacity:1!important;border-color:rgb(241 245 249/var(--tw-border-opacity))!important}.yst-border-primary-300{--tw-border-opacity:1!important;border-color:rgb(205 130 171/var(--tw-border-opacity))!important}.yst-border-red-300{--tw-border-opacity:1!important;border-color:rgb(252 165 165/var(--tw-border-opacity))!important}.yst-border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.yst-border-emerald-600{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.yst-border-r-slate-200{--tw-border-opacity:1!important;border-right-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-t-\[rgb\(0\,0\,0\,0\.2\)\]{border-top-color:#0003!important}.yst-bg-slate-600{--tw-bg-opacity:1!important;background-color:rgb(71 85 105/var(--tw-bg-opacity))!important}.yst-bg-slate-100{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.yst-bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.yst-bg-slate-200{--tw-bg-opacity:1!important;background-color:rgb(226 232 240/var(--tw-bg-opacity))!important}.yst-bg-slate-50{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.yst-bg-transparent{background-color:initial!important}.yst-bg-green-100{--tw-bg-opacity:1!important;background-color:rgb(220 252 231/var(--tw-bg-opacity))!important}.yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-bg-black{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.yst-bg-slate-300{--tw-bg-opacity:1!important;background-color:rgb(203 213 225/var(--tw-bg-opacity))!important}.yst-bg-red-100{--tw-bg-opacity:1!important;background-color:rgb(254 226 226/var(--tw-bg-opacity))!important}.yst-bg-primary-600{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.yst-bg-blue-100{--tw-bg-opacity:1!important;background-color:rgb(219 234 254/var(--tw-bg-opacity))!important}.yst-bg-yellow-100{--tw-bg-opacity:1!important;background-color:rgb(254 249 195/var(--tw-bg-opacity))!important}.yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-bg-opacity-75{--tw-bg-opacity:0.75!important}.yst-stroke-3{stroke-width:3px!important}.yst-stroke-1{stroke-width:1!important}.yst-object-contain{object-fit:contain!important}.yst-object-cover{object-fit:cover!important}.yst-object-center{object-position:center!important}.yst-p-1{padding:.25rem!important}.yst-p-6{padding:1.5rem!important}.yst-p-4{padding:1rem!important}.yst-p-8{padding:2rem!important}.yst-p-0{padding:0!important}.yst-p-2\.5{padding:.625rem!important}.yst-p-2{padding:.5rem!important}.yst-p-3{padding:.75rem!important}.yst-px-4{padding-left:1rem!important;padding-right:1rem!important}.yst-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.yst-py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.yst-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.yst-px-2{padding-left:.5rem!important;padding-right:.5rem!important}.yst-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.yst-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.yst-py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}.yst-px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.yst-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.yst-px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}.yst-px-0{padding-left:0!important;padding-right:0!important}.yst-px-\[3px\]{padding-left:3px!important;padding-right:3px!important}.yst-py-\[3px\]{padding-bottom:3px!important;padding-top:3px!important}.yst-px-8{padding-left:2rem!important;padding-right:2rem!important}.yst-py-12{padding-bottom:3rem!important;padding-top:3rem!important}.yst-py-1\.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.yst-px-11{padding-left:2.75rem!important;padding-right:2.75rem!important}.yst-px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}.yst-pb-10{padding-bottom:2.5rem!important}.yst-pb-1{padding-bottom:.25rem!important}.yst-pt-1{padding-top:.25rem!important}.yst-pt-4{padding-top:1rem!important}.yst-pb-4{padding-bottom:1rem!important}.yst-pr-4{padding-right:1rem!important}.yst-pl-6{padding-left:1.5rem!important}.yst-pt-2{padding-top:.5rem!important}.yst-pl-\[1em\]{padding-left:1em!important}.yst-pb-6{padding-bottom:1.5rem!important}.yst-pb-8{padding-bottom:2rem!important}.yst-pt-6{padding-top:1.5rem!important}.yst-pl-2{padding-left:.5rem!important}.yst-pr-3{padding-right:.75rem!important}.yst-pb-2{padding-bottom:.5rem!important}.yst-pt-10{padding-top:2.5rem!important}.yst-pt-\[56\.25\%\]{padding-top:56.25%!important}.yst-pl-3{padding-left:.75rem!important}.yst-pr-2{padding-right:.5rem!important}.yst-pl-0{padding-left:0!important}.yst-pr-10{padding-right:2.5rem!important}.yst-pr-9{padding-right:2.25rem!important}.yst-text-left{text-align:left!important}.yst-text-center{text-align:center!important}.yst-align-middle{vertical-align:middle!important}.yst-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.yst-font-wp{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important}.yst-text-sm{font-size:.8125rem!important}.yst-text-4xl{font-size:2.25rem!important}.yst-text-2xl{font-size:1.5rem!important}.yst-text-base{font-size:1rem!important}.yst-text-tiny{font-size:.875rem!important}.yst-text-lg{font-size:1.125rem!important}.yst-text-xs{font-size:.75rem!important}.yst-text-xl{font-size:1.25rem!important}.yst-text-\[10px\]{font-size:10px!important}.yst-text-xxs{font-size:.675rem!important}.yst-font-medium{font-weight:500!important}.yst-font-semibold{font-weight:600!important}.yst-font-extrabold{font-weight:800!important}.yst-font-bold{font-weight:700!important}.yst-font-\[650\]{font-weight:650!important}.yst-font-light{font-weight:300!important}.yst-font-normal{font-weight:400!important}.yst-uppercase{text-transform:uppercase!important}.yst-italic{font-style:italic!important}.yst-leading-10{line-height:2.5rem!important}.yst-leading-6{line-height:1.5rem!important}.yst-leading-8{line-height:2rem!important}.yst-leading-5{line-height:1.25rem!important}.yst-leading-normal{line-height:1.5!important}.yst-leading-\[normal\]{line-height:normal!important}.yst-leading-tight{line-height:1.25!important}.yst-leading-4{line-height:1rem!important}.yst-tracking-tight{letter-spacing:-.025em!important}.yst-tracking-wide{letter-spacing:.025em!important}.yst-text-slate-800{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.yst-text-slate-400{--tw-text-opacity:1!important;color:rgb(148 163 184/var(--tw-text-opacity))!important}.yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.yst-text-slate-600{--tw-text-opacity:1!important;color:rgb(71 85 105/var(--tw-text-opacity))!important}.yst-text-primary-500{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.yst-text-gray-900{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.yst-text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity))!important}.yst-text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity))!important}.yst-text-indigo-600{--tw-text-opacity:1!important;color:rgb(79 70 229/var(--tw-text-opacity))!important}.yst-text-\[\#555\]{--tw-text-opacity:1!important;color:rgb(85 85 85/var(--tw-text-opacity))!important}.yst-text-amber-300{--tw-text-opacity:1!important;color:rgb(252 211 77/var(--tw-text-opacity))!important}.yst-text-slate-700{--tw-text-opacity:1!important;color:rgb(51 65 85/var(--tw-text-opacity))!important}.yst-text-red-500{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity))!important}.yst-text-green-400{--tw-text-opacity:1!important;color:rgb(74 222 128/var(--tw-text-opacity))!important}.yst-text-\[\#111827\]{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-yellow-900{--tw-text-opacity:1!important;color:rgb(113 63 18/var(--tw-text-opacity))!important}.yst-text-amber-500{--tw-text-opacity:1!important;color:rgb(245 158 11/var(--tw-text-opacity))!important}.yst-text-amber-900{--tw-text-opacity:1!important;color:rgb(120 53 15/var(--tw-text-opacity))!important}.yst-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.yst-text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.yst-text-blue-800{--tw-text-opacity:1!important;color:rgb(30 64 175/var(--tw-text-opacity))!important}.yst-text-yellow-500{--tw-text-opacity:1!important;color:rgb(234 179 8/var(--tw-text-opacity))!important}.yst-text-yellow-800{--tw-text-opacity:1!important;color:rgb(133 77 14/var(--tw-text-opacity))!important}.yst-text-red-800{--tw-text-opacity:1!important;color:rgb(153 27 27/var(--tw-text-opacity))!important}.yst-text-emerald-600{--tw-text-opacity:1!important;color:rgb(5 150 105/var(--tw-text-opacity))!important}.yst-text-green-800{--tw-text-opacity:1!important;color:rgb(22 101 52/var(--tw-text-opacity))!important}.yst-text-red-900{--tw-text-opacity:1!important;color:rgb(127 29 29/var(--tw-text-opacity))!important}.yst-underline{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.yst-line-through{-webkit-text-decoration-line:line-through!important;text-decoration-line:line-through!important}.yst-no-underline{-webkit-text-decoration-line:none!important;text-decoration-line:none!important}.yst-subpixel-antialiased{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important}.yst-placeholder-slate-500::placeholder{--tw-placeholder-opacity:1!important;color:rgb(100 116 139/var(--tw-placeholder-opacity))!important}.yst-opacity-0{opacity:0!important}.yst-opacity-100{opacity:1!important}.yst-opacity-25{opacity:.25!important}.yst-opacity-75{opacity:.75!important}.yst-opacity-50{opacity:.5!important}.yst-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important}.yst-shadow,.yst-shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.yst-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}.yst-shadow-md,.yst-shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a!important;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)!important}.yst-shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.yst-shadow-none,.yst-shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.yst-shadow-amber-700\/30{--tw-shadow-color:#b453094d!important;--tw-shadow:var(--tw-shadow-colored)!important}.yst-outline-none{outline:2px solid #0000!important;outline-offset:2px!important}.yst-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.yst-ring-gray-200{--tw-ring-opacity:1!important;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))!important}.yst-ring-black{--tw-ring-opacity:1!important;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))!important}.yst-ring-opacity-5{--tw-ring-opacity:0.05!important}.yst-ring-offset-2{--tw-ring-offset-width:2px!important}.yst-ring-offset-primary-500{--tw-ring-offset-color:#a61e69!important}.yst-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f)!important}.yst-drop-shadow-md,.yst-grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-grayscale{--tw-grayscale:grayscale(100%)!important}.yst-filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-\[width\]{transition-duration:.15s!important;transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-delay-200{transition-delay:.2s!important}.yst-delay-\[900ms\]{transition-delay:.9s!important}.yst-delay-100{transition-delay:.1s!important}.yst-duration-1000{transition-duration:1s!important}.yst-duration-200{transition-duration:.2s!important}.yst-duration-300{transition-duration:.3s!important}.yst-duration-100{transition-duration:.1s!important}.yst-duration-75{transition-duration:75ms!important}.yst-duration-150{transition-duration:.15s!important}.yst-duration-500{transition-duration:.5s!important}.yst-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.yst-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.yst-ease-linear{transition-timing-function:linear!important}.odd\:yst-bg-white:nth-child(odd){--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.even\:yst-bg-slate-50:nth-child(2n){--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.focus-within\:yst-border-primary-500:focus-within{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus-within\:yst-outline-none:focus-within{outline:2px solid #0000!important;outline-offset:2px!important}.focus-within\:yst-ring-1:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus-within\:yst-ring-primary-500:focus-within{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.hover\:yst-bg-slate-50:hover{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.hover\:yst-bg-gray-50:hover{--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}.hover\:yst-bg-\[\#f0f0f0\]:hover{--tw-bg-opacity:1!important;background-color:rgb(240 240 240/var(--tw-bg-opacity))!important}.hover\:yst-bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.hover\:yst-bg-primary-600:hover{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.hover\:yst-text-slate-900:hover{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.hover\:yst-text-slate-500:hover{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.hover\:yst-text-slate-800:hover{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.hover\:yst-text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.hover\:yst-text-primary-500:hover{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.hover\:yst-underline:hover{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.focus\:yst-border-primary-500:focus{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus\:yst-border-red-500:focus{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.focus\:yst-border-emerald-600:focus{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.focus\:yst-bg-primary-600:focus{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.focus\:yst-text-white:focus{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.focus\:yst-text-primary-500:focus{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.focus\:yst-shadow-\[0_0_3px_rgba\(8\2c 74\2c 103\2c 0\.8\)\]:focus{--tw-shadow:0 0 3px #084a67cc!important;--tw-shadow-colored:0 0 3px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.focus\:yst-outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}.focus\:yst-outline:focus{outline-style:solid!important}.focus\:yst-outline-\[1px\]:focus{outline-width:1px!important}.focus\:-yst-outline-offset-1:focus{outline-offset:-1px!important}.focus\:yst-outline-\[color\:\#0066cd\]:focus{outline-color:#0066cd!important}.focus\:yst-ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-1:focus,.focus\:yst-ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus\:yst-ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-inset:focus{--tw-ring-inset:inset!important}.focus\:yst-ring-primary-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-white:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))!important}.focus\:yst-ring-red-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))!important}.focus\:yst-ring-emerald-600:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(5 150 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-offset-1:focus{--tw-ring-offset-width:1px!important}.focus\:yst-ring-offset-2:focus{--tw-ring-offset-width:2px!important}.focus\:yst-ring-offset-transparent:focus{--tw-ring-offset-color:#0000!important}.focus\:yst-ring-offset-primary-500:focus{--tw-ring-offset-color:#a61e69!important}.yst-group:hover .group-hover\:yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-primary-800{--tw-text-opacity:1!important;color:rgb(131 8 78/var(--tw-text-opacity))!important}[dir=rtl] .rtl\:yst-rotate-180{--tw-rotate:180deg!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@media not all and (min-width:640px){.max-sm\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}}@media (min-width:640px){.sm\:yst-mx-0{margin-left:0!important;margin-right:0!important}.sm\:yst-mb-0{margin-bottom:0!important}.sm\:yst-ml-3{margin-left:.75rem!important}.sm\:yst-mt-0{margin-top:0!important}.sm\:yst-ml-4{margin-left:1rem!important}.sm\:yst-flex{display:flex!important}.sm\:yst-h-10{height:2.5rem!important}.sm\:yst-w-auto{width:auto!important}.sm\:yst-w-10{width:2.5rem!important}.sm\:yst-translate-y-0{--tw-translate-y:0px!important}.sm\:yst-scale-95,.sm\:yst-translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.sm\:yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm\:yst-flex-row-reverse{flex-direction:row-reverse!important}.sm\:yst-items-start{align-items:flex-start!important}.sm\:yst-text-left{text-align:left!important}.sm\:yst-text-sm{font-size:.8125rem!important}}@media (min-width:768px){.md\:yst-absolute{position:absolute!important}.md\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:yst-flex-row{flex-direction:row!important}}@media (min-width:783px){.min-\[783px\]\:yst-block{display:block!important}.min-\[783px\]\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.min-\[783px\]\:yst-p-8{padding:2rem!important}}@media (min-width:1024px){.lg\:yst-col-span-2{grid-column:span 2/span 2!important}.lg\:yst-mt-0{margin-top:0!important}.lg\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lg\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.lg\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:yst-gap-12{gap:3rem!important}}@media (min-width:1280px){.xl\:yst-fixed{position:fixed!important}.xl\:yst-right-8{right:2rem!important}.xl\:yst-col-span-2{grid-column:span 2/span 2!important}.xl\:yst-mb-0{margin-bottom:0!important}.xl\:yst-mt-0{margin-top:0!important}.xl\:yst-w-\[16rem\]{width:16rem!important}.xl\:yst-max-w-3xl{max-width:48rem!important}.xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xl\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.xl\:yst-gap-12{gap:3rem!important}.xl\:yst-pr-\[17\.5rem\]{padding-right:17.5rem!important}}@media (min-width:1536px){.\32xl\:yst-col-span-2{grid-column:span 2/span 2!important}.\32xl\:yst-mt-0{margin-top:0!important}.\32xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.\32xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.\32xl\:yst-gap-12{gap:3rem!important}}@media (min-width:1800px){.min-\[1800px\]\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2340-rtl.css new file mode 100644 index 00000000..24fb5bb5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2340-rtl.css @@ -0,0 +1 @@ +.switch-light span span,.switch-toggle a{display:none}@media only screen{.switch-light,.switch-toggle{display:block;padding:0!important;position:relative}.switch-light:after,.switch-toggle:after{clear:both;content:"";display:table}.switch-light *,.switch-light :after,.switch-light :before,.switch-toggle *,.switch-toggle :after,.switch-toggle :before{box-sizing:border-box}.switch-light a,.switch-toggle a{display:block;transition:all .2s ease-out}.switch-light label,.switch-light-visual-label,.switch-light>span,.switch-toggle label,.switch-toggle>span{line-height:2;vertical-align:middle}.switch-light input{opacity:0;position:absolute;z-index:3}.switch-light input[type=checkbox].disabled,.switch-light input[type=checkbox].disabled:checked:before,.switch-light input[type=checkbox]:disabled,.switch-light input[type=checkbox]:disabled:checked:before{opacity:0}.switch-light input:checked~span a{left:0}.switch-light strong{font-weight:inherit}.switch-light>span{min-height:2em;padding:0;position:relative;text-align:right}.switch-light span span{display:block;float:right;position:relative;text-align:center;-webkit-user-select:none;user-select:none;width:50%;z-index:2}.switch-light a{display:block;height:100%;padding:0;position:absolute;left:50%;top:0;width:50%;z-index:1}.switch-toggle input{right:0;opacity:0;position:absolute}.switch-toggle input[type=radio].disabled,.switch-toggle input[type=radio].disabled:checked:before,.switch-toggle input[type=radio]:disabled,.switch-toggle input[type=radio]:disabled:checked:before{opacity:0}.switch-toggle input+label{float:right;margin:0;padding:0 .5em;text-align:center}.switch-toggle input:checked+label{position:relative;z-index:2}.switch-toggle a{height:100%;right:0;padding:0;position:absolute;top:0;width:10px;z-index:1}.switch-toggle .yoast-button-upsell{right:20px;position:relative}.switch-toggle label:nth-child(2):nth-last-child(4),.switch-toggle label:nth-child(2):nth-last-child(4)~a,.switch-toggle label:nth-child(2):nth-last-child(4)~label{width:50%}.switch-toggle label:nth-child(2):nth-last-child(4)~input:checked:nth-child(3)+label~a{right:50%}.switch-toggle label:nth-child(2):nth-last-child(6),.switch-toggle label:nth-child(2):nth-last-child(6)~a,.switch-toggle label:nth-child(2):nth-last-child(6)~label{width:33.33%}.switch-toggle label:nth-child(2):nth-last-child(6)~input:checked:nth-child(3)+label~a{right:33.33%}.switch-toggle label:nth-child(2):nth-last-child(6)~input:checked:nth-child(5)+label~a{right:66.66%}.switch-toggle label:nth-child(2):nth-last-child(8),.switch-toggle label:nth-child(2):nth-last-child(8)~a,.switch-toggle label:nth-child(2):nth-last-child(8)~label{width:25%}.switch-toggle label:nth-child(2):nth-last-child(8)~input:checked:nth-child(3)+label~a{right:25%}.switch-toggle label:nth-child(2):nth-last-child(8)~input:checked:nth-child(5)+label~a{right:50%}.switch-toggle label:nth-child(2):nth-last-child(8)~input:checked:nth-child(7)+label~a{right:75%}.switch-toggle label:nth-child(2):nth-last-child(10),.switch-toggle label:nth-child(2):nth-last-child(10)~a,.switch-toggle label:nth-child(2):nth-last-child(10)~label{width:20%}.switch-toggle label:nth-child(2):nth-last-child(10)~input:checked:nth-child(3)+label~a{right:20%}.switch-toggle label:nth-child(2):nth-last-child(10)~input:checked:nth-child(5)+label~a{right:40%}.switch-toggle label:nth-child(2):nth-last-child(10)~input:checked:nth-child(7)+label~a{right:60%}.switch-toggle label:nth-child(2):nth-last-child(10)~input:checked:nth-child(9)+label~a{right:80%}.switch-toggle label:nth-child(2):nth-last-child(12),.switch-toggle label:nth-child(2):nth-last-child(12)~a,.switch-toggle label:nth-child(2):nth-last-child(12)~label{width:16.6%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(3)+label~a{right:16.6%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(5)+label~a{right:33.2%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(7)+label~a{right:49.8%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(9)+label~a{right:66.4%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(11)+label~a{right:83%}.switch-candy a{box-shadow:0 1px 1px #0003,inset 0 1px 1px #ffffff73}}@media only screen and (-webkit-max-device-pixel-ratio:2) and (max-device-width:80em){.switch-light,.switch-toggle{-webkit-animation:webkitSiblingBugfix 1s infinite}}.fieldset-switch-toggle{width:400px}.fieldset-switch-toggle label{float:none}.fieldset-switch-toggle .yoast-button-upsell{background-color:green;height:16px;overflow:hidden;width:20px}@media only screen{.fieldset-switch-toggle legend{box-sizing:border-box;float:right;font-weight:600;line-height:2;margin:8px 0;min-width:200px;padding-left:16px;vertical-align:middle}.fieldset-switch-toggle .disabled-note{clear:both}.switch-container__has-help .switch-light-visual-label,.switch-container__has-help legend{float:right;min-width:0;padding-left:0}.switch-container__has-help .yoast_help.yoast-help-button{margin:8px 2px 0 0}.switch-light.switch-yoast-seo>span,.switch-toggle.switch-yoast-seo{background-color:#dcdcdc;border:1px solid #ccc;border-radius:.5em;box-shadow:inset 0 2px 4px #00000026;width:250px}.switch-light.switch-yoast-seo,.switch-toggle.switch-yoast-seo{clear:both;float:right}.switch-light.switch-yoast-seo>span{display:inline-block;overflow:visible}.switch-light.switch-yoast-seo a,.switch-toggle.switch-yoast-seo a{background:#a4286a;border:1px solid #b5b5b5;border-radius:.5em}.switch-light.switch-yoast-seo input.disabled+span a,.switch-light.switch-yoast-seo input.disabled:checked+span a,.switch-light.switch-yoast-seo input:disabled+span a,.switch-light.switch-yoast-seo input:disabled:checked+span a,.switch-toggle.switch-yoast-seo input.disabled+a,.switch-toggle.switch-yoast-seo input.disabled~a,.switch-toggle.switch-yoast-seo input:disabled+a,.switch-toggle.switch-yoast-seo input:disabled~a{background:#9b9b9b;border:0}.switch-light.switch-yoast-seo input:focus+label,.switch-light.switch-yoast-seo input:focus~span a,.switch-toggle.switch-yoast-seo input:focus+label,.switch-toggle.switch-yoast-seo input:focus~span a{outline:none}.switch-light.switch-yoast-seo input:focus~span a,.switch-toggle.switch-yoast-seo input:focus~a{border-color:#5b9dd9!important;box-shadow:0 0 2px #0073aacc!important}.switch-light.switch-yoast-seo input:checked~span a,.switch-toggle.switch-yoast-seo input:checked~span a{background:#a4286a;border:1px solid #b5b5b5}.switch-light.switch-yoast-seo input:checked~span span:first-child,.switch-light.switch-yoast-seo span span,.switch-toggle.switch-yoast-seo label{color:#333;font-weight:inherit;text-shadow:none}.switch-candy.switch-yoast-seo input:checked+label,.switch-candy.switch-yoast-seo input:checked~span span:nth-child(2),.switch-candy.switch-yoast-seo input~span span:first-child{color:#fff;text-shadow:none}.switch-candy.switch-yoast-seo input+label:after{content:"";display:block;height:100%;right:0;position:absolute;top:0;width:100%;z-index:3}.switch-candy.switch-yoast-seo input:checked+label:after{content:none}.switch-light.switch-yoast-seo-reverse input:checked~span a{right:0}.switch-light.switch-yoast-seo-reverse a{right:50%}.switch-light.switch-yoast-seo-reverse span span{float:left}.switch-toggle.switch-yoast-seo label,label.switch-light.switch-yoast-seo{cursor:pointer;margin-right:0}.switch-light.switch-yoast-seo input.disabled+span,.switch-light.switch-yoast-seo input:disabled+span,.switch-toggle.switch-yoast-seo input.disabled+label,.switch-toggle.switch-yoast-seo input:disabled+label{cursor:not-allowed}.switch-yoast-seo .switch-yoast-seo-jaws-a11y{display:block;height:1px;margin-bottom:-1px;overflow:hidden}.switch-light.switch-yoast-seo label code,.switch-toggle.switch-yoast-seo label code{background-color:inherit;vertical-align:top}.switch-light-visual-label{display:block;font-weight:600;line-height:2;margin:8px 0}.switch-light-visual-label__strong{font-weight:600}.switch-container{clear:both;margin:0 0 .8em}.switch-container.premium-upsell .clear{display:none}.switch-container.premium-upsell{align-items:end;clear:both;display:grid;grid-template-columns:280px 1fr;margin:0 0 .8em}.switch-container.premium-upsell .yoast-help-panel{width:520px}@media screen and (max-width:600px){.switch-container.premium-upsell{clear:both;display:grid;grid-template-columns:1fr;margin:0 0 .8em}.switch-container.premium-upsell .yoast-help-panel{width:unset}}.switch-container.premium-upsell .yoast-button{clear:both;margin-top:8px;width:-moz-fit-content;width:fit-content}.switch-container+.switch-container{margin-top:8px}.switch-container+p{margin:0 0 16px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2340.css new file mode 100644 index 00000000..c2154611 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2340.css @@ -0,0 +1 @@ +.switch-light span span,.switch-toggle a{display:none}@media only screen{.switch-light,.switch-toggle{display:block;padding:0!important;position:relative}.switch-light:after,.switch-toggle:after{clear:both;content:"";display:table}.switch-light *,.switch-light :after,.switch-light :before,.switch-toggle *,.switch-toggle :after,.switch-toggle :before{box-sizing:border-box}.switch-light a,.switch-toggle a{display:block;transition:all .2s ease-out}.switch-light label,.switch-light-visual-label,.switch-light>span,.switch-toggle label,.switch-toggle>span{line-height:2;vertical-align:middle}.switch-light input{opacity:0;position:absolute;z-index:3}.switch-light input[type=checkbox].disabled,.switch-light input[type=checkbox].disabled:checked:before,.switch-light input[type=checkbox]:disabled,.switch-light input[type=checkbox]:disabled:checked:before{opacity:0}.switch-light input:checked~span a{right:0}.switch-light strong{font-weight:inherit}.switch-light>span{min-height:2em;padding:0;position:relative;text-align:left}.switch-light span span{display:block;float:left;position:relative;text-align:center;-webkit-user-select:none;user-select:none;width:50%;z-index:2}.switch-light a{display:block;height:100%;padding:0;position:absolute;right:50%;top:0;width:50%;z-index:1}.switch-toggle input{left:0;opacity:0;position:absolute}.switch-toggle input[type=radio].disabled,.switch-toggle input[type=radio].disabled:checked:before,.switch-toggle input[type=radio]:disabled,.switch-toggle input[type=radio]:disabled:checked:before{opacity:0}.switch-toggle input+label{float:left;margin:0;padding:0 .5em;text-align:center}.switch-toggle input:checked+label{position:relative;z-index:2}.switch-toggle a{height:100%;left:0;padding:0;position:absolute;top:0;width:10px;z-index:1}.switch-toggle .yoast-button-upsell{left:20px;position:relative}.switch-toggle label:nth-child(2):nth-last-child(4),.switch-toggle label:nth-child(2):nth-last-child(4)~a,.switch-toggle label:nth-child(2):nth-last-child(4)~label{width:50%}.switch-toggle label:nth-child(2):nth-last-child(4)~input:checked:nth-child(3)+label~a{left:50%}.switch-toggle label:nth-child(2):nth-last-child(6),.switch-toggle label:nth-child(2):nth-last-child(6)~a,.switch-toggle label:nth-child(2):nth-last-child(6)~label{width:33.33%}.switch-toggle label:nth-child(2):nth-last-child(6)~input:checked:nth-child(3)+label~a{left:33.33%}.switch-toggle label:nth-child(2):nth-last-child(6)~input:checked:nth-child(5)+label~a{left:66.66%}.switch-toggle label:nth-child(2):nth-last-child(8),.switch-toggle label:nth-child(2):nth-last-child(8)~a,.switch-toggle label:nth-child(2):nth-last-child(8)~label{width:25%}.switch-toggle label:nth-child(2):nth-last-child(8)~input:checked:nth-child(3)+label~a{left:25%}.switch-toggle label:nth-child(2):nth-last-child(8)~input:checked:nth-child(5)+label~a{left:50%}.switch-toggle label:nth-child(2):nth-last-child(8)~input:checked:nth-child(7)+label~a{left:75%}.switch-toggle label:nth-child(2):nth-last-child(10),.switch-toggle label:nth-child(2):nth-last-child(10)~a,.switch-toggle label:nth-child(2):nth-last-child(10)~label{width:20%}.switch-toggle label:nth-child(2):nth-last-child(10)~input:checked:nth-child(3)+label~a{left:20%}.switch-toggle label:nth-child(2):nth-last-child(10)~input:checked:nth-child(5)+label~a{left:40%}.switch-toggle label:nth-child(2):nth-last-child(10)~input:checked:nth-child(7)+label~a{left:60%}.switch-toggle label:nth-child(2):nth-last-child(10)~input:checked:nth-child(9)+label~a{left:80%}.switch-toggle label:nth-child(2):nth-last-child(12),.switch-toggle label:nth-child(2):nth-last-child(12)~a,.switch-toggle label:nth-child(2):nth-last-child(12)~label{width:16.6%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(3)+label~a{left:16.6%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(5)+label~a{left:33.2%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(7)+label~a{left:49.8%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(9)+label~a{left:66.4%}.switch-toggle label:nth-child(2):nth-last-child(12)~input:checked:nth-child(11)+label~a{left:83%}.switch-candy a{box-shadow:0 1px 1px #0003,inset 0 1px 1px #ffffff73}}@media only screen and (-webkit-max-device-pixel-ratio:2) and (max-device-width:80em){.switch-light,.switch-toggle{-webkit-animation:webkitSiblingBugfix 1s infinite}}.fieldset-switch-toggle{width:400px}.fieldset-switch-toggle label{float:none}.fieldset-switch-toggle .yoast-button-upsell{background-color:green;height:16px;overflow:hidden;width:20px}@media only screen{.fieldset-switch-toggle legend{box-sizing:border-box;float:left;font-weight:600;line-height:2;margin:8px 0;min-width:200px;padding-right:16px;vertical-align:middle}.fieldset-switch-toggle .disabled-note{clear:both}.switch-container__has-help .switch-light-visual-label,.switch-container__has-help legend{float:left;min-width:0;padding-right:0}.switch-container__has-help .yoast_help.yoast-help-button{margin:8px 0 0 2px}.switch-light.switch-yoast-seo>span,.switch-toggle.switch-yoast-seo{background-color:#dcdcdc;border:1px solid #ccc;border-radius:.5em;box-shadow:inset 0 2px 4px #00000026;width:250px}.switch-light.switch-yoast-seo,.switch-toggle.switch-yoast-seo{clear:both;float:left}.switch-light.switch-yoast-seo>span{display:inline-block;overflow:visible}.switch-light.switch-yoast-seo a,.switch-toggle.switch-yoast-seo a{background:#a4286a;border:1px solid #b5b5b5;border-radius:.5em}.switch-light.switch-yoast-seo input.disabled+span a,.switch-light.switch-yoast-seo input.disabled:checked+span a,.switch-light.switch-yoast-seo input:disabled+span a,.switch-light.switch-yoast-seo input:disabled:checked+span a,.switch-toggle.switch-yoast-seo input.disabled+a,.switch-toggle.switch-yoast-seo input.disabled~a,.switch-toggle.switch-yoast-seo input:disabled+a,.switch-toggle.switch-yoast-seo input:disabled~a{background:#9b9b9b;border:0}.switch-light.switch-yoast-seo input:focus+label,.switch-light.switch-yoast-seo input:focus~span a,.switch-toggle.switch-yoast-seo input:focus+label,.switch-toggle.switch-yoast-seo input:focus~span a{outline:none}.switch-light.switch-yoast-seo input:focus~span a,.switch-toggle.switch-yoast-seo input:focus~a{border-color:#5b9dd9!important;box-shadow:0 0 2px #0073aacc!important}.switch-light.switch-yoast-seo input:checked~span a,.switch-toggle.switch-yoast-seo input:checked~span a{background:#a4286a;border:1px solid #b5b5b5}.switch-light.switch-yoast-seo input:checked~span span:first-child,.switch-light.switch-yoast-seo span span,.switch-toggle.switch-yoast-seo label{color:#333;font-weight:inherit;text-shadow:none}.switch-candy.switch-yoast-seo input:checked+label,.switch-candy.switch-yoast-seo input:checked~span span:nth-child(2),.switch-candy.switch-yoast-seo input~span span:first-child{color:#fff;text-shadow:none}.switch-candy.switch-yoast-seo input+label:after{content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:3}.switch-candy.switch-yoast-seo input:checked+label:after{content:none}.switch-light.switch-yoast-seo-reverse input:checked~span a{left:0}.switch-light.switch-yoast-seo-reverse a{left:50%}.switch-light.switch-yoast-seo-reverse span span{float:right}.switch-toggle.switch-yoast-seo label,label.switch-light.switch-yoast-seo{cursor:pointer;margin-left:0}.switch-light.switch-yoast-seo input.disabled+span,.switch-light.switch-yoast-seo input:disabled+span,.switch-toggle.switch-yoast-seo input.disabled+label,.switch-toggle.switch-yoast-seo input:disabled+label{cursor:not-allowed}.switch-yoast-seo .switch-yoast-seo-jaws-a11y{display:block;height:1px;margin-bottom:-1px;overflow:hidden}.switch-light.switch-yoast-seo label code,.switch-toggle.switch-yoast-seo label code{background-color:inherit;vertical-align:top}.switch-light-visual-label{display:block;font-weight:600;line-height:2;margin:8px 0}.switch-light-visual-label__strong{font-weight:600}.switch-container{clear:both;margin:0 0 .8em}.switch-container.premium-upsell .clear{display:none}.switch-container.premium-upsell{align-items:end;clear:both;display:grid;grid-template-columns:280px 1fr;margin:0 0 .8em}.switch-container.premium-upsell .yoast-help-panel{width:520px}@media screen and (max-width:600px){.switch-container.premium-upsell{clear:both;display:grid;grid-template-columns:1fr;margin:0 0 .8em}.switch-container.premium-upsell .yoast-help-panel{width:unset}}.switch-container.premium-upsell .yoast-button{clear:both;margin-top:8px;width:-moz-fit-content;width:fit-content}.switch-container+.switch-container{margin-top:8px}.switch-container+p{margin:0 0 16px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2340-rtl.css new file mode 100644 index 00000000..de072300 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2340-rtl.css @@ -0,0 +1 @@ +.yoast-tooltip{position:relative}button.yoast-tooltip{overflow:visible}.yoast-tooltip:after{word-wrap:break-word;-webkit-font-smoothing:subpixel-antialiased;background:#000c;border-radius:3px;color:#fff;content:attr(aria-label);display:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;letter-spacing:normal;opacity:0;padding:6px 8px 5px;pointer-events:none;position:absolute;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;white-space:pre;z-index:1000000}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{border:5px solid #0000;color:#000c;content:"\00a0";display:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0;z-index:1000001}@keyframes yoast-tooltip-appear{0%{opacity:0}to{opacity:1}}.yoast-tooltip:active:after,.yoast-tooltip:active:before,.yoast-tooltip:focus:after,.yoast-tooltip:focus:before,.yoast-tooltip:hover:after,.yoast-tooltip:hover:before{animation-duration:.1s;animation-fill-mode:forwards;animation-name:yoast-tooltip-appear;animation-timing-function:ease-in;display:inline-block;text-decoration:none}.yoast-tooltip-no-delay:active:after,.yoast-tooltip-no-delay:active:before,.yoast-tooltip-no-delay:focus:after,.yoast-tooltip-no-delay:focus:before,.yoast-tooltip-no-delay:hover:after,.yoast-tooltip-no-delay:hover:before{animation:none;opacity:1}.yoast-tooltip-multiline:active:after,.yoast-tooltip-multiline:focus:after,.yoast-tooltip-multiline:hover:after{display:table-cell}.yoast-tooltip-s:after,.yoast-tooltip-se:after,.yoast-tooltip-sw:after{margin-top:5px;left:50%;top:100%}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{border-bottom-color:#000c;bottom:-5px;margin-left:-5px;left:50%;top:auto}.yoast-tooltip-se:after{right:50%;margin-right:-15px;left:auto}.yoast-tooltip-sw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{bottom:100%;margin-bottom:5px;left:50%}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{border-top-color:#000c;bottom:auto;margin-left:-5px;left:50%;top:-5px}.yoast-tooltip-ne:after{right:50%;margin-right:-15px;left:auto}.yoast-tooltip-nw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(-50%)}.yoast-tooltip-w:after{bottom:50%;margin-left:5px;left:100%;transform:translateY(50%)}.yoast-tooltip-w:before{border-right-color:#000c;bottom:50%;right:-5px;margin-top:-5px;top:50%}.yoast-tooltip-e:after{bottom:50%;right:100%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-e:before{border-left-color:#000c;bottom:50%;margin-top:-5px;left:-5px;top:50%}.yoast-tooltip-multiline:after{word-wrap:normal;border-collapse:initial;max-width:250px;white-space:pre-line;width:250px;width:max-content;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{right:50%;left:auto;transform:translateX(50%)}.yoast-tooltip-multiline.yoast-tooltip-e:after,.yoast-tooltip-multiline.yoast-tooltip-w:after{left:100%}@media screen and (min-width:0\0){.yoast-tooltip-multiline:after{width:250px}}.yoast-tooltip-sticky:after,.yoast-tooltip-sticky:before{display:inline-block}.yoast-tooltip-sticky.yoast-tooltip-multiline:after{display:table-cell}@media only screen and (-moz-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.yoast-tooltip-w:after{margin-left:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2340.css new file mode 100644 index 00000000..9023ed33 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2340.css @@ -0,0 +1 @@ +.yoast-tooltip{position:relative}button.yoast-tooltip{overflow:visible}.yoast-tooltip:after{word-wrap:break-word;-webkit-font-smoothing:subpixel-antialiased;background:#000c;border-radius:3px;color:#fff;content:attr(aria-label);display:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;letter-spacing:normal;opacity:0;padding:6px 8px 5px;pointer-events:none;position:absolute;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;white-space:pre;z-index:1000000}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{border:5px solid #0000;color:#000c;content:"\00a0";display:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0;z-index:1000001}@keyframes yoast-tooltip-appear{0%{opacity:0}to{opacity:1}}.yoast-tooltip:active:after,.yoast-tooltip:active:before,.yoast-tooltip:focus:after,.yoast-tooltip:focus:before,.yoast-tooltip:hover:after,.yoast-tooltip:hover:before{animation-duration:.1s;animation-fill-mode:forwards;animation-name:yoast-tooltip-appear;animation-timing-function:ease-in;display:inline-block;text-decoration:none}.yoast-tooltip-no-delay:active:after,.yoast-tooltip-no-delay:active:before,.yoast-tooltip-no-delay:focus:after,.yoast-tooltip-no-delay:focus:before,.yoast-tooltip-no-delay:hover:after,.yoast-tooltip-no-delay:hover:before{animation:none;opacity:1}.yoast-tooltip-multiline:active:after,.yoast-tooltip-multiline:focus:after,.yoast-tooltip-multiline:hover:after{display:table-cell}.yoast-tooltip-s:after,.yoast-tooltip-se:after,.yoast-tooltip-sw:after{margin-top:5px;right:50%;top:100%}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{border-bottom-color:#000c;bottom:-5px;margin-right:-5px;right:50%;top:auto}.yoast-tooltip-se:after{left:50%;margin-left:-15px;right:auto}.yoast-tooltip-sw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{bottom:100%;margin-bottom:5px;right:50%}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{border-top-color:#000c;bottom:auto;margin-right:-5px;right:50%;top:-5px}.yoast-tooltip-ne:after{left:50%;margin-left:-15px;right:auto}.yoast-tooltip-nw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(50%)}.yoast-tooltip-w:after{bottom:50%;margin-right:5px;right:100%;transform:translateY(50%)}.yoast-tooltip-w:before{border-left-color:#000c;bottom:50%;left:-5px;margin-top:-5px;top:50%}.yoast-tooltip-e:after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-e:before{border-right-color:#000c;bottom:50%;margin-top:-5px;right:-5px;top:50%}.yoast-tooltip-multiline:after{word-wrap:normal;border-collapse:initial;max-width:250px;white-space:pre-line;width:250px;width:max-content;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{left:50%;right:auto;transform:translateX(-50%)}.yoast-tooltip-multiline.yoast-tooltip-e:after,.yoast-tooltip-multiline.yoast-tooltip-w:after{right:100%}@media screen and (min-width:0\0){.yoast-tooltip-multiline:after{width:250px}}.yoast-tooltip-sticky:after,.yoast-tooltip-sticky:before{display:inline-block}.yoast-tooltip-sticky.yoast-tooltip-multiline:after{display:table-cell}@media only screen and (-moz-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.yoast-tooltip-w:after{margin-right:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2340-rtl.css new file mode 100644 index 00000000..7b0376b4 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2340-rtl.css @@ -0,0 +1 @@ +#wpseo-workouts-container-free h1,#wpseo-workouts-container-free h3{color:#a4286a;font-weight:500}#wpseo-workouts-container-free h3{font-size:18px;line-height:24px}.card.card-small h3{min-height:48px}#wpseo-workouts-container-free h2{font-size:12px;text-transform:uppercase}#wpseo-workouts-container-free #workouts-page-description{font-size:16px;max-width:600px}.workflow tr.cornerstone{font-weight:700}#wpseo-workouts-container-free hr{margin-bottom:24px;margin-top:8px}#wpseo-workouts-container-free progress{margin:16px 0 8px}#wpseo-workouts-container-free div.card{border-color:#0003;border-radius:8px;border-width:1px;box-shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f;max-width:720px;padding:24px;width:100%}#wpseo-workouts-container-free div.card>h2{margin:0}#wpseo-workouts-container-free div.card.card-small{display:flex;flex-direction:column;max-width:320px}#wpseo-workouts-container-free div.card.card-small svg{height:146px;width:204px}#wpseo-workouts-container-free div.card.card-small svg *{height:100%;width:100%}#wpseo-workouts-container-free div.card.card-small>span{margin-top:auto}#wpseo-workouts-container-free table button{margin:2px}.workflow{counter-reset:line-number;list-style:none;margin-right:48px}.workflow li li{counter-increment:none;line-height:19px;margin-bottom:8px}.workflow li.step{counter-increment:line-number;padding-bottom:16px;position:relative}.workflow .yoast-button.yoast-button--finished{opacity:.5}.workflow .finish-button-section .finish-button-saved{color:#6ea029;grid-column-end:3;grid-column-start:3;margin-right:10px;position:relative}.workflow .finish-button-section .finish-button-saved:before{background:var(--yoast-svg-icon-check);background-size:18px 13px;content:"";height:13px;right:-18px;position:absolute;top:2px;width:18px}.workflow li.step>.yoast-button.orphaned-summary{display:initial;margin:0}.yoast .yoast-button--arrow-down{display:inline-block;flex-shrink:0;height:16px;margin:0 6px 0 -2px;width:16px}.workflow>li.step:before{background:#a4286a;bottom:-20px;content:"";right:-33px;position:absolute;top:0;width:2px}.workflow .extra-list-content{position:relative}.workflow>li.step:last-of-type:before{display:none}.workflow>li.step:after{background:#fff;border:2px solid #a4286a;border-radius:100%;color:#a4286a;content:counter(line-number);display:block;height:28px;right:-48px;line-height:28px;position:absolute;text-align:center;top:-8px;width:28px}.workflow li.step.finished:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' fill='none' stroke='%23FFF' height='24' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") #a4286a;background-position:50%;background-repeat:no-repeat;background-size:20px 20px;content:""}.workflow li.step.finished.faded p,.workflow li.step.finished.faded table{opacity:.5}.workflow li.step img{max-width:100%}.workflow li.step img.workflow__image{max-height:100px;max-width:100px}.workflow li.step.yoast-fadeout:before{background:linear-gradient(-180deg,#a4286a,#fff 75%);display:block}.workflow li.step #react-select-2-input{box-shadow:none!important}.workflows__index{display:flex;flex-wrap:wrap;gap:16px}.workflows__index .yoast-button{width:100%}table.yoast_help.yoast_link_suggestions thead td{padding:16px 8px}table.yoast_help.yoast_link_suggestions td{vertical-align:middle}table.yoast_help th.divider{text-align:center}.workflow table.yoast_help td{vertical-align:middle}.workflow table.yoast_help.yoast_link_suggestions td div{display:inline-block}.workflow table.yoast_help.yoast_link_suggestions td strong{display:inline-block;margin-left:8px}.components-modal__header{height:72px;padding:0 24px}.components-modal__header .components-modal__header-heading{color:#a4286a;font-size:20px;font-weight:400;line-height:1.2;margin:0}.components-modal__header .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:20px;margin-left:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:20px}.components-modal__content{padding:0 24px 24px}.components-modal__content input[type=text]{max-width:400px;width:100%}.components-modal__frame.yoast__workout{max-width:720px}.yoast__redirect-suggestions{line-height:2}.components-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:#00000059;bottom:0;right:0;position:fixed;left:0;top:0;z-index:100000}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-delay:0s;animation-duration:1ms}}.components-modal__frame{background:#fff;border-radius:2px;bottom:0;box-shadow:0 10px 10px #00000040;box-sizing:border-box;right:0;margin:0;overflow:auto;position:absolute;left:0;top:0}@media (min-width:600px){.components-modal__frame{animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards;bottom:auto;right:50%;max-height:90%;max-width:calc(100% - 32px);min-width:360px;left:auto;top:50%;transform:translate(50%,-50%)}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-delay:0s;animation-duration:1ms}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{align-items:center;background:#fff;border-bottom:1px solid #ddd;box-sizing:border-box;display:flex;flex-direction:row;height:60px;justify-content:space-between;margin:0 -32px 24px;padding:0 32px;position:relative;position:sticky;top:0;z-index:10}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{right:8px;position:relative}.components-modal__header-heading-container{align-items:center;display:flex;flex-direction:row;flex-grow:1;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-height:36px;max-width:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.workflow li.step h4{font-size:14px;font-weight:600;margin:24px 0 0}.workflow .yoast-social-profiles-input-fields{margin:10px 0 20px}.workflow .tracking-radiobuttons{line-height:19px;margin:0 0 20px}.workflow .yoast-tracking{list-style-position:inside;list-style-type:disc;padding:inherit}.yoast-list--usp{margin-bottom:16px;padding-right:24px}.yoast-list--usp li{margin-bottom:16px;position:relative}.yoast-list--usp li:before{background:var(--yoast-svg-icon-check);background-size:18px 13px;content:"";height:13px;right:-24px;position:absolute;top:3px;width:18px}.workout-card-content-flex{display:flex}.card.card-small .yoast-button-upsell{box-shadow:inset 0 -2px 0 #0003;filter:none;font-family:inherit;min-height:40px}.card.card-small button{box-shadow:inset 0 -2px 0 #0000004d;filter:none;min-height:40px}.card.card-small button.yoast-button--secondary{box-shadow:inset 0 -2px 0 #0000001a}.workout-card-content-flex ul{margin-left:8px}.workout-card-content-flex img{max-width:120px}.workout-card-upsell-button{opacity:1}#wpseo-workouts-container-free div.card.card-small.card-disabled{background-color:#ffffff80}#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-content-flex,#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-progress,#wpseo-workouts-container-free div.card.card-small.card-disabled h2,#wpseo-workouts-container-free div.card.card-small.card-disabled h3{opacity:.5}.workflow__grid{display:grid;gap:8px;grid-template-columns:auto 100px}.workflow__grid>div:last-of-type{display:flex;flex-wrap:wrap;justify-content:flex-end}@media screen and (max-width:768px){#wpseo-workouts-container-free #workouts-page-description{max-width:320px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2340.css new file mode 100644 index 00000000..8047eede --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2340.css @@ -0,0 +1 @@ +#wpseo-workouts-container-free h1,#wpseo-workouts-container-free h3{color:#a4286a;font-weight:500}#wpseo-workouts-container-free h3{font-size:18px;line-height:24px}.card.card-small h3{min-height:48px}#wpseo-workouts-container-free h2{font-size:12px;text-transform:uppercase}#wpseo-workouts-container-free #workouts-page-description{font-size:16px;max-width:600px}.workflow tr.cornerstone{font-weight:700}#wpseo-workouts-container-free hr{margin-bottom:24px;margin-top:8px}#wpseo-workouts-container-free progress{margin:16px 0 8px}#wpseo-workouts-container-free div.card{border-color:#0003;border-radius:8px;border-width:1px;box-shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f;max-width:720px;padding:24px;width:100%}#wpseo-workouts-container-free div.card>h2{margin:0}#wpseo-workouts-container-free div.card.card-small{display:flex;flex-direction:column;max-width:320px}#wpseo-workouts-container-free div.card.card-small svg{height:146px;width:204px}#wpseo-workouts-container-free div.card.card-small svg *{height:100%;width:100%}#wpseo-workouts-container-free div.card.card-small>span{margin-top:auto}#wpseo-workouts-container-free table button{margin:2px}.workflow{counter-reset:line-number;list-style:none;margin-left:48px}.workflow li li{counter-increment:none;line-height:19px;margin-bottom:8px}.workflow li.step{counter-increment:line-number;padding-bottom:16px;position:relative}.workflow .yoast-button.yoast-button--finished{opacity:.5}.workflow .finish-button-section .finish-button-saved{color:#6ea029;grid-column-end:3;grid-column-start:3;margin-left:10px;position:relative}.workflow .finish-button-section .finish-button-saved:before{background:var(--yoast-svg-icon-check);background-size:18px 13px;content:"";height:13px;left:-18px;position:absolute;top:2px;width:18px}.workflow li.step>.yoast-button.orphaned-summary{display:initial;margin:0}.yoast .yoast-button--arrow-down{display:inline-block;flex-shrink:0;height:16px;margin:0 -2px 0 6px;width:16px}.workflow>li.step:before{background:#a4286a;bottom:-20px;content:"";left:-33px;position:absolute;top:0;width:2px}.workflow .extra-list-content{position:relative}.workflow>li.step:last-of-type:before{display:none}.workflow>li.step:after{background:#fff;border:2px solid #a4286a;border-radius:100%;color:#a4286a;content:counter(line-number);display:block;height:28px;left:-48px;line-height:28px;position:absolute;text-align:center;top:-8px;width:28px}.workflow li.step.finished:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' fill='none' stroke='%23FFF' height='24' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") #a4286a;background-position:50%;background-repeat:no-repeat;background-size:20px 20px;content:""}.workflow li.step.finished.faded p,.workflow li.step.finished.faded table{opacity:.5}.workflow li.step img{max-width:100%}.workflow li.step img.workflow__image{max-height:100px;max-width:100px}.workflow li.step.yoast-fadeout:before{background:linear-gradient(180deg,#a4286a,#fff 75%);display:block}.workflow li.step #react-select-2-input{box-shadow:none!important}.workflows__index{display:flex;flex-wrap:wrap;gap:16px}.workflows__index .yoast-button{width:100%}table.yoast_help.yoast_link_suggestions thead td{padding:16px 8px}table.yoast_help.yoast_link_suggestions td{vertical-align:middle}table.yoast_help th.divider{text-align:center}.workflow table.yoast_help td{vertical-align:middle}.workflow table.yoast_help.yoast_link_suggestions td div{display:inline-block}.workflow table.yoast_help.yoast_link_suggestions td strong{display:inline-block;margin-right:8px}.components-modal__header{height:72px;padding:0 24px}.components-modal__header .components-modal__header-heading{color:#a4286a;font-size:20px;font-weight:400;line-height:1.2;margin:0}.components-modal__header .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:20px;margin-right:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:20px}.components-modal__content{padding:0 24px 24px}.components-modal__content input[type=text]{max-width:400px;width:100%}.components-modal__frame.yoast__workout{max-width:720px}.yoast__redirect-suggestions{line-height:2}.components-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:#00000059;bottom:0;left:0;position:fixed;right:0;top:0;z-index:100000}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-delay:0s;animation-duration:1ms}}.components-modal__frame{background:#fff;border-radius:2px;bottom:0;box-shadow:0 10px 10px #00000040;box-sizing:border-box;left:0;margin:0;overflow:auto;position:absolute;right:0;top:0}@media (min-width:600px){.components-modal__frame{animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards;bottom:auto;left:50%;max-height:90%;max-width:calc(100% - 32px);min-width:360px;right:auto;top:50%;transform:translate(-50%,-50%)}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-delay:0s;animation-duration:1ms}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{align-items:center;background:#fff;border-bottom:1px solid #ddd;box-sizing:border-box;display:flex;flex-direction:row;height:60px;justify-content:space-between;margin:0 -32px 24px;padding:0 32px;position:relative;position:sticky;top:0;z-index:10}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{left:8px;position:relative}.components-modal__header-heading-container{align-items:center;display:flex;flex-direction:row;flex-grow:1;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-height:36px;max-width:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.workflow li.step h4{font-size:14px;font-weight:600;margin:24px 0 0}.workflow .yoast-social-profiles-input-fields{margin:10px 0 20px}.workflow .tracking-radiobuttons{line-height:19px;margin:0 0 20px}.workflow .yoast-tracking{list-style-position:inside;list-style-type:disc;padding:inherit}.yoast-list--usp{margin-bottom:16px;padding-left:24px}.yoast-list--usp li{margin-bottom:16px;position:relative}.yoast-list--usp li:before{background:var(--yoast-svg-icon-check);background-size:18px 13px;content:"";height:13px;left:-24px;position:absolute;top:3px;width:18px}.workout-card-content-flex{display:flex}.card.card-small .yoast-button-upsell{box-shadow:inset 0 -2px 0 #0003;filter:none;font-family:inherit;min-height:40px}.card.card-small button{box-shadow:inset 0 -2px 0 #0000004d;filter:none;min-height:40px}.card.card-small button.yoast-button--secondary{box-shadow:inset 0 -2px 0 #0000001a}.workout-card-content-flex ul{margin-right:8px}.workout-card-content-flex img{max-width:120px}.workout-card-upsell-button{opacity:1}#wpseo-workouts-container-free div.card.card-small.card-disabled{background-color:#ffffff80}#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-content-flex,#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-progress,#wpseo-workouts-container-free div.card.card-small.card-disabled h2,#wpseo-workouts-container-free div.card.card-small.card-disabled h3{opacity:.5}.workflow__grid{display:grid;gap:8px;grid-template-columns:auto 100px}.workflow__grid>div:last-of-type{display:flex;flex-wrap:wrap;justify-content:flex-end}@media screen and (max-width:768px){#wpseo-workouts-container-free #workouts-page-description{max-width:320px}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2340-rtl.css new file mode 100644 index 00000000..09bca881 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2340-rtl.css @@ -0,0 +1 @@ +.yoast-notice-dismiss:before{-webkit-font-smoothing:antialiased!important;speak:none;background:none;color:#b4b9be;content:"\f153";display:block!important;font:normal 16px/1 dashicons;height:20px;text-align:center;width:20px}.yoast-notice-dismiss{background:none;border:none;color:#b4b9be;cursor:pointer;margin:0;padding:9px;position:absolute;left:1px;top:0}.yoast-notice-dismiss:before{right:0;line-height:20px;position:relative;top:0}.yoast-notice-dismiss:active:before,.yoast-notice-dismiss:focus:before,.yoast-notice-dismiss:hover:before{color:#c00}.yoast-notice-dismiss:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc;color:#c00;outline:none}.yoast-notice.is-dismissible{position:relative}.yoast-notice-dismiss{text-decoration:none} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2340.css new file mode 100644 index 00000000..78506d9f --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2340.css @@ -0,0 +1 @@ +.yoast-notice-dismiss:before{-webkit-font-smoothing:antialiased!important;speak:none;background:none;color:#b4b9be;content:"\f153";display:block!important;font:normal 16px/1 dashicons;height:20px;text-align:center;width:20px}.yoast-notice-dismiss{background:none;border:none;color:#b4b9be;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.yoast-notice-dismiss:before{left:0;line-height:20px;position:relative;top:0}.yoast-notice-dismiss:active:before,.yoast-notice-dismiss:focus:before,.yoast-notice-dismiss:hover:before{color:#c00}.yoast-notice-dismiss:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px #1e8cbecc;color:#c00;outline:none}.yoast-notice.is-dismissible{position:relative}.yoast-notice-dismiss{text-decoration:none} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2340-rtl.css new file mode 100644 index 00000000..cb74c8cc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2340-rtl.css @@ -0,0 +1 @@ +.yoast-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:#a4286a99;bottom:0;right:0;position:fixed;left:0;top:0;z-index:100000}.yoast-modal{background:#fff;bottom:48px;display:flex;flex-direction:column;height:calc(100% - 96px);right:calc(50% - 440px);max-width:880px;overflow:hidden;position:fixed;top:48px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:20px;margin-left:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:20px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-columns:280px 1fr;grid-template-rows:72px 1fr 88px}.yoast-modal__heading{align-items:center;background:var(--yoast-color-white);border-bottom:var(--yoast-border-default);box-sizing:border-box;display:flex;grid-area:heading;min-height:72px;padding:0 24px}.yoast-modal__heading .yoast-close{position:absolute;left:16px}.yoast-gutenberg-modal__box.components-modal__frame{box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@media (min-width:600px){.yoast-gutenberg-modal__box.components-modal__frame{border-radius:8px;max-height:calc(100% - 48px)}}.yoast-gutenberg-modal__no-padding .components-modal__content{padding:0}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{color:var(--yoast-color-primary);font-size:20px;font-weight:400;line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__content .components-modal__header{border-bottom:1px solid #e2e8f0!important}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);flex-shrink:0;height:20px;margin-left:16px;width:19px}.yoast-modal__menu{border-left:var(--yoast-border-default);grid-area:menu;overflow-y:auto}.yoast-modal__menu ul{list-style:none;margin:0;padding:0}.yoast-modal__menu li{border-bottom:var(--yoast-border-default);color:var(--yoast-color-default);cursor:pointer;display:block;font-size:16px;padding:12px 16px 11px;text-decoration:none}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{display:flex;flex-direction:column;flex-grow:1;grid-area:content;overflow-y:auto;position:relative}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{background:var(--yoast-color-white);padding:24px 24px 0;position:sticky;top:0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{align-items:center;align-self:flex-end;background:var(--yoast-color-white);border-top:var(--yoast-border-default);bottom:0;box-sizing:border-box;display:flex;grid-area:footer;justify-content:flex-end;margin:0 24px;min-height:88px;padding:0;position:sticky;width:calc(100% - 48px);z-index:10}.yoast-modal__settings-saved{align-items:center;display:inline-flex;margin-left:16px;position:relative}.yoast-modal__settings-saved:before{background:var(--yoast-checkmark--green) no-repeat center;content:"";display:inline-block;height:13px;margin-left:8px;width:14px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{flex-grow:1;padding:24px}@media screen and (max-width:880px){.yoast-modal{bottom:0;height:auto;right:0;left:0;top:0}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{min-height:48px;padding:0 16px;position:fixed;top:0;width:100%;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-left:8px}.yoast .yoast-close{left:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{flex-grow:0;overflow:initial}.yoast-modal__section-content{margin:0 16px;padding:24px 0}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{margin:0;padding:0;position:sticky;top:48px}.yoast-modal__section-open .yoast-modal__section-header{margin-right:16px;margin-left:16px;padding-right:0;padding-left:0}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{margin:0;min-height:72px;padding:0 16px;position:fixed;width:100%;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{border-bottom:var(--yoast-border-default);margin:0;padding:24px 16px}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{background:#fff;border:none;border-bottom:var(--yoast-border-default);color:var(--yoast-color-primary);cursor:pointer;font-size:var(--yoast-font-size-default);justify-content:space-between;padding:16px;text-align:right;width:100%}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(-180deg)}.yoast-collapsible__trigger[aria-expanded=true]{margin:0 16px;padding:16px 0;width:calc(100% - 32px)}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;border:none;display:block;float:left;height:19px;width:19px}.yoast-collapsible-block{margin-top:48px;width:100%}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{height:100%;max-height:calc(100% - 96px);max-width:calc(100% - 96px);overflow:hidden;width:880px}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{grid-gap:24px;display:grid;grid-template-columns:1fr 1fr}}.yoast-post-settings-modal__button-container{border-bottom:1px solid #0003;display:flex;flex-direction:column;padding:16px}.yoast-post-settings-modal .components-modal__content{display:flex;flex-direction:column;padding:0}.yoast-post-settings-modal .components-modal__header{border-bottom:var(--yoast-border-default);flex-shrink:0;margin:0}.yoast-post-settings-modal .yoast-notice-container{bottom:0;right:0;margin-top:auto;position:sticky;width:100%;z-index:1}.yoast-post-settings-modal .components-modal__content>div:not([class]):not([class=""]){display:flex;flex-direction:column;overflow:hidden}.yoast-post-settings-modal .yoast-notice-container>hr{margin-bottom:0;margin-top:-1px}.yoast-post-settings-modal .yoast-content-container{flex-grow:1;overflow-y:auto}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;margin:0;padding:24px}.yoast-post-settings-modal .yoast-button-container p{align-self:center;color:var(--yoast-color-label-help);padding-left:24px}.yoast-post-settings-modal .yoast-button-container button{align-self:center;flex-shrink:0;max-height:45px}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{justify-content:space-between;padding:16px}.yoast-post-settings-modal .yoast-button-container p{padding-left:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}.yoast-wincher-seo-performance-modal__content{padding:25px 32px 32px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{border:none;position:relative}.yoast-related-keyphrases-modal__chart{display:block}:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-list--usp{font-family:Arial,sans-serif;margin-bottom:2rem;padding:0}.yoast-list--usp li{list-style:none!important;padding-right:1.2533333333rem;position:relative}.yoast-list--usp li:before{color:#77b227;content:"\f00c\0020";font-family:FontAwesome,Open Sans,Arial,sans-serif;right:0;position:absolute;top:0}.yoast .h1,.yoast .h2,.yoast .h3,.yoast .h4,.yoast .h5,.yoast .h6,.yoast h1,.yoast h2,.yoast h3,.yoast h4,.yoast h5,.yoast h6{display:block;font-family:Arial,sans-serif;font-weight:300;margin-top:0}.yoast .h1,.yoast h1{font-size:2.5em;letter-spacing:normal;line-height:3.68rem;margin-bottom:1.35rem}@media only screen and (min-width:30rem){.yoast .h1,.yoast h1{font-size:2.75em}}.yoast .h2,.yoast h2{font-size:1.88em;line-height:2.5rem;margin-bottom:1.2rem}.yoast .h2.tight,.yoast h2.tight{margin-bottom:.6rem}.yoast .h3,.yoast h3{font-size:1.25em;line-height:1.88rem;margin-bottom:.8rem}.yoast .h3.tight,.yoast h3.tight{margin-bottom:.4rem}@media only screen and (min-width:30rem){.yoast .h3,.yoast h3{font-size:1.375em}}@media only screen and (min-width:50rem){.yoast .h3,.yoast h3{font-size:1.5em}}.yoast .h4,.yoast .h5,.yoast .h6,.yoast h4,.yoast h5,.yoast h6{font-size:1.13em;font-weight:400;line-height:1.88rem;margin-bottom:.2rem}.yoast-button{background-color:initial;background-color:#dc5c04;border:0;color:#dc5c04;cursor:pointer;display:inline-block;font-family:Arial,sans-serif;font-size:1.1em;padding:.345em 1em .345em 1.5em;position:relative;text-decoration:none;width:100%}@media only screen and (min-width:30rem){.yoast-button{margin-left:1.36rem;max-height:2.86rem;width:auto}.yoast-button:after{border-bottom:1.44rem solid #0000;border-right:1.43rem solid #dc5c04;border-left:0;border-top:1.43rem solid #0000;content:"";height:0;position:absolute;left:-1.36rem;top:0;width:0}.yoast-button.left{margin-right:1.36rem;margin-left:0}.yoast-button.left:after{content:none}.yoast-button.left:before{border-bottom:1.44rem solid #0000;border-right:0;border-left:1.43rem solid #dc5c04;border-top:1.43rem solid #0000;content:"";height:0;right:-1.36rem;position:absolute;top:0;width:0}}.yoast-button.alignleft{margin:1rem 0 0 2.5rem!important}.yoast-button .arrow{display:none}.yoast-button+.yoast-button{margin-right:1.88rem;margin-top:1em}.yoast-button--full{width:100%}.yoast-button--full:after{content:none}.yoast-button.default{background-color:#dc5c04;color:#fff}.yoast-button.default:after{border-right-color:#dc5c04}.yoast-button.default:before{border-left-color:#dc5c04}.yoast-button a:focus,.yoast-button:hover{background-color:#f58223;color:#fff;text-decoration:underline}.yoast-button a:focus:after,.yoast-button:hover:after{border-right-color:#f58223}.yoast-button a:focus:before,.yoast-button:hover:before{border-left-color:#f58223}.yoast-button.academy{background-color:#5d237a;color:#fff}.yoast-button.academy:after{border-right-color:#5d237a}.yoast-button.academy:before{border-left-color:#5d237a}@media only screen and (max-width:20rem){.yoast-button.academy{background-color:#5d237a}}.yoast-button.academy--secondary{background-color:#a4286a;color:#fff}.yoast-button.academy--secondary:after{border-right-color:#a4286a}.yoast-button.academy--secondary:before{border-left-color:#a4286a}@media only screen and (max-width:20rem){.yoast-button.academy--secondary{background-color:#a4286a}}.yoast-button.software{background-color:#0075b3;color:#fff}.yoast-button.software:after{border-right-color:#0075b3}.yoast-button.software:before{border-left-color:#0075b3}.yoast-button.review{background-color:#009288;color:#fff}.yoast-button.review:after{border-right-color:#009288}.yoast-button.review:before{border-left-color:#009288}.yoast-button.about{background-color:#d93f69;color:#fff}.yoast-button.about:after{border-right-color:#d93f69}.yoast-button.about:before{border-left-color:#d93f69}.yoast_academy .yoast-button{background-color:#d93f69;color:#fff}.yoast_academy .yoast-button:after{border-right-color:#d93f69}.yoast_academy .yoast-button:before{border-left-color:#d93f69}.yoast_academy .yoast-button a:focus,.yoast_academy .yoast-button:hover{background-color:#d42a59;color:#fff;text-decoration:underline}.yoast_academy .yoast-button a:focus:after,.yoast_academy .yoast-button:hover:after{border-right-color:#d42a59}.yoast_academy .yoast-button a:focus:before,.yoast_academy .yoast-button:hover:before{border-left-color:#d42a59}.yoast_academy .yoast-button.dimmed,body .yoast-button.dimmed{background-color:#dcdcdc;color:#646464}.yoast_academy .yoast-button.dimmed:after,body .yoast-button.dimmed:after{border-right-color:#dcdcdc}.yoast_academy .yoast-button.dimmed:before,body .yoast-button.dimmed:before{border-left-color:#dcdcdc}.yoast_academy .yoast-button.dimmed a:focus,.yoast_academy .yoast-button.dimmed:hover,body .yoast-button.dimmed a:focus,body .yoast-button.dimmed:hover{background-color:#cdcdcd;color:#646464;text-decoration:underline}.yoast_academy .yoast-button.dimmed a:focus:after,.yoast_academy .yoast-button.dimmed:hover:after,body .yoast-button.dimmed a:focus:after,body .yoast-button.dimmed:hover:after{border-right-color:#cdcdcd}.yoast_academy .yoast-button.dimmed a:focus:before,.yoast_academy .yoast-button.dimmed:hover:before,body .yoast-button.dimmed a:focus:before,body .yoast-button.dimmed:hover:before{border-left-color:#cdcdcd}.yoast-button--noarrow:after{content:none}.yoast-button--naked{background-color:initial;border:none;padding:0}.yoast-button--naked:after{content:none}.yoast-button i.fa{font-size:140%;margin:4px 0 0 10px}.yoast-promoblock{border:1px solid #dcdcdc;box-shadow:0 1px 6px 0 #0000004d;margin-bottom:1.88rem;padding:16px}.yoast-promoblock p{color:#000}.yoast-promoblock p:last-of-type{margin-bottom:0}.yoast-promoblock i.blockicon{bottom:10px;font-size:2.25em;padding:0 .5em 0 0;position:absolute;left:10px}.yoast-promoblock a img{border:1px solid #dcdcdc}.yoast-promoblock p a{font-weight:600!important;text-decoration:underline}.yoast-promoblock form a{font-weight:400!important;text-decoration:none}.yoast-promoblock .h4,.yoast-promoblock h4{margin-bottom:.7rem}.yoast-promoblock.link{border-color:#dc5c04}.yoast-promoblock.link a,.yoast-promoblock.link a:hover{color:#dc5c04}.yoast-promoblock--white{border-color:#fff!important}.product .yoast-promoblock{overflow:hidden}.yoast-promoblock--hometitle{background-color:#d93f6940;border-color:#fff!important;display:flex;font-size:16px;font-size:1rem;height:11em;line-height:1;margin:1rem auto 2rem;max-width:16em}@media only screen and (max-width:30rem){.yoast-promoblock--hometitle:after{content:none!important}}.yoast-promoblock--imageholder{margin-bottom:0;padding:0}.yoast-promoblock--imageholdersmall{position:absolute}.yoast-promoblock--imageholdersmall:first-child{right:4rem}.yoast-promoblock--imageholdersmall:last-child{top:4rem}@media only screen and (max-width:50rem){.yoast-promoblock h2{margin-bottom:0}}a.promoblock{color:#000}a.promoblock,a.promoblock:hover{text-decoration:none}.promoblockimage__holder{height:295px;position:relative;width:240px}.yoast{color:#000;font-family:Open Sans,Arial,sans-serif;font-size:1rem;letter-spacing:.01em;line-height:1.88}.yoast *,.yoast :after,.yoast :before{box-sizing:border-box}.yoast-hr{border:0;margin:0;padding-bottom:1.88rem;position:relative}.yoast-list--usp li:before{background:var(--yoast-svg-icon-check) no-repeat;background-position:right .3em;background-size:contain;content:"";height:100%;width:1em}.yoast-button--purple{background-color:#5d237a}.yoast-button-go-to:after{border:none;content:" \00BB";height:auto;position:static;left:auto;top:auto;width:auto}.yoast-button--extension{color:#fff;padding-right:.8em;padding-left:.8em;text-transform:uppercase}.yoast-button--extension+.yoast-button--extension-activated,.yoast-button--extension+.yoast-button--extension-not-activated{margin-right:0}.yoast-button--extension-activated:hover,.yoast-button--extension-installed:hover,.yoast-button--extension-not-activated:hover{text-decoration:none}.yoast-button--extension-installed{margin-left:.2rem}.yoast-button--extension-installed,.yoast-button--extension-installed:hover{background-color:#008a00}.yoast-button--extension-not-activated,.yoast-button--extension-not-activated:hover{background-color:#dc3232}.yoast-button--extension-activated,.yoast-button--extension-activated:hover{background-color:#008a00}.yoast-button-upsell{margin-bottom:1em;width:100%}@media only screen and (min-width:30rem){.yoast-button-upsell{margin-left:1.36rem;width:auto}}.yoast-promo-extensions{display:flex;flex-wrap:wrap;margin-right:-24px}.yoast-promo-extensions>h2{margin-bottom:32px;margin-right:32px;width:100%}.yoast-promo-extension{background-color:#fff;display:flex;flex-direction:column;margin-right:32px;max-width:340px}.yoast-promo-extension:first-child{margin-right:0}.yoast-promo-extension img{float:left;height:100px;margin-bottom:.8rem;width:100px}@media screen and (max-width:900px){.yoast-promo-extension img{display:none}}.yoast-promo-extension .yoast-button-container{margin-top:auto}.yoast-promo-extension .yoast-button-container div.yoast-button--extension{cursor:default}.yoast-promo-extension .yoast-button{font-size:.9rem;max-height:none;width:100%}.yoast-promo-extension .yoast-button--installed{color:#fff}.yoast-promo-extension .yoast-button--extension{font-size:.9rem;margin-top:0;text-align:center}.yoast-promo-extension .yoast-button--extension-installed{margin:0 0 0 2%;width:48%}.yoast-promo-extension .yoast-button--extension-activated,.yoast-promo-extension .yoast-button--extension-not-activated{margin-right:0;margin-left:0;width:48%}.yoast-promo-extension .yoast-button-upsell{width:100%}.yoast-promo-extension h3{color:#a4286a}@media screen and (max-width:900px){.yoast-promo-extension{max-width:none;width:100%}}.yoast-seo-premium-extension-sale-badge{margin-top:-30px}.yoast-seo-premium-extension-sale-badge span{background:#1f2937;border-radius:14px;color:#fcd34d;font-size:14px;font-weight:600;padding:6px 12px}.yoast-seo-premium-extension{background:#fff;border:1px solid #dcdcdc;box-shadow:0 1px 6px 0 #0000004d;margin:2em .5em 1.5em;max-width:712px;padding:16px}.yoast-seo-premium-extension h2{color:#a61e69;display:flex;font-size:1.5rem;justify-content:space-between;margin-top:16px}.yoast-seo-premium-extension img{margin-right:1rem}@media screen and (max-width:900px){.yoast-seo-premium-extension{max-width:none;width:calc(100% - 8px)}.yoast-seo-premium-extension img{display:none}}.yoast-seo-premium-extension:after,.yoast-seo-premium-extension:before{content:"";display:table}.yoast-seo-premium-extension:after{clear:both}.yoast-seo-premium-benefits__item{font-size:.9rem;font-weight:400;line-height:24px;margin-bottom:8px}.yoast-seo-premium-benefits__item span{color:#404040}.yoast-seo-premium-benefits__title{font-size:.9rem;font-weight:700;line-height:24px}.yoast-seo-premium-benefits__description{font-size:.9rem;font-weight:400;line-height:24px}.yoast-link--license,.yoast-link--more-info{color:#a4286a;font-weight:600}.yoast-link--license{margin:1em 0 0}.yoast-promo-extension .yoast-link--license{display:block;margin:1em 0 0}.yoast-link--license:after{content:" \00BB"}.yoast-link--more-info{background:var(--yoast-svg-icon-info);background-position:100%;background-repeat:no-repeat;background-size:1em;padding-right:calc(1em + 5px)}.yoast-link--more-info:after{content:" \00BB"}.yoast-promo-extension .yoast-link--more-info{background-position:100%;display:block;margin:0}.yoast-heading-highlight{color:#a4286a;font-weight:600}.yoast-money-back-guarantee{font-size:1.1em;font-style:italic}.yoast-license-status-active{background:#008a00;color:#fff;padding:3px 6px}.yoast-license-status-inactive{background:#dc3232;color:#fff;padding:3px 6px}.yoast-promoblock.secondary.yoast-promo-extension .yoast-button-container .yoast-subscription-discount{color:#64748b;font-size:12px;margin-bottom:8px;margin-top:-8px;text-align:center} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2340.css new file mode 100644 index 00000000..252ed924 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2340.css @@ -0,0 +1 @@ +.yoast-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:#a4286a99;bottom:0;left:0;position:fixed;right:0;top:0;z-index:100000}.yoast-modal{background:#fff;bottom:48px;display:flex;flex-direction:column;height:calc(100% - 96px);left:calc(50% - 440px);max-width:880px;overflow:hidden;position:fixed;top:48px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);display:inline-block;height:20px;margin-right:8px;mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;width:20px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-columns:280px 1fr;grid-template-rows:72px 1fr 88px}.yoast-modal__heading{align-items:center;background:var(--yoast-color-white);border-bottom:var(--yoast-border-default);box-sizing:border-box;display:flex;grid-area:heading;min-height:72px;padding:0 24px}.yoast-modal__heading .yoast-close{position:absolute;right:16px}.yoast-gutenberg-modal__box.components-modal__frame{box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@media (min-width:600px){.yoast-gutenberg-modal__box.components-modal__frame{border-radius:8px;max-height:calc(100% - 48px)}}.yoast-gutenberg-modal__no-padding .components-modal__content{padding:0}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{color:var(--yoast-color-primary);font-size:20px;font-weight:400;line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__content .components-modal__header{border-bottom:1px solid #e2e8f0!important}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);flex-shrink:0;height:20px;margin-right:16px;width:19px}.yoast-modal__menu{border-right:var(--yoast-border-default);grid-area:menu;overflow-y:auto}.yoast-modal__menu ul{list-style:none;margin:0;padding:0}.yoast-modal__menu li{border-bottom:var(--yoast-border-default);color:var(--yoast-color-default);cursor:pointer;display:block;font-size:16px;padding:12px 16px 11px;text-decoration:none}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{display:flex;flex-direction:column;flex-grow:1;grid-area:content;overflow-y:auto;position:relative}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{background:var(--yoast-color-white);padding:24px 24px 0;position:sticky;top:0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{align-items:center;align-self:flex-end;background:var(--yoast-color-white);border-top:var(--yoast-border-default);bottom:0;box-sizing:border-box;display:flex;grid-area:footer;justify-content:flex-end;margin:0 24px;min-height:88px;padding:0;position:sticky;width:calc(100% - 48px);z-index:10}.yoast-modal__settings-saved{align-items:center;display:inline-flex;margin-right:16px;position:relative}.yoast-modal__settings-saved:before{background:var(--yoast-checkmark--green) no-repeat center;content:"";display:inline-block;height:13px;margin-right:8px;width:14px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{flex-grow:1;padding:24px}@media screen and (max-width:880px){.yoast-modal{bottom:0;height:auto;left:0;right:0;top:0}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{min-height:48px;padding:0 16px;position:fixed;top:0;width:100%;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-right:8px}.yoast .yoast-close{right:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{flex-grow:0;overflow:initial}.yoast-modal__section-content{margin:0 16px;padding:24px 0}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{margin:0;padding:0;position:sticky;top:48px}.yoast-modal__section-open .yoast-modal__section-header{margin-left:16px;margin-right:16px;padding-left:0;padding-right:0}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{margin:0;min-height:72px;padding:0 16px;position:fixed;width:100%;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{border-bottom:var(--yoast-border-default);margin:0;padding:24px 16px}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{background:#fff;border:none;border-bottom:var(--yoast-border-default);color:var(--yoast-color-primary);cursor:pointer;font-size:var(--yoast-font-size-default);justify-content:space-between;padding:16px;text-align:left;width:100%}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(180deg)}.yoast-collapsible__trigger[aria-expanded=true]{margin:0 16px;padding:16px 0;width:calc(100% - 32px)}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;border:none;display:block;float:right;height:19px;width:19px}.yoast-collapsible-block{margin-top:48px;width:100%}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{height:100%;max-height:calc(100% - 96px);max-width:calc(100% - 96px);overflow:hidden;width:880px}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{grid-gap:24px;display:grid;grid-template-columns:1fr 1fr}}.yoast-post-settings-modal__button-container{border-bottom:1px solid #0003;display:flex;flex-direction:column;padding:16px}.yoast-post-settings-modal .components-modal__content{display:flex;flex-direction:column;padding:0}.yoast-post-settings-modal .components-modal__header{border-bottom:var(--yoast-border-default);flex-shrink:0;margin:0}.yoast-post-settings-modal .yoast-notice-container{bottom:0;left:0;margin-top:auto;position:sticky;width:100%;z-index:1}.yoast-post-settings-modal .components-modal__content>div:not([class]):not([class=""]){display:flex;flex-direction:column;overflow:hidden}.yoast-post-settings-modal .yoast-notice-container>hr{margin-bottom:0;margin-top:-1px}.yoast-post-settings-modal .yoast-content-container{flex-grow:1;overflow-y:auto}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;margin:0;padding:24px}.yoast-post-settings-modal .yoast-button-container p{align-self:center;color:var(--yoast-color-label-help);padding-right:24px}.yoast-post-settings-modal .yoast-button-container button{align-self:center;flex-shrink:0;max-height:45px}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{justify-content:space-between;padding:16px}.yoast-post-settings-modal .yoast-button-container p{padding-right:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}.yoast-wincher-seo-performance-modal__content{padding:25px 32px 32px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{border:none;position:relative}.yoast-related-keyphrases-modal__chart{display:block}:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-list--usp{font-family:Arial,sans-serif;margin-bottom:2rem;padding:0}.yoast-list--usp li{list-style:none!important;padding-left:1.2533333333rem;position:relative}.yoast-list--usp li:before{color:#77b227;content:"\f00c\0020";font-family:FontAwesome,Open Sans,Arial,sans-serif;left:0;position:absolute;top:0}.yoast .h1,.yoast .h2,.yoast .h3,.yoast .h4,.yoast .h5,.yoast .h6,.yoast h1,.yoast h2,.yoast h3,.yoast h4,.yoast h5,.yoast h6{display:block;font-family:Arial,sans-serif;font-weight:300;margin-top:0}.yoast .h1,.yoast h1{font-size:2.5em;letter-spacing:normal;line-height:3.68rem;margin-bottom:1.35rem}@media only screen and (min-width:30rem){.yoast .h1,.yoast h1{font-size:2.75em}}.yoast .h2,.yoast h2{font-size:1.88em;line-height:2.5rem;margin-bottom:1.2rem}.yoast .h2.tight,.yoast h2.tight{margin-bottom:.6rem}.yoast .h3,.yoast h3{font-size:1.25em;line-height:1.88rem;margin-bottom:.8rem}.yoast .h3.tight,.yoast h3.tight{margin-bottom:.4rem}@media only screen and (min-width:30rem){.yoast .h3,.yoast h3{font-size:1.375em}}@media only screen and (min-width:50rem){.yoast .h3,.yoast h3{font-size:1.5em}}.yoast .h4,.yoast .h5,.yoast .h6,.yoast h4,.yoast h5,.yoast h6{font-size:1.13em;font-weight:400;line-height:1.88rem;margin-bottom:.2rem}.yoast-button{background-color:initial;background-color:#dc5c04;border:0;color:#dc5c04;cursor:pointer;display:inline-block;font-family:Arial,sans-serif;font-size:1.1em;padding:.345em 1.5em .345em 1em;position:relative;text-decoration:none;width:100%}@media only screen and (min-width:30rem){.yoast-button{margin-right:1.36rem;max-height:2.86rem;width:auto}.yoast-button:after{border-bottom:1.44rem solid #0000;border-left:1.43rem solid #dc5c04;border-right:0;border-top:1.43rem solid #0000;content:"";height:0;position:absolute;right:-1.36rem;top:0;width:0}.yoast-button.left{margin-left:1.36rem;margin-right:0}.yoast-button.left:after{content:none}.yoast-button.left:before{border-bottom:1.44rem solid #0000;border-left:0;border-right:1.43rem solid #dc5c04;border-top:1.43rem solid #0000;content:"";height:0;left:-1.36rem;position:absolute;top:0;width:0}}.yoast-button.alignleft{margin:1rem 2.5rem 0 0!important}.yoast-button .arrow{display:none}.yoast-button+.yoast-button{margin-left:1.88rem;margin-top:1em}.yoast-button--full{width:100%}.yoast-button--full:after{content:none}.yoast-button.default{background-color:#dc5c04;color:#fff}.yoast-button.default:after{border-left-color:#dc5c04}.yoast-button.default:before{border-right-color:#dc5c04}.yoast-button a:focus,.yoast-button:hover{background-color:#f58223;color:#fff;text-decoration:underline}.yoast-button a:focus:after,.yoast-button:hover:after{border-left-color:#f58223}.yoast-button a:focus:before,.yoast-button:hover:before{border-right-color:#f58223}.yoast-button.academy{background-color:#5d237a;color:#fff}.yoast-button.academy:after{border-left-color:#5d237a}.yoast-button.academy:before{border-right-color:#5d237a}@media only screen and (max-width:20rem){.yoast-button.academy{background-color:#5d237a}}.yoast-button.academy--secondary{background-color:#a4286a;color:#fff}.yoast-button.academy--secondary:after{border-left-color:#a4286a}.yoast-button.academy--secondary:before{border-right-color:#a4286a}@media only screen and (max-width:20rem){.yoast-button.academy--secondary{background-color:#a4286a}}.yoast-button.software{background-color:#0075b3;color:#fff}.yoast-button.software:after{border-left-color:#0075b3}.yoast-button.software:before{border-right-color:#0075b3}.yoast-button.review{background-color:#009288;color:#fff}.yoast-button.review:after{border-left-color:#009288}.yoast-button.review:before{border-right-color:#009288}.yoast-button.about{background-color:#d93f69;color:#fff}.yoast-button.about:after{border-left-color:#d93f69}.yoast-button.about:before{border-right-color:#d93f69}.yoast_academy .yoast-button{background-color:#d93f69;color:#fff}.yoast_academy .yoast-button:after{border-left-color:#d93f69}.yoast_academy .yoast-button:before{border-right-color:#d93f69}.yoast_academy .yoast-button a:focus,.yoast_academy .yoast-button:hover{background-color:#d42a59;color:#fff;text-decoration:underline}.yoast_academy .yoast-button a:focus:after,.yoast_academy .yoast-button:hover:after{border-left-color:#d42a59}.yoast_academy .yoast-button a:focus:before,.yoast_academy .yoast-button:hover:before{border-right-color:#d42a59}.yoast_academy .yoast-button.dimmed,body .yoast-button.dimmed{background-color:#dcdcdc;color:#646464}.yoast_academy .yoast-button.dimmed:after,body .yoast-button.dimmed:after{border-left-color:#dcdcdc}.yoast_academy .yoast-button.dimmed:before,body .yoast-button.dimmed:before{border-right-color:#dcdcdc}.yoast_academy .yoast-button.dimmed a:focus,.yoast_academy .yoast-button.dimmed:hover,body .yoast-button.dimmed a:focus,body .yoast-button.dimmed:hover{background-color:#cdcdcd;color:#646464;text-decoration:underline}.yoast_academy .yoast-button.dimmed a:focus:after,.yoast_academy .yoast-button.dimmed:hover:after,body .yoast-button.dimmed a:focus:after,body .yoast-button.dimmed:hover:after{border-left-color:#cdcdcd}.yoast_academy .yoast-button.dimmed a:focus:before,.yoast_academy .yoast-button.dimmed:hover:before,body .yoast-button.dimmed a:focus:before,body .yoast-button.dimmed:hover:before{border-right-color:#cdcdcd}.yoast-button--noarrow:after{content:none}.yoast-button--naked{background-color:initial;border:none;padding:0}.yoast-button--naked:after{content:none}.yoast-button i.fa{font-size:140%;margin:4px 10px 0 0}.yoast-promoblock{border:1px solid #dcdcdc;box-shadow:0 1px 6px 0 #0000004d;margin-bottom:1.88rem;padding:16px}.yoast-promoblock p{color:#000}.yoast-promoblock p:last-of-type{margin-bottom:0}.yoast-promoblock i.blockicon{bottom:10px;font-size:2.25em;padding:0 0 0 .5em;position:absolute;right:10px}.yoast-promoblock a img{border:1px solid #dcdcdc}.yoast-promoblock p a{font-weight:600!important;text-decoration:underline}.yoast-promoblock form a{font-weight:400!important;text-decoration:none}.yoast-promoblock .h4,.yoast-promoblock h4{margin-bottom:.7rem}.yoast-promoblock.link{border-color:#dc5c04}.yoast-promoblock.link a,.yoast-promoblock.link a:hover{color:#dc5c04}.yoast-promoblock--white{border-color:#fff!important}.product .yoast-promoblock{overflow:hidden}.yoast-promoblock--hometitle{background-color:#d93f6940;border-color:#fff!important;display:flex;font-size:16px;font-size:1rem;height:11em;line-height:1;margin:1rem auto 2rem;max-width:16em}@media only screen and (max-width:30rem){.yoast-promoblock--hometitle:after{content:none!important}}.yoast-promoblock--imageholder{margin-bottom:0;padding:0}.yoast-promoblock--imageholdersmall{position:absolute}.yoast-promoblock--imageholdersmall:first-child{left:4rem}.yoast-promoblock--imageholdersmall:last-child{top:4rem}@media only screen and (max-width:50rem){.yoast-promoblock h2{margin-bottom:0}}a.promoblock{color:#000}a.promoblock,a.promoblock:hover{text-decoration:none}.promoblockimage__holder{height:295px;position:relative;width:240px}.yoast{color:#000;font-family:Open Sans,Arial,sans-serif;font-size:1rem;letter-spacing:.01em;line-height:1.88}.yoast *,.yoast :after,.yoast :before{box-sizing:border-box}.yoast-hr{border:0;margin:0;padding-bottom:1.88rem;position:relative}.yoast-list--usp li:before{background:var(--yoast-svg-icon-check) no-repeat;background-position:left .3em;background-size:contain;content:"";height:100%;width:1em}.yoast-button--purple{background-color:#5d237a}.yoast-button-go-to:after{border:none;content:" \00BB";height:auto;position:static;right:auto;top:auto;width:auto}.yoast-button--extension{color:#fff;padding-left:.8em;padding-right:.8em;text-transform:uppercase}.yoast-button--extension+.yoast-button--extension-activated,.yoast-button--extension+.yoast-button--extension-not-activated{margin-left:0}.yoast-button--extension-activated:hover,.yoast-button--extension-installed:hover,.yoast-button--extension-not-activated:hover{text-decoration:none}.yoast-button--extension-installed{margin-right:.2rem}.yoast-button--extension-installed,.yoast-button--extension-installed:hover{background-color:#008a00}.yoast-button--extension-not-activated,.yoast-button--extension-not-activated:hover{background-color:#dc3232}.yoast-button--extension-activated,.yoast-button--extension-activated:hover{background-color:#008a00}.yoast-button-upsell{margin-bottom:1em;width:100%}@media only screen and (min-width:30rem){.yoast-button-upsell{margin-right:1.36rem;width:auto}}.yoast-promo-extensions{display:flex;flex-wrap:wrap;margin-left:-24px}.yoast-promo-extensions>h2{margin-bottom:32px;margin-left:32px;width:100%}.yoast-promo-extension{background-color:#fff;display:flex;flex-direction:column;margin-left:32px;max-width:340px}.yoast-promo-extension:first-child{margin-left:0}.yoast-promo-extension img{float:right;height:100px;margin-bottom:.8rem;width:100px}@media screen and (max-width:900px){.yoast-promo-extension img{display:none}}.yoast-promo-extension .yoast-button-container{margin-top:auto}.yoast-promo-extension .yoast-button-container div.yoast-button--extension{cursor:default}.yoast-promo-extension .yoast-button{font-size:.9rem;max-height:none;width:100%}.yoast-promo-extension .yoast-button--installed{color:#fff}.yoast-promo-extension .yoast-button--extension{font-size:.9rem;margin-top:0;text-align:center}.yoast-promo-extension .yoast-button--extension-installed{margin:0 2% 0 0;width:48%}.yoast-promo-extension .yoast-button--extension-activated,.yoast-promo-extension .yoast-button--extension-not-activated{margin-left:0;margin-right:0;width:48%}.yoast-promo-extension .yoast-button-upsell{width:100%}.yoast-promo-extension h3{color:#a4286a}@media screen and (max-width:900px){.yoast-promo-extension{max-width:none;width:100%}}.yoast-seo-premium-extension-sale-badge{margin-top:-30px}.yoast-seo-premium-extension-sale-badge span{background:#1f2937;border-radius:14px;color:#fcd34d;font-size:14px;font-weight:600;padding:6px 12px}.yoast-seo-premium-extension{background:#fff;border:1px solid #dcdcdc;box-shadow:0 1px 6px 0 #0000004d;margin:2em .5em 1.5em;max-width:712px;padding:16px}.yoast-seo-premium-extension h2{color:#a61e69;display:flex;font-size:1.5rem;justify-content:space-between;margin-top:16px}.yoast-seo-premium-extension img{margin-left:1rem}@media screen and (max-width:900px){.yoast-seo-premium-extension{max-width:none;width:calc(100% - 8px)}.yoast-seo-premium-extension img{display:none}}.yoast-seo-premium-extension:after,.yoast-seo-premium-extension:before{content:"";display:table}.yoast-seo-premium-extension:after{clear:both}.yoast-seo-premium-benefits__item{font-size:.9rem;font-weight:400;line-height:24px;margin-bottom:8px}.yoast-seo-premium-benefits__item span{color:#404040}.yoast-seo-premium-benefits__title{font-size:.9rem;font-weight:700;line-height:24px}.yoast-seo-premium-benefits__description{font-size:.9rem;font-weight:400;line-height:24px}.yoast-link--license,.yoast-link--more-info{color:#a4286a;font-weight:600}.yoast-link--license{margin:1em 0 0}.yoast-promo-extension .yoast-link--license{display:block;margin:1em 0 0}.yoast-link--license:after{content:" \00BB"}.yoast-link--more-info{background:var(--yoast-svg-icon-info);background-position:0;background-repeat:no-repeat;background-size:1em;padding-left:calc(1em + 5px)}.yoast-link--more-info:after{content:" \00BB"}.yoast-promo-extension .yoast-link--more-info{background-position:0;display:block;margin:0}.yoast-heading-highlight{color:#a4286a;font-weight:600}.yoast-money-back-guarantee{font-size:1.1em;font-style:italic}.yoast-license-status-active{background:#008a00;color:#fff;padding:3px 6px}.yoast-license-status-inactive{background:#dc3232;color:#fff;padding:3px 6px}.yoast-promoblock.secondary.yoast-promo-extension .yoast-button-container .yoast-subscription-discount{color:#64748b;font-size:12px;margin-bottom:8px;margin-top:-8px;text-align:center} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2340-rtl.css new file mode 100644 index 00000000..743427bd --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2340-rtl.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.wpseo_content_wrapper{display:table;table-layout:fixed;width:100%}.wpseo_content_cell{display:table-cell;height:500px;margin:0;padding:0;vertical-align:top}#wpseo_content_top{width:100%}tr.yst_row{margin:5px 0 0;padding:5px 0 0}#sidebar-container{padding-right:20px;width:300px}tr.yst_row.even{background-color:#f6f6f6}.wpseo_content_wrapper label.select,.wpseo_content_wrapper label.textinput{word-wrap:break-word;float:right;margin:5px 0;width:200px}.wpseo_content_wrapper label.select.error,.wpseo_content_wrapper label.textinput.error{color:#dc3232;font-weight:700}.wpseo_content_wrapper .yoast-inline-label{display:inline-block;float:none;margin:0 0 8px}.wpseo_content_wrapper input.textinput,.wpseo_content_wrapper select,.wpseo_content_wrapper textarea{width:400px}.wpseo_content_wrapper input.number{width:100px}.wpseo_content_wrapper input.large-text,.wpseo_content_wrapper textarea.large-text{width:99%}.wpseo_content_wrapper .select2-container,.wpseo_content_wrapper input.textinput,.wpseo_content_wrapper select.select,.wpseo_content_wrapper textarea.textinput{margin:0 0 15px}.wpseo_content_wrapper input.textinput[aria-invalid=true]{background:#f9dcdc url(../../images/error-icon.svg) no-repeat calc(100% - (100% - 6px));background-size:12px;border:1px solid #dc3232;color:#000;padding-left:24px}.wpseo_content_wrapper input.textinput[aria-invalid=true][aria-describedby]{margin-bottom:.5rem}.wpseo_content_wrapper .yoast-input-validation__error-description{color:#8f1919;margin:0 0 1rem;padding-right:200px;width:400px}.wpseo_content_wrapper input.checkbox,.wpseo_content_wrapper input.checkbox.double,.wpseo_content_wrapper input.radio{margin:6px 0 6px 10px}.wpseo_content_wrapper .textinput.metadesc{height:50px}.wpseo_content_wrapper textarea.import{height:100px;width:500px}.wpseo_content_wrapper p.desc{margin:6px 0 10px;padding:0 25px 8px 0}.wpseo_content_wrapper div.desc.label,.wpseo_content_wrapper p.desc.label{margin:0 0 20px;padding:0 200px 10px 0}.wpseo_content_wrapper h4{clear:both;margin:1.2em 0 .5em}.wpseo_content_wrapper .postbox{margin:10px 0 0 10px}.wpseo_content_wrapper .postbox form{line-height:150%}.wpseo_content_wrapper .text{width:250px}.wpseo_content_wrapper .correct{background-color:green;color:#fff;padding:5px}.wpseo_content_wrapper .wrong{background-color:#dc3232;color:#fff;padding:5px}.wpseo_content_wrapper .wrong code{color:#000;padding:3px 8px}.wpseo_content_wrapper .button.fixit{float:left;margin:0 5px}.wpseo_content_wrapper .button.checkit{float:left;margin:0 5px;padding:5px 8px}.wpseo_content_wrapper .disabled-note{color:#888;margin:0 0 8px}.wpseo_content_wrapper #separator{margin:1em 0 0}.wpseo_content_wrapper #separator input.radio{height:1px;right:-9999em;position:absolute;width:1px}.wpseo_content_wrapper #separator input.radio+label{border:1px solid #ccc;cursor:pointer;float:right;font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;line-height:24px;margin:.5em 0 0 5px!important;padding:9px 6px;text-align:center;width:30px!important}.wpseo_content_wrapper #separator input.radio:checked+label{background-color:#fff;border:3px solid #a4286a;padding:7px 4px}.wpseo_content_wrapper #separator input.radio:focus+label{outline:2px solid #5b9dd9}.wpseo_content_wrapper .svg-container{text-align:center}.wpseo_content_wrapper .svg-container .dashicons{font-size:100px;height:100px;width:200px}.wpseo_content_wrapper .paper.tab-block button.toggleable-container-trigger{font-size:1.0625rem;padding:16px;width:100%}.wpseo_content_wrapper .paper.tab-block button.toggleable-container-trigger:focus{box-shadow:0 0 3px #084a67cc;outline:1px solid #0066cd;outline-offset:-1px}.wpseo_content_wrapper .paper.tab-block button.toggleable-container-trigger:active{box-shadow:none}.wpseo_content_wrapper .paper.tab-block h2.collapsible-header{margin:0!important;padding:0!important}.wpseo_content_wrapper .paper.tab-block.metabox button.toggleable-container-trigger{color:#555}.wpseo_content_wrapper .paper.tab-block.metabox.wpseotab{border:0;padding:0}.wpseo_content_wrapper .paper.tab-block .paper-container{padding:16px}.wpseo_content_wrapper .paper.tab-block.has-paper-container-no-top-padding .paper-container{padding-top:0}.wpseo_content_wrapper .paper.tab-block .paper-container:first-child{margin-top:0}.wpseo_content_wrapper .paper.tab-block .paper-title{padding:16px}.wpseo_content_wrapper .paper.tab-block .paper-title h2{margin:0}.wpseo_content_wrapper .paper.tab-block .tab-block:first-child{margin-top:0}.wpseo_content_wrapper .wpseo-collapsible-container{background-color:#fff;border-bottom:1px solid #e2e4e7;border-top:1px solid #e2e4e7;margin-top:-1px}.wpseo_content_wrapper .toggleable-container-trigger{background:none;border:0;cursor:pointer;padding:0;text-align:right;width:100%}.wpseo_content_wrapper .toggleable-container-icon{float:left;height:20px;position:relative;width:20px}.wpseo_content_wrapper .toggleable-container-trigger .toggleable-container-icon:after{content:"";display:block;right:-4px;padding:14px;position:absolute;top:-4px}.wpseo_content_wrapper .toggleable-container-hidden{display:none}.wpseo_content_wrapper h3{font-size:1.15em;margin:1em 0 .5em}.wpseo_content_wrapper h3.h2{font-size:1.3em}.wpseo_content_wrapper li,.wpseo_content_wrapper p{max-width:600px}.wpseo_content_wrapper .notice p,.yoast .search-box,.yoast-container .container,.yoast-notification p{max-width:none}table.wpseo th{text-align:right}#wpseo-tabs+.notice{margin-top:1.5em}.wpseo-variable-warning-element{border:1px solid #c62d2d!important}.wpseo-variable-warning{clear:both;color:#c62d2d;margin:5px 0 0;padding:5px}.wpseo-variable-warning code{color:#b02828}.wpseo-variable-warning a{color:#c62d2d}.wpseo_content_wrapper h1.wpseo-redirect-url-title{font-size:1.3em;margin:1em 0 .5em}table.yoast_help{border-collapse:collapse;width:100%}table.yoast_help,table.yoast_help td,table.yoast_help th{border:1px solid #ddd;color:#444}table.yoast_help td,table.yoast_help th{padding:5px 10px;text-align:right;vertical-align:top}table.yoast_help tr{background-color:#f1f1f1}table.yoast_help tr:nth-child(2n){background-color:#fbfbfe}table.yoast_help tr:hover{background-color:#ddd}table.yoast_help thead tr,table.yoast_help thead tr:hover{background-color:#fff}table.yoast_help .yoast-variable-name{font-weight:600;white-space:nowrap}table.yoast_help .yoast-variable-desc{min-width:300px}.yoast-notice-blocking-files code{color:#000;line-height:2}.yoast-notice-blocking-files .button{margin:.5em 0}.wpseo_content_wrapper .yoast-blocking-files-error p{max-width:none}.wpseotab{display:none}.wpseotab.active{display:block}.wpseotab p.expl{margin-right:6px}.wpseotab .tab-block{display:block;margin:30px 0}.wpseotab p.expl strong{font-size:115%}#wpseo-debug-info{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px #0000000a;clear:both;margin:20px 0 0;padding:20px 20px 0}#wpseo-debug-info h2{cursor:auto;margin:0}#wpseo-debug-info .wpseo-debug-heading{font-size:1em}#wpseo-debug-info .wpseo-debug{color:#c00;display:inline-block;padding-right:20px}input.wpseo-new-title,textarea.wpseo-new-metadesc{max-width:100%;width:100%}body.toplevel_page_wpseo_dashboard .wp-badge{background:#0000 url(../../packages/js/images/Yoast_SEO_Icon.svg) no-repeat 50% 10px;background-size:140px 140px;box-shadow:none}#wpseo_progressbar{border:1px solid #006691;height:25px}#wpseo_progressbar .ui-progressbar-value{background:#006691;height:25px}.wpseo-progressbar-wrapper{display:inline;width:100%}.wpseo-progressbar{border:1px solid #006691;display:block;height:25px;width:100%}.wpseo-progressbar .ui-progressbar-value{background:#006691;height:25px}.yoast-sidebar__title{border-bottom:1px solid #a4286a;box-sizing:border-box;color:#a4286a;line-height:19px;margin:5px 0;padding:10px 0;text-align:right;width:100%}.yoast-sidebar__product{background:#a61e69;border-radius:8px;color:#fff;margin-top:34px;padding:24px}.yoast-sidebar__product h2{color:#fff;font-size:22px;font-weight:700}.yoast-get-premium-title{line-height:27px;margin-bottom:12px;margin-top:0}.yoast-get-premium-title span{white-space:nowrap}.yoast-sidebar__product .product-image{margin:-50px auto 16px;max-height:75px;max-width:75px;position:relative;z-index:2}.yoast-sidebar__product .product-image img{border:1px solid #fff;border-radius:12px 12px 12px 0;overflow:hidden}.yoast-sidebar__product p{font-size:1rem;margin-bottom:12px;margin-top:0}.yoast-sidebar__product .yoast-price-micro-copy{font-size:12px;font-weight:300;line-height:20px;margin-bottom:16px;text-align:center}.yoast-sidebar__product .yoast-upsell-hr{border-color:#cd82ab;border-top:1px;margin-bottom:16px}.yoast-sidebar__product .plugin-buy-button .yoast-button-upsell{width:100%}.yoast-sidebar__product .review-container{margin-top:16px}.yoast-sidebar__product .review-container a{color:#fff;text-decoration:none}.yoast-sidebar__product .review-container a .claim{color:#fff;display:block;margin-bottom:12px}.yoast-sidebar__product .review-container .title{color:#fff;font-weight:500;margin-bottom:8px}.yoast-sidebar__product .review-container .title:hover{text-decoration:underline}.yoast-sidebar__product .review-container .rating{display:flex;gap:5px}.yoast-sidebar__product .review-container .rating img{max-height:22px;max-width:22px}.yoast-sidebar__product .review-container .rating .rating-text{font-size:16px;font-weight:600}.yoast-sidebar__product .sidebar__sale_banner_container{margin-right:-24px;margin-top:-40px;overflow-x:hidden;overflow-y:initial;width:calc(100% + 48px)}.yoast-sidebar__product .sidebar__sale_banner_container .sidebar__sale_banner{background:#000;box-shadow:0 -1px 4px 0 #fcd34d,0 1px 4px 0 #fcd34d,0 -1px 0 0 #fcd34d,0 1px 0 0 #fcd34d;color:#fcd34d;font-size:20px;font-weight:500;letter-spacing:.5px;line-height:30px;margin-bottom:20px;margin-right:-30px;margin-top:20px;padding:7px 0;text-align:center;transform:rotate(5deg);width:calc(100% + 60px);z-index:1}.yoast-sidebar__product .sidebar__sale_banner_container .sidebar__sale_banner .banner_text{display:inline-block;margin:0 40px}.yoast-sidebar__product .sidebar__sale_text{border-top:1px solid #fff;font-style:italic;text-align:center}.yoast-sidebar__product .sidebar__sale_text p{font-size:12.5px;margin:12.5px 0}.yoast-sidebar__section{background-color:#fff;border:1px solid #dcdcdc;box-shadow:0 1px 6px 0 #0000004d;margin:10px 0 20px;padding:16px}.yoast-sidebar__section h2{color:#a4286a;margin-top:0}.yoast-sidebar__section a{color:#0085ba}.yoast-sidebar__section ul{position:relative}.yoast-sidebar__section li{list-style:none;margin-right:20px}.yoast-sidebar__section li:before{content:"+";font-weight:700;right:0;position:absolute}.yoast-sidebar__section div{margin:10px 0 20px;position:relative}.yoast-sidebar__section div img{float:left;height:70px;margin:0 10px 0 0;width:70px}.yoast-sidebar__section div img.alignleft{float:right;margin:0 0 0 10px}.yoast-sidebar__section div p{float:right;margin:0;width:100%}.yoast_premium_upsell{background-color:#fff;border:1px solid #dcdcdc;box-shadow:0 1px 6px 0 #0000004d;margin-top:2em;max-width:715px;overflow:hidden}.yoast_premium_upsell--container{padding:16px}.black-friday-container{background-color:#1f2937;border-bottom:2px solid #fcd34d;display:flex;padding:8px 16px}.black-friday-container span{color:#fcd34d;font-size:1.2rem;font-weight:600}.yoast_premium_upsell--header{color:#a4286a;font-size:1.7em;font-weight:700;margin-top:.3em}.yoast_premium_upsell--motivation{display:flex;flex-wrap:wrap}.yoast_premium_upsell--motivation li{flex:0 0 50%;list-style:none}.yoast_premium_upsell--argument{padding:0 20px 0 8px}.yoast_premium_upsell--argument:before{content:"+";font-weight:700;right:-16px;margin-left:-10px;position:relative;top:-1px}@media screen and (max-width:480px){.yoast_premium_upsell--motivation{display:block}}.yoast-variable-desc{min-width:300px}.yoast-table-scrollable,.yoast-table-scrollable td,.yoast-table-scrollable th{box-sizing:border-box}.yoast-table-scrollable__container.yoast-has-scroll{overflow:hidden;position:relative}.yoast-table-scrollable__container.yoast-has-scroll:after{border-radius:0 10px 10px 0/0 50% 50% 0;box-shadow:5px 0 10px #00000040;content:"";height:calc(100% - 16px);right:100%;position:absolute;top:0;width:50px}.yoast-table-scrollable__container.yoast-has-scroll .yoast-table-scrollable__inner{overflow-x:scroll;padding-bottom:16px}.yoast-table-scrollable__hintwrapper{display:none}.yoast-table-scrollable__hintwrapper.yoast-has-scroll{display:block;margin:1em 0;text-align:center}.yoast-has-scroll .yoast-table-scrollable__hint{display:inline-block}.yoast-has-scroll .yoast-table-scrollable__hint:before{content:"\21c4";display:inline-block;font-size:20px;line-height:inherit;margin-left:10px;vertical-align:text-top}.yoast-styled-select{align-items:center;display:inline-flex;margin-bottom:1em;position:relative}.yoast-styled-select:after,.yoast-styled-select:before{bottom:0;content:"";pointer-events:none;position:absolute;top:0}.yoast-styled-select:before{left:0;width:28px}.yoast-styled-select:after{border-top:4px solid #0000;border-color:#555 #0000 #0000;border-style:solid;border-width:5px 4px 0;height:0;margin:auto;left:6px;width:0;z-index:1}.yoast-styled-select select{-webkit-appearance:none;appearance:none;background:#0000;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;color:#32373c;height:28px;line-height:1;margin:0;max-width:100%;padding:4px 8px 4px 32px}.yoast-styled-select select.error{border-color:#dc3232;border-width:2px}.wpseo_content_wrapper .yoast-styled-select select.select{margin:0}.yoast-styled-select select:focus{border-color:#5b9dd9}.yoast-styled-select select:-moz-focusring{color:#0000;text-shadow:0 0 0 #32373c}.yoast-styled-select select[disabled]{opacity:.75}.yoast-styled-select select::-ms-expand{display:none}@media screen and (max-width:1024px){.wpseo_content_cell,.wpseo_content_wrapper{display:block;height:auto}#wpseo_content_top{width:auto}#sidebar-container{display:flex;gap:.7rem;padding:0;width:auto}.yoast-sidebar__product .sidebar__sale_banner_container{overflow-y:hidden}#sidebar-container .yoast-sidebar__section{margin-top:5rem}.yoast-sidebar__product-list{border-bottom:1px solid #ddd;display:flex}.yoast-sidebar__product-list div p{word-wrap:break-word;width:calc(100% - 50px)}.yoast-sidebar__product-list .yoast-sidebar__section{border-bottom:none}.yoast-sidebar__product-list .yoast-sidebar__section:first-child{margin-left:40px}}@media screen and (max-width:782px){.wpseo_content_wrapper label.select,.wpseo_content_wrapper label.textinput{display:inline-block;float:none;width:auto}.wpseo_content_wrapper input.textinput,.wpseo_content_wrapper textarea,.wpseo_content_wrapper textarea.textinput{display:block;width:100%}.wpseo_content_wrapper .select2-container,.wpseo_content_wrapper select,.wpseo_content_wrapper select.select{display:block;margin:0 0 5px;max-width:100%}.wpseo_content_wrapper div.desc.label,.wpseo_content_wrapper p.desc.label{padding-right:0}.wpseo_content_wrapper .textinput[aria-invalid=true][aria-describedby]+br{display:none}.wpseo_content_wrapper .yoast-input-validation__error-description{padding-right:0;width:auto}}@media screen and (max-width:600px){.yoast-sidebar__product-list{border-bottom:none;display:block}.yoast-sidebar__product-list .yoast-sidebar__section{border-bottom:1px solid #ddd}.yoast-sidebar__product-list .yoast-sidebar__section p{word-wrap:break-word;padding-right:50px;width:calc(100% - 50px)}}@media screen and (max-width:500px){.yoast-sidebar__product .sidebar__sale_banner_container .sidebar__sale_banner{transform:rotate(4deg)}#sidebar-container{display:block}#sidebar-container .yoast-sidebar__section{margin-top:20px}body.toplevel_page_wpseo_dashboard .wp-badge{background-color:#a4286a;background-size:100px 100px;box-shadow:0 1px 3px #0003;padding-top:80px}}.wpseo-checkmark-ok-icon{background:var(--yoast-svg-icon-check-ok) no-repeat;background-size:18px;float:right;height:18px;margin-left:5px;vertical-align:top;width:18px}.yoast-settings-section:not(:last-child){margin-bottom:40px}.yoast-settings-section .yoast-field-group__title .yoast_help.yoast-help-link{margin:-6px 2px 0 0}#yoast-og-default-image-select .yoast-field-group__title{display:none}.yoast-settings-section.yoast-settings-section-disabled{border:1px solid #ccc;padding:16px;position:relative}.yoast-settings-section.yoast-settings-section-disabled>*{opacity:.5}.yoast-settings-section.yoast-settings-section-disabled .yoast-settings-section-upsell{align-items:center;bottom:0;display:flex;justify-content:center;right:0;opacity:1;position:absolute;left:0;top:0}@keyframes yoast-spin{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2340.css new file mode 100644 index 00000000..75d3bd5d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2340.css @@ -0,0 +1 @@ +:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662Z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='m491 1536 91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192 416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.wpseo_content_wrapper{display:table;table-layout:fixed;width:100%}.wpseo_content_cell{display:table-cell;height:500px;margin:0;padding:0;vertical-align:top}#wpseo_content_top{width:100%}tr.yst_row{margin:5px 0 0;padding:5px 0 0}#sidebar-container{padding-left:20px;width:300px}tr.yst_row.even{background-color:#f6f6f6}.wpseo_content_wrapper label.select,.wpseo_content_wrapper label.textinput{word-wrap:break-word;float:left;margin:5px 0;width:200px}.wpseo_content_wrapper label.select.error,.wpseo_content_wrapper label.textinput.error{color:#dc3232;font-weight:700}.wpseo_content_wrapper .yoast-inline-label{display:inline-block;float:none;margin:0 0 8px}.wpseo_content_wrapper input.textinput,.wpseo_content_wrapper select,.wpseo_content_wrapper textarea{width:400px}.wpseo_content_wrapper input.number{width:100px}.wpseo_content_wrapper input.large-text,.wpseo_content_wrapper textarea.large-text{width:99%}.wpseo_content_wrapper .select2-container,.wpseo_content_wrapper input.textinput,.wpseo_content_wrapper select.select,.wpseo_content_wrapper textarea.textinput{margin:0 0 15px}.wpseo_content_wrapper input.textinput[aria-invalid=true]{background:#f9dcdc url(../../images/error-icon.svg) no-repeat calc(100% - 6px);background-size:12px;border:1px solid #dc3232;color:#000;padding-right:24px}.wpseo_content_wrapper input.textinput[aria-invalid=true][aria-describedby]{margin-bottom:.5rem}.wpseo_content_wrapper .yoast-input-validation__error-description{color:#8f1919;margin:0 0 1rem;padding-left:200px;width:400px}.wpseo_content_wrapper input.checkbox,.wpseo_content_wrapper input.checkbox.double,.wpseo_content_wrapper input.radio{margin:6px 10px 6px 0}.wpseo_content_wrapper .textinput.metadesc{height:50px}.wpseo_content_wrapper textarea.import{height:100px;width:500px}.wpseo_content_wrapper p.desc{margin:6px 0 10px;padding:0 0 8px 25px}.wpseo_content_wrapper div.desc.label,.wpseo_content_wrapper p.desc.label{margin:0 0 20px;padding:0 0 10px 200px}.wpseo_content_wrapper h4{clear:both;margin:1.2em 0 .5em}.wpseo_content_wrapper .postbox{margin:10px 10px 0 0}.wpseo_content_wrapper .postbox form{line-height:150%}.wpseo_content_wrapper .text{width:250px}.wpseo_content_wrapper .correct{background-color:green;color:#fff;padding:5px}.wpseo_content_wrapper .wrong{background-color:#dc3232;color:#fff;padding:5px}.wpseo_content_wrapper .wrong code{color:#000;padding:3px 8px}.wpseo_content_wrapper .button.fixit{float:right;margin:0 5px}.wpseo_content_wrapper .button.checkit{float:right;margin:0 5px;padding:5px 8px}.wpseo_content_wrapper .disabled-note{color:#888;margin:0 0 8px}.wpseo_content_wrapper #separator{margin:1em 0 0}.wpseo_content_wrapper #separator input.radio{height:1px;left:-9999em;position:absolute;width:1px}.wpseo_content_wrapper #separator input.radio+label{border:1px solid #ccc;cursor:pointer;float:left;font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;line-height:24px;margin:.5em 5px 0 0!important;padding:9px 6px;text-align:center;width:30px!important}.wpseo_content_wrapper #separator input.radio:checked+label{background-color:#fff;border:3px solid #a4286a;padding:7px 4px}.wpseo_content_wrapper #separator input.radio:focus+label{outline:2px solid #5b9dd9}.wpseo_content_wrapper .svg-container{text-align:center}.wpseo_content_wrapper .svg-container .dashicons{font-size:100px;height:100px;width:200px}.wpseo_content_wrapper .paper.tab-block button.toggleable-container-trigger{font-size:1.0625rem;padding:16px;width:100%}.wpseo_content_wrapper .paper.tab-block button.toggleable-container-trigger:focus{box-shadow:0 0 3px #084a67cc;outline:1px solid #0066cd;outline-offset:-1px}.wpseo_content_wrapper .paper.tab-block button.toggleable-container-trigger:active{box-shadow:none}.wpseo_content_wrapper .paper.tab-block h2.collapsible-header{margin:0!important;padding:0!important}.wpseo_content_wrapper .paper.tab-block.metabox button.toggleable-container-trigger{color:#555}.wpseo_content_wrapper .paper.tab-block.metabox.wpseotab{border:0;padding:0}.wpseo_content_wrapper .paper.tab-block .paper-container{padding:16px}.wpseo_content_wrapper .paper.tab-block.has-paper-container-no-top-padding .paper-container{padding-top:0}.wpseo_content_wrapper .paper.tab-block .paper-container:first-child{margin-top:0}.wpseo_content_wrapper .paper.tab-block .paper-title{padding:16px}.wpseo_content_wrapper .paper.tab-block .paper-title h2{margin:0}.wpseo_content_wrapper .paper.tab-block .tab-block:first-child{margin-top:0}.wpseo_content_wrapper .wpseo-collapsible-container{background-color:#fff;border-bottom:1px solid #e2e4e7;border-top:1px solid #e2e4e7;margin-top:-1px}.wpseo_content_wrapper .toggleable-container-trigger{background:none;border:0;cursor:pointer;padding:0;text-align:left;width:100%}.wpseo_content_wrapper .toggleable-container-icon{float:right;height:20px;position:relative;width:20px}.wpseo_content_wrapper .toggleable-container-trigger .toggleable-container-icon:after{content:"";display:block;left:-4px;padding:14px;position:absolute;top:-4px}.wpseo_content_wrapper .toggleable-container-hidden{display:none}.wpseo_content_wrapper h3{font-size:1.15em;margin:1em 0 .5em}.wpseo_content_wrapper h3.h2{font-size:1.3em}.wpseo_content_wrapper li,.wpseo_content_wrapper p{max-width:600px}.wpseo_content_wrapper .notice p,.yoast .search-box,.yoast-container .container,.yoast-notification p{max-width:none}table.wpseo th{text-align:left}#wpseo-tabs+.notice{margin-top:1.5em}.wpseo-variable-warning-element{border:1px solid #c62d2d!important}.wpseo-variable-warning{clear:both;color:#c62d2d;margin:5px 0 0;padding:5px}.wpseo-variable-warning code{color:#b02828}.wpseo-variable-warning a{color:#c62d2d}.wpseo_content_wrapper h1.wpseo-redirect-url-title{font-size:1.3em;margin:1em 0 .5em}table.yoast_help{border-collapse:collapse;width:100%}table.yoast_help,table.yoast_help td,table.yoast_help th{border:1px solid #ddd;color:#444}table.yoast_help td,table.yoast_help th{padding:5px 10px;text-align:left;vertical-align:top}table.yoast_help tr{background-color:#f1f1f1}table.yoast_help tr:nth-child(2n){background-color:#fbfbfe}table.yoast_help tr:hover{background-color:#ddd}table.yoast_help thead tr,table.yoast_help thead tr:hover{background-color:#fff}table.yoast_help .yoast-variable-name{font-weight:600;white-space:nowrap}table.yoast_help .yoast-variable-desc{min-width:300px}.yoast-notice-blocking-files code{color:#000;line-height:2}.yoast-notice-blocking-files .button{margin:.5em 0}.wpseo_content_wrapper .yoast-blocking-files-error p{max-width:none}.wpseotab{display:none}.wpseotab.active{display:block}.wpseotab p.expl{margin-left:6px}.wpseotab .tab-block{display:block;margin:30px 0}.wpseotab p.expl strong{font-size:115%}#wpseo-debug-info{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px #0000000a;clear:both;margin:20px 0 0;padding:20px 20px 0}#wpseo-debug-info h2{cursor:auto;margin:0}#wpseo-debug-info .wpseo-debug-heading{font-size:1em}#wpseo-debug-info .wpseo-debug{color:#c00;display:inline-block;padding-left:20px}input.wpseo-new-title,textarea.wpseo-new-metadesc{max-width:100%;width:100%}body.toplevel_page_wpseo_dashboard .wp-badge{background:#0000 url(../../packages/js/images/Yoast_SEO_Icon.svg) no-repeat 50% 10px;background-size:140px 140px;box-shadow:none}#wpseo_progressbar{border:1px solid #006691;height:25px}#wpseo_progressbar .ui-progressbar-value{background:#006691;height:25px}.wpseo-progressbar-wrapper{display:inline;width:100%}.wpseo-progressbar{border:1px solid #006691;display:block;height:25px;width:100%}.wpseo-progressbar .ui-progressbar-value{background:#006691;height:25px}.yoast-sidebar__title{border-bottom:1px solid #a4286a;box-sizing:border-box;color:#a4286a;line-height:19px;margin:5px 0;padding:10px 0;text-align:left;width:100%}.yoast-sidebar__product{background:#a61e69;border-radius:8px;color:#fff;margin-top:34px;padding:24px}.yoast-sidebar__product h2{color:#fff;font-size:22px;font-weight:700}.yoast-get-premium-title{line-height:27px;margin-bottom:12px;margin-top:0}.yoast-get-premium-title span{white-space:nowrap}.yoast-sidebar__product .product-image{margin:-50px auto 16px;max-height:75px;max-width:75px;position:relative;z-index:2}.yoast-sidebar__product .product-image img{border:1px solid #fff;border-radius:12px 12px 0 12px;overflow:hidden}.yoast-sidebar__product p{font-size:1rem;margin-bottom:12px;margin-top:0}.yoast-sidebar__product .yoast-price-micro-copy{font-size:12px;font-weight:300;line-height:20px;margin-bottom:16px;text-align:center}.yoast-sidebar__product .yoast-upsell-hr{border-color:#cd82ab;border-top:1px;margin-bottom:16px}.yoast-sidebar__product .plugin-buy-button .yoast-button-upsell{width:100%}.yoast-sidebar__product .review-container{margin-top:16px}.yoast-sidebar__product .review-container a{color:#fff;text-decoration:none}.yoast-sidebar__product .review-container a .claim{color:#fff;display:block;margin-bottom:12px}.yoast-sidebar__product .review-container .title{color:#fff;font-weight:500;margin-bottom:8px}.yoast-sidebar__product .review-container .title:hover{text-decoration:underline}.yoast-sidebar__product .review-container .rating{display:flex;gap:5px}.yoast-sidebar__product .review-container .rating img{max-height:22px;max-width:22px}.yoast-sidebar__product .review-container .rating .rating-text{font-size:16px;font-weight:600}.yoast-sidebar__product .sidebar__sale_banner_container{margin-left:-24px;margin-top:-40px;overflow-x:hidden;overflow-y:initial;width:calc(100% + 48px)}.yoast-sidebar__product .sidebar__sale_banner_container .sidebar__sale_banner{background:#000;box-shadow:0 -1px 4px 0 #fcd34d,0 1px 4px 0 #fcd34d,0 -1px 0 0 #fcd34d,0 1px 0 0 #fcd34d;color:#fcd34d;font-size:20px;font-weight:500;letter-spacing:.5px;line-height:30px;margin-bottom:20px;margin-left:-30px;margin-top:20px;padding:7px 0;text-align:center;transform:rotate(-5deg);width:calc(100% + 60px);z-index:1}.yoast-sidebar__product .sidebar__sale_banner_container .sidebar__sale_banner .banner_text{display:inline-block;margin:0 40px}.yoast-sidebar__product .sidebar__sale_text{border-top:1px solid #fff;font-style:italic;text-align:center}.yoast-sidebar__product .sidebar__sale_text p{font-size:12.5px;margin:12.5px 0}.yoast-sidebar__section{background-color:#fff;border:1px solid #dcdcdc;box-shadow:0 1px 6px 0 #0000004d;margin:10px 0 20px;padding:16px}.yoast-sidebar__section h2{color:#a4286a;margin-top:0}.yoast-sidebar__section a{color:#0085ba}.yoast-sidebar__section ul{position:relative}.yoast-sidebar__section li{list-style:none;margin-left:20px}.yoast-sidebar__section li:before{content:"+";font-weight:700;left:0;position:absolute}.yoast-sidebar__section div{margin:10px 0 20px;position:relative}.yoast-sidebar__section div img{float:right;height:70px;margin:0 0 0 10px;width:70px}.yoast-sidebar__section div img.alignleft{float:left;margin:0 10px 0 0}.yoast-sidebar__section div p{float:left;margin:0;width:100%}.yoast_premium_upsell{background-color:#fff;border:1px solid #dcdcdc;box-shadow:0 1px 6px 0 #0000004d;margin-top:2em;max-width:715px;overflow:hidden}.yoast_premium_upsell--container{padding:16px}.black-friday-container{background-color:#1f2937;border-bottom:2px solid #fcd34d;display:flex;padding:8px 16px}.black-friday-container span{color:#fcd34d;font-size:1.2rem;font-weight:600}.yoast_premium_upsell--header{color:#a4286a;font-size:1.7em;font-weight:700;margin-top:.3em}.yoast_premium_upsell--motivation{display:flex;flex-wrap:wrap}.yoast_premium_upsell--motivation li{flex:0 0 50%;list-style:none}.yoast_premium_upsell--argument{padding:0 8px 0 20px}.yoast_premium_upsell--argument:before{content:"+";font-weight:700;left:-16px;margin-right:-10px;position:relative;top:-1px}@media screen and (max-width:480px){.yoast_premium_upsell--motivation{display:block}}.yoast-variable-desc{min-width:300px}.yoast-table-scrollable,.yoast-table-scrollable td,.yoast-table-scrollable th{box-sizing:border-box}.yoast-table-scrollable__container.yoast-has-scroll{overflow:hidden;position:relative}.yoast-table-scrollable__container.yoast-has-scroll:after{border-radius:10px 0 0 10px/50% 0 0 50%;box-shadow:-5px 0 10px #00000040;content:"";height:calc(100% - 16px);left:100%;position:absolute;top:0;width:50px}.yoast-table-scrollable__container.yoast-has-scroll .yoast-table-scrollable__inner{overflow-x:scroll;padding-bottom:16px}.yoast-table-scrollable__hintwrapper{display:none}.yoast-table-scrollable__hintwrapper.yoast-has-scroll{display:block;margin:1em 0;text-align:center}.yoast-has-scroll .yoast-table-scrollable__hint{display:inline-block}.yoast-has-scroll .yoast-table-scrollable__hint:before{content:"\21c4";display:inline-block;font-size:20px;line-height:inherit;margin-right:10px;vertical-align:text-top}.yoast-styled-select{align-items:center;display:inline-flex;margin-bottom:1em;position:relative}.yoast-styled-select:after,.yoast-styled-select:before{bottom:0;content:"";pointer-events:none;position:absolute;top:0}.yoast-styled-select:before{right:0;width:28px}.yoast-styled-select:after{border-top:4px solid #0000;border-color:#555 #0000 #0000;border-style:solid;border-width:5px 4px 0;height:0;margin:auto;right:6px;width:0;z-index:1}.yoast-styled-select select{-webkit-appearance:none;appearance:none;background:#0000;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;color:#32373c;height:28px;line-height:1;margin:0;max-width:100%;padding:4px 32px 4px 8px}.yoast-styled-select select.error{border-color:#dc3232;border-width:2px}.wpseo_content_wrapper .yoast-styled-select select.select{margin:0}.yoast-styled-select select:focus{border-color:#5b9dd9}.yoast-styled-select select:-moz-focusring{color:#0000;text-shadow:0 0 0 #32373c}.yoast-styled-select select[disabled]{opacity:.75}.yoast-styled-select select::-ms-expand{display:none}@media screen and (max-width:1024px){.wpseo_content_cell,.wpseo_content_wrapper{display:block;height:auto}#wpseo_content_top{width:auto}#sidebar-container{display:flex;gap:.7rem;padding:0;width:auto}.yoast-sidebar__product .sidebar__sale_banner_container{overflow-y:hidden}#sidebar-container .yoast-sidebar__section{margin-top:5rem}.yoast-sidebar__product-list{border-bottom:1px solid #ddd;display:flex}.yoast-sidebar__product-list div p{word-wrap:break-word;width:calc(100% - 50px)}.yoast-sidebar__product-list .yoast-sidebar__section{border-bottom:none}.yoast-sidebar__product-list .yoast-sidebar__section:first-child{margin-right:40px}}@media screen and (max-width:782px){.wpseo_content_wrapper label.select,.wpseo_content_wrapper label.textinput{display:inline-block;float:none;width:auto}.wpseo_content_wrapper input.textinput,.wpseo_content_wrapper textarea,.wpseo_content_wrapper textarea.textinput{display:block;width:100%}.wpseo_content_wrapper .select2-container,.wpseo_content_wrapper select,.wpseo_content_wrapper select.select{display:block;margin:0 0 5px;max-width:100%}.wpseo_content_wrapper div.desc.label,.wpseo_content_wrapper p.desc.label{padding-left:0}.wpseo_content_wrapper .textinput[aria-invalid=true][aria-describedby]+br{display:none}.wpseo_content_wrapper .yoast-input-validation__error-description{padding-left:0;width:auto}}@media screen and (max-width:600px){.yoast-sidebar__product-list{border-bottom:none;display:block}.yoast-sidebar__product-list .yoast-sidebar__section{border-bottom:1px solid #ddd}.yoast-sidebar__product-list .yoast-sidebar__section p{word-wrap:break-word;padding-left:50px;width:calc(100% - 50px)}}@media screen and (max-width:500px){.yoast-sidebar__product .sidebar__sale_banner_container .sidebar__sale_banner{transform:rotate(-4deg)}#sidebar-container{display:block}#sidebar-container .yoast-sidebar__section{margin-top:20px}body.toplevel_page_wpseo_dashboard .wp-badge{background-color:#a4286a;background-size:100px 100px;box-shadow:0 1px 3px #0003;padding-top:80px}}.wpseo-checkmark-ok-icon{background:var(--yoast-svg-icon-check-ok) no-repeat;background-size:18px;float:left;height:18px;margin-right:5px;vertical-align:top;width:18px}.yoast-settings-section:not(:last-child){margin-bottom:40px}.yoast-settings-section .yoast-field-group__title .yoast_help.yoast-help-link{margin:-6px 0 0 2px}#yoast-og-default-image-select .yoast-field-group__title{display:none}.yoast-settings-section.yoast-settings-section-disabled{border:1px solid #ccc;padding:16px;position:relative}.yoast-settings-section.yoast-settings-section-disabled>*{opacity:.5}.yoast-settings-section.yoast-settings-section-disabled .yoast-settings-section-upsell{align-items:center;bottom:0;display:flex;justify-content:center;left:0;opacity:1;position:absolute;right:0;top:0}@keyframes yoast-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2340-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2340-rtl.css new file mode 100644 index 00000000..5b462a4c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2340-rtl.css @@ -0,0 +1 @@ +.wpseo-score-icon{background:#888;border-radius:50%!important;display:inline-block!important;height:12px!important;margin:3px 3px 0 10px;vertical-align:top;width:12px!important}.wpseo-score-icon.good{background-color:#7ad03a}.wpseo-score-icon.ok{background-color:#ee7c1b}.wpseo-score-icon.bad{background-color:#dc3232}.wpseo-score-icon.na{background-color:#888}.wpseo-score-icon.noindex{background-color:#1e8cbe}.wpseo-score-title{font-weight:600}#taxonomy_overall{margin-right:87.5%;position:absolute;top:0} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2340.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2340.css new file mode 100644 index 00000000..53b23fd2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2340.css @@ -0,0 +1 @@ +.wpseo-score-icon{background:#888;border-radius:50%!important;display:inline-block!important;height:12px!important;margin:3px 10px 0 3px;vertical-align:top;width:12px!important}.wpseo-score-icon.good{background-color:#7ad03a}.wpseo-score-icon.ok{background-color:#ee7c1b}.wpseo-score-icon.bad{background-color:#dc3232}.wpseo-score-icon.na{background-color:#888}.wpseo-score-icon.noindex{background-color:#1e8cbe}.wpseo-score-title{font-weight:600}#taxonomy_overall{margin-left:87.5%;position:absolute;top:0} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl b/wp/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl new file mode 100644 index 00000000..b6e0ad17 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl @@ -0,0 +1,145 @@ + + + + + + + XML Sitemap + + + + +
    +

    XML Sitemap

    +

    + Generated by Yoast SEO, this is an XML Sitemap, meant for consumption by search engines.
    + You can find more information about XML sitemaps on sitemaps.org. +

    + +

    + This XML Sitemap Index file contains sitemaps. +

    + + + + + + + + + + + + + + + + + + +
    SitemapLast Modified
    + + + +
    +
    + +

    + This XML Sitemap contains URLs. +

    + + + + + + + + + + + + + + + + + + + +
    URLImagesLast Mod.
    + + + + + + + + + + +
    +
    +
    + + +
    +
    diff --git a/wp/wp-content/plugins/wordpress-seo/images/Yoast_SEO_negative_icon.svg b/wp/wp-content/plugins/wordpress-seo/images/Yoast_SEO_negative_icon.svg new file mode 100644 index 00000000..ad6a6b3e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/Yoast_SEO_negative_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/ai_for_seo_icon_my_yoast.png b/wp/wp-content/plugins/wordpress-seo/images/academy/ai_for_seo_icon_my_yoast.png new file mode 100644 index 00000000..4e27c6e2 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/ai_for_seo_icon_my_yoast.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/all_around_seo.png b/wp/wp-content/plugins/wordpress-seo/images/academy/all_around_seo.png new file mode 100644 index 00000000..c63aa729 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/all_around_seo.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/block_editor.png b/wp/wp-content/plugins/wordpress-seo/images/academy/block_editor.png new file mode 100644 index 00000000..bb47a94a Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/block_editor.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/copywriting.png b/wp/wp-content/plugins/wordpress-seo/images/academy/copywriting.png new file mode 100644 index 00000000..50812e74 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/copywriting.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/crawlability.png b/wp/wp-content/plugins/wordpress-seo/images/academy/crawlability.png new file mode 100644 index 00000000..ab7c573f Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/crawlability.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/ecommerce.png b/wp/wp-content/plugins/wordpress-seo/images/academy/ecommerce.png new file mode 100644 index 00000000..26af3317 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/ecommerce.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/hosting_and_server.png b/wp/wp-content/plugins/wordpress-seo/images/academy/hosting_and_server.png new file mode 100644 index 00000000..4aabc12f Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/hosting_and_server.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/keyword_research.png b/wp/wp-content/plugins/wordpress-seo/images/academy/keyword_research.png new file mode 100644 index 00000000..75d5d451 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/keyword_research.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/local.png b/wp/wp-content/plugins/wordpress-seo/images/academy/local.png new file mode 100644 index 00000000..6916755f Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/local.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/multilingual.png b/wp/wp-content/plugins/wordpress-seo/images/academy/multilingual.png new file mode 100644 index 00000000..cc30e09e Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/multilingual.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/seo_for_beginners.png b/wp/wp-content/plugins/wordpress-seo/images/academy/seo_for_beginners.png new file mode 100644 index 00000000..4c932b2f Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/seo_for_beginners.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/seo_for_wp.png b/wp/wp-content/plugins/wordpress-seo/images/academy/seo_for_wp.png new file mode 100644 index 00000000..363417ee Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/seo_for_wp.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/site_structure.png b/wp/wp-content/plugins/wordpress-seo/images/academy/site_structure.png new file mode 100644 index 00000000..ff0b7477 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/site_structure.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/structured_data_for_beginners.png b/wp/wp-content/plugins/wordpress-seo/images/academy/structured_data_for_beginners.png new file mode 100644 index 00000000..100db7fb Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/structured_data_for_beginners.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/understanding_structured_data.png b/wp/wp-content/plugins/wordpress-seo/images/academy/understanding_structured_data.png new file mode 100644 index 00000000..efad745d Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/understanding_structured_data.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/academy/wp_for_beginners.png b/wp/wp-content/plugins/wordpress-seo/images/academy/wp_for_beginners.png new file mode 100644 index 00000000..d677b4dd Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/academy/wp_for_beginners.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/acf-logo.png b/wp/wp-content/plugins/wordpress-seo/images/acf-logo.png new file mode 100644 index 00000000..829a7023 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/acf-logo.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/admin_bar.png b/wp/wp-content/plugins/wordpress-seo/images/admin_bar.png new file mode 100644 index 00000000..54b086ff Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/admin_bar.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/ai-fix-assessments-thumbnail.png b/wp/wp-content/plugins/wordpress-seo/images/ai-fix-assessments-thumbnail.png new file mode 100644 index 00000000..bb7a4ace Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/ai-fix-assessments-thumbnail.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/ai-generator-preview.png b/wp/wp-content/plugins/wordpress-seo/images/ai-generator-preview.png new file mode 100644 index 00000000..73ba3411 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/ai-generator-preview.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/ai-generator.png b/wp/wp-content/plugins/wordpress-seo/images/ai-generator.png new file mode 100644 index 00000000..5578cd37 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/ai-generator.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/alert-error-icon.svg b/wp/wp-content/plugins/wordpress-seo/images/alert-error-icon.svg new file mode 100644 index 00000000..80fa0626 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/alert-error-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/alert-info-icon.svg b/wp/wp-content/plugins/wordpress-seo/images/alert-info-icon.svg new file mode 100644 index 00000000..332d7af5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/alert-info-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/alert-success-icon.svg b/wp/wp-content/plugins/wordpress-seo/images/alert-success-icon.svg new file mode 100644 index 00000000..30519e54 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/alert-success-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/alert-warning-icon.svg b/wp/wp-content/plugins/wordpress-seo/images/alert-warning-icon.svg new file mode 100644 index 00000000..f52df867 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/alert-warning-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/cornerstone_content.png b/wp/wp-content/plugins/wordpress-seo/images/cornerstone_content.png new file mode 100644 index 00000000..8e007575 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/cornerstone_content.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/error-icon.svg b/wp/wp-content/plugins/wordpress-seo/images/error-icon.svg new file mode 100644 index 00000000..43e859de --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/error-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/inclusive_language_analysis.png b/wp/wp-content/plugins/wordpress-seo/images/inclusive_language_analysis.png new file mode 100644 index 00000000..21fc79eb Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/inclusive_language_analysis.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/index.php b/wp/wp-content/plugins/wordpress-seo/images/index.php new file mode 100644 index 00000000..e94d9a42 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/indexnow.png b/wp/wp-content/plugins/wordpress-seo/images/indexnow.png new file mode 100644 index 00000000..e86fb022 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/indexnow.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/insights.png b/wp/wp-content/plugins/wordpress-seo/images/insights.png new file mode 100644 index 00000000..9af1fbf5 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/insights.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/link-in-icon.svg b/wp/wp-content/plugins/wordpress-seo/images/link-in-icon.svg new file mode 100644 index 00000000..c3748559 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/link-in-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/link-out-icon.svg b/wp/wp-content/plugins/wordpress-seo/images/link-out-icon.svg new file mode 100644 index 00000000..202082bc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/link-out-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/link_suggestions.png b/wp/wp-content/plugins/wordpress-seo/images/link_suggestions.png new file mode 100644 index 00000000..0ec692be Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/link_suggestions.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/local_plugin_assistant.svg b/wp/wp-content/plugins/wordpress-seo/images/local_plugin_assistant.svg new file mode 100644 index 00000000..44e32643 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/local_plugin_assistant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_man_1_optim.svg b/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_man_1_optim.svg new file mode 100644 index 00000000..187e6c45 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_man_1_optim.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_woman_1_optim.svg b/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_woman_1_optim.svg new file mode 100644 index 00000000..4d5a2480 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_woman_1_optim.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_woman_2_optim.svg b/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_woman_2_optim.svg new file mode 100644 index 00000000..801c69a0 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/mirrored_fit_bubble_woman_2_optim.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/new-to-configuration-notice.svg b/wp/wp-content/plugins/wordpress-seo/images/new-to-configuration-notice.svg new file mode 100644 index 00000000..2343c570 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/new-to-configuration-notice.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/news_plugin_assistant.svg b/wp/wp-content/plugins/wordpress-seo/images/news_plugin_assistant.svg new file mode 100644 index 00000000..f178f9c2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/news_plugin_assistant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/open_graph.png b/wp/wp-content/plugins/wordpress-seo/images/open_graph.png new file mode 100644 index 00000000..cb53dc2b Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/open_graph.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/plugin_subscription.svg b/wp/wp-content/plugins/wordpress-seo/images/plugin_subscription.svg new file mode 100644 index 00000000..a3c077b6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/plugin_subscription.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/question-mark.png b/wp/wp-content/plugins/wordpress-seo/images/question-mark.png new file mode 100644 index 00000000..f8472201 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/question-mark.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/readability-icon.svg b/wp/wp-content/plugins/wordpress-seo/images/readability-icon.svg new file mode 100644 index 00000000..439f52f8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/readability-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/readability_analysis.png b/wp/wp-content/plugins/wordpress-seo/images/readability_analysis.png new file mode 100644 index 00000000..d1f4626b Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/readability_analysis.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/rest_api.png b/wp/wp-content/plugins/wordpress-seo/images/rest_api.png new file mode 100644 index 00000000..6138a8e7 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/rest_api.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/seo_analysis.png b/wp/wp-content/plugins/wordpress-seo/images/seo_analysis.png new file mode 100644 index 00000000..dc7c9e70 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/seo_analysis.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/slack_sharing.png b/wp/wp-content/plugins/wordpress-seo/images/slack_sharing.png new file mode 100644 index 00000000..44dceebe Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/slack_sharing.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/stale-cornerstone-content-in-yoast-seo.png b/wp/wp-content/plugins/wordpress-seo/images/stale-cornerstone-content-in-yoast-seo.png new file mode 100644 index 00000000..581509a3 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/stale-cornerstone-content-in-yoast-seo.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/succes_marieke_bubble_optm.svg b/wp/wp-content/plugins/wordpress-seo/images/succes_marieke_bubble_optm.svg new file mode 100644 index 00000000..cfb36829 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/succes_marieke_bubble_optm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/support-team.svg b/wp/wp-content/plugins/wordpress-seo/images/support-team.svg new file mode 100644 index 00000000..27e2678d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/support-team.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/support/github.png b/wp/wp-content/plugins/wordpress-seo/images/support/github.png new file mode 100644 index 00000000..fc38adf8 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/support/github.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/support/help_center.png b/wp/wp-content/plugins/wordpress-seo/images/support/help_center.png new file mode 100644 index 00000000..43429ade Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/support/help_center.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/support/support_forums.png b/wp/wp-content/plugins/wordpress-seo/images/support/support_forums.png new file mode 100644 index 00000000..b4fd6afa Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/support/support_forums.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/text_link_counter.png b/wp/wp-content/plugins/wordpress-seo/images/text_link_counter.png new file mode 100644 index 00000000..29fd788c Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/text_link_counter.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/twitter_card.png b/wp/wp-content/plugins/wordpress-seo/images/twitter_card.png new file mode 100644 index 00000000..fbd617f3 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/twitter_card.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/images/video_plugin_assistant.svg b/wp/wp-content/plugins/wordpress-seo/images/video_plugin_assistant.svg new file mode 100644 index 00000000..403d0fd9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/video_plugin_assistant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/woo_plugin_assistant.svg b/wp/wp-content/plugins/wordpress-seo/images/woo_plugin_assistant.svg new file mode 100644 index 00000000..7d00c056 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/images/woo_plugin_assistant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/images/xml_sitemaps.png b/wp/wp-content/plugins/wordpress-seo/images/xml_sitemaps.png new file mode 100644 index 00000000..73ad8e02 Binary files /dev/null and b/wp/wp-content/plugins/wordpress-seo/images/xml_sitemaps.png differ diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-addon-manager.php b/wp/wp-content/plugins/wordpress-seo/inc/class-addon-manager.php new file mode 100644 index 00000000..aa73685a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-addon-manager.php @@ -0,0 +1,878 @@ + self::PREMIUM_SLUG, + 'wpseo-news.php' => self::NEWS_SLUG, + 'video-seo.php' => self::VIDEO_SLUG, + 'wpseo-woocommerce.php' => self::WOOCOMMERCE_SLUG, + 'local-seo.php' => self::LOCAL_SLUG, + ]; + + /** + * The addon data for the shortlinks. + * + * @var array + */ + private $addon_details = [ + self::PREMIUM_SLUG => [ + 'name' => 'Yoast SEO Premium', + 'short_link_activation' => 'https://yoa.st/13j', + 'short_link_renewal' => 'https://yoa.st/4ey', + ], + self::NEWS_SLUG => [ + 'name' => 'Yoast News SEO', + 'short_link_activation' => 'https://yoa.st/4xq', + 'short_link_renewal' => 'https://yoa.st/4xv', + ], + self::WOOCOMMERCE_SLUG => [ + 'name' => 'Yoast WooCommerce SEO', + 'short_link_activation' => 'https://yoa.st/4xs', + 'short_link_renewal' => 'https://yoa.st/4xx', + ], + self::VIDEO_SLUG => [ + 'name' => 'Yoast Video SEO', + 'short_link_activation' => 'https://yoa.st/4xr', + 'short_link_renewal' => 'https://yoa.st/4xw', + ], + self::LOCAL_SLUG => [ + 'name' => 'Yoast Local SEO', + 'short_link_activation' => 'https://yoa.st/4xp', + 'short_link_renewal' => 'https://yoa.st/4xu', + ], + ]; + + /** + * Holds the site information data. + * + * @var stdClass + */ + private $site_information; + + /** + * Hooks into WordPress. + * + * @codeCoverageIgnore + * + * @return void + */ + public function register_hooks() { + add_action( 'admin_init', [ $this, 'validate_addons' ], 15 ); + add_filter( 'pre_set_site_transient_update_plugins', [ $this, 'check_for_updates' ] ); + add_filter( 'plugins_api', [ $this, 'get_plugin_information' ], 10, 3 ); + add_action( 'plugins_loaded', [ $this, 'register_expired_messages' ], 10 ); + } + + /** + * Registers "expired subscription" warnings to the update messages of our addons. + * + * @return void + */ + public function register_expired_messages() { + foreach ( array_keys( $this->get_installed_addons() ) as $plugin_file ) { + add_action( 'in_plugin_update_message-' . $plugin_file, [ $this, 'expired_subscription_warning' ], 10, 2 ); + } + } + + /** + * Gets the subscriptions for current site. + * + * @return stdClass The subscriptions. + */ + public function get_subscriptions() { + return $this->get_site_information()->subscriptions; + } + + /** + * Provides a list of addon filenames. + * + * @return string[] List of addon filenames with their slugs. + */ + public function get_addon_filenames() { + return self::$addons; + } + + /** + * Finds the plugin file. + * + * @param string $plugin_slug The plugin slug to search. + * + * @return bool|string Plugin file when installed, False when plugin isn't installed. + */ + public function get_plugin_file( $plugin_slug ) { + $plugins = $this->get_plugins(); + $plugin_files = array_keys( $plugins ); + $target_plugin_file = array_search( $plugin_slug, $this->get_addon_filenames(), true ); + + if ( ! $target_plugin_file ) { + return false; + } + + foreach ( $plugin_files as $plugin_file ) { + if ( strpos( $plugin_file, $target_plugin_file ) !== false ) { + return $plugin_file; + } + } + + return false; + } + + /** + * Retrieves the subscription for the given slug. + * + * @param string $slug The plugin slug to retrieve. + * + * @return stdClass|false Subscription data when found, false when not found. + */ + public function get_subscription( $slug ) { + foreach ( $this->get_subscriptions() as $subscription ) { + if ( $subscription->product->slug === $slug ) { + return $subscription; + } + } + + return false; + } + + /** + * Retrieves a list of (subscription) slugs by the active addons. + * + * @return array The slugs. + */ + public function get_subscriptions_for_active_addons() { + $active_addons = array_keys( $this->get_active_addons() ); + $subscription_slugs = array_map( [ $this, 'get_slug_by_plugin_file' ], $active_addons ); + $subscriptions = []; + foreach ( $subscription_slugs as $subscription_slug ) { + $subscriptions[ $subscription_slug ] = $this->get_subscription( $subscription_slug ); + } + + return $subscriptions; + } + + /** + * Retrieves a list of versions for each addon. + * + * @return array The addon versions. + */ + public function get_installed_addons_versions() { + $addon_versions = []; + foreach ( $this->get_installed_addons() as $plugin_file => $installed_addon ) { + $addon_versions[ $this->get_slug_by_plugin_file( $plugin_file ) ] = $installed_addon['Version']; + } + + return $addon_versions; + } + + /** + * Retrieves the plugin information from the subscriptions. + * + * @param stdClass|false $data The result object. Default false. + * @param string $action The type of information being requested from the Plugin Installation API. + * @param stdClass $args Plugin API arguments. + * + * @return object Extended plugin data. + */ + public function get_plugin_information( $data, $action, $args ) { + if ( $action !== 'plugin_information' ) { + return $data; + } + + if ( ! isset( $args->slug ) ) { + return $data; + } + + $subscription = $this->get_subscription( $args->slug ); + if ( ! $subscription ) { + return $data; + } + + $data = $this->convert_subscription_to_plugin( $subscription, null, true ); + + if ( $this->has_subscription_expired( $subscription ) ) { + unset( $data->package, $data->download_link ); + } + + return $data; + } + + /** + * Retrieves information from MyYoast about which addons are connected to the current site. + * + * @return stdClass The list of addons activated for this site. + */ + public function get_myyoast_site_information() { + if ( $this->site_information === null ) { + $this->site_information = $this->get_site_information_transient(); + } + + if ( $this->site_information ) { + return $this->site_information; + } + + $this->site_information = $this->request_current_sites(); + if ( $this->site_information ) { + $this->site_information = $this->map_site_information( $this->site_information ); + + $this->set_site_information_transient( $this->site_information ); + + return $this->site_information; + } + + return $this->get_site_information_default(); + } + + /** + * Checks if the subscription for the given slug is valid. + * + * @param string $slug The plugin slug to retrieve. + * + * @return bool True when the subscription is valid. + */ + public function has_valid_subscription( $slug ) { + $subscription = $this->get_subscription( $slug ); + + // An non-existing subscription is never valid. + if ( ! $subscription ) { + return false; + } + + return ! $this->has_subscription_expired( $subscription ); + } + + /** + * Checks if there are addon updates. + * + * @param stdClass|mixed $data The current data for update_plugins. + * + * @return stdClass Extended data for update_plugins. + */ + public function check_for_updates( $data ) { + global $wp_version; + + if ( empty( $data ) ) { + return $data; + } + + // We have to figure out if we're safe to upgrade the add-ons, based on what the latest Yoast Free requirements for the WP version is. + $yoast_free_data = $this->extract_yoast_data( $data ); + + foreach ( $this->get_installed_addons() as $plugin_file => $installed_plugin ) { + $subscription_slug = $this->get_slug_by_plugin_file( $plugin_file ); + $subscription = $this->get_subscription( $subscription_slug ); + + if ( ! $subscription ) { + continue; + } + + $plugin_data = $this->convert_subscription_to_plugin( $subscription, $yoast_free_data, false, $plugin_file ); + + // Let's assume for now that it will get added in the 'no_update' key that we'll return to the WP API. + $is_no_update = true; + + // If the add-on's version is the latest, we have to do no further checks. + if ( version_compare( $installed_plugin['Version'], $plugin_data->new_version, '<' ) ) { + // If we haven't retrieved the Yoast Free requirements for the WP version yet, do nothing. The next run will probably get us that information. + if ( is_null( $plugin_data->requires ) ) { + continue; + } + + if ( version_compare( $plugin_data->requires, $wp_version, '<=' ) ) { + // The add-on has an available update *and* the Yoast Free requirements for the WP version are also met, so go ahead and show the upgrade info to the user. + $is_no_update = false; + $data->response[ $plugin_file ] = $plugin_data; + + if ( $this->has_subscription_expired( $subscription ) ) { + unset( $data->response[ $plugin_file ]->package, $data->response[ $plugin_file ]->download_link ); + } + } + } + + if ( $is_no_update ) { + // Still convert subscription when no updates is available. + $data->no_update[ $plugin_file ] = $plugin_data; + + if ( $this->has_subscription_expired( $subscription ) ) { + unset( $data->no_update[ $plugin_file ]->package, $data->no_update[ $plugin_file ]->download_link ); + } + } + } + + return $data; + } + + /** + * Extracts Yoast SEO Free's data from the wp.org API response. + * + * @param object $data The wp.org API response. + * + * @return object Yoast Free's data from wp.org. + */ + protected function extract_yoast_data( $data ) { + if ( isset( $data->response[ WPSEO_BASENAME ] ) ) { + return $data->response[ WPSEO_BASENAME ]; + } + + if ( isset( $data->no_update[ WPSEO_BASENAME ] ) ) { + return $data->no_update[ WPSEO_BASENAME ]; + } + + return (object) []; + } + + /** + * If the plugin is lacking an active subscription, throw a warning. + * + * @param array $plugin_data The data for the plugin in this row. + * + * @return void + */ + public function expired_subscription_warning( $plugin_data ) { + $subscription = $this->get_subscription( $plugin_data['slug'] ); + if ( $subscription && $this->has_subscription_expired( $subscription ) ) { + $addon_link = ( isset( $this->addon_details[ $plugin_data['slug'] ] ) ) ? $this->addon_details[ $plugin_data['slug'] ]['short_link_renewal'] : $this->addon_details[ self::PREMIUM_SLUG ]['short_link_renewal']; + + $sale_copy = ''; + if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-2023-promotion' ) ) { + $sale_copy = sprintf( + /* translators: %1$s is a
    tag. */ + esc_html__( '%1$s Now with 30%% Black Friday Discount!', 'wordpress-seo' ), + '
    ' + ); + } + echo '

    '; + echo ' ' + . sprintf( + /* translators: %1$s is the plugin name, %2$s and %3$s are a link. */ + esc_html__( '%1$s can\'t be updated because your product subscription is expired. %2$sRenew your product subscription%3$s to get updates again and use all the features of %1$s.', 'wordpress-seo' ), + esc_html( $plugin_data['name'] ), + '', + '' + ) + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output is escaped above. + . $sale_copy + . ''; + } + } + + /** + * Checks if there are any installed addons. + * + * @return bool True when there are installed Yoast addons. + */ + public function has_installed_addons() { + $installed_addons = $this->get_installed_addons(); + + return ! empty( $installed_addons ); + } + + /** + * Checks if the plugin is installed and activated in WordPress. + * + * @param string $slug The class' slug. + * + * @return bool True when installed and activated. + */ + public function is_installed( $slug ) { + $slug_to_class_map = [ + static::PREMIUM_SLUG => 'WPSEO_Premium', + static::NEWS_SLUG => 'WPSEO_News', + static::WOOCOMMERCE_SLUG => 'Yoast_WooCommerce_SEO', + static::VIDEO_SLUG => 'WPSEO_Video_Sitemap', + static::LOCAL_SLUG => 'WPSEO_Local_Core', + ]; + + if ( ! isset( $slug_to_class_map[ $slug ] ) ) { + return false; + } + + return class_exists( $slug_to_class_map[ $slug ] ); + } + + /** + * Validates the addons and show a notice for the ones that are invalid. + * + * @return void + */ + public function validate_addons() { + $notification_center = Yoast_Notification_Center::get(); + + if ( $notification_center === null ) { + return; + } + + foreach ( $this->addon_details as $slug => $addon_info ) { + $notification = $this->create_notification( $addon_info['name'], $addon_info['short_link_activation'] ); + + // Add a notification when the installed plugin isn't activated in My Yoast. + if ( $this->is_installed( $slug ) && ! $this->has_valid_subscription( $slug ) ) { + $notification_center->add_notification( $notification ); + + continue; + } + + $notification_center->remove_notification( $notification ); + } + } + + /** + * Removes the site information transients. + * + * @codeCoverageIgnore + * + * @return void + */ + public function remove_site_information_transients() { + delete_transient( self::SITE_INFORMATION_TRANSIENT ); + delete_transient( self::SITE_INFORMATION_TRANSIENT_QUICK ); + } + + /** + * Creates an instance of Yoast_Notification. + * + * @param string $product_name The product to create the notification for. + * @param string $short_link The short link for the addon notification. + * + * @return Yoast_Notification The created notification. + */ + protected function create_notification( $product_name, $short_link ) { + $notification_options = [ + 'type' => Yoast_Notification::ERROR, + 'id' => 'wpseo-dismiss-' . sanitize_title_with_dashes( $product_name, null, 'save' ), + 'capabilities' => 'wpseo_manage_options', + ]; + + return new Yoast_Notification( + sprintf( + /* translators: %1$s expands to a strong tag, %2$s expands to the product name, %3$s expands to a closing strong tag, %4$s expands to an a tag. %5$s expands to MyYoast, %6$s expands to a closing a tag, %7$s expands to the product name */ + __( '%1$s %2$s isn\'t working as expected %3$s and you are not receiving updates or support! Make sure to %4$s activate your product subscription in %5$s%6$s to unlock all the features of %7$s.', 'wordpress-seo' ), + '', + $product_name, + '', + '', + 'MyYoast', + '', + $product_name + ), + $notification_options + ); + } + + /** + * Checks whether a plugin expiry date has been passed. + * + * @param stdClass $subscription Plugin subscription. + * + * @return bool Has the plugin expired. + */ + protected function has_subscription_expired( $subscription ) { + return ( strtotime( $subscription->expiry_date ) - time() ) < 0; + } + + /** + * Converts a subscription to plugin based format. + * + * @param stdClass $subscription The subscription to convert. + * @param stdClass|null $yoast_free_data The Yoast Free's data. + * @param bool $plugin_info Whether we're in the plugin information modal. + * @param string $plugin_file The plugin filename. + * + * @return stdClass The converted subscription. + */ + protected function convert_subscription_to_plugin( $subscription, $yoast_free_data = null, $plugin_info = false, $plugin_file = '' ) { + $changelog = ''; + if ( isset( $subscription->product->changelog ) ) { + // We need to replace h2's and h3's with h4's because the styling expects that. + $changelog = str_replace( 'product->changelog ) ); + $changelog = str_replace( ' ( $plugin_info ) ? YOAST_SEO_WP_REQUIRED : null, + ]; + + return (object) [ + 'new_version' => ( $subscription->product->version ?? '' ), + 'name' => $subscription->product->name, + 'slug' => $subscription->product->slug, + 'plugin' => $plugin_file, + 'url' => $subscription->product->store_url, + 'last_update' => $subscription->product->last_updated, + 'homepage' => $subscription->product->store_url, + 'download_link' => $subscription->product->download, + 'package' => $subscription->product->download, + 'sections' => [ + 'changelog' => $changelog, + 'support' => $this->get_support_section(), + ], + 'icons' => [ + '2x' => $this->get_icon( $subscription->product->slug ), + ], + 'update_supported' => true, + 'banners' => $this->get_banners( $subscription->product->slug ), + // If we have extracted Yoast Free's data before, use that. If not, resort to the defaults. + 'tested' => YOAST_SEO_WP_TESTED, + 'requires' => ( $yoast_free_data->requires ?? $defaults['requires'] ), + 'requires_php' => YOAST_SEO_PHP_REQUIRED, + ]; + } + + /** + * Returns the plugin's icon URL. + * + * @param string $slug The plugin slug. + * + * @return string The icon URL for this plugin. + */ + protected function get_icon( $slug ) { + switch ( $slug ) { + case self::LOCAL_SLUG: + return 'https://yoa.st/local-seo-icon'; + case self::NEWS_SLUG: + return 'https://yoa.st/news-seo-icon'; + case self::PREMIUM_SLUG: + return 'https://yoa.st/yoast-seo-icon'; + case self::VIDEO_SLUG: + return 'https://yoa.st/video-seo-icon'; + case self::WOOCOMMERCE_SLUG: + return 'https://yoa.st/woo-seo-icon'; + } + } + + /** + * Return an array of plugin banner URLs. + * + * @param string $slug The plugin slug. + * + * @return string[] + */ + protected function get_banners( $slug ) { + switch ( $slug ) { + case self::LOCAL_SLUG: + return [ + 'high' => 'https://yoa.st/yoast-seo-banner-local', + 'low' => 'https://yoa.st/yoast-seo-banner-low-local', + ]; + case self::NEWS_SLUG: + return [ + 'high' => 'https://yoa.st/yoast-seo-banner-news', + 'low' => 'https://yoa.st/yoast-seo-banner-low-news', + ]; + case self::PREMIUM_SLUG: + return [ + 'high' => 'https://yoa.st/yoast-seo-banner-premium', + 'low' => 'https://yoa.st/yoast-seo-banner-low-premium', + ]; + case self::VIDEO_SLUG: + return [ + 'high' => 'https://yoa.st/yoast-seo-banner-video', + 'low' => 'https://yoa.st/yoast-seo-banner-low-video', + ]; + case self::WOOCOMMERCE_SLUG: + return [ + 'high' => 'https://yoa.st/yoast-seo-banner-woo', + 'low' => 'https://yoa.st/yoast-seo-banner-low-woo', + ]; + } + } + + /** + * Checks if the given plugin_file belongs to a Yoast addon. + * + * @param string $plugin_file Path to the plugin. + * + * @return bool True when plugin file is for a Yoast addon. + */ + protected function is_yoast_addon( $plugin_file ) { + return $this->get_slug_by_plugin_file( $plugin_file ) !== ''; + } + + /** + * Retrieves the addon slug by given plugin file path. + * + * @param string $plugin_file The file path to the plugin. + * + * @return string The slug when found or empty string when not. + */ + protected function get_slug_by_plugin_file( $plugin_file ) { + $addons = self::$addons; + + // Yoast SEO Free isn't an addon, but we needed it in Premium to fetch translations. + if ( YoastSEO()->helpers->product->is_premium() ) { + $addons['wp-seo.php'] = self::FREE_SLUG; + } + + foreach ( $addons as $addon => $addon_slug ) { + if ( strpos( $plugin_file, $addon ) !== false ) { + return $addon_slug; + } + } + + return ''; + } + + /** + * Retrieves the installed Yoast addons. + * + * @return array The installed plugins. + */ + protected function get_installed_addons() { + return array_filter( $this->get_plugins(), [ $this, 'is_yoast_addon' ], ARRAY_FILTER_USE_KEY ); + } + + /** + * Retrieves a list of active addons. + * + * @return array The active addons. + */ + protected function get_active_addons() { + return array_filter( $this->get_installed_addons(), [ $this, 'is_plugin_active' ], ARRAY_FILTER_USE_KEY ); + } + + /** + * Retrieves the current sites from the API. + * + * @codeCoverageIgnore + * + * @return bool|stdClass Object when request is successful. False if not. + */ + protected function request_current_sites() { + $api_request = new WPSEO_MyYoast_Api_Request( 'sites/current' ); + if ( $api_request->fire() ) { + return $api_request->get_response(); + } + + return $this->get_site_information_default(); + } + + /** + * Retrieves the transient value with the site information. + * + * @codeCoverageIgnore + * + * @return stdClass|false The transient value. + */ + protected function get_site_information_transient() { + global $pagenow; + + // Force re-check on license & dashboard pages. + $current_page = null; + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information. + if ( isset( $_GET['page'] ) && is_string( $_GET['page'] ) ) { + // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are not processing form information, We are only strictly comparing and thus no need to sanitize. + $current_page = wp_unslash( $_GET['page'] ); + } + + // Check whether the licenses are valid or whether we need to show notifications. + $quick = ( $current_page === 'wpseo_licenses' || $current_page === 'wpseo_dashboard' ); + + // Also do a fresh request on Plugins & Core Update pages. + $quick = $quick || $pagenow === 'plugins.php'; + $quick = $quick || $pagenow === 'update-core.php'; + + if ( $quick ) { + return get_transient( self::SITE_INFORMATION_TRANSIENT_QUICK ); + } + + return get_transient( self::SITE_INFORMATION_TRANSIENT ); + } + + /** + * Sets the site information transient. + * + * @codeCoverageIgnore + * + * @param stdClass $site_information The site information to save. + * + * @return void + */ + protected function set_site_information_transient( $site_information ) { + set_transient( self::SITE_INFORMATION_TRANSIENT, $site_information, DAY_IN_SECONDS ); + set_transient( self::SITE_INFORMATION_TRANSIENT_QUICK, $site_information, 60 ); + } + + /** + * Retrieves all installed WordPress plugins. + * + * @codeCoverageIgnore + * + * @return array The plugins. + */ + protected function get_plugins() { + if ( ! function_exists( 'get_plugins' ) ) { + require_once ABSPATH . 'wp-admin/includes/plugin.php'; + } + + return get_plugins(); + } + + /** + * Checks if the given plugin file belongs to an active plugin. + * + * @codeCoverageIgnore + * + * @param string $plugin_file The file path to the plugin. + * + * @return bool True when plugin is active. + */ + protected function is_plugin_active( $plugin_file ) { + return is_plugin_active( $plugin_file ); + } + + /** + * Returns an object with no subscriptions. + * + * @codeCoverageIgnore + * + * @return stdClass Site information. + */ + protected function get_site_information_default() { + return (object) [ + 'url' => WPSEO_Utils::get_home_url(), + 'subscriptions' => [], + ]; + } + + /** + * Maps the plugin API response. + * + * @param object $site_information Site information as received from the API. + * + * @return stdClass Mapped site information. + */ + protected function map_site_information( $site_information ) { + return (object) [ + 'url' => $site_information->url, + 'subscriptions' => array_map( [ $this, 'map_subscription' ], $site_information->subscriptions ), + ]; + } + + /** + * Maps a plugin subscription. + * + * @param object $subscription Subscription information as received from the API. + * + * @return stdClass Mapped subscription. + */ + protected function map_subscription( $subscription ) { + // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase -- Not our properties. + return (object) [ + 'renewal_url' => $subscription->renewalUrl, + 'expiry_date' => $subscription->expiryDate, + 'product' => (object) [ + 'version' => $subscription->product->version, + 'name' => $subscription->product->name, + 'slug' => $subscription->product->slug, + 'last_updated' => $subscription->product->lastUpdated, + 'store_url' => $subscription->product->storeUrl, + // Ternary operator is necessary because download can be undefined. + 'download' => ( $subscription->product->download ?? null ), + 'changelog' => $subscription->product->changelog, + ], + ]; + // phpcs:enable + } + + /** + * Retrieves the site information. + * + * @return stdClass The site information. + */ + private function get_site_information() { + if ( ! $this->has_installed_addons() ) { + return $this->get_site_information_default(); + } + + return $this->get_myyoast_site_information(); + } + + /** + * Retrieves the contents for the support section. + * + * @return string The support section content. + */ + protected function get_support_section() { + return '

    ' . __( 'Need support?', 'wordpress-seo' ) . '

    ' + . '

    ' + /* translators: 1: expands to that refers to the help page, 2: closing tag. */ + . sprintf( __( 'You can probably find an answer to your question in our %1$shelp center%2$s.', 'wordpress-seo' ), '', '' ) + . ' ' + /* translators: %s expands to a mailto support link. */ + . sprintf( __( 'If you still need support and have an active subscription for this product, please email %s.', 'wordpress-seo' ), 'support@yoast.com' ) + . '

    '; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-my-yoast-api-request.php b/wp/wp-content/plugins/wordpress-seo/inc/class-my-yoast-api-request.php new file mode 100644 index 00000000..48d365c7 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-my-yoast-api-request.php @@ -0,0 +1,207 @@ + 'GET', + 'timeout' => 5, + 'headers' => [ + 'Accept-Encoding' => '*', + 'Expect' => '', + ], + ]; + + /** + * Contains the fetched response. + * + * @var stdClass + */ + protected $response; + + /** + * Contains the error message when request went wrong. + * + * @var string + */ + protected $error_message = ''; + + /** + * Constructor. + * + * @codeCoverageIgnore + * + * @param string $url The request url. + * @param array $args The request arguments. + */ + public function __construct( $url, array $args = [] ) { + $this->url = 'https://my.yoast.com/api/' . $url; + $this->args = wp_parse_args( $args, $this->args ); + } + + /** + * Fires the request. + * + * @return bool True when request is successful. + */ + public function fire() { + try { + $response = $this->do_request( $this->url, $this->args ); + $this->response = $this->decode_response( $response ); + + return true; + } + catch ( WPSEO_MyYoast_Bad_Request_Exception $bad_request_exception ) { + $this->error_message = $bad_request_exception->getMessage(); + + return false; + } + } + + /** + * Retrieves the error message. + * + * @return string The set error message. + */ + public function get_error_message() { + return $this->error_message; + } + + /** + * Retrieves the response. + * + * @return stdClass The response object. + */ + public function get_response() { + return $this->response; + } + + /** + * Performs the request using WordPress internals. + * + * @codeCoverageIgnore + * + * @param string $url The request URL. + * @param array $request_arguments The request arguments. + * + * @return string The retrieved body. + * @throws WPSEO_MyYoast_Bad_Request_Exception When request is invalid. + */ + protected function do_request( $url, $request_arguments ) { + $request_arguments = $this->enrich_request_arguments( $request_arguments ); + $response = wp_remote_request( $url, $request_arguments ); + + if ( is_wp_error( $response ) ) { + throw new WPSEO_MyYoast_Bad_Request_Exception( $response->get_error_message() ); + } + + $response_code = wp_remote_retrieve_response_code( $response ); + $response_message = wp_remote_retrieve_response_message( $response ); + + // Do nothing, response code is okay. + if ( $response_code === 200 || strpos( $response_code, '200' ) !== false ) { + return wp_remote_retrieve_body( $response ); + } + + throw new WPSEO_MyYoast_Bad_Request_Exception( esc_html( $response_message ), (int) $response_code ); + } + + /** + * Decodes the JSON encoded response. + * + * @param string $response The response to decode. + * + * @return stdClass The json decoded response. + * @throws WPSEO_MyYoast_Invalid_JSON_Exception When decoded string is not a JSON object. + */ + protected function decode_response( $response ) { + $response = json_decode( $response ); + + if ( ! is_object( $response ) ) { + throw new WPSEO_MyYoast_Invalid_JSON_Exception( + esc_html__( 'No JSON object was returned.', 'wordpress-seo' ) + ); + } + + return $response; + } + + /** + * Checks if MyYoast tokens are allowed and adds the token to the request body. + * + * When tokens are disallowed it will add the url to the request body. + * + * @param array $request_arguments The arguments to enrich. + * + * @return array The enriched arguments. + */ + protected function enrich_request_arguments( array $request_arguments ) { + $request_arguments = wp_parse_args( $request_arguments, [ 'headers' => [] ] ); + $addon_version_headers = $this->get_installed_addon_versions(); + + foreach ( $addon_version_headers as $addon => $version ) { + $request_arguments['headers'][ $addon . '-version' ] = $version; + } + + $request_body = $this->get_request_body(); + if ( $request_body !== [] ) { + $request_arguments['body'] = $request_body; + } + + return $request_arguments; + } + + /** + * Retrieves the request body based on URL or access token support. + * + * @codeCoverageIgnore + * + * @return array The request body. + */ + public function get_request_body() { + return [ 'url' => WPSEO_Utils::get_home_url() ]; + } + + /** + * Wraps the get current user id function. + * + * @codeCoverageIgnore + * + * @return int The user id. + */ + protected function get_current_user_id() { + return get_current_user_id(); + } + + /** + * Retrieves the installed addons as http headers. + * + * @codeCoverageIgnore + * + * @return array The installed addon versions. + */ + protected function get_installed_addon_versions() { + $addon_manager = new WPSEO_Addon_Manager(); + + return $addon_manager->get_installed_addons_versions(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-post-type.php b/wp/wp-content/plugins/wordpress-seo/inc/class-post-type.php new file mode 100644 index 00000000..54085d58 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-post-type.php @@ -0,0 +1,131 @@ +helpers->post_type->get_accessible_post_types(); + } + + /** + * Returns whether the passed post type is considered accessible. + * + * @param string $post_type The post type to check. + * + * @return bool Whether or not the post type is considered accessible. + */ + public static function is_post_type_accessible( $post_type ) { + return in_array( $post_type, self::get_accessible_post_types(), true ); + } + + /** + * Checks if the request post type is public and indexable. + * + * @param string $post_type_name The name of the post type to lookup. + * + * @return bool True when post type is set to index. + */ + public static function is_post_type_indexable( $post_type_name ) { + return YoastSEO()->helpers->post_type->is_indexable( $post_type_name ); + } + + /** + * Filters the attachment post type from an array with post_types. + * + * @param array $post_types The array to filter the attachment post type from. + * + * @return array The filtered array. + */ + public static function filter_attachment_post_type( array $post_types ) { + unset( $post_types['attachment'] ); + + return $post_types; + } + + /** + * Checks if the post type is enabled in the REST API. + * + * @param string $post_type The post type to check. + * + * @return bool Whether or not the post type is available in the REST API. + */ + public static function is_rest_enabled( $post_type ) { + $post_type_object = get_post_type_object( $post_type ); + + if ( $post_type_object === null ) { + return false; + } + + return $post_type_object->show_in_rest === true; + } + + /** + * Checks if the current post type has an archive. + * + * Context: The has_archive value can be a string or a boolean. In most case it will be a boolean, + * but it can be defined as a string. When it is a string the archive_slug will be overwritten to + * define another endpoint. + * + * @param WP_Post_Type $post_type The post type object. + * + * @return bool True whether the post type has an archive. + */ + public static function has_archive( $post_type ) { + return YoastSEO()->helpers->post_type->has_archive( $post_type ); + } + + /** + * Checks if the Yoast Metabox has been enabled for the post type. + * + * @param string $post_type The post type name. + * + * @return bool True whether the metabox is enabled. + */ + public static function has_metabox_enabled( $post_type ) { + return WPSEO_Options::get( 'display-metabox-pt-' . $post_type, false ); + } + + /* ********************* DEPRECATED METHODS ********************* */ + + /** + * Removes the notification related to the post types which have been made public. + * + * @deprecated 20.10 + * @codeCoverageIgnore + * + * @return void + */ + public static function remove_post_types_made_public_notification() { + _deprecated_function( __METHOD__, 'Yoast SEO 20.10', 'Content_Type_Visibility_Dismiss_Notifications::dismiss_notifications' ); + $notification_center = Yoast_Notification_Center::get(); + $notification_center->remove_notification_by_id( 'post-types-made-public' ); + } + + /** + * Removes the notification related to the taxonomies which have been made public. + * + * @deprecated 20.10 + * @codeCoverageIgnore + * + * @return void + */ + public static function remove_taxonomies_made_public_notification() { + _deprecated_function( __METHOD__, 'Yoast SEO 20.10', 'Content_Type_Visibility_Dismiss_Notifications::dismiss_notifications' ); + $notification_center = Yoast_Notification_Center::get(); + $notification_center->remove_notification_by_id( 'taxonomies-made-public' ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-rewrite.php b/wp/wp-content/plugins/wordpress-seo/inc/class-rewrite.php new file mode 100644 index 00000000..82ed1206 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-rewrite.php @@ -0,0 +1,231 @@ + $query_vars Main query vars to filter. + * + * @return array The query vars. + */ + public function query_vars( $query_vars ) { + if ( WPSEO_Options::get( 'stripcategorybase' ) === true ) { + $query_vars[] = 'wpseo_category_redirect'; + } + + return $query_vars; + } + + /** + * Checks whether the redirect needs to be created. + * + * @param array $query_vars Query vars to check for existence of redirect var. + * + * @return array The query vars. + */ + public function request( $query_vars ) { + if ( ! isset( $query_vars['wpseo_category_redirect'] ) ) { + return $query_vars; + } + + $this->redirect( $query_vars['wpseo_category_redirect'] ); + return []; + } + + /** + * This function taken and only slightly adapted from WP No Category Base plugin by Saurabh Gupta. + * + * @return array The category rewrite rules. + */ + public function category_rewrite_rules() { + global $wp_rewrite; + + $category_rewrite = []; + + $taxonomy = get_taxonomy( 'category' ); + $permalink_structure = get_option( 'permalink_structure' ); + + $blog_prefix = ''; + if ( strpos( $permalink_structure, '/blog/' ) === 0 ) { + if ( ( is_multisite() && ! is_subdomain_install() ) || is_main_site() || is_main_network() ) { + $blog_prefix = 'blog/'; + } + } + + $categories = get_categories( [ 'hide_empty' => false ] ); + if ( is_array( $categories ) && $categories !== [] ) { + foreach ( $categories as $category ) { + $category_nicename = $category->slug; + if ( $category->parent === $category->cat_ID ) { + // Recursive recursion. + $category->parent = 0; + } + elseif ( $taxonomy->rewrite['hierarchical'] !== false && $category->parent !== 0 ) { + $parents = get_category_parents( $category->parent, false, '/', true ); + if ( ! is_wp_error( $parents ) ) { + $category_nicename = $parents . $category_nicename; + } + unset( $parents ); + } + + $category_rewrite = $this->add_category_rewrites( $category_rewrite, $category_nicename, $blog_prefix, $wp_rewrite->pagination_base ); + + // Adds rules for the uppercase encoded URIs. + $category_nicename_filtered = $this->convert_encoded_to_upper( $category_nicename ); + + if ( $category_nicename_filtered !== $category_nicename ) { + $category_rewrite = $this->add_category_rewrites( $category_rewrite, $category_nicename_filtered, $blog_prefix, $wp_rewrite->pagination_base ); + } + } + unset( $categories, $category, $category_nicename, $category_nicename_filtered ); + } + + // Redirect support from Old Category Base. + $old_base = $wp_rewrite->get_category_permastruct(); + $old_base = str_replace( '%category%', '(.+)', $old_base ); + $old_base = trim( $old_base, '/' ); + $category_rewrite[ $old_base . '$' ] = 'index.php?wpseo_category_redirect=$matches[1]'; + + return $category_rewrite; + } + + /** + * Adds required category rewrites rules. + * + * @param array $rewrites The current set of rules. + * @param string $category_name Category nicename. + * @param string $blog_prefix Multisite blog prefix. + * @param string $pagination_base WP_Query pagination base. + * + * @return array The added set of rules. + */ + protected function add_category_rewrites( $rewrites, $category_name, $blog_prefix, $pagination_base ) { + $rewrite_name = $blog_prefix . '(' . $category_name . ')'; + + global $wp_rewrite; + $feed_regex = '(' . implode( '|', $wp_rewrite->feeds ) . ')'; + + $rewrites[ $rewrite_name . '/(?:feed/)?' . $feed_regex . '/?$' ] = 'index.php?category_name=$matches[1]&feed=$matches[2]'; + $rewrites[ $rewrite_name . '/' . $pagination_base . '/?([0-9]{1,})/?$' ] = 'index.php?category_name=$matches[1]&paged=$matches[2]'; + $rewrites[ $rewrite_name . '/?$' ] = 'index.php?category_name=$matches[1]'; + + return $rewrites; + } + + /** + * Walks through category nicename and convert encoded parts + * into uppercase using $this->encode_to_upper(). + * + * @param string $name The encoded category URI string. + * + * @return string The convered URI string. + */ + protected function convert_encoded_to_upper( $name ) { + // Checks if name has any encoding in it. + if ( strpos( $name, '%' ) === false ) { + return $name; + } + + $names = explode( '/', $name ); + $names = array_map( [ $this, 'encode_to_upper' ], $names ); + + return implode( '/', $names ); + } + + /** + * Converts the encoded URI string to uppercase. + * + * @param string $encoded The encoded string. + * + * @return string The uppercased string. + */ + public function encode_to_upper( $encoded ) { + if ( strpos( $encoded, '%' ) === false ) { + return $encoded; + } + + return strtoupper( $encoded ); + } + + /** + * Redirect the "old" category URL to the new one. + * + * @codeCoverageIgnore + * + * @param string $category_redirect The category page to redirect to. + * @return void + */ + protected function redirect( $category_redirect ) { + $catlink = trailingslashit( get_option( 'home' ) ) . user_trailingslashit( $category_redirect, 'category' ); + + wp_safe_redirect( $catlink, 301, 'Yoast SEO' ); + exit; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-upgrade-history.php b/wp/wp-content/plugins/wordpress-seo/inc/class-upgrade-history.php new file mode 100644 index 00000000..a72db83d --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-upgrade-history.php @@ -0,0 +1,136 @@ +option_name = $option_name; + } + } + + /** + * Retrieves the content of the history items currently stored. + * + * @return array> The contents of the history option. + */ + public function get() { + $data = get_option( $this->get_option_name(), [] ); + if ( ! is_array( $data ) ) { + return []; + } + + return $data; + } + + /** + * Adds a new history entry in the storage. + * + * @param string $old_version The version we are upgrading from. + * @param string $new_version The version we are upgrading to. + * @param array $option_names The options that need to be stored. + * + * @return void + */ + public function add( $old_version, $new_version, array $option_names ) { + $option_data = []; + if ( $option_names !== [] ) { + $option_data = $this->get_options_data( $option_names ); + } + + // Retrieve current history. + $data = $this->get(); + + // Add new entry. + $data[ time() ] = [ + 'options' => $option_data, + 'old_version' => $old_version, + 'new_version' => $new_version, + ]; + + // Store the data. + $this->set( $data ); + } + + /** + * Retrieves the data for the specified option names from the database. + * + * @param array $option_names The option names to retrieve. + * + * @return array> The retrieved data. + */ + protected function get_options_data( array $option_names ) { + $wpdb = $this->get_wpdb(); + + $results = $wpdb->get_results( + $wpdb->prepare( + ' + SELECT %i, %i FROM ' . $wpdb->options . ' WHERE + %i IN ( ' . implode( ',', array_fill( 0, count( $option_names ), '%s' ) ) . ' ) + ', + array_merge( [ 'option_value', 'option_name', 'option_name' ], $option_names ) + ), + ARRAY_A + ); + + $data = []; + foreach ( $results as $result ) { + $data[ $result['option_name'] ] = maybe_unserialize( $result['option_value'] ); + } + + return $data; + } + + /** + * Stores the new history state. + * + * @param array> $data The data to store. + * + * @return void + */ + protected function set( array $data ) { + // This should not be autoloaded! + update_option( $this->get_option_name(), $data, false ); + } + + /** + * Retrieves the WPDB object. + * + * @return wpdb The WPDB object to use. + */ + protected function get_wpdb() { + global $wpdb; + + return $wpdb; + } + + /** + * Retrieves the option name to store the history in. + * + * @return string The option name to store the history in. + */ + protected function get_option_name() { + return $this->option_name; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-upgrade.php b/wp/wp-content/plugins/wordpress-seo/inc/class-upgrade.php new file mode 100644 index 00000000..25936b54 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-upgrade.php @@ -0,0 +1,1831 @@ +taxonomy_helper = YoastSEO()->helpers->taxonomy; + + $version = WPSEO_Options::get( 'version' ); + + WPSEO_Options::maybe_set_multisite_defaults( false ); + + $routines = [ + '1.5.0' => 'upgrade_15', + '2.0' => 'upgrade_20', + '2.1' => 'upgrade_21', + '2.2' => 'upgrade_22', + '2.3' => 'upgrade_23', + '3.0' => 'upgrade_30', + '3.3' => 'upgrade_33', + '3.6' => 'upgrade_36', + '4.0' => 'upgrade_40', + '4.4' => 'upgrade_44', + '4.7' => 'upgrade_47', + '4.9' => 'upgrade_49', + '5.0' => 'upgrade_50', + '5.5' => 'upgrade_55', + '6.3' => 'upgrade_63', + '7.0-RC0' => 'upgrade_70', + '7.1-RC0' => 'upgrade_71', + '7.3-RC0' => 'upgrade_73', + '7.4-RC0' => 'upgrade_74', + '7.5.3' => 'upgrade_753', + '7.7-RC0' => 'upgrade_77', + '7.7.2-RC0' => 'upgrade_772', + '9.0-RC0' => 'upgrade_90', + '10.0-RC0' => 'upgrade_100', + '11.1-RC0' => 'upgrade_111', + // Reset notifications because we removed the AMP Glue plugin notification. + '12.1-RC0' => 'clean_all_notifications', + '12.3-RC0' => 'upgrade_123', + '12.4-RC0' => 'upgrade_124', + '12.8-RC0' => 'upgrade_128', + '13.2-RC0' => 'upgrade_132', + '14.0.3-RC0' => 'upgrade_1403', + '14.1-RC0' => 'upgrade_141', + '14.2-RC0' => 'upgrade_142', + '14.5-RC0' => 'upgrade_145', + '14.9-RC0' => 'upgrade_149', + '15.1-RC0' => 'upgrade_151', + '15.3-RC0' => 'upgrade_153', + '15.5-RC0' => 'upgrade_155', + '15.7-RC0' => 'upgrade_157', + '15.9.1-RC0' => 'upgrade_1591', + '16.2-RC0' => 'upgrade_162', + '16.5-RC0' => 'upgrade_165', + '17.2-RC0' => 'upgrade_172', + '17.7.1-RC0' => 'upgrade_1771', + '17.9-RC0' => 'upgrade_179', + '18.3-RC3' => 'upgrade_183', + '18.6-RC0' => 'upgrade_186', + '18.9-RC0' => 'upgrade_189', + '19.1-RC0' => 'upgrade_191', + '19.3-RC0' => 'upgrade_193', + '19.6-RC0' => 'upgrade_196', + '19.11-RC0' => 'upgrade_1911', + '20.2-RC0' => 'upgrade_202', + '20.5-RC0' => 'upgrade_205', + '20.7-RC0' => 'upgrade_207', + '20.8-RC0' => 'upgrade_208', + '22.6-RC0' => 'upgrade_226', + ]; + + array_walk( $routines, [ $this, 'run_upgrade_routine' ], $version ); + if ( version_compare( $version, '12.5-RC0', '<' ) ) { + /* + * We have to run this by hook, because otherwise: + * - the theme support check isn't available. + * - the notification center notifications are not filled yet. + */ + add_action( 'init', [ $this, 'upgrade_125' ] ); + } + + // Since 3.7. + $upsell_notice = new WPSEO_Product_Upsell_Notice(); + $upsell_notice->set_upgrade_notice(); + + /** + * Filter: 'wpseo_run_upgrade' - Runs the upgrade hook which are dependent on Yoast SEO. + * + * @param string $version The current version of Yoast SEO + */ + do_action( 'wpseo_run_upgrade', $version ); + + $this->finish_up( $version ); + } + + /** + * Runs the upgrade routine. + * + * @param string $routine The method to call. + * @param string $version The new version. + * @param string $current_version The current set version. + * + * @return void + */ + protected function run_upgrade_routine( $routine, $version, $current_version ) { + if ( version_compare( $current_version, $version, '<' ) ) { + $this->$routine( $current_version ); + } + } + + /** + * Adds a new upgrade history entry. + * + * @param string $current_version The old version from which we are upgrading. + * @param string $new_version The version we are upgrading to. + * + * @return void + */ + protected function add_upgrade_history( $current_version, $new_version ) { + $upgrade_history = new WPSEO_Upgrade_History(); + $upgrade_history->add( $current_version, $new_version, array_keys( WPSEO_Options::$options ) ); + } + + /** + * Runs the needed cleanup after an update, setting the DB version to latest version, flushing caches etc. + * + * @param string|null $previous_version The previous version. + * + * @return void + */ + protected function finish_up( $previous_version = null ) { + if ( $previous_version ) { + WPSEO_Options::set( 'previous_version', $previous_version ); + } + WPSEO_Options::set( 'version', WPSEO_VERSION ); + + // Just flush rewrites, always, to at least make them work after an upgrade. + add_action( 'shutdown', 'flush_rewrite_rules' ); + + // Flush the sitemap cache. + WPSEO_Sitemaps_Cache::clear(); + + // Make sure all our options always exist - issue #1245. + WPSEO_Options::ensure_options_exist(); + } + + /** + * Run the Yoast SEO 1.5 upgrade routine. + * + * @param string $version Current plugin version. + * + * @return void + */ + private function upgrade_15( $version ) { + // Clean up options and meta. + WPSEO_Options::clean_up( null, $version ); + WPSEO_Meta::clean_up(); + } + + /** + * Moves options that moved position in WPSEO 2.0. + * + * @return void + */ + private function upgrade_20() { + /** + * Clean up stray wpseo_ms options from the options table, option should only exist in the sitemeta table. + * This could have been caused in many version of Yoast SEO, so deleting it for everything below 2.0. + */ + delete_option( 'wpseo_ms' ); + + $wpseo = $this->get_option_from_database( 'wpseo' ); + $this->save_option_setting( $wpseo, 'pinterestverify' ); + + // Re-save option to trigger sanitization. + $this->cleanup_option_data( 'wpseo' ); + } + + /** + * Detects if taxonomy terms were split and updates the corresponding taxonomy meta's accordingly. + * + * @return void + */ + private function upgrade_21() { + $taxonomies = get_option( 'wpseo_taxonomy_meta', [] ); + + if ( ! empty( $taxonomies ) ) { + foreach ( $taxonomies as $taxonomy => $tax_metas ) { + foreach ( $tax_metas as $term_id => $tax_meta ) { + if ( function_exists( 'wp_get_split_term' ) ) { + $new_term_id = wp_get_split_term( $term_id, $taxonomy ); + if ( $new_term_id !== false ) { + $taxonomies[ $taxonomy ][ $new_term_id ] = $taxonomies[ $taxonomy ][ $term_id ]; + unset( $taxonomies[ $taxonomy ][ $term_id ] ); + } + } + } + } + + update_option( 'wpseo_taxonomy_meta', $taxonomies ); + } + } + + /** + * Performs upgrade functions to Yoast SEO 2.2. + * + * @return void + */ + private function upgrade_22() { + // Unschedule our tracking. + wp_clear_scheduled_hook( 'yoast_tracking' ); + + $this->cleanup_option_data( 'wpseo' ); + } + + /** + * Schedules upgrade function to Yoast SEO 2.3. + * + * @return void + */ + private function upgrade_23() { + add_action( 'wp', [ $this, 'upgrade_23_query' ], 90 ); + add_action( 'admin_head', [ $this, 'upgrade_23_query' ], 90 ); + } + + /** + * Performs upgrade query to Yoast SEO 2.3. + * + * @return void + */ + public function upgrade_23_query() { + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key -- Reason: executed only during the upgrade routine. + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_value -- Reason: executed only during the upgrade routine. + $wp_query = new WP_Query( 'post_type=any&meta_key=_yoast_wpseo_sitemap-include&meta_value=never&order=ASC' ); + + if ( ! empty( $wp_query->posts ) ) { + $options = get_option( 'wpseo_xml' ); + + $excluded_posts = []; + if ( $options['excluded-posts'] !== '' ) { + $excluded_posts = explode( ',', $options['excluded-posts'] ); + } + + foreach ( $wp_query->posts as $post ) { + if ( ! in_array( (string) $post->ID, $excluded_posts, true ) ) { + $excluded_posts[] = $post->ID; + } + } + + // Updates the meta value. + $options['excluded-posts'] = implode( ',', $excluded_posts ); + + // Update the option. + update_option( 'wpseo_xml', $options ); + } + + // Remove the meta fields. + delete_post_meta_by_key( '_yoast_wpseo_sitemap-include' ); + } + + /** + * Performs upgrade functions to Yoast SEO 3.0. + * + * @return void + */ + private function upgrade_30() { + // Remove the meta fields for sitemap prio. + delete_post_meta_by_key( '_yoast_wpseo_sitemap-prio' ); + } + + /** + * Performs upgrade functions to Yoast SEO 3.3. + * + * @return void + */ + private function upgrade_33() { + // Notification dismissals have been moved to User Meta instead of global option. + delete_option( Yoast_Notification_Center::STORAGE_KEY ); + } + + /** + * Performs upgrade functions to Yoast SEO 3.6. + * + * @return void + */ + protected function upgrade_36() { + global $wpdb; + + // Between 3.2 and 3.4 the sitemap options were saved with autoloading enabled. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + 'DELETE FROM %i WHERE %i LIKE %s AND autoload IN ("on", "yes")', + [ $wpdb->options, 'option_name', 'wpseo_sitemap_%' ] + ) + ); + } + + /** + * Removes the about notice when its still in the database. + * + * @return void + */ + private function upgrade_40() { + $center = Yoast_Notification_Center::get(); + $center->remove_notification_by_id( 'wpseo-dismiss-about' ); + } + + /** + * Moves the content-analysis-active and keyword-analysis-acive options from wpseo-titles to wpseo. + * + * @return void + */ + private function upgrade_44() { + $wpseo_titles = $this->get_option_from_database( 'wpseo_titles' ); + + $this->save_option_setting( $wpseo_titles, 'content-analysis-active', 'content_analysis_active' ); + $this->save_option_setting( $wpseo_titles, 'keyword-analysis-active', 'keyword_analysis_active' ); + + // Remove irrelevant content from the option. + $this->cleanup_option_data( 'wpseo_titles' ); + } + + /** + * Renames the meta name for the cornerstone content. It was a public meta field and it has to be private. + * + * @return void + */ + private function upgrade_47() { + global $wpdb; + + // The meta key has to be private, so prefix it. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + 'UPDATE ' . $wpdb->postmeta . ' SET meta_key = %s WHERE meta_key = "yst_is_cornerstone"', + WPSEO_Cornerstone_Filter::META_NAME + ) + ); + } + + /** + * Removes the 'wpseo-dismiss-about' notice for every user that still has it. + * + * @return void + */ + protected function upgrade_49() { + global $wpdb; + + /* + * Using a filter to remove the notification for the current logged in user. The notification center is + * initializing the notifications before the upgrade routine has been executedd and is saving the stored + * notifications on shutdown. This causes the returning notification. By adding this filter the shutdown + * routine on the notification center will remove the notification. + */ + add_filter( 'yoast_notifications_before_storage', [ $this, 'remove_about_notice' ] ); + + $meta_key = $wpdb->get_blog_prefix() . Yoast_Notification_Center::STORAGE_KEY; + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $usermetas = $wpdb->get_results( + $wpdb->prepare( + ' + SELECT %i, %i + FROM %i + WHERE %i = %s AND %i LIKE %s + ', + [ 'user_id', 'meta_value', $wpdb->usermeta, 'meta_key', $meta_key, 'meta_value', '%wpseo-dismiss-about%' ] + ), + ARRAY_A + ); + + if ( empty( $usermetas ) ) { + return; + } + + foreach ( $usermetas as $usermeta ) { + $notifications = maybe_unserialize( $usermeta['meta_value'] ); + + foreach ( $notifications as $notification_key => $notification ) { + if ( ! empty( $notification['options']['id'] ) && $notification['options']['id'] === 'wpseo-dismiss-about' ) { + unset( $notifications[ $notification_key ] ); + } + } + + update_user_option( $usermeta['user_id'], Yoast_Notification_Center::STORAGE_KEY, array_values( $notifications ) ); + } + } + + /** + * Removes the wpseo-dismiss-about notice from a list of notifications. + * + * @param Yoast_Notification[] $notifications The notifications to filter. + * + * @return Yoast_Notification[] The filtered list of notifications. Excluding the wpseo-dismiss-about notification. + */ + public function remove_about_notice( $notifications ) { + foreach ( $notifications as $notification_key => $notification ) { + if ( $notification->get_id() === 'wpseo-dismiss-about' ) { + unset( $notifications[ $notification_key ] ); + } + } + + return $notifications; + } + + /** + * Adds the yoast_seo_links table to the database. + * + * @return void + */ + protected function upgrade_50() { + global $wpdb; + + // Deletes the post meta value, which might created in the RC. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM %i + WHERE %i = '_yst_content_links_processed'", + [ $wpdb->postmeta, 'meta_key' ] + ) + ); + } + + /** + * Register new capabilities and roles. + * + * @return void + */ + private function upgrade_55() { + // Register roles. + do_action( 'wpseo_register_roles' ); + WPSEO_Role_Manager_Factory::get()->add(); + + // Register capabilities. + do_action( 'wpseo_register_capabilities' ); + WPSEO_Capability_Manager_Factory::get()->add(); + } + + /** + * Removes some no longer used options for noindexing subpages and for meta keywords and its associated templates. + * + * @return void + */ + private function upgrade_63() { + $this->cleanup_option_data( 'wpseo_titles' ); + } + + /** + * Perform the 7.0 upgrade, moves settings around, deletes several options. + * + * @return void + */ + private function upgrade_70() { + + $wpseo_permalinks = $this->get_option_from_database( 'wpseo_permalinks' ); + $wpseo_xml = $this->get_option_from_database( 'wpseo_xml' ); + $wpseo_rss = $this->get_option_from_database( 'wpseo_rss' ); + $wpseo = $this->get_option_from_database( 'wpseo' ); + $wpseo_internallinks = $this->get_option_from_database( 'wpseo_internallinks' ); + + // Move some permalink settings, then delete the option. + $this->save_option_setting( $wpseo_permalinks, 'redirectattachment', 'disable-attachment' ); + $this->save_option_setting( $wpseo_permalinks, 'stripcategorybase' ); + + // Move one XML sitemap setting, then delete the option. + $this->save_option_setting( $wpseo_xml, 'enablexmlsitemap', 'enable_xml_sitemap' ); + + // Move the RSS settings to the search appearance settings, then delete the RSS option. + $this->save_option_setting( $wpseo_rss, 'rssbefore' ); + $this->save_option_setting( $wpseo_rss, 'rssafter' ); + + $this->save_option_setting( $wpseo, 'company_logo' ); + $this->save_option_setting( $wpseo, 'company_name' ); + $this->save_option_setting( $wpseo, 'company_or_person' ); + $this->save_option_setting( $wpseo, 'person_name' ); + + // Remove the website name and altername name as we no longer need them. + $this->cleanup_option_data( 'wpseo' ); + + // All the breadcrumbs settings have moved to the search appearance settings. + foreach ( array_keys( $wpseo_internallinks ) as $key ) { + $this->save_option_setting( $wpseo_internallinks, $key ); + } + + // Convert hidden metabox options to display metabox options. + $title_options = get_option( 'wpseo_titles' ); + + foreach ( $title_options as $key => $value ) { + if ( strpos( $key, 'hideeditbox-tax-' ) === 0 ) { + $taxonomy = substr( $key, strlen( 'hideeditbox-tax-' ) ); + WPSEO_Options::set( 'display-metabox-tax-' . $taxonomy, ! $value ); + continue; + } + + if ( strpos( $key, 'hideeditbox-' ) === 0 ) { + $post_type = substr( $key, strlen( 'hideeditbox-' ) ); + WPSEO_Options::set( 'display-metabox-pt-' . $post_type, ! $value ); + continue; + } + } + + // Cleanup removed options. + delete_option( 'wpseo_xml' ); + delete_option( 'wpseo_permalinks' ); + delete_option( 'wpseo_rss' ); + delete_option( 'wpseo_internallinks' ); + + // Remove possibly present plugin conflict notice for plugin that was removed from the list of conflicting plugins. + $yoast_plugin_conflict = WPSEO_Plugin_Conflict::get_instance(); + $yoast_plugin_conflict->clear_error( 'header-footer/plugin.php' ); + + // Moves the user meta for excluding from the XML sitemap to a noindex. + global $wpdb; + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( "UPDATE $wpdb->usermeta SET meta_key = 'wpseo_noindex_author' WHERE meta_key = 'wpseo_excludeauthorsitemap'" ); + } + + /** + * Perform the 7.1 upgrade. + * + * @return void + */ + private function upgrade_71() { + $this->cleanup_option_data( 'wpseo_social' ); + + // Move the breadcrumbs setting and invert it. + $title_options = $this->get_option_from_database( 'wpseo_titles' ); + + if ( array_key_exists( 'breadcrumbs-blog-remove', $title_options ) ) { + WPSEO_Options::set( 'breadcrumbs-display-blog-page', ! $title_options['breadcrumbs-blog-remove'] ); + + $this->cleanup_option_data( 'wpseo_titles' ); + } + } + + /** + * Perform the 7.3 upgrade. + * + * @return void + */ + private function upgrade_73() { + global $wpdb; + // We've moved the cornerstone checkbox to our proper namespace. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( "UPDATE $wpdb->postmeta SET meta_key = '_yoast_wpseo_is_cornerstone' WHERE meta_key = '_yst_is_cornerstone'" ); + + // Remove the previous Whip dismissed message, as this is a new one regarding PHP 5.2. + delete_option( 'whip_dismiss_timestamp' ); + } + + /** + * Performs the 7.4 upgrade. + * + * @return void + */ + protected function upgrade_74() { + $this->remove_sitemap_validators(); + } + + /** + * Performs the 7.5.3 upgrade. + * + * When upgrading purging media is potentially relevant. + * + * @return void + */ + private function upgrade_753() { + // Only when attachments are not disabled. + if ( WPSEO_Options::get( 'disable-attachment' ) === true ) { + return; + } + + // Only when attachments are not no-indexed. + if ( WPSEO_Options::get( 'noindex-attachment' ) === true ) { + return; + } + + // Set purging relevancy. + WPSEO_Options::set( 'is-media-purge-relevant', true ); + } + + /** + * Performs the 7.7 upgrade. + * + * @return void + */ + private function upgrade_77() { + // Remove all OpenGraph content image cache. + $this->delete_post_meta( '_yoast_wpseo_post_image_cache' ); + } + + /** + * Performs the 7.7.2 upgrade. + * + * @return void + */ + private function upgrade_772() { + if ( YoastSEO()->helpers->woocommerce->is_active() ) { + $this->migrate_woocommerce_archive_setting_to_shop_page(); + } + } + + /** + * Performs the 9.0 upgrade. + * + * @return void + */ + protected function upgrade_90() { + global $wpdb; + + // Invalidate all sitemap cache transients. + WPSEO_Sitemaps_Cache_Validator::cleanup_database(); + + // Removes all scheduled tasks for hitting the sitemap index. + wp_clear_scheduled_hook( 'wpseo_hit_sitemap_index' ); + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + 'DELETE FROM %i + WHERE %i LIKE %s', + [ $wpdb->options, 'option_name', 'wpseo_sitemap_%' ] + ) + ); + } + + /** + * Performs the 10.0 upgrade. + * + * @return void + */ + private function upgrade_100() { + // Removes recalibration notifications. + $this->clean_all_notifications(); + + // Removes recalibration options. + WPSEO_Options::clean_up( 'wpseo' ); + delete_option( 'wpseo_recalibration_beta_mailinglist_subscription' ); + } + + /** + * Performs the 11.1 upgrade. + * + * @return void + */ + private function upgrade_111() { + // Set company_or_person to company when it's an invalid value. + $company_or_person = WPSEO_Options::get( 'company_or_person', '' ); + + if ( ! in_array( $company_or_person, [ 'company', 'person' ], true ) ) { + WPSEO_Options::set( 'company_or_person', 'company' ); + } + } + + /** + * Performs the 12.3 upgrade. + * + * Removes the about notice when its still in the database. + * + * @return void + */ + private function upgrade_123() { + $plugins = [ + 'yoast-seo-premium', + 'video-seo-for-wordpress-seo-by-yoast', + 'yoast-news-seo', + 'local-seo-for-yoast-seo', + 'yoast-woocommerce-seo', + 'yoast-acf-analysis', + ]; + + $center = Yoast_Notification_Center::get(); + foreach ( $plugins as $plugin ) { + $center->remove_notification_by_id( 'wpseo-outdated-yoast-seo-plugin-' . $plugin ); + } + } + + /** + * Performs the 12.4 upgrade. + * + * Removes the Google plus defaults from the database. + * + * @return void + */ + private function upgrade_124() { + $this->cleanup_option_data( 'wpseo_social' ); + } + + /** + * Performs the 12.5 upgrade. + * + * @return void + */ + public function upgrade_125() { + // Disables the force rewrite title when the theme supports it through WordPress. + if ( WPSEO_Options::get( 'forcerewritetitle', false ) && current_theme_supports( 'title-tag' ) ) { + WPSEO_Options::set( 'forcerewritetitle', false ); + } + + global $wpdb; + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + 'DELETE FROM %i + WHERE %i = %s', + [ $wpdb->usermeta, 'meta_key', 'wp_yoast_promo_hide_premium_upsell_admin_block' ] + ) + ); + + // Removes the WordPress update notification, because it is no longer necessary when WordPress 5.3 is released. + $center = Yoast_Notification_Center::get(); + $center->remove_notification_by_id( 'wpseo-dismiss-wordpress-upgrade' ); + } + + /** + * Performs the 12.8 upgrade. + * + * @return void + */ + private function upgrade_128() { + // Re-save wpseo to make sure bf_banner_2019_dismissed key is gone. + $this->cleanup_option_data( 'wpseo' ); + + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-page_comments-notice' ); + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-wordpress-upgrade' ); + } + + /** + * Performs the 13.2 upgrade. + * + * @return void + */ + private function upgrade_132() { + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-tagline-notice' ); + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-permalink-notice' ); + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-onpageorg' ); + + // Transfers the onpage option value to the ryte option. + $ryte_option = get_option( 'wpseo_ryte' ); + $onpage_option = get_option( 'wpseo_onpage' ); + if ( ! $ryte_option && $onpage_option ) { + update_option( 'wpseo_ryte', $onpage_option ); + delete_option( 'wpseo_onpage' ); + } + + // Changes onpage_indexability to ryte_indexability. + $wpseo_option = get_option( 'wpseo' ); + if ( isset( $wpseo_option['onpage_indexability'] ) && ! isset( $wpseo_option['ryte_indexability'] ) ) { + $wpseo_option['ryte_indexability'] = $wpseo_option['onpage_indexability']; + unset( $wpseo_option['onpage_indexability'] ); + update_option( 'wpseo', $wpseo_option ); + } + + if ( wp_next_scheduled( 'wpseo_ryte_fetch' ) ) { + wp_clear_scheduled_hook( 'wpseo_ryte_fetch' ); + } + + /* + * Re-register capabilities to add the new `view_site_health_checks` + * capability to the SEO Manager role. + */ + do_action( 'wpseo_register_capabilities' ); + WPSEO_Capability_Manager_Factory::get()->add(); + } + + /** + * Perform the 14.0.3 upgrade. + * + * @return void + */ + private function upgrade_1403() { + WPSEO_Options::set( 'ignore_indexation_warning', false ); + } + + /** + * Performs the 14.1 upgrade. + * + * @return void + */ + private function upgrade_141() { + /* + * These notifications are retrieved from storage on the `init` hook with + * priority 1. We need to remove them after they're retrieved. + */ + add_action( 'init', [ $this, 'remove_notifications_for_141' ] ); + add_action( 'init', [ $this, 'clean_up_private_taxonomies_for_141' ] ); + + $this->reset_permalinks_of_attachments_for_141(); + } + + /** + * Performs the 14.2 upgrade. + * + * Removes the yoast-acf-analysis notice when it's still in the database. + * + * @return void + */ + private function upgrade_142() { + add_action( 'init', [ $this, 'remove_acf_notification_for_142' ] ); + } + + /** + * Performs the 14.5 upgrade. + * + * @return void + */ + private function upgrade_145() { + add_action( 'init', [ $this, 'set_indexation_completed_option_for_145' ] ); + } + + /** + * Performs the 14.9 upgrade. + * + * @return void + */ + private function upgrade_149() { + $version = get_option( 'wpseo_license_server_version', 2 ); + WPSEO_Options::set( 'license_server_version', $version ); + delete_option( 'wpseo_license_server_version' ); + } + + /** + * Performs the 15.1 upgrade. + * + * @return void + */ + private function upgrade_151() { + $this->set_home_url_for_151(); + $this->move_indexables_indexation_reason_for_151(); + + add_action( 'init', [ $this, 'set_permalink_structure_option_for_151' ] ); + add_action( 'init', [ $this, 'store_custom_taxonomy_slugs_for_151' ] ); + } + + /** + * Performs the 15.3 upgrade. + * + * @return void + */ + private function upgrade_153() { + WPSEO_Options::set( 'category_base_url', get_option( 'category_base' ) ); + WPSEO_Options::set( 'tag_base_url', get_option( 'tag_base' ) ); + + // Rename a couple of options. + $indexation_started_value = WPSEO_Options::get( 'indexation_started' ); + WPSEO_Options::set( 'indexing_started', $indexation_started_value ); + + $indexables_indexing_completed_value = WPSEO_Options::get( 'indexables_indexation_completed' ); + WPSEO_Options::set( 'indexables_indexing_completed', $indexables_indexing_completed_value ); + } + + /** + * Performs the 15.5 upgrade. + * + * @return void + */ + private function upgrade_155() { + // Unset the fbadminapp value in the wpseo_social option. + $wpseo_social_option = get_option( 'wpseo_social' ); + + if ( isset( $wpseo_social_option['fbadminapp'] ) ) { + unset( $wpseo_social_option['fbadminapp'] ); + update_option( 'wpseo_social', $wpseo_social_option ); + } + } + + /** + * Performs the 15.7 upgrade. + * + * @return void + */ + private function upgrade_157() { + add_action( 'init', [ $this, 'remove_plugin_updated_notification_for_157' ] ); + } + + /** + * Performs the 15.9.1 upgrade routine. + * + * @return void + */ + private function upgrade_1591() { + $enabled_auto_updates = get_option( 'auto_update_plugins' ); + $addon_update_watcher = YoastSEO()->classes->get( Addon_Update_Watcher::class ); + $addon_update_watcher->toggle_auto_updates_for_add_ons( 'auto_update_plugins', [], $enabled_auto_updates ); + } + + /** + * Performs the 16.2 upgrade routine. + * + * @return void + */ + private function upgrade_162() { + $enabled_auto_updates = get_site_option( 'auto_update_plugins' ); + $addon_update_watcher = YoastSEO()->classes->get( Addon_Update_Watcher::class ); + $addon_update_watcher->toggle_auto_updates_for_add_ons( 'auto_update_plugins', $enabled_auto_updates, [] ); + } + + /** + * Performs the 16.5 upgrade. + * + * @return void + */ + private function upgrade_165() { + add_action( 'init', [ $this, 'copy_og_settings_from_social_to_titles' ], 99 ); + + // Run after the WPSEO_Options::enrich_defaults method which has priority 99. + add_action( 'init', [ $this, 'reset_og_settings_to_default_values' ], 100 ); + } + + /** + * Performs the 17.2 upgrade. Cleans out any unnecessary indexables. See $cleanup_integration->get_cleanup_tasks() to see what will be cleaned out. + * + * @return void + */ + private function upgrade_172() { + wp_unschedule_hook( 'wpseo_cleanup_orphaned_indexables' ); + wp_unschedule_hook( 'wpseo_cleanup_indexables' ); + + if ( ! wp_next_scheduled( Cleanup_Integration::START_HOOK ) ) { + wp_schedule_single_event( ( time() + ( MINUTE_IN_SECONDS * 5 ) ), Cleanup_Integration::START_HOOK ); + } + } + + /** + * Performs the 17.7.1 upgrade routine. + * + * @return void + */ + private function upgrade_1771() { + $enabled_auto_updates = get_site_option( 'auto_update_plugins' ); + $addon_update_watcher = YoastSEO()->classes->get( Addon_Update_Watcher::class ); + $addon_update_watcher->toggle_auto_updates_for_add_ons( 'auto_update_plugins', $enabled_auto_updates, [] ); + } + + /** + * Performs the 17.9 upgrade routine. + * + * @return void + */ + private function upgrade_179() { + WPSEO_Options::set( 'wincher_integration_active', true ); + } + + /** + * Performs the 18.3 upgrade routine. + * + * @return void + */ + private function upgrade_183() { + $this->delete_post_meta( 'yoast-structured-data-blocks-images-cache' ); + } + + /** + * Performs the 18.6 upgrade routine. + * + * @return void + */ + private function upgrade_186() { + if ( is_multisite() ) { + WPSEO_Options::set( 'allow_wincher_integration_active', false ); + } + } + + /** + * Performs the 18.9 upgrade routine. + * + * @return void + */ + private function upgrade_189() { + // Make old users not get the Installation Success page after upgrading. + WPSEO_Options::set( 'should_redirect_after_install_free', false ); + // We're adding a hardcoded time here, so that in the future we can be able to identify whether the user did see the Installation Success page or not. + // If they did, they wouldn't have this hardcoded value in that option, but rather (roughly) the timestamp of the moment they saw it. + WPSEO_Options::set( 'activation_redirect_timestamp_free', 1652258756 ); + + // Transfer the Social URLs. + $other = []; + $other[] = WPSEO_Options::get( 'instagram_url' ); + $other[] = WPSEO_Options::get( 'linkedin_url' ); + $other[] = WPSEO_Options::get( 'myspace_url' ); + $other[] = WPSEO_Options::get( 'pinterest_url' ); + $other[] = WPSEO_Options::get( 'youtube_url' ); + $other[] = WPSEO_Options::get( 'wikipedia_url' ); + + WPSEO_Options::set( 'other_social_urls', array_values( array_unique( array_filter( $other ) ) ) ); + + // Transfer the progress of the old Configuration Workout. + $workout_data = WPSEO_Options::get( 'workouts_data' ); + $old_conf_progress = ( $workout_data['configuration']['finishedSteps'] ?? [] ); + + if ( in_array( 'optimizeSeoData', $old_conf_progress, true ) && in_array( 'siteRepresentation', $old_conf_progress, true ) ) { + // If completed â€SEO optimization’ and â€Site representation’ step, we assume the workout was completed. + $configuration_finished_steps = [ + 'siteRepresentation', + 'socialProfiles', + 'personalPreferences', + ]; + WPSEO_Options::set( 'configuration_finished_steps', $configuration_finished_steps ); + } + } + + /** + * Performs the 19.1 upgrade routine. + * + * @return void + */ + private function upgrade_191() { + if ( is_multisite() ) { + WPSEO_Options::set( 'allow_remove_feed_post_comments', true ); + } + } + + /** + * Performs the 19.3 upgrade routine. + * + * @return void + */ + private function upgrade_193() { + if ( empty( get_option( 'wpseo_premium', [] ) ) ) { + WPSEO_Options::set( 'enable_index_now', true ); + WPSEO_Options::set( 'enable_link_suggestions', true ); + } + } + + /** + * Performs the 19.6 upgrade routine. + * + * @return void + */ + private function upgrade_196() { + WPSEO_Options::set( 'ryte_indexability', false ); + WPSEO_Options::set( 'allow_ryte_indexability', false ); + wp_clear_scheduled_hook( 'wpseo_ryte_fetch' ); + } + + /** + * Performs the 19.11 upgrade routine. + * + * @return void + */ + private function upgrade_1911() { + add_action( 'shutdown', [ $this, 'remove_indexable_rows_for_non_public_post_types' ] ); + add_action( 'shutdown', [ $this, 'remove_indexable_rows_for_non_public_taxonomies' ] ); + $this->deduplicate_unindexed_indexable_rows(); + $this->remove_indexable_rows_for_disabled_authors_archive(); + if ( ! wp_next_scheduled( Cleanup_Integration::START_HOOK ) ) { + wp_schedule_single_event( ( time() + ( MINUTE_IN_SECONDS * 5 ) ), Cleanup_Integration::START_HOOK ); + } + } + + /** + * Performs the 20.2 upgrade routine. + * + * @return void + */ + private function upgrade_202() { + if ( WPSEO_Options::get( 'disable-attachment', true ) ) { + $attachment_cleanup_helper = YoastSEO()->helpers->attachment_cleanup; + + $attachment_cleanup_helper->remove_attachment_indexables( true ); + $attachment_cleanup_helper->clean_attachment_links_from_target_indexable_ids( true ); + } + + $this->clean_unindexed_indexable_rows_with_no_object_id(); + + if ( ! wp_next_scheduled( Cleanup_Integration::START_HOOK ) ) { + // This schedules the cleanup routine cron again, since in combination of premium cleans up the prominent words table. We also want to cleanup possible orphaned hierarchies from the above cleanups. + wp_schedule_single_event( ( time() + ( MINUTE_IN_SECONDS * 5 ) ), Cleanup_Integration::START_HOOK ); + } + } + + /** + * Performs the 20.5 upgrade routine. + * + * @return void + */ + private function upgrade_205() { + if ( ! wp_next_scheduled( Cleanup_Integration::START_HOOK ) ) { + wp_schedule_single_event( ( time() + ( MINUTE_IN_SECONDS * 5 ) ), Cleanup_Integration::START_HOOK ); + } + } + + /** + * Performs the 20.7 upgrade routine. + * Removes the metadata related to the settings page introduction modal for all the users. + * Also, schedules another cleanup scheduled action. + * + * @return void + */ + private function upgrade_207() { + add_action( 'shutdown', [ $this, 'delete_user_introduction_meta' ] ); + } + + /** + * Performs the 20.8 upgrade routine. + * Schedules another cleanup scheduled action. + * + * @return void + */ + private function upgrade_208() { + if ( ! wp_next_scheduled( Cleanup_Integration::START_HOOK ) ) { + wp_schedule_single_event( ( time() + ( MINUTE_IN_SECONDS * 5 ) ), Cleanup_Integration::START_HOOK ); + } + } + + /** + * Performs the 22.6 upgrade routine. + * Schedules another cleanup scheduled action, but starting from the last cleanup action we just added (if there aren't any running cleanups already). + * + * @return void + */ + private function upgrade_226() { + if ( get_option( Cleanup_Integration::CURRENT_TASK_OPTION ) === false ) { + $cleanup_integration = YoastSEO()->classes->get( Cleanup_Integration::class ); + $cleanup_integration->start_cron_job( 'clean_selected_empty_usermeta', DAY_IN_SECONDS ); + } + } + + /** + * Sets the home_url option for the 15.1 upgrade routine. + * + * @return void + */ + protected function set_home_url_for_151() { + $home_url = WPSEO_Options::get( 'home_url' ); + + if ( empty( $home_url ) ) { + WPSEO_Options::set( 'home_url', get_home_url() ); + } + } + + /** + * Moves the `indexables_indexation_reason` option to the + * renamed `indexing_reason` option. + * + * @return void + */ + protected function move_indexables_indexation_reason_for_151() { + $reason = WPSEO_Options::get( 'indexables_indexation_reason', '' ); + WPSEO_Options::set( 'indexing_reason', $reason ); + } + + /** + * Checks if the indexable indexation is completed. + * If so, sets the `indexables_indexation_completed` option to `true`, + * else to `false`. + * + * @return void + */ + public function set_indexation_completed_option_for_145() { + WPSEO_Options::set( 'indexables_indexation_completed', YoastSEO()->helpers->indexing->get_limited_filtered_unindexed_count( 1 ) === 0 ); + } + + /** + * Cleans up the private taxonomies from the indexables table for the upgrade routine to 14.1. + * + * @return void + */ + public function clean_up_private_taxonomies_for_141() { + global $wpdb; + + // If migrations haven't been completed successfully the following may give false errors. So suppress them. + $show_errors = $wpdb->show_errors; + $wpdb->show_errors = false; + + // Clean up indexables of private taxonomies. + $private_taxonomies = get_taxonomies( [ 'public' => false ], 'names' ); + + if ( empty( $private_taxonomies ) ) { + return; + } + + $replacements = array_merge( [ Model::get_table_name( 'Indexable' ), 'object_type', 'object_sub_type' ], $private_taxonomies ); + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM %i + WHERE %i = 'term' + AND %i IN (" + . implode( ', ', array_fill( 0, count( $private_taxonomies ), '%s' ) ) + . ')', + $replacements + ) + ); + + $wpdb->show_errors = $show_errors; + } + + /** + * Resets the permalinks of attachments to `null` in the indexable table for the upgrade routine to 14.1. + * + * @return void + */ + private function reset_permalinks_of_attachments_for_141() { + global $wpdb; + + // If migrations haven't been completed succesfully the following may give false errors. So suppress them. + $show_errors = $wpdb->show_errors; + $wpdb->show_errors = false; + + // Reset the permalinks of the attachments in the indexable table. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "UPDATE %i SET %i = NULL WHERE %i = 'post' AND %i = 'attachment'", + [ Model::get_table_name( 'Indexable' ), 'permalink', 'object_type', 'object_sub_type' ] + ) + ); + + $wpdb->show_errors = $show_errors; + } + + /** + * Removes notifications from the Notification center for the 14.1 upgrade. + * + * @return void + */ + public function remove_notifications_for_141() { + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-recalculate' ); + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-dismiss-blog-public-notice' ); + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-links-table-not-accessible' ); + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-post-type-archive-notification' ); + } + + /** + * Removes the wpseo-suggested-plugin-yoast-acf-analysis notification from the Notification center for the 14.2 upgrade. + * + * @return void + */ + public function remove_acf_notification_for_142() { + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-suggested-plugin-yoast-acf-analysis' ); + } + + /** + * Removes the wpseo-plugin-updated notification from the Notification center for the 15.7 upgrade. + * + * @return void + */ + public function remove_plugin_updated_notification_for_157() { + Yoast_Notification_Center::get()->remove_notification_by_id( 'wpseo-plugin-updated' ); + } + + /** + * Removes all notifications saved in the database under 'wp_yoast_notifications'. + * + * @return void + */ + private function clean_all_notifications() { + global $wpdb; + delete_metadata( 'user', 0, $wpdb->get_blog_prefix() . Yoast_Notification_Center::STORAGE_KEY, '', true ); + } + + /** + * Removes the post meta fields for a given meta key. + * + * @param string $meta_key The meta key. + * + * @return void + */ + private function delete_post_meta( $meta_key ) { + global $wpdb; + $deleted = $wpdb->delete( $wpdb->postmeta, [ 'meta_key' => $meta_key ], [ '%s' ] ); + + if ( $deleted ) { + wp_cache_set( 'last_changed', microtime(), 'posts' ); + } + } + + /** + * Removes all sitemap validators. + * + * This should be executed on every upgrade routine until we have removed the sitemap caching in the database. + * + * @return void + */ + private function remove_sitemap_validators() { + global $wpdb; + + // Remove all sitemap validators. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + 'DELETE FROM %i WHERE %i LIKE %s', + [ $wpdb->options, 'option_name', 'wpseo_sitemap%validator%' ] + ) + ); + } + + /** + * Retrieves the option value directly from the database. + * + * @param string $option_name Option to retrieve. + * + * @return int|string|bool|float|array The content of the option if exists, otherwise an empty array. + */ + protected function get_option_from_database( $option_name ) { + global $wpdb; + + // Load option directly from the database, to avoid filtering and sanitization. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $results = $wpdb->get_results( + $wpdb->prepare( + 'SELECT %i FROM %i WHERE %i = %s', + [ 'option_value', $wpdb->options, 'option_name', $option_name ] + ), + ARRAY_A + ); + + if ( ! empty( $results ) ) { + return maybe_unserialize( $results[0]['option_value'] ); + } + + return []; + } + + /** + * Cleans the option to make sure only relevant settings are there. + * + * @param string $option_name Option name save. + * + * @return void + */ + protected function cleanup_option_data( $option_name ) { + $data = get_option( $option_name, [] ); + if ( ! is_array( $data ) || $data === [] ) { + return; + } + + /* + * Clean up the option by re-saving it. + * + * The option framework will remove any settings that are not configured + * for this option, removing any migrated settings. + */ + update_option( $option_name, $data ); + } + + /** + * Saves an option setting to where it should be stored. + * + * @param int|string|bool|float|array $source_data The option containing the value to be migrated. + * @param string $source_setting Name of the key in the "from" option. + * @param string|null $target_setting Name of the key in the "to" option. + * + * @return void + */ + protected function save_option_setting( $source_data, $source_setting, $target_setting = null ) { + if ( $target_setting === null ) { + $target_setting = $source_setting; + } + + if ( isset( $source_data[ $source_setting ] ) ) { + WPSEO_Options::set( $target_setting, $source_data[ $source_setting ] ); + } + } + + /** + * Migrates WooCommerce archive settings to the WooCommerce Shop page meta-data settings. + * + * If no Shop page is defined, nothing will be migrated. + * + * @return void + */ + private function migrate_woocommerce_archive_setting_to_shop_page() { + $shop_page_id = wc_get_page_id( 'shop' ); + + if ( $shop_page_id === -1 ) { + return; + } + + $title = WPSEO_Meta::get_value( 'title', $shop_page_id ); + + if ( empty( $title ) ) { + $option_title = WPSEO_Options::get( 'title-ptarchive-product' ); + + WPSEO_Meta::set_value( + 'title', + $option_title, + $shop_page_id + ); + + WPSEO_Options::set( 'title-ptarchive-product', '' ); + } + + $meta_description = WPSEO_Meta::get_value( 'metadesc', $shop_page_id ); + + if ( empty( $meta_description ) ) { + $option_metadesc = WPSEO_Options::get( 'metadesc-ptarchive-product' ); + + WPSEO_Meta::set_value( + 'metadesc', + $option_metadesc, + $shop_page_id + ); + + WPSEO_Options::set( 'metadesc-ptarchive-product', '' ); + } + + $bc_title = WPSEO_Meta::get_value( 'bctitle', $shop_page_id ); + + if ( empty( $bc_title ) ) { + $option_bctitle = WPSEO_Options::get( 'bctitle-ptarchive-product' ); + + WPSEO_Meta::set_value( + 'bctitle', + $option_bctitle, + $shop_page_id + ); + + WPSEO_Options::set( 'bctitle-ptarchive-product', '' ); + } + + $noindex = WPSEO_Meta::get_value( 'meta-robots-noindex', $shop_page_id ); + + if ( $noindex === '0' ) { + $option_noindex = WPSEO_Options::get( 'noindex-ptarchive-product' ); + + WPSEO_Meta::set_value( + 'meta-robots-noindex', + $option_noindex, + $shop_page_id + ); + + WPSEO_Options::set( 'noindex-ptarchive-product', false ); + } + } + + /** + * Stores the initial `permalink_structure` option. + * + * @return void + */ + public function set_permalink_structure_option_for_151() { + WPSEO_Options::set( 'permalink_structure', get_option( 'permalink_structure' ) ); + } + + /** + * Stores the initial slugs of custom taxonomies. + * + * @return void + */ + public function store_custom_taxonomy_slugs_for_151() { + $taxonomies = $this->taxonomy_helper->get_custom_taxonomies(); + + $custom_taxonomies = []; + + foreach ( $taxonomies as $taxonomy ) { + $slug = $this->taxonomy_helper->get_taxonomy_slug( $taxonomy ); + + $custom_taxonomies[ $taxonomy ] = $slug; + } + + WPSEO_Options::set( 'custom_taxonomy_slugs', $custom_taxonomies ); + } + + /** + * Copies the frontpage social settings to the titles options. + * + * @return void + */ + public function copy_og_settings_from_social_to_titles() { + $wpseo_social = get_option( 'wpseo_social' ); + $wpseo_titles = get_option( 'wpseo_titles' ); + + $copied_options = []; + // Reset to the correct default value. + $copied_options['open_graph_frontpage_title'] = '%%sitename%%'; + + $options = [ + 'og_frontpage_title' => 'open_graph_frontpage_title', + 'og_frontpage_desc' => 'open_graph_frontpage_desc', + 'og_frontpage_image' => 'open_graph_frontpage_image', + 'og_frontpage_image_id' => 'open_graph_frontpage_image_id', + ]; + + foreach ( $options as $social_option => $titles_option ) { + if ( ! empty( $wpseo_social[ $social_option ] ) ) { + $copied_options[ $titles_option ] = $wpseo_social[ $social_option ]; + } + } + + $wpseo_titles = array_merge( $wpseo_titles, $copied_options ); + + update_option( 'wpseo_titles', $wpseo_titles ); + } + + /** + * Reset the social options with the correct default values. + * + * @return void + */ + public function reset_og_settings_to_default_values() { + $wpseo_titles = get_option( 'wpseo_titles' ); + $updated_options = []; + + $updated_options['social-title-author-wpseo'] = '%%name%%'; + $updated_options['social-title-archive-wpseo'] = '%%date%%'; + + /* translators: %s expands to the name of a post type (plural). */ + $post_type_archive_default = sprintf( __( '%s Archive', 'wordpress-seo' ), '%%pt_plural%%' ); + + /* translators: %s expands to the variable used for term title. */ + $term_archive_default = sprintf( __( '%s Archives', 'wordpress-seo' ), '%%term_title%%' ); + + $post_type_objects = get_post_types( [ 'public' => true ], 'objects' ); + + if ( $post_type_objects ) { + foreach ( $post_type_objects as $pt ) { + // Post types. + if ( isset( $wpseo_titles[ 'social-title-' . $pt->name ] ) ) { + $updated_options[ 'social-title-' . $pt->name ] = '%%title%%'; + } + // Post type archives. + if ( isset( $wpseo_titles[ 'social-title-ptarchive-' . $pt->name ] ) ) { + $updated_options[ 'social-title-ptarchive-' . $pt->name ] = $post_type_archive_default; + } + } + } + + $taxonomy_objects = get_taxonomies( [ 'public' => true ], 'object' ); + + if ( $taxonomy_objects ) { + foreach ( $taxonomy_objects as $tax ) { + if ( isset( $wpseo_titles[ 'social-title-tax-' . $tax->name ] ) ) { + $updated_options[ 'social-title-tax-' . $tax->name ] = $term_archive_default; + } + } + } + + $wpseo_titles = array_merge( $wpseo_titles, $updated_options ); + + update_option( 'wpseo_titles', $wpseo_titles ); + } + + /** + * Removes all indexables for posts that are not publicly viewable. + * This method should be called after init, because post_types can still be registered. + * + * @return void + */ + public function remove_indexable_rows_for_non_public_post_types() { + global $wpdb; + + // If migrations haven't been completed successfully the following may give false errors. So suppress them. + $show_errors = $wpdb->show_errors; + $wpdb->show_errors = false; + + $indexable_table = Model::get_table_name( 'Indexable' ); + + $included_post_types = YoastSEO()->helpers->post_type->get_indexable_post_types(); + + if ( empty( $included_post_types ) ) { + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM %i + WHERE %i = 'post' + AND %i IS NOT NULL", + [ $indexable_table, 'object_type', 'object_sub_type' ] + ) + ); + } + else { + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM %i + WHERE %i = 'post' + AND %i IS NOT NULL + AND %i NOT IN ( " . implode( ', ', array_fill( 0, count( $included_post_types ), '%s' ) ) . ' )', + array_merge( [ $indexable_table, 'object_type', 'object_sub_type', 'object_sub_type' ], $included_post_types ) + ) + ); + } + + $wpdb->show_errors = $show_errors; + } + + /** + * Removes all indexables for terms that are not publicly viewable. + * This method should be called after init, because taxonomies can still be registered. + * + * @return void + */ + public function remove_indexable_rows_for_non_public_taxonomies() { + global $wpdb; + + // If migrations haven't been completed successfully the following may give false errors. So suppress them. + $show_errors = $wpdb->show_errors; + $wpdb->show_errors = false; + + $indexable_table = Model::get_table_name( 'Indexable' ); + + $included_taxonomies = YoastSEO()->helpers->taxonomy->get_indexable_taxonomies(); + + if ( empty( $included_taxonomies ) ) { + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM %i + WHERE %i = 'term' + AND %i IS NOT NULL", + [ $indexable_table, 'object_type', 'object_sub_type' ] + ) + ); + } + else { + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM %i + WHERE %i = 'term' + AND %i IS NOT NULL + AND %i NOT IN ( " . implode( ', ', array_fill( 0, count( $included_taxonomies ), '%s' ) ) . ' )', + array_merge( [ $indexable_table, 'object_type', 'object_sub_type', 'object_sub_type' ], $included_taxonomies ) + ) + ); + } + + $wpdb->show_errors = $show_errors; + } + + /** + * De-duplicates indexables that have more than one "unindexed" rows for the same object. Keeps the newest indexable. + * + * @return void + */ + protected function deduplicate_unindexed_indexable_rows() { + global $wpdb; + + // If migrations haven't been completed successfully the following may give false errors. So suppress them. + $show_errors = $wpdb->show_errors; + $wpdb->show_errors = false; + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $duplicates = $wpdb->get_results( + $wpdb->prepare( + " + SELECT + MAX(id) as newest_id, + object_id, + object_type + FROM + %i + WHERE + post_status = 'unindexed' + AND object_type IN ( 'term', 'post', 'user' ) + GROUP BY + object_id, + object_type + HAVING + count(*) > 1", + [ Model::get_table_name( 'Indexable' ) ] + ), + ARRAY_A + ); + + if ( empty( $duplicates ) ) { + $wpdb->show_errors = $show_errors; + + return; + } + + // Users, terms and posts may share the same object_id. So delete them in separate, more performant, queries. + $delete_queries = [ + $this->get_indexable_deduplication_query_for_type( 'post', $duplicates, $wpdb ), + $this->get_indexable_deduplication_query_for_type( 'term', $duplicates, $wpdb ), + $this->get_indexable_deduplication_query_for_type( 'user', $duplicates, $wpdb ), + ]; + + foreach ( $delete_queries as $delete_query ) { + if ( ! empty( $delete_query ) ) { + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.PreparedSQL.NotPrepared -- Reason: Is it prepared already. + $wpdb->query( $delete_query ); + // phpcs:enable + } + } + + $wpdb->show_errors = $show_errors; + } + + /** + * Cleans up "unindexed" indexable rows when appropriate, aka when there's no object ID even though it should. + * + * @return void + */ + protected function clean_unindexed_indexable_rows_with_no_object_id() { + global $wpdb; + + // If migrations haven't been completed successfully the following may give false errors. So suppress them. + $show_errors = $wpdb->show_errors; + $wpdb->show_errors = false; + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM %i + WHERE %i = 'unindexed' + AND %i NOT IN ( 'home-page', 'date-archive', 'post-type-archive', 'system-page' ) + AND %i IS NULL", + [ Model::get_table_name( 'Indexable' ), 'post_status', 'object_type', 'object_id' ] + ) + ); + + $wpdb->show_errors = $show_errors; + } + + /** + * Removes all user indexable rows when the author archive is disabled. + * + * @return void + */ + protected function remove_indexable_rows_for_disabled_authors_archive() { + global $wpdb; + + if ( ! YoastSEO()->helpers->author_archive->are_disabled() ) { + return; + } + + // If migrations haven't been completed successfully the following may give false errors. So suppress them. + $show_errors = $wpdb->show_errors; + $wpdb->show_errors = false; + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + $wpdb->query( + $wpdb->prepare( + "DELETE FROM %i WHERE %i = 'user'", + [ Model::get_table_name( 'Indexable' ), 'object_type' ] + ) + ); + + $wpdb->show_errors = $show_errors; + } + + /** + * Creates a query for de-duplicating indexables for a particular type. + * + * @param string $object_type The object type to deduplicate. + * @param string|array> $duplicates The result of the duplicate query. + * @param wpdb $wpdb The wpdb object. + * + * @return string The query that removes all but one duplicate for each object of the object type. + */ + protected function get_indexable_deduplication_query_for_type( $object_type, $duplicates, $wpdb ) { + $filtered_duplicates = array_filter( + $duplicates, + static function ( $duplicate ) use ( $object_type ) { + return $duplicate['object_type'] === $object_type; + } + ); + + if ( empty( $filtered_duplicates ) ) { + return ''; + } + + $object_ids = wp_list_pluck( $filtered_duplicates, 'object_id' ); + $newest_indexable_ids = wp_list_pluck( $filtered_duplicates, 'newest_id' ); + + $replacements = array_merge( [ Model::get_table_name( 'Indexable' ), 'object_id' ], array_values( $object_ids ), array_values( $newest_indexable_ids ) ); + $replacements[] = $object_type; + + // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery -- Reason: Most performant way. + return $wpdb->prepare( + 'DELETE FROM + %i + WHERE + %i IN ( ' . implode( ', ', array_fill( 0, count( $filtered_duplicates ), '%d' ) ) . ' ) + AND id NOT IN ( ' . implode( ', ', array_fill( 0, count( $filtered_duplicates ), '%d' ) ) . ' ) + AND object_type = %s', + $replacements + ); + } + + /** + * Removes the settings' introduction modal data for users. + * + * @return void + */ + public function delete_user_introduction_meta() { + delete_metadata( 'user', 0, '_yoast_settings_introduction', '', true ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php new file mode 100644 index 00000000..e8c6f455 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php @@ -0,0 +1,926 @@ +classes->get( Indexable_Repository::class ); + } + if ( ! $score_icon_helper ) { + $score_icon_helper = YoastSEO()->helpers->score_icon; + } + if ( ! $product_helper ) { + $product_helper = YoastSEO()->helpers->product; + } + if ( ! $shortlinker ) { + $shortlinker = new WPSEO_Shortlinker(); + } + + $this->product_helper = $product_helper; + $this->asset_manager = $asset_manager; + $this->indexable_repository = $indexable_repository; + $this->score_icon_helper = $score_icon_helper; + $this->shortlinker = $shortlinker; + } + + /** + * Gets whether SEO score is enabled, with cache applied. + * + * @return bool True if SEO score is enabled, false otherwise. + */ + protected function get_is_seo_enabled() { + if ( is_null( $this->is_seo_enabled ) ) { + $this->is_seo_enabled = ( new WPSEO_Metabox_Analysis_SEO() )->is_enabled(); + } + + return $this->is_seo_enabled; + } + + /** + * Gets whether readability is enabled, with cache applied. + * + * @return bool True if readability is enabled, false otherwise. + */ + protected function get_is_readability_enabled() { + if ( is_null( $this->is_readability_enabled ) ) { + $this->is_readability_enabled = ( new WPSEO_Metabox_Analysis_Readability() )->is_enabled(); + } + + return $this->is_readability_enabled; + } + + /** + * Returns the indexable for the current WordPress page, with cache applied. + * + * @return bool|Indexable The indexable, false if none could be found. + */ + protected function get_current_indexable() { + if ( is_null( $this->current_indexable ) ) { + $this->current_indexable = $this->indexable_repository->for_current_page(); + } + + return $this->current_indexable; + } + + /** + * Adds the admin bar menu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + public function add_menu( WP_Admin_Bar $wp_admin_bar ) { + // On block editor pages, the admin bar only shows on mobile, where having this menu icon is not very helpful. + if ( is_admin() ) { + $screen = get_current_screen(); + if ( isset( $screen ) && $screen->is_block_editor() ) { + return; + } + } + + // If the current user can't write posts, this is all of no use, so let's not output an admin menu. + if ( ! current_user_can( 'edit_posts' ) ) { + return; + } + + $this->add_root_menu( $wp_admin_bar ); + + /** + * Adds a submenu item in the top of the adminbar. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * @param string $menu_identifier The menu identifier. + */ + do_action( 'wpseo_add_adminbar_submenu', $wp_admin_bar, self::MENU_IDENTIFIER ); + + if ( ! is_admin() ) { + + if ( is_singular() || is_tag() || is_tax() || is_category() ) { + $is_seo_enabled = $this->get_is_seo_enabled(); + $is_readability_enabled = $this->get_is_readability_enabled(); + + $indexable = $this->get_current_indexable(); + + if ( $is_seo_enabled ) { + $focus_keyword = ( ! is_a( $indexable, 'Yoast\WP\SEO\Models\Indexable' ) || is_null( $indexable->primary_focus_keyword ) ) ? __( 'not set', 'wordpress-seo' ) : $indexable->primary_focus_keyword; + + $wp_admin_bar->add_menu( + [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-seo-focus-keyword', + 'title' => __( 'Focus keyphrase: ', 'wordpress-seo' ) . '' . $focus_keyword . '', + 'meta' => [ 'tabindex' => '0' ], + ] + ); + $wp_admin_bar->add_menu( + [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-seo-score', + 'title' => __( 'SEO score', 'wordpress-seo' ) . ': ' . $this->score_icon_helper->for_seo( $indexable, 'adminbar-sub-menu-score' ) + ->present(), + 'meta' => [ 'tabindex' => '0' ], + ] + ); + } + + if ( $is_readability_enabled ) { + $wp_admin_bar->add_menu( + [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-readability-score', + 'title' => __( 'Readability', 'wordpress-seo' ) . ': ' . $this->score_icon_helper->for_readability( $indexable->readability_score, 'adminbar-sub-menu-score' ) + ->present(), + 'meta' => [ 'tabindex' => '0' ], + ] + ); + } + + if ( ! $this->product_helper->is_premium() ) { + $wp_admin_bar->add_menu( + [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-frontend-inspector', + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-frontend-inspector' ), + 'title' => __( 'Front-end SEO inspector', 'wordpress-seo' ) . new Premium_Badge_Presenter( 'wpseo-frontend-inspector-badge' ), + 'meta' => [ + 'tabindex' => '0', + 'target' => '_blank', + ], + ] + ); + } + } + $this->add_analysis_submenu( $wp_admin_bar ); + $this->add_seo_tools_submenu( $wp_admin_bar ); + $this->add_how_to_submenu( $wp_admin_bar ); + $this->add_get_help_submenu( $wp_admin_bar ); + } + + if ( ! is_admin() || is_blog_admin() ) { + $this->add_settings_submenu( $wp_admin_bar ); + } + elseif ( is_network_admin() ) { + $this->add_network_settings_submenu( $wp_admin_bar ); + } + + if ( ! $this->product_helper->is_premium() ) { + $this->add_premium_link( $wp_admin_bar ); + } + } + + /** + * Enqueues admin bar assets. + * + * @return void + */ + public function enqueue_assets() { + if ( ! is_admin_bar_showing() ) { + return; + } + + // If the current user can't write posts, this is all of no use, so let's not output an admin menu. + if ( ! current_user_can( 'edit_posts' ) ) { + return; + } + + $this->asset_manager->register_assets(); + $this->asset_manager->enqueue_style( 'adminbar' ); + } + + /** + * Registers the hooks. + * + * @return void + */ + public function register_hooks() { + if ( ! $this->meets_requirements() ) { + return; + } + + add_action( 'admin_bar_menu', [ $this, 'add_menu' ], 95 ); + + add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); + } + + /** + * Checks whether the requirements to use this class are met. + * + * @return bool True if requirements are met, false otherwise. + */ + public function meets_requirements() { + if ( is_network_admin() ) { + return WPSEO_Utils::is_plugin_network_active(); + } + + if ( WPSEO_Options::get( 'enable_admin_bar_menu' ) !== true ) { + return false; + } + + return ! is_admin() || is_blog_admin(); + } + + /** + * Adds the admin bar root menu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + protected function add_root_menu( WP_Admin_Bar $wp_admin_bar ) { + $title = $this->get_title(); + + $score = ''; + $settings_url = ''; + $counter = ''; + $notification_popup = ''; + + $post = $this->get_singular_post(); + if ( $post ) { + $score = $this->get_post_score( $post ); + } + + $term = $this->get_singular_term(); + if ( $term ) { + $score = $this->get_term_score( $term ); + } + + $can_manage_options = $this->can_manage_options(); + + if ( $can_manage_options ) { + $settings_url = $this->get_settings_page_url(); + } + + if ( empty( $score ) && ! is_network_admin() && $can_manage_options ) { + $counter = $this->get_notification_counter(); + $notification_popup = $this->get_notification_popup(); + } + + $admin_bar_menu_args = [ + 'id' => self::MENU_IDENTIFIER, + 'title' => $title . $score . $counter . $notification_popup, + 'href' => $settings_url, + 'meta' => [ 'tabindex' => ! empty( $settings_url ) ? false : '0' ], + ]; + $wp_admin_bar->add_menu( $admin_bar_menu_args ); + + if ( ! empty( $counter ) ) { + $admin_bar_menu_args = [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-notifications', + 'title' => __( 'Notifications', 'wordpress-seo' ) . $counter, + 'href' => $settings_url, + 'meta' => [ 'tabindex' => ! empty( $settings_url ) ? false : '0' ], + ]; + $wp_admin_bar->add_menu( $admin_bar_menu_args ); + } + } + + /** + * Adds the admin bar analysis submenu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + protected function add_analysis_submenu( WP_Admin_Bar $wp_admin_bar ) { + try { + $url = YoastSEO()->meta->for_current_page()->canonical; + } catch ( Exception $e ) { + // This is not the type of error we can handle here. + return; + } + + if ( ! $url ) { + return; + } + + $menu_args = [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => self::ANALYSIS_SUBMENU_IDENTIFIER, + 'title' => __( 'Analyze this page', 'wordpress-seo' ), + 'meta' => [ 'tabindex' => '0' ], + ]; + $wp_admin_bar->add_menu( $menu_args ); + + $encoded_url = rawurlencode( $url ); + $submenu_items = [ + [ + 'id' => 'wpseo-inlinks', + 'title' => __( 'Check links to this URL', 'wordpress-seo' ), + 'href' => 'https://search.google.com/search-console/links/drilldown?resource_id=' . rawurlencode( get_option( 'siteurl' ) ) . '&type=EXTERNAL&target=' . $encoded_url . '&domain=', + ], + [ + 'id' => 'wpseo-structureddata', + 'title' => __( 'Google Rich Results Test', 'wordpress-seo' ), + 'href' => 'https://search.google.com/test/rich-results?url=' . $encoded_url, + ], + [ + 'id' => 'wpseo-facebookdebug', + 'title' => __( 'Facebook Debugger', 'wordpress-seo' ), + 'href' => '//developers.facebook.com/tools/debug/?q=' . $encoded_url, + ], + [ + 'id' => 'wpseo-pagespeed', + 'title' => __( 'Google Page Speed Test', 'wordpress-seo' ), + 'href' => '//developers.google.com/speed/pagespeed/insights/?url=' . $encoded_url, + ], + ]; + + $this->add_submenu_items( $submenu_items, $wp_admin_bar, self::ANALYSIS_SUBMENU_IDENTIFIER ); + } + + /** + * Adds the admin bar tools submenu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + protected function add_seo_tools_submenu( WP_Admin_Bar $wp_admin_bar ) { + $menu_args = [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-sub-tools', + 'title' => __( 'SEO Tools', 'wordpress-seo' ), + 'meta' => [ 'tabindex' => '0' ], + ]; + $wp_admin_bar->add_menu( $menu_args ); + + $submenu_items = [ + [ + 'id' => 'wpseo-semrush', + 'title' => 'Semrush', + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-semrush' ), + ], + [ + 'id' => 'wpseo-wincher', + 'title' => 'Wincher', + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-wincher' ), + ], + [ + 'id' => 'wpseo-google-trends', + 'title' => 'Google trends', + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-gtrends' ), + ], + ]; + + $this->add_submenu_items( $submenu_items, $wp_admin_bar, 'wpseo-sub-tools' ); + } + + /** + * Adds the admin bar How To submenu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + protected function add_how_to_submenu( WP_Admin_Bar $wp_admin_bar ) { + $menu_args = [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-sub-howto', + 'title' => __( 'How to', 'wordpress-seo' ), + 'meta' => [ 'tabindex' => '0' ], + ]; + $wp_admin_bar->add_menu( $menu_args ); + + $submenu_items = [ + [ + 'id' => 'wpseo-learn-seo', + 'title' => __( 'Learn more SEO', 'wordpress-seo' ), + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-learn-more-seo' ), + ], + [ + 'id' => 'wpseo-improve-blogpost', + 'title' => __( 'Improve your blog post', 'wordpress-seo' ), + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-improve-blog-post' ), + ], + [ + 'id' => 'wpseo-write-better-content', + 'title' => __( 'Write better content', 'wordpress-seo' ), + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-write-better' ), + ], + ]; + + $this->add_submenu_items( $submenu_items, $wp_admin_bar, 'wpseo-sub-howto' ); + } + + /** + * Adds the admin bar How To submenu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + protected function add_get_help_submenu( WP_Admin_Bar $wp_admin_bar ) { + $menu_args = [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-sub-get-help', + 'title' => __( 'Help', 'wordpress-seo' ), + 'meta' => [ 'tabindex' => '0' ], + ]; + + if ( current_user_can( Support_Integration::CAPABILITY ) ) { + $menu_args['href'] = admin_url( 'admin.php?page=' . Support_Integration::PAGE ); + $wp_admin_bar->add_menu( $menu_args ); + + return; + } + $wp_admin_bar->add_menu( $menu_args ); + + $submenu_items = [ + [ + 'id' => 'wpseo-yoast-help', + 'title' => __( 'Yoast.com help section', 'wordpress-seo' ), + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-yoast-help' ), + ], + [ + 'id' => 'wpseo-premium-support', + 'title' => __( 'Yoast Premium support', 'wordpress-seo' ), + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-premium-support' ), + ], + [ + 'id' => 'wpseo-wp-support-forums', + 'title' => __( 'WordPress.org support forums', 'wordpress-seo' ), + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-wp-support-forums' ), + ], + [ + 'id' => 'wpseo-learn-seo-2', + 'title' => __( 'Learn more SEO', 'wordpress-seo' ), + 'href' => $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-learn-more-seo-help' ), + ], + ]; + + $this->add_submenu_items( $submenu_items, $wp_admin_bar, 'wpseo-sub-get-help' ); + } + + /** + * Adds the admin bar How To submenu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + protected function add_premium_link( WP_Admin_Bar $wp_admin_bar ) { + $sale_percentage = ''; + if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-2023-promotion' ) ) { + $sale_percentage = sprintf( + '%1$s', + esc_html__( '-30%', 'wordpress-seo' ) + ); + } + $wp_admin_bar->add_menu( + [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => 'wpseo-get-premium', + // Circumvent an issue in the WP admin bar API in order to pass `data` attributes. See https://core.trac.wordpress.org/ticket/38636. + 'title' => sprintf( + '%2$s » %3$s', + esc_url( $this->shortlinker->build_shortlink( 'https://yoa.st/admin-bar-get-premium' ) ), + esc_html__( 'Get Yoast SEO Premium', 'wordpress-seo' ), + $sale_percentage + ), + 'meta' => [ + 'tabindex' => '0', + ], + ] + ); + } + + /** + * Adds the admin bar settings submenu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + protected function add_settings_submenu( WP_Admin_Bar $wp_admin_bar ) { + if ( ! $this->can_manage_options() ) { + return; + } + + $admin_menu = new WPSEO_Admin_Menu( new WPSEO_Menu() ); + $submenu_pages = $admin_menu->get_submenu_pages(); + + $menu_args = [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => self::SETTINGS_SUBMENU_IDENTIFIER, + 'title' => __( 'SEO Settings', 'wordpress-seo' ), + 'meta' => [ 'tabindex' => '0' ], + ]; + $wp_admin_bar->add_menu( $menu_args ); + + foreach ( $submenu_pages as $submenu_page ) { + if ( ! current_user_can( $submenu_page[3] ) ) { + continue; + } + + // Don't add the Google Search Console menu item. + if ( $submenu_page[4] === 'wpseo_search_console' ) { + continue; + } + + $id = 'wpseo-' . str_replace( '_', '-', str_replace( 'wpseo_', '', $submenu_page[4] ) ); + if ( $id === 'wpseo-dashboard' ) { + $id = 'wpseo-general'; + } + + $menu_args = [ + 'parent' => self::SETTINGS_SUBMENU_IDENTIFIER, + 'id' => $id, + 'title' => $submenu_page[2], + 'href' => admin_url( 'admin.php?page=' . rawurlencode( $submenu_page[4] ) ), + ]; + $wp_admin_bar->add_menu( $menu_args ); + } + } + + /** + * Adds the admin bar network settings submenu. + * + * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to. + * + * @return void + */ + protected function add_network_settings_submenu( WP_Admin_Bar $wp_admin_bar ) { + if ( ! $this->can_manage_options() ) { + return; + } + + $network_admin_menu = new WPSEO_Network_Admin_Menu( new WPSEO_Menu() ); + $submenu_pages = $network_admin_menu->get_submenu_pages(); + + $menu_args = [ + 'parent' => self::MENU_IDENTIFIER, + 'id' => self::NETWORK_SETTINGS_SUBMENU_IDENTIFIER, + 'title' => __( 'SEO Settings', 'wordpress-seo' ), + 'meta' => [ 'tabindex' => '0' ], + ]; + $wp_admin_bar->add_menu( $menu_args ); + + foreach ( $submenu_pages as $submenu_page ) { + if ( ! current_user_can( $submenu_page[3] ) ) { + continue; + } + + $id = 'wpseo-' . str_replace( '_', '-', str_replace( 'wpseo_', '', $submenu_page[4] ) ); + if ( $id === 'wpseo-dashboard' ) { + $id = 'wpseo-general'; + } + + $menu_args = [ + 'parent' => self::NETWORK_SETTINGS_SUBMENU_IDENTIFIER, + 'id' => $id, + 'title' => $submenu_page[2], + 'href' => network_admin_url( 'admin.php?page=' . rawurlencode( $submenu_page[4] ) ), + ]; + $wp_admin_bar->add_menu( $menu_args ); + } + } + + /** + * Gets the menu title markup. + * + * @return string Admin bar title markup. + */ + protected function get_title() { + return ''; + } + + /** + * Gets the current post if in a singular post context. + * + * @global string $pagenow Current page identifier. + * @global WP_Post|null $post Current post object, or null if none available. + * + * @return WP_Post|null Post object, or null if not in singular context. + */ + protected function get_singular_post() { + global $pagenow, $post; + + if ( ! is_singular() && ( ! is_blog_admin() || ! WPSEO_Metabox::is_post_edit( $pagenow ) ) ) { + return null; + } + + if ( ! isset( $post ) || ! is_object( $post ) || ! $post instanceof WP_Post ) { + return null; + } + + return $post; + } + + /** + * Gets the focus keyword for a given post. + * + * @param WP_Post $post Post object to get its focus keyword. + * + * @return string Focus keyword, or empty string if none available. + */ + protected function get_post_focus_keyword( $post ) { + if ( ! is_object( $post ) || ! property_exists( $post, 'ID' ) ) { + return ''; + } + + /** + * Filter: 'wpseo_use_page_analysis' Determines if the analysis should be enabled. + * + * @param bool $enabled Determines if the analysis should be enabled. + */ + if ( apply_filters( 'wpseo_use_page_analysis', true ) !== true ) { + return ''; + } + + return WPSEO_Meta::get_value( 'focuskw', $post->ID ); + } + + /** + * Gets the score for a given post. + * + * @param WP_Post $post Post object to get its score. + * + * @return string Score markup, or empty string if none available. + */ + protected function get_post_score( $post ) { + if ( ! is_object( $post ) || ! property_exists( $post, 'ID' ) ) { + return ''; + } + + if ( apply_filters( 'wpseo_use_page_analysis', true ) !== true ) { + return ''; + } + + return $this->get_score_icon(); + } + + /** + * Gets the current term if in a singular term context. + * + * @global string $pagenow Current page identifier. + * @global WP_Query $wp_query Current query object. + * @global WP_Term|null $tag Current term object, or null if none available. + * + * @return WP_Term|null Term object, or null if not in singular context. + */ + protected function get_singular_term() { + global $pagenow, $wp_query, $tag; + + if ( is_category() || is_tag() || is_tax() ) { + return $wp_query->get_queried_object(); + } + + if ( WPSEO_Taxonomy::is_term_edit( $pagenow ) && ! WPSEO_Taxonomy::is_term_overview( $pagenow ) && isset( $tag ) && is_object( $tag ) && ! is_wp_error( $tag ) ) { + return get_term( $tag->term_id ); + } + + return null; + } + + /** + * Gets the score for a given term. + * + * @param WP_Term $term Term object to get its score. + * + * @return string Score markup, or empty string if none available. + */ + protected function get_term_score( $term ) { + if ( ! is_object( $term ) || ! property_exists( $term, 'term_id' ) || ! property_exists( $term, 'taxonomy' ) ) { + return ''; + } + + return $this->get_score_icon(); + } + + /** + * Create the score icon. + * + * @return string The score icon, or empty string. + */ + protected function get_score_icon() { + $is_seo_enabled = $this->get_is_seo_enabled(); + $is_readability_enabled = $this->get_is_readability_enabled(); + + $indexable = $this->get_current_indexable(); + + if ( $is_seo_enabled ) { + return $this->score_icon_helper->for_seo( $indexable, 'adminbar-seo-score' )->present(); + } + + if ( $is_readability_enabled ) { + return $this->score_icon_helper->for_readability( $indexable->readability_score, 'adminbar-seo-score' ) + ->present(); + } + + return ''; + } + + /** + * Gets the URL to the main admin settings page. + * + * @return string Admin settings page URL. + */ + protected function get_settings_page_url() { + return self_admin_url( 'admin.php?page=' . WPSEO_Admin::PAGE_IDENTIFIER ); + } + + /** + * Gets the notification counter if in a valid context. + * + * @return string Notification counter markup, or empty string if not available. + */ + protected function get_notification_counter() { + $notification_center = Yoast_Notification_Center::get(); + $notification_count = $notification_center->get_notification_count(); + + if ( ! $notification_count ) { + return ''; + } + + /* translators: Hidden accessibility text; %s: number of notifications. */ + $counter_screen_reader_text = sprintf( _n( '%s notification', '%s notifications', $notification_count, 'wordpress-seo' ), number_format_i18n( $notification_count ) ); + + return sprintf( '
    %s
    ', $notification_count, $counter_screen_reader_text ); + } + + /** + * Gets the notification popup if in a valid context. + * + * @return string Notification popup markup, or empty string if not available. + */ + protected function get_notification_popup() { + $notification_center = Yoast_Notification_Center::get(); + $new_notifications = $notification_center->get_new_notifications(); + $new_notifications_count = count( $new_notifications ); + + if ( ! $new_notifications_count ) { + return ''; + } + + $notification = sprintf( + _n( + 'There is a new notification.', + 'There are new notifications.', + $new_notifications_count, + 'wordpress-seo' + ), + $new_notifications_count + ); + + return '
    ' . $notification . '
    '; + } + + /** + * Checks whether the current user can manage options in the current context. + * + * @return bool True if capabilities are sufficient, false otherwise. + */ + protected function can_manage_options() { + return ( is_network_admin() && current_user_can( 'wpseo_manage_network_options' ) ) + || ( ! is_network_admin() && WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ); + } + + /** + * Add submenu items to a menu item. + * + * @param array $submenu_items Submenu items array. + * @param WP_Admin_Bar $wp_admin_bar Admin bar object. + * @param string $parent_id Parent menu item ID. + * + * @return void + */ + protected function add_submenu_items( array $submenu_items, WP_Admin_Bar $wp_admin_bar, $parent_id ) { + foreach ( $submenu_items as $menu_item ) { + $menu_args = [ + 'parent' => $parent_id, + 'id' => $menu_item['id'], + 'title' => $menu_item['title'], + 'href' => $menu_item['href'], + 'meta' => [ 'target' => '_blank' ], + ]; + $wp_admin_bar->add_menu( $menu_args ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-content-images.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-content-images.php new file mode 100644 index 00000000..6218c004 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-content-images.php @@ -0,0 +1,112 @@ +get_images_from_content( $this->get_post_content( $post_id, $post ) ); + } + + /** + * Grabs the images from the content. + * + * @param string $content The post content string. + * + * @return array An array of image URLs. + */ + public function get_images_from_content( $content ) { + if ( ! is_string( $content ) ) { + return []; + } + + $content_images = $this->get_img_tags_from_content( $content ); + $images = array_map( [ $this, 'get_img_tag_source' ], $content_images ); + $images = array_filter( $images ); + $images = array_unique( $images ); + $images = array_values( $images ); // Reset the array keys. + + return $images; + } + + /** + * Gets the image tags from a given content string. + * + * @param string $content The content to search for image tags. + * + * @return array An array of `` tags. + */ + private function get_img_tags_from_content( $content ) { + if ( strpos( $content, ']+>`', $content, $matches ); + if ( isset( $matches[0] ) ) { + return $matches[0]; + } + + return []; + } + + /** + * Retrieves the image URL from an image tag. + * + * @param string $image Image HTML element. + * + * @return string|bool The image URL on success, false on failure. + */ + private function get_img_tag_source( $image ) { + preg_match( '`src=(["\'])(.*?)\1`', $image, $matches ); + if ( isset( $matches[2] ) && filter_var( $matches[2], FILTER_VALIDATE_URL ) ) { + return $matches[2]; + } + return false; + } + + /** + * Retrieves the post content we want to work with. + * + * @param int $post_id The post ID. + * @param WP_Post|array|null $post The post. + * + * @return string The content of the supplied post. + */ + private function get_post_content( $post_id, $post ) { + if ( $post === null ) { + $post = get_post( $post_id ); + } + + if ( $post === null ) { + return ''; + } + + /** + * Filter: 'wpseo_pre_analysis_post_content' - Allow filtering the content before analysis. + * + * @param string $post_content The Post content string. + * @param WP_Post $post The current post. + */ + $content = apply_filters( 'wpseo_pre_analysis_post_content', $post->post_content, $post ); + + if ( ! is_string( $content ) ) { + $content = ''; + } + + return $content; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-custom-fields.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-custom-fields.php new file mode 100644 index 00000000..07771ccb --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-custom-fields.php @@ -0,0 +1,75 @@ +postmeta + WHERE meta_key NOT BETWEEN '_' AND '_z' AND SUBSTRING(meta_key, 1, 1) != '_' + LIMIT %d"; + $fields = $wpdb->get_col( $wpdb->prepare( $sql, $limit ) ); + + /** + * Filters the custom fields that are auto-completed and replaced as replacement variables + * in the meta box and sidebar. + * + * @param string[] $fields The custom field names. + */ + $fields = apply_filters( 'wpseo_replacement_variables_custom_fields', $fields ); + + if ( is_array( $fields ) ) { + self::$custom_fields = array_map( [ 'WPSEO_Custom_Fields', 'add_custom_field_prefix' ], $fields ); + } + + return self::$custom_fields; + } + + /** + * Adds the cf_ prefix to a field. + * + * @param string $field The field to prefix. + * + * @return string The prefixed field. + */ + private static function add_custom_field_prefix( $field ) { + return 'cf_' . $field; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-custom-taxonomies.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-custom-taxonomies.php new file mode 100644 index 00000000..40b8ba23 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-custom-taxonomies.php @@ -0,0 +1,72 @@ + true, + '_builtin' => false, + ]; + $custom_taxonomies = get_taxonomies( $args, 'names', 'and' ); + + if ( is_array( $custom_taxonomies ) ) { + foreach ( $custom_taxonomies as $custom_taxonomy ) { + array_push( + self::$custom_taxonomies, + self::add_custom_taxonomies_prefix( $custom_taxonomy ), + self::add_custom_taxonomies_description_prefix( $custom_taxonomy ) + ); + } + } + + return self::$custom_taxonomies; + } + + /** + * Adds the ct_ prefix to a taxonomy. + * + * @param string $taxonomy The taxonomy to prefix. + * + * @return string The prefixed taxonomy. + */ + private static function add_custom_taxonomies_prefix( $taxonomy ) { + return 'ct_' . $taxonomy; + } + + /** + * Adds the ct_desc_ prefix to a taxonomy. + * + * @param string $taxonomy The taxonomy to prefix. + * + * @return string The prefixed taxonomy. + */ + private static function add_custom_taxonomies_description_prefix( $taxonomy ) { + return 'ct_desc_' . $taxonomy; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php new file mode 100644 index 00000000..4b606130 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php @@ -0,0 +1,537 @@ + $sizes The array of image sizes to loop through. + */ + return apply_filters( 'wpseo_image_sizes', [ 'full', 'large', 'medium_large' ] ); + } + + /** + * Grabs an image alt text. + * + * @param int $attachment_id The attachment ID. + * + * @return string The image alt text. + */ + public static function get_alt_tag( $attachment_id ) { + return (string) get_post_meta( $attachment_id, '_wp_attachment_image_alt', true ); + } + + /** + * Checks whether an img sizes up to the parameters. + * + * @param array $dimensions The image values. + * @param array $usable_dimensions The parameters to check against. + * + * @return bool True if the image has usable measurements, false if not. + */ + private static function has_usable_dimensions( $dimensions, $usable_dimensions ) { + foreach ( [ 'width', 'height' ] as $param ) { + $minimum = $usable_dimensions[ 'min_' . $param ]; + $maximum = $usable_dimensions[ 'max_' . $param ]; + + $current = $dimensions[ $param ]; + if ( ( $current < $minimum ) || ( $current > $maximum ) ) { + return false; + } + } + + return true; + } + + /** + * Gets the post's first usable content image. Null if none is available. + * + * @param int|null $post_id The post id. + * + * @return string|null The image URL. + */ + public static function get_first_usable_content_image_for_post( $post_id = null ) { + $post = get_post( $post_id ); + + // We know get_post() returns the post or null. + if ( ! $post ) { + return null; + } + + $image_finder = new WPSEO_Content_Images(); + $images = $image_finder->get_images( $post->ID, $post ); + + return self::get_first_image( $images ); + } + + /** + * Gets the term's first usable content image. Null if none is available. + * + * @param int $term_id The term id. + * + * @return string|null The image URL. + */ + public static function get_first_content_image_for_term( $term_id ) { + $term_description = term_description( $term_id ); + + // We know term_description() returns a string which may be empty. + if ( $term_description === '' ) { + return null; + } + + $image_finder = new WPSEO_Content_Images(); + $images = $image_finder->get_images_from_content( $term_description ); + + return self::get_first_image( $images ); + } + + /** + * Retrieves an attachment ID for an image uploaded in the settings. + * + * Due to self::get_attachment_by_url returning 0 instead of false. + * 0 is also a possibility when no ID is available. + * + * @param string $setting The setting the image is stored in. + * + * @return int|bool The attachment id, or false or 0 if no ID is available. + */ + public static function get_attachment_id_from_settings( $setting ) { + $image_id = WPSEO_Options::get( $setting . '_id', false ); + if ( $image_id ) { + return $image_id; + } + + $image = WPSEO_Options::get( $setting, false ); + if ( $image ) { + // There is not an option to put a URL in an image field in the settings anymore, only to upload it through the media manager. + // This means an attachment always exists, so doing this is only needed once. + $image_id = self::get_attachment_by_url( $image ); + } + + // Only store a new ID if it is not 0, to prevent an update loop. + if ( $image_id ) { + WPSEO_Options::set( $setting . '_id', $image_id ); + } + + return $image_id; + } + + /** + * Retrieves the first possible image url from an array of images. + * + * @param array $images The array to extract image url from. + * + * @return string|null The extracted image url when found, null when not found. + */ + protected static function get_first_image( $images ) { + if ( ! is_array( $images ) ) { + return null; + } + + $images = array_filter( $images ); + if ( empty( $images ) ) { + return null; + } + + return reset( $images ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-installation.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-installation.php new file mode 100644 index 00000000..71f6a1a9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-installation.php @@ -0,0 +1,48 @@ +is_first_install(); + + if ( $is_first_install && WPSEO_Utils::is_api_available() ) { + add_action( 'wpseo_activate', [ $this, 'set_first_install_options' ] ); + } + } + + /** + * When the option doesn't exist, it should be a new install. + * + * @return bool + */ + private function is_first_install() { + return ( get_option( 'wpseo' ) === false ); + } + + /** + * Sets the options on first install for showing the installation notice and disabling of the settings pages. + * + * @return void + */ + public function set_first_install_options() { + $options = get_option( 'wpseo' ); + + $options['show_onboarding_notice'] = true; + $options['first_activated_on'] = time(); + + update_option( 'wpseo', $options ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php new file mode 100644 index 00000000..54d6dc91 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php @@ -0,0 +1,1086 @@ + (string) field type. i.e. text / textarea / checkbox / + * radio / select / multiselect / upload etc. + * (required) 'title' => (string) table row title. + * (recommended) 'default_value' => (string|array) default value for the field. + * IMPORTANT: + * - if the field has options, the default has to be the + * key of one of the options. + * - if the field is a text field, the default **has** to be + * an empty string as otherwise the user can't save + * an empty value/delete the meta value. + * - if the field is a checkbox, the only valid values + * are 'on' or 'off'. + * (semi-required) 'options' => (array) options for used with (multi-)select and radio + * fields, required if that's the field type. + * key = (string) value which will be saved to db. + * value = (string) text label for the option. + * (optional) 'autocomplete' => (bool) whether autocomplete is on for text fields, + * defaults to true. + * (optional) 'class' => (string) classname(s) to add to the actual tag. + * (optional) 'description' => (string) description to show underneath the field. + * (optional) 'expl' => (string) label for a checkbox. + * (optional) 'help' => (string) help text to show on mouse over ? image. + * (optional) 'rows' => (int) number of rows for a textarea, defaults to 3. + * (optional) 'placeholder' => (string) Currently only used by add-on plugins. + * (optional) 'serialized' => (bool) whether the value is expected to be serialized, + * i.e. an array or object, defaults to false. + * Currently only used by add-on plugins. + */ + public static $meta_fields = [ + 'general' => [ + 'focuskw' => [ + 'type' => 'hidden', + 'title' => '', + ], + 'title' => [ + 'type' => 'hidden', + 'title' => '', // Translation added later. + 'default_value' => '', + 'description' => '', // Translation added later. + 'help' => '', // Translation added later. + ], + 'metadesc' => [ + 'type' => 'hidden', + 'title' => '', // Translation added later. + 'default_value' => '', + 'class' => 'metadesc', + 'rows' => 2, + 'description' => '', // Translation added later. + 'help' => '', // Translation added later. + ], + 'linkdex' => [ + 'type' => 'hidden', + 'title' => 'linkdex', + 'default_value' => '0', + 'description' => '', + ], + 'content_score' => [ + 'type' => 'hidden', + 'title' => 'content_score', + 'default_value' => '0', + 'description' => '', + ], + 'inclusive_language_score' => [ + 'type' => 'hidden', + 'title' => 'inclusive_language_score', + 'default_value' => '0', + 'description' => '', + ], + 'is_cornerstone' => [ + 'type' => 'hidden', + 'title' => 'is_cornerstone', + 'default_value' => 'false', + 'description' => '', + ], + ], + 'advanced' => [ + 'meta-robots-noindex' => [ + 'type' => 'hidden', + 'title' => '', // Translation added later. + 'default_value' => '0', // = post-type default. + 'options' => [ + '0' => '', // Post type default - translation added later. + '2' => '', // Index - translation added later. + '1' => '', // No-index - translation added later. + ], + ], + 'meta-robots-nofollow' => [ + 'type' => 'hidden', + 'title' => '', // Translation added later. + 'default_value' => '0', // = follow. + 'options' => [ + '0' => '', // Follow - translation added later. + '1' => '', // No-follow - translation added later. + ], + ], + 'meta-robots-adv' => [ + 'type' => 'hidden', + 'title' => '', // Translation added later. + 'default_value' => '', + 'description' => '', // Translation added later. + 'options' => [ + 'noimageindex' => '', // Translation added later. + 'noarchive' => '', // Translation added later. + 'nosnippet' => '', // Translation added later. + ], + ], + 'bctitle' => [ + 'type' => 'hidden', + 'title' => '', // Translation added later. + 'default_value' => '', + 'description' => '', // Translation added later. + ], + 'canonical' => [ + 'type' => 'hidden', + 'title' => '', // Translation added later. + 'default_value' => '', + 'description' => '', // Translation added later. + ], + 'redirect' => [ + 'type' => 'url', + 'title' => '', // Translation added later. + 'default_value' => '', + 'description' => '', // Translation added later. + ], + ], + 'social' => [], + 'schema' => [ + 'schema_page_type' => [ + 'type' => 'hidden', + 'title' => '', + 'options' => Schema_Types::PAGE_TYPES, + ], + 'schema_article_type' => [ + 'type' => 'hidden', + 'title' => '', + 'hide_on_pages' => true, + 'options' => Schema_Types::ARTICLE_TYPES, + ], + ], + /* Fields we should validate & save, but not show on any form. */ + 'non_form' => [ + 'linkdex' => [ + 'type' => null, + 'default_value' => '0', + ], + ], + ]; + + /** + * Helper property - reverse index of the definition array. + * + * Format: [full meta key including prefix] => array + * ['subset'] => (string) primary index + * ['key'] => (string) internal key + * + * @var array + */ + public static $fields_index = []; + + /** + * Helper property - array containing only the defaults in the format: + * [full meta key including prefix] => (string) default value + * + * @var array + */ + public static $defaults = []; + + /** + * Helper property to define the social network meta field definitions - networks. + * + * @var array + */ + private static $social_networks = [ + 'opengraph' => 'opengraph', + 'twitter' => 'twitter', + ]; + + /** + * Helper property to define the social network meta field definitions - fields and their type. + * + * @var array + */ + private static $social_fields = [ + 'title' => 'hidden', + 'description' => 'hidden', + 'image' => 'hidden', + 'image-id' => 'hidden', + ]; + + /** + * Register our actions and filters. + * + * @return void + */ + public static function init() { + foreach ( self::$social_networks as $option => $network ) { + if ( WPSEO_Options::get( $option, false ) === true ) { + foreach ( self::$social_fields as $box => $type ) { + self::$meta_fields['social'][ $network . '-' . $box ] = [ + 'type' => $type, + 'title' => '', // Translation added later. + 'default_value' => '', + 'description' => '', // Translation added later. + ]; + } + } + } + unset( $option, $network, $box, $type ); + + /** + * Allow add-on plugins to register their meta fields for management by this class. + * Calls to add_filter() must be made before plugins_loaded prio 14. + */ + $extra_fields = apply_filters( 'add_extra_wpseo_meta_fields', [] ); + if ( is_array( $extra_fields ) ) { + self::$meta_fields = self::array_merge_recursive_distinct( $extra_fields, self::$meta_fields ); + } + unset( $extra_fields ); + + foreach ( self::$meta_fields as $subset => $field_group ) { + foreach ( $field_group as $key => $field_def ) { + + register_meta( + 'post', + self::$meta_prefix . $key, + [ 'sanitize_callback' => [ self::class, 'sanitize_post_meta' ] ] + ); + + // Set the $fields_index property for efficiency. + self::$fields_index[ self::$meta_prefix . $key ] = [ + 'subset' => $subset, + 'key' => $key, + ]; + + // Set the $defaults property for efficiency. + if ( isset( $field_def['default_value'] ) ) { + self::$defaults[ self::$meta_prefix . $key ] = $field_def['default_value']; + } + else { + // Meta will always be a string, so let's make the meta meta default also a string. + self::$defaults[ self::$meta_prefix . $key ] = ''; + } + } + } + unset( $subset, $field_group, $key, $field_def ); + + self::filter_schema_article_types(); + + add_filter( 'update_post_metadata', [ self::class, 'remove_meta_if_default' ], 10, 5 ); + add_filter( 'add_post_metadata', [ self::class, 'dont_save_meta_if_default' ], 10, 4 ); + } + + /** + * Retrieve the meta box form field definitions for the given tab and post type. + * + * @param string $tab Tab for which to retrieve the field definitions. + * @param string $post_type Post type of the current post. + * + * @return array Array containing the meta box field definitions. + */ + public static function get_meta_field_defs( $tab, $post_type = 'post' ) { + if ( ! isset( self::$meta_fields[ $tab ] ) ) { + return []; + } + + $field_defs = self::$meta_fields[ $tab ]; + + switch ( $tab ) { + case 'non-form': + // Prevent non-form fields from being passed to forms. + $field_defs = []; + break; + + case 'advanced': + global $post; + + if ( ! WPSEO_Capability_Utils::current_user_can( 'wpseo_edit_advanced_metadata' ) && WPSEO_Options::get( 'disableadvanced_meta' ) ) { + return []; + } + + $post_type = ''; + if ( isset( $post->post_type ) ) { + $post_type = $post->post_type; + } + elseif ( ! isset( $post->post_type ) && isset( $_GET['post_type'] ) ) { + $post_type = sanitize_text_field( $_GET['post_type'] ); + } + + if ( $post_type === '' ) { + return []; + } + + /* Adjust the no-index text strings based on the post type. */ + $post_type_object = get_post_type_object( $post_type ); + + $field_defs['meta-robots-noindex']['title'] = sprintf( $field_defs['meta-robots-noindex']['title'], $post_type_object->labels->singular_name ); + $field_defs['meta-robots-noindex']['options']['0'] = sprintf( $field_defs['meta-robots-noindex']['options']['0'], ( ( WPSEO_Options::get( 'noindex-' . $post_type, false ) === true ) ? $field_defs['meta-robots-noindex']['options']['1'] : $field_defs['meta-robots-noindex']['options']['2'] ), $post_type_object->label ); + $field_defs['meta-robots-nofollow']['title'] = sprintf( $field_defs['meta-robots-nofollow']['title'], $post_type_object->labels->singular_name ); + + /* Don't show the breadcrumb title field if breadcrumbs aren't enabled. */ + if ( WPSEO_Options::get( 'breadcrumbs-enable', false ) !== true && ! current_theme_supports( 'yoast-seo-breadcrumbs' ) ) { + unset( $field_defs['bctitle'] ); + } + + if ( empty( $post->ID ) || ( ! empty( $post->ID ) && self::get_value( 'redirect', $post->ID ) === '' ) ) { + unset( $field_defs['redirect'] ); + } + break; + + case 'schema': + if ( ! WPSEO_Capability_Utils::current_user_can( 'wpseo_edit_advanced_metadata' ) && WPSEO_Options::get( 'disableadvanced_meta' ) ) { + return []; + } + + $field_defs['schema_page_type']['default'] = WPSEO_Options::get( 'schema-page-type-' . $post_type ); + + $article_helper = new Article_Helper(); + if ( $article_helper->is_article_post_type( $post_type ) ) { + $default_schema_article_type = WPSEO_Options::get( 'schema-article-type-' . $post_type ); + + /** This filter is documented in inc/options/class-wpseo-option-titles.php */ + $allowed_article_types = apply_filters( 'wpseo_schema_article_types', Schema_Types::ARTICLE_TYPES ); + + if ( ! array_key_exists( $default_schema_article_type, $allowed_article_types ) ) { + $default_schema_article_type = WPSEO_Options::get_default( 'wpseo_titles', 'schema-article-type-' . $post_type ); + } + $field_defs['schema_article_type']['default'] = $default_schema_article_type; + } + else { + unset( $field_defs['schema_article_type'] ); + } + + break; + } + + /** + * Filter the WPSEO metabox form field definitions for a tab. + * {tab} can be 'general', 'advanced' or 'social'. + * + * @param array $field_defs Metabox form field definitions. + * @param string $post_type Post type of the post the metabox is for, defaults to 'post'. + * + * @return array + */ + return apply_filters( 'wpseo_metabox_entries_' . $tab, $field_defs, $post_type ); + } + + /** + * Validate the post meta values. + * + * @param mixed $meta_value The new value. + * @param string $meta_key The full meta key (including prefix). + * + * @return string Validated meta value. + */ + public static function sanitize_post_meta( $meta_value, $meta_key ) { + $field_def = self::$meta_fields[ self::$fields_index[ $meta_key ]['subset'] ][ self::$fields_index[ $meta_key ]['key'] ]; + $clean = self::$defaults[ $meta_key ]; + + switch ( true ) { + case ( $meta_key === self::$meta_prefix . 'linkdex' ): + $int = WPSEO_Utils::validate_int( $meta_value ); + if ( $int !== false && $int >= 0 ) { + $clean = strval( $int ); // Convert to string to make sure default check works. + } + break; + + case ( $field_def['type'] === 'checkbox' ): + // Only allow value if it's one of the predefined options. + if ( in_array( $meta_value, [ 'on', 'off' ], true ) ) { + $clean = $meta_value; + } + break; + + case ( $field_def['type'] === 'select' || $field_def['type'] === 'radio' ): + // Only allow value if it's one of the predefined options. + if ( isset( $field_def['options'][ $meta_value ] ) ) { + $clean = $meta_value; + } + break; + + case ( $field_def['type'] === 'hidden' && $meta_key === self::$meta_prefix . 'meta-robots-adv' ): + $clean = self::validate_meta_robots_adv( $meta_value ); + break; + + case ( $field_def['type'] === 'url' || $meta_key === self::$meta_prefix . 'canonical' ): + // Validate as url(-part). + $url = WPSEO_Utils::sanitize_url( $meta_value ); + if ( $url !== '' ) { + $clean = $url; + } + break; + + case ( $field_def['type'] === 'upload' && in_array( $meta_key, [ self::$meta_prefix . 'opengraph-image', self::$meta_prefix . 'twitter-image' ], true ) ): + // Validate as url. + $url = WPSEO_Utils::sanitize_url( $meta_value, [ 'http', 'https', 'ftp', 'ftps' ] ); + if ( $url !== '' ) { + $clean = $url; + } + break; + + case ( $field_def['type'] === 'hidden' && $meta_key === self::$meta_prefix . 'is_cornerstone' ): + $clean = $meta_value; + + /* + * This used to be a checkbox, then became a hidden input. + * To make sure the value remains consistent, we cast 'true' to '1'. + */ + if ( $meta_value === 'true' ) { + $clean = '1'; + } + break; + + case ( $field_def['type'] === 'hidden' && isset( $field_def['options'] ) ): + // Only allow value if it's one of the predefined options. + if ( isset( $field_def['options'][ $meta_value ] ) ) { + $clean = $meta_value; + } + break; + + case ( $field_def['type'] === 'textarea' ): + if ( is_string( $meta_value ) ) { + // Remove line breaks and tabs. + // @todo [JRF => Yoast] Verify that line breaks and the likes aren't allowed/recommended in meta header fields. + $meta_value = str_replace( [ "\n", "\r", "\t", ' ' ], ' ', $meta_value ); + $clean = WPSEO_Utils::sanitize_text_field( trim( $meta_value ) ); + } + break; + + case ( $field_def['type'] === 'multiselect' ): + $clean = $meta_value; + break; + + case ( $field_def['type'] === 'text' ): + default: + if ( is_string( $meta_value ) ) { + $clean = WPSEO_Utils::sanitize_text_field( trim( $meta_value ) ); + } + + break; + } + + $clean = apply_filters( 'wpseo_sanitize_post_meta_' . $meta_key, $clean, $meta_value, $field_def, $meta_key ); + + return $clean; + } + + /** + * Validate a meta-robots-adv meta value. + * + * @todo [JRF => Yoast] Verify that this logic for the prioritisation is correct. + * + * @param array|string $meta_value The value to validate. + * + * @return string Clean value. + */ + public static function validate_meta_robots_adv( $meta_value ) { + $clean = self::$meta_fields['advanced']['meta-robots-adv']['default_value']; + $options = self::$meta_fields['advanced']['meta-robots-adv']['options']; + + if ( is_string( $meta_value ) ) { + $meta_value = explode( ',', $meta_value ); + } + + if ( is_array( $meta_value ) && $meta_value !== [] ) { + $meta_value = array_map( 'trim', $meta_value ); + + // Individual selected entries. + $cleaning = []; + foreach ( $meta_value as $value ) { + if ( isset( $options[ $value ] ) ) { + $cleaning[] = $value; + } + } + + if ( $cleaning !== [] ) { + $clean = implode( ',', $cleaning ); + } + unset( $cleaning, $value ); + } + + return $clean; + } + + /** + * Prevent saving of default values and remove potential old value from the database if replaced by a default. + * + * @param bool $check The current status to allow updating metadata for the given type. + * @param int $object_id ID of the current object for which the meta is being updated. + * @param string $meta_key The full meta key (including prefix). + * @param string $meta_value New meta value. + * @param string $prev_value The old meta value. + * + * @return bool|null True = stop saving, null = continue saving. + */ + public static function remove_meta_if_default( $check, $object_id, $meta_key, $meta_value, $prev_value = '' ) { + /* If it's one of our meta fields, check against default. */ + if ( isset( self::$fields_index[ $meta_key ] ) && self::meta_value_is_default( $meta_key, $meta_value ) === true ) { + if ( $prev_value !== '' ) { + delete_post_meta( $object_id, $meta_key, $prev_value ); + } + else { + delete_post_meta( $object_id, $meta_key ); + } + + return true; // Stop saving the value. + } + + return $check; // Go on with the normal execution (update) in meta.php. + } + + /** + * Prevent adding of default values to the database. + * + * @param bool $check The current status to allow adding metadata for the given type. + * @param int $object_id ID of the current object for which the meta is being added. + * @param string $meta_key The full meta key (including prefix). + * @param string $meta_value New meta value. + * + * @return bool|null True = stop saving, null = continue saving. + */ + public static function dont_save_meta_if_default( $check, $object_id, $meta_key, $meta_value ) { + /* If it's one of our meta fields, check against default. */ + if ( isset( self::$fields_index[ $meta_key ] ) && self::meta_value_is_default( $meta_key, $meta_value ) === true ) { + return true; // Stop saving the value. + } + + return $check; // Go on with the normal execution (add) in meta.php. + } + + /** + * Is the given meta value the same as the default value ? + * + * @param string $meta_key The full meta key (including prefix). + * @param mixed $meta_value The value to check. + * + * @return bool + */ + public static function meta_value_is_default( $meta_key, $meta_value ) { + return ( isset( self::$defaults[ $meta_key ] ) && $meta_value === self::$defaults[ $meta_key ] ); + } + + /** + * Get a custom post meta value. + * + * Returns the default value if the meta value has not been set. + * + * {@internal Unfortunately there isn't a filter available to hook into before returning + * the results for get_post_meta(), get_post_custom() and the likes. That + * would have been the preferred solution.}} + * + * @param string $key Internal key of the value to get (without prefix). + * @param int $postid Post ID of the post to get the value for. + * + * @return string All 'normal' values returned from get_post_meta() are strings. + * Objects and arrays are possible, but not used by this plugin + * and therefore discarted (except when the special 'serialized' field def + * value is set to true - only used by add-on plugins for now). + * Will return the default value if no value was found. + * Will return empty string if no default was found (not one of our keys) or + * if the post does not exist. + */ + public static function get_value( $key, $postid = 0 ) { + global $post; + + $postid = absint( $postid ); + if ( $postid === 0 ) { + if ( ( isset( $post ) && is_object( $post ) ) && ( isset( $post->post_status ) && $post->post_status !== 'auto-draft' ) ) { + $postid = $post->ID; + } + else { + return ''; + } + } + + $custom = get_post_custom( $postid ); // Array of strings or empty array. + $table_key = self::$meta_prefix . $key; + + // Populate the field_def using the field_index lookup array. + $field_def = []; + if ( isset( self::$fields_index[ $table_key ] ) ) { + $field_def = self::$meta_fields[ self::$fields_index[ $table_key ]['subset'] ][ self::$fields_index[ $table_key ]['key'] ]; + } + + // Check if we have a custom post meta entry. + if ( isset( $custom[ $table_key ][0] ) ) { + $unserialized = maybe_unserialize( $custom[ $table_key ][0] ); + + // Check if it is already unserialized. + if ( $custom[ $table_key ][0] === $unserialized ) { + return $custom[ $table_key ][0]; + } + + // Check whether we need to unserialize it. + if ( isset( $field_def['serialized'] ) && $field_def['serialized'] === true ) { + // Ok, serialize value expected/allowed. + return $unserialized; + } + } + + // Meta was either not found or found, but object/array while not allowed to be. + if ( isset( self::$defaults[ self::$meta_prefix . $key ] ) ) { + // Update the default value to the current post type. + switch ( $key ) { + case 'schema_page_type': + case 'schema_article_type': + return ''; + } + + return self::$defaults[ self::$meta_prefix . $key ]; + } + + /* + * Shouldn't ever happen, means not one of our keys as there will always be a default available + * for all our keys. + */ + return ''; + } + + /** + * Update a meta value for a post. + * + * @param string $key The internal key of the meta value to change (without prefix). + * @param mixed $meta_value The value to set the meta to. + * @param int $post_id The ID of the post to change the meta for. + * + * @return bool Whether the value was changed. + */ + public static function set_value( $key, $meta_value, $post_id ) { + /* + * Slash the data, because `update_metadata` will unslash it and we have already unslashed it. + * Related issue: https://github.com/Yoast/YoastSEO.js/issues/2158 + */ + $meta_value = wp_slash( $meta_value ); + + return update_post_meta( $post_id, self::$meta_prefix . $key, $meta_value ); + } + + /** + * Deletes a meta value for a post. + * + * @param string $key The internal key of the meta value to change (without prefix). + * @param int $post_id The ID of the post to delete the meta for. + * + * @return bool Whether the delete was successful or not. + */ + public static function delete( $key, $post_id ) { + return delete_post_meta( $post_id, self::$meta_prefix . $key ); + } + + /** + * Used for imports, this functions imports the value of $old_metakey into $new_metakey for those post + * where no WPSEO meta data has been set. + * Optionally deletes the $old_metakey values. + * + * @param string $old_metakey The old key of the meta value. + * @param string $new_metakey The new key, usually the WPSEO meta key (including prefix). + * @param bool $delete_old Whether to delete the old meta key/value-sets. + * + * @return void + */ + public static function replace_meta( $old_metakey, $new_metakey, $delete_old = false ) { + global $wpdb; + + /* + * Get only those rows where no wpseo meta values exist for the same post + * (with the exception of linkdex as that will be set independently of whether the post has been edited). + * + * {@internal Query is pretty well optimized this way.}} + */ + $query = $wpdb->prepare( + " + SELECT `a`.* + FROM {$wpdb->postmeta} AS a + WHERE `a`.`meta_key` = %s + AND NOT EXISTS ( + SELECT DISTINCT `post_id` , count( `meta_id` ) AS count + FROM {$wpdb->postmeta} AS b + WHERE `a`.`post_id` = `b`.`post_id` + AND `meta_key` LIKE %s + AND `meta_key` <> %s + GROUP BY `post_id` + ) + ;", + $old_metakey, + $wpdb->esc_like( self::$meta_prefix . '%' ), + self::$meta_prefix . 'linkdex' + ); + $oldies = $wpdb->get_results( $query ); + + if ( is_array( $oldies ) && $oldies !== [] ) { + foreach ( $oldies as $old ) { + update_post_meta( $old->post_id, $new_metakey, $old->meta_value ); + } + } + + // Delete old keys. + if ( $delete_old === true ) { + delete_post_meta_by_key( $old_metakey ); + } + } + + /** + * General clean-up of the saved meta values. + * - Remove potentially lingering old meta keys; + * - Remove all default and invalid values. + * + * @return void + */ + public static function clean_up() { + global $wpdb; + + /* + * Clean up '_yoast_wpseo_meta-robots'. + * + * Retrieve all '_yoast_wpseo_meta-robots' meta values and convert if no new values found. + * + * {@internal Query is pretty well optimized this way.}} + * + * @todo [JRF => Yoast] Find out all possible values which the old '_yoast_wpseo_meta-robots' could contain + * to convert the data correctly. + */ + $query = $wpdb->prepare( + " + SELECT `a`.* + FROM {$wpdb->postmeta} AS a + WHERE `a`.`meta_key` = %s + AND NOT EXISTS ( + SELECT DISTINCT `post_id` , count( `meta_id` ) AS count + FROM {$wpdb->postmeta} AS b + WHERE `a`.`post_id` = `b`.`post_id` + AND ( `meta_key` = %s + OR `meta_key` = %s ) + GROUP BY `post_id` + ) + ;", + self::$meta_prefix . 'meta-robots', + self::$meta_prefix . 'meta-robots-noindex', + self::$meta_prefix . 'meta-robots-nofollow' + ); + $oldies = $wpdb->get_results( $query ); + + if ( is_array( $oldies ) && $oldies !== [] ) { + foreach ( $oldies as $old ) { + $old_values = explode( ',', $old->meta_value ); + foreach ( $old_values as $value ) { + if ( $value === 'noindex' ) { + update_post_meta( $old->post_id, self::$meta_prefix . 'meta-robots-noindex', 1 ); + } + elseif ( $value === 'nofollow' ) { + update_post_meta( $old->post_id, self::$meta_prefix . 'meta-robots-nofollow', 1 ); + } + } + } + } + unset( $query, $oldies, $old, $old_values, $value ); + + // Delete old keys. + delete_post_meta_by_key( self::$meta_prefix . 'meta-robots' ); + + /* + * Remove all default values and (most) invalid option values. + * Invalid option values for the multiselect (meta-robots-adv) field will be dealt with seperately. + * + * {@internal Some of the defaults have changed in v1.5, but as the defaults will + * be removed and new defaults will now automatically be passed when no + * data found, this update is automatic (as long as we remove the old + * values which we do in the below routine).}} + * + * {@internal Unfortunately we can't use the normal delete_meta() with key/value combination + * as '' (empty string) values will be ignored and would result in all metas + * with that key being deleted, not just the empty fields. + * Still, the below implementation is largely based on the delete_meta() function.}} + */ + $query = []; + + foreach ( self::$meta_fields as $subset => $field_group ) { + foreach ( $field_group as $key => $field_def ) { + if ( ! isset( $field_def['default_value'] ) ) { + continue; + } + + if ( isset( $field_def['options'] ) && is_array( $field_def['options'] ) && $field_def['options'] !== [] ) { + $valid = $field_def['options']; + // Remove the default value from the valid options. + unset( $valid[ $field_def['default_value'] ] ); + $valid = array_keys( $valid ); + + $query[] = $wpdb->prepare( + "( meta_key = %s AND meta_value NOT IN ( '" . implode( "','", esc_sql( $valid ) ) . "' ) )", + self::$meta_prefix . $key + ); + unset( $valid ); + } + elseif ( is_string( $field_def['default_value'] ) && $field_def['default_value'] !== '' ) { + $query[] = $wpdb->prepare( + '( meta_key = %s AND meta_value = %s )', + self::$meta_prefix . $key, + $field_def['default_value'] + ); + } + else { + $query[] = $wpdb->prepare( + "( meta_key = %s AND meta_value = '' )", + self::$meta_prefix . $key + ); + } + } + } + unset( $subset, $field_group, $key, $field_def ); + + $query = "SELECT meta_id FROM {$wpdb->postmeta} WHERE " . implode( ' OR ', $query ) . ';'; + $meta_ids = $wpdb->get_col( $query ); + + if ( is_array( $meta_ids ) && $meta_ids !== [] ) { + // WP native action. + do_action( 'delete_post_meta', $meta_ids, null, null, null ); + + $query = "DELETE FROM {$wpdb->postmeta} WHERE meta_id IN( " . implode( ',', $meta_ids ) . ' )'; + $count = $wpdb->query( $query ); + + if ( $count ) { + foreach ( $meta_ids as $object_id ) { + wp_cache_delete( $object_id, 'post_meta' ); + } + + // WP native action. + do_action( 'deleted_post_meta', $meta_ids, null, null, null ); + } + } + unset( $query, $meta_ids, $count, $object_id ); + + /* + * Deal with the multiselect (meta-robots-adv) field. + * + * Removes invalid option combinations, such as 'none,noarchive'. + * + * Default values have already been removed, so we should have a small result set and + * (hopefully) even smaller set of invalid results. + */ + $query = $wpdb->prepare( + "SELECT meta_id, meta_value FROM {$wpdb->postmeta} WHERE meta_key = %s", + self::$meta_prefix . 'meta-robots-adv' + ); + $oldies = $wpdb->get_results( $query ); + + if ( is_array( $oldies ) && $oldies !== [] ) { + foreach ( $oldies as $old ) { + $clean = self::validate_meta_robots_adv( $old->meta_value ); + + if ( $clean !== $old->meta_value ) { + if ( $clean !== self::$meta_fields['advanced']['meta-robots-adv']['default_value'] ) { + update_metadata_by_mid( 'post', $old->meta_id, $clean ); + } + else { + delete_metadata_by_mid( 'post', $old->meta_id ); + } + } + } + } + unset( $query, $oldies, $old, $clean ); + + do_action( 'wpseo_meta_clean_up' ); + } + + /** + * Recursively merge a variable number of arrays, using the left array as base, + * giving priority to the right array. + * + * Difference with native array_merge_recursive(): + * array_merge_recursive converts values with duplicate keys to arrays rather than + * overwriting the value in the first array with the duplicate value in the second array. + * + * array_merge_recursive_distinct does not change the data types of the values in the arrays. + * Matching keys' values in the second array overwrite those in the first array, as is the + * case with array_merge. + * + * Freely based on information found on http://www.php.net/manual/en/function.array-merge-recursive.php + * + * {@internal Should be moved to a general utility class.}} + * + * @return array + */ + public static function array_merge_recursive_distinct() { + + $arrays = func_get_args(); + if ( count( $arrays ) < 2 ) { + if ( $arrays === [] ) { + return []; + } + else { + return $arrays[0]; + } + } + + $merged = array_shift( $arrays ); + + foreach ( $arrays as $array ) { + foreach ( $array as $key => $value ) { + if ( is_array( $value ) && ( isset( $merged[ $key ] ) && is_array( $merged[ $key ] ) ) ) { + $merged[ $key ] = self::array_merge_recursive_distinct( $merged[ $key ], $value ); + } + else { + $merged[ $key ] = $value; + } + } + unset( $key, $value ); + } + + return $merged; + } + + /** + * Counts the total of all the keywords being used for posts except the given one. + * + * @param string $keyword The keyword to be counted. + * @param int $post_id The id of the post to which the keyword belongs. + * + * @return array + */ + public static function keyword_usage( $keyword, $post_id ) { + + if ( empty( $keyword ) ) { + return []; + } + + /** + * The indexable repository. + * + * @var Indexable_Repository + */ + $repository = YoastSEO()->classes->get( Indexable_Repository::class ); + + $post_ids = $repository->query() + ->select( 'object_id' ) + ->where( 'primary_focus_keyword', $keyword ) + ->where( 'object_type', 'post' ) + ->where_not_equal( 'object_id', $post_id ) + ->where_not_equal( 'post_status', 'trash' ) + ->limit( 2 ) // Limit to 2 results to save time and resources. + ->find_array(); + + // Get object_id from each subarray in $post_ids. + $post_ids = ( is_array( $post_ids ) ) ? array_column( $post_ids, 'object_id' ) : []; + + /* + * If Premium is installed, get the additional keywords as well. + * We only check for the additional keywords if we've not already found two. + * In that case there's no use for an additional query as we already know + * that the keyword has been used multiple times before. + */ + if ( count( $post_ids ) < 2 ) { + /** + * Allows enhancing the array of posts' that share their focus keywords with the post's focus keywords. + * + * @param array $post_ids The array of posts' ids that share their related keywords with the post. + * @param string $keyword The keyword to search for. + * @param int $post_id The id of the post the keyword is associated to. + */ + $post_ids = apply_filters( 'wpseo_posts_for_focus_keyword', $post_ids, $keyword, $post_id ); + } + + return $post_ids; + } + + /** + * Returns the post types for the given post ids. + * + * @param array $post_ids The post ids to get the post types for. + * + * @return array The post types. + */ + public static function post_types_for_ids( $post_ids ) { + + /** + * The indexable repository. + * + * @var Indexable_Repository + */ + $repository = YoastSEO()->classes->get( Indexable_Repository::class ); + + // Check if post ids is not empty. + if ( ! empty( $post_ids ) ) { + // Get the post subtypes for the posts that share the keyword. + $post_types = $repository->query() + ->select( 'object_sub_type' ) + ->where_in( 'object_id', $post_ids ) + ->find_array(); + + // Get object_sub_type from each subarray in $post_ids. + $post_types = array_column( $post_types, 'object_sub_type' ); + } + else { + $post_types = []; + } + + return $post_types; + } + + /** + * Filter the schema article types. + * + * @return void + */ + public static function filter_schema_article_types() { + /** This filter is documented in inc/options/class-wpseo-option-titles.php */ + self::$meta_fields['schema']['schema_article_type']['options'] = apply_filters( 'wpseo_schema_article_types', self::$meta_fields['schema']['schema_article_type']['options'] ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-primary-term.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-primary-term.php new file mode 100644 index 00000000..f5a5ccc2 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-primary-term.php @@ -0,0 +1,86 @@ +taxonomy_name = $taxonomy_name; + $this->post_ID = $post_id; + } + + /** + * Returns the primary term ID. + * + * @return int|bool + */ + public function get_primary_term() { + $primary_term = get_post_meta( $this->post_ID, WPSEO_Meta::$meta_prefix . 'primary_' . $this->taxonomy_name, true ); + + if ( ! $primary_term ) { + return false; + } + + $terms = $this->get_terms(); + + if ( ! in_array( (int) $primary_term, wp_list_pluck( $terms, 'term_id' ), true ) ) { + $primary_term = false; + } + + $primary_term = (int) $primary_term; + return ( $primary_term ) ? ( $primary_term ) : false; + } + + /** + * Sets the new primary term ID. + * + * @param int $new_primary_term New primary term ID. + * + * @return void + */ + public function set_primary_term( $new_primary_term ) { + update_post_meta( $this->post_ID, WPSEO_Meta::$meta_prefix . 'primary_' . $this->taxonomy_name, $new_primary_term ); + } + + /** + * Get the terms for the current post ID. + * When $terms is not an array, set $terms to an array. + * + * @return array + */ + protected function get_terms() { + $terms = get_the_terms( $this->post_ID, $this->taxonomy_name ); + + if ( ! is_array( $terms ) ) { + $terms = []; + } + + return $terms; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-rank.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-rank.php new file mode 100644 index 00000000..e44c1e3c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-rank.php @@ -0,0 +1,338 @@ + [ + 'start' => 0, + 'end' => 0, + ], + self::BAD => [ + 'start' => 1, + 'end' => 40, + ], + self::OK => [ + 'start' => 41, + 'end' => 70, + ], + self::GOOD => [ + 'start' => 71, + 'end' => 100, + ], + ]; + + /** + * The current rank. + * + * @var int + */ + protected $rank; + + /** + * WPSEO_Rank constructor. + * + * @param int $rank The actual rank. + */ + public function __construct( $rank ) { + if ( ! in_array( $rank, self::$ranks, true ) ) { + $rank = self::BAD; + } + + $this->rank = $rank; + } + + /** + * Returns the saved rank for this rank. + * + * @return string + */ + public function get_rank() { + return $this->rank; + } + + /** + * Returns a CSS class for this rank. + * + * @return string + */ + public function get_css_class() { + $labels = [ + self::NO_FOCUS => 'na', + self::NO_INDEX => 'noindex', + self::BAD => 'bad', + self::OK => 'ok', + self::GOOD => 'good', + ]; + + return $labels[ $this->rank ]; + } + + /** + * Returns a label for this rank. + * + * @return string + */ + public function get_label() { + $labels = [ + self::NO_FOCUS => __( 'Not available', 'wordpress-seo' ), + self::NO_INDEX => __( 'No index', 'wordpress-seo' ), + self::BAD => __( 'Needs improvement', 'wordpress-seo' ), + self::OK => __( 'OK', 'wordpress-seo' ), + self::GOOD => __( 'Good', 'wordpress-seo' ), + ]; + + return $labels[ $this->rank ]; + } + + /** + * Returns an inclusive language label for this rank. + * The only difference with get_label above is that we return "Potentially non-inclusive" for an OK rank. + * + * @return string + */ + public function get_inclusive_language_label() { + if ( $this->rank === self::OK ) { + return __( 'Potentially non-inclusive', 'wordpress-seo' ); + } + return $this->get_label(); + } + + /** + * Returns a label for use in a drop down. + * + * @return mixed + */ + public function get_drop_down_label() { + $labels = [ + self::NO_FOCUS => sprintf( + /* translators: %s expands to the SEO score */ + __( 'SEO: %s', 'wordpress-seo' ), + __( 'No Focus Keyphrase', 'wordpress-seo' ) + ), + self::BAD => sprintf( + /* translators: %s expands to the SEO score */ + __( 'SEO: %s', 'wordpress-seo' ), + __( 'Needs improvement', 'wordpress-seo' ) + ), + self::OK => sprintf( + /* translators: %s expands to the SEO score */ + __( 'SEO: %s', 'wordpress-seo' ), + __( 'OK', 'wordpress-seo' ) + ), + self::GOOD => sprintf( + /* translators: %s expands to the SEO score */ + __( 'SEO: %s', 'wordpress-seo' ), + __( 'Good', 'wordpress-seo' ) + ), + self::NO_INDEX => sprintf( + /* translators: %s expands to the SEO score */ + __( 'SEO: %s', 'wordpress-seo' ), + __( 'Post Noindexed', 'wordpress-seo' ) + ), + ]; + + return $labels[ $this->rank ]; + } + + /** + * Gets the drop down labels for the readability score. + * + * @return string The readability rank label. + */ + public function get_drop_down_readability_labels() { + $labels = [ + self::BAD => sprintf( + /* translators: %s expands to the readability score */ + __( 'Readability: %s', 'wordpress-seo' ), + __( 'Needs improvement', 'wordpress-seo' ) + ), + self::OK => sprintf( + /* translators: %s expands to the readability score */ + __( 'Readability: %s', 'wordpress-seo' ), + __( 'OK', 'wordpress-seo' ) + ), + self::GOOD => sprintf( + /* translators: %s expands to the readability score */ + __( 'Readability: %s', 'wordpress-seo' ), + __( 'Good', 'wordpress-seo' ) + ), + ]; + + return $labels[ $this->rank ]; + } + + /** + * Gets the drop down labels for the inclusive language score. + * + * @return string The inclusive language rank label. + */ + public function get_drop_down_inclusive_language_labels() { + $labels = [ + self::BAD => sprintf( + /* translators: %s expands to the inclusive language score */ + __( 'Inclusive language: %s', 'wordpress-seo' ), + __( 'Needs improvement', 'wordpress-seo' ) + ), + self::OK => sprintf( + /* translators: %s expands to the inclusive language score */ + __( 'Inclusive language: %s', 'wordpress-seo' ), + __( 'Potentially non-inclusive', 'wordpress-seo' ) + ), + self::GOOD => sprintf( + /* translators: %s expands to the inclusive language score */ + __( 'Inclusive language: %s', 'wordpress-seo' ), + __( 'Good', 'wordpress-seo' ) + ), + ]; + + return $labels[ $this->rank ]; + } + + /** + * Get the starting score for this rank. + * + * @return int The start score. + */ + public function get_starting_score() { + // No index does not have a starting score. + if ( $this->rank === self::NO_INDEX ) { + return -1; + } + + return self::$ranges[ $this->rank ]['start']; + } + + /** + * Get the ending score for this rank. + * + * @return int The end score. + */ + public function get_end_score() { + // No index does not have an end score. + if ( $this->rank === self::NO_INDEX ) { + return -1; + } + + return self::$ranges[ $this->rank ]['end']; + } + + /** + * Returns a rank for a specific numeric score. + * + * @param int $score The score to determine a rank for. + * + * @return self + */ + public static function from_numeric_score( $score ) { + // Set up the default value. + $rank = new self( self::BAD ); + + foreach ( self::$ranges as $rank_index => $range ) { + if ( $range['start'] <= $score && $score <= $range['end'] ) { + $rank = new self( $rank_index ); + break; + } + } + + return $rank; + } + + /** + * Returns a list of all possible SEO Ranks. + * + * @return WPSEO_Rank[] + */ + public static function get_all_ranks() { + return array_map( [ 'WPSEO_Rank', 'create_rank' ], self::$ranks ); + } + + /** + * Returns a list of all possible Readability Ranks. + * + * @return WPSEO_Rank[] + */ + public static function get_all_readability_ranks() { + return array_map( [ 'WPSEO_Rank', 'create_rank' ], [ self::BAD, self::OK, self::GOOD ] ); + } + + /** + * Returns a list of all possible Inclusive Language Ranks. + * + * @return WPSEO_Rank[] + */ + public static function get_all_inclusive_language_ranks() { + return array_map( [ 'WPSEO_Rank', 'create_rank' ], [ self::BAD, self::OK, self::GOOD ] ); + } + + /** + * Converts a numeric rank into a WPSEO_Rank object, for use in functional array_* functions. + * + * @param string $rank SEO Rank. + * + * @return WPSEO_Rank + */ + private static function create_rank( $rank ) { + return new self( $rank ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-replace-vars.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-replace-vars.php new file mode 100644 index 00000000..5dd81d78 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-replace-vars.php @@ -0,0 +1,1646 @@ + '', + 'name' => '', + 'post_author' => '', + 'post_content' => '', + 'post_date' => '', + 'post_excerpt' => '', + 'post_modified' => '', + 'post_title' => '', + 'taxonomy' => '', + 'term_id' => '', + 'term404' => '', + ]; + + /** + * Current post/page/cpt information. + * + * @var stdClass + */ + protected $args; + + /** + * Help texts for use in WPSEO -> Search appearance tabs. + * + * @var array + */ + protected static $help_texts = []; + + /** + * Register of additional variable replacements registered by other plugins/themes. + * + * @var array + */ + protected static $external_replacements = []; + + /** + * Setup the help texts and external replacements as statics so they will be available to all instances. + * + * @return void + */ + public static function setup_statics_once() { + if ( self::$help_texts === [] ) { + self::set_basic_help_texts(); + self::set_advanced_help_texts(); + } + + if ( self::$external_replacements === [] ) { + /** + * Action: 'wpseo_register_extra_replacements' - Allows for registration of additional + * variables to replace. + */ + do_action( 'wpseo_register_extra_replacements' ); + } + } + + /** + * Register new replacement %%variables%%. + * For use by other plugins/themes to register extra variables. + * + * @see wpseo_register_var_replacement() for a usage example. + * + * @param string $var_to_replace The name of the variable to replace, i.e. '%%var%%'. + * Note: the surrounding %% are optional. + * @param mixed $replace_function Function or method to call to retrieve the replacement value for the variable. + * Uses the same format as add_filter/add_action function parameter and + * should *return* the replacement value. DON'T echo it. + * @param string $type Type of variable: 'basic' or 'advanced', defaults to 'advanced'. + * @param string $help_text Help text to be added to the help tab for this variable. + * + * @return bool Whether the replacement function was succesfully registered. + */ + public static function register_replacement( $var_to_replace, $replace_function, $type = 'advanced', $help_text = '' ) { + $success = false; + + if ( is_string( $var_to_replace ) && $var_to_replace !== '' ) { + $var_to_replace = self::remove_var_delimiter( $var_to_replace ); + + if ( preg_match( '`^[A-Z0-9_-]+$`i', $var_to_replace ) === false ) { + trigger_error( esc_html__( 'A replacement variable can only contain alphanumeric characters, an underscore or a dash. Try renaming your variable.', 'wordpress-seo' ), E_USER_WARNING ); + } + elseif ( strpos( $var_to_replace, 'cf_' ) === 0 || strpos( $var_to_replace, 'ct_' ) === 0 ) { + trigger_error( esc_html__( 'A replacement variable can not start with "%%cf_" or "%%ct_" as these are reserved for the WPSEO standard variable variables for custom fields and custom taxonomies. Try making your variable name unique.', 'wordpress-seo' ), E_USER_WARNING ); + } + elseif ( ! method_exists( self::class, 'retrieve_' . $var_to_replace ) ) { + if ( $var_to_replace !== '' && ! isset( self::$external_replacements[ $var_to_replace ] ) ) { + self::$external_replacements[ $var_to_replace ] = $replace_function; + $replacement_variable = new WPSEO_Replacement_Variable( $var_to_replace, $var_to_replace, $help_text ); + self::register_help_text( $type, $replacement_variable ); + $success = true; + } + else { + trigger_error( esc_html__( 'A replacement variable with the same name has already been registered. Try making your variable name unique.', 'wordpress-seo' ), E_USER_WARNING ); + } + } + else { + trigger_error( esc_html__( 'You cannot overrule a WPSEO standard variable replacement by registering a variable with the same name. Use the "wpseo_replacements" filter instead to adjust the replacement value.', 'wordpress-seo' ), E_USER_WARNING ); + } + } + + return $success; + } + + /** + * Replace `%%variable_placeholders%%` with their real value based on the current requested page/post/cpt/etc. + * + * @param string $text The string to replace the variables in. + * @param array $args The object some of the replacement values might come from, + * could be a post, taxonomy or term. + * @param array $omit Variables that should not be replaced by this function. + * + * @return string + */ + public function replace( $text, $args, $omit = [] ) { + + $text = wp_strip_all_tags( $text ); + + // Let's see if we can bail super early. + if ( strpos( $text, '%%' ) === false ) { + return YoastSEO()->helpers->string->standardize_whitespace( $text ); + } + + $args = (array) $args; + if ( isset( $args['post_content'] ) && ! empty( $args['post_content'] ) ) { + $args['post_content'] = YoastSEO()->helpers->string->strip_shortcode( $args['post_content'] ); + } + if ( isset( $args['post_excerpt'] ) && ! empty( $args['post_excerpt'] ) ) { + $args['post_excerpt'] = YoastSEO()->helpers->string->strip_shortcode( $args['post_excerpt'] ); + } + $this->args = (object) wp_parse_args( $args, $this->defaults ); + + // Clean $omit array. + if ( is_array( $omit ) && $omit !== [] ) { + $omit = array_map( [ self::class, 'remove_var_delimiter' ], $omit ); + } + + $replacements = []; + if ( preg_match_all( '`%%([^%]+(%%single)?)%%?`iu', $text, $matches ) ) { + $replacements = $this->set_up_replacements( $matches, $omit ); + } + + /** + * Filter: 'wpseo_replacements' - Allow customization of the replacements before they are applied. + * + * @param array $replacements The replacements. + * @param array $args The object some of the replacement values might come from, + * could be a post, taxonomy or term. + */ + $replacements = apply_filters( 'wpseo_replacements', $replacements, $this->args ); + + // Do the actual replacements. + if ( is_array( $replacements ) && $replacements !== [] ) { + $text = str_replace( + array_keys( $replacements ), + // Make sure to exclude replacement values that are arrays e.g. coming from a custom field serialized value. + array_filter( array_values( $replacements ), 'is_scalar' ), + $text + ); + } + + /** + * Filter: 'wpseo_replacements_final' - Allow overruling of whether or not to remove placeholders + * which didn't yield a replacement. + * + * @example add_filter( 'wpseo_replacements_final', '__return_false' ); + * + * @param bool $final + */ + if ( apply_filters( 'wpseo_replacements_final', true ) === true && ( isset( $matches[1] ) && is_array( $matches[1] ) ) ) { + // Remove non-replaced variables. + $remove = array_diff( $matches[1], $omit ); // Make sure the $omit variables do not get removed. + $remove = array_map( [ self::class, 'add_var_delimiter' ], $remove ); + $text = str_replace( $remove, '', $text ); + } + + // Undouble separators which have nothing between them, i.e. where a non-replaced variable was removed. + if ( isset( $replacements['%%sep%%'] ) && ( is_string( $replacements['%%sep%%'] ) && $replacements['%%sep%%'] !== '' ) ) { + $q_sep = preg_quote( $replacements['%%sep%%'], '`' ); + $text = preg_replace( '`' . $q_sep . '(?:\s*' . $q_sep . ')*`u', $replacements['%%sep%%'], $text ); + } + + // Remove superfluous whitespace. + $text = YoastSEO()->helpers->string->standardize_whitespace( $text ); + + return $text; + } + + /** + * Register a new replacement variable if it has not been registered already. + * + * @param string $var_to_replace The name of the variable to replace, i.e. '%%var%%'. + * Note: the surrounding %% are optional. + * @param mixed $replace_function Function or method to call to retrieve the replacement value for the variable. + * Uses the same format as add_filter/add_action function parameter and + * should *return* the replacement value. DON'T echo it. + * @param string $type Type of variable: 'basic' or 'advanced', defaults to 'advanced'. + * @param string $help_text Help text to be added to the help tab for this variable. + * + * @return bool `true` if the replace var has been registered, `false` if not. + */ + public function safe_register_replacement( $var_to_replace, $replace_function, $type = 'advanced', $help_text = '' ) { + if ( ! $this->has_been_registered( $var_to_replace ) ) { + return self::register_replacement( $var_to_replace, $replace_function, $type, $help_text ); + } + return false; + } + + /** + * Checks whether the given replacement variable has already been registered or not. + * + * @param string $replacement_variable The replacement variable to check, including the variable delimiter (e.g. `%%var%%`). + * + * @return bool `true` if the replacement variable has already been registered. + */ + public function has_been_registered( $replacement_variable ) { + $replacement_variable = self::remove_var_delimiter( $replacement_variable ); + + return isset( self::$external_replacements[ $replacement_variable ] ); + } + + /** + * Returns the list of hidden replace vars. + * + * E.g. the replace vars that should work, but are not advertised. + * + * @return string[] The list of hidden replace vars. + */ + public function get_hidden_replace_vars() { + return [ + 'currentdate', + 'currentyear', + 'currentmonth', + 'currentday', + 'post_year', + 'post_month', + 'post_day', + 'author_first_name', + 'author_last_name', + 'permalink', + 'post_content', + 'category_title', + ]; + } + + /** + * Retrieve the replacements for the variables found. + * + * @param array $matches Variables found in the original string - regex result. + * @param array $omit Variables that should not be replaced by this function. + * + * @return array Retrieved replacements - this might be a smaller array as some variables + * may not yield a replacement in certain contexts. + */ + private function set_up_replacements( $matches, $omit ) { + + $replacements = []; + + // @todo Figure out a way to deal with external functions starting with cf_/ct_. + foreach ( $matches[1] as $k => $var ) { + + // Don't set up replacements which should be omitted. + if ( in_array( $var, $omit, true ) ) { + continue; + } + + // Deal with variable variable names first. + if ( strpos( $var, 'cf_' ) === 0 ) { + $replacement = $this->retrieve_cf_custom_field_name( $var ); + } + elseif ( strpos( $var, 'ct_desc_' ) === 0 ) { + $replacement = $this->retrieve_ct_desc_custom_tax_name( $var ); + } + elseif ( strpos( $var, 'ct_' ) === 0 ) { + $single = ( isset( $matches[2][ $k ] ) && $matches[2][ $k ] !== '' ); + $replacement = $this->retrieve_ct_custom_tax_name( $var, $single ); + } + // Deal with non-variable variable names. + elseif ( method_exists( $this, 'retrieve_' . $var ) ) { + $method_name = 'retrieve_' . $var; + $replacement = $this->$method_name(); + } + // Deal with externally defined variable names. + elseif ( isset( self::$external_replacements[ $var ] ) && ! is_null( self::$external_replacements[ $var ] ) ) { + $replacement = call_user_func( self::$external_replacements[ $var ], $var, $this->args ); + } + + // Replacement retrievals can return null if no replacement can be determined, root those outs. + if ( isset( $replacement ) ) { + $var = self::add_var_delimiter( $var ); + $replacements[ $var ] = $replacement; + } + unset( $replacement, $single, $method_name ); + } + + return $replacements; + } + + /* *********************** BASIC VARIABLES ************************** */ + + /** + * Retrieve the post/cpt categories (comma separated) for use as replacement string. + * + * @return string|null + */ + private function retrieve_category() { + $replacement = null; + + if ( ! empty( $this->args->ID ) ) { + $cat = $this->get_terms( $this->args->ID, 'category' ); + if ( $cat !== '' ) { + return $cat; + } + } + + if ( isset( $this->args->cat_name ) && ! empty( $this->args->cat_name ) ) { + $replacement = $this->args->cat_name; + } + + return $replacement; + } + + /** + * Retrieve the category description for use as replacement string. + * + * @return string|null + */ + private function retrieve_category_description() { + return $this->retrieve_term_description(); + } + + /** + * Retrieve the date of the post/page/cpt for use as replacement string. + * + * @return string|null + */ + private function retrieve_date() { + $replacement = null; + + if ( $this->args->post_date !== '' ) { + // Returns a string. + $replacement = YoastSEO()->helpers->date->format_translated( $this->args->post_date, get_option( 'date_format' ) ); + } + elseif ( get_query_var( 'day' ) && get_query_var( 'day' ) !== '' ) { + // Returns a string. + $replacement = get_the_date(); + } + elseif ( single_month_title( ' ', false ) && single_month_title( ' ', false ) !== '' ) { + // Returns a string. + $replacement = single_month_title( ' ', false ); + } + elseif ( get_query_var( 'year' ) !== '' ) { + // Returns an integer, let's cast to string. + $replacement = (string) get_query_var( 'year' ); + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt excerpt for use as replacement string. + * The excerpt will be auto-generated if it does not exist. + * + * @return string|null + */ + private function retrieve_excerpt() { + $replacement = null; + $locale = get_locale(); + + // Japanese doesn't have a jp_JP variant in WP. + $limit = ( $locale === 'ja' ) ? 80 : 156; + + // The check `post_password_required` is because excerpt must be hidden for a post with a password. + if ( ! empty( $this->args->ID ) && ! post_password_required( $this->args->ID ) ) { + if ( $this->args->post_excerpt !== '' ) { + $replacement = wp_strip_all_tags( $this->args->post_excerpt ); + } + elseif ( $this->args->post_content !== '' ) { + $content = strip_shortcodes( $this->args->post_content ); + $content = wp_strip_all_tags( $content ); + + if ( mb_strlen( $content ) <= $limit ) { + return $content; + } + + $replacement = wp_html_excerpt( $content, $limit ); + + // Check if the description has space and trim the auto-generated string to a word boundary. + if ( strrpos( $replacement, ' ' ) ) { + $replacement = substr( $replacement, 0, strrpos( $replacement, ' ' ) ); + } + } + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt excerpt for use as replacement string (without auto-generation). + * + * @return string|null + */ + private function retrieve_excerpt_only() { + $replacement = null; + + // The check `post_password_required` is because excerpt must be hidden for a post with a password. + if ( ! empty( $this->args->ID ) && $this->args->post_excerpt !== '' && ! post_password_required( $this->args->ID ) ) { + $replacement = wp_strip_all_tags( $this->args->post_excerpt ); + } + + return $replacement; + } + + /** + * Retrieve the title of the parent page of the current page/cpt for use as replacement string. + * Only applicable for hierarchical post types. + * + * @todo Check: shouldn't this use $this->args as well ? + * + * @return string|null + */ + private function retrieve_parent_title() { + $replacement = null; + + if ( ! empty( $this->args->ID ) ) { + $parent_id = wp_get_post_parent_id( $this->args->ID ); + if ( $parent_id ) { + $replacement = get_the_title( $parent_id ); + } + } + + return $replacement; + } + + /** + * Retrieve the current search phrase for use as replacement string. + * + * @return string|null + */ + private function retrieve_searchphrase() { + $replacement = null; + + $search = get_query_var( 's' ); + if ( $search !== '' ) { + $replacement = esc_html( $search ); + } + + return $replacement; + } + + /** + * Retrieve the separator for use as replacement string. + * + * @return string Retrieves the title separator. + */ + private function retrieve_sep() { + return YoastSEO()->helpers->options->get_title_separator(); + } + + /** + * Retrieve the site's tag line / description for use as replacement string. + * + * The `$replacement` variable is static because it doesn't change depending + * on the context. See https://github.com/Yoast/wordpress-seo/pull/1172#issuecomment-46019482. + * + * @return string|null + */ + private function retrieve_sitedesc() { + static $replacement; + + if ( ! isset( $replacement ) ) { + $description = wp_strip_all_tags( get_bloginfo( 'description' ) ); + if ( $description !== '' ) { + $replacement = $description; + } + } + + return $replacement; + } + + /** + * Retrieve the site's name for use as replacement string. + * + * The `$replacement` variable is static because it doesn't change depending + * on the context. See https://github.com/Yoast/wordpress-seo/pull/1172#issuecomment-46019482. + * + * @return string|null + */ + private function retrieve_sitename() { + static $replacement; + + if ( ! isset( $replacement ) ) { + $sitename = YoastSEO()->helpers->site->get_site_name(); + if ( $sitename !== '' ) { + $replacement = $sitename; + } + } + + return $replacement; + } + + /** + * Retrieve the current tag/tags for use as replacement string. + * + * @return string|null + */ + private function retrieve_tag() { + $replacement = null; + + if ( ! empty( $this->args->ID ) ) { + $tags = $this->get_terms( $this->args->ID, 'post_tag' ); + if ( $tags !== '' ) { + $replacement = $tags; + } + } + + return $replacement; + } + + /** + * Retrieve the tag description for use as replacement string. + * + * @return string|null + */ + private function retrieve_tag_description() { + return $this->retrieve_term_description(); + } + + /** + * Retrieve the term description for use as replacement string. + * + * @return string|null + */ + private function retrieve_term_description() { + $replacement = null; + + if ( ! empty( $this->args->term_id ) && ! empty( $this->args->taxonomy ) ) { + $term_desc = get_term_field( 'description', $this->args->term_id, $this->args->taxonomy ); + if ( $term_desc !== '' ) { + $replacement = wp_strip_all_tags( $term_desc ); + } + } + + return $replacement; + } + + /** + * Retrieve the term name for use as replacement string. + * + * @return string|null + */ + private function retrieve_term_title() { + $replacement = null; + + if ( ! empty( $this->args->taxonomy ) && ! empty( $this->args->name ) ) { + $replacement = $this->args->name; + } + + return $replacement; + } + + /** + * Retrieve the title of the post/page/cpt for use as replacement string. + * + * @return string|null + */ + private function retrieve_title() { + $replacement = null; + + if ( is_string( $this->args->post_title ) && $this->args->post_title !== '' ) { + $replacement = $this->args->post_title; + } + + return $replacement; + } + + /** + * Retrieve primary category for use as replacement string. + * + * @return bool|int|null + */ + private function retrieve_primary_category() { + $primary_category = null; + + if ( ! empty( $this->args->ID ) ) { + $wpseo_primary_category = new WPSEO_Primary_Term( 'category', $this->args->ID ); + + $term_id = $wpseo_primary_category->get_primary_term(); + $term = get_term( $term_id ); + + if ( ! is_wp_error( $term ) && ! empty( $term ) ) { + $primary_category = $term->name; + } + } + + return $primary_category; + } + + /** + * Retrieve the string generated by get_the_archive_title(). + * + * @return string|null + */ + private function retrieve_archive_title() { + return get_the_archive_title(); + } + + /* *********************** ADVANCED VARIABLES ************************** */ + + /** + * Determine the page numbering of the current post/page/cpt. + * + * @param string $request Either 'nr'|'max' - whether to return the page number or the max number of pages. + * + * @return int|null + */ + private function determine_pagenumbering( $request = 'nr' ) { + global $wp_query, $post; + $max_num_pages = null; + $page_number = null; + + $max_num_pages = 1; + + if ( ! is_singular() ) { + $page_number = get_query_var( 'paged' ); + if ( $page_number === 0 || $page_number === '' ) { + $page_number = 1; + } + + if ( ! empty( $wp_query->max_num_pages ) ) { + $max_num_pages = $wp_query->max_num_pages; + } + } + else { + $page_number = get_query_var( 'page' ); + if ( $page_number === 0 || $page_number === '' ) { + $page_number = 1; + } + + if ( isset( $post->post_content ) ) { + $max_num_pages = ( substr_count( $post->post_content, '' ) + 1 ); + } + } + + $return = null; + + switch ( $request ) { + case 'nr': + $return = $page_number; + break; + case 'max': + $return = $max_num_pages; + break; + } + + return $return; + } + + /** + * Determine the post type names for the current post/page/cpt. + * + * @param string $request Either 'single'|'plural' - whether to return the single or plural form. + * + * @return string|null + */ + private function determine_pt_names( $request = 'single' ) { + global $wp_query; + $pt_single = null; + $pt_plural = null; + $post_type = ''; + + if ( isset( $wp_query->query_vars['post_type'] ) && ( ( is_string( $wp_query->query_vars['post_type'] ) && $wp_query->query_vars['post_type'] !== '' ) || ( is_array( $wp_query->query_vars['post_type'] ) && $wp_query->query_vars['post_type'] !== [] ) ) ) { + $post_type = $wp_query->query_vars['post_type']; + } + elseif ( isset( $this->args->post_type ) && ( is_string( $this->args->post_type ) && $this->args->post_type !== '' ) ) { + $post_type = $this->args->post_type; + } + else { + // Make it work in preview mode. + $post = $wp_query->get_queried_object(); + if ( $post instanceof WP_Post ) { + $post_type = $post->post_type; + } + } + + if ( is_array( $post_type ) ) { + $post_type = reset( $post_type ); + } + + if ( $post_type !== '' ) { + $pt = get_post_type_object( $post_type ); + $pt_single = $pt->name; + $pt_plural = $pt->name; + if ( isset( $pt->labels->singular_name ) ) { + $pt_single = $pt->labels->singular_name; + } + if ( isset( $pt->labels->name ) ) { + $pt_plural = $pt->labels->name; + } + } + + $return = null; + + switch ( $request ) { + case 'single': + $return = $pt_single; + break; + case 'plural': + $return = $pt_plural; + break; + } + + return $return; + } + + /** + * Retrieve the attachment caption for use as replacement string. + * + * @return string|null + */ + private function retrieve_caption() { + return $this->retrieve_excerpt_only(); + } + + /** + * Retrieve a post/page/cpt's custom field value for use as replacement string. + * + * @param string $var_to_replace The complete variable to replace which includes the name of + * the custom field which value is to be retrieved. + * + * @return string|null + */ + private function retrieve_cf_custom_field_name( $var_to_replace ) { + $replacement = null; + + if ( is_string( $var_to_replace ) && $var_to_replace !== '' ) { + $field = substr( $var_to_replace, 3 ); + if ( ! empty( $this->args->ID ) ) { + // Post meta can be arrays and in this case we need to exclude them. + $name = get_post_meta( $this->args->ID, $field, true ); + if ( $name !== '' && ! is_array( $name ) ) { + $replacement = $name; + } + } + elseif ( ! empty( $this->args->term_id ) ) { + $name = get_term_meta( $this->args->term_id, $field, true ); + if ( $name !== '' ) { + $replacement = $name; + } + } + } + + return $replacement; + } + + /** + * Retrieve a post/page/cpt's custom taxonomies for use as replacement string. + * + * @param string $var_to_replace The complete variable to replace which includes the name of + * the custom taxonomy which value(s) is to be retrieved. + * @param bool $single Whether to retrieve only the first or all values for the taxonomy. + * + * @return string|null + */ + private function retrieve_ct_custom_tax_name( $var_to_replace, $single = false ) { + $replacement = null; + + if ( ( is_string( $var_to_replace ) && $var_to_replace !== '' ) && ! empty( $this->args->ID ) ) { + $tax = substr( $var_to_replace, 3 ); + $name = $this->get_terms( $this->args->ID, $tax, $single ); + if ( $name !== '' ) { + $replacement = $name; + } + } + + return $replacement; + } + + /** + * Retrieve a post/page/cpt's custom taxonomies description for use as replacement string. + * + * @param string $var_to_replace The complete variable to replace which includes the name of + * the custom taxonomy which description is to be retrieved. + * + * @return string|null + */ + private function retrieve_ct_desc_custom_tax_name( $var_to_replace ) { + $replacement = null; + + if ( is_string( $var_to_replace ) && $var_to_replace !== '' ) { + $tax = substr( $var_to_replace, 8 ); + if ( ! empty( $this->args->ID ) ) { + $terms = get_the_terms( $this->args->ID, $tax ); + if ( is_array( $terms ) && $terms !== [] ) { + $term = current( $terms ); + $term_desc = get_term_field( 'description', $term->term_id, $tax ); + if ( $term_desc !== '' ) { + $replacement = wp_strip_all_tags( $term_desc ); + } + } + } + } + + return $replacement; + } + + /** + * Retrieve the current date for use as replacement string. + * + * The `$replacement` variable is static because it doesn't change depending + * on the context. See https://github.com/Yoast/wordpress-seo/pull/1172#issuecomment-46019482. + * + * @return string The formatted current date. + */ + private function retrieve_currentdate() { + static $replacement; + + if ( ! isset( $replacement ) ) { + $replacement = date_i18n( get_option( 'date_format' ) ); + } + + return $replacement; + } + + /** + * Retrieve the current day for use as replacement string. + * + * The `$replacement` variable is static because it doesn't change depending + * on the context. See https://github.com/Yoast/wordpress-seo/pull/1172#issuecomment-46019482. + * + * @return string The current day. + */ + private function retrieve_currentday() { + static $replacement; + + if ( ! isset( $replacement ) ) { + $replacement = date_i18n( 'j' ); + } + + return $replacement; + } + + /** + * Retrieve the current month for use as replacement string. + * + * The `$replacement` variable is static because it doesn't change depending + * on the context. See https://github.com/Yoast/wordpress-seo/pull/1172#issuecomment-46019482. + * + * @return string The current month. + */ + private function retrieve_currentmonth() { + static $replacement; + + if ( ! isset( $replacement ) ) { + $replacement = date_i18n( 'F' ); + } + + return $replacement; + } + + /** + * Retrieve the current time for use as replacement string. + * + * The `$replacement` variable is static because it doesn't change depending + * on the context. See https://github.com/Yoast/wordpress-seo/pull/1172#issuecomment-46019482. + * + * @return string The formatted current time. + */ + private function retrieve_currenttime() { + static $replacement; + + if ( ! isset( $replacement ) ) { + $replacement = date_i18n( get_option( 'time_format' ) ); + } + + return $replacement; + } + + /** + * Retrieve the current year for use as replacement string. + * + * The `$replacement` variable is static because it doesn't change depending + * on the context. See https://github.com/Yoast/wordpress-seo/pull/1172#issuecomment-46019482. + * + * @return string The current year. + */ + private function retrieve_currentyear() { + static $replacement; + + if ( ! isset( $replacement ) ) { + $replacement = date_i18n( 'Y' ); + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt's focus keyword for use as replacement string. + * + * @return string|null + */ + private function retrieve_focuskw() { + // Retrieve focuskw from a Post. + if ( ! empty( $this->args->ID ) ) { + $focus_kw = WPSEO_Meta::get_value( 'focuskw', $this->args->ID ); + if ( $focus_kw !== '' ) { + return $focus_kw; + } + + return null; + } + + // Retrieve focuskw from a Term. + if ( ! empty( $this->args->term_id ) ) { + $focus_kw = WPSEO_Taxonomy_Meta::get_term_meta( $this->args->term_id, $this->args->taxonomy, 'focuskw' ); + if ( $focus_kw !== '' ) { + return $focus_kw; + } + } + + return null; + } + + /** + * Retrieve the post/page/cpt ID for use as replacement string. + * + * @return string|null + */ + private function retrieve_id() { + $replacement = null; + + if ( ! empty( $this->args->ID ) ) { + // The post/page/cpt ID is an integer, let's cast to string. + $replacement = (string) $this->args->ID; + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt modified time for use as replacement string. + * + * @return string|null + */ + private function retrieve_modified() { + $replacement = null; + + if ( ! empty( $this->args->post_modified ) ) { + $replacement = YoastSEO()->helpers->date->format_translated( $this->args->post_modified, get_option( 'date_format' ) ); + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt author's "nice name" for use as replacement string. + * + * @return string|null + */ + private function retrieve_name() { + $replacement = null; + + $user_id = (int) $this->retrieve_userid(); + $name = get_the_author_meta( 'display_name', $user_id ); + if ( $name !== '' ) { + $replacement = $name; + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt author's users description for use as a replacement string. + * + * @return string|null + */ + private function retrieve_user_description() { + $replacement = null; + + $user_id = (int) $this->retrieve_userid(); + $description = get_the_author_meta( 'description', $user_id ); + if ( $description !== '' ) { + $replacement = $description; + } + + return $replacement; + } + + /** + * Retrieve the current page number with context (i.e. 'page 2 of 4') for use as replacement string. + * + * @return string + */ + private function retrieve_page() { + $replacement = null; + + $max = $this->determine_pagenumbering( 'max' ); + $nr = $this->determine_pagenumbering( 'nr' ); + $sep = $this->retrieve_sep(); + + if ( $max > 1 && $nr > 1 ) { + /* translators: 1: current page number, 2: total number of pages. */ + $replacement = sprintf( $sep . ' ' . __( 'Page %1$d of %2$d', 'wordpress-seo' ), $nr, $max ); + } + + return $replacement; + } + + /** + * Retrieve the current page number for use as replacement string. + * + * @return string|null + */ + private function retrieve_pagenumber() { + $replacement = null; + + $nr = $this->determine_pagenumbering( 'nr' ); + if ( isset( $nr ) && $nr > 0 ) { + $replacement = (string) $nr; + } + + return $replacement; + } + + /** + * Retrieve the current page total for use as replacement string. + * + * @return string|null + */ + private function retrieve_pagetotal() { + $replacement = null; + + $max = $this->determine_pagenumbering( 'max' ); + if ( isset( $max ) && $max > 0 ) { + $replacement = (string) $max; + } + + return $replacement; + } + + /** + * Retrieve the post type plural label for use as replacement string. + * + * @return string|null + */ + private function retrieve_pt_plural() { + $replacement = null; + + $name = $this->determine_pt_names( 'plural' ); + if ( isset( $name ) && $name !== '' ) { + $replacement = $name; + } + + return $replacement; + } + + /** + * Retrieve the post type single label for use as replacement string. + * + * @return string|null + */ + private function retrieve_pt_single() { + $replacement = null; + + $name = $this->determine_pt_names( 'single' ); + if ( isset( $name ) && $name !== '' ) { + $replacement = $name; + } + + return $replacement; + } + + /** + * Retrieve the slug which caused the 404 for use as replacement string. + * + * @return string|null + */ + private function retrieve_term404() { + $replacement = null; + + if ( $this->args->term404 !== '' ) { + $replacement = sanitize_text_field( str_replace( '-', ' ', $this->args->term404 ) ); + } + else { + $error_request = get_query_var( 'pagename' ); + if ( $error_request !== '' ) { + $replacement = sanitize_text_field( str_replace( '-', ' ', $error_request ) ); + } + else { + $error_request = get_query_var( 'name' ); + if ( $error_request !== '' ) { + $replacement = sanitize_text_field( str_replace( '-', ' ', $error_request ) ); + } + } + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt author's user id for use as replacement string. + * + * @return string + */ + private function retrieve_userid() { + // The user ID is an integer, let's cast to string. + $replacement = ! empty( $this->args->post_author ) ? (string) $this->args->post_author : (string) get_query_var( 'author' ); + + return $replacement; + } + + /** + * Retrieve the post/page/cpt's published year for use as replacement string. + * + * @return string|null + */ + private function retrieve_post_year() { + if ( empty( $this->args->ID ) ) { + return null; + } + + return get_the_date( 'Y', $this->args->ID ); + } + + /** + * Retrieve the post/page/cpt's published month for use as replacement string. + * + * @return string|null + */ + private function retrieve_post_month() { + if ( empty( $this->args->ID ) ) { + return null; + } + + return get_the_date( 'F', $this->args->ID ); + } + + /** + * Retrieve the post/page/cpt's published day for use as replacement string. + * + * @return string|null + */ + private function retrieve_post_day() { + if ( empty( $this->args->ID ) ) { + return null; + } + + return get_the_date( 'd', $this->args->ID ); + } + + /** + * Retrieve the post/page/cpt author's first name for use as replacement string. + * + * @return string|null + */ + private function retrieve_author_first_name() { + $replacement = null; + + $user_id = (int) $this->retrieve_userid(); + $name = get_the_author_meta( 'first_name', $user_id ); + if ( $name !== '' ) { + $replacement = $name; + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt author's last name for use as replacement string. + * + * @return string|null + */ + private function retrieve_author_last_name() { + $replacement = null; + + $user_id = (int) $this->retrieve_userid(); + $name = get_the_author_meta( 'last_name', $user_id ); + if ( $name !== '' ) { + $replacement = $name; + } + + return $replacement; + } + + /** + * Retrieve the post/page/cpt permalink for use as replacement string. + * + * @return string|null + */ + private function retrieve_permalink() { + if ( empty( $this->args->ID ) ) { + return null; + } + + return get_permalink( $this->args->ID ); + } + + /** + * Retrieve the post/page/cpt content for use as replacement string. + * + * @return string|null + */ + private function retrieve_post_content() { + $replacement = null; + + // The check `post_password_required` is because content must be hidden for a post with a password. + if ( ! empty( $this->args->ID ) && $this->args->post_content !== '' && ! post_password_required( $this->args->ID ) ) { + $content = strip_shortcodes( $this->args->post_content ); + $replacement = wp_strip_all_tags( $content ); + } + + return $replacement; + } + + /** + * Retrieve the current or first category title. To be used for import data from AIOSEO. + * The code derives from AIOSEO's way of dealing with that var, so we can ensure 100% seamless transition. + * + * @return string|null + */ + private function retrieve_category_title() { + if ( empty( $this->args ) || empty( $this->args->ID ) ) { + return null; + } + $post_id = $this->args->ID; + + $post = get_post( $post_id ); + $taxonomies = get_object_taxonomies( $post, 'objects' ); + + foreach ( $taxonomies as $taxonomy_slug => $taxonomy ) { + if ( ! $taxonomy->hierarchical ) { + continue; + } + $post_terms = get_the_terms( $post_id, $taxonomy_slug ); + if ( is_array( $post_terms ) && count( $post_terms ) > 0 ) { + // AiOSEO takes the name of whatever the first hierarchical taxonomy is. + $term = $post_terms[0]; + if ( $term ) { + return $term->name; + } + } + } + + return null; + } + + /* *********************** HELP TEXT RELATED ************************** */ + + /** + * Set the help text for a user/plugin/theme defined extra variable. + * + * @param string $type Type of variable: 'basic' or 'advanced'. + * @param WPSEO_Replacement_Variable $replacement_variable The replacement variable to register. + * + * @return void + */ + private static function register_help_text( $type, WPSEO_Replacement_Variable $replacement_variable ) { + $identifier = $replacement_variable->get_variable(); + + if ( ( is_string( $type ) && in_array( $type, [ 'basic', 'advanced' ], true ) ) + && ( $identifier !== '' && ! isset( self::$help_texts[ $type ][ $identifier ] ) ) + ) { + self::$help_texts[ $type ][ $identifier ] = $replacement_variable; + } + } + + /** + * Generates a list of replacement variables based on the help texts. + * + * @return array List of replace vars. + */ + public function get_replacement_variables_with_labels() { + self::setup_statics_once(); + + $custom_variables = []; + foreach ( array_merge( WPSEO_Custom_Fields::get_custom_fields(), WPSEO_Custom_Taxonomies::get_custom_taxonomies() ) as $custom_variable ) { + $custom_variables[ $custom_variable ] = new WPSEO_Replacement_Variable( $custom_variable, $this->get_label( $custom_variable ), '' ); + } + + $replacement_variables = array_filter( + array_merge( self::$help_texts['basic'], self::$help_texts['advanced'] ), + [ $this, 'is_not_prefixed' ], + ARRAY_FILTER_USE_KEY + ); + + $hidden = $this->get_hidden_replace_vars(); + + return array_values( + array_map( + static function ( WPSEO_Replacement_Variable $replacement_variable ) use ( $hidden ) { + $name = $replacement_variable->get_variable(); + + return [ + 'name' => $name, + 'value' => '', + 'label' => $replacement_variable->get_label(), + 'hidden' => in_array( $name, $hidden, true ), + ]; + }, + array_merge( $replacement_variables, $custom_variables ) + ) + ); + } + + /** + * Generates a list of replacement variables based on the help texts. + * + * @return array List of replace vars. + */ + public function get_replacement_variables_list() { + self::setup_statics_once(); + + $replacement_variables = array_merge( + $this->get_replacement_variables(), + WPSEO_Custom_Fields::get_custom_fields(), + WPSEO_Custom_Taxonomies::get_custom_taxonomies() + ); + + return array_map( [ $this, 'format_replacement_variable' ], $replacement_variables ); + } + + /** + * Creates a merged associative array of both the basic and advanced help texts. + * + * @return array Array with the replacement variables. + */ + private function get_replacement_variables() { + $help_texts = array_merge( self::$help_texts['basic'], self::$help_texts['advanced'] ); + + return array_filter( array_keys( $help_texts ), [ $this, 'is_not_prefixed' ] ); + } + + /** + * Checks whether the replacement variable contains a `ct_` or `cf_` prefix, because they follow different logic. + * + * @param string $replacement_variable The replacement variable. + * + * @return bool True when the replacement variable is not prefixed. + */ + private function is_not_prefixed( $replacement_variable ) { + $prefixes = [ 'cf_', 'ct_' ]; + $prefix = $this->get_prefix( $replacement_variable ); + + return ! in_array( $prefix, $prefixes, true ); + } + + /** + * Strip the prefix from a replacement variable name. + * + * @param string $replacement_variable The replacement variable. + * + * @return string The replacement variable name without the prefix. + */ + private function strip_prefix( $replacement_variable ) { + return substr( $replacement_variable, 3 ); + } + + /** + * Gets the prefix from a replacement variable name. + * + * @param string $replacement_variable The replacement variable. + * + * @return string The prefix of the replacement variable. + */ + private function get_prefix( $replacement_variable ) { + return substr( $replacement_variable, 0, 3 ); + } + + /** + * Strips 'desc_' if present, and appends ' description' at the end. + * + * @param string $label The replacement variable. + * + * @return string The altered replacement variable name. + */ + private function handle_description( $label ) { + if ( strpos( $label, 'desc_' ) === 0 ) { + return substr( $label, 5 ) . ' description'; + } + + return $label; + } + + /** + * Creates a label for prefixed replacement variables that matches the format in the editors. + * + * @param string $replacement_variable The replacement variable. + * + * @return string The replacement variable label. + */ + private function get_label( $replacement_variable ) { + $prefix = $this->get_prefix( $replacement_variable ); + if ( $prefix === 'cf_' ) { + return $this->strip_prefix( $replacement_variable ) . ' (custom field)'; + } + + if ( $prefix === 'ct_' ) { + $label = $this->strip_prefix( $replacement_variable ); + $label = $this->handle_description( $label ); + return ucfirst( $label . ' (custom taxonomy)' ); + } + + if ( $prefix === 'pt_' ) { + if ( $replacement_variable === 'pt_single' ) { + return 'Post type (singular)'; + } + + return 'Post type (plural)'; + } + + return ''; + } + + /** + * Formats the replacement variables. + * + * @param string $replacement_variable The replacement variable to format. + * + * @return array The formatted replacement variable. + */ + private function format_replacement_variable( $replacement_variable ) { + return [ + 'name' => $replacement_variable, + 'value' => '', + 'label' => $this->get_label( $replacement_variable ), + ]; + } + + /** + * Set/translate the help texts for the WPSEO standard basic variables. + * + * @return void + */ + private static function set_basic_help_texts() { + /* translators: %s: wp_title() function. */ + $separator_description = __( 'The separator defined in your theme\'s %s tag.', 'wordpress-seo' ); + $separator_description = sprintf( + $separator_description, + // 'wp_title()' + 'wp_title()' + ); + + $replacement_variables = [ + new WPSEO_Replacement_Variable( 'date', __( 'Date', 'wordpress-seo' ), __( 'Replaced with the date of the post/page', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'title', __( 'Title', 'wordpress-seo' ), __( 'Replaced with the title of the post/page', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'parent_title', __( 'Parent title', 'wordpress-seo' ), __( 'Replaced with the title of the parent page of the current page', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'archive_title', __( 'Archive title', 'wordpress-seo' ), __( 'Replaced with the normal title for an archive generated by WordPress', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'sitename', __( 'Site title', 'wordpress-seo' ), __( 'The site\'s name', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'sitedesc', __( 'Tagline', 'wordpress-seo' ), __( 'The site\'s tagline', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'excerpt', __( 'Excerpt', 'wordpress-seo' ), __( 'Replaced with the post/page excerpt (or auto-generated if it does not exist)', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'excerpt_only', __( 'Excerpt only', 'wordpress-seo' ), __( 'Replaced with the post/page excerpt (without auto-generation)', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'tag', __( 'Tag', 'wordpress-seo' ), __( 'Replaced with the current tag/tags', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'category', __( 'Category', 'wordpress-seo' ), __( 'Replaced with the post categories (comma separated)', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'primary_category', __( 'Primary category', 'wordpress-seo' ), __( 'Replaced with the primary category of the post/page', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'category_description', __( 'Category description', 'wordpress-seo' ), __( 'Replaced with the category description', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'tag_description', __( 'Tag description', 'wordpress-seo' ), __( 'Replaced with the tag description', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'term_description', __( 'Term description', 'wordpress-seo' ), __( 'Replaced with the term description', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'term_title', __( 'Term title', 'wordpress-seo' ), __( 'Replaced with the term name', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'searchphrase', __( 'Search phrase', 'wordpress-seo' ), __( 'Replaced with the current search phrase', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'term_hierarchy', __( 'Term hierarchy', 'wordpress-seo' ), __( 'Replaced with the term ancestors hierarchy', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'sep', __( 'Separator', 'wordpress-seo' ), $separator_description ), + new WPSEO_Replacement_Variable( 'currentdate', __( 'Current date', 'wordpress-seo' ), __( 'Replaced with the current date', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'currentyear', __( 'Current year', 'wordpress-seo' ), __( 'Replaced with the current year', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'currentmonth', __( 'Current month', 'wordpress-seo' ), __( 'Replaced with the current month', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'currentday', __( 'Current day', 'wordpress-seo' ), __( 'Replaced with the current day', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'post_year', __( 'Post year', 'wordpress-seo' ), __( 'Replaced with the year the post was published', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'post_month', __( 'Post month', 'wordpress-seo' ), __( 'Replaced with the month the post was published', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'post_day', __( 'Post day', 'wordpress-seo' ), __( 'Replaced with the day the post was published', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'author_first_name', __( 'Author first name', 'wordpress-seo' ), __( 'Replaced with the first name of the author', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'author_last_name', __( 'Author last name', 'wordpress-seo' ), __( 'Replaced with the last name of the author', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'permalink', __( 'Permalink', 'wordpress-seo' ), __( 'Replaced with the permalink', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'post_content', __( 'Post Content', 'wordpress-seo' ), __( 'Replaced with the post content', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'category_title', __( 'Category Title', 'wordpress-seo' ), __( 'Current or first category title', 'wordpress-seo' ) ), + ]; + + foreach ( $replacement_variables as $replacement_variable ) { + self::register_help_text( 'basic', $replacement_variable ); + } + } + + /** + * Set/translate the help texts for the WPSEO standard advanced variables. + * + * @return void + */ + private static function set_advanced_help_texts() { + $replacement_variables = [ + new WPSEO_Replacement_Variable( 'pt_single', __( 'Post type (singular)', 'wordpress-seo' ), __( 'Replaced with the content type single label', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'pt_plural', __( 'Post type (plural)', 'wordpress-seo' ), __( 'Replaced with the content type plural label', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'modified', __( 'Modified', 'wordpress-seo' ), __( 'Replaced with the post/page modified time', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'id', __( 'ID', 'wordpress-seo' ), __( 'Replaced with the post/page ID', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'name', __( 'Name', 'wordpress-seo' ), __( 'Replaced with the post/page author\'s \'nicename\'', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'user_description', __( 'User description', 'wordpress-seo' ), __( 'Replaced with the post/page author\'s \'Biographical Info\'', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'page', __( 'Page', 'wordpress-seo' ), __( 'Replaced with the current page number with context (i.e. page 2 of 4)', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'pagetotal', __( 'Pagetotal', 'wordpress-seo' ), __( 'Replaced with the current page total', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'pagenumber', __( 'Pagenumber', 'wordpress-seo' ), __( 'Replaced with the current page number', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'caption', __( 'Caption', 'wordpress-seo' ), __( 'Attachment caption', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'focuskw', __( 'Focus keyword', 'wordpress-seo' ), __( 'Replaced with the posts focus keyphrase', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'term404', __( 'Term404', 'wordpress-seo' ), __( 'Replaced with the slug which caused the 404', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'cf_', ' ' . __( '(custom field)', 'wordpress-seo' ), __( 'Replaced with a posts custom field value', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'ct_', ' ' . __( '(custom taxonomy)', 'wordpress-seo' ), __( 'Replaced with a posts custom taxonomies, comma separated.', 'wordpress-seo' ) ), + new WPSEO_Replacement_Variable( 'ct_desc_', ' ' . __( 'description (custom taxonomy)', 'wordpress-seo' ), __( 'Replaced with a custom taxonomies description', 'wordpress-seo' ) ), + ]; + + foreach ( $replacement_variables as $replacement_variable ) { + self::register_help_text( 'advanced', $replacement_variable ); + } + } + + /* *********************** GENERAL HELPER METHODS ************************** */ + + /** + * Remove the '%%' delimiters from a variable string. + * + * @param string $text Variable string to be cleaned. + * + * @return string + */ + private static function remove_var_delimiter( $text ) { + return trim( $text, '%' ); + } + + /** + * Add the '%%' delimiters to a variable string. + * + * @param string $text Variable string to be delimited. + * + * @return string + */ + private static function add_var_delimiter( $text ) { + return '%%' . $text . '%%'; + } + + /** + * Retrieve a post's terms, comma delimited. + * + * @param int $id ID of the post to get the terms for. + * @param string $taxonomy The taxonomy to get the terms for this post from. + * @param bool $return_single If true, return the first term. + * + * @return string Either a single term or a comma delimited string of terms. + */ + public function get_terms( $id, $taxonomy, $return_single = false ) { + $output = ''; + + // If we're on a specific tag, category or taxonomy page, use that. + if ( ! empty( $this->args->term_id ) ) { + $output = $this->args->name; + } + elseif ( ! empty( $id ) && ! empty( $taxonomy ) ) { + $terms = get_the_terms( $id, $taxonomy ); + if ( is_array( $terms ) && $terms !== [] ) { + foreach ( $terms as $term ) { + if ( $return_single ) { + $output = $term->name; + break; + } + else { + $output .= $term->name . ', '; + } + } + $output = rtrim( trim( $output ), ',' ); + } + } + unset( $terms, $term ); + + /** + * Allows filtering of the terms list used to replace %%category%%, %%tag%% + * and %%ct_%% variables. + * + * @param string $output Comma-delimited string containing the terms. + * @param string $taxonomy The taxonomy of the terms. + */ + return apply_filters( 'wpseo_terms', $output, $taxonomy ); + } + + /** + * Gets a taxonomy term hierarchy including the term to get the parents for. + * + * @return string + */ + private function get_term_hierarchy() { + if ( ! is_taxonomy_hierarchical( $this->args->taxonomy ) ) { + return ''; + } + + $separator = ' ' . $this->retrieve_sep() . ' '; + + $args = [ + 'format' => 'name', + 'separator' => $separator, + 'link' => false, + 'inclusive' => true, + ]; + + return rtrim( + get_term_parents_list( $this->args->term_id, $this->args->taxonomy, $args ), + $separator + ); + } + + /** + * Retrieves the term ancestors hierarchy. + * + * @return string|null The term ancestors hierarchy. + */ + private function retrieve_term_hierarchy() { + $replacement = null; + + if ( ! empty( $this->args->term_id ) && ! empty( $this->args->taxonomy ) ) { + $hierarchy = $this->get_term_hierarchy(); + + if ( $hierarchy !== '' ) { + $replacement = esc_html( $hierarchy ); + } + } + + return $replacement; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-replacement-variable.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-replacement-variable.php new file mode 100644 index 00000000..83dfc8c5 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-replacement-variable.php @@ -0,0 +1,76 @@ +variable = $variable; + $this->label = $label; + $this->description = $description; + } + + /** + * Returns the variable to use. + * + * @return string + */ + public function get_variable() { + return $this->variable; + } + + /** + * Returns the label of the replacement variable. + * + * @return string + */ + public function get_label() { + return $this->label; + } + + /** + * Returns the description of the replacement variable. + * + * @return string + */ + public function get_description() { + return $this->description; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-shortlinker.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-shortlinker.php new file mode 100644 index 00000000..8c2fd0d9 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-shortlinker.php @@ -0,0 +1,54 @@ +helpers->short_link->build( $url ); + } + + /** + * Returns a version of the URL with a utm_content with the current version. + * + * @param string $url The URL to build upon. + * + * @return string The final URL. + */ + public static function get( $url ) { + return YoastSEO()->helpers->short_link->get( $url ); + } + + /** + * Echoes a version of the URL with a utm_content with the current version. + * + * @param string $url The URL to build upon. + * + * @return void + */ + public static function show( $url ) { + YoastSEO()->helpers->short_link->show( $url ); + } + + /** + * Gets the shortlink's query params. + * + * @return array The shortlink's query params. + */ + public static function get_query_params() { + return YoastSEO()->helpers->short_link->get_query_params(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-statistics.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-statistics.php new file mode 100644 index 00000000..687b8fab --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-statistics.php @@ -0,0 +1,62 @@ +get_rank() === WPSEO_Rank::NO_FOCUS ) { + $posts = [ + 'meta_query' => [ + 'relation' => 'OR', + [ + 'key' => WPSEO_Meta::$meta_prefix . 'focuskw', + 'value' => 'needs-a-value-anyway', + 'compare' => 'NOT EXISTS', + ], + ], + ]; + } + elseif ( $rank->get_rank() === WPSEO_Rank::NO_INDEX ) { + $posts = [ + 'meta_key' => WPSEO_Meta::$meta_prefix . 'meta-robots-noindex', + 'meta_value' => '1', + 'compare' => '=', + ]; + } + else { + $posts = [ + 'meta_key' => WPSEO_Meta::$meta_prefix . 'linkdex', + 'meta_value' => [ $rank->get_starting_score(), $rank->get_end_score() ], + 'meta_compare' => 'BETWEEN', + 'meta_type' => 'NUMERIC', + ]; + } + + $posts['fields'] = 'ids'; + $posts['post_status'] = 'publish'; + + if ( current_user_can( 'edit_others_posts' ) === false ) { + $posts['author'] = get_current_user_id(); + } + + $posts = new WP_Query( $posts ); + + return (int) $posts->found_posts; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php new file mode 100644 index 00000000..e3c1940a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php @@ -0,0 +1,1103 @@ +helpers->url->is_relative( $url ); + } + + /** + * Recursively trim whitespace round a string value or of string values within an array. + * Only trims strings to avoid typecasting a variable (to string). + * + * @since 1.8.0 + * + * @param mixed $value Value to trim or array of values to trim. + * + * @return mixed Trimmed value or array of trimmed values. + */ + public static function trim_recursive( $value ) { + if ( is_string( $value ) ) { + $value = trim( $value ); + } + elseif ( is_array( $value ) ) { + $value = array_map( [ self::class, 'trim_recursive' ], $value ); + } + + return $value; + } + + /** + * Emulate the WP native sanitize_text_field function in a %%variable%% safe way. + * + * Sanitize a string from user input or from the db. + * + * - Check for invalid UTF-8; + * - Convert single < characters to entity; + * - Strip all tags; + * - Remove line breaks, tabs and extra white space; + * - Strip octets - BUT DO NOT REMOVE (part of) VARIABLES WHICH WILL BE REPLACED. + * + * @link https://core.trac.wordpress.org/browser/trunk/src/wp-includes/formatting.php for the original. + * + * @since 1.8.0 + * + * @param string $value String value to sanitize. + * + * @return string + */ + public static function sanitize_text_field( $value ) { + $filtered = wp_check_invalid_utf8( $value ); + + if ( strpos( $filtered, '<' ) !== false ) { + $filtered = wp_pre_kses_less_than( $filtered ); + // This will strip extra whitespace for us. + $filtered = wp_strip_all_tags( $filtered, true ); + } + else { + $filtered = trim( preg_replace( '`[\r\n\t ]+`', ' ', $filtered ) ); + } + + $found = false; + while ( preg_match( '`[^%](%[a-f0-9]{2})`i', $filtered, $match ) ) { + $filtered = str_replace( $match[1], '', $filtered ); + $found = true; + } + unset( $match ); + + if ( $found ) { + // Strip out the whitespace that may now exist after removing the octets. + $filtered = trim( preg_replace( '` +`', ' ', $filtered ) ); + } + + /** + * Filter a sanitized text field string. + * + * @since WP 2.9.0 + * + * @param string $filtered The sanitized string. + * @param string $str The string prior to being sanitized. + */ + return apply_filters( 'sanitize_text_field', $filtered, $value ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals -- Using WP native filter. + } + + /** + * Sanitize a url for saving to the database. + * Not to be confused with the old native WP function. + * + * @since 1.8.0 + * + * @param string $value String URL value to sanitize. + * @param array $allowed_protocols Optional set of allowed protocols. + * + * @return string + */ + public static function sanitize_url( $value, $allowed_protocols = [ 'http', 'https' ] ) { + + $url = ''; + $parts = wp_parse_url( $value ); + + if ( isset( $parts['scheme'], $parts['host'] ) ) { + $url = $parts['scheme'] . '://'; + + if ( isset( $parts['user'] ) ) { + $url .= rawurlencode( $parts['user'] ); + $url .= isset( $parts['pass'] ) ? ':' . rawurlencode( $parts['pass'] ) : ''; + $url .= '@'; + } + + $parts['host'] = preg_replace( + '`[^a-z0-9-.:\[\]\\x80-\\xff]`', + '', + strtolower( $parts['host'] ) + ); + + $url .= $parts['host'] . ( isset( $parts['port'] ) ? ':' . intval( $parts['port'] ) : '' ); + } + + if ( isset( $parts['path'] ) && strpos( $parts['path'], '/' ) === 0 ) { + $path = explode( '/', wp_strip_all_tags( $parts['path'] ) ); + $path = self::sanitize_encoded_text_field( $path ); + $url .= str_replace( '%40', '@', implode( '/', $path ) ); + } + + if ( ! $url ) { + return ''; + } + + if ( isset( $parts['query'] ) ) { + wp_parse_str( $parts['query'], $parsed_query ); + + $parsed_query = array_combine( + self::sanitize_encoded_text_field( array_keys( $parsed_query ) ), + self::sanitize_encoded_text_field( array_values( $parsed_query ) ) + ); + + $url = add_query_arg( $parsed_query, $url ); + } + + if ( isset( $parts['fragment'] ) ) { + $url .= '#' . self::sanitize_encoded_text_field( $parts['fragment'] ); + } + + if ( strpos( $url, '%' ) !== false ) { + $url = preg_replace_callback( + '`%[a-fA-F0-9]{2}`', + static function ( $octects ) { + return strtolower( $octects[0] ); + }, + $url + ); + } + + return esc_url_raw( $url, $allowed_protocols ); + } + + /** + * Decode, sanitize and encode the array of strings or the string. + * + * @since 13.3 + * + * @param array|string $value The value to sanitize and encode. + * + * @return array|string The sanitized value. + */ + public static function sanitize_encoded_text_field( $value ) { + if ( is_array( $value ) ) { + return array_map( [ self::class, 'sanitize_encoded_text_field' ], $value ); + } + + return rawurlencode( sanitize_text_field( rawurldecode( $value ) ) ); + } + + /** + * Validate a value as boolean. + * + * @since 1.8.0 + * + * @param mixed $value Value to validate. + * + * @return bool + */ + public static function validate_bool( $value ) { + if ( ! isset( self::$has_filters ) ) { + self::$has_filters = extension_loaded( 'filter' ); + } + + if ( self::$has_filters ) { + return filter_var( $value, FILTER_VALIDATE_BOOLEAN ); + } + else { + return self::emulate_filter_bool( $value ); + } + } + + /** + * Cast a value to bool. + * + * @since 1.8.0 + * + * @param mixed $value Value to cast. + * + * @return bool + */ + public static function emulate_filter_bool( $value ) { + $true = [ + '1', + 'true', + 'True', + 'TRUE', + 'y', + 'Y', + 'yes', + 'Yes', + 'YES', + 'on', + 'On', + 'ON', + ]; + $false = [ + '0', + 'false', + 'False', + 'FALSE', + 'n', + 'N', + 'no', + 'No', + 'NO', + 'off', + 'Off', + 'OFF', + ]; + + if ( is_bool( $value ) ) { + return $value; + } + elseif ( is_int( $value ) && ( $value === 0 || $value === 1 ) ) { + return (bool) $value; + } + elseif ( ( is_float( $value ) && ! is_nan( $value ) ) && ( $value === (float) 0 || $value === (float) 1 ) ) { + return (bool) $value; + } + elseif ( is_string( $value ) ) { + $value = trim( $value ); + if ( in_array( $value, $true, true ) ) { + return true; + } + elseif ( in_array( $value, $false, true ) ) { + return false; + } + else { + return false; + } + } + + return false; + } + + /** + * Validate a value as integer. + * + * @since 1.8.0 + * + * @param mixed $value Value to validate. + * + * @return int|bool Int or false in case of failure to convert to int. + */ + public static function validate_int( $value ) { + if ( ! isset( self::$has_filters ) ) { + self::$has_filters = extension_loaded( 'filter' ); + } + + if ( self::$has_filters ) { + return filter_var( $value, FILTER_VALIDATE_INT ); + } + else { + return self::emulate_filter_int( $value ); + } + } + + /** + * Cast a value to integer. + * + * @since 1.8.0 + * + * @param mixed $value Value to cast. + * + * @return int|bool + */ + public static function emulate_filter_int( $value ) { + if ( is_int( $value ) ) { + return $value; + } + elseif ( is_float( $value ) ) { + // phpcs:ignore Universal.Operators.StrictComparisons -- Purposeful loose comparison. + if ( (int) $value == $value && ! is_nan( $value ) ) { + return (int) $value; + } + else { + return false; + } + } + elseif ( is_string( $value ) ) { + $value = trim( $value ); + if ( $value === '' ) { + return false; + } + elseif ( ctype_digit( $value ) ) { + return (int) $value; + } + elseif ( strpos( $value, '-' ) === 0 && ctype_digit( substr( $value, 1 ) ) ) { + return (int) $value; + } + else { + return false; + } + } + + return false; + } + + /** + * Clears the WP or W3TC cache depending on which is used. + * + * @since 1.8.0 + * + * @return void + */ + public static function clear_cache() { + if ( function_exists( 'w3tc_pgcache_flush' ) ) { + w3tc_pgcache_flush(); + } + elseif ( function_exists( 'wp_cache_clear_cache' ) ) { + wp_cache_clear_cache(); + } + } + + /** + * Clear rewrite rules. + * + * @since 1.8.0 + * + * @return void + */ + public static function clear_rewrites() { + update_option( 'rewrite_rules', '' ); + } + + /** + * Do simple reliable math calculations without the risk of wrong results. + * + * In the rare case that the bcmath extension would not be loaded, it will return the normal calculation results. + * + * @link http://floating-point-gui.de/ + * @link http://php.net/language.types.float.php See the big red warning. + * + * @since 1.5.0 + * @since 1.8.0 Moved from stand-alone function to this class. + * + * @param mixed $number1 Scalar (string/int/float/bool). + * @param string $action Calculation action to execute. Valid input: + * '+' or 'add' or 'addition', + * '-' or 'sub' or 'subtract', + * '*' or 'mul' or 'multiply', + * '/' or 'div' or 'divide', + * '%' or 'mod' or 'modulus' + * '=' or 'comp' or 'compare'. + * @param mixed $number2 Scalar (string/int/float/bool). + * @param bool $round Whether or not to round the result. Defaults to false. + * Will be disregarded for a compare operation. + * @param int $decimals Decimals for rounding operation. Defaults to 0. + * @param int $precision Calculation precision. Defaults to 10. + * + * @return mixed Calculation Result or false if either or the numbers isn't scalar or + * an invalid operation was passed. + * - For compare the result will always be an integer. + * - For all other operations, the result will either be an integer (preferred) + * or a float. + */ + public static function calc( $number1, $action, $number2, $round = false, $decimals = 0, $precision = 10 ) { + static $bc; + + if ( ! is_scalar( $number1 ) || ! is_scalar( $number2 ) ) { + return false; + } + + if ( ! isset( $bc ) ) { + $bc = extension_loaded( 'bcmath' ); + } + + if ( $bc ) { + $number1 = number_format( $number1, 10, '.', '' ); + $number2 = number_format( $number2, 10, '.', '' ); + } + + $result = null; + $compare = false; + + switch ( $action ) { + case '+': + case 'add': + case 'addition': + $result = ( $bc ) ? bcadd( $number1, $number2, $precision ) /* string */ : ( $number1 + $number2 ); + break; + + case '-': + case 'sub': + case 'subtract': + $result = ( $bc ) ? bcsub( $number1, $number2, $precision ) /* string */ : ( $number1 - $number2 ); + break; + + case '*': + case 'mul': + case 'multiply': + $result = ( $bc ) ? bcmul( $number1, $number2, $precision ) /* string */ : ( $number1 * $number2 ); + break; + + case '/': + case 'div': + case 'divide': + if ( $bc ) { + $result = bcdiv( $number1, $number2, $precision ); // String, or NULL if right_operand is 0. + } + elseif ( $number2 != 0 ) { // phpcs:ignore Universal.Operators.StrictComparisons -- Purposeful loose comparison. + $result = ( $number1 / $number2 ); + } + + if ( ! isset( $result ) ) { + $result = 0; + } + break; + + case '%': + case 'mod': + case 'modulus': + if ( $bc ) { + $result = bcmod( $number1, $number2 ); // String, or NULL if modulus is 0. + } + elseif ( $number2 != 0 ) { // phpcs:ignore Universal.Operators.StrictComparisons -- Purposeful loose comparison. + $result = ( $number1 % $number2 ); + } + + if ( ! isset( $result ) ) { + $result = 0; + } + break; + + case '=': + case 'comp': + case 'compare': + $compare = true; + if ( $bc ) { + $result = bccomp( $number1, $number2, $precision ); // Returns int 0, 1 or -1. + } + else { + // phpcs:ignore Universal.Operators.StrictComparisons -- Purposeful loose comparison. + $result = ( $number1 == $number2 ) ? 0 : ( ( $number1 > $number2 ) ? 1 : -1 ); + } + break; + } + + if ( isset( $result ) ) { + if ( $compare === false ) { + if ( $round === true ) { + $result = round( floatval( $result ), $decimals ); + if ( $decimals === 0 ) { + $result = (int) $result; + } + } + else { + // phpcs:ignore Universal.Operators.StrictComparisons -- Purposeful loose comparison. + $result = ( intval( $result ) == $result ) ? intval( $result ) : floatval( $result ); + } + } + + return $result; + } + + return false; + } + + /** + * Trim whitespace and NBSP (Non-breaking space) from string. + * + * @since 2.0.0 + * + * @param string $text String input to trim. + * + * @return string + */ + public static function trim_nbsp_from_string( $text ) { + $find = [ ' ', chr( 0xC2 ) . chr( 0xA0 ) ]; + $text = str_replace( $find, ' ', $text ); + $text = trim( $text ); + + return $text; + } + + /** + * Check if a string is a valid datetime. + * + * @since 2.0.0 + * + * @param string $datetime String input to check as valid input for DateTime class. + * + * @return bool + */ + public static function is_valid_datetime( $datetime ) { + return YoastSEO()->helpers->date->is_valid_datetime( $datetime ); + } + + /** + * Format the URL to be sure it is okay for using as a redirect url. + * + * This method will parse the URL and combine them in one string. + * + * @since 2.3.0 + * + * @param string $url URL string. + * + * @return mixed + */ + public static function format_url( $url ) { + $parsed_url = wp_parse_url( $url ); + + $formatted_url = ''; + if ( ! empty( $parsed_url['path'] ) ) { + $formatted_url = $parsed_url['path']; + } + + // Prepend a slash if first char != slash. + if ( stripos( $formatted_url, '/' ) !== 0 ) { + $formatted_url = '/' . $formatted_url; + } + + // Append 'query' string if it exists. + if ( ! empty( $parsed_url['query'] ) ) { + $formatted_url .= '?' . $parsed_url['query']; + } + + return apply_filters( 'wpseo_format_admin_url', $formatted_url ); + } + + /** + * Retrieves the sitename. + * + * @since 3.0.0 + * + * @return string + */ + public static function get_site_name() { + return YoastSEO()->helpers->site->get_site_name(); + } + + /** + * Check if the current opened page is a Yoast SEO page. + * + * @since 3.0.0 + * + * @return bool + */ + public static function is_yoast_seo_page() { + return YoastSEO()->helpers->current_page->is_yoast_seo_page(); + } + + /** + * Check if the current opened page belongs to Yoast SEO Free. + * + * @since 3.3.0 + * + * @param string $current_page The current page the user is on. + * + * @return bool + */ + public static function is_yoast_seo_free_page( $current_page ) { + $yoast_seo_free_pages = [ + 'wpseo_dashboard', + 'wpseo_tools', + 'wpseo_search_console', + 'wpseo_licenses', + ]; + + return in_array( $current_page, $yoast_seo_free_pages, true ); + } + + /** + * Determine if Yoast SEO is in development mode? + * + * Inspired by JetPack (https://github.com/Automattic/jetpack/blob/master/class.jetpack.php#L1383-L1406). + * + * @since 3.0.0 + * + * @return bool + */ + public static function is_development_mode() { + $development_mode = false; + + if ( defined( 'YOAST_ENVIRONMENT' ) && YOAST_ENVIRONMENT === 'development' ) { + $development_mode = true; + } + elseif ( defined( 'WPSEO_DEBUG' ) ) { + $development_mode = WPSEO_DEBUG; + } + elseif ( site_url() && strpos( site_url(), '.' ) === false ) { + $development_mode = true; + } + + /** + * Filter the Yoast SEO development mode. + * + * @since 3.0 + * + * @param bool $development_mode Is Yoast SEOs development mode active. + */ + return apply_filters( 'yoast_seo_development_mode', $development_mode ); + } + + /** + * Retrieve home URL with proper trailing slash. + * + * @since 3.3.0 + * + * @param string $path Path relative to home URL. + * @param string|null $scheme Scheme to apply. + * + * @return string Home URL with optional path, appropriately slashed if not. + */ + public static function home_url( $path = '', $scheme = null ) { + return YoastSEO()->helpers->url->home( $path, $scheme ); + } + + /** + * Checks if the WP-REST-API is available. + * + * @since 3.6 + * @since 3.7 Introduced the $minimum_version parameter. + * + * @param string $minimum_version The minimum version the API should be. + * + * @return bool Returns true if the API is available. + */ + public static function is_api_available( $minimum_version = '2.0' ) { + return ( defined( 'REST_API_VERSION' ) + && version_compare( REST_API_VERSION, $minimum_version, '>=' ) ); + } + + /** + * Determine whether or not the metabox should be displayed for a post type. + * + * @param string|null $post_type Optional. The post type to check the visibility of the metabox for. + * + * @return bool Whether or not the metabox should be displayed. + */ + protected static function display_post_type_metabox( $post_type = null ) { + if ( ! isset( $post_type ) ) { + $post_type = get_post_type(); + } + + if ( ! isset( $post_type ) || ! WPSEO_Post_Type::is_post_type_accessible( $post_type ) ) { + return false; + } + + if ( $post_type === 'attachment' && WPSEO_Options::get( 'disable-attachment' ) ) { + return false; + } + + return apply_filters( 'wpseo_enable_editor_features_' . $post_type, WPSEO_Options::get( 'display-metabox-pt-' . $post_type ) ); + } + + /** + * Determine whether or not the metabox should be displayed for a taxonomy. + * + * @param string|null $taxonomy Optional. The post type to check the visibility of the metabox for. + * + * @return bool Whether or not the metabox should be displayed. + */ + protected static function display_taxonomy_metabox( $taxonomy = null ) { + if ( ! isset( $taxonomy ) || ! in_array( $taxonomy, get_taxonomies( [ 'public' => true ], 'names' ), true ) ) { + return false; + } + + return WPSEO_Options::get( 'display-metabox-tax-' . $taxonomy ); + } + + /** + * Determines whether the metabox is active for the given identifier and type. + * + * @param string $identifier The identifier to check for. + * @param string $type The type to check for. + * + * @return bool Whether or not the metabox is active. + */ + public static function is_metabox_active( $identifier, $type ) { + if ( $type === 'post_type' ) { + return self::display_post_type_metabox( $identifier ); + } + + if ( $type === 'taxonomy' ) { + return self::display_taxonomy_metabox( $identifier ); + } + + return false; + } + + /** + * Determines whether the plugin is active for the entire network. + * + * @return bool Whether the plugin is network-active. + */ + public static function is_plugin_network_active() { + return YoastSEO()->helpers->url->is_plugin_network_active(); + } + + /** + * Gets the type of the current post. + * + * @return string The post type, or an empty string. + */ + public static function get_post_type() { + $wp_screen = get_current_screen(); + + if ( $wp_screen !== null && ! empty( $wp_screen->post_type ) ) { + return $wp_screen->post_type; + } + return ''; + } + + /** + * Gets the type of the current page. + * + * @return string Returns 'post' if the current page is a post edit page. Taxonomy in other cases. + */ + public static function get_page_type() { + global $pagenow; + if ( WPSEO_Metabox::is_post_edit( $pagenow ) ) { + return 'post'; + } + + return 'taxonomy'; + } + + /** + * Getter for the Adminl10n array. Applies the wpseo_admin_l10n filter. + * + * @return array The Adminl10n array. + */ + public static function get_admin_l10n() { + $post_type = self::get_post_type(); + $page_type = self::get_page_type(); + + $label_object = false; + $no_index = false; + + if ( $page_type === 'post' ) { + $label_object = get_post_type_object( $post_type ); + $no_index = WPSEO_Options::get( 'noindex-' . $post_type, false ); + } + else { + $label_object = WPSEO_Taxonomy::get_labels(); + + $wp_screen = get_current_screen(); + + if ( $wp_screen !== null && ! empty( $wp_screen->taxonomy ) ) { + $taxonomy_slug = $wp_screen->taxonomy; + $no_index = WPSEO_Options::get( 'noindex-tax-' . $taxonomy_slug, false ); + } + } + + $wpseo_admin_l10n = [ + 'displayAdvancedTab' => WPSEO_Capability_Utils::current_user_can( 'wpseo_edit_advanced_metadata' ) || ! WPSEO_Options::get( 'disableadvanced_meta' ), + 'noIndex' => (bool) $no_index, + 'isPostType' => (bool) get_post_type(), + 'postType' => get_post_type(), + 'postTypeNamePlural' => ( $page_type === 'post' ) ? $label_object->label : $label_object->name, + 'postTypeNameSingular' => ( $page_type === 'post' ) ? $label_object->labels->singular_name : $label_object->singular_name, + 'isBreadcrumbsDisabled' => WPSEO_Options::get( 'breadcrumbs-enable', false ) !== true && ! current_theme_supports( 'yoast-seo-breadcrumbs' ), + // phpcs:ignore Generic.ControlStructures.DisallowYodaConditions -- Bug: squizlabs/PHP_CodeSniffer#2962. + 'isPrivateBlog' => ( (string) get_option( 'blog_public' ) ) === '0', + 'news_seo_is_active' => ( defined( 'WPSEO_NEWS_FILE' ) ), + 'isAiFeatureActive' => (bool) WPSEO_Options::get( 'enable_ai_generator' ), + ]; + + $additional_entries = apply_filters( 'wpseo_admin_l10n', [] ); + if ( is_array( $additional_entries ) ) { + $wpseo_admin_l10n = array_merge( $wpseo_admin_l10n, $additional_entries ); + } + + return $wpseo_admin_l10n; + } + + /** + * Retrieves the analysis worker log level. Defaults to errors only. + * + * Uses bool YOAST_SEO_DEBUG as flag to enable logging. Off equals ERROR. + * Uses string YOAST_SEO_DEBUG_ANALYSIS_WORKER as log level for the Analysis + * Worker. Defaults to INFO. + * Can be: TRACE, DEBUG, INFO, WARN or ERROR. + * + * @return string The log level to use. + */ + public static function get_analysis_worker_log_level() { + if ( defined( 'YOAST_SEO_DEBUG' ) && YOAST_SEO_DEBUG ) { + return defined( 'YOAST_SEO_DEBUG_ANALYSIS_WORKER' ) ? YOAST_SEO_DEBUG_ANALYSIS_WORKER : 'INFO'; + } + + return 'ERROR'; + } + + /** + * Returns the unfiltered home URL. + * + * In case WPML is installed, returns the original home_url and not the WPML version. + * In case of a multisite setup we return the network_home_url. + * + * @codeCoverageIgnore + * + * @return string The home url. + */ + public static function get_home_url() { + return YoastSEO()->helpers->url->network_safe_home_url(); + } + + /** + * Prepares data for outputting as JSON. + * + * @param array $data The data to format. + * + * @return false|string The prepared JSON string. + */ + public static function format_json_encode( $data ) { + $flags = ( JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ); + + if ( self::is_development_mode() ) { + $flags = ( $flags | JSON_PRETTY_PRINT ); + + /** + * Filter the Yoast SEO development mode. + * + * @param array $data Allows filtering of the JSON data for debug purposes. + */ + $data = apply_filters( 'wpseo_debug_json_data', $data ); + } + + // phpcs:ignore Yoast.Yoast.JsonEncodeAlternative.FoundWithAdditionalParams -- This is the definition of format_json_encode. + return wp_json_encode( $data, $flags ); + } + + /** + * Extends the allowed post tags with accessibility-related attributes. + * + * @codeCoverageIgnore + * + * @param array $allowed_post_tags The allowed post tags. + * + * @return array The allowed tags including post tags, input tags and select tags. + */ + public static function extend_kses_post_with_a11y( $allowed_post_tags ) { + static $a11y_tags; + + if ( isset( $a11y_tags ) === false ) { + $a11y_tags = [ + 'button' => [ + 'aria-expanded' => true, + 'aria-controls' => true, + ], + 'div' => [ + 'tabindex' => true, + ], + // Below are attributes that are needed for backwards compatibility (WP < 5.1). + 'span' => [ + 'aria-hidden' => true, + ], + 'input' => [ + 'aria-describedby' => true, + ], + 'select' => [ + 'aria-describedby' => true, + ], + 'textarea' => [ + 'aria-describedby' => true, + ], + ]; + + // Add the global allowed attributes to each html element. + $a11y_tags = array_map( '_wp_add_global_attributes', $a11y_tags ); + } + + return array_merge_recursive( $allowed_post_tags, $a11y_tags ); + } + + /** + * Extends the allowed post tags with input, select and option tags. + * + * @codeCoverageIgnore + * + * @param array $allowed_post_tags The allowed post tags. + * + * @return array The allowed tags including post tags, input tags, select tags and option tags. + */ + public static function extend_kses_post_with_forms( $allowed_post_tags ) { + static $input_tags; + + if ( isset( $input_tags ) === false ) { + $input_tags = [ + 'input' => [ + 'accept' => true, + 'accesskey' => true, + 'align' => true, + 'alt' => true, + 'autocomplete' => true, + 'autofocus' => true, + 'checked' => true, + 'contenteditable' => true, + 'dirname' => true, + 'disabled' => true, + 'draggable' => true, + 'dropzone' => true, + 'form' => true, + 'formaction' => true, + 'formenctype' => true, + 'formmethod' => true, + 'formnovalidate' => true, + 'formtarget' => true, + 'height' => true, + 'hidden' => true, + 'lang' => true, + 'list' => true, + 'max' => true, + 'maxlength' => true, + 'min' => true, + 'multiple' => true, + 'name' => true, + 'pattern' => true, + 'placeholder' => true, + 'readonly' => true, + 'required' => true, + 'size' => true, + 'spellcheck' => true, + 'src' => true, + 'step' => true, + 'tabindex' => true, + 'translate' => true, + 'type' => true, + 'value' => true, + 'width' => true, + + /* + * Below are attributes that are needed for backwards compatibility (WP < 5.1). + * They are used for the social media image in the metabox. + * These can be removed once we move to the React versions of the social previews. + */ + 'data-target' => true, + 'data-target-id' => true, + ], + 'select' => [ + 'accesskey' => true, + 'autofocus' => true, + 'contenteditable' => true, + 'disabled' => true, + 'draggable' => true, + 'dropzone' => true, + 'form' => true, + 'hidden' => true, + 'lang' => true, + 'multiple' => true, + 'name' => true, + 'onblur' => true, + 'onchange' => true, + 'oncontextmenu' => true, + 'onfocus' => true, + 'oninput' => true, + 'oninvalid' => true, + 'onreset' => true, + 'onsearch' => true, + 'onselect' => true, + 'onsubmit' => true, + 'required' => true, + 'size' => true, + 'spellcheck' => true, + 'tabindex' => true, + 'translate' => true, + ], + 'option' => [ + 'class' => true, + 'disabled' => true, + 'id' => true, + 'label' => true, + 'selected' => true, + 'value' => true, + ], + ]; + + // Add the global allowed attributes to each html element. + $input_tags = array_map( '_wp_add_global_attributes', $input_tags ); + } + + return array_merge_recursive( $allowed_post_tags, $input_tags ); + } + + /** + * Gets an array of enabled features. + * + * @return string[] The array of enabled features. + */ + public static function retrieve_enabled_features() { + /** + * The feature flag integration. + * + * @var Feature_Flag_Integration $feature_flag_integration; + */ + $feature_flag_integration = YoastSEO()->classes->get( Feature_Flag_Integration::class ); + return $feature_flag_integration->get_enabled_features(); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/class-yoast-dynamic-rewrites.php b/wp/wp-content/plugins/wordpress-seo/inc/class-yoast-dynamic-rewrites.php new file mode 100644 index 00000000..eb029464 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/class-yoast-dynamic-rewrites.php @@ -0,0 +1,178 @@ +register_hooks(); + } + + return self::$instance; + } + + /** + * Constructor. + * + * Sets the WP_Rewrite instance to use. + * + * @param WP_Rewrite|null $rewrite Optional. WP_Rewrite instance to use. Default is the $wp_rewrite global. + * @throws RuntimeException Throws an exception if the $wp_rewrite global is not set. + */ + public function __construct( $rewrite = null ) { + if ( ! $rewrite ) { + if ( empty( $GLOBALS['wp_rewrite'] ) ) { + /* translators: 1: PHP class name, 2: PHP variable name */ + throw new RuntimeException( sprintf( __( 'The %1$s class must not be instantiated before the %2$s global is set.', 'wordpress-seo' ), self::class, '$wp_rewrite' ) ); + } + + $rewrite = $GLOBALS['wp_rewrite']; + } + + $this->wp_rewrite = $rewrite; + } + + /** + * Registers all necessary hooks with WordPress. + * + * @return void + */ + public function register_hooks() { + add_action( 'init', [ $this, 'trigger_dynamic_rewrite_rules_hook' ], 1 ); + add_filter( 'option_rewrite_rules', [ $this, 'filter_rewrite_rules_option' ] ); + add_filter( 'sanitize_option_rewrite_rules', [ $this, 'sanitize_rewrite_rules_option' ] ); + } + + /** + * Adds a dynamic rewrite rule that transforms a URL structure to a set of query vars. + * + * Rules registered with this method are applied dynamically and do not require the rewrite rules + * to be flushed in order to become active, which is a benefit over the regular WordPress core API. + * Note however that the dynamic application only works for rules that correspond to index.php. + * Non-WordPress rewrite rules still require flushing. + * + * Any value in the $after parameter that isn't 'bottom' will result in the rule + * being placed at the top of the rewrite rules. + * + * @param string $regex Regular expression to match request against. + * @param string|array $query The corresponding query vars for this rewrite rule. + * @param string $priority Optional. Priority of the new rule. Accepts 'top' + * or 'bottom'. Default 'bottom'. + * + * @return void + */ + public function add_rule( $regex, $query, $priority = 'bottom' ) { + if ( is_array( $query ) ) { + $query = add_query_arg( $query, 'index.php' ); + } + + $this->wp_rewrite->add_rule( $regex, $query, $priority ); + + // Do not further handle external rules. + if ( substr( $query, 0, strlen( $this->wp_rewrite->index . '?' ) ) !== $this->wp_rewrite->index . '?' ) { + return; + } + + if ( $priority === 'bottom' ) { + $this->extra_rules_bottom[ $regex ] = $query; + return; + } + + $this->extra_rules_top[ $regex ] = $query; + } + + /** + * Triggers the hook on which rewrite rules should be added. + * + * This allows for a more specific point in time from the generic `init` hook where this is + * otherwise handled. + * + * @return void + */ + public function trigger_dynamic_rewrite_rules_hook() { + + /** + * Fires when the plugin's dynamic rewrite rules should be added. + * + * @param self $dynamic_rewrites Dynamic rewrites handler instance. Use its `add_rule()` method + * to add dynamic rewrite rules. + */ + do_action( 'yoast_add_dynamic_rewrite_rules', $this ); + } + + /** + * Filters the rewrite rules option to dynamically add additional rewrite rules. + * + * @param array|string $rewrite_rules Array of rewrite rule $regex => $query pairs, or empty string + * if currently not set. + * + * @return array|string Filtered value of $rewrite_rules. + */ + public function filter_rewrite_rules_option( $rewrite_rules ) { + // Do not add extra rewrite rules if the rules need to be flushed. + if ( empty( $rewrite_rules ) ) { + return $rewrite_rules; + } + + return array_merge( $this->extra_rules_top, $rewrite_rules, $this->extra_rules_bottom ); + } + + /** + * Sanitizes the rewrite rules option prior to writing it to the database. + * + * This method ensures that the dynamic rewrite rules do not become part of the actual option. + * + * @param array|string $rewrite_rules Array pf rewrite rule $regex => $query pairs, or empty string + * in order to unset. + * + * @return array|string Filtered value of $rewrite_rules before writing the option. + */ + public function sanitize_rewrite_rules_option( $rewrite_rules ) { + if ( empty( $rewrite_rules ) ) { + return $rewrite_rules; + } + + return array_diff_key( $rewrite_rules, $this->extra_rules_top, $this->extra_rules_bottom ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/date-helper.php b/wp/wp-content/plugins/wordpress-seo/inc/date-helper.php new file mode 100644 index 00000000..f6489a47 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/date-helper.php @@ -0,0 +1,61 @@ +helpers->date->format( $date, $format ); + } + + /** + * Formats the given timestamp to the needed format. + * + * @param int $timestamp The timestamp to use for the formatting. + * @param string $format The format that the passed date should be in. + * + * @return string The formatted date. + */ + public function format_timestamp( $timestamp, $format = DATE_W3C ) { + return YoastSEO()->helpers->date->format_timestamp( $timestamp, $format ); + } + + /** + * Formats a given date in UTC TimeZone format and translate it to the set language. + * + * @param string $date String representing the date / time. + * @param string $format The format that the passed date should be in. + * + * @return string The formatted and translated date. + */ + public function format_translated( $date, $format = DATE_W3C ) { + return YoastSEO()->helpers->date->format_translated( $date, $format ); + } + + /** + * Check if a string is a valid datetime. + * + * @param string $datetime String input to check as valid input for DateTime class. + * + * @return bool True when datatime is valid. + */ + public function is_valid_datetime( $datetime ) { + return YoastSEO()->helpers->date->is_valid_datetime( $datetime ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/exceptions/class-myyoast-bad-request-exception.php b/wp/wp-content/plugins/wordpress-seo/inc/exceptions/class-myyoast-bad-request-exception.php new file mode 100644 index 00000000..d9d9f9a8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/exceptions/class-myyoast-bad-request-exception.php @@ -0,0 +1,13 @@ +get_defaults(); + * + * @var array + */ + protected $defaults = []; + + /** + * Available options for the 'access' setting. Used for input validation. + * + * {@internal Important: Make sure the options added to the array here are in line + * with the keys for the options set for the select box in the + * admin/pages/network.php file.}} + * + * @var array + */ + public static $allowed_access_options = [ + 'admin', + 'superadmin', + ]; + + /** + * Get the singleton instance of this class. + * + * @return object + */ + public static function get_instance() { + if ( ! ( self::$instance instanceof self ) ) { + self::$instance = new self(); + } + + return self::$instance; + } + + /** + * Only run parent constructor in multisite context. + */ + public function __construct() { + $allow_prefix = self::ALLOW_KEY_PREFIX; + $this->defaults = [ + 'access' => 'admin', + 'defaultblog' => '', // Numeric blog ID or empty. + "{$allow_prefix}disableadvanced_meta" => true, + "{$allow_prefix}ryte_indexability" => false, + "{$allow_prefix}content_analysis_active" => true, + "{$allow_prefix}keyword_analysis_active" => true, + "{$allow_prefix}inclusive_language_analysis_active" => true, + "{$allow_prefix}enable_admin_bar_menu" => true, + "{$allow_prefix}enable_cornerstone_content" => true, + "{$allow_prefix}enable_xml_sitemap" => true, + "{$allow_prefix}enable_text_link_counter" => true, + "{$allow_prefix}enable_headless_rest_endpoints" => true, + "{$allow_prefix}enable_metabox_insights" => true, + "{$allow_prefix}enable_link_suggestions" => true, + "{$allow_prefix}tracking" => true, + "{$allow_prefix}enable_enhanced_slack_sharing" => true, + "{$allow_prefix}semrush_integration_active" => true, + "{$allow_prefix}wincher_integration_active" => false, + "{$allow_prefix}remove_feed_global" => true, + "{$allow_prefix}remove_feed_global_comments" => true, + "{$allow_prefix}remove_feed_post_comments" => true, + "{$allow_prefix}enable_index_now" => true, + "{$allow_prefix}enable_ai_generator" => true, + "{$allow_prefix}remove_feed_authors" => true, + "{$allow_prefix}remove_feed_categories" => true, + "{$allow_prefix}remove_feed_tags" => true, + "{$allow_prefix}remove_feed_custom_taxonomies" => true, + "{$allow_prefix}remove_feed_post_types" => true, + "{$allow_prefix}remove_feed_search" => true, + "{$allow_prefix}remove_atom_rdf_feeds" => true, + "{$allow_prefix}remove_shortlinks" => true, + "{$allow_prefix}remove_rest_api_links" => true, + "{$allow_prefix}remove_rsd_wlw_links" => true, + "{$allow_prefix}remove_oembed_links" => true, + "{$allow_prefix}remove_generator" => true, + "{$allow_prefix}remove_emoji_scripts" => true, + "{$allow_prefix}remove_powered_by_header" => true, + "{$allow_prefix}remove_pingback_header" => true, + "{$allow_prefix}clean_campaign_tracking_urls" => true, + "{$allow_prefix}clean_permalinks" => true, + "{$allow_prefix}search_cleanup" => true, + "{$allow_prefix}search_cleanup_emoji" => true, + "{$allow_prefix}search_cleanup_patterns" => true, + "{$allow_prefix}redirect_search_pretty_urls" => true, + "{$allow_prefix}algolia_integration_active" => true, + ]; + + if ( is_multisite() ) { + parent::__construct(); + + add_filter( 'admin_title', [ 'Yoast_Input_Validation', 'add_yoast_admin_document_title_errors' ] ); + } + } + + /** + * Add filters to make sure that the option default is returned if the option is not set + * + * @return void + */ + public function add_default_filters() { + // Don't change, needs to check for false as could return prio 0 which would evaluate to false. + if ( has_filter( 'default_site_option_' . $this->option_name, [ $this, 'get_defaults' ] ) === false ) { + add_filter( 'default_site_option_' . $this->option_name, [ $this, 'get_defaults' ] ); + } + } + + /** + * Remove the default filters. + * Called from the validate() method to prevent failure to add new options. + * + * @return void + */ + public function remove_default_filters() { + remove_filter( 'default_site_option_' . $this->option_name, [ $this, 'get_defaults' ] ); + } + + /** + * Add filters to make sure that the option is merged with its defaults before being returned. + * + * @return void + */ + public function add_option_filters() { + // Don't change, needs to check for false as could return prio 0 which would evaluate to false. + if ( has_filter( 'site_option_' . $this->option_name, [ $this, 'get_option' ] ) === false ) { + add_filter( 'site_option_' . $this->option_name, [ $this, 'get_option' ] ); + } + } + + /** + * Remove the option filters. + * Called from the clean_up methods to make sure we retrieve the original old option. + * + * @return void + */ + public function remove_option_filters() { + remove_filter( 'site_option_' . $this->option_name, [ $this, 'get_option' ] ); + } + + /* *********** METHODS influencing add_uption(), update_option() and saving from admin pages *********** */ + + /** + * Validate 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 Validated clean value for the option to be saved to the database. + */ + protected function validate_option( $dirty, $clean, $old ) { + + foreach ( $clean as $key => $value ) { + switch ( $key ) { + case 'access': + if ( isset( $dirty[ $key ] ) && in_array( $dirty[ $key ], self::$allowed_access_options, true ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + elseif ( function_exists( 'add_settings_error' ) ) { + add_settings_error( + $this->group_name, // Slug title of the setting. + $key, // Suffix-ID for the error message box. + /* translators: %1$s expands to the option name and %2$sexpands to Yoast SEO */ + sprintf( __( '%1$s is not a valid choice for who should be allowed access to the %2$s settings. Value reset to the default.', 'wordpress-seo' ), esc_html( sanitize_text_field( $dirty[ $key ] ) ), 'Yoast SEO' ), // The error message. + 'error' // Message type. + ); + } + break; + + case 'defaultblog': + if ( isset( $dirty[ $key ] ) && ( $dirty[ $key ] !== '' && $dirty[ $key ] !== '-' ) ) { + $int = WPSEO_Utils::validate_int( $dirty[ $key ] ); + if ( $int !== false && $int > 0 ) { + // Check if a valid blog number has been received. + $exists = get_blog_details( $int, false ); + if ( $exists && $exists->deleted === '0' ) { + $clean[ $key ] = $int; + } + elseif ( function_exists( 'add_settings_error' ) ) { + add_settings_error( + $this->group_name, // Slug title of the setting. + $key, // Suffix-ID for the error message box. + esc_html__( 'The default blog setting must be the numeric blog id of the blog you want to use as default.', 'wordpress-seo' ) + . '
    ' + . sprintf( + /* translators: %s is the ID number of a blog. */ + esc_html__( 'This must be an existing blog. Blog %s does not exist or has been marked as deleted.', 'wordpress-seo' ), + '' . esc_html( sanitize_text_field( $dirty[ $key ] ) ) . '' + ), // The error message. + 'error' // Message type. + ); + } + unset( $exists ); + } + elseif ( function_exists( 'add_settings_error' ) ) { + add_settings_error( + $this->group_name, // Slug title of the setting. + $key, // Suffix-ID for the error message box. + esc_html__( 'The default blog setting must be the numeric blog id of the blog you want to use as default.', 'wordpress-seo' ) . '
    ' . esc_html__( 'No numeric value was received.', 'wordpress-seo' ), // The error message. + 'error' // Message type. + ); + } + unset( $int ); + } + break; + + default: + $clean[ $key ] = ( isset( $dirty[ $key ] ) ? WPSEO_Utils::validate_bool( $dirty[ $key ] ) : false ); + break; + } + } + + return $clean; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-social.php b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-social.php new file mode 100644 index 00000000..220dd6f8 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-social.php @@ -0,0 +1,322 @@ +get_defaults(); + * + * @var array + */ + protected $defaults = [ + // Form fields. + 'facebook_site' => '', // Text field. + 'instagram_url' => '', + 'linkedin_url' => '', + 'myspace_url' => '', + 'og_default_image' => '', // Text field. + 'og_default_image_id' => '', + 'og_frontpage_title' => '', // Text field. + 'og_frontpage_desc' => '', // Text field. + 'og_frontpage_image' => '', // Text field. + 'og_frontpage_image_id' => '', + 'opengraph' => true, + 'pinterest_url' => '', + 'pinterestverify' => '', + 'twitter' => true, + 'twitter_site' => '', // Text field. + 'twitter_card_type' => 'summary_large_image', + 'youtube_url' => '', + 'wikipedia_url' => '', + 'other_social_urls' => [], + 'mastodon_url' => '', + ]; + + /** + * Array of sub-options which should not be overloaded with multi-site defaults. + * + * @var array + */ + public $ms_exclude = [ + /* Privacy. */ + 'pinterestverify', + ]; + + /** + * Array of allowed twitter card types. + * + * While we only have the options summary and summary_large_image in the + * interface now, we might change that at some point. + * + * {@internal Uncomment any of these to allow them in validation *and* automatically + * add them as a choice in the options page.}} + * + * @var array + */ + public static $twitter_card_types = [ + 'summary_large_image' => '', + // 'summary' => '', + // 'photo' => '', + // 'gallery' => '', + // 'app' => '', + // 'player' => '', + // 'product' => '', + ]; + + /** + * Add the actions and filters for the option. + */ + protected function __construct() { + parent::__construct(); + + add_filter( 'admin_title', [ 'Yoast_Input_Validation', 'add_yoast_admin_document_title_errors' ] ); + } + + /** + * Get the singleton instance of this class. + * + * @return object + */ + public static function get_instance() { + if ( ! ( self::$instance instanceof self ) ) { + self::$instance = new self(); + } + + return self::$instance; + } + + /** + * Translate/set strings used in the option defaults. + * + * @return void + */ + public function translate_defaults() { + self::$twitter_card_types['summary_large_image'] = __( 'Summary with large image', 'wordpress-seo' ); + } + + /** + * Validate 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 Validated clean value for the option to be saved to the database. + */ + protected function validate_option( $dirty, $clean, $old ) { + + foreach ( $clean as $key => $value ) { + switch ( $key ) { + /* Text fields. */ + case 'og_frontpage_desc': + case 'og_frontpage_title': + if ( isset( $dirty[ $key ] ) && $dirty[ $key ] !== '' ) { + $clean[ $key ] = WPSEO_Utils::sanitize_text_field( $dirty[ $key ] ); + } + break; + + case 'og_default_image_id': + case 'og_frontpage_image_id': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = (int) $dirty[ $key ]; + + if ( $dirty[ $key ] === '' ) { + $clean[ $key ] = $dirty[ $key ]; + } + } + break; + + /* URL text fields - no ftp allowed. */ + case 'facebook_site': + case 'instagram_url': + case 'linkedin_url': + case 'myspace_url': + case 'pinterest_url': + case 'og_default_image': + case 'og_frontpage_image': + case 'youtube_url': + case 'wikipedia_url': + case 'mastodon_url': + $this->validate_url( $key, $dirty, $old, $clean ); + break; + + case 'pinterestverify': + $this->validate_verification_string( $key, $dirty, $old, $clean ); + break; + + /* Twitter user name. */ + case 'twitter_site': + if ( isset( $dirty[ $key ] ) && $dirty[ $key ] !== '' ) { + $twitter_id = $this->validate_twitter_id( $dirty[ $key ] ); + + if ( $twitter_id ) { + $clean[ $key ] = $twitter_id; + } + elseif ( isset( $old[ $key ] ) && $old[ $key ] !== '' ) { + $twitter_id = sanitize_text_field( ltrim( $old[ $key ], '@' ) ); + if ( preg_match( '`^[A-Za-z0-9_]{1,25}$`', $twitter_id ) ) { + $clean[ $key ] = $twitter_id; + } + } + unset( $twitter_id ); + + Yoast_Input_Validation::add_dirty_value_to_settings_errors( $key, $dirty[ $key ] ); + } + break; + + case 'twitter_card_type': + if ( isset( $dirty[ $key ], self::$twitter_card_types[ $dirty[ $key ] ] ) && $dirty[ $key ] !== '' ) { + $clean[ $key ] = $dirty[ $key ]; + } + break; + + /* Boolean fields. */ + case 'opengraph': + case 'twitter': + $clean[ $key ] = ( isset( $dirty[ $key ] ) ? WPSEO_Utils::validate_bool( $dirty[ $key ] ) : false ); + break; + + /* Array fields. */ + case 'other_social_urls': + if ( isset( $dirty[ $key ] ) ) { + $items = $dirty[ $key ]; + if ( ! is_array( $items ) ) { + $items = json_decode( $dirty[ $key ], true ); + } + + if ( is_array( $items ) ) { + foreach ( $items as $item_key => $item ) { + $validated_url = $this->validate_social_url( $item ); + + if ( $validated_url === false ) { + // Restore the previous URL values, if any. + $old_urls = ( isset( $old[ $key ] ) ) ? $old[ $key ] : []; + foreach ( $old_urls as $old_item_key => $old_url ) { + if ( $old_url !== '' ) { + $url = WPSEO_Utils::sanitize_url( $old_url ); + if ( $url !== '' ) { + $clean[ $key ][ $old_item_key ] = $url; + } + } + } + break; + } + + // The URL format is valid, let's sanitize it. + $url = WPSEO_Utils::sanitize_url( $validated_url ); + if ( $url !== '' ) { + $clean[ $key ][ $item_key ] = $url; + } + } + } + } + + break; + } + } + + return $clean; + } + + /** + * Validates a social URL. + * + * @param string $url The url to be validated. + * + * @return string|false The validated URL or false if the URL is not valid. + */ + public function validate_social_url( $url ) { + $validated_url = filter_var( WPSEO_Utils::sanitize_url( trim( $url ) ), FILTER_VALIDATE_URL ); + + return $validated_url; + } + + /** + * Validates a twitter id. + * + * @param string $twitter_id The twitter id to be validated. + * @param bool $strip_at_sign Whether or not to strip the `@` sign. + * + * @return string|false The validated twitter id or false if it is not valid. + */ + public function validate_twitter_id( $twitter_id, $strip_at_sign = true ) { + $twitter_id = ( $strip_at_sign ) ? sanitize_text_field( ltrim( $twitter_id, '@' ) ) : sanitize_text_field( $twitter_id ); + + /* + * From the Twitter documentation about twitter screen names: + * Typically a maximum of 15 characters long, but some historical accounts + * may exist with longer names. + * A username can only contain alphanumeric characters (letters A-Z, numbers 0-9) + * with the exception of underscores. + * + * @link https://support.twitter.com/articles/101299-why-can-t-i-register-certain-usernames + */ + if ( preg_match( '`^[A-Za-z0-9_]{1,25}$`', $twitter_id ) ) { + return $twitter_id; + } + + if ( preg_match( '`^http(?:s)?://(?:www\.)?(?:twitter|x)\.com/(?P[A-Za-z0-9_]{1,25})/?$`', $twitter_id, $matches ) ) { + return $matches['handle']; + } + + return false; + } + + /** + * Clean a given option value. + * + * @param array $option_value Old (not merged with defaults or filtered) option value to + * clean according to the rules for this option. + * @param string|null $current_version Optional. Version from which to upgrade, if not set, + * version specific upgrades will be disregarded. + * @param array|null $all_old_option_values Optional. Only used when importing old options to have + * access to the real old values, in contrast to the saved ones. + * + * @return array Cleaned option. + */ + protected function clean_option( $option_value, $current_version = null, $all_old_option_values = null ) { + + /* Move options from very old option to this one. */ + $old_option = null; + if ( isset( $all_old_option_values ) ) { + // Ok, we have an import. + if ( isset( $all_old_option_values['wpseo_indexation'] ) && is_array( $all_old_option_values['wpseo_indexation'] ) && $all_old_option_values['wpseo_indexation'] !== [] ) { + $old_option = $all_old_option_values['wpseo_indexation']; + } + } + else { + $old_option = get_option( 'wpseo_indexation' ); + } + + if ( is_array( $old_option ) && $old_option !== [] ) { + $move = [ + 'opengraph', + ]; + foreach ( $move as $key ) { + if ( isset( $old_option[ $key ] ) && ! isset( $option_value[ $key ] ) ) { + $option_value[ $key ] = $old_option[ $key ]; + } + } + unset( $move, $key ); + } + unset( $old_option ); + + return $option_value; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-titles.php b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-titles.php new file mode 100644 index 00000000..ff613e48 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-titles.php @@ -0,0 +1,1006 @@ +get_defaults(); + * + * {@internal Note: Some of the default values are added via the translate_defaults() method.}} + * + * @var string[] + */ + protected $defaults = [ + // Form fields. + 'forcerewritetitle' => false, + 'separator' => 'sc-dash', + 'title-home-wpseo' => '%%sitename%% %%page%% %%sep%% %%sitedesc%%', // Text field. + 'title-author-wpseo' => '', // Text field. + 'title-archive-wpseo' => '%%date%% %%page%% %%sep%% %%sitename%%', // Text field. + 'title-search-wpseo' => '', // Text field. + 'title-404-wpseo' => '', // Text field. + + 'social-title-author-wpseo' => '%%name%%', // Text field. + 'social-title-archive-wpseo' => '%%date%%', // Text field. + 'social-description-author-wpseo' => '', // Text area. + 'social-description-archive-wpseo' => '', // Text area. + 'social-image-url-author-wpseo' => '', // Hidden input field. + 'social-image-url-archive-wpseo' => '', // Hidden input field. + 'social-image-id-author-wpseo' => 0, // Hidden input field. + 'social-image-id-archive-wpseo' => 0, // Hidden input field. + + 'metadesc-home-wpseo' => '', // Text area. + 'metadesc-author-wpseo' => '', // Text area. + 'metadesc-archive-wpseo' => '', // Text area. + 'rssbefore' => '', // Text area. + 'rssafter' => '', // Text area. + + 'noindex-author-wpseo' => false, + 'noindex-author-noposts-wpseo' => true, + 'noindex-archive-wpseo' => true, + + 'disable-author' => false, + 'disable-date' => false, + 'disable-post_format' => false, + 'disable-attachment' => true, + + 'breadcrumbs-404crumb' => '', // Text field. + 'breadcrumbs-display-blog-page' => true, + 'breadcrumbs-boldlast' => false, + 'breadcrumbs-archiveprefix' => '', // Text field. + 'breadcrumbs-enable' => true, + 'breadcrumbs-home' => '', // Text field. + 'breadcrumbs-prefix' => '', // Text field. + 'breadcrumbs-searchprefix' => '', // Text field. + 'breadcrumbs-sep' => '»', // Text field. + + 'website_name' => '', + 'person_name' => '', + 'person_logo' => '', + 'person_logo_id' => 0, + 'alternate_website_name' => '', + 'company_logo' => '', + 'company_logo_id' => 0, + 'company_logo_meta' => false, + 'person_logo_meta' => false, + 'company_name' => '', + 'company_alternate_name' => '', + 'company_or_person' => 'company', + 'company_or_person_user_id' => false, + + 'stripcategorybase' => false, + + 'open_graph_frontpage_title' => '%%sitename%%', // Text field. + 'open_graph_frontpage_desc' => '', // Text field. + 'open_graph_frontpage_image' => '', // Text field. + 'open_graph_frontpage_image_id' => 0, + + 'publishing_principles_id' => 0, + 'ownership_funding_info_id' => 0, + 'actionable_feedback_policy_id' => 0, + 'corrections_policy_id' => 0, + 'ethics_policy_id' => 0, + 'diversity_policy_id' => 0, + 'diversity_staffing_report_id' => 0, + + 'org-description' => '', + 'org-email' => '', + 'org-phone' => '', + 'org-legal-name' => '', + 'org-founding-date' => '', + 'org-number-employees' => '', + + 'org-vat-id' => '', + 'org-tax-id' => '', + 'org-iso' => '', + 'org-duns' => '', + 'org-leicode' => '', + 'org-naics' => '', + + /* + * Uses enrich_defaults to add more along the lines of: + * - 'title-' . $pt->name => ''; // Text field. + * - 'metadesc-' . $pt->name => ''; // Text field. + * - 'noindex-' . $pt->name => false; + * - 'display-metabox-pt-' . $pt->name => false; + * + * - 'title-ptarchive-' . $pt->name => ''; // Text field. + * - 'metadesc-ptarchive-' . $pt->name => ''; // Text field. + * - 'bctitle-ptarchive-' . $pt->name => ''; // Text field. + * - 'noindex-ptarchive-' . $pt->name => false; + * + * - 'title-tax-' . $tax->name => '''; // Text field. + * - 'metadesc-tax-' . $tax->name => ''; // Text field. + * - 'noindex-tax-' . $tax->name => false; + * - 'display-metabox-tax-' . $tax->name => false; + * + * - 'schema-page-type-' . $pt->name => 'WebPage'; + * - 'schema-article-type-' . $pt->name => 'Article'; + */ + ]; + + /** + * Used for "caching" during pageload. + * + * @var string[] + */ + protected $enriched_defaults = null; + + /** + * Array of variable option name patterns for the option. + * + * @var string[] + */ + protected $variable_array_key_patterns = [ + 'title-', + 'metadesc-', + 'noindex-', + 'display-metabox-pt-', + 'bctitle-ptarchive-', + 'post_types-', + 'taxonomy-', + 'schema-page-type-', + 'schema-article-type-', + 'social-title-', + 'social-description-', + 'social-image-url-', + 'social-image-id-', + 'org-', + ]; + + /** + * Array of sub-options which should not be overloaded with multi-site defaults. + * + * @var string[] + */ + public $ms_exclude = [ + 'forcerewritetitle', + ]; + + /** + * Add the actions and filters for the option. + * + * @todo [JRF => testers] Check if the extra actions below would run into problems if an option + * is updated early on and if so, change the call to schedule these for a later action on add/update + * instead of running them straight away. + */ + protected function __construct() { + parent::__construct(); + add_action( 'update_option_' . $this->option_name, [ 'WPSEO_Utils', 'clear_cache' ] ); + add_action( 'init', [ $this, 'end_of_init' ], 999 ); + + add_action( 'registered_post_type', [ $this, 'invalidate_enrich_defaults_cache' ] ); + add_action( 'unregistered_post_type', [ $this, 'invalidate_enrich_defaults_cache' ] ); + add_action( 'registered_taxonomy', [ $this, 'invalidate_enrich_defaults_cache' ] ); + add_action( 'unregistered_taxonomy', [ $this, 'invalidate_enrich_defaults_cache' ] ); + + add_filter( 'admin_title', [ 'Yoast_Input_Validation', 'add_yoast_admin_document_title_errors' ] ); + } + + /** + * Make sure we can recognize the right action for the double cleaning. + * + * @return void + */ + public function end_of_init() { + do_action( 'wpseo_double_clean_titles' ); + } + + /** + * Get the singleton instance of this class. + * + * @return self + */ + public static function get_instance() { + if ( ! ( self::$instance instanceof self ) ) { + self::$instance = new self(); + } + + return self::$instance; + } + + /** + * Get the available separator options. + * + * @return string[] + */ + public function get_separator_options() { + $separators = wp_list_pluck( self::get_separator_option_list(), 'option' ); + + /** + * Allow altering the array with separator options. + * + * @param array $separator_options Array with the separator options. + */ + $filtered_separators = apply_filters( 'wpseo_separator_options', $separators ); + + if ( is_array( $filtered_separators ) && $filtered_separators !== [] ) { + $separators = array_merge( $separators, $filtered_separators ); + } + + return $separators; + } + + /** + * Get the available separator options aria-labels. + * + * @return string[] Array with the separator options aria-labels. + */ + public function get_separator_options_for_display() { + $separators = $this->get_separator_options(); + $separator_list = self::get_separator_option_list(); + + $separator_options = []; + + foreach ( $separators as $key => $label ) { + $aria_label = ( $separator_list[ $key ]['label'] ?? '' ); + + $separator_options[ $key ] = [ + 'label' => $label, + 'aria_label' => $aria_label, + ]; + } + + return $separator_options; + } + + /** + * Translate strings used in the option defaults. + * + * @return void + */ + public function translate_defaults() { + /* translators: 1: Author name; 2: Site name. */ + $this->defaults['title-author-wpseo'] = sprintf( __( '%1$s, Author at %2$s', 'wordpress-seo' ), '%%name%%', '%%sitename%%' ) . ' %%page%% '; + /* translators: %s expands to the search phrase. */ + $this->defaults['title-search-wpseo'] = sprintf( __( 'You searched for %s', 'wordpress-seo' ), '%%searchphrase%%' ) . ' %%page%% %%sep%% %%sitename%%'; + $this->defaults['title-404-wpseo'] = __( 'Page not found', 'wordpress-seo' ) . ' %%sep%% %%sitename%%'; + /* translators: 1: link to post; 2: link to blog. */ + $this->defaults['rssafter'] = sprintf( __( 'The post %1$s appeared first on %2$s.', 'wordpress-seo' ), '%%POSTLINK%%', '%%BLOGLINK%%' ); + + $this->defaults['breadcrumbs-404crumb'] = __( 'Error 404: Page not found', 'wordpress-seo' ); + $this->defaults['breadcrumbs-archiveprefix'] = __( 'Archives for', 'wordpress-seo' ); + $this->defaults['breadcrumbs-home'] = __( 'Home', 'wordpress-seo' ); + $this->defaults['breadcrumbs-searchprefix'] = __( 'You searched for', 'wordpress-seo' ); + } + + /** + * Add dynamically created default options based on available post types and taxonomies. + * + * @return void + */ + public function enrich_defaults() { + $enriched_defaults = $this->enriched_defaults; + if ( $enriched_defaults !== null ) { + $this->defaults += $enriched_defaults; + return; + } + + $enriched_defaults = []; + + /* + * Retrieve all the relevant post type and taxonomy arrays. + * + * WPSEO_Post_Type::get_accessible_post_types() should *not* be used here. + * These are the defaults and can be prepared for any public post type. + */ + $post_type_objects = get_post_types( [ 'public' => true ], 'objects' ); + + if ( $post_type_objects ) { + /* translators: %s expands to the name of a post type (plural). */ + $archive = sprintf( __( '%s Archive', 'wordpress-seo' ), '%%pt_plural%%' ); + + foreach ( $post_type_objects as $pt ) { + $enriched_defaults[ 'title-' . $pt->name ] = '%%title%% %%page%% %%sep%% %%sitename%%'; // Text field. + $enriched_defaults[ 'metadesc-' . $pt->name ] = ''; // Text area. + $enriched_defaults[ 'noindex-' . $pt->name ] = false; + $enriched_defaults[ 'display-metabox-pt-' . $pt->name ] = true; + $enriched_defaults[ 'post_types-' . $pt->name . '-maintax' ] = 0; // Select box. + $enriched_defaults[ 'schema-page-type-' . $pt->name ] = 'WebPage'; + $enriched_defaults[ 'schema-article-type-' . $pt->name ] = ( $pt->name === 'post' ) ? 'Article' : 'None'; + + if ( $pt->name !== 'attachment' ) { + $enriched_defaults[ 'social-title-' . $pt->name ] = '%%title%%'; // Text field. + $enriched_defaults[ 'social-description-' . $pt->name ] = ''; // Text area. + $enriched_defaults[ 'social-image-url-' . $pt->name ] = ''; // Hidden input field. + $enriched_defaults[ 'social-image-id-' . $pt->name ] = 0; // Hidden input field. + } + + // Custom post types that have archives. + if ( ! $pt->_builtin && WPSEO_Post_Type::has_archive( $pt ) ) { + $enriched_defaults[ 'title-ptarchive-' . $pt->name ] = $archive . ' %%page%% %%sep%% %%sitename%%'; // Text field. + $enriched_defaults[ 'metadesc-ptarchive-' . $pt->name ] = ''; // Text area. + $enriched_defaults[ 'bctitle-ptarchive-' . $pt->name ] = ''; // Text field. + $enriched_defaults[ 'noindex-ptarchive-' . $pt->name ] = false; + $enriched_defaults[ 'social-title-ptarchive-' . $pt->name ] = $archive; // Text field. + $enriched_defaults[ 'social-description-ptarchive-' . $pt->name ] = ''; // Text area. + $enriched_defaults[ 'social-image-url-ptarchive-' . $pt->name ] = ''; // Hidden input field. + $enriched_defaults[ 'social-image-id-ptarchive-' . $pt->name ] = 0; // Hidden input field. + } + } + } + + $taxonomy_objects = get_taxonomies( [ 'public' => true ], 'object' ); + + if ( $taxonomy_objects ) { + /* translators: %s expands to the variable used for term title. */ + $archives = sprintf( __( '%s Archives', 'wordpress-seo' ), '%%term_title%%' ); + + foreach ( $taxonomy_objects as $tax ) { + $enriched_defaults[ 'title-tax-' . $tax->name ] = $archives . ' %%page%% %%sep%% %%sitename%%'; // Text field. + $enriched_defaults[ 'metadesc-tax-' . $tax->name ] = ''; // Text area. + $enriched_defaults[ 'display-metabox-tax-' . $tax->name ] = true; + + $enriched_defaults[ 'noindex-tax-' . $tax->name ] = ( $tax->name === 'post_format' ); + + $enriched_defaults[ 'social-title-tax-' . $tax->name ] = $archives; // Text field. + $enriched_defaults[ 'social-description-tax-' . $tax->name ] = ''; // Text area. + $enriched_defaults[ 'social-image-url-tax-' . $tax->name ] = ''; // Hidden input field. + $enriched_defaults[ 'social-image-id-tax-' . $tax->name ] = 0; // Hidden input field. + + $enriched_defaults[ 'taxonomy-' . $tax->name . '-ptparent' ] = 0; // Select box;. + } + } + + $this->enriched_defaults = $enriched_defaults; + $this->defaults += $enriched_defaults; + } + + /** + * Invalidates enrich_defaults() cache. + * + * Called from actions: + * - (un)registered_post_type + * - (un)registered_taxonomy + * + * @return void + */ + public function invalidate_enrich_defaults_cache() { + $this->enriched_defaults = null; + } + + /** + * Validate the option. + * + * @param string[] $dirty New value for the option. + * @param string[] $clean Clean value for the option, normally the defaults. + * @param string[] $old Old value of the option. + * + * @return string[] Validated clean value for the option to be saved to the database. + */ + protected function validate_option( $dirty, $clean, $old ) { + $allowed_post_types = $this->get_allowed_post_types(); + + foreach ( $clean as $key => $value ) { + $switch_key = $this->get_switch_key( $key ); + + switch ( $switch_key ) { + // Only ever set programmatically, so no reason for intense validation. + case 'company_logo_meta': + case 'person_logo_meta': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + break; + + /* Breadcrumbs text fields. */ + case 'breadcrumbs-404crumb': + case 'breadcrumbs-archiveprefix': + case 'breadcrumbs-home': + case 'breadcrumbs-prefix': + case 'breadcrumbs-searchprefix': + case 'breadcrumbs-sep': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = wp_kses_post( $dirty[ $key ] ); + } + break; + + /* + * Text fields. + */ + + /* + * Covers: + * 'title-home-wpseo', 'title-author-wpseo', 'title-archive-wpseo', // phpcs:ignore Squiz.PHP.CommentedOutCode.Found -- This isn't commented out code. + * 'title-search-wpseo', 'title-404-wpseo' + * 'title-' . $pt->name + * 'title-ptarchive-' . $pt->name + * 'title-tax-' . $tax->name + * 'social-title-' . $pt->name + * 'social-title-ptarchive-' . $pt->name + * 'social-title-tax-' . $tax->name + * 'social-title-author-wpseo', 'social-title-archive-wpseo' + * 'open_graph_frontpage_title' + */ + case 'org-': + case 'website_name': + case 'alternate_website_name': + case 'title-': + case 'social-title-': + case 'open_graph_frontpage_title': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = WPSEO_Utils::sanitize_text_field( $dirty[ $key ] ); + } + break; + + case 'company_or_person': + if ( isset( $dirty[ $key ] ) ) { + if ( in_array( $dirty[ $key ], [ 'company', 'person' ], true ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + else { + $defaults = $this->get_defaults(); + $clean[ $key ] = $defaults['company_or_person']; + } + } + break; + + /* + * Covers: + * 'company_logo', 'person_logo' // phpcs:ignore Squiz.PHP.CommentedOutCode.Found -- This isn't commented out code. + */ + case 'company_logo': + case 'person_logo': + case 'open_graph_frontpage_image': + // When a logo changes, we need to ditch the caches we have for it. + unset( $clean[ $switch_key . '_id' ] ); + unset( $clean[ $switch_key . '_meta' ] ); + $this->validate_url( $key, $dirty, $old, $clean ); + break; + + /* + * Covers: + * 'social-image-url-' . $pt->name + * 'social-image-url-ptarchive-' . $pt->name + * 'social-image-url-tax-' . $tax->name + * 'social-image-url-author-wpseo', 'social-image-url-archive-wpseo' + */ + case 'social-image-url-': + $this->validate_url( $key, $dirty, $old, $clean ); + break; + + /* + * Covers: + * 'metadesc-home-wpseo', 'metadesc-author-wpseo', 'metadesc-archive-wpseo' + * 'metadesc-' . $pt->name + * 'metadesc-ptarchive-' . $pt->name + * 'metadesc-tax-' . $tax->name + * and also: + * 'bctitle-ptarchive-' . $pt->name + * 'social-description-' . $pt->name + * 'social-description-ptarchive-' . $pt->name + * 'social-description-tax-' . $tax->name + * 'social-description-author-wpseo', 'social-description-archive-wpseo' + * 'open_graph_frontpage_desc' + */ + case 'metadesc-': + case 'bctitle-ptarchive-': + case 'company_name': + case 'company_alternate_name': + case 'person_name': + case 'social-description-': + case 'open_graph_frontpage_desc': + if ( isset( $dirty[ $key ] ) && $dirty[ $key ] !== '' ) { + $clean[ $key ] = WPSEO_Utils::sanitize_text_field( $dirty[ $key ] ); + } + break; + + /* + * Covers: 'rssbefore', 'rssafter' // phpcs:ignore Squiz.PHP.CommentedOutCode.Found -- This isn't commented out code. + */ + case 'rssbefore': + case 'rssafter': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = wp_kses_post( $dirty[ $key ] ); + } + break; + + /* 'post_types-' . $pt->name . '-maintax' fields. */ + case 'post_types-': + $post_type = str_replace( [ 'post_types-', '-maintax' ], '', $key ); + $taxonomies = get_object_taxonomies( $post_type, 'names' ); + + if ( isset( $dirty[ $key ] ) ) { + if ( $taxonomies !== [] && in_array( $dirty[ $key ], $taxonomies, true ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + elseif ( (string) $dirty[ $key ] === '0' || (string) $dirty[ $key ] === '' ) { + $clean[ $key ] = 0; + } + elseif ( sanitize_title_with_dashes( $dirty[ $key ] ) === $dirty[ $key ] ) { + // Allow taxonomies which may not be registered yet. + $clean[ $key ] = $dirty[ $key ]; + } + else { + if ( isset( $old[ $key ] ) ) { + $clean[ $key ] = sanitize_title_with_dashes( $old[ $key ] ); + } + + /* + * @todo [JRF => whomever] Maybe change the untranslated $pt name in the + * error message to the nicely translated label ? + */ + add_settings_error( + $this->group_name, // Slug title of the setting. + $key, // Suffix-id for the error message box. + /* translators: %s expands to a post type. */ + sprintf( __( 'Please select a valid taxonomy for post type "%s"', 'wordpress-seo' ), $post_type ), // The error message. + 'error' // Message type. + ); + } + } + elseif ( isset( $old[ $key ] ) ) { + $clean[ $key ] = sanitize_title_with_dashes( $old[ $key ] ); + } + unset( $taxonomies, $post_type ); + break; + + /* 'taxonomy-' . $tax->name . '-ptparent' fields. */ + case 'taxonomy-': + if ( isset( $dirty[ $key ] ) ) { + if ( $allowed_post_types !== [] && in_array( $dirty[ $key ], $allowed_post_types, true ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + elseif ( (string) $dirty[ $key ] === '0' || (string) $dirty[ $key ] === '' ) { + $clean[ $key ] = 0; + } + elseif ( sanitize_key( $dirty[ $key ] ) === $dirty[ $key ] ) { + // Allow taxonomies which may not be registered yet. + $clean[ $key ] = $dirty[ $key ]; + } + else { + if ( isset( $old[ $key ] ) ) { + $clean[ $key ] = sanitize_key( $old[ $key ] ); + } + + /* + * @todo [JRF =? whomever] Maybe change the untranslated $tax name in the + * error message to the nicely translated label ? + */ + $tax = str_replace( [ 'taxonomy-', '-ptparent' ], '', $key ); + add_settings_error( + $this->group_name, // Slug title of the setting. + '_' . $tax, // Suffix-ID for the error message box. + /* translators: %s expands to a taxonomy slug. */ + sprintf( __( 'Please select a valid post type for taxonomy "%s"', 'wordpress-seo' ), $tax ), // The error message. + 'error' // Message type. + ); + unset( $tax ); + } + } + elseif ( isset( $old[ $key ] ) ) { + $clean[ $key ] = sanitize_key( $old[ $key ] ); + } + break; + + /* + * Covers: + * 'company_or_person_user_id' + * 'company_logo_id', 'person_logo_id', 'open_graph_frontpage_image_id' + * 'social-image-id-' . $pt->name + * 'social-image-id-ptarchive-' . $pt->name + * 'social-image-id-tax-' . $tax->name + * 'social-image-id-author-wpseo', 'social-image-id-archive-wpseo' + */ + case 'company_or_person_user_id': + case 'company_logo_id': + case 'person_logo_id': + case 'social-image-id-': + case 'open_graph_frontpage_image_id': + case 'publishing_principles_id': + case 'ownership_funding_info_id': + case 'actionable_feedback_policy_id': + case 'corrections_policy_id': + case 'ethics_policy_id': + case 'diversity_policy_id': + case 'diversity_staffing_report_id': + if ( isset( $dirty[ $key ] ) ) { + $int = WPSEO_Utils::validate_int( $dirty[ $key ] ); + if ( $int !== false && $int >= 0 ) { + $clean[ $key ] = $int; + } + } + elseif ( isset( $old[ $key ] ) ) { + $int = WPSEO_Utils::validate_int( $old[ $key ] ); + if ( $int !== false && $int >= 0 ) { + $clean[ $key ] = $int; + } + } + break; + /* Separator field - Radio. */ + case 'separator': + if ( isset( $dirty[ $key ] ) && $dirty[ $key ] !== '' ) { + + // Get separator fields. + $separator_fields = $this->get_separator_options(); + + // Check if the given separator exists. + if ( isset( $separator_fields[ $dirty[ $key ] ] ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + } + break; + + case 'schema-page-type-': + if ( isset( $dirty[ $key ] ) && is_string( $dirty[ $key ] ) ) { + if ( array_key_exists( $dirty[ $key ], Schema_Types::PAGE_TYPES ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + else { + $defaults = $this->get_defaults(); + $post_type = str_replace( $switch_key, '', $key ); + $clean[ $key ] = $defaults[ $switch_key . $post_type ]; + } + } + break; + case 'schema-article-type-': + if ( isset( $dirty[ $key ] ) && is_string( $dirty[ $key ] ) ) { + /** + * Filter: 'wpseo_schema_article_types' - Allow developers to filter the available article types. + * + * Make sure when you filter this to also filter `wpseo_schema_article_types_labels`. + * + * @param array $schema_article_types The available schema article types. + */ + if ( array_key_exists( $dirty[ $key ], apply_filters( 'wpseo_schema_article_types', Schema_Types::ARTICLE_TYPES ) ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + else { + $defaults = $this->get_defaults(); + $post_type = str_replace( $switch_key, '', $key ); + $clean[ $key ] = $defaults[ $switch_key . $post_type ]; + } + } + break; + + /* + * Boolean fields. + */ + + /* + * Covers: + * 'noindex-author-wpseo', 'noindex-author-noposts-wpseo', 'noindex-archive-wpseo' + * 'noindex-' . $pt->name + * 'noindex-ptarchive-' . $pt->name + * 'noindex-tax-' . $tax->name + * 'forcerewritetitle': + * 'noodp': + * 'noydir': + * 'disable-author': + * 'disable-date': + * 'disable-post_format'; + * 'noindex-' + * 'display-metabox-pt-' + * 'display-metabox-pt-'. $pt->name + * 'display-metabox-tax-' + * 'display-metabox-tax-' . $tax->name + * 'breadcrumbs-display-blog-page' + * 'breadcrumbs-boldlast' + * 'breadcrumbs-enable' + * 'stripcategorybase' + */ + default: + $clean[ $key ] = ( isset( $dirty[ $key ] ) ? WPSEO_Utils::validate_bool( $dirty[ $key ] ) : false ); + break; + } + } + + return $clean; + } + + /** + * Retrieve a list of the allowed post types as breadcrumb parent for a taxonomy. + * Helper method for validation. + * + * {@internal Don't make static as new types may still be registered.}} + * + * @return string[] + */ + protected function get_allowed_post_types() { + $allowed_post_types = []; + + /* + * WPSEO_Post_Type::get_accessible_post_types() should *not* be used here. + */ + $post_types = get_post_types( [ 'public' => true ], 'objects' ); + + if ( get_option( 'show_on_front' ) === 'page' && get_option( 'page_for_posts' ) > 0 ) { + $allowed_post_types[] = 'post'; + } + + if ( is_array( $post_types ) && $post_types !== [] ) { + foreach ( $post_types as $type ) { + if ( WPSEO_Post_Type::has_archive( $type ) ) { + $allowed_post_types[] = $type->name; + } + } + } + + return $allowed_post_types; + } + + /** + * Clean a given option value. + * + * @param string[] $option_value Old (not merged with defaults or filtered) option value to clean according to the rules for this option. + * @param string[]|null $current_version Optional. Version from which to upgrade, if not set, version specific upgrades will be disregarded. + * @param string[]|null $all_old_option_values Optional. Only used when importing old options to have access to the real old values, in contrast to the saved ones. + * + * @return string[] Cleaned option. + */ + protected function clean_option( $option_value, $current_version = null, $all_old_option_values = null ) { + static $original = null; + + // Double-run this function to ensure renaming of the taxonomy options will work. + if ( ! isset( $original ) + && has_action( 'wpseo_double_clean_titles', [ $this, 'clean' ] ) === false + ) { + add_action( 'wpseo_double_clean_titles', [ $this, 'clean' ] ); + $original = $option_value; + } + + /* + * Move options from very old option to this one. + * + * {@internal Don't rename to the 'current' names straight away as that would prevent + * the rename/unset combi below from working.}} + * + * @todo [JRF] Maybe figure out a smarter way to deal with this. + */ + $old_option = null; + if ( isset( $all_old_option_values ) ) { + // Ok, we have an import. + if ( isset( $all_old_option_values['wpseo_indexation'] ) && is_array( $all_old_option_values['wpseo_indexation'] ) && $all_old_option_values['wpseo_indexation'] !== [] ) { + $old_option = $all_old_option_values['wpseo_indexation']; + } + } + else { + $old_option = get_option( 'wpseo_indexation' ); + } + if ( is_array( $old_option ) && $old_option !== [] ) { + $move = [ + 'noindexauthor' => 'noindex-author', + 'disableauthor' => 'disable-author', + 'noindexdate' => 'noindex-archive', + 'noindexcat' => 'noindex-category', + 'noindextag' => 'noindex-post_tag', + 'noindexpostformat' => 'noindex-post_format', + ]; + foreach ( $move as $old => $new ) { + if ( isset( $old_option[ $old ] ) && ! isset( $option_value[ $new ] ) ) { + $option_value[ $new ] = $old_option[ $old ]; + } + } + unset( $move, $old, $new ); + } + unset( $old_option ); + + // Fix wrongness created by buggy version 1.2.2. + if ( isset( $option_value['title-home'] ) && $option_value['title-home'] === '%%sitename%% - %%sitedesc%% - 12345' ) { + $option_value['title-home-wpseo'] = '%%sitename%% - %%sitedesc%%'; + } + + /* + * Renaming these options to avoid ever overwritting these if a (bloody stupid) user / + * programmer would use any of the following as a custom post type or custom taxonomy: + * 'home', 'author', 'archive', 'search', '404', 'subpages'. + * + * Similarly, renaming the tax options to avoid a custom post type and a taxonomy + * with the same name occupying the same option. + */ + $rename = [ + 'title-home' => 'title-home-wpseo', + 'title-author' => 'title-author-wpseo', + 'title-archive' => 'title-archive-wpseo', + 'title-search' => 'title-search-wpseo', + 'title-404' => 'title-404-wpseo', + 'metadesc-home' => 'metadesc-home-wpseo', + 'metadesc-author' => 'metadesc-author-wpseo', + 'metadesc-archive' => 'metadesc-archive-wpseo', + 'noindex-author' => 'noindex-author-wpseo', + 'noindex-archive' => 'noindex-archive-wpseo', + ]; + foreach ( $rename as $old => $new ) { + if ( isset( $option_value[ $old ] ) && ! isset( $option_value[ $new ] ) ) { + $option_value[ $new ] = $option_value[ $old ]; + unset( $option_value[ $old ] ); + } + } + unset( $rename, $old, $new ); + + /* + * {@internal This clean-up action can only be done effectively once the taxonomies + * and post_types have been registered, i.e. at the end of the init action.}} + */ + if ( ( isset( $original ) && current_filter() === 'wpseo_double_clean_titles' ) || did_action( 'wpseo_double_clean_titles' ) > 0 ) { + $rename = [ + 'title-' => 'title-tax-', + 'metadesc-' => 'metadesc-tax-', + 'noindex-' => 'noindex-tax-', + 'tax-hideeditbox-' => 'hideeditbox-tax-', + + ]; + + $taxonomy_names = get_taxonomies( [ 'public' => true ], 'names' ); + $post_type_names = get_post_types( [ 'public' => true ], 'names' ); + $defaults = $this->get_defaults(); + if ( $taxonomy_names !== [] ) { + foreach ( $taxonomy_names as $tax ) { + foreach ( $rename as $old_prefix => $new_prefix ) { + if ( + ( isset( $original[ $old_prefix . $tax ] ) && ! isset( $original[ $new_prefix . $tax ] ) ) + && ( ! isset( $option_value[ $new_prefix . $tax ] ) + || ( isset( $option_value[ $new_prefix . $tax ] ) + && $option_value[ $new_prefix . $tax ] === $defaults[ $new_prefix . $tax ] ) ) + ) { + $option_value[ $new_prefix . $tax ] = $original[ $old_prefix . $tax ]; + + /* + * Check if there is a cpt with the same name as the tax, + * if so, we should make sure that the old setting hasn't been removed. + */ + if ( ! isset( $post_type_names[ $tax ] ) && isset( $option_value[ $old_prefix . $tax ] ) ) { + unset( $option_value[ $old_prefix . $tax ] ); + } + elseif ( isset( $post_type_names[ $tax ] ) && ! isset( $option_value[ $old_prefix . $tax ] ) ) { + $option_value[ $old_prefix . $tax ] = $original[ $old_prefix . $tax ]; + } + + if ( $old_prefix === 'tax-hideeditbox-' ) { + unset( $option_value[ $old_prefix . $tax ] ); + } + } + } + } + } + unset( $rename, $taxonomy_names, $post_type_names, $defaults, $tax, $old_prefix, $new_prefix ); + } + + return $option_value; + } + + /** + * Make sure that any set option values relating to post_types and/or taxonomies are retained, + * even when that post_type or taxonomy may not yet have been registered. + * + * {@internal Overrule the abstract class version of this to make sure one extra renamed + * variable key does not get removed. IMPORTANT: keep this method in line with + * the parent on which it is based!}} + * + * @param string[] $dirty Original option as retrieved from the database. + * @param string[] $clean Filtered option where any options which shouldn't be in our option + * have already been removed and any options which weren't set + * have been set to their defaults. + * + * @return string[] + */ + protected function retain_variable_keys( $dirty, $clean ) { + if ( ( is_array( $this->variable_array_key_patterns ) && $this->variable_array_key_patterns !== [] ) && ( is_array( $dirty ) && $dirty !== [] ) ) { + + // Add the extra pattern. + $patterns = $this->variable_array_key_patterns; + $patterns[] = 'tax-hideeditbox-'; + + /** + * Allow altering the array with variable array key patterns. + * + * @param array $patterns Array with the variable array key patterns. + */ + $patterns = apply_filters( 'wpseo_option_titles_variable_array_key_patterns', $patterns ); + + foreach ( $dirty as $key => $value ) { + + // Do nothing if already in filtered option array. + if ( isset( $clean[ $key ] ) ) { + continue; + } + + foreach ( $patterns as $pattern ) { + if ( strpos( $key, $pattern ) === 0 ) { + $clean[ $key ] = $value; + break; + } + } + } + } + + return $clean; + } + + /** + * Retrieves a list of separator options. + * + * @return string[] An array of the separator options. + */ + protected static function get_separator_option_list() { + $separators = [ + 'sc-dash' => [ + 'option' => '-', + 'label' => __( 'Dash', 'wordpress-seo' ), + ], + 'sc-ndash' => [ + 'option' => '–', + 'label' => __( 'En dash', 'wordpress-seo' ), + ], + 'sc-mdash' => [ + 'option' => '—', + 'label' => __( 'Em dash', 'wordpress-seo' ), + ], + 'sc-colon' => [ + 'option' => ':', + 'label' => __( 'Colon', 'wordpress-seo' ), + ], + 'sc-middot' => [ + 'option' => '·', + 'label' => __( 'Middle dot', 'wordpress-seo' ), + ], + 'sc-bull' => [ + 'option' => '•', + 'label' => __( 'Bullet', 'wordpress-seo' ), + ], + 'sc-star' => [ + 'option' => '*', + 'label' => __( 'Asterisk', 'wordpress-seo' ), + ], + 'sc-smstar' => [ + 'option' => '⋆', + 'label' => __( 'Low asterisk', 'wordpress-seo' ), + ], + 'sc-pipe' => [ + 'option' => '|', + 'label' => __( 'Vertical bar', 'wordpress-seo' ), + ], + 'sc-tilde' => [ + 'option' => '~', + 'label' => __( 'Small tilde', 'wordpress-seo' ), + ], + 'sc-laquo' => [ + 'option' => '«', + 'label' => __( 'Left angle quotation mark', 'wordpress-seo' ), + ], + 'sc-raquo' => [ + 'option' => '»', + 'label' => __( 'Right angle quotation mark', 'wordpress-seo' ), + ], + 'sc-lt' => [ + 'option' => '>', + 'label' => __( 'Less than sign', 'wordpress-seo' ), + ], + 'sc-gt' => [ + 'option' => '<', + 'label' => __( 'Greater than sign', 'wordpress-seo' ), + ], + ]; + + /** + * Allows altering the separator options array. + * + * @param array $separators Array with the separator options. + */ + $separator_list = apply_filters( 'wpseo_separator_option_list', $separators ); + + if ( ! is_array( $separator_list ) ) { + return $separators; + } + + return $separator_list; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-wpseo.php b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-wpseo.php new file mode 100644 index 00000000..1f76b73e --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-wpseo.php @@ -0,0 +1,648 @@ +get_defaults();}} + * + * @var array + */ + protected $defaults = [ + // Non-form fields, set via (ajax) function. + 'tracking' => null, + 'toggled_tracking' => false, + 'license_server_version' => false, + 'ms_defaults_set' => false, + 'ignore_search_engines_discouraged_notice' => false, + 'indexing_first_time' => true, + 'indexing_started' => null, + 'indexing_reason' => '', + 'indexables_indexing_completed' => false, + 'index_now_key' => '', + // Non-form field, should only be set via validation routine. + 'version' => '', // Leave default as empty to ensure activation/upgrade works. + 'previous_version' => '', + // Form fields. + 'disableadvanced_meta' => true, + 'enable_headless_rest_endpoints' => true, + 'ryte_indexability' => false, + 'baiduverify' => '', // Text field. + 'googleverify' => '', // Text field. + 'msverify' => '', // Text field. + 'yandexverify' => '', + 'site_type' => '', // List of options. + 'has_multiple_authors' => '', + 'environment_type' => '', + 'content_analysis_active' => true, + 'keyword_analysis_active' => true, + 'inclusive_language_analysis_active' => false, + 'enable_admin_bar_menu' => true, + 'enable_cornerstone_content' => true, + 'enable_xml_sitemap' => true, + 'enable_text_link_counter' => true, + 'enable_index_now' => true, + 'enable_ai_generator' => true, + 'ai_enabled_pre_default' => false, + 'show_onboarding_notice' => false, + 'first_activated_on' => false, + 'myyoast-oauth' => [ + 'config' => [ + 'clientId' => null, + 'secret' => null, + ], + 'access_tokens' => [], + ], + 'semrush_integration_active' => true, + 'semrush_tokens' => [], + 'semrush_country_code' => 'us', + 'permalink_structure' => '', + 'home_url' => '', + 'dynamic_permalinks' => false, + 'category_base_url' => '', + 'tag_base_url' => '', + 'custom_taxonomy_slugs' => [], + 'enable_enhanced_slack_sharing' => true, + 'enable_metabox_insights' => true, + 'enable_link_suggestions' => true, + 'algolia_integration_active' => false, + 'import_cursors' => [], + 'workouts_data' => [ 'configuration' => [ 'finishedSteps' => [] ] ], + 'configuration_finished_steps' => [], + 'dismiss_configuration_workout_notice' => false, + 'dismiss_premium_deactivated_notice' => false, + 'importing_completed' => [], + 'wincher_integration_active' => true, + 'wincher_tokens' => [], + 'wincher_automatically_add_keyphrases' => false, + 'wincher_website_id' => '', + 'first_time_install' => false, + 'should_redirect_after_install_free' => false, + 'activation_redirect_timestamp_free' => 0, + 'remove_feed_global' => false, + 'remove_feed_global_comments' => false, + 'remove_feed_post_comments' => false, + 'remove_feed_authors' => false, + 'remove_feed_categories' => false, + 'remove_feed_tags' => false, + 'remove_feed_custom_taxonomies' => false, + 'remove_feed_post_types' => false, + 'remove_feed_search' => false, + 'remove_atom_rdf_feeds' => false, + 'remove_shortlinks' => false, + 'remove_rest_api_links' => false, + 'remove_rsd_wlw_links' => false, + 'remove_oembed_links' => false, + 'remove_generator' => false, + 'remove_emoji_scripts' => false, + 'remove_powered_by_header' => false, + 'remove_pingback_header' => false, + 'clean_campaign_tracking_urls' => false, + 'clean_permalinks' => false, + 'clean_permalinks_extra_variables' => '', + 'search_cleanup' => false, + 'search_cleanup_emoji' => false, + 'search_cleanup_patterns' => false, + 'search_character_limit' => 50, + 'deny_search_crawling' => false, + 'deny_wp_json_crawling' => false, + 'deny_adsbot_crawling' => false, + 'deny_ccbot_crawling' => false, + 'deny_google_extended_crawling' => false, + 'deny_gptbot_crawling' => false, + 'redirect_search_pretty_urls' => false, + 'least_readability_ignore_list' => [], + 'least_seo_score_ignore_list' => [], + 'most_linked_ignore_list' => [], + 'least_linked_ignore_list' => [], + 'indexables_page_reading_list' => [ false, false, false, false, false ], + 'indexables_overview_state' => 'dashboard-not-visited', + 'last_known_public_post_types' => [], + 'last_known_public_taxonomies' => [], + 'last_known_no_unindexed' => [], + 'new_post_types' => [], + 'new_taxonomies' => [], + 'show_new_content_type_notification' => false, + ]; + + /** + * Sub-options which should not be overloaded with multi-site defaults. + * + * @var array + */ + public $ms_exclude = [ + 'ignore_search_engines_discouraged_notice', + /* Privacy. */ + 'baiduverify', + 'googleverify', + 'msverify', + 'yandexverify', + ]; + + /** + * Possible values for the site_type option. + * + * @var array + */ + protected $site_types = [ + '', + 'blog', + 'shop', + 'news', + 'smallBusiness', + 'corporateOther', + 'personalOther', + ]; + + /** + * Possible environment types. + * + * @var array + */ + protected $environment_types = [ + '', + 'local', + 'production', + 'staging', + 'development', + ]; + + /** + * Possible has_multiple_authors options. + * + * @var array + */ + protected $has_multiple_authors_options = [ + '', + true, + false, + ]; + + /** + * Name for an option higher in the hierarchy to override setting access. + * + * @var string + */ + protected $override_option_name = 'wpseo_ms'; + + /** + * Add the actions and filters for the option. + * + * @todo [JRF => testers] Check if the extra actions below would run into problems if an option + * is updated early on and if so, change the call to schedule these for a later action on add/update + * instead of running them straight away. + */ + protected function __construct() { + parent::__construct(); + + /** + * Filter: 'wpseo_enable_tracking' - Enables the data tracking of Yoast SEO Premium. + * + * @param string $is_enabled The enabled state. Default is false. + */ + $this->defaults['tracking'] = apply_filters( 'wpseo_enable_tracking', false ); + + /* Clear the cache on update/add. */ + add_action( 'add_option_' . $this->option_name, [ 'WPSEO_Utils', 'clear_cache' ] ); + add_action( 'update_option_' . $this->option_name, [ 'WPSEO_Utils', 'clear_cache' ] ); + + add_filter( 'admin_title', [ 'Yoast_Input_Validation', 'add_yoast_admin_document_title_errors' ] ); + + /** + * Filter the `wpseo` option defaults. + * + * @param array $defaults Array the defaults for the `wpseo` option attributes. + */ + $this->defaults = apply_filters( 'wpseo_option_wpseo_defaults', $this->defaults ); + } + + /** + * Get the singleton instance of this class. + * + * @return object + */ + public static function get_instance() { + if ( ! ( self::$instance instanceof self ) ) { + self::$instance = new self(); + } + + return self::$instance; + } + + /** + * Add filters to make sure that the option is merged with its defaults before being returned. + * + * @return void + */ + public function add_option_filters() { + parent::add_option_filters(); + + list( $hookname, $callback, $priority ) = $this->get_verify_features_option_filter_hook(); + + if ( has_filter( $hookname, $callback ) === false ) { + add_filter( $hookname, $callback, $priority ); + } + } + + /** + * Remove the option filters. + * Called from the clean_up methods to make sure we retrieve the original old option. + * + * @return void + */ + public function remove_option_filters() { + parent::remove_option_filters(); + + list( $hookname, $callback, $priority ) = $this->get_verify_features_option_filter_hook(); + + remove_filter( $hookname, $callback, $priority ); + } + + /** + * Add filters to make sure that the option default is returned if the option is not set. + * + * @return void + */ + public function add_default_filters() { + parent::add_default_filters(); + + list( $hookname, $callback, $priority ) = $this->get_verify_features_default_option_filter_hook(); + + if ( has_filter( $hookname, $callback ) === false ) { + add_filter( $hookname, $callback, $priority ); + } + } + + /** + * Remove the default filters. + * Called from the validate() method to prevent failure to add new options. + * + * @return void + */ + public function remove_default_filters() { + parent::remove_default_filters(); + + list( $hookname, $callback, $priority ) = $this->get_verify_features_default_option_filter_hook(); + + remove_filter( $hookname, $callback, $priority ); + } + + /** + * Validate 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 Validated clean value for the option to be saved to the database. + */ + protected function validate_option( $dirty, $clean, $old ) { + + foreach ( $clean as $key => $value ) { + switch ( $key ) { + case 'version': + $clean[ $key ] = WPSEO_VERSION; + break; + case 'previous_version': + case 'semrush_country_code': + case 'license_server_version': + case 'home_url': + case 'index_now_key': + case 'wincher_website_id': + case 'clean_permalinks_extra_variables': + case 'indexables_overview_state': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + break; + case 'indexing_reason': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = sanitize_text_field( $dirty[ $key ] ); + } + break; + + /* Verification strings. */ + case 'baiduverify': + case 'googleverify': + case 'msverify': + case 'yandexverify': + $this->validate_verification_string( $key, $dirty, $old, $clean ); + break; + + /* + * Boolean dismiss warnings - not fields - may not be in form + * (and don't need to be either as long as the default is false). + */ + case 'ignore_search_engines_discouraged_notice': + case 'ms_defaults_set': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = WPSEO_Utils::validate_bool( $dirty[ $key ] ); + } + elseif ( isset( $old[ $key ] ) ) { + $clean[ $key ] = WPSEO_Utils::validate_bool( $old[ $key ] ); + } + break; + + case 'site_type': + $clean[ $key ] = $old[ $key ]; + if ( isset( $dirty[ $key ] ) && in_array( $dirty[ $key ], $this->site_types, true ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + break; + + case 'environment_type': + $clean[ $key ] = $old[ $key ]; + if ( isset( $dirty[ $key ] ) && in_array( $dirty[ $key ], $this->environment_types, true ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + break; + + case 'has_multiple_authors': + $clean[ $key ] = $old[ $key ]; + if ( isset( $dirty[ $key ] ) && in_array( $dirty[ $key ], $this->has_multiple_authors_options, true ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + + break; + + case 'first_activated_on': + case 'indexing_started': + case 'activation_redirect_timestamp_free': + $clean[ $key ] = false; + if ( isset( $dirty[ $key ] ) ) { + if ( $dirty[ $key ] === false || WPSEO_Utils::validate_int( $dirty[ $key ] ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + } + break; + + case 'tracking': + $clean[ $key ] = ( isset( $dirty[ $key ] ) ? WPSEO_Utils::validate_bool( $dirty[ $key ] ) : null ); + break; + + case 'myyoast_oauth': + case 'semrush_tokens': + case 'custom_taxonomy_slugs': + case 'wincher_tokens': + case 'workouts_data': + case 'configuration_finished_steps': + case 'least_readability_ignore_list': + case 'least_seo_score_ignore_list': + case 'most_linked_ignore_list': + case 'least_linked_ignore_list': + case 'indexables_page_reading_list': + case 'last_known_public_post_types': + case 'last_known_public_taxonomies': + case 'new_post_types': + case 'new_taxonomies': + $clean[ $key ] = $old[ $key ]; + + if ( isset( $dirty[ $key ] ) ) { + $items = $dirty[ $key ]; + if ( ! is_array( $items ) ) { + $items = json_decode( $dirty[ $key ], true ); + } + + if ( is_array( $items ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + } + + break; + + case 'permalink_structure': + case 'category_base_url': + case 'tag_base_url': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = sanitize_option( $key, $dirty[ $key ] ); + } + break; + + case 'search_character_limit': + if ( isset( $dirty[ $key ] ) ) { + $clean[ $key ] = (int) $dirty[ $key ]; + } + break; + + case 'import_cursors': + case 'importing_completed': + if ( isset( $dirty[ $key ] ) && is_array( $dirty[ $key ] ) ) { + $clean[ $key ] = $dirty[ $key ]; + } + break; + + case 'last_known_no_unindexed': + $clean[ $key ] = $old[ $key ]; + + if ( isset( $dirty[ $key ] ) ) { + $items = $dirty[ $key ]; + + if ( is_array( $items ) ) { + foreach ( $items as $item_key => $item ) { + if ( ! is_string( $item_key ) || ! is_numeric( $item ) ) { + unset( $items[ $item_key ] ); + } + } + $clean[ $key ] = $items; + } + } + + break; + + /* + * Boolean (checkbox) fields. + * + * Covers: + * 'disableadvanced_meta' + * 'enable_headless_rest_endpoints' + * 'yoast_tracking' + * 'dynamic_permalinks' + * 'indexing_first_time' + * 'first_time_install' + * 'remove_feed_global' + * 'remove_feed_global_comments' + * 'remove_feed_post_comments' + * 'remove_feed_authors' + * 'remove_feed_categories' + * 'remove_feed_tags' + * 'remove_feed_custom_taxonomies' + * 'remove_feed_post_types' + * 'remove_feed_search' + * 'remove_atom_rdf_feeds' + * 'remove_shortlinks' + * 'remove_rest_api_links' + * 'remove_rsd_wlw_links' + * 'remove_oembed_links' + * 'remove_generator' + * 'remove_emoji_scripts' + * 'remove_powered_by_header' + * 'remove_pingback_header' + * 'clean_campaign_tracking_urls' + * 'clean_permalinks' + * 'clean_permalinks_extra_variables' + * 'search_cleanup' + * 'search_cleanup_emoji' + * 'search_cleanup_patterns' + * 'deny_wp_json_crawling' + * 'deny_adsbot_crawling' + * 'deny_ccbot_crawling' + * 'deny_google_extended_crawling' + * 'deny_gptbot_crawling' + * 'redirect_search_pretty_urls' + * 'should_redirect_after_install_free' + * 'show_new_content_type_notification' + * and most of the feature variables. + */ + default: + $clean[ $key ] = ( isset( $dirty[ $key ] ) ? WPSEO_Utils::validate_bool( $dirty[ $key ] ) : false ); + break; + } + } + + return $clean; + } + + /** + * Verifies that the feature variables are turned off if the network is configured so. + * + * @param mixed $options Value of the option to be returned. Typically an array. + * + * @return mixed Filtered $options value. + */ + public function verify_features_against_network( $options = [] ) { + if ( ! is_array( $options ) || empty( $options ) ) { + return $options; + } + + // For the feature variables, set their values to off in case they are disabled. + $feature_vars = [ + 'disableadvanced_meta' => false, + 'ryte_indexability' => false, + 'content_analysis_active' => false, + 'keyword_analysis_active' => false, + 'inclusive_language_analysis_active' => false, + 'enable_admin_bar_menu' => false, + 'enable_cornerstone_content' => false, + 'enable_xml_sitemap' => false, + 'enable_text_link_counter' => false, + 'enable_metabox_insights' => false, + 'enable_link_suggestions' => false, + 'enable_headless_rest_endpoints' => false, + 'tracking' => false, + 'enable_enhanced_slack_sharing' => false, + 'semrush_integration_active' => false, + 'wincher_integration_active' => false, + 'remove_feed_global' => false, + 'remove_feed_global_comments' => false, + 'remove_feed_post_comments' => false, + 'enable_index_now' => false, + 'enable_ai_generator' => false, + 'remove_feed_authors' => false, + 'remove_feed_categories' => false, + 'remove_feed_tags' => false, + 'remove_feed_custom_taxonomies' => false, + 'remove_feed_post_types' => false, + 'remove_feed_search' => false, + 'remove_atom_rdf_feeds' => false, + 'remove_shortlinks' => false, + 'remove_rest_api_links' => false, + 'remove_rsd_wlw_links' => false, + 'remove_oembed_links' => false, + 'remove_generator' => false, + 'remove_emoji_scripts' => false, + 'remove_powered_by_header' => false, + 'remove_pingback_header' => false, + 'clean_campaign_tracking_urls' => false, + 'clean_permalinks' => false, + 'search_cleanup' => false, + 'search_cleanup_emoji' => false, + 'search_cleanup_patterns' => false, + 'redirect_search_pretty_urls' => false, + 'algolia_integration_active' => false, + ]; + + // We can reuse this logic from the base class with the above defaults to parse with the correct feature values. + $options = $this->prevent_disabled_options_update( $options, $feature_vars ); + + return $options; + } + + /** + * Gets the filter hook name and callback for adjusting the retrieved option value + * against the network-allowed features. + * + * @return array Array where the first item is the hook name, the second is the hook callback, + * and the third is the hook priority. + */ + protected function get_verify_features_option_filter_hook() { + return [ + "option_{$this->option_name}", + [ $this, 'verify_features_against_network' ], + 11, + ]; + } + + /** + * Gets the filter hook name and callback for adjusting the default option value against the network-allowed features. + * + * @return array Array where the first item is the hook name, the second is the hook callback, + * and the third is the hook priority. + */ + protected function get_verify_features_default_option_filter_hook() { + return [ + "default_option_{$this->option_name}", + [ $this, 'verify_features_against_network' ], + 11, + ]; + } + + /** + * Clean a given option value. + * + * @param array $option_value Old (not merged with defaults or filtered) option value to + * clean according to the rules for this option. + * @param string|null $current_version Optional. Version from which to upgrade, if not set, + * version specific upgrades will be disregarded. + * @param array|null $all_old_option_values Optional. Only used when importing old options to have + * access to the real old values, in contrast to the saved ones. + * + * @return array Cleaned option. + */ + protected function clean_option( $option_value, $current_version = null, $all_old_option_values = null ) { + // Deal with value change from text string to boolean. + $value_change = [ + 'ignore_search_engines_discouraged_notice', + ]; + + $target_values = [ + 'ignore', + 'done', + ]; + + foreach ( $value_change as $key ) { + if ( isset( $option_value[ $key ] ) + && in_array( $option_value[ $key ], $target_values, true ) + ) { + $option_value[ $key ] = true; + } + } + + return $option_value; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option.php b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option.php new file mode 100644 index 00000000..1f0a36a3 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option.php @@ -0,0 +1,854 @@ + testers] Double check that validation will not cause errors when called + * from upgrade routine (some of the WP functions may not yet be available). + */ +abstract class WPSEO_Option { + + /** + * Prefix for override option keys that allow or disallow the option key of the same name. + * + * @var string + */ + public const ALLOW_KEY_PREFIX = 'allow_'; + + /** + * Option name - MUST be set in concrete class and set to public. + * + * @var string + */ + protected $option_name; + + /** + * Option group name for use in settings forms. + * + * Will be set automagically if not set in concrete class (i.e. + * if it conforms to the normal pattern 'yoast' . $option_name . 'options', + * only set in concrete class if it doesn't). + * + * @var string + */ + public $group_name; + + /** + * Whether to include the option in the return for WPSEO_Options::get_all(). + * + * Also determines which options are copied over for ms_(re)set_blog(). + * + * @var bool + */ + public $include_in_all = true; + + /** + * Whether this option is only for when the install is multisite. + * + * @var bool + */ + public $multisite_only = false; + + /** + * Array of defaults for the option - MUST be set in concrete class. + * + * Shouldn't be requested directly, use $this->get_defaults(); + * + * @var array + */ + protected $defaults; + + /** + * Array of variable option name patterns for the option - if any. + * + * Set this when the option contains array keys which vary based on post_type + * or taxonomy. + * + * @var array + */ + protected $variable_array_key_patterns; + + /** + * Array of sub-options which should not be overloaded with multi-site defaults. + * + * @var array + */ + public $ms_exclude = []; + + /** + * Name for an option higher in the hierarchy to override setting access. + * + * @var string + */ + protected $override_option_name; + + /** + * Instance of this class. + * + * @var WPSEO_Option + */ + protected static $instance; + + + /* *********** INSTANTIATION METHODS *********** */ + + /** + * Add all the actions and filters for the option. + */ + protected function __construct() { + + /* Add filters which get applied to the get_options() results. */ + $this->add_default_filters(); // Return defaults if option not set. + $this->add_option_filters(); // Merge with defaults if option *is* set. + + if ( $this->multisite_only !== true ) { + /** + * The option validation routines remove the default filters to prevent failing + * to insert an option if it's new. Let's add them back afterwards. + */ + add_action( 'add_option', [ $this, 'add_default_filters_if_same_option' ] ); // Adding back after INSERT. + + add_action( 'update_option', [ $this, 'add_default_filters_if_same_option' ] ); + + add_filter( 'pre_update_option', [ $this, 'add_default_filters_if_not_changed' ], PHP_INT_MAX, 3 ); + + // Refills the cache when the option has been updated. + add_action( 'update_option_' . $this->option_name, [ 'WPSEO_Options', 'clear_cache' ], 10 ); + } + elseif ( is_multisite() ) { + /* + * The option validation routines remove the default filters to prevent failing + * to insert an option if it's new. Let's add them back afterwards. + * + * For site_options, this method is not foolproof as these actions are not fired + * on an insert/update failure. Please use the WPSEO_Options::update_site_option() method + * for updating site options to make sure the filters are in place. + */ + add_action( 'add_site_option_' . $this->option_name, [ $this, 'add_default_filters' ] ); + add_action( 'update_site_option_' . $this->option_name, [ $this, 'add_default_filters' ] ); + add_filter( 'pre_update_site_option_' . $this->option_name, [ $this, 'add_default_filters_if_not_changed' ], PHP_INT_MAX, 3 ); + + // Refills the cache when the option has been updated. + add_action( 'update_site_option_' . $this->option_name, [ 'WPSEO_Options', 'clear_cache' ], 1, 0 ); + } + + /* + * Make sure the option will always get validated, independently of register_setting() + * (only available on back-end). + */ + add_filter( 'sanitize_option_' . $this->option_name, [ $this, 'validate' ] ); + + /* Register our option for the admin pages */ + add_action( 'admin_init', [ $this, 'register_setting' ] ); + + /* Set option group name if not given */ + if ( ! isset( $this->group_name ) || $this->group_name === '' ) { + $this->group_name = 'yoast_' . $this->option_name . '_options'; + } + + /* Translate some defaults as early as possible - textdomain is loaded in init on priority 1. */ + if ( method_exists( $this, 'translate_defaults' ) ) { + add_action( 'init', [ $this, 'translate_defaults' ], 2 ); + } + + /** + * Enrich defaults once custom post types and taxonomies have been registered + * which is normally done on the init action. + * + * @todo [JRF/testers] Verify that none of the options which are only available after + * enrichment are used before the enriching. + */ + if ( method_exists( $this, 'enrich_defaults' ) ) { + add_action( 'init', [ $this, 'enrich_defaults' ], 99 ); + } + } + + /* + * All concrete classes *must* contain the get_instance method. + * + * {@internal Unfortunately I can't define it as an abstract as it also *has* to be static...}} + * + * ``` + * abstract protected static function get_instance(); + * ``` + * --------------- + * + * Concrete classes *may* contain a translate_defaults method. + * ``` + * abstract public function translate_defaults(); + * ``` + * --------------- + * + * Concrete classes *may* contain an enrich_defaults method to add additional defaults once + * all post_types and taxonomies have been registered. + * + * ``` + * abstract public function enrich_defaults(); + * ``` + */ + + /* *********** METHODS INFLUENCING get_option() *********** */ + + /** + * Add filters to make sure that the option default is returned if the option is not set. + * + * @return void + */ + public function add_default_filters() { + // Don't change, needs to check for false as could return prio 0 which would evaluate to false. + if ( has_filter( 'default_option_' . $this->option_name, [ $this, 'get_defaults' ] ) === false ) { + add_filter( 'default_option_' . $this->option_name, [ $this, 'get_defaults' ] ); + } + } + + /** + * Adds back the default filters that were removed during validation if the option was changed. + * Checks if this option was changed to prevent constantly checking if filters are present. + * + * @param string $option_name The option name. + * + * @return void + */ + public function add_default_filters_if_same_option( $option_name ) { + if ( $option_name === $this->option_name ) { + $this->add_default_filters(); + } + } + + /** + * Adds back the default filters that were removed during validation if the option was not changed. + * This is because in that case the latter actions are not called and thus the filters are never + * added back. + * + * @param mixed $value The current value. + * @param string $option_name The option name. + * @param mixed $old_value The old value. + * + * @return string The current value. + */ + public function add_default_filters_if_not_changed( $value, $option_name, $old_value ) { + if ( $option_name !== $this->option_name ) { + return $value; + } + + if ( $value === $old_value || maybe_serialize( $value ) === maybe_serialize( $old_value ) ) { + $this->add_default_filters(); + } + + return $value; + } + + /** + * Validate webmaster tools & Pinterest verification strings. + * + * @param string $key Key to check, by type of service. + * @param array $dirty Dirty data with the new values. + * @param array $old Old data. + * @param array $clean Clean data by reference, normally the default values. + * + * @return void + */ + public function validate_verification_string( $key, $dirty, $old, &$clean ) { + if ( isset( $dirty[ $key ] ) && $dirty[ $key ] !== '' ) { + $meta = $dirty[ $key ]; + if ( strpos( $meta, 'content=' ) ) { + // Make sure we only have the real key, not a complete meta tag. + preg_match( '`content=([\'"])?([^\'"> ]+)(?:\1|[ />])`', $meta, $match ); + if ( isset( $match[2] ) ) { + $meta = $match[2]; + } + unset( $match ); + } + + $meta = sanitize_text_field( $meta ); + if ( $meta !== '' ) { + $regex = '`^[A-Fa-f0-9_-]+$`'; + + switch ( $key ) { + case 'googleverify': + case 'baiduverify': + $regex = '`^[A-Za-z0-9_-]+$`'; + break; + + case 'msverify': + case 'pinterestverify': + case 'yandexverify': + break; + } + + if ( preg_match( $regex, $meta ) ) { + $clean[ $key ] = $meta; + } + else { + // Restore the previous value, if any. + if ( isset( $old[ $key ] ) && preg_match( $regex, $old[ $key ] ) ) { + $clean[ $key ] = $old[ $key ]; + } + + Yoast_Input_Validation::add_dirty_value_to_settings_errors( $key, $meta ); + } + } + } + } + + /** + * Validates an option as a valid URL. Prints out a WordPress settings error + * notice if the URL is invalid. + * + * @param string $key Key to check, by type of URL setting. + * @param array $dirty Dirty data with the new values. + * @param array $old Old data. + * @param array $clean Clean data by reference, normally the default values. + * + * @return void + */ + public function validate_url( $key, $dirty, $old, &$clean ) { + if ( isset( $dirty[ $key ] ) && $dirty[ $key ] !== '' ) { + + $submitted_url = trim( $dirty[ $key ] ); + $validated_url = filter_var( WPSEO_Utils::sanitize_url( $submitted_url ), FILTER_VALIDATE_URL ); + + if ( $validated_url === false ) { + // Restore the previous URL value, if any. + if ( isset( $old[ $key ] ) && $old[ $key ] !== '' ) { + $url = WPSEO_Utils::sanitize_url( $old[ $key ] ); + if ( $url !== '' ) { + $clean[ $key ] = $url; + } + } + + Yoast_Input_Validation::add_dirty_value_to_settings_errors( $key, $submitted_url ); + + return; + } + + // The URL format is valid, let's sanitize it. + $url = WPSEO_Utils::sanitize_url( $validated_url ); + + if ( $url !== '' ) { + $clean[ $key ] = $url; + } + } + } + + /** + * Remove the default filters. + * Called from the validate() method to prevent failure to add new options. + * + * @return void + */ + public function remove_default_filters() { + remove_filter( 'default_option_' . $this->option_name, [ $this, 'get_defaults' ] ); + } + + /** + * Get the enriched default value for an option. + * + * Checks if the concrete class contains an enrich_defaults() method and if so, runs it. + * + * {@internal The enrich_defaults method is used to set defaults for variable array keys + * in an option, such as array keys depending on post_types and/or taxonomies.}} + * + * @return array + */ + public function get_defaults() { + if ( method_exists( $this, 'translate_defaults' ) ) { + $this->translate_defaults(); + } + + if ( method_exists( $this, 'enrich_defaults' ) ) { + $this->enrich_defaults(); + } + + return apply_filters( 'wpseo_defaults', $this->defaults, $this->option_name ); + } + + /** + * Add filters to make sure that the option is merged with its defaults before being returned. + * + * @return void + */ + public function add_option_filters() { + // Don't change, needs to check for false as could return prio 0 which would evaluate to false. + if ( has_filter( 'option_' . $this->option_name, [ $this, 'get_option' ] ) === false ) { + add_filter( 'option_' . $this->option_name, [ $this, 'get_option' ] ); + } + } + + /** + * Remove the option filters. + * Called from the clean_up methods to make sure we retrieve the original old option. + * + * @return void + */ + public function remove_option_filters() { + remove_filter( 'option_' . $this->option_name, [ $this, 'get_option' ] ); + } + + /** + * Merge an option with its default values. + * + * This method should *not* be called directly!!! It is only meant to filter the get_option() results. + * + * @param mixed $options Option value. + * + * @return mixed Option merged with the defaults for that option. + */ + public function get_option( $options = null ) { + $filtered = $this->array_filter_merge( $options ); + + /* + * If the option contains variable option keys, make sure we don't remove those settings + * - even if the defaults are not complete yet. + * Unfortunately this means we also won't be removing the settings for post types or taxonomies + * which are no longer in the WP install, but rather that than the other way around. + */ + if ( isset( $this->variable_array_key_patterns ) ) { + $filtered = $this->retain_variable_keys( $options, $filtered ); + } + + return $filtered; + } + + /* *********** METHODS influencing add_option(), update_option() and saving from admin pages. *********** */ + + /** + * Register (whitelist) the option for the configuration pages. + * The validation callback is already registered separately on the sanitize_option hook, + * so no need to double register. + * + * @return void + */ + public function register_setting() { + if ( ! WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ) { + return; + } + + if ( $this->multisite_only === true ) { + $network_settings_api = Yoast_Network_Settings_API::get(); + if ( $network_settings_api->meets_requirements() ) { + $network_settings_api->register_setting( $this->group_name, $this->option_name ); + } + return; + } + + register_setting( $this->group_name, $this->option_name ); + } + + /** + * Validate the option. + * + * @param mixed $option_value The unvalidated new value for the option. + * + * @return array Validated new value for the option. + */ + public function validate( $option_value ) { + $clean = $this->get_defaults(); + + /* Return the defaults if the new value is empty. */ + if ( ! is_array( $option_value ) || $option_value === [] ) { + return $clean; + } + + $option_value = array_map( [ 'WPSEO_Utils', 'trim_recursive' ], $option_value ); + + $old = $this->get_original_option(); + if ( ! is_array( $old ) ) { + $old = []; + } + $old = array_merge( $clean, $old ); + + $clean = $this->validate_option( $option_value, $clean, $old ); + + // Prevent updates to variables that are disabled via the override option. + $clean = $this->prevent_disabled_options_update( $clean, $old ); + + /* Retain the values for variable array keys even when the post type/taxonomy is not yet registered. */ + if ( isset( $this->variable_array_key_patterns ) ) { + $clean = $this->retain_variable_keys( $option_value, $clean ); + } + + $this->remove_default_filters(); + + return $clean; + } + + /** + * Checks whether a specific option key is disabled. + * + * This is determined by whether an override option is available with a key that equals the given key prefixed + * with 'allow_'. + * + * @param string $key Option key. + * + * @return bool True if option key is disabled, false otherwise. + */ + public function is_disabled( $key ) { + $override_option = $this->get_override_option(); + if ( empty( $override_option ) ) { + return false; + } + + return isset( $override_option[ self::ALLOW_KEY_PREFIX . $key ] ) && ! $override_option[ self::ALLOW_KEY_PREFIX . $key ]; + } + + /** + * 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. + */ + abstract protected function validate_option( $dirty, $clean, $old ); + + /* *********** METHODS for ADDING/UPDATING/UPGRADING the option. *********** */ + + /** + * Retrieve the real old value (unmerged with defaults). + * + * @return array|bool The original option value (which can be false if the option doesn't exist). + */ + protected function get_original_option() { + $this->remove_default_filters(); + $this->remove_option_filters(); + + // Get (unvalidated) array, NOT merged with defaults. + if ( $this->multisite_only !== true ) { + $option_value = get_option( $this->option_name ); + } + else { + $option_value = get_site_option( $this->option_name ); + } + + $this->add_option_filters(); + $this->add_default_filters(); + + return $option_value; + } + + /** + * Add the option if it doesn't exist for some strange reason. + * + * @uses WPSEO_Option::get_original_option() + * + * @return void + */ + public function maybe_add_option() { + if ( $this->get_original_option() === false ) { + if ( $this->multisite_only !== true ) { + update_option( $this->option_name, $this->get_defaults() ); + } + else { + $this->update_site_option( $this->get_defaults() ); + } + } + } + + /** + * Update a site_option. + * + * {@internal This special method is only needed for multisite options, but very needed indeed there. + * The order in which certain functions and hooks are run is different between + * get_option() and get_site_option() which means in practice that the removing + * of the default filters would be done too late and the re-adding of the default + * filters might not be done at all. + * Aka: use the WPSEO_Options::update_site_option() method (which calls this method) + * for safely adding/updating multisite options.}} + * + * @param mixed $value The new value for the option. + * + * @return bool Whether the update was successful. + */ + public function update_site_option( $value ) { + if ( $this->multisite_only === true && is_multisite() ) { + $this->remove_default_filters(); + $result = update_site_option( $this->option_name, $value ); + $this->add_default_filters(); + + return $result; + } + else { + return false; + } + } + + /** + * Retrieve the real old value (unmerged with defaults), clean and re-save the option. + * + * @uses WPSEO_Option::get_original_option() + * @uses WPSEO_Option::import() + * + * @param string|null $current_version Optional. Version from which to upgrade, if not set, + * version-specific upgrades will be disregarded. + * + * @return void + */ + public function clean( $current_version = null ) { + $option_value = $this->get_original_option(); + $this->import( $option_value, $current_version ); + } + + /** + * Clean and re-save the option. + * + * @uses clean_option() method from concrete class if it exists. + * + * @todo [JRF/whomever] Figure out a way to show settings error during/after the upgrade - maybe + * something along the lines of: + * -> add them to a property in this class + * -> if that property isset at the end of the routine and add_settings_error function does not exist, + * save as transient (or update the transient if one already exists) + * -> next time an admin is in the WP back-end, show the errors and delete the transient or only delete it + * once the admin has dismissed the message (add ajax function) + * Important: all validation routines which add_settings_errors would need to be changed for this to work + * + * @param array $option_value Option value to be imported. + * @param string|null $current_version Optional. Version from which to upgrade, if not set, + * version-specific upgrades will be disregarded. + * @param array|null $all_old_option_values Optional. Only used when importing old options to + * have access to the real old values, in contrast to + * the saved ones. + * + * @return void + */ + public function import( $option_value, $current_version = null, $all_old_option_values = null ) { + if ( $option_value === false ) { + $option_value = $this->get_defaults(); + } + elseif ( is_array( $option_value ) && method_exists( $this, 'clean_option' ) ) { + $option_value = $this->clean_option( $option_value, $current_version, $all_old_option_values ); + } + + /* + * Save the cleaned value - validation will take care of cleaning out array keys which + * should no longer be there. + */ + if ( $this->multisite_only !== true ) { + update_option( $this->option_name, $option_value ); + } + else { + $this->update_site_option( $this->option_name, $option_value ); + } + } + + /** + * Returns the variable array key patterns for an options class. + * + * @return array + */ + public function get_patterns() { + return (array) $this->variable_array_key_patterns; + } + + /** + * Retrieves the option name. + * + * @return string The set option name. + */ + public function get_option_name() { + return $this->option_name; + } + + /* + * Concrete classes *may* contain a clean_option method which will clean out old/renamed + * values within the option. + * + * ``` + * abstract public function clean_option( $option_value, $current_version = null, $all_old_option_values = null ); + * ``` + */ + + /* *********** HELPER METHODS for internal use. *********** */ + + /** + * Helper method - Combines a fixed array of default values with an options array + * while filtering out any keys which are not in the defaults array. + * + * @todo [JRF] - shouldn't this be a straight array merge ? at the end of the day, the validation + * removes any invalid keys on save. + * + * @param array|null $options Optional. Current options. If not set, the option defaults + * for the $option_key will be returned. + * + * @return array Combined and filtered options array. + */ + protected function array_filter_merge( $options = null ) { + + $defaults = $this->get_defaults(); + + if ( ! isset( $options ) || $options === false || $options === [] ) { + return $defaults; + } + + $options = (array) $options; + + /* + $filtered = array(); + + if ( $defaults !== array() ) { + foreach ( $defaults as $key => $default_value ) { + // @todo should this walk through array subkeys ? + $filtered[ $key ] = ( isset( $options[ $key ] ) ? $options[ $key ] : $default_value ); + } + } + */ + $filtered = array_merge( $defaults, $options ); + + return $filtered; + } + + /** + * Sets updated values for variables that are disabled via the override option back to their previous values. + * + * @param array $updated Updated option value. + * @param array $old Old option value. + * + * @return array Updated option value, with all disabled variables set to their old values. + */ + protected function prevent_disabled_options_update( $updated, $old ) { + $override_option = $this->get_override_option(); + if ( empty( $override_option ) ) { + return $updated; + } + + /* + * This loop could as well call `is_disabled( $key )` for each iteration, + * however this would be worse performance-wise. + */ + foreach ( $old as $key => $value ) { + if ( isset( $override_option[ self::ALLOW_KEY_PREFIX . $key ] ) && ! $override_option[ self::ALLOW_KEY_PREFIX . $key ] ) { + $updated[ $key ] = $old[ $key ]; + } + } + + return $updated; + } + + /** + * Retrieves the value of the override option, if available. + * + * An override option contains values that may determine access to certain sub-variables + * of this option. + * + * Only regular options in multisite can have override options, which in that case + * would be network options. + * + * @return array Override option value, or empty array if unavailable. + */ + protected function get_override_option() { + if ( empty( $this->override_option_name ) || $this->multisite_only === true || ! is_multisite() ) { + return []; + } + + return get_site_option( $this->override_option_name, [] ); + } + + /** + * Make sure that any set option values relating to post_types and/or taxonomies are retained, + * even when that post_type or taxonomy may not yet have been registered. + * + * {@internal The wpseo_titles concrete class overrules this method. Make sure that any + * changes applied here, also get ported to that version.}} + * + * @param array $dirty Original option as retrieved from the database. + * @param array $clean Filtered option where any options which shouldn't be in our option + * have already been removed and any options which weren't set + * have been set to their defaults. + * + * @return array + */ + protected function retain_variable_keys( $dirty, $clean ) { + if ( ( is_array( $this->variable_array_key_patterns ) && $this->variable_array_key_patterns !== [] ) && ( is_array( $dirty ) && $dirty !== [] ) ) { + foreach ( $dirty as $key => $value ) { + + // Do nothing if already in filtered options. + if ( isset( $clean[ $key ] ) ) { + continue; + } + + foreach ( $this->variable_array_key_patterns as $pattern ) { + + if ( strpos( $key, $pattern ) === 0 ) { + $clean[ $key ] = $value; + break; + } + } + } + } + + return $clean; + } + + /** + * Check whether a given array key conforms to one of the variable array key patterns for this option. + * + * @used-by validate_option() methods for options with variable array keys. + * + * @param string $key Array key to check. + * + * @return string Pattern if it conforms, original array key if it doesn't or if the option + * does not have variable array keys. + */ + protected function get_switch_key( $key ) { + if ( ! isset( $this->variable_array_key_patterns ) || ( ! is_array( $this->variable_array_key_patterns ) || $this->variable_array_key_patterns === [] ) ) { + return $key; + } + + foreach ( $this->variable_array_key_patterns as $pattern ) { + if ( strpos( $key, $pattern ) === 0 ) { + return $pattern; + } + } + + return $key; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php new file mode 100644 index 00000000..eaae3340 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php @@ -0,0 +1,596 @@ + (string) name of concrete class for the option. + */ + public static $options = [ + 'wpseo' => 'WPSEO_Option_Wpseo', + 'wpseo_titles' => 'WPSEO_Option_Titles', + 'wpseo_social' => 'WPSEO_Option_Social', + 'wpseo_ms' => 'WPSEO_Option_MS', + 'wpseo_taxonomy_meta' => 'WPSEO_Taxonomy_Meta', + ]; + + /** + * Array of instantiated option objects. + * + * @var array + */ + protected static $option_instances = []; + + /** + * Array with the option names. + * + * @var array + */ + protected static $option_names = []; + + /** + * Instance of this class. + * + * @var WPSEO_Options + */ + protected static $instance; + + /** + * Instantiate all the WPSEO option management classes. + */ + protected function __construct() { + $this->register_hooks(); + + foreach ( static::$options as $option_class ) { + static::register_option( call_user_func( [ $option_class, 'get_instance' ] ) ); + } + } + + /** + * Register our hooks. + * + * @return void + */ + public function register_hooks() { + add_action( 'registered_taxonomy', [ $this, 'clear_cache' ] ); + add_action( 'unregistered_taxonomy', [ $this, 'clear_cache' ] ); + add_action( 'registered_post_type', [ $this, 'clear_cache' ] ); + add_action( 'unregistered_post_type', [ $this, 'clear_cache' ] ); + } + + /** + * Get the singleton instance of this class. + * + * @return object + */ + public static function get_instance() { + if ( ! ( static::$instance instanceof self ) ) { + static::$instance = new self(); + } + + return static::$instance; + } + + /** + * Registers an option to the options list. + * + * @param WPSEO_Option $option_instance Instance of the option. + * + * @return void + */ + public static function register_option( WPSEO_Option $option_instance ) { + $option_name = $option_instance->get_option_name(); + + if ( $option_instance->multisite_only && ! static::is_multisite() ) { + unset( static::$options[ $option_name ], static::$option_names[ $option_name ] ); + + return; + } + + $is_already_registered = array_key_exists( $option_name, static::$options ); + if ( ! $is_already_registered ) { + static::$options[ $option_name ] = get_class( $option_instance ); + } + + if ( $option_instance->include_in_all === true ) { + static::$option_names[ $option_name ] = $option_name; + } + + static::$option_instances[ $option_name ] = $option_instance; + + if ( ! $is_already_registered ) { + static::clear_cache(); + } + } + + /** + * Get the group name of an option for use in the settings form. + * + * @param string $option_name The option for which you want to retrieve the option group name. + * + * @return string|bool + */ + public static function get_group_name( $option_name ) { + if ( isset( static::$option_instances[ $option_name ] ) ) { + return static::$option_instances[ $option_name ]->group_name; + } + + return false; + } + + /** + * Get a specific default value for an option. + * + * @param string $option_name The option for which you want to retrieve a default. + * @param string $key The key within the option who's default you want. + * + * @return mixed + */ + public static function get_default( $option_name, $key ) { + if ( isset( static::$option_instances[ $option_name ] ) ) { + $defaults = static::$option_instances[ $option_name ]->get_defaults(); + if ( isset( $defaults[ $key ] ) ) { + return $defaults[ $key ]; + } + } + + return null; + } + + /** + * Update a site_option. + * + * @param string $option_name The option name of the option to save. + * @param mixed $value The new value for the option. + * + * @return bool + */ + public static function update_site_option( $option_name, $value ) { + if ( is_multisite() && isset( static::$option_instances[ $option_name ] ) ) { + return static::$option_instances[ $option_name ]->update_site_option( $value ); + } + + return false; + } + + /** + * Get the instantiated option instance. + * + * @param string $option_name The option for which you want to retrieve the instance. + * + * @return object|bool + */ + public static function get_option_instance( $option_name ) { + if ( isset( static::$option_instances[ $option_name ] ) ) { + return static::$option_instances[ $option_name ]; + } + + return false; + } + + /** + * Retrieve an array of the options which should be included in get_all() and reset(). + * + * @return array Array of option names. + */ + public static function get_option_names() { + $option_names = array_values( static::$option_names ); + if ( $option_names === [] ) { + foreach ( static::$option_instances as $option_name => $option_object ) { + if ( $option_object->include_in_all === true ) { + $option_names[] = $option_name; + } + } + } + + /** + * Filter: wpseo_options - Allow developers to change the option name to include. + * + * @param array $option_names The option names to include in get_all and reset(). + */ + return apply_filters( 'wpseo_options', $option_names ); + } + + /** + * Retrieve all the options for the SEO plugin in one go. + * + * @return array Array combining the values of all the options. + */ + public static function get_all() { + static::$option_values = static::get_options( static::get_option_names() ); + + return static::$option_values; + } + + /** + * Retrieve one or more options for the SEO plugin. + * + * @param array $option_names An array of option names of the options you want to get. + * + * @return array Array combining the values of the requested options. + */ + public static function get_options( array $option_names ) { + $options = []; + $option_names = array_filter( $option_names, 'is_string' ); + foreach ( $option_names as $option_name ) { + if ( isset( static::$option_instances[ $option_name ] ) ) { + $option = static::get_option( $option_name ); + + if ( $option !== null ) { + $options = array_merge( $options, $option ); + } + } + } + + return $options; + } + + /** + * Retrieve a single option for the SEO plugin. + * + * @param string $option_name The name of the option you want to get. + * + * @return array Array containing the requested option. + */ + public static function get_option( $option_name ) { + $option = null; + if ( is_string( $option_name ) && ! empty( $option_name ) ) { + if ( isset( static::$option_instances[ $option_name ] ) ) { + if ( static::$option_instances[ $option_name ]->multisite_only !== true ) { + $option = get_option( $option_name ); + } + else { + $option = get_site_option( $option_name ); + } + } + } + + return $option; + } + + /** + * Retrieve a single field from any option for the SEO plugin. Keys are always unique. + * + * @param string $key The key it should return. + * @param mixed $default_value The default value that should be returned if the key isn't set. + * + * @return mixed Returns value if found, $default_value if not. + */ + public static function get( $key, $default_value = null ) { + if ( static::$option_values === null ) { + static::prime_cache(); + } + if ( isset( static::$option_values[ $key ] ) ) { + return static::$option_values[ $key ]; + } + + return $default_value; + } + + /** + * Resets the cache to null. + * + * @return void + */ + public static function clear_cache() { + static::$option_values = null; + } + + /** + * Primes our cache. + * + * @return void + */ + private static function prime_cache() { + static::$option_values = static::get_all(); + static::$option_values = static::add_ms_option( static::$option_values ); + } + + /** + * Retrieve a single field from an option for the SEO plugin. + * + * @param string $key The key to set. + * @param mixed $value The value to set. + * + * @return mixed|null Returns value if found, $default if not. + */ + public static function set( $key, $value ) { + $lookup_table = static::get_lookup_table(); + + if ( isset( $lookup_table[ $key ] ) ) { + return static::save_option( $lookup_table[ $key ], $key, $value ); + } + + $patterns = static::get_pattern_table(); + foreach ( $patterns as $pattern => $option ) { + if ( strpos( $key, $pattern ) === 0 ) { + return static::save_option( $option, $key, $value ); + } + } + + static::$option_values[ $key ] = $value; + } + + /** + * Get an option only if it's been auto-loaded. + * + * @param string $option The option to retrieve. + * @param mixed $default_value A default value to return. + * + * @return mixed + */ + public static function get_autoloaded_option( $option, $default_value = false ) { + $value = wp_cache_get( $option, 'options' ); + if ( $value === false ) { + $passed_default = func_num_args() > 1; + + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals -- Using WP native filter. + return apply_filters( "default_option_{$option}", $default_value, $option, $passed_default ); + } + + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals -- Using WP native filter. + return apply_filters( "option_{$option}", maybe_unserialize( $value ), $option ); + } + + /** + * Run the clean up routine for one or all options. + * + * @param array|string|null $option_name Optional. the option you want to clean or an array of + * option names for the options you want to clean. + * If not set, all options will be cleaned. + * @param string|null $current_version Optional. Version from which to upgrade, if not set, + * version specific upgrades will be disregarded. + * + * @return void + */ + public static function clean_up( $option_name = null, $current_version = null ) { + if ( isset( $option_name ) && is_string( $option_name ) && $option_name !== '' ) { + if ( isset( static::$option_instances[ $option_name ] ) ) { + static::$option_instances[ $option_name ]->clean( $current_version ); + } + } + elseif ( isset( $option_name ) && is_array( $option_name ) && $option_name !== [] ) { + foreach ( $option_name as $option ) { + if ( isset( static::$option_instances[ $option ] ) ) { + static::$option_instances[ $option ]->clean( $current_version ); + } + } + unset( $option ); + } + else { + foreach ( static::$option_instances as $instance ) { + $instance->clean( $current_version ); + } + unset( $instance ); + + // If we've done a full clean-up, we can safely remove this really old option. + delete_option( 'wpseo_indexation' ); + } + } + + /** + * Check that all options exist in the database and add any which don't. + * + * @return void + */ + public static function ensure_options_exist() { + foreach ( static::$option_instances as $instance ) { + $instance->maybe_add_option(); + } + } + + /** + * Initialize some options on first install/activate/reset. + * + * @return void + */ + public static function initialize() { + /* Force WooThemes to use Yoast SEO data. */ + if ( function_exists( 'woo_version_init' ) ) { + update_option( 'seo_woo_use_third_party_data', 'true' ); + } + } + + /** + * Reset all options to their default values and rerun some tests. + * + * @return void + */ + public static function reset() { + if ( ! is_multisite() ) { + $option_names = static::get_option_names(); + if ( is_array( $option_names ) && $option_names !== [] ) { + foreach ( $option_names as $option_name ) { + delete_option( $option_name ); + update_option( $option_name, get_option( $option_name ) ); + } + } + unset( $option_names ); + } + else { + // Reset MS blog based on network default blog setting. + static::reset_ms_blog( get_current_blog_id() ); + } + + static::initialize(); + } + + /** + * Initialize default values for a new multisite blog. + * + * @param bool $force_init Whether to always do the initialization routine (title/desc test). + * + * @return void + */ + public static function maybe_set_multisite_defaults( $force_init = false ) { + $option = get_option( 'wpseo' ); + + if ( is_multisite() ) { + if ( $option['ms_defaults_set'] === false ) { + static::reset_ms_blog( get_current_blog_id() ); + static::initialize(); + } + elseif ( $force_init === true ) { + static::initialize(); + } + } + } + + /** + * Reset all options for a specific multisite blog to their default values based upon a + * specified default blog if one was chosen on the network page or the plugin defaults if it was not. + * + * @param int|string $blog_id Blog id of the blog for which to reset the options. + * + * @return void + */ + public static function reset_ms_blog( $blog_id ) { + if ( is_multisite() ) { + $options = get_site_option( 'wpseo_ms' ); + $option_names = static::get_option_names(); + + if ( is_array( $option_names ) && $option_names !== [] ) { + $base_blog_id = $blog_id; + if ( $options['defaultblog'] !== '' && $options['defaultblog'] !== 0 ) { + $base_blog_id = $options['defaultblog']; + } + + foreach ( $option_names as $option_name ) { + delete_blog_option( $blog_id, $option_name ); + + $new_option = get_blog_option( $base_blog_id, $option_name ); + + /* Remove sensitive, theme dependent and site dependent info. */ + if ( isset( static::$option_instances[ $option_name ] ) && static::$option_instances[ $option_name ]->ms_exclude !== [] ) { + foreach ( static::$option_instances[ $option_name ]->ms_exclude as $key ) { + unset( $new_option[ $key ] ); + } + } + + if ( $option_name === 'wpseo' ) { + $new_option['ms_defaults_set'] = true; + } + + update_blog_option( $blog_id, $option_name, $new_option ); + } + } + } + } + + /** + * Saves the option to the database. + * + * @param string $wpseo_options_group_name The name for the wpseo option group in the database. + * @param string $option_name The name for the option to set. + * @param mixed $option_value The value for the option. + * + * @return bool Returns true if the option is successfully saved in the database. + */ + public static function save_option( $wpseo_options_group_name, $option_name, $option_value ) { + $options = static::get_option( $wpseo_options_group_name ); + $options[ $option_name ] = $option_value; + + if ( isset( static::$option_instances[ $wpseo_options_group_name ] ) && static::$option_instances[ $wpseo_options_group_name ]->multisite_only === true ) { + static::update_site_option( $wpseo_options_group_name, $options ); + } + else { + update_option( $wpseo_options_group_name, $options ); + } + + // Check if everything got saved properly. + $saved_option = static::get_option( $wpseo_options_group_name ); + + // Clear our cache. + static::clear_cache(); + + return $saved_option[ $option_name ] === $options[ $option_name ]; + } + + /** + * Adds the multisite options to the option stack if relevant. + * + * @param array $option The currently present options settings. + * + * @return array Options possibly including multisite. + */ + protected static function add_ms_option( $option ) { + if ( ! is_multisite() ) { + return $option; + } + + $ms_option = static::get_option( 'wpseo_ms' ); + if ( $ms_option === null ) { + return $option; + } + + return array_merge( $option, $ms_option ); + } + + /** + * Checks if installation is multisite. + * + * @return bool True when is multisite. + */ + protected static function is_multisite() { + static $is_multisite; + + if ( $is_multisite === null ) { + $is_multisite = is_multisite(); + } + + return $is_multisite; + } + + /** + * Retrieves a lookup table to find in which option_group a key is stored. + * + * @return array The lookup table. + */ + private static function get_lookup_table() { + $lookup_table = []; + + foreach ( array_keys( static::$options ) as $option_name ) { + $full_option = static::get_option( $option_name ); + foreach ( $full_option as $key => $value ) { + $lookup_table[ $key ] = $option_name; + } + } + + return $lookup_table; + } + + /** + * Retrieves a lookup table to find in which option_group a key is stored. + * + * @return array The lookup table. + */ + private static function get_pattern_table() { + $pattern_table = []; + foreach ( static::$options as $option_name => $option_class ) { + $instance = call_user_func( [ $option_class, 'get_instance' ] ); + foreach ( $instance->get_patterns() as $key ) { + $pattern_table[ $key ] = $option_name; + } + } + + return $pattern_table; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-taxonomy-meta.php b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-taxonomy-meta.php new file mode 100644 index 00000000..b2c591bf --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-taxonomy-meta.php @@ -0,0 +1,566 @@ +get_defaults(); + * + * {@internal Important: in contrast to most defaults, the below array format is + * very bare. The real option is in the format [taxonomy_name][term_id][...] + * where [...] is any of the $defaults_per_term options shown below. + * This is of course taken into account in the below methods.}} + * + * @var array + */ + protected $defaults = []; + + /** + * Option name - same as $option_name property, but now also available to static methods. + * + * @var string + */ + public static $name; + + /** + * Array of defaults for individual taxonomy meta entries. + * + * @var array + */ + public static $defaults_per_term = [ + 'wpseo_title' => '', + 'wpseo_desc' => '', + 'wpseo_canonical' => '', + 'wpseo_bctitle' => '', + 'wpseo_noindex' => 'default', + 'wpseo_focuskw' => '', + 'wpseo_linkdex' => '', + 'wpseo_content_score' => '', + 'wpseo_inclusive_language_score' => '', + 'wpseo_focuskeywords' => '[]', + 'wpseo_keywordsynonyms' => '[]', + 'wpseo_is_cornerstone' => '0', + + // Social fields. + 'wpseo_opengraph-title' => '', + 'wpseo_opengraph-description' => '', + 'wpseo_opengraph-image' => '', + 'wpseo_opengraph-image-id' => '', + 'wpseo_twitter-title' => '', + 'wpseo_twitter-description' => '', + 'wpseo_twitter-image' => '', + 'wpseo_twitter-image-id' => '', + ]; + + /** + * Available index options. + * + * Used for form generation and input validation. + * + * {@internal Labels (translation) added on admin_init via WPSEO_Taxonomy::translate_meta_options().}} + * + * @var array + */ + public static $no_index_options = [ + 'default' => '', + 'index' => '', + 'noindex' => '', + ]; + + /** + * Add the actions and filters for the option. + * + * @todo [JRF => testers] Check if the extra actions below would run into problems if an option + * is updated early on and if so, change the call to schedule these for a later action on add/update + * instead of running them straight away. + */ + protected function __construct() { + parent::__construct(); + + self::$name = $this->option_name; + } + + /** + * Get the singleton instance of this class. + * + * @return object + */ + public static function get_instance() { + if ( ! ( self::$instance instanceof self ) ) { + self::$instance = new self(); + self::$name = self::$instance->option_name; + } + + return self::$instance; + } + + /** + * Add extra default options received from a filter. + * + * @return void + */ + public function enrich_defaults() { + $extra_defaults_per_term = apply_filters( 'wpseo_add_extra_taxmeta_term_defaults', [] ); + if ( is_array( $extra_defaults_per_term ) ) { + self::$defaults_per_term = array_merge( $extra_defaults_per_term, self::$defaults_per_term ); + } + } + + /** + * Validate 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 Validated clean value for the option to be saved to the database. + */ + protected function validate_option( $dirty, $clean, $old ) { + /* + * Prevent complete validation (which can be expensive when there are lots of terms) + * if only one item has changed and has already been validated. + */ + if ( isset( $dirty['wpseo_already_validated'] ) && $dirty['wpseo_already_validated'] === true ) { + unset( $dirty['wpseo_already_validated'] ); + + return $dirty; + } + + foreach ( $dirty as $taxonomy => $terms ) { + /* Don't validate taxonomy - may not be registered yet and we don't want to remove valid ones. */ + if ( is_array( $terms ) && $terms !== [] ) { + foreach ( $terms as $term_id => $meta_data ) { + /* Only validate term if the taxonomy exists. */ + if ( taxonomy_exists( $taxonomy ) && get_term_by( 'id', $term_id, $taxonomy ) === false ) { + /* Is this term id a special case ? */ + if ( has_filter( 'wpseo_tax_meta_special_term_id_validation_' . $term_id ) !== false ) { + $clean[ $taxonomy ][ $term_id ] = apply_filters( 'wpseo_tax_meta_special_term_id_validation_' . $term_id, $meta_data, $taxonomy, $term_id ); + } + continue; + } + + if ( is_array( $meta_data ) && $meta_data !== [] ) { + /* Validate meta data. */ + $old_meta = self::get_term_meta( $term_id, $taxonomy ); + $meta_data = self::validate_term_meta_data( $meta_data, $old_meta ); + if ( $meta_data !== [] ) { + $clean[ $taxonomy ][ $term_id ] = $meta_data; + } + } + + // Deal with special cases (for when taxonomy doesn't exist yet). + if ( ! isset( $clean[ $taxonomy ][ $term_id ] ) && has_filter( 'wpseo_tax_meta_special_term_id_validation_' . $term_id ) !== false ) { + $clean[ $taxonomy ][ $term_id ] = apply_filters( 'wpseo_tax_meta_special_term_id_validation_' . $term_id, $meta_data, $taxonomy, $term_id ); + } + } + } + } + + return $clean; + } + + /** + * Validate the meta data for one individual term and removes default values (no need to save those). + * + * @param array $meta_data New values. + * @param array $old_meta The original values. + * + * @return array Validated and filtered value. + */ + public static function validate_term_meta_data( $meta_data, $old_meta ) { + + $clean = self::$defaults_per_term; + $meta_data = array_map( [ 'WPSEO_Utils', 'trim_recursive' ], $meta_data ); + + if ( ! is_array( $meta_data ) || $meta_data === [] ) { + return $clean; + } + + foreach ( $clean as $key => $value ) { + switch ( $key ) { + + case 'wpseo_noindex': + if ( isset( $meta_data[ $key ] ) ) { + if ( isset( self::$no_index_options[ $meta_data[ $key ] ] ) ) { + $clean[ $key ] = $meta_data[ $key ]; + } + } + elseif ( isset( $old_meta[ $key ] ) ) { + // Retain old value if field currently not in use. + $clean[ $key ] = $old_meta[ $key ]; + } + break; + + case 'wpseo_canonical': + if ( isset( $meta_data[ $key ] ) && $meta_data[ $key ] !== '' ) { + $url = WPSEO_Utils::sanitize_url( $meta_data[ $key ] ); + if ( $url !== '' ) { + $clean[ $key ] = $url; + } + unset( $url ); + } + break; + + case 'wpseo_bctitle': + if ( isset( $meta_data[ $key ] ) ) { + $clean[ $key ] = WPSEO_Utils::sanitize_text_field( $meta_data[ $key ] ); + } + elseif ( isset( $old_meta[ $key ] ) ) { + // Retain old value if field currently not in use. + $clean[ $key ] = $old_meta[ $key ]; + } + break; + + case 'wpseo_keywordsynonyms': + if ( isset( $meta_data[ $key ] ) && is_string( $meta_data[ $key ] ) ) { + // The data is stringified JSON. Use `json_decode` and `json_encode` around the sanitation. + $input = json_decode( $meta_data[ $key ], true ); + $sanitized = array_map( [ 'WPSEO_Utils', 'sanitize_text_field' ], $input ); + $clean[ $key ] = WPSEO_Utils::format_json_encode( $sanitized ); + } + elseif ( isset( $old_meta[ $key ] ) ) { + // Retain old value if field currently not in use. + $clean[ $key ] = $old_meta[ $key ]; + } + break; + + case 'wpseo_focuskeywords': + if ( isset( $meta_data[ $key ] ) && is_string( $meta_data[ $key ] ) ) { + // The data is stringified JSON. Use `json_decode` and `json_encode` around the sanitation. + $input = json_decode( $meta_data[ $key ], true ); + + // This data has two known keys: `keyword` and `score`. + $sanitized = []; + foreach ( $input as $entry ) { + $sanitized[] = [ + 'keyword' => WPSEO_Utils::sanitize_text_field( $entry['keyword'] ), + 'score' => WPSEO_Utils::sanitize_text_field( $entry['score'] ), + ]; + } + + $clean[ $key ] = WPSEO_Utils::format_json_encode( $sanitized ); + } + elseif ( isset( $old_meta[ $key ] ) ) { + // Retain old value if field currently not in use. + $clean[ $key ] = $old_meta[ $key ]; + } + break; + + case 'wpseo_focuskw': + case 'wpseo_title': + case 'wpseo_desc': + case 'wpseo_linkdex': + default: + if ( isset( $meta_data[ $key ] ) && is_string( $meta_data[ $key ] ) ) { + $clean[ $key ] = WPSEO_Utils::sanitize_text_field( $meta_data[ $key ] ); + } + + if ( $key === 'wpseo_focuskw' ) { + $search = [ + '<', + '>', + '`', + '<', + '>', + '`', + ]; + + $clean[ $key ] = str_replace( $search, '', $clean[ $key ] ); + } + break; + } + + $clean[ $key ] = apply_filters( 'wpseo_sanitize_tax_meta_' . $key, $clean[ $key ], ( $meta_data[ $key ] ?? null ), ( $old_meta[ $key ] ?? null ) ); + } + + // Only save the non-default values. + return array_diff_assoc( $clean, self::$defaults_per_term ); + } + + /** + * Clean a given option value. + * - Convert old option values to new + * - Fixes strings which were escaped (should have been sanitized - escaping is for output) + * + * @param array $option_value Old (not merged with defaults or filtered) option value to + * clean according to the rules for this option. + * @param string|null $current_version Optional. Version from which to upgrade, if not set, + * version specific upgrades will be disregarded. + * @param array|null $all_old_option_values Optional. Only used when importing old options to have + * access to the real old values, in contrast to the saved ones. + * + * @return array Cleaned option. + */ + protected function clean_option( $option_value, $current_version = null, $all_old_option_values = null ) { + + /* Clean up old values and remove empty arrays. */ + if ( is_array( $option_value ) && $option_value !== [] ) { + + foreach ( $option_value as $taxonomy => $terms ) { + + if ( is_array( $terms ) && $terms !== [] ) { + + foreach ( $terms as $term_id => $meta_data ) { + if ( ! is_array( $meta_data ) || $meta_data === [] ) { + // Remove empty term arrays. + unset( $option_value[ $taxonomy ][ $term_id ] ); + } + else { + foreach ( $meta_data as $key => $value ) { + + switch ( $key ) { + case 'noindex': + if ( $value === 'on' ) { + // Convert 'on' to 'noindex'. + $option_value[ $taxonomy ][ $term_id ][ $key ] = 'noindex'; + } + break; + + case 'canonical': + case 'wpseo_bctitle': + case 'wpseo_title': + case 'wpseo_desc': + case 'wpseo_linkdex': + // @todo [JRF => whomever] Needs checking, I don't have example data [JRF]. + if ( $value !== '' ) { + // Fix incorrectly saved (encoded) canonical urls and texts. + $option_value[ $taxonomy ][ $term_id ][ $key ] = wp_specialchars_decode( stripslashes( $value ), ENT_QUOTES ); + } + break; + + default: + // @todo [JRF => whomever] Needs checking, I don't have example data [JRF]. + if ( $value !== '' ) { + // Fix incorrectly saved (escaped) text strings. + $option_value[ $taxonomy ][ $term_id ][ $key ] = wp_specialchars_decode( $value, ENT_QUOTES ); + } + break; + } + } + } + } + } + else { + // Remove empty taxonomy arrays. + unset( $option_value[ $taxonomy ] ); + } + } + } + + return $option_value; + } + + /** + * Retrieve a taxonomy term's meta value(s). + * + * @param mixed $term Term to get the meta value for + * either (string) term name, (int) term id or (object) term. + * @param string $taxonomy Name of the taxonomy to which the term is attached. + * @param string|null $meta Optional. Meta value to get (without prefix). + * + * @return mixed Value for the $meta if one is given, might be the default. + * If no meta is given, an array of all the meta data for the term. + * False if the term does not exist or the $meta provided is invalid. + */ + public static function get_term_meta( $term, $taxonomy, $meta = null ) { + /* Figure out the term id. */ + if ( is_int( $term ) ) { + $term = get_term_by( 'id', $term, $taxonomy ); + } + elseif ( is_string( $term ) ) { + $term = get_term_by( 'slug', $term, $taxonomy ); + } + + if ( is_object( $term ) && isset( $term->term_id ) ) { + $term_id = $term->term_id; + } + else { + return false; + } + + $tax_meta = self::get_term_tax_meta( $term_id, $taxonomy ); + + /* + * Either return the complete array or a single value from it or false if the value does not exist + * (shouldn't happen after merge with defaults, indicates typo in request). + */ + if ( ! isset( $meta ) ) { + return $tax_meta; + } + + if ( isset( $tax_meta[ 'wpseo_' . $meta ] ) ) { + return $tax_meta[ 'wpseo_' . $meta ]; + } + + return false; + } + + /** + * Get the current queried object and return the meta value. + * + * @param string $meta The meta field that is needed. + * + * @return mixed + */ + public static function get_meta_without_term( $meta ) { + $term = $GLOBALS['wp_query']->get_queried_object(); + if ( ! $term || empty( $term->taxonomy ) ) { + return false; + } + + return self::get_term_meta( $term, $term->taxonomy, $meta ); + } + + /** + * Saving the values for the given term_id. + * + * @param int $term_id ID of the term to save data for. + * @param string $taxonomy The taxonomy the term belongs to. + * @param array $meta_values The values that will be saved. + * + * @return void + */ + public static function set_values( $term_id, $taxonomy, array $meta_values ) { + /* Validate the post values */ + $old = self::get_term_meta( $term_id, $taxonomy ); + $clean = self::validate_term_meta_data( $meta_values, $old ); + + self::save_clean_values( $term_id, $taxonomy, $clean ); + } + + /** + * Setting a single value to the term meta. + * + * @param int $term_id ID of the term to save data for. + * @param string $taxonomy The taxonomy the term belongs to. + * @param string $meta_key The target meta key to store the value in. + * @param string $meta_value The value of the target meta key. + * + * @return void + */ + public static function set_value( $term_id, $taxonomy, $meta_key, $meta_value ) { + + if ( substr( strtolower( $meta_key ), 0, 6 ) !== 'wpseo_' ) { + $meta_key = 'wpseo_' . $meta_key; + } + + self::set_values( $term_id, $taxonomy, [ $meta_key => $meta_value ] ); + } + + /** + * Find the keyword usages in the metas for the taxonomies/terms. + * + * @param string $keyword The keyword to look for. + * @param string $current_term_id The current term id. + * @param string $current_taxonomy The current taxonomy name. + * + * @return array + */ + public static function get_keyword_usage( $keyword, $current_term_id, $current_taxonomy ) { + $tax_meta = self::get_tax_meta(); + + $found = []; + // @todo Check for terms of all taxonomies, not only the current taxonomy. + foreach ( $tax_meta as $taxonomy_name => $terms ) { + foreach ( $terms as $term_id => $meta_values ) { + $is_current = ( $current_taxonomy === $taxonomy_name && (string) $current_term_id === (string) $term_id ); + if ( ! $is_current && ! empty( $meta_values['wpseo_focuskw'] ) && $meta_values['wpseo_focuskw'] === $keyword ) { + $found[] = $term_id; + } + } + } + + return [ $keyword => $found ]; + } + + /** + * Saving the values for the given term_id. + * + * @param int $term_id ID of the term to save data for. + * @param string $taxonomy The taxonomy the term belongs to. + * @param array $clean Array with clean values. + * + * @return void + */ + private static function save_clean_values( $term_id, $taxonomy, array $clean ) { + $tax_meta = self::get_tax_meta(); + + /* Add/remove the result to/from the original option value. */ + if ( $clean !== [] ) { + $tax_meta[ $taxonomy ][ $term_id ] = $clean; + } + else { + unset( $tax_meta[ $taxonomy ][ $term_id ] ); + if ( isset( $tax_meta[ $taxonomy ] ) && $tax_meta[ $taxonomy ] === [] ) { + unset( $tax_meta[ $taxonomy ] ); + } + } + + // Prevent complete array validation. + $tax_meta['wpseo_already_validated'] = true; + + self::save_tax_meta( $tax_meta ); + } + + /** + * Getting the meta from the options. + * + * @return void|array + */ + private static function get_tax_meta() { + return get_option( self::$name ); + } + + /** + * Saving the tax meta values to the database. + * + * @param array $tax_meta Array with the meta values for taxonomy. + * + * @return void + */ + private static function save_tax_meta( $tax_meta ) { + update_option( self::$name, $tax_meta ); + } + + /** + * Getting the taxonomy meta for the given term_id and taxonomy. + * + * @param int $term_id The id of the term. + * @param string $taxonomy Name of the taxonomy to which the term is attached. + * + * @return array + */ + private static function get_term_tax_meta( $term_id, $taxonomy ) { + $tax_meta = self::get_tax_meta(); + + /* If we have data for the term, merge with defaults for complete array, otherwise set defaults. */ + if ( isset( $tax_meta[ $taxonomy ][ $term_id ] ) ) { + return array_merge( self::$defaults_per_term, $tax_meta[ $taxonomy ][ $term_id ] ); + } + + return self::$defaults_per_term; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-author-sitemap-provider.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-author-sitemap-provider.php new file mode 100644 index 00000000..343f97bc --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-author-sitemap-provider.php @@ -0,0 +1,244 @@ +handles_type( 'author' ) ) { + return []; + } + + // @todo Consider doing this less often / when necessary. R. + $this->update_user_meta(); + + $has_exclude_filter = has_filter( 'wpseo_sitemap_exclude_author' ); + + $query_arguments = []; + + if ( ! $has_exclude_filter ) { // We only need full users if legacy filter(s) hooked to exclusion logic. R. + $query_arguments['fields'] = 'ID'; + } + + $users = $this->get_users( $query_arguments ); + + if ( $has_exclude_filter ) { + $users = $this->exclude_users( $users ); + $users = wp_list_pluck( $users, 'ID' ); + } + + if ( empty( $users ) ) { + return []; + } + + $index = []; + $user_pages = array_chunk( $users, $max_entries ); + + foreach ( $user_pages as $page_counter => $users_page ) { + + $current_page = ( $page_counter === 0 ) ? '' : ( $page_counter + 1 ); + + $user_id = array_shift( $users_page ); // Time descending, first user on page is most recently updated. + $user = get_user_by( 'id', $user_id ); + $index[] = [ + 'loc' => WPSEO_Sitemaps_Router::get_base_url( 'author-sitemap' . $current_page . '.xml' ), + 'lastmod' => ( $user->_yoast_wpseo_profile_updated ) ? YoastSEO()->helpers->date->format_timestamp( $user->_yoast_wpseo_profile_updated ) : null, + ]; + } + + return $index; + } + + /** + * Retrieve users, taking account of all necessary exclusions. + * + * @param array $arguments Arguments to add. + * + * @return array + */ + protected function get_users( $arguments = [] ) { + + global $wpdb; + + $defaults = [ + 'capability' => [ 'edit_posts' ], + 'meta_key' => '_yoast_wpseo_profile_updated', + 'orderby' => 'meta_value_num', + 'order' => 'DESC', + 'meta_query' => [ + 'relation' => 'AND', + [ + 'key' => $wpdb->get_blog_prefix() . 'user_level', + 'value' => '0', + 'compare' => '!=', + ], + [ + 'relation' => 'OR', + [ + 'key' => 'wpseo_noindex_author', + 'value' => 'on', + 'compare' => '!=', + ], + [ + 'key' => 'wpseo_noindex_author', + 'compare' => 'NOT EXISTS', + ], + ], + ], + ]; + + if ( WPSEO_Options::get( 'noindex-author-noposts-wpseo', true ) ) { + unset( $defaults['capability'] ); // Otherwise it cancels out next argument. + $defaults['has_published_posts'] = YoastSEO()->helpers->author_archive->get_author_archive_post_types(); + } + + return get_users( array_merge( $defaults, $arguments ) ); + } + + /** + * Get set of sitemap link data. + * + * @param string $type Sitemap type. + * @param int $max_entries Entries per sitemap. + * @param int $current_page Current page of the sitemap. + * + * @return array + * + * @throws OutOfBoundsException When an invalid page is requested. + */ + public function get_sitemap_links( $type, $max_entries, $current_page ) { + + $links = []; + + if ( ! $this->handles_type( 'author' ) ) { + return $links; + } + + $user_criteria = [ + 'offset' => ( ( $current_page - 1 ) * $max_entries ), + 'number' => $max_entries, + ]; + + $users = $this->get_users( $user_criteria ); + + // Throw an exception when there are no users in the sitemap. + if ( count( $users ) === 0 ) { + throw new OutOfBoundsException( 'Invalid sitemap page requested' ); + } + + $users = $this->exclude_users( $users ); + if ( empty( $users ) ) { + $users = []; + } + + $time = time(); + + foreach ( $users as $user ) { + + $author_link = get_author_posts_url( $user->ID ); + + if ( empty( $author_link ) ) { + continue; + } + + $mod = $time; + + if ( isset( $user->_yoast_wpseo_profile_updated ) ) { + $mod = $user->_yoast_wpseo_profile_updated; + } + + $url = [ + 'loc' => $author_link, + 'mod' => date( DATE_W3C, $mod ), + + // Deprecated, kept for backwards data compat. R. + 'chf' => 'daily', + 'pri' => 1, + ]; + + /** This filter is documented at inc/sitemaps/class-post-type-sitemap-provider.php */ + $url = apply_filters( 'wpseo_sitemap_entry', $url, 'user', $user ); + + if ( ! empty( $url ) ) { + $links[] = $url; + } + } + + return $links; + } + + /** + * Update any users that don't have last profile update timestamp. + * + * @return int Count of users updated. + */ + protected function update_user_meta() { + + $user_criteria = [ + 'capability' => [ 'edit_posts' ], + 'meta_query' => [ + [ + 'key' => '_yoast_wpseo_profile_updated', + 'compare' => 'NOT EXISTS', + ], + ], + ]; + + $users = get_users( $user_criteria ); + + $time = time(); + + foreach ( $users as $user ) { + update_user_meta( $user->ID, '_yoast_wpseo_profile_updated', $time ); + } + + return count( $users ); + } + + /** + * Wrap legacy filter to deduplicate calls. + * + * @param array $users Array of user objects to filter. + * + * @return array + */ + protected function exclude_users( $users ) { + + /** + * Filter the authors, included in XML sitemap. + * + * @param array $users Array of user objects to filter. + */ + return apply_filters( 'wpseo_sitemap_exclude_author', $users ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-post-type-sitemap-provider.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-post-type-sitemap-provider.php new file mode 100644 index 00000000..d018ad0b --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-post-type-sitemap-provider.php @@ -0,0 +1,766 @@ +include_images = apply_filters( 'wpseo_xml_sitemap_include_images', true ); + } + + /** + * Get the Image Parser. + * + * @return WPSEO_Sitemap_Image_Parser + */ + protected function get_image_parser() { + if ( ! isset( self::$image_parser ) ) { + self::$image_parser = new WPSEO_Sitemap_Image_Parser(); + } + + return self::$image_parser; + } + + /** + * Gets the parsed home url. + * + * @return array The home url, as parsed by wp_parse_url. + */ + protected function get_parsed_home_url() { + if ( ! isset( self::$parsed_home_url ) ) { + self::$parsed_home_url = wp_parse_url( home_url() ); + } + + return self::$parsed_home_url; + } + + /** + * Check if provider supports given item type. + * + * @param string $type Type string to check for. + * + * @return bool + */ + public function handles_type( $type ) { + + return post_type_exists( $type ); + } + + /** + * Retrieves the sitemap links. + * + * @param int $max_entries Entries per sitemap. + * + * @return array + */ + public function get_index_links( $max_entries ) { + global $wpdb; + $post_types = WPSEO_Post_Type::get_accessible_post_types(); + $post_types = array_filter( $post_types, [ $this, 'is_valid_post_type' ] ); + $last_modified_times = WPSEO_Sitemaps::get_last_modified_gmt( $post_types, true ); + $index = []; + + foreach ( $post_types as $post_type ) { + + $total_count = $this->get_post_type_count( $post_type ); + + if ( $total_count === 0 ) { + continue; + } + + $max_pages = 1; + if ( $total_count > $max_entries ) { + $max_pages = (int) ceil( $total_count / $max_entries ); + } + + $all_dates = []; + + if ( $max_pages > 1 ) { + $all_dates = version_compare( $wpdb->db_version(), '8.0', '>=' ) ? $this->get_all_dates_using_with_clause( $post_type, $max_entries ) : $this->get_all_dates( $post_type, $max_entries ); + } + + for ( $page_counter = 0; $page_counter < $max_pages; $page_counter++ ) { + + $current_page = ( $page_counter === 0 ) ? '' : ( $page_counter + 1 ); + $date = false; + + if ( empty( $current_page ) || $current_page === $max_pages ) { + + if ( ! empty( $last_modified_times[ $post_type ] ) ) { + $date = $last_modified_times[ $post_type ]; + } + } + else { + $date = $all_dates[ $page_counter ]; + } + + $index[] = [ + 'loc' => WPSEO_Sitemaps_Router::get_base_url( $post_type . '-sitemap' . $current_page . '.xml' ), + 'lastmod' => $date, + ]; + } + } + + return $index; + } + + /** + * Get set of sitemap link data. + * + * @param string $type Sitemap type. + * @param int $max_entries Entries per sitemap. + * @param int $current_page Current page of the sitemap. + * + * @return array + * + * @throws OutOfBoundsException When an invalid page is requested. + */ + public function get_sitemap_links( $type, $max_entries, $current_page ) { + + $links = []; + $post_type = $type; + + if ( ! $this->is_valid_post_type( $post_type ) ) { + throw new OutOfBoundsException( 'Invalid sitemap page requested' ); + } + + $steps = min( 100, $max_entries ); + $offset = ( $current_page > 1 ) ? ( ( $current_page - 1 ) * $max_entries ) : 0; + $total = ( $offset + $max_entries ); + + $post_type_entries = $this->get_post_type_count( $post_type ); + + if ( $total > $post_type_entries ) { + $total = $post_type_entries; + } + + if ( $current_page === 1 ) { + $links = array_merge( $links, $this->get_first_links( $post_type ) ); + } + + // If total post type count is lower than the offset, an invalid page is requested. + if ( $post_type_entries < $offset ) { + throw new OutOfBoundsException( 'Invalid sitemap page requested' ); + } + + if ( $post_type_entries === 0 ) { + return $links; + } + + $posts_to_exclude = $this->get_excluded_posts( $type ); + + while ( $total > $offset ) { + + $posts = $this->get_posts( $post_type, $steps, $offset ); + + $offset += $steps; + + if ( empty( $posts ) ) { + continue; + } + + foreach ( $posts as $post ) { + + if ( in_array( $post->ID, $posts_to_exclude, true ) ) { + continue; + } + + if ( WPSEO_Meta::get_value( 'meta-robots-noindex', $post->ID ) === '1' ) { + continue; + } + + $url = $this->get_url( $post ); + + if ( ! isset( $url['loc'] ) ) { + continue; + } + + /** + * Filter URL entry before it gets added to the sitemap. + * + * @param array $url Array of URL parts. + * @param string $type URL type. + * @param object $post Data object for the URL. + */ + $url = apply_filters( 'wpseo_sitemap_entry', $url, 'post', $post ); + + if ( ! empty( $url ) ) { + $links[] = $url; + } + } + + unset( $post, $url ); + } + + return $links; + } + + /** + * Check for relevant post type before invalidation. + * + * @param int $post_id Post ID to possibly invalidate for. + * + * @return void + */ + public function save_post( $post_id ) { + + if ( $this->is_valid_post_type( get_post_type( $post_id ) ) ) { + WPSEO_Sitemaps_Cache::invalidate_post( $post_id ); + } + } + + /** + * Check if post type should be present in sitemaps. + * + * @param string $post_type Post type string to check for. + * + * @return bool + */ + public function is_valid_post_type( $post_type ) { + if ( ! WPSEO_Post_Type::is_post_type_accessible( $post_type ) || ! WPSEO_Post_Type::is_post_type_indexable( $post_type ) ) { + return false; + } + + /** + * Filter decision if post type is excluded from the XML sitemap. + * + * @param bool $exclude Default false. + * @param string $post_type Post type name. + */ + if ( apply_filters( 'wpseo_sitemap_exclude_post_type', false, $post_type ) ) { + return false; + } + + return true; + } + + /** + * Retrieves a list with the excluded post ids. + * + * @param string $post_type Post type. + * + * @return array Array with post ids to exclude. + */ + protected function get_excluded_posts( $post_type ) { + $excluded_posts_ids = []; + + $page_on_front_id = ( $post_type === 'page' ) ? (int) get_option( 'page_on_front' ) : 0; + if ( $page_on_front_id > 0 ) { + $excluded_posts_ids[] = $page_on_front_id; + } + + /** + * Filter: 'wpseo_exclude_from_sitemap_by_post_ids' - Allow extending and modifying the posts to exclude. + * + * @param array $posts_to_exclude The posts to exclude. + */ + $excluded_posts_ids = apply_filters( 'wpseo_exclude_from_sitemap_by_post_ids', $excluded_posts_ids ); + if ( ! is_array( $excluded_posts_ids ) ) { + $excluded_posts_ids = []; + } + + $excluded_posts_ids = array_map( 'intval', $excluded_posts_ids ); + + $page_for_posts_id = ( $post_type === 'page' ) ? (int) get_option( 'page_for_posts' ) : 0; + if ( $page_for_posts_id > 0 ) { + $excluded_posts_ids[] = $page_for_posts_id; + } + + return array_unique( $excluded_posts_ids ); + } + + /** + * Get count of posts for post type. + * + * @param string $post_type Post type to retrieve count for. + * + * @return int + */ + protected function get_post_type_count( $post_type ) { + + global $wpdb; + + /** + * Filter JOIN query part for type count of post type. + * + * @param string $join SQL part, defaults to empty string. + * @param string $post_type Post type name. + */ + $join_filter = apply_filters( 'wpseo_typecount_join', '', $post_type ); + + /** + * Filter WHERE query part for type count of post type. + * + * @param string $where SQL part, defaults to empty string. + * @param string $post_type Post type name. + */ + $where_filter = apply_filters( 'wpseo_typecount_where', '', $post_type ); + + $where = $this->get_sql_where_clause( $post_type ); + + $sql = " + SELECT COUNT({$wpdb->posts}.ID) + FROM {$wpdb->posts} + {$join_filter} + {$where} + {$where_filter} + "; + + return (int) $wpdb->get_var( $sql ); + } + + /** + * Produces set of links to prepend at start of first sitemap page. + * + * @param string $post_type Post type to produce links for. + * + * @return array + */ + protected function get_first_links( $post_type ) { + + $links = []; + $archive_url = false; + + if ( $post_type === 'page' ) { + + $page_on_front_id = (int) get_option( 'page_on_front' ); + if ( $page_on_front_id > 0 ) { + $front_page = $this->get_url( + get_post( $page_on_front_id ) + ); + } + + if ( empty( $front_page ) ) { + $front_page = [ + 'loc' => YoastSEO()->helpers->url->home(), + ]; + } + + // Deprecated, kept for backwards data compat. R. + $front_page['chf'] = 'daily'; + $front_page['pri'] = 1; + + $images = ( $front_page['images'] ?? [] ); + + /** + * Filter images to be included for the term in XML sitemap. + * + * @param array $images Array of image items. + * @return array $image_list Array of image items. + */ + $image_list = apply_filters( 'wpseo_sitemap_urlimages_front_page', $images ); + if ( is_array( $image_list ) ) { + $front_page['images'] = $image_list; + } + + $links[] = $front_page; + } + elseif ( $post_type !== 'page' ) { + /** + * Filter the URL Yoast SEO uses in the XML sitemap for this post type archive. + * + * @param string $archive_url The URL of this archive + * @param string $post_type The post type this archive is for. + */ + $archive_url = apply_filters( + 'wpseo_sitemap_post_type_archive_link', + $this->get_post_type_archive_link( $post_type ), + $post_type + ); + } + + if ( $archive_url ) { + + $links[] = [ + 'loc' => $archive_url, + 'mod' => WPSEO_Sitemaps::get_last_modified_gmt( $post_type ), + + // Deprecated, kept for backwards data compat. R. + 'chf' => 'daily', + 'pri' => 1, + ]; + } + + /** + * Filters the first post type links. + * + * @param array $links The first post type links. + * @param string $post_type The post type this archive is for. + */ + return apply_filters( 'wpseo_sitemap_post_type_first_links', $links, $post_type ); + } + + /** + * Get URL for a post type archive. + * + * @since 5.3 + * + * @param string $post_type Post type. + * + * @return string|bool URL or false if it should be excluded. + */ + protected function get_post_type_archive_link( $post_type ) { + + $pt_archive_page_id = -1; + + if ( $post_type === 'post' ) { + + if ( get_option( 'show_on_front' ) === 'posts' ) { + return YoastSEO()->helpers->url->home(); + } + + $pt_archive_page_id = (int) get_option( 'page_for_posts' ); + + // Post archive should be excluded if posts page isn't set. + if ( $pt_archive_page_id <= 0 ) { + return false; + } + } + + if ( ! $this->is_post_type_archive_indexable( $post_type, $pt_archive_page_id ) ) { + return false; + } + + return get_post_type_archive_link( $post_type ); + } + + /** + * Determines whether a post type archive is indexable. + * + * @since 11.5 + * + * @param string $post_type Post type. + * @param int $archive_page_id The page id. + * + * @return bool True when post type archive is indexable. + */ + protected function is_post_type_archive_indexable( $post_type, $archive_page_id = -1 ) { + + if ( WPSEO_Options::get( 'noindex-ptarchive-' . $post_type, false ) ) { + return false; + } + + /** + * Filter the page which is dedicated to this post type archive. + * + * @since 9.3 + * + * @param string $archive_page_id The post_id of the page. + * @param string $post_type The post type this archive is for. + */ + $archive_page_id = (int) apply_filters( 'wpseo_sitemap_page_for_post_type_archive', $archive_page_id, $post_type ); + + if ( $archive_page_id > 0 && WPSEO_Meta::get_value( 'meta-robots-noindex', $archive_page_id ) === '1' ) { + return false; + } + + return true; + } + + /** + * Retrieve set of posts with optimized query routine. + * + * @param string $post_type Post type to retrieve. + * @param int $count Count of posts to retrieve. + * @param int $offset Starting offset. + * + * @return object[] + */ + protected function get_posts( $post_type, $count, $offset ) { + + global $wpdb; + + static $filters = []; + + if ( ! isset( $filters[ $post_type ] ) ) { + // Make sure you're wpdb->preparing everything you throw into this!! + $filters[ $post_type ] = [ + /** + * Filter JOIN query part for the post type. + * + * @param string $join SQL part, defaults to false. + * @param string $post_type Post type name. + */ + 'join' => apply_filters( 'wpseo_posts_join', false, $post_type ), + + /** + * Filter WHERE query part for the post type. + * + * @param string $where SQL part, defaults to false. + * @param string $post_type Post type name. + */ + 'where' => apply_filters( 'wpseo_posts_where', false, $post_type ), + ]; + } + + $join_filter = $filters[ $post_type ]['join']; + $where_filter = $filters[ $post_type ]['where']; + $where = $this->get_sql_where_clause( $post_type ); + + /* + * Optimized query per this thread: + * {@link http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-performance-suggestion}. + * Also see {@link http://explainextended.com/2009/10/23/mysql-order-by-limit-performance-late-row-lookups/}. + */ + $sql = " + SELECT l.ID, post_title, post_content, post_name, post_parent, post_author, post_status, post_modified_gmt, post_date, post_date_gmt + FROM ( + SELECT {$wpdb->posts}.ID + FROM {$wpdb->posts} + {$join_filter} + {$where} + {$where_filter} + ORDER BY {$wpdb->posts}.post_modified ASC LIMIT %d OFFSET %d + ) + o JOIN {$wpdb->posts} l ON l.ID = o.ID + "; + + $posts = $wpdb->get_results( $wpdb->prepare( $sql, $count, $offset ) ); + + $post_ids = []; + + foreach ( $posts as $post_index => $post ) { + $post->post_type = $post_type; + $sanitized_post = sanitize_post( $post, 'raw' ); + $posts[ $post_index ] = new WP_Post( $sanitized_post ); + + $post_ids[] = $sanitized_post->ID; + } + + update_meta_cache( 'post', $post_ids ); + + return $posts; + } + + /** + * Constructs an SQL where clause for a given post type. + * + * @param string $post_type Post type slug. + * + * @return string + */ + protected function get_sql_where_clause( $post_type ) { + + global $wpdb; + + $join = ''; + $post_statuses = array_map( 'esc_sql', WPSEO_Sitemaps::get_post_statuses( $post_type ) ); + $status_where = "{$wpdb->posts}.post_status IN ('" . implode( "','", $post_statuses ) . "')"; + + // Based on WP_Query->get_posts(). R. + if ( $post_type === 'attachment' ) { + $join = " LEFT JOIN {$wpdb->posts} AS p2 ON ({$wpdb->posts}.post_parent = p2.ID) "; + $parent_statuses = array_diff( $post_statuses, [ 'inherit' ] ); + $status_where = "p2.post_status IN ('" . implode( "','", $parent_statuses ) . "') AND p2.post_password = ''"; + } + + $where_clause = " + {$join} + WHERE {$status_where} + AND {$wpdb->posts}.post_type = %s + AND {$wpdb->posts}.post_password = '' + AND {$wpdb->posts}.post_date != '0000-00-00 00:00:00' + "; + + return $wpdb->prepare( $where_clause, $post_type ); + } + + /** + * Produce array of URL parts for given post object. + * + * @param object $post Post object to get URL parts for. + * + * @return array|bool + */ + protected function get_url( $post ) { + + $url = []; + + /** + * Filter the URL Yoast SEO uses in the XML sitemap. + * + * Note that only absolute local URLs are allowed as the check after this removes external URLs. + * + * @param string $url URL to use in the XML sitemap + * @param object $post Post object for the URL. + */ + $url['loc'] = apply_filters( 'wpseo_xml_sitemap_post_url', get_permalink( $post ), $post ); + $link_type = YoastSEO()->helpers->url->get_link_type( + wp_parse_url( $url['loc'] ), + $this->get_parsed_home_url() + ); + + /* + * Do not include external URLs. + * + * {@link https://wordpress.org/plugins/page-links-to/} can rewrite permalinks to external URLs. + */ + if ( $link_type === SEO_Links::TYPE_EXTERNAL ) { + return false; + } + + $modified = max( $post->post_modified_gmt, $post->post_date_gmt ); + + if ( $modified !== '0000-00-00 00:00:00' ) { + $url['mod'] = $modified; + } + + $url['chf'] = 'daily'; // Deprecated, kept for backwards data compat. R. + + $canonical = WPSEO_Meta::get_value( 'canonical', $post->ID ); + + if ( $canonical !== '' && $canonical !== $url['loc'] ) { + /* + * Let's assume that if a canonical is set for this page and it's different from + * the URL of this post, that page is either already in the XML sitemap OR is on + * an external site, either way, we shouldn't include it here. + */ + return false; + } + unset( $canonical ); + + $url['pri'] = 1; // Deprecated, kept for backwards data compat. R. + + if ( $this->include_images ) { + $url['images'] = $this->get_image_parser()->get_images( $post ); + } + + return $url; + } + + /** + * Get all dates for a post type by using the WITH clause for performance. + * + * @param string $post_type Post type to retrieve dates for. + * @param int $max_entries Maximum number of entries to retrieve. + * + * @return array Array of dates. + */ + private function get_all_dates_using_with_clause( $post_type, $max_entries ) { + global $wpdb; + + $post_statuses = array_map( 'esc_sql', WPSEO_Sitemaps::get_post_statuses( $post_type ) ); + + $replacements = array_merge( + [ + 'ordering', + 'post_modified_gmt', + $wpdb->posts, + 'type_status_date', + 'post_status', + ], + $post_statuses, + [ + 'post_type', + $post_type, + 'post_modified_gmt', + 'post_modified_gmt', + 'ordering', + $max_entries, + ] + ); + + //phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- We need to use a direct query here. + //phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + return $wpdb->get_col( + //phpcs:disable WordPress.DB.PreparedSQLPlaceholders -- %i placeholder is still not recognized. + $wpdb->prepare( + ' + WITH %i AS (SELECT ROW_NUMBER() OVER (ORDER BY %i) AS n, post_modified_gmt + FROM %i USE INDEX ( %i ) + WHERE %i IN (' . implode( ', ', array_fill( 0, count( $post_statuses ), '%s' ) ) . ') + AND %i = %s + ORDER BY %i) + SELECT %i + FROM %i + WHERE MOD(n, %d) = 0; + ', + $replacements + ) + ); + } + + /** + * Get all dates for a post type. + * + * @param string $post_type Post type to retrieve dates for. + * @param int $max_entries Maximum number of entries to retrieve. + * + * @return array Array of dates. + */ + private function get_all_dates( $post_type, $max_entries ) { + global $wpdb; + + $post_statuses = array_map( 'esc_sql', WPSEO_Sitemaps::get_post_statuses( $post_type ) ); + $replacements = array_merge( + [ + 'post_modified_gmt', + $wpdb->posts, + 'type_status_date', + 'post_status', + ], + $post_statuses, + [ + 'post_type', + $post_type, + $max_entries, + 'post_modified_gmt', + ] + ); + + return $wpdb->get_col( + //phpcs:disable WordPress.DB.PreparedSQLPlaceholders -- %i placeholder is still not recognized. + $wpdb->prepare( + ' + SELECT %i + FROM ( SELECT @rownum:=0 ) init + JOIN %i USE INDEX( %i ) + WHERE %i IN (' . implode( ', ', array_fill( 0, count( $post_statuses ), '%s' ) ) . ') + AND %i = %s + AND ( @rownum:=@rownum+1 ) %% %d = 0 + ORDER BY %i ASC + ', + $replacements + ) + ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemap-cache-data.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemap-cache-data.php new file mode 100644 index 00000000..495afa12 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemap-cache-data.php @@ -0,0 +1,200 @@ +sitemap = $sitemap; + + /* + * Empty sitemap is not usable. + */ + if ( ! empty( $sitemap ) ) { + $this->set_status( self::OK ); + } + else { + $this->set_status( self::ERROR ); + } + } + + /** + * Set the status of the sitemap, is it usable. + * + * @param bool|string $usable Is the sitemap usable or not. + * + * @return void + */ + public function set_status( $usable ) { + + if ( $usable === self::OK ) { + $this->status = self::OK; + + return; + } + + if ( $usable === self::ERROR ) { + $this->status = self::ERROR; + $this->sitemap = ''; + + return; + } + + $this->status = self::UNKNOWN; + } + + /** + * Is the sitemap usable. + * + * @return bool True if usable, False if bad or unknown. + */ + public function is_usable() { + + return $this->status === self::OK; + } + + /** + * Get the XML content of the sitemap. + * + * @return string The content of the sitemap. + */ + public function get_sitemap() { + + return $this->sitemap; + } + + /** + * Get the status of the sitemap. + * + * @return string Status of the sitemap, 'ok'/'error'/'unknown'. + */ + public function get_status() { + + return $this->status; + } + + /** + * String representation of object. + * + * {@internal This magic method is only "magic" as of PHP 7.4 in which the magic method was introduced.} + * + * @link https://www.php.net/language.oop5.magic#object.serialize + * @link https://wiki.php.net/rfc/custom_object_serialization + * + * @since 17.8.0 + * + * @return array The data to be serialized. + */ + public function __serialize() { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__serializeFound + + $data = [ + 'status' => $this->status, + 'xml' => $this->sitemap, + ]; + + return $data; + } + + /** + * Constructs the object. + * + * {@internal This magic method is only "magic" as of PHP 7.4 in which the magic method was introduced.} + * + * @link https://www.php.net/language.oop5.magic#object.serialize + * @link https://wiki.php.net/rfc/custom_object_serialization + * + * @since 17.8.0 + * + * @param array $data The unserialized data to use to (re)construct the object. + * + * @return void + */ + public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound + + $this->set_sitemap( $data['xml'] ); + $this->set_status( $data['status'] ); + } + + /** + * String representation of object. + * + * {@internal The magic methods take precedence over the Serializable interface. + * This means that in practice, this method will now only be called on PHP < 7.4. + * For PHP 7.4 and higher, the magic methods will be used instead.} + * + * {@internal The Serializable interface is being phased out, in favour of the magic methods. + * This method should be deprecated and removed and the class should no longer + * implement the `Serializable` interface. + * This change, however, can't be made until the minimum PHP version goes up to PHP 7.4 or higher.} + * + * @link http://php.net/manual/en/serializable.serialize.php + * @link https://wiki.php.net/rfc/phase_out_serializable + * + * @since 5.1.0 + * + * @return string The string representation of the object or null in C-format. + */ + public function serialize() { + + return serialize( $this->__serialize() ); + } + + /** + * Constructs the object. + * + * {@internal The magic methods take precedence over the Serializable interface. + * This means that in practice, this method will now only be called on PHP < 7.4. + * For PHP 7.4 and higher, the magic methods will be used instead.} + * + * {@internal The Serializable interface is being phased out, in favour of the magic methods. + * This method should be deprecated and removed and the class should no longer + * implement the `Serializable` interface. + * This change, however, can't be made until the minimum PHP version goes up to PHP 7.4 or higher.} + * + * @link http://php.net/manual/en/serializable.unserialize.php + * @link https://wiki.php.net/rfc/phase_out_serializable + * + * @since 5.1.0 + * + * @param string $data The string representation of the object in C or O-format. + * + * @return void + */ + public function unserialize( $data ) { + + $data = unserialize( $data ); + $this->__unserialize( $data ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemap-image-parser.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemap-image-parser.php new file mode 100644 index 00000000..58d8ec5a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemap-image-parser.php @@ -0,0 +1,509 @@ +home_url = home_url(); + $parsed_home = wp_parse_url( $this->home_url ); + + if ( ! empty( $parsed_home['host'] ) ) { + $this->host = str_replace( 'www.', '', $parsed_home['host'] ); + } + + if ( ! empty( $parsed_home['scheme'] ) ) { + $this->scheme = $parsed_home['scheme']; + } + + $this->charset = esc_attr( get_bloginfo( 'charset' ) ); + } + + /** + * Get set of image data sets for the given post. + * + * @param object $post Post object to get images for. + * + * @return array + */ + public function get_images( $post ) { + + $images = []; + + if ( ! is_object( $post ) ) { + return $images; + } + + $thumbnail_id = get_post_thumbnail_id( $post->ID ); + + if ( $thumbnail_id ) { + + $src = $this->get_absolute_url( $this->image_url( $thumbnail_id ) ); + $images[] = $this->get_image_item( $post, $src ); + } + + /** + * Filter: 'wpseo_sitemap_content_before_parse_html_images' - Filters the post content + * before it is parsed for images. + * + * @param string $content The raw/unprocessed post content. + */ + $content = apply_filters( 'wpseo_sitemap_content_before_parse_html_images', $post->post_content ); + + $unfiltered_images = $this->parse_html_images( $content ); + + foreach ( $unfiltered_images as $image ) { + $images[] = $this->get_image_item( $post, $image['src'] ); + } + + foreach ( $this->parse_galleries( $content, $post->ID ) as $attachment ) { + $src = $this->get_absolute_url( $this->image_url( $attachment->ID ) ); + $images[] = $this->get_image_item( $post, $src ); + } + + if ( $post->post_type === 'attachment' && wp_attachment_is_image( $post ) ) { + $src = $this->get_absolute_url( $this->image_url( $post->ID ) ); + $images[] = $this->get_image_item( $post, $src ); + } + + foreach ( $images as $key => $image ) { + + if ( empty( $image['src'] ) ) { + unset( $images[ $key ] ); + } + } + + /** + * Filter images to be included for the post in XML sitemap. + * + * @param array $images Array of image items. + * @param int $post_id ID of the post. + */ + $image_list = apply_filters( 'wpseo_sitemap_urlimages', $images, $post->ID ); + if ( isset( $image_list ) && is_array( $image_list ) ) { + $images = $image_list; + } + + return $images; + } + + /** + * Get the images in the term description. + * + * @param object $term Term to get images from description for. + * + * @return array + */ + public function get_term_images( $term ) { + + $images = $this->parse_html_images( $term->description ); + + foreach ( $this->parse_galleries( $term->description ) as $attachment ) { + + $images[] = [ + 'src' => $this->get_absolute_url( $this->image_url( $attachment->ID ) ), + ]; + } + + /** + * Filter images to be included for the term in XML sitemap. + * + * @param array $image_list Array of image items. + * @param int $term_id ID of the post. + */ + $image_list = apply_filters( 'wpseo_sitemap_urlimages_term', $images, $term->term_id ); + if ( isset( $image_list ) && is_array( $image_list ) ) { + $images = $image_list; + } + + return $images; + } + + /** + * Parse `` tags in content. + * + * @param string $content Content string to parse. + * + * @return array + */ + private function parse_html_images( $content ) { + + $images = []; + + if ( ! class_exists( 'DOMDocument' ) ) { + return $images; + } + + if ( empty( $content ) ) { + return $images; + } + + // Prevent DOMDocument from bubbling warnings about invalid HTML. + libxml_use_internal_errors( true ); + + $post_dom = new DOMDocument(); + $post_dom->loadHTML( 'charset . '">' . $content ); + + // Clear the errors, so they don't get kept in memory. + libxml_clear_errors(); + + /** + * Image attribute. + * + * @var DOMElement $img + */ + foreach ( $post_dom->getElementsByTagName( 'img' ) as $img ) { + + $src = $img->getAttribute( 'src' ); + + if ( empty( $src ) ) { + continue; + } + + $class = $img->getAttribute( 'class' ); + + if ( // This detects WP-inserted images, which we need to upsize. R. + ! empty( $class ) + && ( strpos( $class, 'size-full' ) === false ) + && preg_match( '|wp-image-(?P\d+)|', $class, $matches ) + && get_post_status( $matches['id'] ) + ) { + $query_params = wp_parse_url( $src, PHP_URL_QUERY ); + $src = $this->image_url( $matches['id'] ); + + if ( $query_params ) { + $src .= '?' . $query_params; + } + } + + $src = $this->get_absolute_url( $src ); + + if ( strpos( $src, $this->host ) === false ) { + continue; + } + + if ( $src !== esc_url( $src, null, 'attribute' ) ) { + continue; + } + + $images[] = [ + 'src' => $src, + ]; + } + + return $images; + } + + /** + * Parse gallery shortcodes in a given content. + * + * @param string $content Content string. + * @param int $post_id Optional. ID of post being parsed. + * + * @return array Set of attachment objects. + */ + protected function parse_galleries( $content, $post_id = 0 ) { + + $attachments = []; + $galleries = $this->get_content_galleries( $content ); + + foreach ( $galleries as $gallery ) { + + $id = $post_id; + + if ( ! empty( $gallery['id'] ) ) { + $id = intval( $gallery['id'] ); + } + + // Forked from core gallery_shortcode() to have exact same logic. R. + if ( ! empty( $gallery['ids'] ) ) { + $gallery['include'] = $gallery['ids']; + } + + $gallery_attachments = $this->get_gallery_attachments( $id, $gallery ); + + $attachments = array_merge( $attachments, $gallery_attachments ); + } + + return array_unique( $attachments, SORT_REGULAR ); + } + + /** + * Retrieves galleries from the passed content. + * + * Forked from core to skip executing shortcodes for performance. + * + * @param string $content Content to parse for shortcodes. + * + * @return array A list of arrays, each containing gallery data. + */ + protected function get_content_galleries( $content ) { + + $galleries = []; + + if ( ! preg_match_all( '/' . get_shortcode_regex( [ 'gallery' ] ) . '/s', $content, $matches, PREG_SET_ORDER ) ) { + return $galleries; + } + + foreach ( $matches as $shortcode ) { + + $attributes = shortcode_parse_atts( $shortcode[3] ); + + if ( $attributes === '' ) { // Valid shortcode without any attributes. R. + $attributes = []; + } + + $galleries[] = $attributes; + } + + return $galleries; + } + + /** + * Get image item array with filters applied. + * + * @param WP_Post $post Post object for the context. + * @param string $src Image URL. + * + * @return array + */ + protected function get_image_item( $post, $src ) { + + $image = []; + + /** + * Filter image URL to be included in XML sitemap for the post. + * + * @param string $src Image URL. + * @param object $post Post object. + */ + $image['src'] = apply_filters( 'wpseo_xml_sitemap_img_src', $src, $post ); + + /** + * Filter image data to be included in XML sitemap for the post. + * + * @param array $image { + * Array of image data. + * + * @type string $src Image URL. + * } + * + * @param object $post Post object. + */ + return apply_filters( 'wpseo_xml_sitemap_img', $image, $post ); + } + + /** + * Get attached image URL with filters applied. Adapted from core for speed. + * + * @param int $post_id ID of the post. + * + * @return string + */ + private function image_url( $post_id ) { + + static $uploads; + + if ( empty( $uploads ) ) { + $uploads = wp_upload_dir(); + } + + if ( $uploads['error'] !== false ) { + return ''; + } + + $file = get_post_meta( $post_id, '_wp_attached_file', true ); + + if ( empty( $file ) ) { + return ''; + } + + // Check that the upload base exists in the file location. + if ( strpos( $file, $uploads['basedir'] ) === 0 ) { + $src = str_replace( $uploads['basedir'], $uploads['baseurl'], $file ); + } + elseif ( strpos( $file, 'wp-content/uploads' ) !== false ) { + $src = $uploads['baseurl'] . substr( $file, ( strpos( $file, 'wp-content/uploads' ) + 18 ) ); + } + else { + // It's a newly uploaded file, therefore $file is relative to the baseurl. + $src = $uploads['baseurl'] . '/' . $file; + } + + return apply_filters( 'wp_get_attachment_url', $src, $post_id ); + } + + /** + * Make absolute URL for domain or protocol-relative one. + * + * @param string $src URL to process. + * + * @return string + */ + protected function get_absolute_url( $src ) { + + if ( empty( $src ) || ! is_string( $src ) ) { + return $src; + } + + if ( YoastSEO()->helpers->url->is_relative( $src ) === true ) { + + if ( $src[0] !== '/' ) { + return $src; + } + + // The URL is relative, we'll have to make it absolute. + return $this->home_url . $src; + } + + if ( strpos( $src, 'http' ) !== 0 ) { + // Protocol relative URL, we add the scheme as the standard requires a protocol. + return $this->scheme . ':' . $src; + } + + return $src; + } + + /** + * Returns the attachments for a gallery. + * + * @param int $id The post ID. + * @param array $gallery The gallery config. + * + * @return array The selected attachments. + */ + protected function get_gallery_attachments( $id, $gallery ) { + + // When there are attachments to include. + if ( ! empty( $gallery['include'] ) ) { + return $this->get_gallery_attachments_for_included( $gallery['include'] ); + } + + // When $id is empty, just return empty array. + if ( empty( $id ) ) { + return []; + } + + return $this->get_gallery_attachments_for_parent( $id, $gallery ); + } + + /** + * Returns the attachments for the given ID. + * + * @param int $id The post ID. + * @param array $gallery The gallery config. + * + * @return array The selected attachments. + */ + protected function get_gallery_attachments_for_parent( $id, $gallery ) { + $query = [ + 'posts_per_page' => -1, + 'post_parent' => $id, + ]; + + // When there are posts that should be excluded from result set. + if ( ! empty( $gallery['exclude'] ) ) { + $query['post__not_in'] = wp_parse_id_list( $gallery['exclude'] ); + } + + return $this->get_attachments( $query ); + } + + /** + * Returns an array with attachments for the post IDs that will be included. + * + * @param array $included_ids Array with IDs to include. + * + * @return array The found attachments. + */ + protected function get_gallery_attachments_for_included( $included_ids ) { + $ids_to_include = wp_parse_id_list( $included_ids ); + $attachments = $this->get_attachments( + [ + 'posts_per_page' => count( $ids_to_include ), + 'post__in' => $ids_to_include, + ] + ); + + $gallery_attachments = []; + foreach ( $attachments as $val ) { + $gallery_attachments[ $val->ID ] = $val; + } + + return $gallery_attachments; + } + + /** + * Returns the attachments. + * + * @param array $args Array with query args. + * + * @return array The found attachments. + */ + protected function get_attachments( $args ) { + $default_args = [ + 'post_status' => 'inherit', + 'post_type' => 'attachment', + 'post_mime_type' => 'image', + + // Defaults taken from function get_posts. + 'orderby' => 'date', + 'order' => 'DESC', + 'meta_key' => '', + 'meta_value' => '', + 'suppress_filters' => true, + 'ignore_sticky_posts' => true, + 'no_found_rows' => true, + ]; + + $args = wp_parse_args( $args, $default_args ); + + $get_attachments = new WP_Query(); + return $get_attachments->query( $args ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-admin.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-admin.php new file mode 100644 index 00000000..10b8fcd6 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-admin.php @@ -0,0 +1,125 @@ +status_transition_bulk( $new_status, $old_status, $post ); + + return; + } + + $post_type = get_post_type( $post ); + + wp_cache_delete( 'lastpostmodified:gmt:' . $post_type, 'timeinfo' ); // #17455. + } + + /** + * Notify Google of the updated sitemap. + * + * @deprecated 22.0 + * @codeCoverageIgnore + * + * @return void + */ + public function ping_search_engines() { + _deprecated_function( __METHOD__, 'Yoast SEO 22.0' ); + } + + /** + * While bulk importing, just save unique post_types. + * + * When importing is done, if we have a post_type that is saved in the sitemap + * try to ping the search engines. + * + * @param string $new_status New post status. + * @param string $old_status Old post status. + * @param WP_Post $post Post object. + * + * @return void + */ + private function status_transition_bulk( $new_status, $old_status, $post ) { + $this->importing_post_types[] = get_post_type( $post ); + $this->importing_post_types = array_unique( $this->importing_post_types ); + } + + /** + * After import finished, walk through imported post_types and update info. + * + * @return void + */ + public function status_transition_bulk_finished() { + if ( ! defined( 'WP_IMPORTING' ) ) { + return; + } + + if ( empty( $this->importing_post_types ) ) { + return; + } + + $ping_search_engines = false; + + foreach ( $this->importing_post_types as $post_type ) { + wp_cache_delete( 'lastpostmodified:gmt:' . $post_type, 'timeinfo' ); // #17455. + + // Just have the cache deleted for nav_menu_item. + if ( $post_type === 'nav_menu_item' ) { + continue; + } + + if ( WPSEO_Options::get( 'noindex-' . $post_type, false ) === false ) { + $ping_search_engines = true; + } + } + + // Nothing to do. + if ( $ping_search_engines === false ) { + return; + } + + if ( WP_CACHE ) { + do_action( 'wpseo_hit_sitemap_index' ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-cache-validator.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-cache-validator.php new file mode 100644 index 00000000..7d478743 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-cache-validator.php @@ -0,0 +1,326 @@ + $max_length ) { + + if ( $max_length < 15 ) { + /* + * If this happens the most likely cause is a page number that is too high. + * + * So this would not happen unintentionally. + * Either by trying to cause a high server load, finding backdoors or misconfiguration. + */ + throw new OutOfRangeException( + __( + 'Trying to build the sitemap cache key, but the postfix and prefix combination leaves too little room to do this. You are probably requesting a page that is way out of the expected range.', + 'wordpress-seo' + ) + ); + } + + $half = ( $max_length / 2 ); + + $first_part = substr( $type, 0, ( ceil( $half ) - 1 ) ); + $last_part = substr( $type, ( 1 - floor( $half ) ) ); + + $type = $first_part . '..' . $last_part; + } + + return $type; + } + + /** + * Invalidate sitemap cache. + * + * @since 3.2 + * + * @param string|null $type The type to get the key for. Null for all caches. + * + * @return void + */ + public static function invalidate_storage( $type = null ) { + + // Global validator gets cleared when no type is provided. + $old_validator = null; + + // Get the current type validator. + if ( ! is_null( $type ) ) { + $old_validator = self::get_validator( $type ); + } + + // Refresh validator. + self::create_validator( $type ); + + if ( ! wp_using_ext_object_cache() ) { + // Clean up current cache from the database. + self::cleanup_database( $type, $old_validator ); + } + + // External object cache pushes old and unretrieved items out by itself so we don't have to do anything for that. + } + + /** + * Cleanup invalidated database cache. + * + * @since 3.2 + * + * @param string|null $type The type of sitemap to clear cache for. + * @param string|null $validator The validator to clear cache of. + * + * @return void + */ + public static function cleanup_database( $type = null, $validator = null ) { + + global $wpdb; + + if ( is_null( $type ) ) { + // Clear all cache if no type is provided. + $like = sprintf( '%s%%', self::STORAGE_KEY_PREFIX ); + } + else { + // Clear type cache for all type keys. + $like = sprintf( '%1$s%2$s_%%', self::STORAGE_KEY_PREFIX, $type ); + } + + /* + * Add slashes to the LIKE "_" single character wildcard. + * + * We can't use `esc_like` here because we need the % in the query. + */ + $where = []; + $where[] = sprintf( "option_name LIKE '%s'", addcslashes( '_transient_' . $like, '_' ) ); + $where[] = sprintf( "option_name LIKE '%s'", addcslashes( '_transient_timeout_' . $like, '_' ) ); + + // Delete transients. + //phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- We need to use a direct query here. + //phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + $wpdb->query( + $wpdb->prepare( + //phpcs:disable WordPress.DB.PreparedSQLPlaceholders -- %i placeholder is still not recognized. + 'DELETE FROM %i WHERE ' . implode( ' OR ', array_fill( 0, count( $where ), '%s' ) ), + array_merge( [ $wpdb->options ], $where ) + ) + ); + + wp_cache_delete( 'alloptions', 'options' ); + } + + /** + * Get the current cache validator. + * + * Without the type the global validator is returned. + * This can invalidate -all- keys in cache at once. + * + * With the type parameter the validator for that specific type can be invalidated. + * + * @since 3.2 + * + * @param string $type Provide a type for a specific type validator, empty for global validator. + * + * @return string|null The validator for the supplied type. + */ + public static function get_validator( $type = '' ) { + + $key = self::get_validator_key( $type ); + + $current = get_option( $key, null ); + if ( ! is_null( $current ) ) { + return $current; + } + + if ( self::create_validator( $type ) ) { + return self::get_validator( $type ); + } + + return null; + } + + /** + * Get the cache validator option key for the specified type. + * + * @since 3.2 + * + * @param string $type Provide a type for a specific type validator, empty for global validator. + * + * @return string Validator to be used to generate the cache key. + */ + public static function get_validator_key( $type = '' ) { + + if ( empty( $type ) ) { + return self::VALIDATION_GLOBAL_KEY; + } + + return sprintf( self::VALIDATION_TYPE_KEY_FORMAT, $type ); + } + + /** + * Refresh the cache validator value. + * + * @since 3.2 + * + * @param string $type Provide a type for a specific type validator, empty for global validator. + * + * @return bool True if validator key has been saved as option. + */ + public static function create_validator( $type = '' ) { + + $key = self::get_validator_key( $type ); + + // Generate new validator. + $microtime = microtime(); + + // Remove space. + list( $milliseconds, $seconds ) = explode( ' ', $microtime ); + + // Transients are purged every 24h. + $seconds = ( $seconds % DAY_IN_SECONDS ); + $milliseconds = intval( substr( $milliseconds, 2, 3 ), 10 ); + + // Combine seconds and milliseconds and convert to integer. + $validator = intval( $seconds . '' . $milliseconds, 10 ); + + // Apply base 61 encoding. + $compressed = self::convert_base10_to_base61( $validator ); + + return update_option( $key, $compressed, false ); + } + + /** + * Encode to base61 format. + * + * This is base64 (numeric + alpha + alpha upper case) without the 0. + * + * @since 3.2 + * + * @param int $base10 The number that has to be converted to base 61. + * + * @return string Base 61 converted string. + * + * @throws InvalidArgumentException When the input is not an integer. + */ + public static function convert_base10_to_base61( $base10 ) { + + if ( ! is_int( $base10 ) ) { + throw new InvalidArgumentException( __( 'Expected an integer as input.', 'wordpress-seo' ) ); + } + + // Characters that will be used in the conversion. + $characters = '123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; + $length = strlen( $characters ); + + $remainder = $base10; + $output = ''; + + do { + // Building from right to left in the result. + $index = ( $remainder % $length ); + + // Prepend the character to the output. + $output = $characters[ $index ] . $output; + + // Determine the remainder after removing the applied number. + $remainder = floor( $remainder / $length ); + + // Keep doing it until we have no remainder left. + } while ( $remainder ); + + return $output; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-cache.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-cache.php new file mode 100644 index 00000000..a74e569c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-cache.php @@ -0,0 +1,359 @@ +is_enabled(); + } + + /** + * If cache is enabled. + * + * @since 3.2 + * + * @return bool + */ + public function is_enabled() { + + /** + * Filter if XML sitemap transient cache is enabled. + * + * @param bool $unsigned Enable cache or not, defaults to true. + */ + return apply_filters( 'wpseo_enable_xml_sitemap_transient_caching', false ); + } + + /** + * Retrieve the sitemap page from cache. + * + * @since 3.2 + * + * @param string $type Sitemap type. + * @param int $page Page number to retrieve. + * + * @return string|bool + */ + public function get_sitemap( $type, $page ) { + + $transient_key = WPSEO_Sitemaps_Cache_Validator::get_storage_key( $type, $page ); + if ( $transient_key === false ) { + return false; + } + + return get_transient( $transient_key ); + } + + /** + * Get the sitemap that is cached. + * + * @param string $type Sitemap type. + * @param int $page Page number to retrieve. + * + * @return WPSEO_Sitemap_Cache_Data|null Null on no cache found otherwise object containing sitemap and meta data. + */ + public function get_sitemap_data( $type, $page ) { + + $sitemap = $this->get_sitemap( $type, $page ); + + if ( empty( $sitemap ) ) { + return null; + } + + /* + * Unserialize Cache Data object as is_serialized() doesn't recognize classes in C format. + * This work-around should no longer be needed once the minimum PHP version has gone up to PHP 7.4, + * as the `WPSEO_Sitemap_Cache_Data` class uses O format serialization in PHP 7.4 and higher. + * + * @link https://wiki.php.net/rfc/custom_object_serialization + */ + if ( is_string( $sitemap ) && strpos( $sitemap, 'C:24:"WPSEO_Sitemap_Cache_Data"' ) === 0 ) { + // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize -- Can't be avoided due to how WP stores options. + $sitemap = unserialize( $sitemap ); + } + + // What we expect it to be if it is set. + if ( $sitemap instanceof WPSEO_Sitemap_Cache_Data_Interface ) { + return $sitemap; + } + + return null; + } + + /** + * Store the sitemap page from cache. + * + * @since 3.2 + * + * @param string $type Sitemap type. + * @param int $page Page number to store. + * @param string $sitemap Sitemap body to store. + * @param bool $usable Is this a valid sitemap or a cache of an invalid sitemap. + * + * @return bool + */ + public function store_sitemap( $type, $page, $sitemap, $usable = true ) { + + $transient_key = WPSEO_Sitemaps_Cache_Validator::get_storage_key( $type, $page ); + + if ( $transient_key === false ) { + return false; + } + + $status = ( $usable ) ? WPSEO_Sitemap_Cache_Data::OK : WPSEO_Sitemap_Cache_Data::ERROR; + + $sitemap_data = new WPSEO_Sitemap_Cache_Data(); + $sitemap_data->set_sitemap( $sitemap ); + $sitemap_data->set_status( $status ); + + return set_transient( $transient_key, $sitemap_data, DAY_IN_SECONDS ); + } + + /** + * Delete cache transients for index and specific type. + * + * Always deletes the main index sitemaps cache, as that's always invalidated by any other change. + * + * @since 1.5.4 + * @since 3.2 Changed from function wpseo_invalidate_sitemap_cache() to method in this class. + * + * @param string $type Sitemap type to invalidate. + * + * @return void + */ + public static function invalidate( $type ) { + + self::clear( [ $type ] ); + } + + /** + * Helper to invalidate in hooks where type is passed as second argument. + * + * @since 3.2 + * + * @param int $unused Unused term ID value. + * @param string $type Taxonomy to invalidate. + * + * @return void + */ + public static function invalidate_helper( $unused, $type ) { + + if ( + WPSEO_Options::get( 'noindex-' . $type ) === false + || WPSEO_Options::get( 'noindex-tax-' . $type ) === false + ) { + self::invalidate( $type ); + } + } + + /** + * Invalidate sitemap cache for authors. + * + * @param int $user_id User ID. + * + * @return bool True if the sitemap was properly invalidated. False otherwise. + */ + public static function invalidate_author( $user_id ) { + + $user = get_user_by( 'id', $user_id ); + + if ( $user === false ) { + return false; + } + + if ( current_action() === 'user_register' ) { + update_user_meta( $user_id, '_yoast_wpseo_profile_updated', time() ); + } + + if ( empty( $user->roles ) || in_array( 'subscriber', $user->roles, true ) ) { + return false; + } + + self::invalidate( 'author' ); + + return true; + } + + /** + * Invalidate sitemap cache for the post type of a post. + * + * Don't invalidate for revisions. + * + * @since 1.5.4 + * @since 3.2 Changed from function wpseo_invalidate_sitemap_cache_on_save_post() to method in this class. + * + * @param int $post_id Post ID to invalidate type for. + * + * @return void + */ + public static function invalidate_post( $post_id ) { + + if ( wp_is_post_revision( $post_id ) ) { + return; + } + + self::invalidate( get_post_type( $post_id ) ); + } + + /** + * Delete cache transients for given sitemaps types or all by default. + * + * @since 1.8.0 + * @since 3.2 Moved from WPSEO_Utils to this class. + * + * @param array $types Set of sitemap types to delete cache transients for. + * + * @return void + */ + public static function clear( $types = [] ) { + + if ( ! self::$is_enabled ) { + return; + } + + // No types provided, clear all. + if ( empty( $types ) ) { + self::$clear_all = true; + + return; + } + + // Always invalidate the index sitemap as well. + if ( ! in_array( WPSEO_Sitemaps::SITEMAP_INDEX_TYPE, $types, true ) ) { + array_unshift( $types, WPSEO_Sitemaps::SITEMAP_INDEX_TYPE ); + } + + foreach ( $types as $type ) { + if ( ! in_array( $type, self::$clear_types, true ) ) { + self::$clear_types[] = $type; + } + } + } + + /** + * Invalidate storage for cache types queued to clear. + * + * @return void + */ + public static function clear_queued() { + + if ( self::$clear_all ) { + + WPSEO_Sitemaps_Cache_Validator::invalidate_storage(); + self::$clear_all = false; + self::$clear_types = []; + + return; + } + + foreach ( self::$clear_types as $type ) { + WPSEO_Sitemaps_Cache_Validator::invalidate_storage( $type ); + } + + self::$clear_types = []; + } + + /** + * Adds a hook that when given option is updated, the cache is cleared. + * + * @since 3.2 + * + * @param string $option Option name. + * @param string $type Sitemap type. + * + * @return void + */ + public static function register_clear_on_option_update( $option, $type = '' ) { + + self::$cache_clear[ $option ] = $type; + } + + /** + * Clears the transient cache when a given option is updated, if that option has been registered before. + * + * @since 3.2 + * + * @param string $option The option name that's being updated. + * + * @return void + */ + public static function clear_on_option_update( $option ) { + + if ( array_key_exists( $option, self::$cache_clear ) ) { + + if ( empty( self::$cache_clear[ $option ] ) ) { + // Clear all caches. + self::clear(); + } + else { + // Clear specific provided type(s). + $types = (array) self::$cache_clear[ $option ]; + self::clear( $types ); + } + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-renderer.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-renderer.php new file mode 100644 index 00000000..255d4490 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-renderer.php @@ -0,0 +1,355 @@ +get_xsl_url() ); + $this->stylesheet = ''; + $this->charset = get_bloginfo( 'charset' ); + $this->output_charset = $this->charset; + + if ( + $this->charset !== 'UTF-8' + && function_exists( 'mb_list_encodings' ) + && in_array( $this->charset, mb_list_encodings(), true ) + ) { + $this->output_charset = 'UTF-8'; + } + + $this->needs_conversion = $this->output_charset !== $this->charset; + } + + /** + * Builds the sitemap index. + * + * @param array $links Set of sitemaps index links. + * + * @return string + */ + public function get_index( $links ) { + + $xml = '' . "\n"; + + foreach ( $links as $link ) { + $xml .= $this->sitemap_index_url( $link ); + } + + /** + * Filter to append sitemaps to the index. + * + * @param string $index String to append to sitemaps index, defaults to empty. + */ + $xml .= apply_filters( 'wpseo_sitemap_index', '' ); + $xml .= ''; + + return $xml; + } + + /** + * Builds the sitemap. + * + * @param array $links Set of sitemap links. + * @param string $type Sitemap type. + * @param int $current_page Current sitemap page number. + * + * @return string + */ + public function get_sitemap( $links, $type, $current_page ) { + + $urlset = '' . "\n"; + + /** + * Filters the `urlset` for all sitemaps. + * + * @param string $urlset The output for the sitemap's `urlset`. + */ + $urlset = apply_filters( 'wpseo_sitemap_urlset', $urlset ); + + /** + * Filters the `urlset` for a sitemap by type. + * + * @param string $urlset The output for the sitemap's `urlset`. + */ + $xml = apply_filters( "wpseo_sitemap_{$type}_urlset", $urlset ); + + foreach ( $links as $url ) { + $xml .= $this->sitemap_url( $url ); + } + + /** + * Filter to add extra URLs to the XML sitemap by type. + * + * Only runs for the first page, not on all. + * + * @param string $content String content to add, defaults to empty. + */ + if ( $current_page === 1 ) { + $xml .= apply_filters( "wpseo_sitemap_{$type}_content", '' ); + } + + $xml .= ''; + + return $xml; + } + + /** + * Produce final XML output with debug information. + * + * @param string $sitemap Sitemap XML. + * + * @return string + */ + public function get_output( $sitemap ) { + + $output = 'output_charset ) . '"?>'; + + if ( $this->stylesheet ) { + /** + * Filter the stylesheet URL for the XML sitemap. + * + * @param string $stylesheet Stylesheet URL. + */ + $output .= apply_filters( 'wpseo_stylesheet_url', $this->stylesheet ) . "\n"; + } + + $output .= $sitemap; + $output .= "\n"; + + return $output; + } + + /** + * Get charset for the output. + * + * @return string + */ + public function get_output_charset() { + return $this->output_charset; + } + + /** + * Set a custom stylesheet for this sitemap. Set to empty to just remove the default stylesheet. + * + * @param string $stylesheet Full XML-stylesheet declaration. + * + * @return void + */ + public function set_stylesheet( $stylesheet ) { + $this->stylesheet = $stylesheet; + } + + /** + * Build the `` tag for a given URL. + * + * @param array $url Array of parts that make up this entry. + * + * @return string + */ + protected function sitemap_index_url( $url ) { + + $date = null; + + if ( ! empty( $url['lastmod'] ) ) { + $date = YoastSEO()->helpers->date->format( $url['lastmod'] ); + } + + $url['loc'] = htmlspecialchars( $url['loc'], ENT_COMPAT, $this->output_charset, false ); + + $output = "\t\n"; + $output .= "\t\t" . $url['loc'] . "\n"; + $output .= empty( $date ) ? '' : "\t\t" . htmlspecialchars( $date, ENT_COMPAT, $this->output_charset, false ) . "\n"; + $output .= "\t\n"; + + return $output; + } + + /** + * Build the `` tag for a given URL. + * + * Public access for backwards compatibility reasons. + * + * @param array $url Array of parts that make up this entry. + * + * @return string + */ + public function sitemap_url( $url ) { + + $date = null; + + if ( ! empty( $url['mod'] ) ) { + // Create a DateTime object date in the correct timezone. + $date = YoastSEO()->helpers->date->format( $url['mod'] ); + } + + $output = "\t\n"; + $output .= "\t\t" . $this->encode_and_escape( $url['loc'] ) . "\n"; + $output .= empty( $date ) ? '' : "\t\t" . htmlspecialchars( $date, ENT_COMPAT, $this->output_charset, false ) . "\n"; + + if ( empty( $url['images'] ) ) { + $url['images'] = []; + } + + foreach ( $url['images'] as $img ) { + + if ( empty( $img['src'] ) ) { + continue; + } + + $output .= "\t\t\n"; + $output .= "\t\t\t" . $this->encode_and_escape( $img['src'] ) . "\n"; + $output .= "\t\t\n"; + } + unset( $img ); + + $output .= "\t\n"; + + /** + * Filters the output for the sitemap URL tag. + * + * @param string $output The output for the sitemap url tag. + * @param array $url The sitemap URL array on which the output is based. + */ + return apply_filters( 'wpseo_sitemap_url', $output, $url ); + } + + /** + * Ensure the URL is encoded per RFC3986 and correctly escaped for use in an XML sitemap. + * + * This method works around a two quirks in esc_url(): + * 1. `esc_url()` leaves schema-relative URLs alone, while according to the sitemap specs, + * the URL must always begin with a protocol. + * 2. `esc_url()` escapes ampersands as `&` instead of the more common `&`. + * According to the specs, `&` should be used, and even though this shouldn't + * really make a difference in practice, to quote Jono: "I'd be nervous about & + * given how many weird and wonderful things eat sitemaps", so better safe than sorry. + * + * @link https://www.sitemaps.org/protocol.html#xmlTagDefinitions + * @link https://www.sitemaps.org/protocol.html#escaping + * @link https://developer.wordpress.org/reference/functions/esc_url/ + * + * @param string $url URL to encode and escape. + * + * @return string + */ + protected function encode_and_escape( $url ) { + $url = $this->encode_url_rfc3986( $url ); + $url = esc_url( $url ); + $url = str_replace( '&', '&', $url ); + $url = str_replace( ''', ''', $url ); + + if ( strpos( $url, '//' ) === 0 ) { + // Schema-relative URL for which esc_url() does not add a scheme. + $url = 'http:' . $url; + } + + return $url; + } + + /** + * Apply some best effort conversion to comply with RFC3986. + * + * @param string $url URL to encode. + * + * @return string + */ + protected function encode_url_rfc3986( $url ) { + + if ( filter_var( $url, FILTER_VALIDATE_URL ) ) { + return $url; + } + + $path = wp_parse_url( $url, PHP_URL_PATH ); + + if ( ! empty( $path ) && $path !== '/' ) { + $encoded_path = explode( '/', $path ); + + // First decode the path, to prevent double encoding. + $encoded_path = array_map( 'rawurldecode', $encoded_path ); + + $encoded_path = array_map( 'rawurlencode', $encoded_path ); + $encoded_path = implode( '/', $encoded_path ); + + $url = str_replace( $path, $encoded_path, $url ); + } + + $query = wp_parse_url( $url, PHP_URL_QUERY ); + + if ( ! empty( $query ) ) { + + parse_str( $query, $parsed_query ); + + $parsed_query = http_build_query( $parsed_query, '', '&', PHP_QUERY_RFC3986 ); + + $url = str_replace( $query, $parsed_query, $url ); + } + + return $url; + } + + /** + * 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( 'main-sitemap.xsl' ); + } + + /* + * Fallback to circumvent a cross-domain security problem when the XLS file is + * loaded from a different (sub)domain. + */ + if ( strpos( plugins_url(), home_url() ) !== 0 ) { + return home_url( 'main-sitemap.xsl' ); + } + + return plugin_dir_url( WPSEO_FILE ) . 'css/main-sitemap.xsl'; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-router.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-router.php new file mode 100644 index 00000000..8b923146 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps-router.php @@ -0,0 +1,161 @@ +classes->get( Deactivating_Yoast_Seo_Conditional::class )->is_met() ) { + return; + } + + add_action( 'yoast_add_dynamic_rewrite_rules', [ $this, 'add_rewrite_rules' ] ); + add_filter( 'query_vars', [ $this, 'add_query_vars' ] ); + + add_filter( 'redirect_canonical', [ $this, 'redirect_canonical' ] ); + add_action( 'template_redirect', [ $this, 'template_redirect' ], 0 ); + } + + /** + * Adds rewrite routes for sitemaps. + * + * @param Yoast_Dynamic_Rewrites $dynamic_rewrites Dynamic rewrites handler instance. + * + * @return void + */ + public function add_rewrite_rules( $dynamic_rewrites ) { + $dynamic_rewrites->add_rule( 'sitemap_index\.xml$', 'index.php?sitemap=1', 'top' ); + $dynamic_rewrites->add_rule( '([^/]+?)-sitemap([0-9]+)?\.xml$', 'index.php?sitemap=$matches[1]&sitemap_n=$matches[2]', 'top' ); + $dynamic_rewrites->add_rule( '([a-z]+)?-?sitemap\.xsl$', 'index.php?yoast-sitemap-xsl=$matches[1]', 'top' ); + } + + /** + * Adds query variables for sitemaps. + * + * @param array $query_vars List of query variables to filter. + * + * @return array Filtered query variables. + */ + public function add_query_vars( $query_vars ) { + $query_vars[] = 'sitemap'; + $query_vars[] = 'sitemap_n'; + $query_vars[] = 'yoast-sitemap-xsl'; + + return $query_vars; + } + + /** + * Sets up rewrite rules. + * + * @deprecated 21.8 + * @codeCoverageIgnore + * + * @return void + */ + public function init() { + _deprecated_function( __METHOD__, 'Yoast SEO 21.8' ); + } + + /** + * Stop trailing slashes on sitemap.xml URLs. + * + * @param string $redirect The redirect URL currently determined. + * + * @return bool|string + */ + public function redirect_canonical( $redirect ) { + + if ( get_query_var( 'sitemap' ) || get_query_var( 'yoast-sitemap-xsl' ) ) { + return false; + } + + return $redirect; + } + + /** + * Redirects sitemap.xml to sitemap_index.xml. + * + * @return void + */ + public function template_redirect() { + if ( ! $this->needs_sitemap_index_redirect() ) { + return; + } + + YoastSEO()->helpers->redirect->do_safe_redirect( home_url( '/sitemap_index.xml' ), 301, 'Yoast SEO' ); + } + + /** + * Checks whether the current request needs to be redirected to sitemap_index.xml. + * + * @global WP_Query $wp_query Current query. + * + * @return bool True if redirect is needed, false otherwise. + */ + public function needs_sitemap_index_redirect() { + global $wp_query; + + $protocol = 'http://'; + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized + if ( ! empty( $_SERVER['HTTPS'] ) && strtolower( $_SERVER['HTTPS'] ) === 'on' ) { + $protocol = 'https://'; + } + + $domain = ''; + if ( isset( $_SERVER['SERVER_NAME'] ) ) { + $domain = sanitize_text_field( wp_unslash( $_SERVER['SERVER_NAME'] ) ); + } + + $path = ''; + if ( isset( $_SERVER['REQUEST_URI'] ) ) { + $path = sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ); + } + + // Due to different environment configurations, we need to check both SERVER_NAME and HTTP_HOST. + $check_urls = [ $protocol . $domain . $path ]; + if ( ! empty( $_SERVER['HTTP_HOST'] ) ) { + $check_urls[] = $protocol . sanitize_text_field( wp_unslash( $_SERVER['HTTP_HOST'] ) ) . $path; + } + + return $wp_query->is_404 && in_array( home_url( '/sitemap.xml' ), $check_urls, true ); + } + + /** + * Create base URL for the sitemap. + * + * @param string $page Page to append to the base URL. + * + * @return string base URL (incl page) + */ + public static function get_base_url( $page ) { + + global $wp_rewrite; + + $base = $wp_rewrite->using_index_permalinks() ? 'index.php/' : '/'; + + /** + * Filter the base URL of the sitemaps. + * + * @param string $base The string that should be added to home_url() to make the full base URL. + */ + $base = apply_filters( 'wpseo_sitemaps_base_url', $base ); + + /* + * Get the scheme from the configured home URL instead of letting WordPress + * determine the scheme based on the requested URI. + */ + return home_url( $base . $page, wp_parse_url( get_option( 'home' ), PHP_URL_SCHEME ) ); + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps.php new file mode 100644 index 00000000..2fbb567c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps.php @@ -0,0 +1,674 @@ +router = new WPSEO_Sitemaps_Router(); + $this->renderer = new WPSEO_Sitemaps_Renderer(); + $this->cache = new WPSEO_Sitemaps_Cache(); + + if ( ! empty( $_SERVER['SERVER_PROTOCOL'] ) ) { + $this->http_protocol = sanitize_text_field( wp_unslash( $_SERVER['SERVER_PROTOCOL'] ) ); + } + } + + /** + * Initialize sitemap providers classes. + * + * @since 5.3 + * + * @return void + */ + public function init_sitemaps_providers() { + + $this->providers = [ + new WPSEO_Post_Type_Sitemap_Provider(), + new WPSEO_Taxonomy_Sitemap_Provider(), + new WPSEO_Author_Sitemap_Provider(), + ]; + + $external_providers = apply_filters( 'wpseo_sitemaps_providers', [] ); + + foreach ( $external_providers as $provider ) { + if ( is_object( $provider ) && $provider instanceof WPSEO_Sitemap_Provider ) { + $this->providers[] = $provider; + } + } + } + + /** + * Check the current request URI, if we can determine it's probably an XML sitemap, kill loading the widgets. + * + * @return void + */ + public function reduce_query_load() { + if ( ! isset( $_SERVER['REQUEST_URI'] ) ) { + return; + } + $request_uri = sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ); + $extension = substr( $request_uri, -4 ); + if ( stripos( $request_uri, 'sitemap' ) !== false && in_array( $extension, [ '.xml', '.xsl' ], true ) ) { + remove_all_actions( 'widgets_init' ); + } + } + + /** + * Register your own sitemap. Call this during 'init'. + * + * @param string $name The name of the sitemap. + * @param callback $building_function Function to build your sitemap. + * @param string $rewrite Optional. Regular expression to match your sitemap with. + * + * @return void + */ + public function register_sitemap( $name, $building_function, $rewrite = '' ) { + add_action( 'wpseo_do_sitemap_' . $name, $building_function ); + if ( $rewrite ) { + Yoast_Dynamic_Rewrites::instance()->add_rule( $rewrite, 'index.php?sitemap=' . $name, 'top' ); + } + } + + /** + * Register your own XSL file. Call this during 'init'. + * + * @since 1.4.23 + * + * @param string $name The name of the XSL file. + * @param callback $building_function Function to build your XSL file. + * @param string $rewrite Optional. Regular expression to match your sitemap with. + * + * @return void + */ + public function register_xsl( $name, $building_function, $rewrite = '' ) { + add_action( 'wpseo_xsl_' . $name, $building_function ); + if ( $rewrite ) { + Yoast_Dynamic_Rewrites::instance()->add_rule( $rewrite, 'index.php?yoast-sitemap-xsl=' . $name, 'top' ); + } + } + + /** + * Set the sitemap current page to allow creating partial sitemaps with WP-CLI + * in a one-off process. + * + * @param int $current_page The part that should be generated. + * + * @return void + */ + public function set_n( $current_page ) { + if ( is_scalar( $current_page ) && intval( $current_page ) > 0 ) { + $this->current_page = intval( $current_page ); + } + } + + /** + * Set the sitemap content to display after you have generated it. + * + * @param string $sitemap The generated sitemap to output. + * + * @return void + */ + public function set_sitemap( $sitemap ) { + $this->sitemap = $sitemap; + } + + /** + * Set as true to make the request 404. Used stop the display of empty sitemaps or invalid requests. + * + * @param bool $is_bad Is this a bad request. True or false. + * + * @return void + */ + public function set_bad_sitemap( $is_bad ) { + $this->bad_sitemap = (bool) $is_bad; + } + + /** + * Prevent stupid plugins from running shutdown scripts when we're obviously not outputting HTML. + * + * @since 1.4.16 + * + * @return void + */ + public function sitemap_close() { + remove_all_actions( 'wp_footer' ); + die(); + } + + /** + * Hijack requests for potential sitemaps and XSL files. + * + * @param WP_Query $query Main query instance. + * + * @return void + */ + public function redirect( $query ) { + + if ( ! $query->is_main_query() ) { + return; + } + + $yoast_sitemap_xsl = get_query_var( 'yoast-sitemap-xsl' ); + + if ( ! empty( $yoast_sitemap_xsl ) ) { + /* + * This is a method to provide the XSL via the home_url. + * Needed when the site_url and home_url are not the same. + * Loading the XSL needs to come from the same domain, protocol and port as the XML. + * + * Whenever home_url and site_url are the same, the file can be loaded directly. + */ + $this->xsl_output( $yoast_sitemap_xsl ); + $this->sitemap_close(); + + return; + } + + $type = get_query_var( 'sitemap' ); + + if ( empty( $type ) ) { + return; + } + + if ( get_query_var( 'sitemap_n' ) === '1' || get_query_var( 'sitemap_n' ) === '0' ) { + wp_safe_redirect( home_url( "/$type-sitemap.xml" ), 301, 'Yoast SEO' ); + exit; + } + + $this->set_n( get_query_var( 'sitemap_n' ) ); + + if ( ! $this->get_sitemap_from_cache( $type, $this->current_page ) ) { + $this->build_sitemap( $type ); + } + + if ( $this->bad_sitemap ) { + $query->set_404(); + status_header( 404 ); + + return; + } + + $this->output(); + $this->sitemap_close(); + } + + /** + * Try to get the sitemap from cache. + * + * @param string $type Sitemap type. + * @param int $page_number The page number to retrieve. + * + * @return bool If the sitemap has been retrieved from cache. + */ + private function get_sitemap_from_cache( $type, $page_number ) { + + $this->transient = false; + + if ( $this->cache->is_enabled() !== true ) { + return false; + } + + /** + * Fires before the attempt to retrieve XML sitemap from the transient cache. + * + * @param WPSEO_Sitemaps $sitemaps Sitemaps object. + */ + do_action( 'wpseo_sitemap_stylesheet_cache_' . $type, $this ); + + $sitemap_cache_data = $this->cache->get_sitemap_data( $type, $page_number ); + + // No cache was found, refresh it because cache is enabled. + if ( empty( $sitemap_cache_data ) ) { + return $this->refresh_sitemap_cache( $type, $page_number ); + } + + // Cache object was found, parse information. + $this->transient = true; + + $this->sitemap = $sitemap_cache_data->get_sitemap(); + $this->bad_sitemap = ! $sitemap_cache_data->is_usable(); + + return true; + } + + /** + * Build and save sitemap to cache. + * + * @param string $type Sitemap type. + * @param int $page_number The page number to save to. + * + * @return bool + */ + private function refresh_sitemap_cache( $type, $page_number ) { + $this->set_n( $page_number ); + $this->build_sitemap( $type ); + + return $this->cache->store_sitemap( $type, $page_number, $this->sitemap, ! $this->bad_sitemap ); + } + + /** + * Attempts to build the requested sitemap. + * + * Sets $bad_sitemap if this isn't for the root sitemap, a post type or taxonomy. + * + * @param string $type The requested sitemap's identifier. + * + * @return void + */ + public function build_sitemap( $type ) { + + /** + * Filter the type of sitemap to build. + * + * @param string $type Sitemap type, determined by the request. + */ + $type = apply_filters( 'wpseo_build_sitemap_post_type', $type ); + + if ( $type === '1' ) { + $this->build_root_map(); + + return; + } + + $entries_per_page = $this->get_entries_per_page(); + + foreach ( $this->providers as $provider ) { + if ( ! $provider->handles_type( $type ) ) { + continue; + } + + try { + $links = $provider->get_sitemap_links( $type, $entries_per_page, $this->current_page ); + } catch ( OutOfBoundsException $exception ) { + $this->bad_sitemap = true; + + return; + } + + $this->sitemap = $this->renderer->get_sitemap( $links, $type, $this->current_page ); + + return; + } + + if ( has_action( 'wpseo_do_sitemap_' . $type ) ) { + /** + * Fires custom handler, if hooked to generate sitemap for the type. + */ + do_action( 'wpseo_do_sitemap_' . $type ); + + return; + } + + $this->bad_sitemap = true; + } + + /** + * Build the root sitemap (example.com/sitemap_index.xml) which lists sub-sitemaps for other content types. + * + * @return void + */ + public function build_root_map() { + + $links = []; + $entries_per_page = $this->get_entries_per_page(); + + foreach ( $this->providers as $provider ) { + $links = array_merge( $links, $provider->get_index_links( $entries_per_page ) ); + } + + /** + * Filter the sitemap links array before the index sitemap is built. + * + * @param array $links Array of sitemap links + */ + $links = apply_filters( 'wpseo_sitemap_index_links', $links ); + + if ( empty( $links ) ) { + $this->bad_sitemap = true; + $this->sitemap = ''; + + return; + } + + $this->sitemap = $this->renderer->get_index( $links ); + } + + /** + * Spits out the XSL for the XML sitemap. + * + * @since 1.4.13 + * + * @param string $type Type to output. + * + * @return void + */ + public function xsl_output( $type ) { + + if ( $type !== 'main' ) { + + /** + * Fires for the output of XSL for XML sitemaps, other than type "main". + */ + do_action( 'wpseo_xsl_' . $type ); + + return; + } + + header( $this->http_protocol . ' 200 OK', true, 200 ); + // Prevent the search engines from indexing the XML Sitemap. + header( 'X-Robots-Tag: noindex, follow', true ); + header( 'Content-Type: text/xml' ); + + // Make the browser cache this file properly. + $expires = YEAR_IN_SECONDS; + header( 'Pragma: public' ); + header( 'Cache-Control: max-age=' . $expires ); + header( 'Expires: ' . YoastSEO()->helpers->date->format_timestamp( ( time() + $expires ), 'D, d M Y H:i:s' ) . ' GMT' ); + + // Don't use WP_Filesystem() here because that's not initialized yet. See https://yoast.atlassian.net/browse/QAK-2043. + readfile( WPSEO_PATH . 'css/main-sitemap.xsl' ); + } + + /** + * Spit out the generated sitemap. + * + * @return void + */ + public function output() { + $this->send_headers(); + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaping sitemap as either xml or html results in empty document. + echo $this->renderer->get_output( $this->sitemap ); + } + + /** + * Makes a request to the sitemap index to cache it before the arrival of the search engines. + * + * @return void + */ + public function hit_sitemap_index() { + if ( ! $this->cache->is_enabled() ) { + return; + } + + wp_remote_get( WPSEO_Sitemaps_Router::get_base_url( 'sitemap_index.xml' ) ); + } + + /** + * Get the GMT modification date for the last modified post in the post type. + * + * @since 3.2 + * + * @param string|array $post_types Post type or array of types. + * @param bool $return_all Flag to return array of values. + * + * @return string|array|false + */ + public static function get_last_modified_gmt( $post_types, $return_all = false ) { + + global $wpdb; + + static $post_type_dates = null; + + if ( ! is_array( $post_types ) ) { + $post_types = [ $post_types ]; + } + + foreach ( $post_types as $post_type ) { + if ( ! isset( $post_type_dates[ $post_type ] ) ) { // If we hadn't seen post type before. R. + $post_type_dates = null; + break; + } + } + + if ( is_null( $post_type_dates ) ) { + + $post_type_dates = []; + $post_type_names = WPSEO_Post_Type::get_accessible_post_types(); + + if ( ! empty( $post_type_names ) ) { + $post_statuses = array_map( 'esc_sql', self::get_post_statuses() ); + $replacements = array_merge( + [ + 'post_type', + 'post_modified_gmt', + 'date', + $wpdb->posts, + 'post_status', + ], + $post_statuses, + [ 'post_type' ], + array_keys( $post_type_names ), + [ + 'post_type', + 'date', + ] + ); + + //phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- We need to use a direct query here. + //phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + $dates = $wpdb->get_results( + //phpcs:disable WordPress.DB.PreparedSQLPlaceholders -- %i placeholder is still not recognized. + $wpdb->prepare( + ' + SELECT %i, MAX(%i) AS %i + FROM %i + WHERE %i IN (' . implode( ', ', array_fill( 0, count( $post_statuses ), '%s' ) ) . ') + AND %i IN (' . implode( ', ', array_fill( 0, count( $post_type_names ), '%s' ) ) . ') + GROUP BY %i + ORDER BY %i DESC + ', + $replacements + ) + ); + + foreach ( $dates as $obj ) { + $post_type_dates[ $obj->post_type ] = $obj->date; + } + } + } + + $dates = array_intersect_key( $post_type_dates, array_flip( $post_types ) ); + + if ( count( $dates ) > 0 ) { + if ( $return_all ) { + return $dates; + } + + return max( $dates ); + } + + return false; + } + + /** + * Get the modification date for the last modified post in the post type. + * + * @param array $post_types Post types to get the last modification date for. + * + * @return string + */ + public function get_last_modified( $post_types ) { + return YoastSEO()->helpers->date->format( self::get_last_modified_gmt( $post_types ) ); + } + + /** + * Get the maximum number of entries per XML sitemap. + * + * @return int The maximum number of entries. + */ + protected function get_entries_per_page() { + /** + * Filter the maximum number of entries per XML sitemap. + * + * After changing the output of the filter, make sure that you disable and enable the + * sitemaps to make sure the value is picked up for the sitemap cache. + * + * @param int $entries The maximum number of entries per XML sitemap. + */ + $entries = (int) apply_filters( 'wpseo_sitemap_entries_per_page', 1000 ); + + return $entries; + } + + /** + * Get post statuses for post_type or the root sitemap. + * + * @since 10.2 + * + * @param string $type Provide a type for a post_type sitemap, SITEMAP_INDEX_TYPE for the root sitemap. + * + * @return array List of post statuses. + */ + public static function get_post_statuses( $type = self::SITEMAP_INDEX_TYPE ) { + /** + * Filter post status list for sitemap query for the post type. + * + * @param array $post_statuses Post status list, defaults to array( 'publish' ). + * @param string $type Post type or SITEMAP_INDEX_TYPE. + */ + $post_statuses = apply_filters( 'wpseo_sitemap_post_statuses', [ 'publish' ], $type ); + + if ( ! is_array( $post_statuses ) || empty( $post_statuses ) ) { + $post_statuses = [ 'publish' ]; + } + + if ( ( $type === self::SITEMAP_INDEX_TYPE || $type === 'attachment' ) + && ! in_array( 'inherit', $post_statuses, true ) + ) { + $post_statuses[] = 'inherit'; + } + + return $post_statuses; + } + + /** + * Sends all the required HTTP Headers. + * + * @return void + */ + private function send_headers() { + if ( headers_sent() ) { + return; + } + + $headers = [ + $this->http_protocol . ' 200 OK' => 200, + // Prevent the search engines from indexing the XML Sitemap. + 'X-Robots-Tag: noindex, follow' => '', + 'Content-Type: text/xml; charset=' . esc_attr( $this->renderer->get_output_charset() ) => '', + ]; + + /** + * Filter the HTTP headers we send before an XML sitemap. + * + * @param array $headers The HTTP headers we're going to send out. + */ + $headers = apply_filters( 'wpseo_sitemap_http_headers', $headers ); + + foreach ( $headers as $header => $status ) { + if ( is_numeric( $status ) ) { + header( $header, true, $status ); + continue; + } + header( $header, true ); + } + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-taxonomy-sitemap-provider.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-taxonomy-sitemap-provider.php new file mode 100644 index 00000000..e69f0e79 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/class-taxonomy-sitemap-provider.php @@ -0,0 +1,351 @@ +include_images = apply_filters( 'wpseo_xml_sitemap_include_images', true ); + } + + /** + * Check if provider supports given item type. + * + * @param string $type Type string to check for. + * + * @return bool + */ + public function handles_type( $type ) { + + $taxonomy = get_taxonomy( $type ); + + if ( $taxonomy === false || ! $this->is_valid_taxonomy( $taxonomy->name ) || ! $taxonomy->public ) { + return false; + } + + return true; + } + + /** + * Retrieves the links for the sitemap. + * + * @param int $max_entries Entries per sitemap. + * + * @return array + */ + public function get_index_links( $max_entries ) { + + $taxonomies = get_taxonomies( [ 'public' => true ], 'objects' ); + + if ( empty( $taxonomies ) ) { + return []; + } + + $taxonomy_names = array_filter( array_keys( $taxonomies ), [ $this, 'is_valid_taxonomy' ] ); + $taxonomies = array_intersect_key( $taxonomies, array_flip( $taxonomy_names ) ); + + // Retrieve all the taxonomies and their terms so we can do a proper count on them. + + /** + * Filter the setting of excluding empty terms from the XML sitemap. + * + * @param bool $exclude Defaults to true. + * @param array $taxonomy_names Array of names for the taxonomies being processed. + */ + $hide_empty = apply_filters( 'wpseo_sitemap_exclude_empty_terms', true, $taxonomy_names ); + + $all_taxonomies = []; + + foreach ( $taxonomy_names as $taxonomy_name ) { + /** + * Filter the setting of excluding empty terms from the XML sitemap for a specific taxonomy. + * + * @param bool $exclude Defaults to the sitewide setting. + * @param string $taxonomy_name The name of the taxonomy being processed. + */ + $hide_empty_tax = apply_filters( 'wpseo_sitemap_exclude_empty_terms_taxonomy', $hide_empty, $taxonomy_name ); + + $term_args = [ + 'taxonomy' => $taxonomy_name, + 'hide_empty' => $hide_empty_tax, + 'fields' => 'ids', + ]; + $taxonomy_terms = get_terms( $term_args ); + + if ( count( $taxonomy_terms ) > 0 ) { + $all_taxonomies[ $taxonomy_name ] = $taxonomy_terms; + } + } + + $index = []; + + foreach ( $taxonomies as $tax_name => $tax ) { + + if ( ! isset( $all_taxonomies[ $tax_name ] ) ) { // No eligible terms found. + continue; + } + + $total_count = ( isset( $all_taxonomies[ $tax_name ] ) ) ? count( $all_taxonomies[ $tax_name ] ) : 1; + $max_pages = 1; + + if ( $total_count > $max_entries ) { + $max_pages = (int) ceil( $total_count / $max_entries ); + } + + $last_modified_gmt = WPSEO_Sitemaps::get_last_modified_gmt( $tax->object_type ); + + for ( $page_counter = 0; $page_counter < $max_pages; $page_counter++ ) { + + $current_page = ( $page_counter === 0 ) ? '' : ( $page_counter + 1 ); + + if ( ! is_array( $tax->object_type ) || count( $tax->object_type ) === 0 ) { + continue; + } + + $terms = array_splice( $all_taxonomies[ $tax_name ], 0, $max_entries ); + + if ( ! $terms ) { + continue; + } + + $args = [ + 'post_type' => $tax->object_type, + 'tax_query' => [ + [ + 'taxonomy' => $tax_name, + 'terms' => $terms, + ], + ], + 'orderby' => 'modified', + 'order' => 'DESC', + 'posts_per_page' => 1, + ]; + $query = new WP_Query( $args ); + + if ( $query->have_posts() ) { + $date = $query->posts[0]->post_modified_gmt; + } + else { + $date = $last_modified_gmt; + } + + $index[] = [ + 'loc' => WPSEO_Sitemaps_Router::get_base_url( $tax_name . '-sitemap' . $current_page . '.xml' ), + 'lastmod' => $date, + ]; + } + } + + return $index; + } + + /** + * Get set of sitemap link data. + * + * @param string $type Sitemap type. + * @param int $max_entries Entries per sitemap. + * @param int $current_page Current page of the sitemap. + * + * @return array + * + * @throws OutOfBoundsException When an invalid page is requested. + */ + public function get_sitemap_links( $type, $max_entries, $current_page ) { + global $wpdb; + + $links = []; + if ( ! $this->handles_type( $type ) ) { + return $links; + } + + $taxonomy = get_taxonomy( $type ); + + $steps = $max_entries; + $offset = ( $current_page > 1 ) ? ( ( $current_page - 1 ) * $max_entries ) : 0; + + /** This filter is documented in inc/sitemaps/class-taxonomy-sitemap-provider.php */ + $hide_empty = apply_filters( 'wpseo_sitemap_exclude_empty_terms', true, [ $taxonomy->name ] ); + /** This filter is documented in inc/sitemaps/class-taxonomy-sitemap-provider.php */ + $hide_empty_tax = apply_filters( 'wpseo_sitemap_exclude_empty_terms_taxonomy', $hide_empty, $taxonomy->name ); + $terms = get_terms( + [ + 'taxonomy' => $taxonomy->name, + 'hide_empty' => $hide_empty_tax, + 'update_term_meta_cache' => false, + 'offset' => $offset, + 'number' => $steps, + ] + ); + + // If there are no terms fetched for this range, we are on an invalid page. + if ( empty( $terms ) ) { + throw new OutOfBoundsException( 'Invalid sitemap page requested' ); + } + + $post_statuses = array_map( 'esc_sql', WPSEO_Sitemaps::get_post_statuses() ); + + $replacements = array_merge( + [ + 'post_modified_gmt', + $wpdb->posts, + $wpdb->term_relationships, + 'object_id', + 'ID', + $wpdb->term_taxonomy, + 'term_taxonomy_id', + 'term_taxonomy_id', + 'taxonomy', + 'term_id', + 'post_status', + ], + $post_statuses, + [ 'post_password' ] + ); + + /** + * Filter: 'wpseo_exclude_from_sitemap_by_term_ids' - Allow excluding terms by ID. + * + * @param array $terms_to_exclude The terms to exclude. + */ + $terms_to_exclude = apply_filters( 'wpseo_exclude_from_sitemap_by_term_ids', [] ); + + foreach ( $terms as $term ) { + + if ( in_array( $term->term_id, $terms_to_exclude, true ) ) { + continue; + } + + $url = []; + + $tax_noindex = WPSEO_Taxonomy_Meta::get_term_meta( $term, $term->taxonomy, 'noindex' ); + + if ( $tax_noindex === 'noindex' ) { + continue; + } + + $canonical = WPSEO_Taxonomy_Meta::get_term_meta( $term, $term->taxonomy, 'canonical' ); + $url['loc'] = get_term_link( $term, $term->taxonomy ); + + if ( is_string( $canonical ) && $canonical !== '' && $canonical !== $url['loc'] ) { + continue; + } + + $current_replacements = $replacements; + array_splice( $current_replacements, 9, 0, $term->taxonomy ); + array_splice( $current_replacements, 11, 0, $term->term_id ); + + //phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- We need to use a direct query here. + //phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching -- Reason: No relevant caches. + $url['mod'] = $wpdb->get_var( + //phpcs:disable WordPress.DB.PreparedSQLPlaceholders -- %i placeholder is still not recognized. + $wpdb->prepare( + ' + SELECT MAX(p.%i) AS lastmod + FROM %i AS p + INNER JOIN %i AS term_rel + ON term_rel.%i = p.%i + INNER JOIN %i AS term_tax + ON term_tax.%i = term_rel.%i + AND term_tax.%i = %s + AND term_tax.%i = %d + WHERE p.%i IN (' . implode( ', ', array_fill( 0, count( $post_statuses ), '%s' ) ) . ") + AND p.%i = '' + ", + $current_replacements + ) + ); + + if ( $this->include_images ) { + $url['images'] = $this->get_image_parser()->get_term_images( $term ); + } + + // Deprecated, kept for backwards data compat. R. + $url['chf'] = 'daily'; + $url['pri'] = 1; + + /** This filter is documented at inc/sitemaps/class-post-type-sitemap-provider.php */ + $url = apply_filters( 'wpseo_sitemap_entry', $url, 'term', $term ); + + if ( ! empty( $url ) ) { + $links[] = $url; + } + } + + return $links; + } + + /** + * Check if taxonomy by name is valid to appear in sitemaps. + * + * @param string $taxonomy_name Taxonomy name to check. + * + * @return bool + */ + public function is_valid_taxonomy( $taxonomy_name ) { + + if ( WPSEO_Options::get( "noindex-tax-{$taxonomy_name}" ) === true ) { + return false; + } + + if ( in_array( $taxonomy_name, [ 'link_category', 'nav_menu', 'wp_pattern_category' ], true ) ) { + return false; + } + + if ( $taxonomy_name === 'post_format' && WPSEO_Options::get( 'disable-post_format', false ) ) { + return false; + } + + /** + * Filter to exclude the taxonomy from the XML sitemap. + * + * @param bool $exclude Defaults to false. + * @param string $taxonomy_name Name of the taxonomy to exclude.. + */ + if ( apply_filters( 'wpseo_sitemap_exclude_taxonomy', false, $taxonomy_name ) ) { + return false; + } + + return true; + } + + /** + * Get the Image Parser. + * + * @return WPSEO_Sitemap_Image_Parser + */ + protected function get_image_parser() { + if ( ! isset( self::$image_parser ) ) { + self::$image_parser = new WPSEO_Sitemap_Image_Parser(); + } + + return self::$image_parser; + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/interface-sitemap-cache-data.php b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/interface-sitemap-cache-data.php new file mode 100644 index 00000000..9cfdf0aa --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/sitemaps/interface-sitemap-cache-data.php @@ -0,0 +1,72 @@ +ID ); + return $primary_term->get_primary_term(); + } +} + +if ( ! function_exists( 'yoast_get_primary_term' ) ) { + /** + * Get the primary term name. + * + * @param string $taxonomy Optional. The taxonomy to get the primary term for. Defaults to category. + * @param int|WP_Post|null $post Optional. Post to get the primary term for. + * + * @return string Name of the primary term. + */ + function yoast_get_primary_term( $taxonomy = 'category', $post = null ) { + $primary_term_id = yoast_get_primary_term_id( $taxonomy, $post ); + + $term = get_term( $primary_term_id ); + if ( ! is_wp_error( $term ) && ! empty( $term ) ) { + return $term->name; + } + + return ''; + } +} + +/** + * Replace `%%variable_placeholders%%` with their real value based on the current requested page/post/cpt. + * + * @param string $text The string to replace the variables in. + * @param object $args The object some of the replacement values might come from, + * could be a post, taxonomy or term. + * @param array $omit Variables that should not be replaced by this function. + * + * @return string + */ +function wpseo_replace_vars( $text, $args, $omit = [] ) { + $replacer = new WPSEO_Replace_Vars(); + + return $replacer->replace( $text, $args, $omit ); +} + +/** + * Register a new variable replacement. + * + * This function is for use by other plugins/themes to easily add their own additional variables to replace. + * This function should be called from a function on the 'wpseo_register_extra_replacements' action hook. + * The use of this function is preferred over the older 'wpseo_replacements' filter as a way to add new replacements. + * The 'wpseo_replacements' filter should still be used to adjust standard WPSEO replacement values. + * The function can not be used to replace standard WPSEO replacement value functions and will thrown a warning + * if you accidently try. + * To avoid conflicts with variables registered by WPSEO and other themes/plugins, try and make the + * name of your variable unique. Variable names also can not start with "%%cf_" or "%%ct_" as these are reserved + * for the standard WPSEO variable variables 'cf_', 'ct_' and + * 'ct_desc_'. + * The replacement function will be passed the undelimited name (i.e. stripped of the %%) of the variable + * to replace in case you need it. + * + * Example code: + * + * + * + * + * @since 1.5.4 + * + * @param string $replacevar_name The name of the variable to replace, i.e. '%%var%%'. + * Note: the surrounding %% are optional, name can only contain [A-Za-z0-9_-]. + * @param mixed $replace_function Function or method to call to retrieve the replacement value for the variable. + * Uses the same format as add_filter/add_action function parameter and + * should *return* the replacement value. DON'T echo it. + * @param string $type Type of variable: 'basic' or 'advanced', defaults to 'advanced'. + * @param string $help_text Help text to be added to the help tab for this variable. + * + * @return bool Whether the replacement function was successfully registered. + */ +function wpseo_register_var_replacement( $replacevar_name, $replace_function, $type = 'advanced', $help_text = '' ) { + return WPSEO_Replace_Vars::register_replacement( $replacevar_name, $replace_function, $type, $help_text ); +} + +/** + * WPML plugin support: Set titles for custom types / taxonomies as translatable. + * + * It adds new keys to a wpml-config.xml file for a custom post type title, metadesc, + * title-ptarchive and metadesc-ptarchive fields translation. + * Documentation: http://wpml.org/documentation/support/language-configuration-files/ + * + * @global $sitepress + * + * @param array $config WPML configuration data to filter. + * + * @return array + */ +function wpseo_wpml_config( $config ) { + global $sitepress; + + if ( ( is_array( $config ) && isset( $config['wpml-config']['admin-texts']['key'] ) ) && ( is_array( $config['wpml-config']['admin-texts']['key'] ) && $config['wpml-config']['admin-texts']['key'] !== [] ) ) { + $admin_texts = $config['wpml-config']['admin-texts']['key']; + foreach ( $admin_texts as $k => $val ) { + if ( $val['attr']['name'] === 'wpseo_titles' ) { + $translate_cp = array_keys( $sitepress->get_translatable_documents() ); + if ( is_array( $translate_cp ) && $translate_cp !== [] ) { + foreach ( $translate_cp as $post_type ) { + $admin_texts[ $k ]['key'][]['attr']['name'] = 'title-' . $post_type; + $admin_texts[ $k ]['key'][]['attr']['name'] = 'metadesc-' . $post_type; + $admin_texts[ $k ]['key'][]['attr']['name'] = 'title-ptarchive-' . $post_type; + $admin_texts[ $k ]['key'][]['attr']['name'] = 'metadesc-ptarchive-' . $post_type; + + $translate_tax = $sitepress->get_translatable_taxonomies( false, $post_type ); + if ( is_array( $translate_tax ) && $translate_tax !== [] ) { + foreach ( $translate_tax as $taxonomy ) { + $admin_texts[ $k ]['key'][]['attr']['name'] = 'title-tax-' . $taxonomy; + $admin_texts[ $k ]['key'][]['attr']['name'] = 'metadesc-tax-' . $taxonomy; + } + } + } + } + break; + } + } + $config['wpml-config']['admin-texts']['key'] = $admin_texts; + } + + return $config; +} + +add_filter( 'icl_wpml_config_array', 'wpseo_wpml_config' ); + +if ( ! function_exists( 'ctype_digit' ) ) { + /** + * Emulate PHP native ctype_digit() function for when the ctype extension would be disabled *sigh*. + * Only emulates the behaviour for when the input is a string, does not handle integer input as ascii value. + * + * @param string $text String input to validate. + * + * @return bool + */ + function ctype_digit( $text ) { + $return = false; + if ( ( is_string( $text ) && $text !== '' ) && preg_match( '`^\d+$`', $text ) === 1 ) { + $return = true; + } + + return $return; + } +} + +/** + * Makes sure the taxonomy meta is updated when a taxonomy term is split. + * + * @link https://make.wordpress.org/core/2015/02/16/taxonomy-term-splitting-in-4-2-a-developer-guide/ Article explaining the taxonomy term splitting in WP 4.2. + * + * @param string $old_term_id Old term id of the taxonomy term that was splitted. + * @param string $new_term_id New term id of the taxonomy term that was splitted. + * @param string $term_taxonomy_id Term taxonomy id for the taxonomy that was affected. + * @param string $taxonomy The taxonomy that the taxonomy term was splitted for. + * + * @return void + */ +function wpseo_split_shared_term( $old_term_id, $new_term_id, $term_taxonomy_id, $taxonomy ) { + $tax_meta = get_option( 'wpseo_taxonomy_meta', [] ); + + if ( ! empty( $tax_meta[ $taxonomy ][ $old_term_id ] ) ) { + $tax_meta[ $taxonomy ][ $new_term_id ] = $tax_meta[ $taxonomy ][ $old_term_id ]; + unset( $tax_meta[ $taxonomy ][ $old_term_id ] ); + update_option( 'wpseo_taxonomy_meta', $tax_meta ); + } +} + +add_action( 'split_shared_term', 'wpseo_split_shared_term', 10, 4 ); + +/** + * Get all WPSEO related capabilities. + * + * @since 8.3 + * @return array + */ +function wpseo_get_capabilities() { + if ( ! did_action( 'wpseo_register_capabilities' ) ) { + do_action( 'wpseo_register_capabilities' ); + } + return WPSEO_Capability_Manager_Factory::get()->get_capabilities(); +} diff --git a/wp/wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php b/wp/wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php new file mode 100644 index 00000000..3563be68 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php @@ -0,0 +1,57 @@ +register_hooks(); +} +add_action( 'wp_loaded', 'wpseo_initialize_admin_bar' ); + +/** + * Allows editing of the meta fields through weblog editors like Marsedit. + * + * @param array $required_capabilities Capabilities that must all be true to allow action. + * @param array $capabilities Array of capabilities to be checked, unused here. + * @param array $args List of arguments for the specific capabilities to be checked. + * + * @return array Filtered capabilities. + */ +function allow_custom_field_edits( $required_capabilities, $capabilities, $args ) { + if ( ! in_array( $args[0], [ 'edit_post_meta', 'add_post_meta' ], true ) ) { + return $required_capabilities; + } + + // If this is provided, it is the post ID. + if ( empty( $args[2] ) ) { + return $required_capabilities; + } + + // If this is provided, it is the custom field. + if ( empty( $args[3] ) ) { + return $required_capabilities; + } + + // If the meta key is part of the plugin, grant capabilities accordingly. + if ( strpos( $args[3], WPSEO_Meta::$meta_prefix ) === 0 && current_user_can( 'edit_post', $args[2] ) ) { + $required_capabilities[ $args[0] ] = true; + } + + return $required_capabilities; +} + +add_filter( 'user_has_cap', 'allow_custom_field_edits', 0, 3 ); diff --git a/wp/wp-content/plugins/wordpress-seo/index.php b/wp/wp-content/plugins/wordpress-seo/index.php new file mode 100644 index 00000000..e94d9a42 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/index.php @@ -0,0 +1,4 @@ +{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var a in s)e.o(s,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:s[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.React,s=window.wp.components,a=window.wp.data,r=window.wp.domReady;var i=e.n(r);const o=window.wp.element,n=window.yoast.uiLibrary,l=window.lodash,d=window.yoast.reduxJsToolkit,c="adminUrl",u=(0,d.createSlice)({name:c,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),y=(u.getInitialState,{selectAdminUrl:e=>(0,l.get)(e,c,"")});y.selectAdminLink=(0,d.createSelector)([y.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),u.actions,u.reducer;const m=window.wp.url,p="linkParams",g=(0,d.createSlice)({name:p,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),h=g.getInitialState,w={selectLinkParam:(e,t,s={})=>(0,l.get)(e,`${p}.${t}`,s),selectLinkParams:e=>(0,l.get)(e,p,{})};w.selectLink=(0,d.createSelector)([w.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,m.addQueryArgs)(t,{...e,...s})));const f=g.actions,k=g.reducer,_=(0,d.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:a,description:r})=>({payload:{id:e||(0,d.nanoid)(),variant:t,size:s,title:a||"",description:r}})},removeNotification:(e,{payload:t})=>(0,l.omit)(e,t)}}),E=(_.getInitialState,_.actions,_.reducer,"pluginUrl"),b=(0,d.createSlice)({name:E,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),v=(b.getInitialState,{selectPluginUrl:e=>(0,l.get)(e,E,"")});v.selectImageLink=(0,d.createSelector)([v.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,l.trimEnd)(e,"/"),(0,l.trim)(t,"/"),(0,l.trimStart)(s,"/")].join("/"))),b.actions,b.reducer,window.wp.apiFetch;const S="wistiaEmbedPermission",L=(0,d.createSlice)({name:S,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${S}/request`,(e=>{e.status="loading"})),e.addCase(`${S}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${S}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,l.get)(t,"error.code",500),message:(0,l.get)(t,"error.message","Unknown")}}))}});L.getInitialState,L.actions,L.reducer;const A=t.forwardRef((function(e,s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),P=t.forwardRef((function(e,s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),O=t.forwardRef((function(e,s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),t.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),x=window.wp.i18n,I="@yoast/academy",Q=(e,t=[],...s)=>(0,a.useSelect)((t=>{var a,r;return null===(a=(r=t(I))[e])||void 0===a?void 0:a.call(r,...s)}),t),$=(e,t)=>!(!(0,l.isEmpty)(e)&&!t)||Object.values(e).every((e=>!0===e)),M=()=>{const e=Q("selectLinkParams"),s=Q("selectPreference",[],"pluginUrl",""),a=Q("selectPreference",[],"isPremium",""),r=Q("selectPreference",[],"isWooActive",""),i=Q("selectPreference",[],"isLocalActive",""),d=Q("selectUpsellSettingsAsProps"),c=(0,n.useSvgAria)(),u=(0,o.useMemo)((()=>[{id:"ai_for_seo",title:"AI for SEO",description:(0,x.__)("Join the Yoast team to learn how to harness the power of AI to revolutionize your SEO approach. Gain a competitive edge, future-proof your keyword strategies, and soar to the top of search rankings – all designed to empower busy small business owners.","wordpress-seo"),image:`${s}/images/academy/ai_for_seo_icon_my_yoast.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/ai-for-seo-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/ai-for-seo-unlock",e),dependencies:{PREMIUM:a},hasTrial:!0},{id:"seo_for_beginners",title:"SEO for beginners",description:(0,x.__)("In this free course, you'll get quick wins to make your site rank higher in Google, Bing, and Yahoo.","wordpress-seo"),image:`${s}/images/academy/seo_for_beginners.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-seo-beginners-start",e),dependencies:{},hasTrial:!0},{id:"seo_for_wp",title:"Yoast SEO for WordPress (block editor)",description:(0,x.sprintf)(/* translators: %1$s expands to Yoast SEO. */ +(0,x.__)("In this course, you'll learn about how to set up and use the %1$s for WordPress plugin so it makes SEO even easier. This course is meant for users of the block editor.","wordpress-seo"),"Yoast SEO"),image:`${s}/images/academy/seo_for_wp.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-seo-wordpress-block-editor-start",e),dependencies:{},hasTrial:!0},{id:"all_around_seo",title:"All-around SEO",description:(0,x.__)("In this course, you'll learn practical SEO skills on every key aspect of SEO, to make your site stand out.","wordpress-seo"),image:`${s}/images/academy/all_around_seo.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-all-around-seo-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-all-around-seo-unlock",e),dependencies:{PREMIUM:a},hasTrial:!0},{id:"wp_for_beginners",title:"WordPress for beginners",description:(0,x.__)("Do you want to set up your own WordPress site? This course will teach you the ins and outs of creating and maintaining a WordPress website!","wordpress-seo"),image:`${s}/images/academy/wp_for_beginners.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-wordpress-beginners-start",e),dependencies:{},hasTrial:!0},{id:"copywriting",title:"SEO copywriting",description:(0,x.__)("In this course, you'll learn how to write awesome copy that is optimized for ranking in search engines.","wordpress-seo"),image:`${s}/images/academy/copywriting.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-seo-copywriting-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-seo-copywriting-unlock",e),dependencies:{PREMIUM:a},hasTrial:!0},{id:"structured_data_for_beginners",title:"Structured data for beginners",description:(0,x.__)("Learn how to make your site stand out from the crowd by adding structured data!","wordpress-seo"),image:`${s}/images/academy/structured_data_for_beginners.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-structured-data-beginners-start",e),dependencies:{},hasTrial:!0},{id:"keyword_research",title:"Keyword research",description:(0,x.__)("Do you know the essential first step of good SEO? It's keyword research. In this training, you'll learn how to research and select the keywords that will guide searchers to your pages.","wordpress-seo"),image:`${s}/images/academy/keyword_research.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-keyword-research-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-keyword-research-unlock",e),dependencies:{PREMIUM:a},hasTrial:!0},{id:"block_editor",title:"Block editor training",description:(0,x.__)("Start creating block-tastic content with the new WordPress block editor! Learn all about the block editor and what you can do with it.","wordpress-seo"),image:`${s}/images/academy/block_editor.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-block-editor-start",e),dependencies:{},hasTrial:!0},{id:"site_structure",title:"Site structure",description:(0,x.__)("A clear site structure benefits your users and is of great importance for SEO. Still, most people seem to forget about this. Get ahead of your competition and learn how to improve your site structure!","wordpress-seo"),image:`${s}/images/academy/site_structure.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-site-structure-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-site-structure-unlock",e),dependencies:{PREMIUM:a},hasTrial:!0},{id:"local",title:"Local SEO",description:(0,x.__)("Do you own a local business? This course will teach you how to make sure your local audience can find you in the search results and on Google Maps!","wordpress-seo"),image:`${s}/images/academy/local.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-local-seo-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-local-seo-unlock",e),dependencies:{LOCAL:i},hasTrial:!0},{id:"ecommerce",title:"Ecommerce SEO",description:(0,x.__)("Learn how to optimize your online shop for your customers and for search engines!","wordpress-seo"),image:`${s}/images/academy/ecommerce.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-ecommerce-seo-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-ecommerce-seo-unlock",e),dependencies:{WOO:r},hasTrial:!0},{id:"understanding_structured_data",title:"Understanding structured data",description:(0,x.__)("Do you want to take a deep dive into structured data? In this course, you'll learn the theory related to structured data in detail.","wordpress-seo"),image:`${s}/images/academy/understanding_structured_data.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-understanding-structured-data-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-understanding-structured-data-unlock",e),dependencies:{PREMIUM:a},hasTrial:!1},{id:"multilingual",title:"International SEO",description:(0,x.__)("Are you selling in countries all over the world? In this course, you’ll learn all about setting up and managing a site that targets people in different languages and locales.","wordpress-seo"),image:`${s}/images/academy/multilingual.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-international-seo-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-international-seo-unlock",e),dependencies:{PREMIUM:a},hasTrial:!0},{id:"crawlability",title:"Technical SEO: Crawlability and indexability",description:(0,x.__)("You have to make it possible for search engines to find your site, so they can display it in the search results. We'll tell you all about how that works in this course!","wordpress-seo"),image:`${s}/images/academy/crawlability.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-technical-seo-crawlability-indexability-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-technical-seo-crawlability-indexability-unlock",e),dependencies:{PREMIUM:a},hasTrial:!0},{id:"hosting_and_server",title:"Technical SEO: Hosting and server configuration",description:(0,x.__)("Choosing the right type of hosting for your site is the basis of a solid Technical SEO strategy. Learn all about it in this course!","wordpress-seo"),image:`${s}/images/academy/hosting_and_server.png`,startLink:(0,m.addQueryArgs)("https://yoa.st/academy-technical-seo-hosting-server-configuration-start",e),upsellLink:(0,m.addQueryArgs)("https://yoa.st/academy-technical-seo-hosting-server-configuration-unlock",e),dependencies:{PREMIUM:a},hasTrial:!1}]),[e]);return(0,t.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-mb-8 xl:yst-mb-0"},(0,t.createElement)(n.Paper,{as:"main"},(0,t.createElement)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200"},(0,t.createElement)("div",{className:"yst-max-w-screen-sm"},(0,t.createElement)(n.Title,null,(0,x.__)("Academy","wordpress-seo")),(0,t.createElement)("p",{className:"yst-text-tiny yst-mt-3"},a&&(0,x.sprintf)( +// translators: %s for Yoast SEO Premium. +(0,x.__)("Learn vital SEO skills that you can apply at once! Let us take you by the hand and give you practical SEO tips to help you outrank your competitors. Maximize your SEO game! Because your %s subscription gives you unlimited access to all courses.","wordpress-seo"),"Yoast SEO Premium"),!a&&(0,t.createElement)(t.Fragment,null,(0,x.sprintf)( +// translators: %s for Yoast SEO. +(0,x.__)("Learn vital SEO skills that you can apply at once! Let us take you by the hand and give you practical SEO tips to help you outrank your competitors. %s comes with five free courses.","wordpress-seo"),"Yoast SEO")," ",(0,t.createElement)(n.Link,{href:(0,m.addQueryArgs)("https://yoa.st/academy-page-upsell/",e),target:"_blank",...d},(0,x.sprintf)( +// translators: %s for Yoast SEO Premium. +(0,x.__)("Maximize your SEO game by purchasing %s, which grants you unlimited access to all courses.","wordpress-seo"),"Yoast SEO Premium")))))),(0,t.createElement)("div",{className:"yst-h-full yst-p-8"},(0,t.createElement)("div",{className:"yst-max-w-6xl yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-4"},u.map((e=>(0,t.createElement)(n.Card,{key:`card-course-${e.id}`},(0,t.createElement)(n.Card.Header,{className:"yst-h-auto yst-p-0"},(0,t.createElement)("img",{className:"yst-w-full yst-transition yst-duration-200",src:e.image,alt:"",width:500,height:250,loading:"lazy",decoding:"async"}),((e,t)=>!(0,l.isEmpty)(e)&&(t||e.WOO||e.LOCAL))(e.dependencies,a)&&(0,t.createElement)("div",{className:"yst-absolute yst-top-2 yst-right-2 yst-flex yst-gap-1.5"},(0,t.createElement)(n.Badge,{size:"small",variant:"upsell"},(0,x.__)("Premium","wordpress-seo")))),(0,t.createElement)(n.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,t.createElement)(n.Title,{as:"h3"},e.title),e.description,!$(e.dependencies,a)&&(0,t.createElement)(n.Link,{href:e.startLink,className:"yst-flex yst-items-center yst-mt-3 yst-no-underline yst-font-medium yst-text-primary-500",target:"_blank"},(0,x.__)("Start free trial lesson","wordpress-seo"),(0,t.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */ +(0,x.__)("(Opens in a new browser tab)","wordpress-seo")),(0,t.createElement)(O,{className:"yst-h-4 yst-w-4 yst-ml-1 yst-icon-rtl"}))),(0,t.createElement)(n.Card.Footer,null,(0,t.createElement)(t.Fragment,null,!$(e.dependencies,a)&&(0,t.createElement)(n.Button,{as:"a",id:`button-get-course-${e.id}`,className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:null==e?void 0:e.upsellLink,target:"_blank",rel:"noopener",...d},(0,t.createElement)(A,{className:"yst-w-5 yst-h-5 yst--ml-1 yst-shrink-0",...c}),(0,x.sprintf)(/* translators: %1$s expands to Premium. */ +(0,x.__)("Unlock with %1$s","wordpress-seo"),"Premium")),$(e.dependencies,a)&&(0,t.createElement)(n.Button,{as:"a",id:`button-start-course-${e.id}`,className:"yst-gap-2 yst-w-full yst-px-2 yst-leading-5",variant:"primary",href:e.startLink,target:"_blank",rel:"noopener"},(0,x.__)("Start the course","wordpress-seo"),(0,t.createElement)(P,{className:"yst--mr-1 yst-ml-1 yst-h-5 yst-w-5 yst-text-white"})))))))))))},T=()=>({...(0,l.get)(window,"wpseoScriptData.preferences",{})}),U=(0,d.createSlice)({name:"preferences",initialState:T(),reducers:{}}),R={selectPreference:(e,t,s={})=>(0,l.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,l.get)(e,"preferences",{})};R.selectUpsellSettingsAsProps=(0,d.createSelector)([e=>R.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const N=U.actions,C=U.reducer;i()((()=>{const e=document.getElementById("yoast-seo-academy");if(!e)return;(({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(I,{actions:{...f,...N},selectors:{...w,...R},initialState:(0,l.merge)({},{[p]:h(),preferences:T()},e),reducer:(0,a.combineReducers)({[p]:k,preferences:C})}))({initialState:e}))})({initialState:{[p]:(0,l.get)(window,"wpseoScriptData.linkParams",{})}}),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const r=(0,a.select)(I).selectPreference("isRtl",!1);(0,o.render)((0,t.createElement)(n.Root,{context:{isRtl:r}},(0,t.createElement)(s.SlotFillProvider,null,(0,t.createElement)(M,null))),e)}))})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/addon-installation.js b/wp/wp-content/plugins/wordpress-seo/js/dist/addon-installation.js new file mode 100644 index 00000000..2503cf3a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/addon-installation.js @@ -0,0 +1,7 @@ +(()=>{"use strict";var e={n:n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return e.d(t,{a:t}),t},d:(n,t)=>{for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=window.React,t=window.wp.element,o=window.yoast.propTypes;var a=e.n(o);const s=window.yoast.componentsNew,l=window.wp.i18n,i=window.yoast.styledComponents;var r=e.n(i);const d=window.wp.components,c=e=>{const{title:t,className:o,showYoastIcon:a,additionalClassName:s,...l}=e,i=a?(0,n.createElement)("span",{className:"yoast-icon"}):null;return(0,n.createElement)(d.Modal,{title:t,className:`${o} ${s}`,icon:i,...l},e.children)};c.propTypes={title:a().string,className:a().string,showYoastIcon:a().bool,children:a().oneOfType([a().node,a().arrayOf(a().node)]),additionalClassName:a().string},c.defaultProps={title:"Yoast SEO",className:"yoast yoast-gutenberg-modal",showYoastIcon:!0,children:null,additionalClassName:""};const p=c;var m,w;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var n=1;nn.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),m||(m=n.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),w||(w=n.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),y=r().div` + display: flex; + justify-content: flex-end; + gap: 8px; +`,f=e=>{const[o,a]=(0,t.useState)(!0);function i(){a(!1)}const r=(0,l.sprintf)(/* translators: %s expands to Yoast */ +(0,l.__)("%s SEO installation","wordpress-seo"),"Yoast");let d,c=(0,l.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(c=e.addons[0]),1!==e.addons.length&&(d=(0,n.createElement)("ul",{className:"ul-disc"},e.addons.map(((e,t)=>(0,n.createElement)("li",{key:"addon-"+t},e))))),o?(0,n.createElement)(p,{title:r,onRequestClose:i,icon:(0,n.createElement)(h,null),isDismissible:!1},(0,n.createElement)("p",null,(0,l.sprintf)(/* translators: %s expands to Yoast SEO Premium */ +(0,l.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),c)),d,(0,n.createElement)(y,null,(0,n.createElement)(s.Button,{onClick:i,id:"close-addon-installation-dialog"},(0,l.__)("Cancel","wordpress-seo")),(0,n.createElement)(s.Button,{onClick:function(){window.location.href="admin.php?page=wpseo_licenses&action=install&nonce="+e.nonce},id:"continue-addon-installation-dialog",className:"yoast-button--primary"},(0,l.__)("Install and activate","wordpress-seo")))):null};f.propTypes={nonce:a().string.isRequired,addons:a().array},f.defaultProps={addons:[]};const g=f,v=document.createElement("div");v.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(v),(0,t.render)((0,n.createElement)(g,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),v)})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/admin-global.js b/wp/wp-content/plugins/wordpress-seo/js/dist/admin-global.js new file mode 100644 index 00000000..cd015e9a --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/admin-global.js @@ -0,0 +1 @@ +(()=>{"use strict";var t={n:o=>{var a=o&&o.__esModule?()=>o.default:()=>o;return t.d(a,{a}),a},d:(o,a)=>{for(var e in a)t.o(a,e)&&!t.o(o,e)&&Object.defineProperty(o,e,{enumerable:!0,get:a[e]})},o:(t,o)=>Object.prototype.hasOwnProperty.call(t,o)};const o=window.jQuery;var a=t.n(o);!function(t){function o(t,o,e){const s=new FormData,n={action:"wpseo_set_ignore",option:t,_wpnonce:e};for(const[t,o]of Object.entries(n))s.append(t,o);return fetch(ajaxurl,{method:"POST",body:s}).then((e=>(e&&(a()("#"+o).hide(),a()("#hidden_ignore_"+t).val("ignore")),e)))}function e(){t("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),t(".yoast-issue-added").fadeOut(200)}function s(o,a){if(t(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==a.html){a.html&&(o.closest(".yoast-container").html(a.html),n());var e=t("#wp-admin-bar-wpseo-menu"),s=e.find(".yoast-issue-counter");s.length||(e.find("> a:first-child").append('
    '),s=e.find(".yoast-issue-counter")),s.html(a.total),0===a.total?s.hide():s.show(),t("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+a.total),t("#toplevel_page_wpseo_dashboard .plugin-count").html(a.total)}}function n(){var o=t(".yoast-notification-holder");o.on("click",".dismiss",(function(){var o=t(this),a=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('
    '),t.post(ajaxurl,{action:"yoast_dismiss_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:o.data("json")||a.data("json")},s.bind(this,a),"json")})),o.on("click",".restore",(function(){var o=t(this),a=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('
    '),t.post(ajaxurl,{action:"yoast_restore_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:a.data("json")},s.bind(this,a),"json")}))}function i(t){t.is(":hidden")||(t.outerWidth()>t.parent().outerWidth()?(t.data("scrollHint").addClass("yoast-has-scroll"),t.data("scrollContainer").addClass("yoast-has-scroll")):(t.data("scrollHint").removeClass("yoast-has-scroll"),t.data("scrollContainer").removeClass("yoast-has-scroll")))}function l(){window.wpseoScrollableTables=t(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){var o=t(this);if(!o.data("scrollContainer")){var a=t("
    ",{class:"yoast-table-scrollable__hintwrapper",html:"