Version Description
Release Date: June 29th, 2021
Yoast SEO 16.6 comes with a new round of improvements and fixes. Weve updated the analysis to exclude sentences inside tables and table captions from the consecutive sentences assessment. Enjoy! Read more about whats new in Yoast SEO 16.6 in our release post!
Enhancements:
- Updates
SearchAction
schema to comply with Google's updated specification. - Excludes sentences inside tables and table captions from the consecutive sentences assessment.
- Adds adjacent relative links (
rel="prev"
andrel="next"
) for WooCommerce shop pages. Props to stodorovic. - Adds increased compatibility for LiteSpeed web servers. Props to J-Rey.
- Adds adjacent relative links for WooCommerce shop pages. Props to stodorovic.
Bugfixes:
- Fixes a bug where an error would be shown on the page overview and post overview when the website's MySQL database was run in ANSI-mode. Props to stodorovic.
- Fixes a bug where shortcodes would be removed from the Open Graph description even when they were explicitly added. Props to Lomerill.
- Fixes a bug where using the
wpseo_schema_{@type}
filter would result in a fatal error. - Fixes a bug where the last breadcrumb item was stripped in breadcrumb Schema output on subsequent pages of a static posts page.
Download this release
Release Info
Developer | Yoast |
Plugin | Yoast SEO |
Version | 16.6 |
Comparing to | |
See all releases |
Code changes from version 16.5 to 16.6
- admin/class-admin-asset-manager.php +0 -4
- admin/class-bulk-editor-list-table.php +41 -45
- admin/class-gutenberg-compatibility.php +2 -2
- admin/filters/class-cornerstone-filter.php +7 -8
- admin/menu/class-admin-menu.php +34 -31
- admin/menu/class-base-menu.php +0 -10
- admin/metabox/class-metabox.php +0 -3
- admin/taxonomy/class-taxonomy.php +0 -1
- css/dist/{admin-global-1650-rtl.css → admin-global-1660-rtl.css} +1 -1
- css/dist/{admin-global-1650.css → admin-global-1660.css} +1 -1
- css/dist/{adminbar-1650-rtl.css → adminbar-1660-rtl.css} +0 -0
- css/dist/{adminbar-1650.css → adminbar-1660.css} +0 -0
- css/dist/{alerts-1650-rtl.css → alerts-1660-rtl.css} +0 -0
- css/dist/{alerts-1650.css → alerts-1660.css} +0 -0
- css/dist/badge-1650-rtl.css +0 -1
- css/dist/badge-1650.css +0 -1
- css/dist/{dashboard-1650-rtl.css → dashboard-1660-rtl.css} +0 -0
- css/dist/{dashboard-1650.css → dashboard-1660.css} +0 -0
- css/dist/{edit-page-1650-rtl.css → edit-page-1660-rtl.css} +0 -0
- css/dist/{edit-page-1650.css → edit-page-1660.css} +0 -0
- css/dist/{elementor-1650-rtl.css → elementor-1660-rtl.css} +0 -0
- css/dist/{elementor-1650.css → elementor-1660.css} +0 -0
- css/dist/{featured-image-1650-rtl.css → featured-image-1660-rtl.css} +0 -0
- css/dist/{featured-image-1650.css → featured-image-1660.css} +0 -0
- css/dist/{filter-explanation-1650-rtl.css → filter-explanation-1660-rtl.css} +0 -0
- css/dist/{filter-explanation-1650.css → filter-explanation-1660.css} +0 -0
- css/dist/{icons-1650-rtl.css → icons-1660-rtl.css} +0 -0
- css/dist/{icons-1650.css → icons-1660.css} +0 -0
- css/dist/{inside-editor-1650-rtl.css → inside-editor-1660-rtl.css} +0 -0
- css/dist/{inside-editor-1650.css → inside-editor-1660.css} +0 -0
- css/dist/{metabox-1650-rtl.css → metabox-1660-rtl.css} +0 -0
- css/dist/{metabox-1650.css → metabox-1660.css} +0 -0
- css/dist/{metabox-primary-category-1650-rtl.css → metabox-primary-category-1660-rtl.css} +0 -0
- css/dist/{metabox-primary-category-1650.css → metabox-primary-category-1660.css} +0 -0
- css/dist/{modal-1650-rtl.css → modal-1660-rtl.css} +0 -0
- css/dist/{modal-1650.css → modal-1660.css} +0 -0
- css/dist/{monorepo-1650-rtl.css → monorepo-1660-rtl.css} +0 -0
- css/dist/{monorepo-1650.css → monorepo-1660.css} +0 -0
- css/dist/{notifications-1650-rtl.css → notifications-1660-rtl.css} +0 -0
- css/dist/{notifications-1650.css → notifications-1660.css} +0 -0
- css/dist/{schema-blocks-1650-rtl.css → schema-blocks-1660-rtl.css} +0 -0
- css/dist/{schema-blocks-1650.css → schema-blocks-1660.css} +0 -0
- css/dist/{score_icon-1650-rtl.css → score_icon-1660-rtl.css} +0 -0
- css/dist/{score_icon-1650.css → score_icon-1660.css} +0 -0
- css/dist/{search-appearance-1650-rtl.css → search-appearance-1660-rtl.css} +0 -0
- css/dist/{search-appearance-1650.css → search-appearance-1660.css} +0 -0
- css/dist/{structured-data-blocks-1650-rtl.css → structured-data-blocks-1660-rtl.css} +0 -0
- css/dist/{structured-data-blocks-1650.css → structured-data-blocks-1660.css} +0 -0
- css/dist/{toggle-switch-1650-rtl.css → toggle-switch-1660-rtl.css} +0 -0
- css/dist/{toggle-switch-1650.css → toggle-switch-1660.css} +0 -0
- css/dist/{wpseo-dismissible-1650-rtl.css → wpseo-dismissible-1660-rtl.css} +0 -0
- css/dist/{wpseo-dismissible-1650.css → wpseo-dismissible-1660.css} +0 -0
- css/dist/{yoast-components-1650-rtl.css → yoast-components-1660-rtl.css} +0 -0
- css/dist/{yoast-components-1650.css → yoast-components-1660.css} +0 -0
- css/dist/{yoast-extensions-1650-rtl.css → yoast-extensions-1660-rtl.css} +0 -0
- css/dist/{yoast-extensions-1650.css → yoast-extensions-1660.css} +0 -0
- css/dist/{yst_plugin_tools-1650-rtl.css → yst_plugin_tools-1660-rtl.css} +0 -0
- css/dist/{yst_plugin_tools-1650.css → yst_plugin_tools-1660.css} +0 -0
- css/dist/{yst_seo_score-1650-rtl.css → yst_seo_score-1660-rtl.css} +0 -0
- css/dist/{yst_seo_score-1650.css → yst_seo_score-1660.css} +0 -0
- inc/class-wpseo-utils.php +11 -10
- js/dist/addon-installation-1650.js +0 -5
- js/dist/addon-installation-1660.js +5 -0
- js/dist/{admin-global-1650.js → admin-global-1660.js} +1 -1
- js/dist/{analysis-worker-1650.js → analysis-worker-1660.js} +1 -1
- js/dist/{api-client-1650.js → api-client-1660.js} +1 -1
- js/dist/{block-editor-1650.js → block-editor-1660.js} +10 -10
- js/dist/{bulk-editor-1650.js → bulk-editor-1660.js} +1 -1
- js/dist/{classic-editor-1650.js → classic-editor-1660.js} +13 -13
- js/dist/configuration-wizard-1650.js +0 -5
- js/dist/configuration-wizard-1660.js +5 -0
- js/dist/{dashboard-widget-1650.js → dashboard-widget-1660.js} +1 -1
- js/dist/{dynamic-blocks-1650.js → dynamic-blocks-1660.js} +1 -1
- js/dist/{edit-page-1650.js → edit-page-1660.js} +1 -1
- js/dist/{editor-modules-1650.js → editor-modules-1660.js} +3 -3
- js/dist/{elementor-1650.js → elementor-1660.js} +5 -6
admin/class-admin-asset-manager.php
CHANGED
@@ -512,10 +512,6 @@ class WPSEO_Admin_Asset_Manager {
|
|
512 |
'name' => 'alert',
|
513 |
'src' => 'alerts-' . $flat_version,
|
514 |
],
|
515 |
-
[
|
516 |
-
'name' => 'badge',
|
517 |
-
'src' => 'badge-' . $flat_version,
|
518 |
-
],
|
519 |
[
|
520 |
'name' => 'edit-page',
|
521 |
'src' => 'edit-page-' . $flat_version,
|
512 |
'name' => 'alert',
|
513 |
'src' => 'alerts-' . $flat_version,
|
514 |
],
|
|
|
|
|
|
|
|
|
515 |
[
|
516 |
'name' => 'edit-page',
|
517 |
'src' => 'edit-page-' . $flat_version,
|
admin/class-bulk-editor-list-table.php
CHANGED
@@ -268,20 +268,19 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
268 |
|
269 |
$status_links = [];
|
270 |
|
271 |
-
$states
|
272 |
-
$states = esc_sql( $states );
|
273 |
-
$all_states = "'" . implode( "', '", $states ) . "'";
|
274 |
-
|
275 |
$subquery = $this->get_base_subquery();
|
276 |
|
277 |
$total_posts = $wpdb->get_var(
|
278 |
-
|
279 |
-
|
280 |
-
WHERE post_status IN (
|
281 |
-
|
|
|
|
|
|
|
282 |
);
|
283 |
|
284 |
-
|
285 |
$post_status = filter_input( INPUT_GET, 'post_status' );
|
286 |
$current_link_attributes = empty( $post_status ) ? ' class="current" aria-current="page"' : '';
|
287 |
$localized_text = sprintf(
|
@@ -323,10 +322,9 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
323 |
unset( $post_stati, $status, $status_name, $total, $current_link_attributes );
|
324 |
|
325 |
$trashed_posts = $wpdb->get_var(
|
|
|
|
|
326 |
"
|
327 |
-
SELECT COUNT(ID) FROM {$subquery}
|
328 |
-
WHERE post_status IN ('trash')
|
329 |
-
"
|
330 |
);
|
331 |
|
332 |
$current_link_attributes = '';
|
@@ -372,17 +370,17 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
372 |
|
373 |
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
374 |
$states['trash'] = 'trash';
|
375 |
-
$states = esc_sql( $states );
|
376 |
-
$all_states = "'" . implode( "', '", $states ) . "'";
|
377 |
|
378 |
$subquery = $this->get_base_subquery();
|
379 |
|
380 |
$post_types = $wpdb->get_results(
|
381 |
-
|
382 |
-
|
383 |
-
WHERE post_status IN (
|
384 |
-
|
385 |
-
|
|
|
|
|
386 |
);
|
387 |
|
388 |
$post_type_filter = filter_input( INPUT_GET, 'post_type_filter' );
|
@@ -533,15 +531,13 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
533 |
*/
|
534 |
protected function count_items( $subquery, $all_states, $post_type_clause ) {
|
535 |
global $wpdb;
|
536 |
-
|
|
|
|
|
|
|
|
|
537 |
"
|
538 |
-
SELECT COUNT(ID)
|
539 |
-
FROM {$subquery}
|
540 |
-
WHERE post_status IN ({$all_states}) $post_type_clause
|
541 |
-
"
|
542 |
);
|
543 |
-
|
544 |
-
return $total_items;
|
545 |
}
|
546 |
|
547 |
/**
|
@@ -620,7 +616,7 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
620 |
|
621 |
// Get all needed results.
|
622 |
$query = "
|
623 |
-
|
624 |
FROM {$subquery}
|
625 |
WHERE post_status IN ({$all_states}) $post_type_clause
|
626 |
ORDER BY {$orderby} {$order}
|
@@ -691,6 +687,8 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
691 |
* @return string
|
692 |
*/
|
693 |
protected function get_all_states() {
|
|
|
|
|
694 |
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
695 |
$states['trash'] = 'trash';
|
696 |
|
@@ -705,10 +703,10 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
705 |
}
|
706 |
}
|
707 |
|
708 |
-
$
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
}
|
713 |
|
714 |
/**
|
@@ -937,38 +935,36 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
937 |
/**
|
938 |
* Getting all post_ids from to $this->items.
|
939 |
*
|
940 |
-
* @return
|
941 |
*/
|
942 |
protected function get_post_ids() {
|
943 |
-
$
|
944 |
foreach ( $this->items as $item ) {
|
945 |
-
$
|
946 |
}
|
947 |
|
948 |
-
$post_ids = "'" . implode( "', '", $needed_ids ) . "'";
|
949 |
-
|
950 |
return $post_ids;
|
951 |
}
|
952 |
|
953 |
/**
|
954 |
* Getting the meta_data from database.
|
955 |
*
|
956 |
-
* @param
|
957 |
*
|
958 |
* @return mixed
|
959 |
*/
|
960 |
-
protected function get_meta_data_result( $post_ids ) {
|
961 |
global $wpdb;
|
962 |
|
963 |
-
$
|
964 |
-
|
965 |
-
|
966 |
-
FROM {$wpdb->postmeta}
|
967 |
-
WHERE post_id IN({$post_ids}) AND meta_key = '" . WPSEO_Meta::$meta_prefix . $this->target_db_field . "'
|
968 |
-
"
|
969 |
);
|
970 |
|
971 |
-
|
|
|
|
|
|
|
972 |
}
|
973 |
|
974 |
/**
|
268 |
|
269 |
$status_links = [];
|
270 |
|
271 |
+
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
|
|
|
|
|
|
272 |
$subquery = $this->get_base_subquery();
|
273 |
|
274 |
$total_posts = $wpdb->get_var(
|
275 |
+
$wpdb->prepare(
|
276 |
+
"SELECT COUNT(ID) FROM {$subquery}
|
277 |
+
WHERE post_status IN (" .
|
278 |
+
implode( ', ', array_fill( 0, count( $states ), '%s' ) ) .
|
279 |
+
')',
|
280 |
+
$states
|
281 |
+
)
|
282 |
);
|
283 |
|
|
|
284 |
$post_status = filter_input( INPUT_GET, 'post_status' );
|
285 |
$current_link_attributes = empty( $post_status ) ? ' class="current" aria-current="page"' : '';
|
286 |
$localized_text = sprintf(
|
322 |
unset( $post_stati, $status, $status_name, $total, $current_link_attributes );
|
323 |
|
324 |
$trashed_posts = $wpdb->get_var(
|
325 |
+
"SELECT COUNT(ID) FROM {$subquery}
|
326 |
+
WHERE post_status IN ('trash')
|
327 |
"
|
|
|
|
|
|
|
328 |
);
|
329 |
|
330 |
$current_link_attributes = '';
|
370 |
|
371 |
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
372 |
$states['trash'] = 'trash';
|
|
|
|
|
373 |
|
374 |
$subquery = $this->get_base_subquery();
|
375 |
|
376 |
$post_types = $wpdb->get_results(
|
377 |
+
$wpdb->prepare(
|
378 |
+
"SELECT DISTINCT post_type FROM {$subquery}
|
379 |
+
WHERE post_status IN (" .
|
380 |
+
implode( ', ', array_fill( 0, count( $states ), '%s' ) ) .
|
381 |
+
') ORDER BY post_type ASC',
|
382 |
+
$states
|
383 |
+
)
|
384 |
);
|
385 |
|
386 |
$post_type_filter = filter_input( INPUT_GET, 'post_type_filter' );
|
531 |
*/
|
532 |
protected function count_items( $subquery, $all_states, $post_type_clause ) {
|
533 |
global $wpdb;
|
534 |
+
|
535 |
+
return (int) $wpdb->get_var(
|
536 |
+
"SELECT COUNT(ID) FROM {$subquery}
|
537 |
+
WHERE post_status IN ({$all_states})
|
538 |
+
{$post_type_clause}
|
539 |
"
|
|
|
|
|
|
|
|
|
540 |
);
|
|
|
|
|
541 |
}
|
542 |
|
543 |
/**
|
616 |
|
617 |
// Get all needed results.
|
618 |
$query = "
|
619 |
+
SELECT ID, post_title, post_type, post_status, post_modified, post_date
|
620 |
FROM {$subquery}
|
621 |
WHERE post_status IN ({$all_states}) $post_type_clause
|
622 |
ORDER BY {$orderby} {$order}
|
687 |
* @return string
|
688 |
*/
|
689 |
protected function get_all_states() {
|
690 |
+
global $wpdb;
|
691 |
+
|
692 |
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
693 |
$states['trash'] = 'trash';
|
694 |
|
703 |
}
|
704 |
}
|
705 |
|
706 |
+
return $wpdb->prepare(
|
707 |
+
implode( ', ', array_fill( 0, count( $states ), '%s' ) ),
|
708 |
+
$states
|
709 |
+
);
|
710 |
}
|
711 |
|
712 |
/**
|
935 |
/**
|
936 |
* Getting all post_ids from to $this->items.
|
937 |
*
|
938 |
+
* @return array
|
939 |
*/
|
940 |
protected function get_post_ids() {
|
941 |
+
$post_ids = [];
|
942 |
foreach ( $this->items as $item ) {
|
943 |
+
$post_ids[] = $item->ID;
|
944 |
}
|
945 |
|
|
|
|
|
946 |
return $post_ids;
|
947 |
}
|
948 |
|
949 |
/**
|
950 |
* Getting the meta_data from database.
|
951 |
*
|
952 |
+
* @param array $post_ids Post IDs for SQL IN part.
|
953 |
*
|
954 |
* @return mixed
|
955 |
*/
|
956 |
+
protected function get_meta_data_result( array $post_ids ) {
|
957 |
global $wpdb;
|
958 |
|
959 |
+
$where = $wpdb->prepare(
|
960 |
+
'post_id IN (' . implode( ', ', array_fill( 0, count( $post_ids ), '%d' ) ) . ')',
|
961 |
+
$post_ids
|
|
|
|
|
|
|
962 |
);
|
963 |
|
964 |
+
$where .= $wpdb->prepare( ' AND meta_key = %s', WPSEO_Meta::$meta_prefix . $this->target_db_field );
|
965 |
+
|
966 |
+
// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- They are prepared on the lines above.
|
967 |
+
return $wpdb->get_results( "SELECT * FROM {$wpdb->postmeta} WHERE {$where}" );
|
968 |
}
|
969 |
|
970 |
/**
|
admin/class-gutenberg-compatibility.php
CHANGED
@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
|
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
-
const CURRENT_RELEASE = '10.
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
-
const MINIMUM_SUPPORTED = '10.
|
26 |
|
27 |
/**
|
28 |
* Holds the current version.
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
+
const CURRENT_RELEASE = '10.9.1';
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
+
const MINIMUM_SUPPORTED = '10.9.1';
|
26 |
|
27 |
/**
|
28 |
* Holds the current version.
|
admin/filters/class-cornerstone-filter.php
CHANGED
@@ -49,8 +49,8 @@ class WPSEO_Cornerstone_Filter extends WPSEO_Abstract_Post_Filter {
|
|
49 |
if ( $this->is_filter_active() ) {
|
50 |
global $wpdb;
|
51 |
|
52 |
-
$where .=
|
53 |
-
|
54 |
WPSEO_Meta::$meta_prefix . self::META_NAME
|
55 |
);
|
56 |
}
|
@@ -118,12 +118,11 @@ class WPSEO_Cornerstone_Filter extends WPSEO_Abstract_Post_Filter {
|
|
118 |
|
119 |
return (int) $wpdb->get_var(
|
120 |
$wpdb->prepare(
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
',
|
127 |
$this->get_current_post_type(),
|
128 |
WPSEO_Meta::$meta_prefix . self::META_NAME
|
129 |
)
|
49 |
if ( $this->is_filter_active() ) {
|
50 |
global $wpdb;
|
51 |
|
52 |
+
$where .= $wpdb->prepare(
|
53 |
+
" AND {$wpdb->posts}.ID IN ( SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key = %s AND meta_value = '1' ) ",
|
54 |
WPSEO_Meta::$meta_prefix . self::META_NAME
|
55 |
);
|
56 |
}
|
118 |
|
119 |
return (int) $wpdb->get_var(
|
120 |
$wpdb->prepare(
|
121 |
+
"SELECT COUNT( 1 )
|
122 |
+
FROM {$wpdb->postmeta}
|
123 |
+
WHERE post_id IN( SELECT ID FROM {$wpdb->posts} WHERE post_type = %s ) AND
|
124 |
+
meta_key = %s AND meta_value = '1'
|
125 |
+
",
|
|
|
126 |
$this->get_current_post_type(),
|
127 |
WPSEO_Meta::$meta_prefix . self::META_NAME
|
128 |
)
|
admin/menu/class-admin-menu.php
CHANGED
@@ -24,45 +24,48 @@ class WPSEO_Admin_Menu extends WPSEO_Base_Menu {
|
|
24 |
* Registers the menu item submenus.
|
25 |
*/
|
26 |
public function register_settings_page() {
|
27 |
-
$
|
28 |
-
|
29 |
-
|
30 |
-
/*
|
31 |
-
* The current user has the capability to control anything.
|
32 |
-
* This means that all submenus and dashboard can be shown.
|
33 |
-
*/
|
34 |
-
global $admin_page_hooks;
|
35 |
-
|
36 |
-
add_menu_page(
|
37 |
-
'Yoast SEO: ' . __( 'Dashboard', 'wordpress-seo' ),
|
38 |
-
__( 'SEO', 'wordpress-seo' ) . ' ' . $this->get_notification_counter(),
|
39 |
-
$this->get_manage_capability(),
|
40 |
-
$this->get_page_identifier(),
|
41 |
-
$this->get_admin_page_callback(),
|
42 |
-
$this->get_icon_svg(),
|
43 |
-
'99.31337'
|
44 |
-
);
|
45 |
-
|
46 |
-
// Wipe notification bits from hooks.
|
47 |
-
// phpcs:ignore WordPress.WP.GlobalVariablesOverride -- This is a deliberate action.
|
48 |
-
$admin_page_hooks[ $this->get_page_identifier() ] = 'seo';
|
49 |
-
}
|
50 |
|
51 |
// Get all submenu pages.
|
52 |
$submenu_pages = $this->get_submenu_pages();
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
/*
|
60 |
-
*
|
61 |
-
*
|
62 |
*/
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
|
68 |
/**
|
24 |
* Registers the menu item submenus.
|
25 |
*/
|
26 |
public function register_settings_page() {
|
27 |
+
$manage_capability = $this->get_manage_capability();
|
28 |
+
$page_identifier = $this->get_page_identifier();
|
29 |
+
$admin_page_callback = $this->get_admin_page_callback();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
// Get all submenu pages.
|
32 |
$submenu_pages = $this->get_submenu_pages();
|
33 |
|
34 |
+
foreach ( $submenu_pages as $submenu_page ) {
|
35 |
+
if ( WPSEO_Capability_Utils::current_user_can( $submenu_page[3] ) ) {
|
36 |
+
$manage_capability = $submenu_page[3];
|
37 |
+
$page_identifier = $submenu_page[4];
|
38 |
+
$admin_page_callback = $submenu_page[5];
|
39 |
+
break;
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
foreach ( $submenu_pages as $index => $submenu_page ) {
|
44 |
+
$submenu_pages[ $index ][0] = $page_identifier;
|
45 |
}
|
46 |
|
47 |
/*
|
48 |
+
* The current user has the capability to control anything.
|
49 |
+
* This means that all submenus and dashboard can be shown.
|
50 |
*/
|
51 |
+
global $admin_page_hooks;
|
52 |
+
|
53 |
+
add_menu_page(
|
54 |
+
'Yoast SEO: ' . __( 'Dashboard', 'wordpress-seo' ),
|
55 |
+
__( 'SEO', 'wordpress-seo' ) . ' ' . $this->get_notification_counter(),
|
56 |
+
$manage_capability,
|
57 |
+
$page_identifier,
|
58 |
+
$admin_page_callback,
|
59 |
+
$this->get_icon_svg(),
|
60 |
+
'99.31337'
|
61 |
+
);
|
62 |
+
|
63 |
+
// Wipe notification bits from hooks.
|
64 |
+
// phpcs:ignore WordPress.WP.GlobalVariablesOverride -- This is a deliberate action.
|
65 |
+
$admin_page_hooks[ $page_identifier ] = 'seo';
|
66 |
+
|
67 |
+
// Add submenu items to the main menu if possible.
|
68 |
+
$this->register_submenu_pages( $submenu_pages );
|
69 |
}
|
70 |
|
71 |
/**
|
admin/menu/class-base-menu.php
CHANGED
@@ -92,13 +92,6 @@ abstract class WPSEO_Base_Menu implements WPSEO_WordPress_Integration {
|
|
92 |
|
93 |
// Loop through submenu pages and add them.
|
94 |
array_walk( $submenu_pages, [ $this, 'register_submenu_page' ] );
|
95 |
-
|
96 |
-
// Set the first submenu title to the title of the first submenu page.
|
97 |
-
global $submenu;
|
98 |
-
if ( isset( $submenu[ $this->get_page_identifier() ] ) && $this->check_manage_capability() ) {
|
99 |
-
// phpcs:ignore WordPress.WP.GlobalVariablesOverride -- This is a deliberate action.
|
100 |
-
$submenu[ $this->get_page_identifier() ][0][0] = $submenu_pages[0][2];
|
101 |
-
}
|
102 |
}
|
103 |
|
104 |
/**
|
@@ -188,9 +181,6 @@ abstract class WPSEO_Base_Menu implements WPSEO_WordPress_Integration {
|
|
188 |
|
189 |
$page_title .= ' - Yoast SEO';
|
190 |
|
191 |
-
// Force the general manage capability to be used.
|
192 |
-
$submenu_page[3] = $this->get_manage_capability();
|
193 |
-
|
194 |
// Register submenu page.
|
195 |
$hook_suffix = add_submenu_page(
|
196 |
$submenu_page[0],
|
92 |
|
93 |
// Loop through submenu pages and add them.
|
94 |
array_walk( $submenu_pages, [ $this, 'register_submenu_page' ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
}
|
96 |
|
97 |
/**
|
181 |
|
182 |
$page_title .= ' - Yoast SEO';
|
183 |
|
|
|
|
|
|
|
184 |
// Register submenu page.
|
185 |
$hook_suffix = add_submenu_page(
|
186 |
$submenu_page[0],
|
admin/metabox/class-metabox.php
CHANGED
@@ -866,7 +866,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
866 |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
867 |
|
868 |
$asset_manager->localize_script( $post_edit_handle, 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() );
|
869 |
-
$asset_manager->localize_script( $post_edit_handle, 'wpseoFeaturesL10n', WPSEO_Utils::retrieve_enabled_features() );
|
870 |
|
871 |
$plugins_script_data = [
|
872 |
'replaceVars' => [
|
@@ -887,8 +886,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
887 |
'dependencies' => YoastSEO()->helpers->asset->get_dependency_urls_by_handle( 'yoast-seo-analysis-worker' ),
|
888 |
'keywords_assessment_url' => YoastSEO()->helpers->asset->get_asset_url( 'yoast-seo-used-keywords-assessment' ),
|
889 |
'log_level' => WPSEO_Utils::get_analysis_worker_log_level(),
|
890 |
-
// We need to make the feature flags separately available inside of the analysis web worker.
|
891 |
-
'enabled_features' => WPSEO_Utils::retrieve_enabled_features(),
|
892 |
];
|
893 |
|
894 |
$alert_dismissal_action = YoastSEO()->classes->get( \Yoast\WP\SEO\Actions\Alert_Dismissal_Action::class );
|
866 |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
867 |
|
868 |
$asset_manager->localize_script( $post_edit_handle, 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() );
|
|
|
869 |
|
870 |
$plugins_script_data = [
|
871 |
'replaceVars' => [
|
886 |
'dependencies' => YoastSEO()->helpers->asset->get_dependency_urls_by_handle( 'yoast-seo-analysis-worker' ),
|
887 |
'keywords_assessment_url' => YoastSEO()->helpers->asset->get_asset_url( 'yoast-seo-used-keywords-assessment' ),
|
888 |
'log_level' => WPSEO_Utils::get_analysis_worker_log_level(),
|
|
|
|
|
889 |
];
|
890 |
|
891 |
$alert_dismissal_action = YoastSEO()->classes->get( \Yoast\WP\SEO\Actions\Alert_Dismissal_Action::class );
|
admin/taxonomy/class-taxonomy.php
CHANGED
@@ -146,7 +146,6 @@ class WPSEO_Taxonomy {
|
|
146 |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
147 |
|
148 |
$asset_manager->localize_script( 'term-edit', 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() );
|
149 |
-
$asset_manager->localize_script( 'term-edit', 'wpseoFeaturesL10n', WPSEO_Utils::retrieve_enabled_features() );
|
150 |
|
151 |
$script_data = [
|
152 |
'analysis' => [
|
146 |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
147 |
|
148 |
$asset_manager->localize_script( 'term-edit', 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() );
|
|
|
149 |
|
150 |
$script_data = [
|
151 |
'analysis' => [
|
css/dist/{admin-global-1650-rtl.css → admin-global-1660-rtl.css}
RENAMED
@@ -1 +1 @@
|
|
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 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-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 1536l91-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-192l416 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-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{display:none;position:absolute;z-index:1000000;padding:6px 8px 5px;border-radius:3px;opacity:0;color:#fff;background:rgba(0,0,0,.8);text-shadow:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;text-align:center;white-space:pre;text-decoration:none;letter-spacing:normal;text-transform:none;word-wrap:break-word;content:attr(aria-label);pointer-events:none;-webkit-font-smoothing:subpixel-antialiased}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{display:none;position:absolute;z-index:1000001;width:0;height:0;border:5px solid transparent;opacity:0;color:rgba(0,0,0,.8);content:"\00a0";pointer-events:none}@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{display:inline-block;text-decoration:none;animation-name:yoast-tooltip-appear;animation-duration:.1s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards}.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{opacity:1;animation:none}.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{top:100%;left:50%;margin-top:5px}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{top:auto;left:50%;bottom:-5px;margin-left:-5px;border-bottom-color:rgba(0,0,0,.8)}.yoast-tooltip-se:after{left:auto;right:50%;margin-right:-15px}.yoast-tooltip-sw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{left:50%;bottom:100%;margin-bottom:5px}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{top:-5px;left:50%;bottom:auto;margin-left:-5px;border-top-color:rgba(0,0,0,.8)}.yoast-tooltip-ne:after{left:auto;right:50%;margin-right:-15px}.yoast-tooltip-nw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(-50%)}.yoast-tooltip-w:after{left:100%;bottom:50%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-w:before{top:50%;bottom:50%;right:-5px;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.yoast-tooltip-e:after{bottom:50%;right:100%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-e:before{top:50%;left:-5px;bottom:50%;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.yoast-tooltip-multiline:after{width:250px;width:max-content;max-width:250px;border-collapse:initial;white-space:pre-line;word-wrap:normal;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{left:auto;right:50%;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 (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.yoast-tooltip-w:after{margin-left:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.wpseo-premium-indicator{width:1px;height:1px;display:inline-block}#adminmenu .wpseo-premium-indicator{margin:-2px 2px -3px 0;color:inherit}.wpseo-premium-indicator svg{height:100%;width:auto;display:none}.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{margin:0 0 0 10px;font-size:14px;font-weight:600}.wpseo-premium-popup-title{margin:1em 0!important;padding:0!important;font-size:1.3em!important;font-weight:600!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{max-width:100%;height:auto}.select2-container .select2-search--dropdown .select2-search__field{margin:0;padding:0 8px;min-height:30px}.select2-results__option,.select2-search--inline,.select2-selection__choice{margin-bottom:0}.select2-container .select2-search--inline .select2-search__field{margin-top:6px!important;line-height:inherit;min-height:0}.wpseo-admin-page .select2-container .select2-selection--single,.wpseo-metabox .select2-container .select2-selection--single{height:auto}.wpseo-admin-page .select2-container .select2-selection--single .select2-selection__arrow,.wpseo-metabox .select2-container .select2-selection--single .select2-selection__arrow{height:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.yoast-video-container iframe{position:absolute;top:0;right:0;width:100%;height:100%}.yoast-settings{margin-bottom:2em;padding-right:220px}.yoast-settings h2{margin-bottom:0;margin-right:-220px}.yoast-settings label{display:inline-block;width:200px;padding-top:4px;padding-left:10px;margin-left:6px;margin-right:-220px;font-size:14px;line-height:1.3;font-weight:600;color:#23282d;vertical-align:top}.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea,.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{margin-top:2em;margin-bottom:.5em}.yoast-settings__textarea--medium{width:100%;max-width:600px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{vertical-align:top;position:relative;top:1px}.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{width:auto;margin-right:0;margin-left:0;padding:0;max-width:calc(100% - 25px)}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{margin-top:0;margin-bottom:10px;font-weight:400}.yoast-settings legend{font-size:14px;font-weight:600;color:#23282d}.yoast-settings .description{margin-top:0;font-size:14px}td .wpseo-score-icon{display:inline-block;width:12px;height:12px;margin-right:5px;border-radius:50%;background:#888;line-height:16px;margin-top:3px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{width:3em;padding:0}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{overflow:visible;display:inline-block;vertical-align:middle;padding:8px 0}th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{padding:8px 11px}.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{content:"";display:inline-block;width:20px;height:20px;padding:0;vertical-align:top;text-decoration:none!important;color:#444}.manage-column .yoast-linked-to:before{background:transparent url(../../images/link-out-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-linked-from:before{background:transparent url(../../images/link-in-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:transparent url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-readability:before{background:transparent 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{width:auto;padding:0;margin-left:0;margin-right:0}.yoast-settings__radio+label,.yoast .yoast-settings__radio{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{display:block;width:100%;margin-top:0;margin-bottom:0;padding:7px 10px;max-width:none;line-height:1.5;box-sizing:border-box}.screen-reader-text.wpseo-score-text{position:static!important;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}}.react-tabs__tab-panel{max-width:900px;margin:0 auto}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{margin:0 auto 1.5em;font-size:.9375rem;line-height:1.4}.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{position:relative;width:20px;height:20px;margin:0;padding:0;border:0;outline:none;color:#72777c;background:transparent;box-shadow:none;vertical-align:top;cursor:pointer}.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{position:absolute;top:0;right:0;padding:4px;content:"\f223"}.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 rgba(30,140,190,.8)}.yoast-help-panel{display:none;clear:both;max-width:30em!important;padding:0 0 1em;font-weight:400;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{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:8px 1em;font-size:16px;line-height:1.5;font-family:Arial,sans-serif;color:#000;border-radius:4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));text-decoration:none;background-color:#fec228}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{color:#000;background-color:#f2ae01}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-button-upsell:active{transform:translateY(1px);box-shadow:none;filter:none}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{flex-shrink:0;width:8px;height:16px;margin:0 6px 0 -2px;background:transparent var(--yoast-svg-icon-caret-right) 50% no-repeat}.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{z-index:5;display:flex;padding:16px 0;justify-content:flex-start;align-items:baseline;margin:0}.wpseo-admin-submit.wpseo-admin-submit-fixed{padding:16px;position:fixed;bottom:0;right:160px;left:281px;background-color:#fff;max-width:800px;box-shadow:0 1px 8px 1px rgba(0,0,0,.5);margin:0 16px}@media screen and (max-width:1024px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0}}@media only screen and (max-width:960px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:36px}}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0;margin:0}}.wpseo-admin-submit p.submit{padding:0;margin:0}.wpseo-admin-submit p.wpseo-message{margin:0 0 0 16px;padding:0;color:#008a00}.yoast-site-health__signature{display:flex;font-size:12px;line-height:20px;margin-top:2em;color:#707070}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-left:8px}
|
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 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-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 1536l91-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-192l416 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-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{display:none;position:absolute;z-index:1000000;padding:6px 8px 5px;border-radius:3px;opacity:0;color:#fff;background:rgba(0,0,0,.8);text-shadow:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;text-align:center;white-space:pre;text-decoration:none;letter-spacing:normal;text-transform:none;word-wrap:break-word;content:attr(aria-label);pointer-events:none;-webkit-font-smoothing:subpixel-antialiased}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{display:none;position:absolute;z-index:1000001;width:0;height:0;border:5px solid transparent;opacity:0;color:rgba(0,0,0,.8);content:"\00a0";pointer-events:none}@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{display:inline-block;text-decoration:none;animation-name:yoast-tooltip-appear;animation-duration:.1s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards}.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{opacity:1;animation:none}.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{top:100%;left:50%;margin-top:5px}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{top:auto;left:50%;bottom:-5px;margin-left:-5px;border-bottom-color:rgba(0,0,0,.8)}.yoast-tooltip-se:after{left:auto;right:50%;margin-right:-15px}.yoast-tooltip-sw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{left:50%;bottom:100%;margin-bottom:5px}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{top:-5px;left:50%;bottom:auto;margin-left:-5px;border-top-color:rgba(0,0,0,.8)}.yoast-tooltip-ne:after{left:auto;right:50%;margin-right:-15px}.yoast-tooltip-nw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(-50%)}.yoast-tooltip-w:after{left:100%;bottom:50%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-w:before{top:50%;bottom:50%;right:-5px;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.yoast-tooltip-e:after{bottom:50%;right:100%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-e:before{top:50%;left:-5px;bottom:50%;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.yoast-tooltip-multiline:after{width:250px;width:max-content;max-width:250px;border-collapse:initial;white-space:pre-line;word-wrap:normal;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{left:auto;right:50%;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 (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.yoast-tooltip-w:after{margin-left:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.wpseo-premium-indicator{width:1px;height:1px;display:inline-block}#adminmenu .wpseo-premium-indicator{margin:-2px 2px -3px 0;color:inherit}.wpseo-premium-indicator svg{height:100%;width:auto;display:none}.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{margin:0 0 0 10px;font-size:14px;font-weight:600}.wpseo-premium-popup-title{margin:1em 0!important;padding:0!important;font-size:1.3em!important;font-weight:600!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{max-width:100%;height:auto}.select2-container .select2-search--dropdown .select2-search__field{margin:0;padding:0 8px;min-height:30px}.select2-results__option,.select2-search--inline,.select2-selection__choice{margin-bottom:0}.select2-container .select2-search--inline .select2-search__field{margin-top:6px!important;line-height:inherit;min-height:0}.wpseo-admin-page .select2-container .select2-selection--single,.wpseo-metabox .select2-container .select2-selection--single{height:auto}.wpseo-admin-page .select2-container .select2-selection--single .select2-selection__arrow,.wpseo-metabox .select2-container .select2-selection--single .select2-selection__arrow{height:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.yoast-video-container iframe{position:absolute;top:0;right:0;width:100%;height:100%}.yoast-settings{margin-bottom:2em;padding-right:220px}.yoast-settings h2{margin-bottom:0;margin-right:-220px}.yoast-settings label{display:inline-block;width:200px;padding-top:4px;padding-left:10px;margin-left:6px;margin-right:-220px;font-size:14px;line-height:1.3;font-weight:600;color:#23282d;vertical-align:top}.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea,.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{margin-top:2em;margin-bottom:.5em}.yoast-settings__textarea--medium{width:100%;max-width:600px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{vertical-align:top;position:relative;top:1px}.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{width:auto;margin-right:0;margin-left:0;padding:0;max-width:calc(100% - 25px)}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{margin-top:0;margin-bottom:10px;font-weight:400}.yoast-settings legend{font-size:14px;font-weight:600;color:#23282d}.yoast-settings .description{margin-top:0;font-size:14px}td .wpseo-score-icon{display:inline-block;width:12px;height:12px;margin-right:5px;border-radius:50%;background:#888;line-height:16px;margin-top:3px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{width:3em;padding:0}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{overflow:visible;display:inline-block;vertical-align:middle;padding:8px 0}th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{padding:8px 11px}.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{content:"";display:inline-block;width:20px;height:20px;padding:0;vertical-align:top;text-decoration:none!important;color:#444}.manage-column .yoast-linked-to:before{background:transparent url(../../images/link-out-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-linked-from:before{background:transparent url(../../images/link-in-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:transparent url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-readability:before{background:transparent 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{width:auto;padding:0;margin-left:0;margin-right:0}.yoast-settings__radio+label,.yoast .yoast-settings__radio{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{display:block;width:100%;margin-top:0;margin-bottom:0;padding:7px 10px;max-width:none;line-height:1.5;box-sizing:border-box}.screen-reader-text.wpseo-score-text{position:static!important;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}}.react-tabs__tab-panel{max-width:900px;margin:0 auto}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{margin:0 auto 1.5em;font-size:.9375rem;line-height:1.4}.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{position:relative;width:20px;height:20px;margin:0;padding:0;border:0;outline:none;color:#72777c;background:transparent;box-shadow:none;vertical-align:top;cursor:pointer}.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{position:absolute;top:0;right:0;padding:4px;content:"\f223"}.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 rgba(30,140,190,.8)}.yoast-help-panel{display:none;clear:both;max-width:30em!important;padding:0 0 1em;font-weight:400;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{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:8px 1em;font-size:16px;line-height:1.5;font-family:Arial,sans-serif;color:#000;border-radius:4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));text-decoration:none;background-color:#fec228}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{color:#000;background-color:#f2ae01}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-button-upsell:active{transform:translateY(1px);box-shadow:none;filter:none}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{flex-shrink:0;width:8px;height:16px;margin:0 6px 0 -2px;background:transparent var(--yoast-svg-icon-caret-right) 50% no-repeat}.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{z-index:5;display:flex;padding:16px 0;justify-content:flex-start;align-items:baseline;margin:0}.wpseo-admin-submit.wpseo-admin-submit-fixed{padding:16px;position:fixed;bottom:0;right:160px;left:281px;background-color:#fff;max-width:800px;box-shadow:0 1px 8px 1px rgba(0,0,0,.5);margin:0 16px}@media screen and (max-width:1024px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0}}@media only screen and (max-width:960px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:36px}}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0;margin:0}}.wpseo-admin-submit p.submit{padding:0;margin:0}.wpseo-admin-submit p.wpseo-message{margin:0 0 0 16px;padding:0;color:#008a00}.yoast-site-health__signature{display:flex;font-size:12px;line-height:20px;margin-top:2em;color:#707070}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-left:8px}#wpadminbar .yoast-badge,.yoast-badge{display:inline-block;padding:0 8px;border-radius:8px;font-weight:600;line-height:1.6}.yoast-badge{min-height:16px;font-size:10px}#wpadminbar .yoast-badge,.wp-submenu .yoast-badge{min-height:14px;font-size:9px}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-badge__is-link{text-decoration:none}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;color:#fff;outline:none;box-shadow:none}.switch-container .yoast-badge{vertical-align:-1em}.yoast_help+.yoast-badge{vertical-align:bottom}
|
css/dist/{admin-global-1650.css → admin-global-1660.css}
RENAMED
@@ -1 +1 @@
|
|
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 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-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 1536l91-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-192l416 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-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{display:none;position:absolute;z-index:1000000;padding:6px 8px 5px;border-radius:3px;opacity:0;color:#fff;background:rgba(0,0,0,.8);text-shadow:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;text-align:center;white-space:pre;text-decoration:none;letter-spacing:normal;text-transform:none;word-wrap:break-word;content:attr(aria-label);pointer-events:none;-webkit-font-smoothing:subpixel-antialiased}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{display:none;position:absolute;z-index:1000001;width:0;height:0;border:5px solid transparent;opacity:0;color:rgba(0,0,0,.8);content:"\00a0";pointer-events:none}@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{display:inline-block;text-decoration:none;animation-name:yoast-tooltip-appear;animation-duration:.1s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards}.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{opacity:1;animation:none}.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{top:100%;right:50%;margin-top:5px}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.yoast-tooltip-se:after{right:auto;left:50%;margin-left:-15px}.yoast-tooltip-sw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{right:50%;bottom:100%;margin-bottom:5px}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.yoast-tooltip-ne:after{right:auto;left:50%;margin-left:-15px}.yoast-tooltip-nw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(50%)}.yoast-tooltip-w:after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.yoast-tooltip-e:after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.yoast-tooltip-multiline:after{width:250px;width:max-content;max-width:250px;border-collapse:initial;white-space:pre-line;word-wrap:normal;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{right:auto;left:50%;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 (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.yoast-tooltip-w:after{margin-right:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.wpseo-premium-indicator{width:1px;height:1px;display:inline-block}#adminmenu .wpseo-premium-indicator{margin:-2px 0 -3px 2px;color:inherit}.wpseo-premium-indicator svg{height:100%;width:auto;display:none}.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{margin:0 10px 0 0;font-size:14px;font-weight:600}.wpseo-premium-popup-title{margin:1em 0!important;padding:0!important;font-size:1.3em!important;font-weight:600!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{max-width:100%;height:auto}.select2-container .select2-search--dropdown .select2-search__field{margin:0;padding:0 8px;min-height:30px}.select2-results__option,.select2-search--inline,.select2-selection__choice{margin-bottom:0}.select2-container .select2-search--inline .select2-search__field{margin-top:6px!important;line-height:inherit;min-height:0}.wpseo-admin-page .select2-container .select2-selection--single,.wpseo-metabox .select2-container .select2-selection--single{height:auto}.wpseo-admin-page .select2-container .select2-selection--single .select2-selection__arrow,.wpseo-metabox .select2-container .select2-selection--single .select2-selection__arrow{height:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.yoast-video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%}.yoast-settings{margin-bottom:2em;padding-left:220px}.yoast-settings h2{margin-bottom:0;margin-left:-220px}.yoast-settings label{display:inline-block;width:200px;padding-top:4px;padding-right:10px;margin-right:6px;margin-left:-220px;font-size:14px;line-height:1.3;font-weight:600;color:#23282d;vertical-align:top}.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea,.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{margin-top:2em;margin-bottom:.5em}.yoast-settings__textarea--medium{width:100%;max-width:600px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{vertical-align:top;position:relative;top:1px}.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{width:auto;margin-left:0;margin-right:0;padding:0;max-width:calc(100% - 25px)}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{margin-top:0;margin-bottom:10px;font-weight:400}.yoast-settings legend{font-size:14px;font-weight:600;color:#23282d}.yoast-settings .description{margin-top:0;font-size:14px}td .wpseo-score-icon{display:inline-block;width:12px;height:12px;margin-left:5px;border-radius:50%;background:#888;line-height:16px;margin-top:3px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{width:3em;padding:0}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{overflow:visible;display:inline-block;vertical-align:middle;padding:8px 0}th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{padding:8px 11px}.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{content:"";display:inline-block;width:20px;height:20px;padding:0;vertical-align:top;text-decoration:none!important;color:#444}.manage-column .yoast-linked-to:before{background:transparent url(../../images/link-out-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-linked-from:before{background:transparent url(../../images/link-in-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:transparent url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-readability:before{background:transparent 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{width:auto;padding:0;margin-right:0;margin-left:0}.yoast-settings__radio+label,.yoast .yoast-settings__radio{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{display:block;width:100%;margin-top:0;margin-bottom:0;padding:7px 10px;max-width:none;line-height:1.5;box-sizing:border-box}.screen-reader-text.wpseo-score-text{position:static!important;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}}.react-tabs__tab-panel{max-width:900px;margin:0 auto}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{margin:0 auto 1.5em;font-size:.9375rem;line-height:1.4}.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{position:relative;width:20px;height:20px;margin:0;padding:0;border:0;outline:none;color:#72777c;background:transparent;box-shadow:none;vertical-align:top;cursor:pointer}.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{position:absolute;top:0;left:0;padding:4px;content:"\f223"}.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 rgba(30,140,190,.8)}.yoast-help-panel{display:none;clear:both;max-width:30em!important;padding:0 0 1em;font-weight:400;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{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:8px 1em;font-size:16px;line-height:1.5;font-family:Arial,sans-serif;color:#000;border-radius:4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));text-decoration:none;background-color:#fec228}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{color:#000;background-color:#f2ae01}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-button-upsell:active{transform:translateY(1px);box-shadow:none;filter:none}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{flex-shrink:0;width:8px;height:16px;margin:0 -2px 0 6px;background:transparent var(--yoast-svg-icon-caret-right) 50% no-repeat}.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{z-index:5;display:flex;padding:16px 0;justify-content:flex-start;align-items:baseline;margin:0}.wpseo-admin-submit.wpseo-admin-submit-fixed{padding:16px;position:fixed;bottom:0;left:160px;right:281px;background-color:#fff;max-width:800px;box-shadow:0 1px 8px 1px rgba(0,0,0,.5);margin:0 16px}@media screen and (max-width:1024px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0}}@media only screen and (max-width:960px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:36px}}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0;margin:0}}.wpseo-admin-submit p.submit{padding:0;margin:0}.wpseo-admin-submit p.wpseo-message{margin:0 16px 0 0;padding:0;color:#008a00}.yoast-site-health__signature{display:flex;font-size:12px;line-height:20px;margin-top:2em;color:#707070}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-right:8px}
|
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 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-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 1536l91-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-192l416 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-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{display:none;position:absolute;z-index:1000000;padding:6px 8px 5px;border-radius:3px;opacity:0;color:#fff;background:rgba(0,0,0,.8);text-shadow:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;text-align:center;white-space:pre;text-decoration:none;letter-spacing:normal;text-transform:none;word-wrap:break-word;content:attr(aria-label);pointer-events:none;-webkit-font-smoothing:subpixel-antialiased}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{display:none;position:absolute;z-index:1000001;width:0;height:0;border:5px solid transparent;opacity:0;color:rgba(0,0,0,.8);content:"\00a0";pointer-events:none}@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{display:inline-block;text-decoration:none;animation-name:yoast-tooltip-appear;animation-duration:.1s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards}.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{opacity:1;animation:none}.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{top:100%;right:50%;margin-top:5px}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.yoast-tooltip-se:after{right:auto;left:50%;margin-left:-15px}.yoast-tooltip-sw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{right:50%;bottom:100%;margin-bottom:5px}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.yoast-tooltip-ne:after{right:auto;left:50%;margin-left:-15px}.yoast-tooltip-nw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(50%)}.yoast-tooltip-w:after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.yoast-tooltip-e:after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.yoast-tooltip-multiline:after{width:250px;width:max-content;max-width:250px;border-collapse:initial;white-space:pre-line;word-wrap:normal;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{right:auto;left:50%;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 (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.yoast-tooltip-w:after{margin-right:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.wpseo-premium-indicator{width:1px;height:1px;display:inline-block}#adminmenu .wpseo-premium-indicator{margin:-2px 0 -3px 2px;color:inherit}.wpseo-premium-indicator svg{height:100%;width:auto;display:none}.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{margin:0 10px 0 0;font-size:14px;font-weight:600}.wpseo-premium-popup-title{margin:1em 0!important;padding:0!important;font-size:1.3em!important;font-weight:600!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{max-width:100%;height:auto}.select2-container .select2-search--dropdown .select2-search__field{margin:0;padding:0 8px;min-height:30px}.select2-results__option,.select2-search--inline,.select2-selection__choice{margin-bottom:0}.select2-container .select2-search--inline .select2-search__field{margin-top:6px!important;line-height:inherit;min-height:0}.wpseo-admin-page .select2-container .select2-selection--single,.wpseo-metabox .select2-container .select2-selection--single{height:auto}.wpseo-admin-page .select2-container .select2-selection--single .select2-selection__arrow,.wpseo-metabox .select2-container .select2-selection--single .select2-selection__arrow{height:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.yoast-video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%}.yoast-settings{margin-bottom:2em;padding-left:220px}.yoast-settings h2{margin-bottom:0;margin-left:-220px}.yoast-settings label{display:inline-block;width:200px;padding-top:4px;padding-right:10px;margin-right:6px;margin-left:-220px;font-size:14px;line-height:1.3;font-weight:600;color:#23282d;vertical-align:top}.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea,.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{margin-top:2em;margin-bottom:.5em}.yoast-settings__textarea--medium{width:100%;max-width:600px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{vertical-align:top;position:relative;top:1px}.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{width:auto;margin-left:0;margin-right:0;padding:0;max-width:calc(100% - 25px)}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{margin-top:0;margin-bottom:10px;font-weight:400}.yoast-settings legend{font-size:14px;font-weight:600;color:#23282d}.yoast-settings .description{margin-top:0;font-size:14px}td .wpseo-score-icon{display:inline-block;width:12px;height:12px;margin-left:5px;border-radius:50%;background:#888;line-height:16px;margin-top:3px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{width:3em;padding:0}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{overflow:visible;display:inline-block;vertical-align:middle;padding:8px 0}th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{padding:8px 11px}.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{content:"";display:inline-block;width:20px;height:20px;padding:0;vertical-align:top;text-decoration:none!important;color:#444}.manage-column .yoast-linked-to:before{background:transparent url(../../images/link-out-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-linked-from:before{background:transparent url(../../images/link-in-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:transparent url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-readability:before{background:transparent 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{width:auto;padding:0;margin-right:0;margin-left:0}.yoast-settings__radio+label,.yoast .yoast-settings__radio{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{display:block;width:100%;margin-top:0;margin-bottom:0;padding:7px 10px;max-width:none;line-height:1.5;box-sizing:border-box}.screen-reader-text.wpseo-score-text{position:static!important;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}}.react-tabs__tab-panel{max-width:900px;margin:0 auto}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{margin:0 auto 1.5em;font-size:.9375rem;line-height:1.4}.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{position:relative;width:20px;height:20px;margin:0;padding:0;border:0;outline:none;color:#72777c;background:transparent;box-shadow:none;vertical-align:top;cursor:pointer}.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{position:absolute;top:0;left:0;padding:4px;content:"\f223"}.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 rgba(30,140,190,.8)}.yoast-help-panel{display:none;clear:both;max-width:30em!important;padding:0 0 1em;font-weight:400;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{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:8px 1em;font-size:16px;line-height:1.5;font-family:Arial,sans-serif;color:#000;border-radius:4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));text-decoration:none;background-color:#fec228}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{color:#000;background-color:#f2ae01}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-button-upsell:active{transform:translateY(1px);box-shadow:none;filter:none}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{flex-shrink:0;width:8px;height:16px;margin:0 -2px 0 6px;background:transparent var(--yoast-svg-icon-caret-right) 50% no-repeat}.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{z-index:5;display:flex;padding:16px 0;justify-content:flex-start;align-items:baseline;margin:0}.wpseo-admin-submit.wpseo-admin-submit-fixed{padding:16px;position:fixed;bottom:0;left:160px;right:281px;background-color:#fff;max-width:800px;box-shadow:0 1px 8px 1px rgba(0,0,0,.5);margin:0 16px}@media screen and (max-width:1024px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0}}@media only screen and (max-width:960px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:36px}}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0;margin:0}}.wpseo-admin-submit p.submit{padding:0;margin:0}.wpseo-admin-submit p.wpseo-message{margin:0 16px 0 0;padding:0;color:#008a00}.yoast-site-health__signature{display:flex;font-size:12px;line-height:20px;margin-top:2em;color:#707070}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-right:8px}#wpadminbar .yoast-badge,.yoast-badge{display:inline-block;padding:0 8px;border-radius:8px;font-weight:600;line-height:1.6}.yoast-badge{min-height:16px;font-size:10px}#wpadminbar .yoast-badge,.wp-submenu .yoast-badge{min-height:14px;font-size:9px}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-badge__is-link{text-decoration:none}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;color:#fff;outline:none;box-shadow:none}.switch-container .yoast-badge{vertical-align:-1em}.yoast_help+.yoast-badge{vertical-align:bottom}
|
css/dist/{adminbar-1650-rtl.css → adminbar-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{adminbar-1650.css → adminbar-1660.css}
RENAMED
File without changes
|
css/dist/{alerts-1650-rtl.css → alerts-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{alerts-1650.css → alerts-1660.css}
RENAMED
File without changes
|
css/dist/badge-1650-rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.yoast-badge{display:inline-block;min-height:16px;padding:0 8px;border-radius:8px;font-weight:600;font-size:10px;line-height:1.6}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-badge__is-link{text-decoration:none}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;color:#fff;outline:none;box-shadow:none}.switch-container .yoast-badge{vertical-align:-1em}.yoast_help+.yoast-badge{vertical-align:bottom}
|
|
css/dist/badge-1650.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.yoast-badge{display:inline-block;min-height:16px;padding:0 8px;border-radius:8px;font-weight:600;font-size:10px;line-height:1.6}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-badge__is-link{text-decoration:none}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;color:#fff;outline:none;box-shadow:none}.switch-container .yoast-badge{vertical-align:-1em}.yoast_help+.yoast-badge{vertical-align:bottom}
|
|
css/dist/{dashboard-1650-rtl.css → dashboard-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{dashboard-1650.css → dashboard-1660.css}
RENAMED
File without changes
|
css/dist/{edit-page-1650-rtl.css → edit-page-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{edit-page-1650.css → edit-page-1660.css}
RENAMED
File without changes
|
css/dist/{elementor-1650-rtl.css → elementor-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{elementor-1650.css → elementor-1660.css}
RENAMED
File without changes
|
css/dist/{featured-image-1650-rtl.css → featured-image-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{featured-image-1650.css → featured-image-1660.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1650-rtl.css → filter-explanation-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1650.css → filter-explanation-1660.css}
RENAMED
File without changes
|
css/dist/{icons-1650-rtl.css → icons-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{icons-1650.css → icons-1660.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1650-rtl.css → inside-editor-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1650.css → inside-editor-1660.css}
RENAMED
File without changes
|
css/dist/{metabox-1650-rtl.css → metabox-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-1650.css → metabox-1660.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1650-rtl.css → metabox-primary-category-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1650.css → metabox-primary-category-1660.css}
RENAMED
File without changes
|
css/dist/{modal-1650-rtl.css → modal-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{modal-1650.css → modal-1660.css}
RENAMED
File without changes
|
css/dist/{monorepo-1650-rtl.css → monorepo-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{monorepo-1650.css → monorepo-1660.css}
RENAMED
File without changes
|
css/dist/{notifications-1650-rtl.css → notifications-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{notifications-1650.css → notifications-1660.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1650-rtl.css → schema-blocks-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1650.css → schema-blocks-1660.css}
RENAMED
File without changes
|
css/dist/{score_icon-1650-rtl.css → score_icon-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{score_icon-1650.css → score_icon-1660.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1650-rtl.css → search-appearance-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1650.css → search-appearance-1660.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1650-rtl.css → structured-data-blocks-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1650.css → structured-data-blocks-1660.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1650-rtl.css → toggle-switch-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1650.css → toggle-switch-1660.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1650-rtl.css → wpseo-dismissible-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1650.css → wpseo-dismissible-1660.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1650-rtl.css → yoast-components-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1650.css → yoast-components-1660.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1650-rtl.css → yoast-extensions-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1650.css → yoast-extensions-1660.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1650-rtl.css → yst_plugin_tools-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1650.css → yst_plugin_tools-1660.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1650-rtl.css → yst_seo_score-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1650.css → yst_seo_score-1660.css}
RENAMED
File without changes
|
inc/class-wpseo-utils.php
CHANGED
@@ -6,6 +6,8 @@
|
|
6 |
* @since 1.8.0
|
7 |
*/
|
8 |
|
|
|
|
|
9 |
/**
|
10 |
* Group of utility methods for use by WPSEO.
|
11 |
* All methods are static, this is just a sort of namespacing class wrapper.
|
@@ -47,7 +49,7 @@ class WPSEO_Utils {
|
|
47 |
}
|
48 |
|
49 |
/**
|
50 |
-
* Check if the web server is running on Apache.
|
51 |
*
|
52 |
* @since 1.8.0
|
53 |
*
|
@@ -60,7 +62,7 @@ class WPSEO_Utils {
|
|
60 |
|
61 |
$software = sanitize_text_field( wp_unslash( $_SERVER['SERVER_SOFTWARE'] ) );
|
62 |
|
63 |
-
return stripos( $software, 'apache' ) !== false;
|
64 |
}
|
65 |
|
66 |
/**
|
@@ -1148,14 +1150,13 @@ class WPSEO_Utils {
|
|
1148 |
* @return string[] The array of enabled features.
|
1149 |
*/
|
1150 |
public static function retrieve_enabled_features() {
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
$
|
1157 |
-
|
1158 |
-
return $enabled_features;
|
1159 |
}
|
1160 |
|
1161 |
/* ********************* DEPRECATED METHODS ********************* */
|
6 |
* @since 1.8.0
|
7 |
*/
|
8 |
|
9 |
+
use Yoast\WP\SEO\Integrations\Feature_Flag_Integration;
|
10 |
+
|
11 |
/**
|
12 |
* Group of utility methods for use by WPSEO.
|
13 |
* All methods are static, this is just a sort of namespacing class wrapper.
|
49 |
}
|
50 |
|
51 |
/**
|
52 |
+
* Check if the web server is running on Apache or compatible (LiteSpeed).
|
53 |
*
|
54 |
* @since 1.8.0
|
55 |
*
|
62 |
|
63 |
$software = sanitize_text_field( wp_unslash( $_SERVER['SERVER_SOFTWARE'] ) );
|
64 |
|
65 |
+
return stripos( $software, 'apache' ) !== false || stripos( $software, 'litespeed' ) !== false;
|
66 |
}
|
67 |
|
68 |
/**
|
1150 |
* @return string[] The array of enabled features.
|
1151 |
*/
|
1152 |
public static function retrieve_enabled_features() {
|
1153 |
+
/**
|
1154 |
+
* The feature flag integration.
|
1155 |
+
*
|
1156 |
+
* @var Feature_Flag_Integration $feature_flag_integration;
|
1157 |
+
*/
|
1158 |
+
$feature_flag_integration = YoastSEO()->classes->get( Feature_Flag_Integration::class );
|
1159 |
+
return $feature_flag_integration->get_enabled_features();
|
|
|
1160 |
}
|
1161 |
|
1162 |
/* ********************* DEPRECATED METHODS ********************* */
|
js/dist/addon-installation-1650.js
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=353)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},100:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},101:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}},110:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o,r,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),o||(o=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-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 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.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 00-56.45-81.28z"})),r||(r=a.createElement("path",{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 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},12:function(e,t){e.exports=window.yoast.styledComponents},15:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},16:function(e,t){e.exports=window.React},18:function(e,t){e.exports=window.wp.components},27:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n.apply(this,arguments)}e.exports=n},3:function(e,t){e.exports=window.wp.i18n},353:function(e,t,n){"use strict";n.r(t);var o,r=n(0),a=n(39),i=n.n(a),s=n(15),c=n.n(s),l=n(1),u=n.n(l),d=n(7),p=n(3),f=n(12),b=n.n(f),m=n(53),y=n(110),w=b.a.div(o||(o=c()(["\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\tgap: 8px;\n"]))),O=function(e){var t=Object(r.useState)(!0),n=i()(t,2),o=n[0],a=n[1];function s(){a(!1)}var c,l=Object(p.sprintf)(
|
2 |
-
/* translators: %s expands to Yoast */
|
3 |
-
Object(p.__)("%s SEO installation","wordpress-seo"),"Yoast"),u=Object(p.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(u=e.addons[0]),1!==e.addons.length&&(c=Object(r.createElement)("ul",{className:"ul-disc"},e.addons.map((function(e,t){return Object(r.createElement)("li",{key:"addon-"+t},e)})))),o?Object(r.createElement)(m.a,{title:l,onRequestClose:s,icon:Object(r.createElement)(y.a,null),isDismissible:!1},Object(r.createElement)("p",null,Object(p.sprintf)(
|
4 |
-
/* translators: %s expands to Yoast SEO Premium */
|
5 |
-
Object(p.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),u)),c,Object(r.createElement)(w,null,Object(r.createElement)(d.Button,{onClick:s,id:"close-addon-installation-dialog"},Object(p.__)("Cancel","wordpress-seo")),Object(r.createElement)(d.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"},Object(p.__)("Install and activate","wordpress-seo")))):null};O.propTypes={nonce:u.a.string.isRequired,addons:u.a.array},O.defaultProps={addons:[]};var j=O,v=document.createElement("div");v.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(v),Object(r.render)(Object(r.createElement)(j,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),v)},39:function(e,t,n){var o=n(98),r=n(99),a=n(100);e.exports=function(e,t){return o(e)||r(e,t)||a()}},46:function(e,t,n){var o=n(101);e.exports=function(e,t){if(null==e)return{};var n,r,a=o(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},53:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var o=n(27),r=n.n(o),a=n(46),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,o=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=o?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,r()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},7:function(e,t){e.exports=window.yoast.componentsNew},98:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},99:function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,o=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){o=!0,r=e}finally{try{_n||null==i.return||i.return()}finally{if(o)throw r}}return n}}}});
|
|
|
|
|
|
|
|
|
|
js/dist/addon-installation-1660.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=354)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},100:function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,o=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){o=!0,r=e}finally{try{_n||null==i.return||i.return()}finally{if(o)throw r}}return n}}},101:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},102:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}},111:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o,r,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),o||(o=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-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 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.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 00-56.45-81.28z"})),r||(r=a.createElement("path",{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 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},12:function(e,t){e.exports=window.yoast.styledComponents},15:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},16:function(e,t){e.exports=window.React},18:function(e,t){e.exports=window.wp.components},27:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n.apply(this,arguments)}e.exports=n},3:function(e,t){e.exports=window.wp.i18n},354:function(e,t,n){"use strict";n.r(t);var o,r=n(0),a=n(39),i=n.n(a),s=n(15),c=n.n(s),l=n(1),u=n.n(l),d=n(7),p=n(3),f=n(12),b=n.n(f),m=n(53),y=n(111),w=b.a.div(o||(o=c()(["\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\tgap: 8px;\n"]))),O=function(e){var t=Object(r.useState)(!0),n=i()(t,2),o=n[0],a=n[1];function s(){a(!1)}var c,l=Object(p.sprintf)(
|
2 |
+
/* translators: %s expands to Yoast */
|
3 |
+
Object(p.__)("%s SEO installation","wordpress-seo"),"Yoast"),u=Object(p.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(u=e.addons[0]),1!==e.addons.length&&(c=Object(r.createElement)("ul",{className:"ul-disc"},e.addons.map((function(e,t){return Object(r.createElement)("li",{key:"addon-"+t},e)})))),o?Object(r.createElement)(m.a,{title:l,onRequestClose:s,icon:Object(r.createElement)(y.a,null),isDismissible:!1},Object(r.createElement)("p",null,Object(p.sprintf)(
|
4 |
+
/* translators: %s expands to Yoast SEO Premium */
|
5 |
+
Object(p.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),u)),c,Object(r.createElement)(w,null,Object(r.createElement)(d.Button,{onClick:s,id:"close-addon-installation-dialog"},Object(p.__)("Cancel","wordpress-seo")),Object(r.createElement)(d.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"},Object(p.__)("Install and activate","wordpress-seo")))):null};O.propTypes={nonce:u.a.string.isRequired,addons:u.a.array},O.defaultProps={addons:[]};var j=O,v=document.createElement("div");v.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(v),Object(r.render)(Object(r.createElement)(j,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),v)},39:function(e,t,n){var o=n(99),r=n(100),a=n(101);e.exports=function(e,t){return o(e)||r(e,t)||a()}},46:function(e,t,n){var o=n(102);e.exports=function(e,t){if(null==e)return{};var n,r,a=o(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},53:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var o=n(27),r=n.n(o),a=n(46),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,o=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=o?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,r()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},7:function(e,t){e.exports=window.yoast.componentsNew},99:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}}});
|
js/dist/{admin-global-1650.js → admin-global-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var o={};function n(a){if(o[a])return o[a].exports;var e=o[a]={i:a,l:!1,exports:{}};return t[a].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=t,n.c=o,n.d=function(t,o,a){n.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,o){if(1&o&&(t=n(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)n.d(a,e,function(o){return t[o]}.bind(null,e));return a},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},n.p="",n(n.s=
|
1 |
+
!function(t){var o={};function n(a){if(o[a])return o[a].exports;var e=o[a]={i:a,l:!1,exports:{}};return t[a].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=t,n.c=o,n.d=function(t,o,a){n.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,o){if(1&o&&(t=n(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)n.d(a,e,function(o){return t[o]}.bind(null,e));return a},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},n.p="",n(n.s=256)}({21:function(t,o){t.exports=window.jQuery},256:function(t,o,n){"use strict";n.r(o);var a=n(21),e=n.n(a);!function(t){function o(t,o,n){e.a.post(ajaxurl,{action:"wpseo_set_ignore",option:t,_wpnonce:n},(function(n){n&&(e()("#"+o).hide(),e()("#hidden_ignore_"+t).val("ignore"))}))}function n(){t("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),t(".yoast-issue-added").fadeOut(200)}function a(o,n){if(t(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==n.html){n.html&&(o.closest(".yoast-container").html(n.html),s());var a=t("#wp-admin-bar-wpseo-menu"),e=a.find(".yoast-issue-counter");e.length||(a.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),e=a.find(".yoast-issue-counter")),e.html(n.total),0===n.total?e.hide():e.show(),t("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+n.total),t("#toplevel_page_wpseo_dashboard .plugin-count").html(n.total)}}function s(){var o=t(".yoast-notification-holder");o.on("click",".dismiss",(function(){var o=t(this),n=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),t.post(ajaxurl,{action:"yoast_dismiss_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:o.data("json")||n.data("json")},a.bind(this,n),"json")})),o.on("click",".restore",(function(){var o=t(this),n=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),t.post(ajaxurl,{action:"yoast_restore_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:n.data("json")},a.bind(this,n),"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 n=t("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(o),a=t("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(o);n.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),o.data("scrollContainer",a),o.data("scrollHint",n),o.appendTo(a.find(".yoast-table-scrollable__inner")),i(o)}}))}e()(document).ready((function(){e()(".yoast-dismissible").on("click",".yoast-notice-dismiss",(function(){var t=e()(this).parent();return e.a.post(ajaxurl,{action:t.attr("id").replace(/-/g,"_"),_wpnonce:t.data("nonce"),data:t.data("json")}),e.a.post(ajaxurl,{action:"yoast_dismiss_notification",notification:t.attr("id"),nonce:t.data("nonce"),data:t.data("json")}),t.fadeTo(100,0,(function(){t.slideUp(100,(function(){t.remove()}))})),!1})),e()(".yoast-help-button").on("click",(function(){var t=e()(this),o=e()("#"+t.attr("aria-controls")),n=o.is(":visible");e()(o).slideToggle(200,(function(){t.attr("aria-expanded",!n)}))})),e()("#robotsmessage button").on("click",(function(){o("search_engines_discouraged_notice","robotsmessage",e()(this).data("nonce"))}))})),window.wpseoSetIgnore=o,window.wpseoDismissLink=function(t){return e()('<a href="'+t+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},t(window).on("wp-window-resized orientationchange",(function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){i(t(this))}))})),t(window).on({"Yoast:YoastTabsMounted":function(){setTimeout((function(){l()}),100)},"Yoast:YoastTabsSelected":function(){setTimeout((function(){l()}),100)}}),t(document).ready((function(){t(".yoast-issue-added").on("mouseenter mouseleave",(function(t){t.stopPropagation(),n()})).fadeIn(),t("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",n),setTimeout(n,3e3),s(),function(){var t=e()(".wpseo-js-premium-indicator"),o=t.find("svg");if(t.hasClass("wpseo-premium-indicator--no")){var n=o.find("path"),a=t.css("backgroundColor");n.css("fill",a)}o.css("display","block"),t.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),l()}))}(e.a)}});
|
js/dist/{analysis-worker-1650.js → analysis-worker-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=
|
1 |
+
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=257)}({257:function(e,n){self.window=self,self.onmessage=function(e){var n=e.data;if(n&&n.dependencies){for(var t in n.dependencies)Object.prototype.hasOwnProperty.call(n.dependencies,t)&&(self.importScripts(n.dependencies[t]),"lodash"===t&&(self.lodash=_.noConflict()));var r=self.yoast.Researcher.default;new self.yoast.analysis.AnalysisWebWorker(self,new r).register()}}}});
|
js/dist/{api-client-1650.js → api-client-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=258)}({258:function(e,t){!function(e,t){window.wpseoApi={get:function(e,t,n,o){this.request("GET",e,t,n,o)},post:function(e,t,n,o){this.request("POST",e,t,n,o)},put:function(e,t,n,o){this.request("PUT",e,t,n,o)},patch:function(e,t,n,o){this.request("PATCH",e,t,n,o)},delete:function(e,t,n,o){this.request("DELETE",e,t,n,o)},request:function(n,o,r,u,i){e.isFunction(r)&&void 0===i&&(i=u,u=r,r={}),"POST"!==n&&"GET"!==n&&(r._method=n,n="POST"),e.ajax({url:t.root+"yoast/v1/"+o,method:n,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t.nonce)},data:r}).done(u).fail(i)}}}(jQuery,wpApiSettings)}});
|
js/dist/{block-editor-1650.js → block-editor-1660.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=344)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:o,mode:e}}function p(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:s,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return l})),n.d(t,"runAnalysis",(function(){return u})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return d.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return d.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return d.b})),n.d(t,"loadCornerstoneContent",(function(){return d.d})),n.d(t,"setCornerstoneContent",(function(){return d.e})),n.d(t,"toggleCornerstoneContent",(function(){return d.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return p})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return b})),n.d(t,"setEditorDataContent",(function(){return h})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return g})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return v})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return E})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return w})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return k.a})),n.d(t,"setMarkerStatus",(function(){return k.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return S.a})),n.d(t,"setMarkerPauseStatus",(function(){return S.b})),n.d(t,"DISMISS_ALERT",(function(){return R.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return R.b})),n.d(t,"dismissAlert",(function(){return R.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return A.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return A.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return A.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return A.a})),n.d(t,"setPageType",(function(){return A.h})),n.d(t,"setArticleType",(function(){return A.g})),n.d(t,"getSchemaPageData",(function(){return A.f})),n.d(t,"getSchemaArticleData",(function(){return A.e})),n.d(t,"MODAL_DISMISS",(function(){return C})),n.d(t,"MODAL_OPEN",(function(){return x})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return I})),n.d(t,"setSEMrushDismissModal",(function(){return D})),n.d(t,"setSEMrushOpenModal",(function(){return N})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return L})),n.d(t,"CHANGE_COUNTRY",(function(){return M.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return M.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return M.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return M.f})),n.d(t,"NEW_REQUEST",(function(){return M.b})),n.d(t,"NO_DATA_FOUND",(function(){return M.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return M.d})),n.d(t,"setSEMrushNewRequest",(function(){return M.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return M.m})),n.d(t,"setSEMrushRequestFailed",(function(){return M.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return M.n})),n.d(t,"setSEMrushChangeCountry",(function(){return M.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return M.k})),n.d(t,"setSEMrushLoginStatus",(function(){return M.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return H.a})),n.d(t,"setWarningMessage",(function(){return H.b})),n.d(t,"setOverallReadabilityScore",(function(){return W})),n.d(t,"setOverallSeoScore",(function(){return G})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(73),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function l(e){return{type:s,data:e}}function u(){return{type:c,timestamp:Date.now()}}var d=n(59),p="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",b="SET_EDITOR_DATA_IMAGE_URL";function h(e){return{type:p,content:e}}function y(e){return{type:f,title:e}}function g(e){return{type:m,excerpt:e}}function O(e){return{type:b,imageUrl:e}}var v="OPEN_MODAL",E="CLOSE_MODAL";function j(e){return{type:v,modalKey:e}}function w(){return{type:E}}var _=n(67),T=n(60),k=n(45),S=n(74),R=n(69),P=n(75),A=n(56),C="MODAL_DISMISS",x="MODAL_OPEN",I="MODAL_OPEN_NO_KEYPHRASE";function D(){return{type:C}}function N(e){return{type:x,location:e}}function L(){return{type:I}}var M=n(41),F=n(43),q=n(76),B=n(17),U=n(48),K=n(49),H=n(77),W=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},G=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(86),o=n(87),a=n(88);e.exports=function(e){return r(e)||o(e)||a()}},,function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(129)),i=s(n(132));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,i.default)(t);try{return function e(t,n){var i,s,l,u,d,p,f,m,b=[],h={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!n.hasOwnProperty(d.value)||void 0===n[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(n[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+c);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){i=n[d.value],l=p;break}b.push(n[d.value])}else b.push(d.value);return i&&(u=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(l,t),f=e(t.slice(l+1,u),n),s=o.default.cloneElement(i,{},f),b.push(s),u<t.length-1&&(m=e(t.slice(u+1),n),b=b.concat(m))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,a.default)(h))}(l,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(98),o=n(99),a=n(100);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return v})),n.d(t,"mapCustomFields",(function(){return E})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return w}));var r=n(10),o=n.n(r),a=n(2),i=n(78),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=m(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function v(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(u({},e),"custom_taxonomies")):e}function E(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=g(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(u({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var w=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"m",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"i",(function(){return h}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",l="SET_LOGIN_STATUS";function u(e,t){return{type:s,countryCode:e,keyphrase:t}}function d(e){return{type:o,response:e}}function p(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function b(){return{type:c}}function h(e){return{type:l,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return g})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",l="SET_NO_FOLLOW",u="SET_ADVANCED",d="SET_BREADCRUMBS_TITLE",p="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},b=function(e){return s.noFollow=e,{type:l,value:e}},h=function(e){return s.advanced=e.join(","),{type:u,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:d,value:e}},g=function(e){return s.canonical=e,{type:p,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(101);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),l="SET_TWITTER_TITLE",u="SET_TWITTER_DESCRIPTION",d="SET_TWITTER_IMAGE",p="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:l,title:e}},b=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:u,description:e}},h=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},g=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),l="SET_FACEBOOK_TITLE",u="SET_FACEBOOK_DESCRIPTION",d="SET_FACEBOOK_IMAGE",p="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:l,title:e}},b=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:u,description:e}},h=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},g=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(7),s=n(1),c=n.n(s),l=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),l=n(7),u=n(12),d=n.n(u)()(l.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),l=n.n(c),u=Object(s.makeOutboundLink)(l.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=u},,function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},l=function(e){return r.a.articleType=e,{type:a,articleType:e}},u=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},d=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},l=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),l=n(5),u=n.n(l),d=n(6),p=n.n(d),f=n(11),m=n.n(f),b=n(13),h=n.n(b),y=n(14),g=n.n(y),O=n(8),v=n.n(O),E=n(0),j=n(1),w=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=w.a.shape({value:w.a.string.isRequired,onChange:w.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(r);if(a){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return p()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(E.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:w.a.node}}}]),l}(E.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return d}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",l="LOAD_ESTIMATED_READING_TIME";function u(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function d(){return{type:l,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),l=n(7),u=n(9),d=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),p=c()(l.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(11),u=n.n(l),d=n(13),p=n.n(d),f=n(14),m=n.n(f),b=n(8),h=n.n(b),y=n(0),g=n(1),O=n.n(g),v=n(94),E=n(23),j=n(35);var w=function(e){p()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new E.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);w.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},w.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=w;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(91);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(11),u=n.n(l),d=n(13),p=n.n(d),f=n(14),m=n.n(f),b=n(8),h=n.n(b),y=n(0),g=n(3),O=n(7),v=n(1),E=n.n(v),j=n(62);var w=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(O.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
@@ -10,7 +10,7 @@ Object(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Obje
|
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
Object(T.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(T.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
-
Object(T.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(P,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};A.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=A,x=n(148),I=n(58);var D=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(C,{socialMediumName:a}),Object(h.createElement)(x.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:u,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),o}(h.Component);D.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},D.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=D},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=(n(178),n(66)),s=n(4);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",d=[],p={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},f={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=d.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),b())}function b(){Object(a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function h(){return Object(s.select)("core/editor")&&Object(a.isFunction)(Object(s.select)("core/editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(a.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=f[t]||p;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,o=t.attributes,s=o[r];if(e.filter&&!e.filter(o))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(a.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,a))>-1;)r.push(o),a=o+t.length;return r}(e,n);if(0===o.length)return[];var a=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return a.forEach((function(e){o.forEach((function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/editor").getBlocks();O(Object(a.flatMap)(n,(function(e){return Object(a.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),b()}}function E(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var o=r.marks;O(Object(a.flatMap)(y(e.name),(function(t){return g(t,e,o)}))),b()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-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 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.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 00-56.45-81.28z"})),o||(o=a.createElement("path",{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 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),l=n(12),u=n.n(l),d=n(7),p=n(9),f=u()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},,,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),l=n(2),u=n(7),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
@@ -48,7 +48,7 @@ Object(j.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo")
|
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(j.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(v.createElement)(z,{infoParagraphs:[r,o],benefits:n,upsellButtonText:Object(j.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
-
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(j.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:k.a.string.isRequired,buyLink:k.a.string.isRequired};var te,ne=ee,re=n(39),oe=n.n(re),ae=n(53),ie=R.a.button(te||(te=O()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),se={open:Object(j.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(j.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(v.useState)(!1),n=oe()(t,2),r=n[0],o=n[1],a=Object.assign({},se,e.labels),i=Object(v.useCallback)((function(){return o(!1)}),[]),s=Object(v.useCallback)((function(){return o(!0)}),[]);return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(ie,{type:"button",onClick:s,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(v.createElement)(w.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),a.open),r&&Object(v.createElement)(ae.a,{onRequestClose:i,className:e.className,title:a.heading},e.children))};ce.propTypes={openButtonIcon:k.a.string,labels:k.a.shape({open:k.a.string,modalAriaLabel:k.a.string.isRequired,heading:k.a.string,closeIconButton:k.a.string,closeButton:k.a.string}).isRequired,classes:k.a.shape({openButton:k.a.string,closeIconButton:k.a.string,closeButton:k.a.string}),className:k.a.string,children:k.a.any.isRequired},ce.defaultProps={className:ae.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
@@ -56,11 +56,11 @@ Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["
|
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
-
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(v.createElement)(le,t,Object(v.createElement)(K.a,null,Object(v.createElement)(K.b,{icon:w.YoastSeoIcon}),Object(v.createElement)("h2",null,Object(j.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(v.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=U.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=de.a),Object(v.createElement)(r,{prefixIcon:{icon:"plus",color:_.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:_.colors.$color_grey_medium_dark},title:Object(j.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(v.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(v.createElement)(q,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(v.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(j.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(v.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?U.a:de.a;return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(r,{title:Object(j.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(v.createElement)(fe,{location:n}),e.props.shouldUpsell&&Object(v.createElement)(v.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(v.createElement)(ge,null,Object(j.__)("Analysis results","wordpress-seo")),Object(v.createElement)(A.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),o}(v.Component);Oe.propTypes={results:k.a.array,marksButtonStatus:k.a.string,keyword:k.a.string,shouldUpsell:k.a.bool,shouldUpsellWordFormRecognition:k.a.bool,overallScore:k.a.number},Oe.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(E.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,o=n.getMarksButtonStatus,a=n.getResultsForKeyword,i=r();return ye(ye({},a(i)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:i})}))(Oe)},,function(e,t,n){"use strict";var r,o=n(19),a=n(4),i=n(0),s=n(3),c=n(7),l=n(9),u=n(1),d=n.n(u),p=n(5),f=n.n(p),m=n(6),b=n.n(m),h=n(13),y=n.n(h),g=n(14),O=n.n(g),v=n(8),E=n.n(v),j=n(15),w=n.n(j),_=n(12);var T=n.n(_).a.div(r||(r=w()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),k=function(e){y()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=E()(t);if(n){var o=E()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return O()(this,e)});function o(){return f()(this,o),r.apply(this,arguments)}return b()(o,[{key:"render",value:function(){return Object(i.createElement)(T,null,Object(i.createElement)(c.Toggle,{id:this.props.id,labelText:Object(s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),o}(i.Component);k.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},k.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var S=k,R=n(51),P=n(50),A=Object(l.makeOutboundLink)();function C(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,o=e.location,a="metabox"===o?R.a:P.a;return Object(i.createElement)(a,{id:Object(l.join)(["yoast-cornerstone-collapsible",o]),title:Object(s.__)("Cornerstone content","wordpress-seo")},Object(i.createElement)(c.HelpText,null,Object(s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(i.createElement)(A,{href:r},Object(s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(i.createElement)(S,{id:Object(l.join)(["yoast-cornerstone",o]),isEnabled:t,onToggle:n}))}C.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},C.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var x=n(57);t.a=Object(o.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(x.a)()])(C)},function(e,t,n){"use strict";var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=n(11),c=n.n(s),l=n(13),u=n.n(l),d=n(14),p=n.n(d),f=n(8),m=n.n(f),b=n(15),h=n.n(b),y=n(0),g=n(18),O=n(19),v=n(4),E=n(3),j=n(1),w=n.n(j),_=n(12),T=n.n(_),k=n(22),S=n(47),R=n.n(S),P=n(26),A=n.n(P),C=n(64),x=n.n(C),I=n(7),D=n(68),N=n(53),L=n(110),M=n(91);var F=function(e){u()(l,e);var t,n,r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m()(r);if(a){var n=m()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p()(this,e)});function l(e){var t;return o()(this,l),(t=s.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return i()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(M.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=R()(A.a.mark((function e(t){var n,r;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=R()(A.a.mark((function e(t){var n,r,o;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,x()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(o=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(o.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,o=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(I.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(E.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(N.a,{title:Object(E.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(L.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(D.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(I.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(E.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(E.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);F.propTypes={keyphrase:w.a.string,location:w.a.string,whichModalOpen:w.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:w.a.bool,onOpen:w.a.func.isRequired,onOpenWithNoKeyphrase:w.a.func.isRequired,onClose:w.a.func.isRequired,onAuthentication:w.a.func.isRequired},F.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var q,B=F,U=Object(O.compose)([Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(v.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,o=t.setSEMrushDismissModal,a=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){o()},onAuthentication:function(e){a(e)}}}))])(B),K=n(28),H=n(54);var W=T.a.div(q||(q=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),G=function(e){u()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return i()(a,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(E.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(E.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(E.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(K.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(W,{location:n},Object(y.createElement)(k.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(E.__)("Focus keyphrase","wordpress-seo"),helpLink:a.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(U,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(E.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),a}(y.Component);G.propTypes={keyword:w.a.string,onFocusKeywordChange:w.a.func.isRequired,onFocusKeyword:w.a.func.isRequired,onBlurKeyword:w.a.func.isRequired,isSEMrushIntegrationActive:w.a.bool,displayNoKeyphraseMessage:w.a.bool},G.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(O.compose)([Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(v.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(G)},function(e,t,n){"use strict";var r,o,a,i=n(10),s=n.n(i),c=n(5),l=n.n(c),u=n(6),d=n.n(u),p=n(13),f=n.n(p),m=n(14),b=n.n(m),h=n(8),y=n.n(h),g=n(15),O=n.n(g),v=n(0),E=n(4),j=n(1),w=n.n(j),_=n(12),T=n.n(_),k=n(3),S=n(2),R=n(95),P=n(81),A=n(50),C=n(42),x=n(35),I=n(28),D=n(54),N=n(36);function L(e){var t=e.target,n=e.children;return Object(v.createElement)(N.a,{target:t},n)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}L.propTypes={target:w.a.string.isRequired,children:w.a.node.isRequired};var q=T.a.span(r||(r=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=T.a.div(o||(o=O()(["\n\tpadding: 16px;\n"]))),U=T()(D.a)(a||(a=O()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),K=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return b()(this,e)});function o(){return l()(this,o),r.apply(this,arguments)}return d()(o,[{key:"renderResults",value:function(){return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(q,null,Object(k.__)("Analysis results","wordpress-seo"),Object(v.createElement)(U,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(v.createElement)("span",{className:"screen-reader-text"},Object(k.__)("Learn more about the readability analysis","wordpress-seo")))),Object(v.createElement)(P.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(C.a)(this.props.overallScore);return Object(S.isNil)(this.props.overallScore)&&(t.className="loading"),Object(v.createElement)(I.LocationConsumer,null,(function(n){return"sidebar"===n?Object(v.createElement)(A.a,{title:Object(k.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(x.getIconForScore)(t.className),prefixIconCollapsed:Object(x.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(v.createElement)(L,{target:"wpseo-metabox-readability-root"},Object(v.createElement)(B,null,Object(v.createElement)(R.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),o}(v.Component);K.propTypes={results:w.a.array.isRequired,marksButtonStatus:w.a.string.isRequired,overallScore:w.a.number},K.defaultProps={overallScore:null},t.a=Object(E.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return F(F({},n()),{},{marksButtonStatus:r()})}))(K)},function(e,t,n){"use strict";var r,o=n(10),a=n.n(o),i=n(0),s=n(19),c=n(4),l=n(3),u=n(1),d=n.n(u),p=n(30),f=n.n(p),m=n(15),b=n.n(m),h=n(7),y=n(9),g=n(37),O=n.n(g),v=n(12),E=n.n(v),j=n(84),w=E.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),_=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
-
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
-
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
@@ -68,16 +68,16 @@ Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlur
|
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};p.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},p.defaultProps={isPrivateBlog:!1};var f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
-
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,E=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:E},w={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},k={canonical:i,onCanonicalChange:d};return g?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,w),O.isPost&&Object(a.createElement)(m,_),!v&&Object(a.createElement)(b,T),Object(a.createElement)(h,k))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,d=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(93),i=n(130),s=n(131),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,f,m=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function g(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var u=h.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(a,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+l(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var b,h=m.call(t),y=0;!(b=h.next()).done;)d+=e(s=b.value,p+l(s,y++),r,a);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return d}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=h).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(93);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(97),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(97),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),o=n(7);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(o.Warning)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(27),i=n.n(a),s=n(0),c=n(19),l=n(4),u=n(3),d=n(146),p=n(28),f=n(111),m=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getFocusKeyphrase,a=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,d=t.getSnippetEditorPreviewImageUrl,p=t.getSnippetEditorWordsToHighlight,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:o(),mobileImageSrc:d(),mode:u(),recommendedReplacementVariables:a(),replacementVariables:f,shoppingData:s(),wordsToHighlight:p()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(o()({},e,t))}},onChangeAnalysisData:a}}))])((function(e){return Object(s.createElement)(p.LocationConsumer,null,(function(t){return Object(s.createElement)(f.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(d.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(147),c=n(20),l=n(57),u=n(89),d=function(e){Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,d=t.getSeoTitle,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,O=t.getSeoTitleTemplate,v=t.getSeoTitleTemplateNoFallback,E=t.getSocialTitleTemplate,j=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,_=t.getReplacedExcerpt,T=Object(a.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),k=Object(a.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:o(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:w()||l()||u()||j()||_()||k,title:r(),titlePreviewFallback:E()||s()||d()||v()||O()||T,imageWarnings:p(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:T,descriptionInputPlaceholder:k,socialMediumName:"Twitter"}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(l.a)()])(s.a)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),j=Object(a.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:s(),imageFallbackUrl:l(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:O()||r()||g()||v()||j,title:o(),titlePreviewFallback:y()||i()||h()||b()||E,imageWarnings:u(),authorName:m(),siteUrl:f(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:E,descriptionInputPlaceholder:j,socialMediumName:"Facebook"}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(l.a)()])(s.a)},,,,,,function(e,t){e.exports=window.wp.editPost},,,,,,,function(e,t,n){"use strict";var r,o,a,i,s=n(34),c=n.n(s),l=n(30),u=n.n(l),d=n(39),p=n.n(d),f=n(0),m=/<(\/)?(\w+)\s*(\/)?>/g;function b(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}function h(){var e=r.length-o;0!==e&&a.push(r.substr(o,e))}function y(e){var t=e.element,n=e.tokenStart,o=e.tokenLength,a=e.prevOffset,s=e.children,c=i[i.length-1],l=r.substr(c.prevOffset,n-c.prevOffset);l&&c.children.push(l),c.children.push(f.cloneElement.apply(void 0,[t,null].concat(u()(s)))),c.prevOffset=a||n+o}function g(e){var t=function(){var e=m.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=p()(e,4),o=n[0],a=n[1],i=n[2],s=n[3],c=o.length;return s?["self-closed",i,t,c]:a?["closer",i,t,c]:["opener",i,t,c]}(),n=p()(t,4),s=n[0],c=n[1],l=n[2],d=n[3],g=i.length,O=l>o?o:null;if(!e[c])return h(),!1;switch(s){case"no-more-tokens":if(0!==g){var v=i.pop(),E=v.leadingTextStart,j=v.tokenStart;a.push(r.substr(E,j))}return h(),!1;case"self-closed":return 0===g?(null!==O&&a.push(r.substr(O,l-O)),a.push(e[c]),o=l+d,!0):(y(b(e[c],l,d)),o=l+d,!0);case"opener":return i.push(b(e[c],l,d,l+d,O)),o=l+d,!0;case"closer":if(1===g)return function(e){var t=i.pop(),n=t.element,o=t.leadingTextStart,s=t.prevOffset,c=t.tokenStart,l=t.children,d=e?r.substr(s,e-s):r.substr(s);d&&l.push(d),null!==o&&a.push(r.substr(o,c-o)),a.push(f.cloneElement.apply(void 0,[n,null].concat(u()(l))))}(l),o=l+d,!0;var w=i.pop(),_=r.substr(w.prevOffset,l-w.prevOffset);w.children.push(_),w.prevOffset=l+d;var T=b(w.element,w.tokenStart,w.tokenLength,l+d);return T.children=w.children,y(T),o=l+d,!0;default:return h(),!1}}t.a=function(e,t){if(r=e,o=0,a=[],i=[],m.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(f.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(g(t));return f.createElement.apply(void 0,[f.Fragment,null].concat(u()(a)))}},,,function(e,t){e.exports=window.wp.annotations},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(0),o=n(1),a=n.n(o),i=n(18),s=n(
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(E.a,null)),n&&Object(r.createElement)(g.a
|
83 |
-
/* Translators: %s expands to Twitter. */,{title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(j.a,null)))};w.propTypes={displayFacebook:a.a.bool.isRequired,displayTwitter:a.a.bool.isRequired};var _=w,T=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(_),k=n(36);function S(e){var t=e.target;return Object(r.createElement)(k.a,{target:t},Object(r.createElement)(T,null))}S.propTypes={target:a.a.string.isRequired};var R=n(126),P=n(114);function A(e){var t=e.settings;return Object(r.createElement)(i.Fill,{name:"YoastMetabox"},Object(r.createElement)(O.a,{renderPriority:1},Object(r.createElement)(m.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:8},Object(r.createElement)(b.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(i.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(P.a,null))),Object(r.createElement)(O.a,{renderPriority:9},Object(r.createElement)(g.a,{id:"yoast-snippet-editor-metabox",title:Object(d.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(f.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:10},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:20},Object(r.createElement)(y.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(r.createElement)(O.a,{renderPriority:30},Object(r.createElement)(p.a,null)),t.displayAdvancedTab&&Object(r.createElement)(O.a,{renderPriority:40},Object(r.createElement)(g.a,{id:"collapsible-advanced-settings",title:Object(d.__)("Advanced","wordpress-seo")},Object(r.createElement)(v.a,null))),t.displaySchemaSettings&&Object(r.createElement)(O.a,{renderPriority:50},Object(r.createElement)(R.a,null)),Object(r.createElement)(O.a,{renderPriority:-1},Object(r.createElement)(S,{target:"wpseo-section-social"})))}A.propTypes={settings:a.a.object.isRequired};var C=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(A);function x(e){var t=e.target,n=e.store,o=e.theme;return Object(r.createElement)(k.a,{target:t},Object(r.createElement)(l,{store:n,theme:o}),Object(r.createElement)(C,{store:n,theme:o}))}x.propTypes={target:a.a.string.isRequired,store:a.a.object,theme:a.a.object}},,,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(2),u=n(23),d=n(4),p=n(17),f=n(43),m=n(40),b=n(107);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=e.jQuery,O=function(){function e(t,n){i()(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){this._data=this.getInitialData(e),Object(m.fillReplacementVariables)(this._data,this._store),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=Object(m.mapCustomFields)(e,this._store),y(y({},e=Object(m.mapCustomTaxonomies)(e,this._store)),t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=Object(d.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(d.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){return{content:this.getPostAttribute("content"),title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),snippetPreviewImageURL:this.getFeaturedImage()||this.getContentImage(),contentImage:this.getContentImage()}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"getContentImage",value:function(){var e=this._coreEditorSelect.getEditedPostContent(),t=u.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=g(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch(Object(p.l)("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch(Object(p.l)("excerpt",e.excerpt)),this._store.dispatch(Object(p.l)("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch(Object(p.k)({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch(Object(p.k)({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch(Object(f.c)(e.contentImage))}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.getPostAttribute("excerpt")||"";return""!==t||!1===e?t:Object(m.excerptFromContent)(this.getPostAttribute("content"))}},{key:"reapplyMarkers",value:function(){var e=Object(d.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),o=n();r&&!o&&Object(b.c)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=Object(d.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(l.debounce)(this.refreshYoastSEO,500),Object(d.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},Object(d.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}()}).call(this,n(203))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r,o=n(46),a=n.n(o),i=n(0),s=n(168),c=n(245),l=n(116),u=n(4),d=n(3),p=n(66),f=n(2),m=n(18),b=n(19),h=n(24),y=n(42),g=n(27),O=n.n(g),v=n(15),E=n.n(v),j=n(1),w=n.n(j),_=n(12),T=n.n(_).a.svg(r||(r=E()(["\n\twidth: ","px;\n\theight: ","px;\n\t&&& path {\n\t\tfill: ",";\n\t}\n\t&&& circle.yoast-icon-readability-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n\t\n\t&&& circle.yoast-icon-seo-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){return e.color}),(function(e){return e.readabilityScoreColor}),(function(e){return e.isContentAnalysisActive?"inline":"none"}),(function(e){return e.seoScoreColor}),(function(e){return e.isKeywordAnalysisActive?"inline":"none"})),k=function(e){return Object(i.createElement)(T,O()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),Object(i.createElement)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-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.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),Object(i.createElement)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),Object(i.createElement)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),Object(i.createElement)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};k.propTypes={readabilityScoreColor:w.a.string,isContentAnalysisActive:w.a.bool,seoScoreColor:w.a.string,isKeywordAnalysisActive:w.a.bool,size:w.a.number,color:w.a.string},k.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};var S=k,R=Object(b.compose)([Object(u.withSelect)((function(e){var t,n,r=e("yoast-seo/editor"),o=Object(y.a)(r.getResultsForFocusKeyword().overallScore),a=Object(y.a)(r.getReadabilityResults().overallScore),i=r.getPreferences(),s=i.isKeywordAnalysisActive,c=i.isContentAnalysisActive;switch(a.className){case"good":t=h.colors.$color_good;break;case"ok":t=h.colors.$color_ok;break;case"bad":t=h.colors.$color_bad;break;default:t=h.colors.$color_score_icon}switch(o.className){case"good":n=h.colors.$color_good;break;case"ok":n=h.colors.$color_ok;break;case"bad":n=h.colors.$color_bad;break;default:n=h.colors.$color_score_icon}return{readabilityScoreColor:t,seoScoreColor:n,isKeywordAnalysisActive:s,isContentAnalysisActive:c}}))])(S),P=n(123),A=n(159),C=n(124),x=n(125),I=n(121),D=n(32),N=n(83),L=n(160),M=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(i.createElement)(L.a,{showCloseButton:!1,hasPaperStyle:!1}))},F=n(161),q=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(i.createElement)(F.a,null))},B=n(162),U=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(i.createElement)(B.a,null))},K=n(126),H=n(50),W=n(127);function G(e){var t=e.settings;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(m.Fill,{name:"YoastSidebar"},Object(i.createElement)(D.a,{renderPriority:1},Object(i.createElement)(A.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:8},Object(i.createElement)(C.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),Object(i.createElement)(D.a,{renderPriority:23},Object(i.createElement)(M,null)),t.displayFacebook&&Object(i.createElement)(D.a,{renderPriority:24},Object(i.createElement)(U,null)),t.displayTwitter&&Object(i.createElement)(D.a,{renderPriority:25},Object(i.createElement)(q,null)),t.displaySchemaSettings&&Object(i.createElement)(D.a,{renderPriority:26},Object(i.createElement)(H.a,{title:Object(d.__)("Schema","wordpress-seo")},Object(i.createElement)(K.a,null))),t.displayAdvancedTab&&Object(i.createElement)(D.a,{renderPriority:27},Object(i.createElement)(H.a,{title:Object(d.__)("Advanced","wordpress-seo")},Object(i.createElement)(W.a,null))),t.isContentAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:10},Object(i.createElement)(x.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:20},Object(i.createElement)(I.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(i.createElement)(D.a,{renderPriority:30},Object(i.createElement)(P.a,null))))}G.propTypes={settings:w.a.object.isRequired};var V=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(G),Y=n(191),$=n(25),z=n(107),Z=n(119),Q=n(102);function X(e){var t=e.theme;return Object(i.createElement)(Q.a,{theme:t,location:"sidebar"},Object(i.createElement)(m.Slot,{name:"YoastSidebar"},(function(e){return Object(Z.a)(e)})))}var J=n(5),ee=n.n(J),te=n(6),ne=n.n(te),re=n(11),oe=n.n(re),ae=n(13),ie=n.n(ae),se=n(14),ce=n.n(se),le=n(8),ue=n.n(le),de=n(52),pe=n(246),fe=n(10),me=n.n(fe),be=n(39),he=n.n(be),ye=n(54),ge=n(175);function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ee=Object(m.withSpokenMessages)((function(e){var t=e.isActive,n=e.activeAttributes,r=e.addingLink,o=e.value,a=e.onChange,s=e.speak,c=e.stopAddingLink,l=Object(i.useMemo)(f.uniqueId,[r]),u=Object(i.useState)(),b=he()(u,2),h=b[0],y=b[1],g=Object(i.useMemo)((function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(r&&!t)return n;var o=n.startContainer;for(o=o.nextElementSibling||o;o.nodeType!==window.Node.ELEMENT_NODE;)o=o.parentNode;return o.closest("a")}}),[r,o.start,o.end]),O=ve({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},h),v=Object(i.createElement)(ye.a,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),E=Object(ge.a)(Object(d.sprintf)(Object(d.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),j=Object(ge.a)(Object(d.sprintf)(Object(d.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),w=[{id:"opensInNewTab",title:Object(d.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:E},{id:"sponsored",title:j}],_=window.wp.blockEditor.__experimentalLinkControl;return Object(i.createElement)(m.Popover,{key:l,anchorRef:g,focusOnMount:!!r&&"firstElement",onClose:c,position:"bottom center"},Object(i.createElement)(_,{value:O,onChange:function(e){e=ve(ve({},h),e);var n=O.url===e.url&&O.opensInNewTab!==e.opensInNewTab||O.noFollow!==e.noFollow||O.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==O.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==O.noFollow&&(e.sponsored=!1);var r=n&&void 0===e.url;if(y(r?e:void 0),!r){var i=Object(de.prependHTTP)(e.url),l=function(e){var t=e.noFollow,n=e.sponsored,r={type:"core/link",attributes:{url:e.url}},o=[];return e.opensInNewWindow&&(r.attributes.target="_blank",o.push("noreferrer noopener")),n&&(o.push("sponsored"),o.push("nofollow")),t&&o.push("nofollow"),o.length>0&&(o=Object(f.uniq)(o),r.attributes.rel=o.join(" ")),r}({url:i,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if(Object(p.isCollapsed)(o)&&!t){var u=e.title||i,m=Object(p.applyFormat)(Object(p.create)({text:u}),l,0,u.length);a(Object(p.insert)(o,m))}else{var b=Object(p.applyFormat)(o,l);b.start=b.end,b.activeFormats=[],a(b)}n||c(),function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=Object(de.getProtocol)(t);if(!Object(de.isValidProtocol)(n))return!1;if(Object(f.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var r=Object(de.getAuthority)(t);if(!Object(de.isValidAuthority)(r))return!1;var o=Object(de.getPath)(t);if(o&&!Object(de.isValidPath)(o))return!1;var a=Object(de.getQueryString)(t);if(a&&!Object(de.isValidQueryString)(a))return!1;var i=Object(de.getFragment)(t);if(i&&!Object(de.isValidFragment)(i))return!1}return!(Object(f.startsWith)(t,"#")&&!Object(de.isValidFragment)(t))}(i)?s(t?Object(d.__)("Link edited.","wordpress-seo"):Object(d.__)("Link inserted.","wordpress-seo"),"assertive"):s(Object(d.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive")}},forceIsEditingLink:r,settings:w}))}));var je=Object(d.__)("Link","wordpress-seo"),we={name:"core/link",title:je,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if(Object(p.isCollapsed)(e))return e;var o=(n||r).replace(/<[^>]+>/g,"").trim();return Object(de.isURL)(o)?(window.console.log("Created link:\n\n",o),Object(p.applyFormat)(e,{type:"core/link",attributes:{url:Object(pe.decodeEntities)(o)}})):e},edit:Object(m.withSpokenMessages)(function(e){ie()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=ue()(t);if(n){var o=ue()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ce()(this,e)});function o(){var e;return ee()(this,o),(e=r.apply(this,arguments)).addLink=e.addLink.bind(oe()(e)),e.stopAddingLink=e.stopAddingLink.bind(oe()(e)),e.onRemoveFormat=e.onRemoveFormat.bind(oe()(e)),e.state={addingLink:!1},e}return ne()(o,[{key:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=Object(p.getTextContent)(Object(p.slice)(t));r&&Object(de.isURL)(r)?n(Object(p.applyFormat)(t,{type:"core/link",attributes:{url:r}})):r&&Object(de.isEmail)(r)?n(Object(p.applyFormat)(t,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n(Object(p.removeFormat)(t,"core/link")),r(Object(d.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,o=e.onChange,a=window.wp.blockEditor,s=a.RichTextToolbarButton,c=a.RichTextShortcut;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c,{type:"primary",character:"k",onUse:this.addLink}),Object(i.createElement)(c,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&Object(i.createElement)(s,{name:"link",icon:"editor-unlink",title:Object(d.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&Object(i.createElement)(s,{name:"link",icon:"admin-links",title:je,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&Object(i.createElement)(Ee,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:o}))}}]),o}(i.Component))},_e=n(7),Te=n(35);function ke(e){var t=e.score,n=e.label,r=e.scoreValue;return Object(i.createElement)("div",null,Object(i.createElement)(_e.SvgIcon,Object(Te.getIconForScore)(t)),Object(i.createElement)("span",null," ",n," ",r&&Object(i.createElement)("strong",null,r)))}function Se(e){var t=e.checklist,n=e.onClick,r=t.every((function(e){return"good"===e.score}));return Object(i.createElement)(i.Fragment,null,t.map((function(e){return Object(i.createElement)(ke,O()({key:e.label},e))})),Object(i.createElement)("br",null),!r&&Object(i.createElement)(_e.Button,{onClick:n},Object(d.__)("Improve your post with Yoast SEO","wordpress-seo")))}function Re(e){var t,n=e.checklist,r=e.onClick;return t=n.every((function(e){return"good"===e.score}))?Object(d.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):Object(d.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,t),Object(i.createElement)(Se,{checklist:n,onClick:r}))}function Pe(e,t){if(t.getPreferences().isKeywordAnalysisActive){var n=Object(y.a)(t.getReadabilityResults().overallScore);e.push({label:Object(d.__)("Readability analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Ae(e,t){if(t.getPreferences().isContentAnalysisActive){var n=Object(y.a)(t.getResultsForFocusKeyword().overallScore);e.push({label:Object(d.__)("SEO analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Ce(e,t,n){if(n.getBlocks().some((function(e){return!0===e.attributes["is-yoast-schema-block"]}))){var r=t.getSchemaBlocksValidationResults(),o=Object.values(r);if(o&&o.length>0){var a=o.every((function(e){return e.result<=0}));e.push({label:Object(d.__)("Schema analysis:","wordpress-seo"),score:a?"good":"bad",scoreValue:a?Object(d.__)("Good","wordpress-seo"):Object(d.__)("Needs improvement","wordpress-seo")})}}}ke.propTypes={score:j.string.isRequired,label:j.string.isRequired,scoreValue:j.string},ke.defaultProps={scoreValue:""},Se.propTypes={checklist:w.a.array.isRequired,onClick:w.a.func.isRequired},Re.propTypes={checklist:w.a.array.isRequired,onClick:w.a.func.isRequired};var xe,Ie,De,Ne=Object(b.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/editor"),o=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:Object(d.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(o,t),Pe(o,t),Ae(o,t),Ce(o,n,r),{checklist:o}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}}))])(Re),Le=Object(b.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/editor"),o=[];return Pe(o,t),Ae(o,t),Ce(o,n,r),{checklist:o}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}}))])(Se),Me=n(16);function Fe(){return(Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qe(e){return Me.createElement("svg",Fe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1600","aria-hidden":"true"},e),xe||(xe=Me.createElement("g",{fill:"none",fillRule:"evenodd"},Me.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 10-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 00675-790"}),Me.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 00250 0v-559h186z"}))))}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ue(e){return Me.createElement("svg",Be({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400","aria-hidden":"true"},e),Ie||(Ie=Me.createElement("circle",{cx:200,cy:200,r:200,fill:"#1da1f2"})),De||(De=Me.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff"})))}function Ke(e){var t=e.permalink,n=encodeURI(t);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(d.__)("Share your post!","wordpress-seo")),Object(i.createElement)("ul",{className:"yoast-seo-social-share-buttons"},Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(qe,null),Object(d.__)("Facebook","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(Ue,null),Object(d.__)("Twitter","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("(Opens in a new browser tab)","wordpress-seo"))))))}Ke.propTypes={permalink:w.a.string.isRequired};var He=Object(b.compose)([Object(u.withSelect)((function(e){return{permalink:e("core/editor").getPermalink()}}))])(Ke),We=n(20);var Ge=n(247);window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){var t=Object(We.a)(),n=t.isPremium,r=n?"Yoast SEO Premium":"Yoast SEO",o=Object(i.createElement)(S,null);Object(l.updateCategory)("yoast-structured-data-blocks",{icon:o}),Object(l.updateCategory)("yoast-internal-linking-blocks",{icon:o});var a={isRtl:t.isRtl},p=e.getState().preferences,f=p.isKeywordAnalysisActive||p.isContentAnalysisActive,b=p.isZapierIntegrationActive&&!p.isZapierConnected;!Object(u.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]&&Object(u.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel"),Object(c.registerPlugin)("yoast-seo",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(s.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:Object(i.createElement)(R,null)},r),Object(i.createElement)(s.PluginSidebar,{name:"seo-sidebar",title:r},Object(i.createElement)(X,{store:e,theme:a})),Object(i.createElement)(i.Fragment,null,Object(i.createElement)(V,{store:e,theme:a}),Object(i.createElement)(Y.a,{target:"wpseo-metabox-root",store:e,theme:a})),f&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Ne,null)),n&&b&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(m.Slot,{name:"YoastZapierPrePublish"})),Object(i.createElement)(s.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(He,null)),f&&Object(i.createElement)(s.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Le,null)))},icon:Object(i.createElement)(R,null)})})(e),"function"==typeof Object(f.get)(window,"wp.blockEditor.__experimentalLinkControl")?[we].forEach((function(e){var t=e.name,n=e.replaces,r=a()(e,["name","replaces"]);n&&Object(u.dispatch)("core/rich-text").removeFormatTypes(n),t&&Object(p.registerFormatType)(t,r)})):console.warn(Object(d.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+Object(d.sprintf)(Object(d.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){Object(z.b)()&&e.dispatch(Object($.setMarkerStatus)("enabled"))}(e)},window.yoast.EditorData=Ge.a}]);
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=345)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:o,mode:e}}function p(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:s,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return l})),n.d(t,"runAnalysis",(function(){return u})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return d.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return d.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return d.b})),n.d(t,"loadCornerstoneContent",(function(){return d.d})),n.d(t,"setCornerstoneContent",(function(){return d.e})),n.d(t,"toggleCornerstoneContent",(function(){return d.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return p})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return b})),n.d(t,"setEditorDataContent",(function(){return h})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return g})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return v})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return E})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return w})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return k.a})),n.d(t,"setMarkerStatus",(function(){return k.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return S.a})),n.d(t,"setMarkerPauseStatus",(function(){return S.b})),n.d(t,"DISMISS_ALERT",(function(){return R.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return R.b})),n.d(t,"dismissAlert",(function(){return R.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return A.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return A.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return A.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return A.a})),n.d(t,"setPageType",(function(){return A.h})),n.d(t,"setArticleType",(function(){return A.g})),n.d(t,"getSchemaPageData",(function(){return A.f})),n.d(t,"getSchemaArticleData",(function(){return A.e})),n.d(t,"MODAL_DISMISS",(function(){return C})),n.d(t,"MODAL_OPEN",(function(){return x})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return I})),n.d(t,"setSEMrushDismissModal",(function(){return D})),n.d(t,"setSEMrushOpenModal",(function(){return N})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return L})),n.d(t,"CHANGE_COUNTRY",(function(){return M.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return M.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return M.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return M.f})),n.d(t,"NEW_REQUEST",(function(){return M.b})),n.d(t,"NO_DATA_FOUND",(function(){return M.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return M.d})),n.d(t,"setSEMrushNewRequest",(function(){return M.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return M.m})),n.d(t,"setSEMrushRequestFailed",(function(){return M.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return M.n})),n.d(t,"setSEMrushChangeCountry",(function(){return M.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return M.k})),n.d(t,"setSEMrushLoginStatus",(function(){return M.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return H.a})),n.d(t,"setWarningMessage",(function(){return H.b})),n.d(t,"setOverallReadabilityScore",(function(){return W})),n.d(t,"setOverallSeoScore",(function(){return G})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(73),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function l(e){return{type:s,data:e}}function u(){return{type:c,timestamp:Date.now()}}var d=n(59),p="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",b="SET_EDITOR_DATA_IMAGE_URL";function h(e){return{type:p,content:e}}function y(e){return{type:f,title:e}}function g(e){return{type:m,excerpt:e}}function O(e){return{type:b,imageUrl:e}}var v="OPEN_MODAL",E="CLOSE_MODAL";function j(e){return{type:v,modalKey:e}}function w(){return{type:E}}var _=n(67),T=n(60),k=n(45),S=n(74),R=n(69),P=n(75),A=n(56),C="MODAL_DISMISS",x="MODAL_OPEN",I="MODAL_OPEN_NO_KEYPHRASE";function D(){return{type:C}}function N(e){return{type:x,location:e}}function L(){return{type:I}}var M=n(41),F=n(43),q=n(76),B=n(17),U=n(48),K=n(49),H=n(77),W=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},G=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(87),o=n(88),a=n(89);e.exports=function(e){return r(e)||o(e)||a()}},,function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(130)),i=s(n(133));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,i.default)(t);try{return function e(t,n){var i,s,l,u,d,p,f,m,b=[],h={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!n.hasOwnProperty(d.value)||void 0===n[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(n[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+c);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){i=n[d.value],l=p;break}b.push(n[d.value])}else b.push(d.value);return i&&(u=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(l,t),f=e(t.slice(l+1,u),n),s=o.default.cloneElement(i,{},f),b.push(s),u<t.length-1&&(m=e(t.slice(u+1),n),b=b.concat(m))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,a.default)(h))}(l,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(99),o=n(100),a=n(101);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return v})),n.d(t,"mapCustomFields",(function(){return E})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return w}));var r=n(10),o=n.n(r),a=n(2),i=n(78),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=m(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function v(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(u({},e),"custom_taxonomies")):e}function E(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=g(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(u({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var w=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"m",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"i",(function(){return h}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",l="SET_LOGIN_STATUS";function u(e,t){return{type:s,countryCode:e,keyphrase:t}}function d(e){return{type:o,response:e}}function p(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function b(){return{type:c}}function h(e){return{type:l,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return g})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",l="SET_NO_FOLLOW",u="SET_ADVANCED",d="SET_BREADCRUMBS_TITLE",p="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},b=function(e){return s.noFollow=e,{type:l,value:e}},h=function(e){return s.advanced=e.join(","),{type:u,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:d,value:e}},g=function(e){return s.canonical=e,{type:p,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),l="SET_TWITTER_TITLE",u="SET_TWITTER_DESCRIPTION",d="SET_TWITTER_IMAGE",p="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:l,title:e}},b=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:u,description:e}},h=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},g=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),l="SET_FACEBOOK_TITLE",u="SET_FACEBOOK_DESCRIPTION",d="SET_FACEBOOK_IMAGE",p="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:l,title:e}},b=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:u,description:e}},h=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},g=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(7),s=n(1),c=n.n(s),l=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),l=n(7),u=n(12),d=n.n(u)()(l.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),l=n.n(c),u=Object(s.makeOutboundLink)(l.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=u},,function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},l=function(e){return r.a.articleType=e,{type:a,articleType:e}},u=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},d=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},l=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),l=n(5),u=n.n(l),d=n(6),p=n.n(d),f=n(11),m=n.n(f),b=n(13),h=n.n(b),y=n(14),g=n.n(y),O=n(8),v=n.n(O),E=n(0),j=n(1),w=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=w.a.shape({value:w.a.string.isRequired,onChange:w.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(r);if(a){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return p()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(E.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:w.a.node}}}]),l}(E.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return d}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",l="LOAD_ESTIMATED_READING_TIME";function u(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function d(){return{type:l,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),l=n(7),u=n(9),d=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),p=c()(l.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(11),u=n.n(l),d=n(13),p=n.n(d),f=n(14),m=n.n(f),b=n(8),h=n.n(b),y=n(0),g=n(1),O=n.n(g),v=n(95),E=n(23),j=n(35);var w=function(e){p()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new E.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);w.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},w.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=w;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(92);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(11),u=n.n(l),d=n(13),p=n.n(d),f=n(14),m=n.n(f),b=n(8),h=n.n(b),y=n(0),g=n(3),O=n(7),v=n(1),E=n.n(v),j=n(62);var w=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(O.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
Object(T.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(T.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
+
Object(T.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(P,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};A.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=A,x=n(149),I=n(58);var D=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(C,{socialMediumName:a}),Object(h.createElement)(x.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:u,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),o}(h.Component);D.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},D.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=D},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=(n(179),n(66)),s=n(4);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",d=[],p={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},f={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=d.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),b())}function b(){Object(a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function h(){return Object(s.select)("core/editor")&&Object(a.isFunction)(Object(s.select)("core/editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(a.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=f[t]||p;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,o=t.attributes,s=o[r];if(e.filter&&!e.filter(o))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(a.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,a))>-1;)r.push(o),a=o+t.length;return r}(e,n);if(0===o.length)return[];var a=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return a.forEach((function(e){o.forEach((function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/editor").getBlocks();O(Object(a.flatMap)(n,(function(e){return Object(a.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),b()}}function E(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var o=r.marks;O(Object(a.flatMap)(y(e.name),(function(t){return g(t,e,o)}))),b()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-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 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.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 00-56.45-81.28z"})),o||(o=a.createElement("path",{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 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),l=n(12),u=n.n(l),d=n(7),p=n(9),f=u()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},,,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),l=n(2),u=n(7),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(j.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(v.createElement)(z,{infoParagraphs:[r,o],benefits:n,upsellButtonText:Object(j.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
+
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(j.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:k.a.string.isRequired,buyLink:k.a.string.isRequired};var te,ne=ee,re=n(39),oe=n.n(re),ae=n(53),ie=R.a.button(te||(te=O()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),se={open:Object(j.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(j.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(v.useState)(!1),n=oe()(t,2),r=n[0],o=n[1],a=Object.assign({},se,e.labels),i=Object(v.useCallback)((function(){return o(!1)}),[]),s=Object(v.useCallback)((function(){return o(!0)}),[]);return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(ie,{type:"button",onClick:s,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(v.createElement)(w.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),a.open),r&&Object(v.createElement)(ae.a,{onRequestClose:i,className:e.className,title:a.heading},e.children))};ce.propTypes={openButtonIcon:k.a.string,labels:k.a.shape({open:k.a.string,modalAriaLabel:k.a.string.isRequired,heading:k.a.string,closeIconButton:k.a.string,closeButton:k.a.string}).isRequired,classes:k.a.shape({openButton:k.a.string,closeIconButton:k.a.string,closeButton:k.a.string}),className:k.a.string,children:k.a.any.isRequired},ce.defaultProps={className:ae.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(96),de=n(50),pe=n(18);function fe(e){var t=e.location;return Object(v.createElement)(pe.Slot,{name:"yoast-synonyms-".concat(t)})}fe.propTypes={location:k.a.string.isRequired};var me,be=n(35);function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=R.a.span(me||(me=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 1.5em 0 1em;\n\tdisplay: block;\n"]))),Oe=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return b()(this,e)});function o(){return l()(this,o),r.apply(this,arguments)}return d()(o,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+Object(j.__)("Add synonyms","wordpress-seo"),modalAriaLabel:Object(j.sprintf)(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
+
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(v.createElement)(le,t,Object(v.createElement)(K.a,null,Object(v.createElement)(K.b,{icon:w.YoastSeoIcon}),Object(v.createElement)("h2",null,Object(j.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(v.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=U.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=de.a),Object(v.createElement)(r,{prefixIcon:{icon:"plus",color:_.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:_.colors.$color_grey_medium_dark},title:Object(j.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(v.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(v.createElement)(q,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(v.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(j.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(v.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?U.a:de.a;return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(r,{title:Object(j.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(v.createElement)(fe,{location:n}),e.props.shouldUpsell&&Object(v.createElement)(v.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(v.createElement)(ge,null,Object(j.__)("Analysis results","wordpress-seo")),Object(v.createElement)(A.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),o}(v.Component);Oe.propTypes={results:k.a.array,marksButtonStatus:k.a.string,keyword:k.a.string,shouldUpsell:k.a.bool,shouldUpsellWordFormRecognition:k.a.bool,overallScore:k.a.number},Oe.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(E.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,o=n.getMarksButtonStatus,a=n.getResultsForKeyword,i=r();return ye(ye({},a(i)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:i})}))(Oe)},,function(e,t,n){"use strict";var r,o=n(19),a=n(4),i=n(0),s=n(3),c=n(18),l=n(7),u=n(9),d=n(1),p=n.n(d),f=n(5),m=n.n(f),b=n(6),h=n.n(b),y=n(13),g=n.n(y),O=n(14),v=n.n(O),E=n(8),j=n.n(E),w=n(15),_=n.n(w),T=n(12);var k=n.n(T).a.div(r||(r=_()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),S=function(e){g()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=j()(t);if(n){var o=j()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return v()(this,e)});function o(){return m()(this,o),r.apply(this,arguments)}return h()(o,[{key:"render",value:function(){return Object(i.createElement)(k,null,Object(i.createElement)(l.Toggle,{id:this.props.id,labelText:Object(s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),o}(i.Component);S.propTypes={id:p.a.string,isEnabled:p.a.bool,onToggle:p.a.func,onToggleDisabled:p.a.func},S.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var R=S,P=n(51),A=n(50),C=Object(u.makeOutboundLink)();function x(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,o=e.location,a="metabox"===o?P.a:A.a;return Object(i.createElement)(a,{id:Object(u.join)(["yoast-cornerstone-collapsible",o]),title:Object(s.__)("Cornerstone content","wordpress-seo")},Object(i.createElement)(l.HelpText,null,Object(s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(i.createElement)(C,{href:r},Object(s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(i.createElement)(R,{id:Object(u.join)(["yoast-cornerstone",o]),isEnabled:t,onToggle:n}),Object(i.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}x.propTypes={isCornerstone:p.a.bool,onChange:p.a.func,learnMoreUrl:p.a.string.isRequired,location:p.a.string},x.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var I=n(57);t.a=Object(o.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(I.a)()])(x)},function(e,t,n){"use strict";var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=n(11),c=n.n(s),l=n(13),u=n.n(l),d=n(14),p=n.n(d),f=n(8),m=n.n(f),b=n(15),h=n.n(b),y=n(0),g=n(18),O=n(19),v=n(4),E=n(3),j=n(1),w=n.n(j),_=n(12),T=n.n(_),k=n(22),S=n(47),R=n.n(S),P=n(26),A=n.n(P),C=n(64),x=n.n(C),I=n(7),D=n(68),N=n(53),L=n(111),M=n(92);var F=function(e){u()(l,e);var t,n,r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m()(r);if(a){var n=m()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p()(this,e)});function l(e){var t;return o()(this,l),(t=s.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return i()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(M.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=R()(A.a.mark((function e(t){var n,r;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=R()(A.a.mark((function e(t){var n,r,o;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,x()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(o=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(o.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,o=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(I.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(E.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(N.a,{title:Object(E.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(L.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(D.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(I.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(E.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(E.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);F.propTypes={keyphrase:w.a.string,location:w.a.string,whichModalOpen:w.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:w.a.bool,onOpen:w.a.func.isRequired,onOpenWithNoKeyphrase:w.a.func.isRequired,onClose:w.a.func.isRequired,onAuthentication:w.a.func.isRequired},F.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var q,B=F,U=Object(O.compose)([Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(v.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,o=t.setSEMrushDismissModal,a=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){o()},onAuthentication:function(e){a(e)}}}))])(B),K=n(28),H=n(54);var W=T.a.div(q||(q=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),G=function(e){u()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return i()(a,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(E.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(E.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(E.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(K.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(W,{location:n},Object(y.createElement)(k.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(E.__)("Focus keyphrase","wordpress-seo"),helpLink:a.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(U,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(E.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),a}(y.Component);G.propTypes={keyword:w.a.string,onFocusKeywordChange:w.a.func.isRequired,onFocusKeyword:w.a.func.isRequired,onBlurKeyword:w.a.func.isRequired,isSEMrushIntegrationActive:w.a.bool,displayNoKeyphraseMessage:w.a.bool},G.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(O.compose)([Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(v.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(G)},function(e,t,n){"use strict";var r,o,a,i=n(10),s=n.n(i),c=n(5),l=n.n(c),u=n(6),d=n.n(u),p=n(13),f=n.n(p),m=n(14),b=n.n(m),h=n(8),y=n.n(h),g=n(15),O=n.n(g),v=n(0),E=n(4),j=n(1),w=n.n(j),_=n(12),T=n.n(_),k=n(3),S=n(2),R=n(96),P=n(81),A=n(50),C=n(42),x=n(35),I=n(28),D=n(54),N=n(36);function L(e){var t=e.target,n=e.children;return Object(v.createElement)(N.a,{target:t},n)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}L.propTypes={target:w.a.string.isRequired,children:w.a.node.isRequired};var q=T.a.span(r||(r=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=T.a.div(o||(o=O()(["\n\tpadding: 16px;\n"]))),U=T()(D.a)(a||(a=O()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),K=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return b()(this,e)});function o(){return l()(this,o),r.apply(this,arguments)}return d()(o,[{key:"renderResults",value:function(){return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(q,null,Object(k.__)("Analysis results","wordpress-seo"),Object(v.createElement)(U,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(v.createElement)("span",{className:"screen-reader-text"},Object(k.__)("Learn more about the readability analysis","wordpress-seo")))),Object(v.createElement)(P.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(C.a)(this.props.overallScore);return Object(S.isNil)(this.props.overallScore)&&(t.className="loading"),Object(v.createElement)(I.LocationConsumer,null,(function(n){return"sidebar"===n?Object(v.createElement)(A.a,{title:Object(k.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(x.getIconForScore)(t.className),prefixIconCollapsed:Object(x.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(v.createElement)(L,{target:"wpseo-metabox-readability-root"},Object(v.createElement)(B,null,Object(v.createElement)(R.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),o}(v.Component);K.propTypes={results:w.a.array.isRequired,marksButtonStatus:w.a.string.isRequired,overallScore:w.a.number},K.defaultProps={overallScore:null},t.a=Object(E.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return F(F({},n()),{},{marksButtonStatus:r()})}))(K)},function(e,t,n){"use strict";var r,o=n(10),a=n.n(o),i=n(0),s=n(19),c=n(4),l=n(3),u=n(1),d=n.n(u),p=n(30),f=n.n(p),m=n(15),b=n.n(m),h=n(7),y=n(18),g=n(9),O=n(37),v=n.n(O),E=n(12),j=n.n(E),w=n(85),_=n(83),T=j.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),k=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
+
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},S=function(e){return Object(l.sprintf)(
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
+
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},R=function(e){return Object(i.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};R.propTypes={helpTextTitle:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired};var P=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:d.a.string.isRequired,helpTextLink:d.a.string.isRequired};var A=function(e){var t,n=k(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=k(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),o=Object(_.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,o?Object(i.createElement)(P,e):Object(i.createElement)(R,e),o&&Object(i.createElement)(y.Slot,{name:"YoastSchemaBlocksAnalysis"}),Object(i.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,v()({mixedString:S(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};A.propTypes={schemaPageTypeChange:d.a.func,schemaPageTypeSelected:d.a.string,pageTypeOptions:w.b.isRequired,schemaArticleTypeChange:d.a.func,schemaArticleTypeSelected:d.a.string,articleTypeOptions:w.b.isRequired,showArticleTypeInput:d.a.bool.isRequired,additionalHelpTextLink:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,defaultPageType:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,location:d.a.string.isRequired},A.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(A,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(A,e)};C.propTypes={showArticleTypeInput:d.a.bool,articleTypeLabel:d.a.string,additionalHelpTextLink:d.a.string,pageTypeLabel:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,isMetabox:d.a.bool.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,loadSchemaArticleData:d.a.func.isRequired,loadSchemaPageData:d.a.func.isRequired,location:d.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=C,I=n(33),D=n(57);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=function(e){var t=null!==I.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,o=n.articleTypeOptions,a={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:o},s=L(L(L({},e),a),"metabox"===e.location?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1});return Object(i.createElement)(x,s)};M.propTypes={displayFooter:d.a.bool.isRequired,schemaPageTypeSelected:d.a.string.isRequired,schemaArticleTypeSelected:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,defaultPageType:d.a.string.isRequired,loadSchemaPageData:d.a.func.isRequired,loadSchemaArticleData:d.a.func.isRequired,schemaPageTypeChange:d.a.func.isRequired,schemaArticleTypeChange:d.a.func.isRequired,location:d.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,o=t.getDefaultPageType,a=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:i(),defaultPageType:o()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(D.a)()])(M)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(0),i=n(3),s=n(7),c=n(9),l=n(1),u=n.n(l),d=n(28),p=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,o=e.isPrivateBlog,l=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};p.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},p.defaultProps={isPrivateBlog:!1};var f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
+
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,E=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:E},w={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},k={canonical:i,onCanonicalChange:d};return g?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,w),O.isPost&&Object(a.createElement)(m,_),!v&&Object(a.createElement)(b,T),Object(a.createElement)(h,k))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,d=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,f,m=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function g(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var u=h.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(a,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+l(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var b,h=m.call(t),y=0;!(b=h.next()).done;)d+=e(s=b.value,p+l(s,y++),r,a);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return d}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=h).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),o=n(7);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(o.Warning)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(27),i=n.n(a),s=n(0),c=n(19),l=n(4),u=n(3),d=n(147),p=n(28),f=n(112),m=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getFocusKeyphrase,a=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,d=t.getSnippetEditorPreviewImageUrl,p=t.getSnippetEditorWordsToHighlight,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:o(),mobileImageSrc:d(),mode:u(),recommendedReplacementVariables:a(),replacementVariables:f,shoppingData:s(),wordsToHighlight:p()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(o()({},e,t))}},onChangeAnalysisData:a}}))])((function(e){return Object(s.createElement)(p.LocationConsumer,null,(function(t){return Object(s.createElement)(f.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(d.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(148),c=n(20),l=n(57),u=n(90),d=function(e){Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,d=t.getSeoTitle,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,O=t.getSeoTitleTemplate,v=t.getSeoTitleTemplateNoFallback,E=t.getSocialTitleTemplate,j=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,_=t.getReplacedExcerpt,T=Object(a.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),k=Object(a.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:o(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:w()||l()||u()||j()||_()||k,title:r(),titlePreviewFallback:E()||s()||d()||v()||O()||T,imageWarnings:p(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:T,descriptionInputPlaceholder:k,socialMediumName:"Twitter"}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(l.a)()])(s.a)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(150),c=n(20),l=n(57),u=n(90),d=function(e){Object(o.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateFacebookImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,o=t.getFacebookTitle,i=t.getSeoTitle,s=t.getFacebookImageUrl,l=t.getImageFallback,u=t.getFacebookWarnings,d=t.getRecommendedReplaceVars,p=t.getReplaceVars,f=t.getSiteUrl,m=t.getAuthorName,b=t.getSeoTitleTemplate,h=t.getSeoTitleTemplateNoFallback,y=t.getSocialTitleTemplate,g=t.getSeoDescriptionTemplate,O=t.getSocialDescriptionTemplate,v=t.getReplacedExcerpt,E=Object(a.sprintf)(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),j=Object(a.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:s(),imageFallbackUrl:l(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:O()||r()||g()||v()||j,title:o(),titlePreviewFallback:y()||i()||h()||b()||E,imageWarnings:u(),authorName:m(),siteUrl:f(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:E,descriptionInputPlaceholder:j,socialMediumName:"Facebook"}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(l.a)()])(s.a)},,,,,,function(e,t){e.exports=window.wp.editPost},,,,,,,function(e,t,n){"use strict";var r,o,a,i,s=n(34),c=n.n(s),l=n(30),u=n.n(l),d=n(39),p=n.n(d),f=n(0),m=/<(\/)?(\w+)\s*(\/)?>/g;function b(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}function h(){var e=r.length-o;0!==e&&a.push(r.substr(o,e))}function y(e){var t=e.element,n=e.tokenStart,o=e.tokenLength,a=e.prevOffset,s=e.children,c=i[i.length-1],l=r.substr(c.prevOffset,n-c.prevOffset);l&&c.children.push(l),c.children.push(f.cloneElement.apply(void 0,[t,null].concat(u()(s)))),c.prevOffset=a||n+o}function g(e){var t=function(){var e=m.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=p()(e,4),o=n[0],a=n[1],i=n[2],s=n[3],c=o.length;return s?["self-closed",i,t,c]:a?["closer",i,t,c]:["opener",i,t,c]}(),n=p()(t,4),s=n[0],c=n[1],l=n[2],d=n[3],g=i.length,O=l>o?o:null;if(!e[c])return h(),!1;switch(s){case"no-more-tokens":if(0!==g){var v=i.pop(),E=v.leadingTextStart,j=v.tokenStart;a.push(r.substr(E,j))}return h(),!1;case"self-closed":return 0===g?(null!==O&&a.push(r.substr(O,l-O)),a.push(e[c]),o=l+d,!0):(y(b(e[c],l,d)),o=l+d,!0);case"opener":return i.push(b(e[c],l,d,l+d,O)),o=l+d,!0;case"closer":if(1===g)return function(e){var t=i.pop(),n=t.element,o=t.leadingTextStart,s=t.prevOffset,c=t.tokenStart,l=t.children,d=e?r.substr(s,e-s):r.substr(s);d&&l.push(d),null!==o&&a.push(r.substr(o,c-o)),a.push(f.cloneElement.apply(void 0,[n,null].concat(u()(l))))}(l),o=l+d,!0;var w=i.pop(),_=r.substr(w.prevOffset,l-w.prevOffset);w.children.push(_),w.prevOffset=l+d;var T=b(w.element,w.tokenStart,w.tokenLength,l+d);return T.children=w.children,y(T),o=l+d,!0;default:return h(),!1}}t.a=function(e,t){if(r=e,o=0,a=[],i=[],m.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(f.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(g(t));return f.createElement.apply(void 0,[f.Fragment,null].concat(u()(a)))}},,,function(e,t){e.exports=window.wp.annotations},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(0),o=n(1),a=n.n(o),i=n(18),s=n(120),c=n(103);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(i.Slot,{name:"YoastMetabox"},(function(e){return Object(s.a)(e)})))}var u=n(4),d=n(3),p=n(124),f=n(161),m=n(160),b=n(125),h=n(126),y=n(122),g=n(51),O=n(32),v=n(128),E=n(163),j=n(162),w=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(g.a,{hasSeparator:!1
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(E.a,null)),n&&Object(r.createElement)(g.a
|
83 |
+
/* Translators: %s expands to Twitter. */,{title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(j.a,null)))};w.propTypes={displayFacebook:a.a.bool.isRequired,displayTwitter:a.a.bool.isRequired};var _=w,T=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(_),k=n(36);function S(e){var t=e.target;return Object(r.createElement)(k.a,{target:t},Object(r.createElement)(T,null))}S.propTypes={target:a.a.string.isRequired};var R=n(127),P=n(115);function A(e){var t=e.settings;return Object(r.createElement)(i.Fill,{name:"YoastMetabox"},Object(r.createElement)(O.a,{renderPriority:1},Object(r.createElement)(m.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:8},Object(r.createElement)(b.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(i.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(P.a,null))),Object(r.createElement)(O.a,{renderPriority:9},Object(r.createElement)(g.a,{id:"yoast-snippet-editor-metabox",title:Object(d.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(f.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:10},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:20},Object(r.createElement)(y.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(r.createElement)(O.a,{renderPriority:30},Object(r.createElement)(p.a,null)),t.displayAdvancedTab&&Object(r.createElement)(O.a,{renderPriority:40},Object(r.createElement)(g.a,{id:"collapsible-advanced-settings",title:Object(d.__)("Advanced","wordpress-seo")},Object(r.createElement)(v.a,null))),t.displaySchemaSettings&&Object(r.createElement)(O.a,{renderPriority:50},Object(r.createElement)(R.a,null)),Object(r.createElement)(O.a,{renderPriority:-1},Object(r.createElement)(S,{target:"wpseo-section-social"})))}A.propTypes={settings:a.a.object.isRequired};var C=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(A);function x(e){var t=e.target,n=e.store,o=e.theme;return Object(r.createElement)(k.a,{target:t},Object(r.createElement)(l,{store:n,theme:o}),Object(r.createElement)(C,{store:n,theme:o}))}x.propTypes={target:a.a.string.isRequired,store:a.a.object,theme:a.a.object}},,,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(2),u=n(23),d=n(4),p=n(17),f=n(43),m=n(40),b=n(108);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=e.jQuery,O=function(){function e(t,n){i()(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){this._data=this.getInitialData(e),Object(m.fillReplacementVariables)(this._data,this._store),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=Object(m.mapCustomFields)(e,this._store),y(y({},e=Object(m.mapCustomTaxonomies)(e,this._store)),t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=Object(d.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(d.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){return{content:this.getPostAttribute("content"),title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),snippetPreviewImageURL:this.getFeaturedImage()||this.getContentImage(),contentImage:this.getContentImage()}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"getContentImage",value:function(){var e=this._coreEditorSelect.getEditedPostContent(),t=u.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=g(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch(Object(p.l)("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch(Object(p.l)("excerpt",e.excerpt)),this._store.dispatch(Object(p.l)("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch(Object(p.k)({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch(Object(p.k)({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch(Object(f.c)(e.contentImage))}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.getPostAttribute("excerpt")||"";return""!==t||!1===e?t:Object(m.excerptFromContent)(this.getPostAttribute("content"))}},{key:"reapplyMarkers",value:function(){var e=Object(d.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),o=n();r&&!o&&Object(b.c)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=Object(d.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(l.debounce)(this.refreshYoastSEO,500),Object(d.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},Object(d.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}()}).call(this,n(204))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r,o=n(46),a=n.n(o),i=n(0),s=n(169),c=n(246),l=n(117),u=n(4),d=n(3),p=n(66),f=n(2),m=n(18),b=n(19),h=n(24),y=n(42),g=n(27),O=n.n(g),v=n(15),E=n.n(v),j=n(1),w=n.n(j),_=n(12),T=n.n(_).a.svg(r||(r=E()(["\n\twidth: ","px;\n\theight: ","px;\n\t&&& path {\n\t\tfill: ",";\n\t}\n\t&&& circle.yoast-icon-readability-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n\t\n\t&&& circle.yoast-icon-seo-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){return e.color}),(function(e){return e.readabilityScoreColor}),(function(e){return e.isContentAnalysisActive?"inline":"none"}),(function(e){return e.seoScoreColor}),(function(e){return e.isKeywordAnalysisActive?"inline":"none"})),k=function(e){return Object(i.createElement)(T,O()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),Object(i.createElement)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-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.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),Object(i.createElement)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),Object(i.createElement)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),Object(i.createElement)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};k.propTypes={readabilityScoreColor:w.a.string,isContentAnalysisActive:w.a.bool,seoScoreColor:w.a.string,isKeywordAnalysisActive:w.a.bool,size:w.a.number,color:w.a.string},k.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};var S=k,R=Object(b.compose)([Object(u.withSelect)((function(e){var t,n,r=e("yoast-seo/editor"),o=Object(y.a)(r.getResultsForFocusKeyword().overallScore),a=Object(y.a)(r.getReadabilityResults().overallScore),i=r.getPreferences(),s=i.isKeywordAnalysisActive,c=i.isContentAnalysisActive;switch(a.className){case"good":t=h.colors.$color_good;break;case"ok":t=h.colors.$color_ok;break;case"bad":t=h.colors.$color_bad;break;default:t=h.colors.$color_score_icon}switch(o.className){case"good":n=h.colors.$color_good;break;case"ok":n=h.colors.$color_ok;break;case"bad":n=h.colors.$color_bad;break;default:n=h.colors.$color_score_icon}return{readabilityScoreColor:t,seoScoreColor:n,isKeywordAnalysisActive:s,isContentAnalysisActive:c}}))])(S),P=n(124),A=n(160),C=n(125),x=n(126),I=n(122),D=n(32),N=n(84),L=n(161),M=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(i.createElement)(L.a,{showCloseButton:!1,hasPaperStyle:!1}))},F=n(162),q=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(i.createElement)(F.a,null))},B=n(163),U=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(i.createElement)(B.a,null))},K=n(127),H=n(50),W=n(128);function G(e){var t=e.settings;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(m.Fill,{name:"YoastSidebar"},Object(i.createElement)(D.a,{renderPriority:1},Object(i.createElement)(A.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:8},Object(i.createElement)(C.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),Object(i.createElement)(D.a,{renderPriority:23},Object(i.createElement)(M,null)),t.displayFacebook&&Object(i.createElement)(D.a,{renderPriority:24},Object(i.createElement)(U,null)),t.displayTwitter&&Object(i.createElement)(D.a,{renderPriority:25},Object(i.createElement)(q,null)),t.displaySchemaSettings&&Object(i.createElement)(D.a,{renderPriority:26},Object(i.createElement)(H.a,{title:Object(d.__)("Schema","wordpress-seo")},Object(i.createElement)(K.a,null))),t.displayAdvancedTab&&Object(i.createElement)(D.a,{renderPriority:27},Object(i.createElement)(H.a,{title:Object(d.__)("Advanced","wordpress-seo")},Object(i.createElement)(W.a,null))),t.isContentAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:10},Object(i.createElement)(x.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:20},Object(i.createElement)(I.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(i.createElement)(D.a,{renderPriority:30},Object(i.createElement)(P.a,null))))}G.propTypes={settings:w.a.object.isRequired};var V=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(G),Y=n(192),$=n(25),z=n(108),Z=n(120),Q=n(103);function X(e){var t=e.theme;return Object(i.createElement)(Q.a,{theme:t,location:"sidebar"},Object(i.createElement)(m.Slot,{name:"YoastSidebar"},(function(e){return Object(Z.a)(e)})))}var J=n(5),ee=n.n(J),te=n(6),ne=n.n(te),re=n(11),oe=n.n(re),ae=n(13),ie=n.n(ae),se=n(14),ce=n.n(se),le=n(8),ue=n.n(le),de=n(52),pe=n(247),fe=n(10),me=n.n(fe),be=n(39),he=n.n(be),ye=n(54),ge=n(176);function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ee=Object(m.withSpokenMessages)((function(e){var t=e.isActive,n=e.activeAttributes,r=e.addingLink,o=e.value,a=e.onChange,s=e.speak,c=e.stopAddingLink,l=Object(i.useMemo)(f.uniqueId,[r]),u=Object(i.useState)(),b=he()(u,2),h=b[0],y=b[1],g=Object(i.useMemo)((function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(r&&!t)return n;var o=n.startContainer;for(o=o.nextElementSibling||o;o.nodeType!==window.Node.ELEMENT_NODE;)o=o.parentNode;return o.closest("a")}}),[r,o.start,o.end]),O=ve({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},h),v=Object(i.createElement)(ye.a,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),E=Object(ge.a)(Object(d.sprintf)(Object(d.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),j=Object(ge.a)(Object(d.sprintf)(Object(d.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),w=[{id:"opensInNewTab",title:Object(d.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:E},{id:"sponsored",title:j}],_=window.wp.blockEditor.__experimentalLinkControl;return Object(i.createElement)(m.Popover,{key:l,anchorRef:g,focusOnMount:!!r&&"firstElement",onClose:c,position:"bottom center"},Object(i.createElement)(_,{value:O,onChange:function(e){e=ve(ve({},h),e);var n=O.url===e.url&&O.opensInNewTab!==e.opensInNewTab||O.noFollow!==e.noFollow||O.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==O.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==O.noFollow&&(e.sponsored=!1);var r=n&&void 0===e.url;if(y(r?e:void 0),!r){var i=Object(de.prependHTTP)(e.url),l=function(e){var t=e.noFollow,n=e.sponsored,r={type:"core/link",attributes:{url:e.url}},o=[];return e.opensInNewWindow&&(r.attributes.target="_blank",o.push("noreferrer noopener")),n&&(o.push("sponsored"),o.push("nofollow")),t&&o.push("nofollow"),o.length>0&&(o=Object(f.uniq)(o),r.attributes.rel=o.join(" ")),r}({url:i,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if(Object(p.isCollapsed)(o)&&!t){var u=e.title||i,m=Object(p.applyFormat)(Object(p.create)({text:u}),l,0,u.length);a(Object(p.insert)(o,m))}else{var b=Object(p.applyFormat)(o,l);b.start=b.end,b.activeFormats=[],a(b)}n||c(),function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=Object(de.getProtocol)(t);if(!Object(de.isValidProtocol)(n))return!1;if(Object(f.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var r=Object(de.getAuthority)(t);if(!Object(de.isValidAuthority)(r))return!1;var o=Object(de.getPath)(t);if(o&&!Object(de.isValidPath)(o))return!1;var a=Object(de.getQueryString)(t);if(a&&!Object(de.isValidQueryString)(a))return!1;var i=Object(de.getFragment)(t);if(i&&!Object(de.isValidFragment)(i))return!1}return!(Object(f.startsWith)(t,"#")&&!Object(de.isValidFragment)(t))}(i)?s(t?Object(d.__)("Link edited.","wordpress-seo"):Object(d.__)("Link inserted.","wordpress-seo"),"assertive"):s(Object(d.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive")}},forceIsEditingLink:r,settings:w}))}));var je=Object(d.__)("Link","wordpress-seo"),we={name:"core/link",title:je,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if(Object(p.isCollapsed)(e))return e;var o=(n||r).replace(/<[^>]+>/g,"").trim();return Object(de.isURL)(o)?(window.console.log("Created link:\n\n",o),Object(p.applyFormat)(e,{type:"core/link",attributes:{url:Object(pe.decodeEntities)(o)}})):e},edit:Object(m.withSpokenMessages)(function(e){ie()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=ue()(t);if(n){var o=ue()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ce()(this,e)});function o(){var e;return ee()(this,o),(e=r.apply(this,arguments)).addLink=e.addLink.bind(oe()(e)),e.stopAddingLink=e.stopAddingLink.bind(oe()(e)),e.onRemoveFormat=e.onRemoveFormat.bind(oe()(e)),e.state={addingLink:!1},e}return ne()(o,[{key:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=Object(p.getTextContent)(Object(p.slice)(t));r&&Object(de.isURL)(r)?n(Object(p.applyFormat)(t,{type:"core/link",attributes:{url:r}})):r&&Object(de.isEmail)(r)?n(Object(p.applyFormat)(t,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n(Object(p.removeFormat)(t,"core/link")),r(Object(d.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,o=e.onChange,a=window.wp.blockEditor,s=a.RichTextToolbarButton,c=a.RichTextShortcut;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c,{type:"primary",character:"k",onUse:this.addLink}),Object(i.createElement)(c,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&Object(i.createElement)(s,{name:"link",icon:"editor-unlink",title:Object(d.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&Object(i.createElement)(s,{name:"link",icon:"admin-links",title:je,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&Object(i.createElement)(Ee,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:o}))}}]),o}(i.Component))},_e=n(7),Te=n(35);function ke(e){var t=e.score,n=e.label,r=e.scoreValue;return Object(i.createElement)("div",null,Object(i.createElement)(_e.SvgIcon,Object(Te.getIconForScore)(t)),Object(i.createElement)("span",null," ",n," ",r&&Object(i.createElement)("strong",null,r)))}function Se(e){var t=e.checklist,n=e.onClick,r=t.every((function(e){return"good"===e.score}));return Object(i.createElement)(i.Fragment,null,t.map((function(e){return Object(i.createElement)(ke,O()({key:e.label},e))})),Object(i.createElement)("br",null),!r&&Object(i.createElement)(_e.Button,{onClick:n},Object(d.__)("Improve your post with Yoast SEO","wordpress-seo")))}function Re(e){var t,n=e.checklist,r=e.onClick;return t=n.every((function(e){return"good"===e.score}))?Object(d.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):Object(d.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,t),Object(i.createElement)(Se,{checklist:n,onClick:r}))}function Pe(e,t){if(t.getPreferences().isKeywordAnalysisActive){var n=Object(y.a)(t.getReadabilityResults().overallScore);e.push({label:Object(d.__)("Readability analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Ae(e,t){if(t.getPreferences().isContentAnalysisActive){var n=Object(y.a)(t.getResultsForFocusKeyword().overallScore);e.push({label:Object(d.__)("SEO analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Ce(e,t,n){if(n.getBlocks().some((function(e){return!0===e.attributes["is-yoast-schema-block"]}))){var r=t.getSchemaBlocksValidationResults(),o=Object.values(r);if(o&&o.length>0){var a=o.every((function(e){return e.result<=0}));e.push({label:Object(d.__)("Schema analysis:","wordpress-seo"),score:a?"good":"bad",scoreValue:a?Object(d.__)("Good","wordpress-seo"):Object(d.__)("Needs improvement","wordpress-seo")})}}}ke.propTypes={score:j.string.isRequired,label:j.string.isRequired,scoreValue:j.string},ke.defaultProps={scoreValue:""},Se.propTypes={checklist:w.a.array.isRequired,onClick:w.a.func.isRequired},Re.propTypes={checklist:w.a.array.isRequired,onClick:w.a.func.isRequired};var xe,Ie,De,Ne=Object(b.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/editor"),o=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:Object(d.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(o,t),Pe(o,t),Ae(o,t),Ce(o,n,r),{checklist:o}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}}))])(Re),Le=Object(b.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/editor"),o=[];return Pe(o,t),Ae(o,t),Ce(o,n,r),{checklist:o}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}}))])(Se),Me=n(16);function Fe(){return(Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qe(e){return Me.createElement("svg",Fe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1600","aria-hidden":"true"},e),xe||(xe=Me.createElement("g",{fill:"none",fillRule:"evenodd"},Me.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 10-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 00675-790"}),Me.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 00250 0v-559h186z"}))))}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ue(e){return Me.createElement("svg",Be({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400","aria-hidden":"true"},e),Ie||(Ie=Me.createElement("circle",{cx:200,cy:200,r:200,fill:"#1da1f2"})),De||(De=Me.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff"})))}function Ke(e){var t=e.permalink,n=encodeURI(t);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(d.__)("Share your post!","wordpress-seo")),Object(i.createElement)("ul",{className:"yoast-seo-social-share-buttons"},Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(qe,null),Object(d.__)("Facebook","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(Ue,null),Object(d.__)("Twitter","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("(Opens in a new browser tab)","wordpress-seo"))))))}Ke.propTypes={permalink:w.a.string.isRequired};var He=Object(b.compose)([Object(u.withSelect)((function(e){return{permalink:e("core/editor").getPermalink()}}))])(Ke),We=n(20);var Ge=n(248);window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){var t=Object(We.a)(),n=t.isPremium,r=n?"Yoast SEO Premium":"Yoast SEO",o=Object(i.createElement)(S,null);Object(l.updateCategory)("yoast-structured-data-blocks",{icon:o}),Object(l.updateCategory)("yoast-internal-linking-blocks",{icon:o});var a={isRtl:t.isRtl},p=e.getState().preferences,f=p.isKeywordAnalysisActive||p.isContentAnalysisActive,b=p.isZapierIntegrationActive&&!p.isZapierConnected;!Object(u.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]&&Object(u.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel"),Object(c.registerPlugin)("yoast-seo",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(s.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:Object(i.createElement)(R,null)},r),Object(i.createElement)(s.PluginSidebar,{name:"seo-sidebar",title:r},Object(i.createElement)(X,{store:e,theme:a})),Object(i.createElement)(i.Fragment,null,Object(i.createElement)(V,{store:e,theme:a}),Object(i.createElement)(Y.a,{target:"wpseo-metabox-root",store:e,theme:a})),f&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Ne,null)),n&&b&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(m.Slot,{name:"YoastZapierPrePublish"})),Object(i.createElement)(s.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(He,null)),f&&Object(i.createElement)(s.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Le,null)))},icon:Object(i.createElement)(R,null)})})(e),"function"==typeof Object(f.get)(window,"wp.blockEditor.__experimentalLinkControl")?[we].forEach((function(e){var t=e.name,n=e.replaces,r=a()(e,["name","replaces"]);n&&Object(u.dispatch)("core/rich-text").removeFormatTypes(n),t&&Object(p.registerFormatType)(t,r)})):console.warn(Object(d.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+Object(d.sprintf)(Object(d.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){Object(z.b)()&&e.dispatch(Object($.setMarkerStatus)("enabled"))}(e)},window.yoast.EditorData=Ge.a}]);
|
js/dist/{bulk-editor-1650.js → bulk-editor-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var n={};function t(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,s){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:s})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(s,i,function(n){return e[n]}.bind(null,i));return s},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=
|
1 |
+
!function(e){var n={};function t(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,s){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:s})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(s,i,function(n){return e[n]}.bind(null,i));return s},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=259)}({21:function(e,n){e.exports=window.jQuery},259:function(e,n,t){"use strict";t.r(n);var s,i=t(21),o=t.n(i);s=function(e){var n=e.find("[class^=wpseo-new]").first().attr("class"),t="#"+n+"-",s=t.replace("new","existing"),i=e.find("th[id^=col_existing_yoast]").first().text().replace("Existing ",""),a=n.replace("-new-","_save_"),r="wpseo_save_all_"+e.attr("class").split("wpseo_bulk_")[1],l=a.replace("wpseo_save_",""),u={newClass:"."+n,newId:t,existingId:s},c={submit_new:function(e){c.submitNew(e)},submitNew:function(e){var n,t=u.newId+e,s=u.existingId+e;n="select-one"===o()(u.newId+e).prop("type")?o()(t).find(":selected").text():o()(t).val();var r=o()(s).html();if(n===r)o()(t).val("");else{if(""===n&&!window.confirm("Are you sure you want to remove the existing "+i+"?"))return void o()(t).val("");var l={action:a,_ajax_nonce:wpseoBulkEditorNonce,wpseo_post_id:e,new_value:n,existing_value:r};o.a.post(ajaxurl,l,c.handleResponse)}},submit_all:function(e){c.submitAll(e)},submitAll:function(e){e.preventDefault();var n={action:r,_ajax_nonce:wpseoBulkEditorNonce,send:!1,items:{},existingItems:{}};o()(u.newClass).each((function(){var e=o()(this).data("id"),t=o()(this).val(),s=o()(u.existingId+e).html();""!==t&&(t===s?o()(u.newId+e).val(""):(n.send=!0,n.items[e]=t,n.existingItems[e]=s))})),n.send&&o.a.post(ajaxurl,n,c.handleResponses)},handle_response:function(e,n){c.handleResponse(e,n)},handleResponse:function(e,n){if("success"===n){var t=e;if("string"==typeof t&&(t=JSON.parse(t)),t instanceof Array)o.a.each(t,(function(){c.handleResponse(this,n)}));else if("success"===t.status){var s=t["new_"+l];o()(u.existingId+t.post_id).html(s.replace(/\\(?!\\)/g,"")),o()(u.newId+t.post_id).val("")}}},handle_responses:function(e,n){c.handleResponses(e,n)},handleResponses:function(e,n){var t=o.a.parseJSON(e);o.a.each(t,(function(){c.handleResponse(this,n)}))},set_events:function(){c.setEvents()},setEvents:function(){e.find(".wpseo-save").click((function(e){var n=o()(this).data("id");e.preventDefault(),c.submitNew(n,this)})),e.find(".wpseo-save-all").click(c.submitAll),e.find(u.newClass).keydown((function(e){if(13===e.which){e.preventDefault();var n=o()(this).data("id");c.submitNew(n,this)}}))}};return c},window.bulk_editor=s,window.bulkEditor=s,o()(document).ready((function(){o()('table[class*="wpseo_bulk"]').each((function(e,n){var t=o()(n);s(t).setEvents()}))}))}});
|
js/dist/{classic-editor-1650.js → classic-editor-1660.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=349)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:a,mode:e}}function d(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:a,label:n}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return a})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var r=n(0),a=Object(r.createContext)("location"),o=a.Provider,s=a.Consumer},,function(e,t,n){var r=n(86),a=n(87),o=n(88);e.exports=function(e){return r(e)||a(e)||o()}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(23),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(16)),o=i(n(129)),s=i(n(132));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,m,f,b=[],h={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),m=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},m),b.push(i),u<t.length-1&&(f=e(t.slice(u+1),n),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,o.default)(h))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return h})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(2),o=n(92),s=n(122),i=n(45),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("disabled"))}function h(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(b(),p()&&tinyMCE.on("AddEditor",(function(){h()})))}function v(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],b);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,h),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(98),a=n(99),o=n(100);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),a=n.n(r),o=n(2),s=n(78),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.l)(a,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(i.l)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),a=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s}));var r="SET_SETTINGS",a="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},s=function(e){return{type:a,src:e}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="WPSEO_SET_MARKER_STATUS",a=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(101);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},,,function(e,t,n){"use strict";var r=n(39),a=n.n(r),o=n(0),s=n(7),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,a=n(27),o=n.n(a),s=n(15),i=n.n(s),c=n(0),l=n(7),u=n(12),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(24),i=n(9),c=n(12),l=n.n(c),u=Object(i.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=u},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),a=n.n(r),o=n(19),s=n(0),i=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(s.useContext)(i.LocationContext);return Object(s.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return T}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(10),c=n.n(i),l=n(5),u=n.n(l),p=n(6),d=n.n(p),m=n(11),f=n.n(m),b=n(13),h=n.n(b),y=n(14),g=n.n(y),v=n(8),O=n.n(v),j=n(0),w=n(1),E=n.n(w);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=i.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(f()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(_(_({},this.state),{},c()({},e,_(_({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=s()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),l}(j.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(15),s=n.n(o),i=n(12),c=n.n(i),l=n(7),u=n(9),p=c.a.div(r||(r=s()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(l.Icon)(a||(a=s()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},,,,,,,,,,function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(5),s=n.n(o),i=n(6),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(1),v=n.n(g),O=n(94),j=n(23),w=n(35);var E=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function a(e){var t;s()(this,a);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(a,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),a}(y.Component);E.propTypes={results:v.a.array,marksButtonClassName:v.a.string,marksButtonStatus:v.a.string,setActiveMarker:v.a.func.isRequired,setMarkerPauseStatus:v.a.func.isRequired,activeMarker:v.a.string,keywordKey:v.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var k=E;t.a=Object(a.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(k)},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(10),a=n.n(r),o=n(5),s=n.n(o),i=n(6),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(3),v=n(7),O=n(1),j=n.n(O),w=n(62);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
@@ -10,13 +10,13 @@ Object(a.sprintf)(Object(a.__)("Return to your %s","wordpress-seo"),n)))))),Obje
|
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
Object(_.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(_.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
-
Object(_.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(S,{type:"info"},k()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(x,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};C.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var P=C,I=n(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(9),m=Object(d.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
17 |
Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
|
18 |
/* translators: %s : Expands to "Semrush". */
|
19 |
-
Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},b=n(47),h=n.n(b),y=n(5),g=n.n(y),v=n(6),O=n.n(v),j=n(11),w=n.n(j),E=n(13),k=n.n(E),_=n(14),T=n.n(_),R=n(8),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(52);var N="yoast-semrush-country-selector",q=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],M=function(e){k()(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T()(this,e)});function c(e){var t;return g()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=h()(C.a.mark((function e(){var t,n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=h()(C.a.mark((function e(t,n){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:N},Object(o.createElement)(u.SingleSelect,{id:N+"-select",label:Object(s.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:q,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(u.NewButton,{id:N+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(s.__)("Select country","wordpress-seo")))}}]),c}(o.Component);M.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},M.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var D=M,L=n(30),F=n.n(L),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(s.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var K=B,U=function(e){var t=e.data,n=e.width,r=e.height,a=e.fillColor,s=e.strokeColor,i=e.strokeWidth,c=e.className,l=e.mapChartDataToTableData,u=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.y}))))),b=r-i,h=t.map((function(e){var t=e.x/m*n,r=b-e.y/f*b+i;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(b+i," ")+h+" ".concat(n,",").concat(b+i);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:a,points:y}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:h})),l&&Object(o.createElement)(K,{data:t,mapChartDataToTableData:l,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};U.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},U.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var H=U,Y=n(54);var V=Object(d.makeOutboundLink)(),z=function(e){k()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=S()(t);if(n){var a=S()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return T()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(l.isEmpty)(i.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(H,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(V,{href:u},Object(s.sprintf)(
|
20 |
/* translators: %s expands to Semrush */
|
21 |
Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);z.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},z.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var W=z,G=Object(d.makeOutboundLink)(),$=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(s.sprintf)(
|
22 |
/* translators: %s: Expands to "Yoast SEO". */
|
@@ -24,11 +24,11 @@ Object(s.__)("Would you like to be able to add these related keyphrases to the %
|
|
24 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
25 |
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Z=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(s.sprintf)(
|
26 |
/* translators: %s: Expands to "Yoast SEO". */
|
27 |
-
Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)($,null),v&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(D,{countryCode:u,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(f,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(Z,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(W,{keyphrase:r,relatedKeyphrases:h,countryCode:u,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(6),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(3),E=n(7),k=n(24),_=n(1),T=n.n(_),R=n(12),S=n.n(R),x=n(42),C=n(81),P=n(9),I=S.a.p(r||(r=v()(["\n\tcolor: ",";\n\tmargin: 0;\n\tpadding-right: 8px;\n"])),k.colors.$color_upsell_text),A=S.a.div(a||(a=v()(["\n\tfont-size: 1em;\n\tdisplay: flex;\n\tflex-direction: ",";\n\t",": 4px solid ",";\n\tmargin: 16px 0;\n\tpadding: 0 0 0 8px;\n\tmax-width: 600px;\n\n\t> "," {\n\t\tmargin-bottom: ",";\n\t}\n"])),(function(e){return"horizontal"===e.alignment?"row":"column"}),Object(P.getDirectionalStyle)("border-left","border-right"),k.colors.$color_pink_dark,I,(function(e){return"vertical"===e.alignment&&"16px"})),N=S()(E.SvgIcon)(o||(o=v()(["\n\tmargin: ",";\n\ttransform: ",";\n"])),Object(P.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),Object(P.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),q=Object(P.makeOutboundLink)(E.UpsellLinkButton),
|
28 |
/* translators: %s expands to Yoast SEO Premium */
|
29 |
Object(w.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(O.createElement)("div",null,Object(O.createElement)(q,{href:n,className:"UpsellLinkButton"},Object(w.sprintf)(
|
30 |
/* translators: %s expands to Premium */
|
31 |
-
Object(w.__)("Go %s!","wordpress-seo"),"Premium"),Object(O.createElement)(N,{icon:"arrow-right",size:"8px",color:k.colors.$color_black}))))};
|
32 |
/* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
|
33 |
Object(w.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=Y()({mixedString:t,components:{link:Object(O.createElement)(Z,{href:e.link})}}),r=["<strong>".concat(Object(w.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(w.sprintf)(
|
34 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
@@ -48,7 +48,7 @@ Object(w.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo")
|
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(w.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(O.createElement)($,{infoParagraphs:[r,a],benefits:n,upsellButtonText:Object(w.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
-
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(w.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:T.a.string.isRequired,buyLink:T.a.string.isRequired};var te,ne=ee,re=n(39),ae=n.n(re),oe=n(53),se=S.a.button(te||(te=v()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),ie={open:Object(w.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(w.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(O.useState)(!1),n=ae()(t,2),r=n[0],a=n[1],o=Object.assign({},ie,e.labels),s=Object(O.useCallback)((function(){return a(!1)}),[]),i=Object(O.useCallback)((function(){return a(!0)}),[]);return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(se,{type:"button",onClick:i,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(O.createElement)(E.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),o.open),r&&Object(O.createElement)(oe.a,{onRequestClose:s,className:e.className,title:o.heading},e.children))};ce.propTypes={openButtonIcon:T.a.string,labels:T.a.shape({open:T.a.string,modalAriaLabel:T.a.string.isRequired,heading:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}).isRequired,classes:T.a.shape({openButton:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}),className:T.a.string,children:T.a.any.isRequired},ce.defaultProps={className:oe.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
@@ -56,11 +56,11 @@ Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["
|
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
-
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:E.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(O.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=K.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(O.createElement)(r,{prefixIcon:{icon:"plus",color:k.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:k.colors.$color_grey_medium_dark},title:Object(w.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(O.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(O.createElement)(F,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(O.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(w.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(O.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?K.a:pe.a;return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(r,{title:Object(w.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(O.createElement)(me,{location:n}),e.props.shouldUpsell&&Object(O.createElement)(O.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(O.createElement)(ge,null,Object(w.__)("Analysis results","wordpress-seo")),Object(O.createElement)(C.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),a}(O.Component);ve.propTypes={results:T.a.array,marksButtonStatus:T.a.string,keyword:T.a.string,shouldUpsell:T.a.bool,shouldUpsellWordFormRecognition:T.a.bool,overallScore:T.a.number},ve.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(j.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,a=n.getMarksButtonStatus,o=n.getResultsForKeyword,s=r();return ye(ye({},o(s)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":a(),keyword:s})}))(ve)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=n(2),c=function(){function e(){a()(this,e)}return s()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(i.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),l=function(){function e(){a()(this,e)}return s()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return s()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),l.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(i.defaults)(e,u),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(19),o=n(4),s=n(0),i=n(3),c=n(7),l=n(9),u=n(1),p=n.n(u),d=n(5),m=n.n(d),f=n(6),b=n.n(f),h=n(13),y=n.n(h),g=n(14),v=n.n(g),O=n(8),j=n.n(O),w=n(15),E=n.n(w),k=n(12);var _=n.n(k).a.div(r||(r=E()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),T=function(e){y()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=j()(t);if(n){var a=j()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return v()(this,e)});function a(){return m()(this,a),r.apply(this,arguments)}return b()(a,[{key:"render",value:function(){return Object(s.createElement)(_,null,Object(s.createElement)(c.Toggle,{id:this.props.id,labelText:Object(i.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),a}(s.Component);T.propTypes={id:p.a.string,isEnabled:p.a.bool,onToggle:p.a.func,onToggleDisabled:p.a.func},T.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var R=T,S=n(51),x=n(50),C=Object(l.makeOutboundLink)();function P(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,a=e.location,o="metabox"===a?S.a:x.a;return Object(s.createElement)(o,{id:Object(l.join)(["yoast-cornerstone-collapsible",a]),title:Object(i.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)(c.HelpText,null,Object(i.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(s.createElement)(C,{href:r},Object(i.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(s.createElement)(R,{id:Object(l.join)(["yoast-cornerstone",a]),isEnabled:t,onToggle:n}))}P.propTypes={isCornerstone:p.a.bool,onChange:p.a.func,learnMoreUrl:p.a.string.isRequired,location:p.a.string},P.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var I=n(57);t.a=Object(a.compose)([Object(o.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(o.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(I.a)()])(P)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=n(11),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(15),h=n.n(b),y=n(0),g=n(18),v=n(19),O=n(4),j=n(3),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(22),R=n(47),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(7),N=n(68),q=n(53),M=n(110),D=n(91);var L=function(e){u()(l,e);var t,n,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f()(r);if(o){var n=f()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function l(e){var t;return a()(this,l),(t=i.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return s()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(D.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=S()(C.a.mark((function e(t){var n,r;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=S()(C.a.mark((function e(t){var n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,I()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(a=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(a.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,a=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(j.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(q.a,{title:Object(j.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(M.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(N.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(j.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);L.propTypes={keyphrase:E.a.string,location:E.a.string,whichModalOpen:E.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:E.a.bool,onOpen:E.a.func.isRequired,onOpenWithNoKeyphrase:E.a.func.isRequired,onClose:E.a.func.isRequired,onAuthentication:E.a.func.isRequired},L.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var F,B=L,K=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,a=t.setSEMrushDismissModal,o=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){a()},onAuthentication:function(e){o(e)}}}))])(B),U=n(28),H=n(54);var Y=_.a.div(F||(F=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),V=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return s()(o,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(j.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(j.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(j.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(U.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(T.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(j.__)("Focus keyphrase","wordpress-seo"),helpLink:o.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(K,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),o}(y.Component);V.propTypes={keyword:E.a.string,onFocusKeywordChange:E.a.func.isRequired,onFocusKeyword:E.a.func.isRequired,onBlurKeyword:E.a.func.isRequired,isSEMrushIntegrationActive:E.a.bool,displayNoKeyphraseMessage:E.a.bool},V.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(V)},function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(6),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(3),R=n(2),S=n(95),x=n(81),C=n(50),P=n(42),I=n(35),A=n(28),N=n(54),q=n(36);function M(e){var t=e.target,n=e.children;return Object(O.createElement)(q.a,{target:t},n)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}M.propTypes={target:E.a.string.isRequired,children:E.a.node.isRequired};var F=_.a.span(r||(r=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=_.a.div(a||(a=v()(["\n\tpadding: 16px;\n"]))),K=_()(N.a)(o||(o=v()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),U=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderResults",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(F,null,Object(T.__)("Analysis results","wordpress-seo"),Object(O.createElement)(K,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(O.createElement)("span",{className:"screen-reader-text"},Object(T.__)("Learn more about the readability analysis","wordpress-seo")))),Object(O.createElement)(x.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(O.createElement)(A.LocationConsumer,null,(function(n){return"sidebar"===n?Object(O.createElement)(C.a,{title:Object(T.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(I.getIconForScore)(t.className),prefixIconCollapsed:Object(I.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(O.createElement)(M,{target:"wpseo-metabox-readability-root"},Object(O.createElement)(B,null,Object(O.createElement)(S.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),a}(O.Component);U.propTypes={results:E.a.array.isRequired,marksButtonStatus:E.a.string.isRequired,overallScore:E.a.number},U.defaultProps={overallScore:null},t.a=Object(j.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return L(L({},n()),{},{marksButtonStatus:r()})}))(U)},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),s=n(0),i=n(19),c=n(4),l=n(3),u=n(1),p=n.n(u),d=n(30),m=n.n(d),f=n(15),b=n.n(f),h=n(7),y=n(9),g=n(37),v=n.n(g),O=n(12),j=n.n(O),w=n(84),E=j.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),k=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
-
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(m()(e))},
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
-
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
@@ -68,16 +68,16 @@ Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlur
|
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(s.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},d.defaultProps={isPrivateBlog:!1};var m=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(i.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(s.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
-
Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(s.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};m.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var f=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(s.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};f.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,s=e.canonical,i=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:i,editorContext:v,isPrivateBlog:j},E={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},k={advanced:r,onAdvancedChange:l},_={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},T={canonical:s,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),v.isPost&&Object(o.createElement)(m,E),v.isPost&&Object(o.createElement)(f,k),!O&&Object(o.createElement)(b,_),Object(o.createElement)(h,T))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,s=t.getCanonical,i=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(93),s=n(130),i=n(131),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function g(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=h.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(i=t[m],d+l(i,m),r,o);else{var f=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var b,h=f.call(t),y=0;!(b=h.next()).done;)p+=e(i=b.value,d+l(i,y++),r,o);else if("object"===u){var g=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=h).instancePool=[],m.getPooled=d||f,m.poolSize||(m.poolSize=10),m.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,s,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(93);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(97),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(97),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),a=n(7);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(10),a=n.n(r),o=n(27),s=n.n(o),i=n(0),c=n(19),l=n(4),u=n(3),p=n(146),d=n(28),m=n(111),f=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(f.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,s=t.getReplaceVars,i=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,m=s();return m.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:m,shoppingData:i(),wordsToHighlight:d()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,s=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),s&&s.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(i.createElement)(d.LocationConsumer,null,(function(t){return Object(i.createElement)(m.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(i.createElement)(p.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(147),c=n(20),l=n(57),u=n(89),p=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,s=t.getFacebookImageUrl,i=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,p=t.getSeoTitle,d=t.getTwitterWarnings,m=t.getTwitterImageType,f=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,v=t.getSeoTitleTemplate,O=t.getSeoTitleTemplateNoFallback,j=t.getSocialTitleTemplate,w=t.getSeoDescriptionTemplate,E=t.getSocialDescriptionTemplate,k=t.getReplacedExcerpt,_=Object(o.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),T=Object(o.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:a(),imageFallbackUrl:s()||f(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:E()||l()||u()||w()||k()||T,title:r(),titlePreviewFallback:j()||i()||p()||O()||v()||_,imageWarnings:d(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==m(),titleInputPlaceholder:_,descriptionInputPlaceholder:T,socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),w=Object(o.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:l(),recommendedReplacementVariables:p(),replacementVariables:d(),description:n(),descriptionPreviewFallback:v()||r()||g()||O()||w,title:a(),titlePreviewFallback:y()||s()||h()||b()||j,imageWarnings:u(),authorName:f(),siteUrl:m(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:j,descriptionInputPlaceholder:w,socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),s=n(18),i=n(
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(j.a,null)),n&&Object(r.createElement)(g.a
|
83 |
-
/* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};E.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var k=E,_=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(k),T=n(36);function R(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(_,null))}R.propTypes={target:o.a.string.isRequired};var S=n(
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=350)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:a,mode:e}}function d(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:a,label:n}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return a})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var r=n(0),a=Object(r.createContext)("location"),o=a.Provider,s=a.Consumer},,function(e,t,n){var r=n(87),a=n(88),o=n(89);e.exports=function(e){return r(e)||a(e)||o()}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(23),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(16)),o=i(n(130)),s=i(n(133));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,m,f,b=[],h={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),m=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},m),b.push(i),u<t.length-1&&(f=e(t.slice(u+1),n),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,o.default)(h))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return h})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(2),o=n(93),s=n(123),i=n(45),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("disabled"))}function h(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(b(),p()&&tinyMCE.on("AddEditor",(function(){h()})))}function v(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],b);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,h),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(99),a=n(100),o=n(101);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),a=n.n(r),o=n(2),s=n(78),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.l)(a,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(i.l)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),a=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s}));var r="SET_SETTINGS",a="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},s=function(e){return{type:a,src:e}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="WPSEO_SET_MARKER_STATUS",a=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},,,function(e,t,n){"use strict";var r=n(39),a=n.n(r),o=n(0),s=n(7),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,a=n(27),o=n.n(a),s=n(15),i=n.n(s),c=n(0),l=n(7),u=n(12),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","classNam |