Yoast SEO - Version 19.6.1

Version Description

Release Date: August 31st, 2022

Other:

  • Fixes compliance with the wordpress.org plugin guidelines.
Download this release

Release Info

Developer Yoast
Plugin Icon 128x128 Yoast SEO
Version 19.6.1
Comparing to
See all releases

Code changes from version 19.6 to 19.6.1

Files changed (91) hide show
  1. admin/class-admin-asset-manager.php +1 -0
  2. admin/class-admin-init.php +0 -18
  3. admin/class-admin-user-profile.php +0 -1
  4. admin/class-expose-shortlinks.php +0 -1
  5. admin/class-inclusive-language-notice.php +0 -142
  6. admin/formatter/class-metabox-formatter.php +4 -36
  7. admin/formatter/class-post-metabox-formatter.php +29 -35
  8. admin/formatter/class-term-metabox-formatter.php +22 -7
  9. admin/metabox/class-metabox.php +3 -18
  10. admin/taxonomy/class-taxonomy-fields.php +0 -7
  11. admin/taxonomy/class-taxonomy-metabox.php +52 -14
  12. admin/taxonomy/class-taxonomy.php +2 -14
  13. admin/views/class-yoast-feature-toggles.php +1 -1
  14. admin/views/tabs/dashboard/features.php +9 -8
  15. admin/views/user-profile.php +1 -11
  16. css/dist/{admin-global-1960-rtl.css → admin-global-1961-rtl.css} +0 -0
  17. css/dist/{admin-global-1960.css → admin-global-1961.css} +0 -0
  18. css/dist/{adminbar-1960-rtl.css → adminbar-1961-rtl.css} +0 -0
  19. css/dist/{adminbar-1960.css → adminbar-1961.css} +0 -0
  20. css/dist/{alerts-1960-rtl.css → alerts-1961-rtl.css} +0 -0
  21. css/dist/{alerts-1960.css → alerts-1961.css} +0 -0
  22. css/dist/{dashboard-1960-rtl.css → dashboard-1961-rtl.css} +0 -0
  23. css/dist/{dashboard-1960.css → dashboard-1961.css} +0 -0
  24. css/dist/{edit-page-1960-rtl.css → edit-page-1961-rtl.css} +0 -0
  25. css/dist/{edit-page-1960.css → edit-page-1961.css} +0 -0
  26. css/dist/{elementor-1960-rtl.css → elementor-1961-rtl.css} +0 -0
  27. css/dist/{elementor-1960.css → elementor-1961.css} +0 -0
  28. css/dist/{featured-image-1960-rtl.css → featured-image-1961-rtl.css} +0 -0
  29. css/dist/{featured-image-1960.css → featured-image-1961.css} +0 -0
  30. css/dist/{filter-explanation-1960-rtl.css → filter-explanation-1961-rtl.css} +0 -0
  31. css/dist/{filter-explanation-1960.css → filter-explanation-1961.css} +0 -0
  32. css/dist/{icons-1960-rtl.css → icons-1961-rtl.css} +0 -0
  33. css/dist/{icons-1960.css → icons-1961.css} +0 -0
  34. css/dist/{inside-editor-1960-rtl.css → inside-editor-1961-rtl.css} +0 -0
  35. css/dist/{inside-editor-1960.css → inside-editor-1961.css} +0 -0
  36. css/dist/{metabox-1960-rtl.css → metabox-1961-rtl.css} +0 -0
  37. css/dist/{metabox-1960.css → metabox-1961.css} +0 -0
  38. css/dist/{metabox-primary-category-1960-rtl.css → metabox-primary-category-1961-rtl.css} +0 -0
  39. css/dist/{metabox-primary-category-1960.css → metabox-primary-category-1961.css} +0 -0
  40. css/dist/{modal-1960-rtl.css → modal-1961-rtl.css} +0 -0
  41. css/dist/{modal-1960.css → modal-1961.css} +0 -0
  42. css/dist/{monorepo-1960-rtl.css → monorepo-1961-rtl.css} +0 -0
  43. css/dist/{monorepo-1960.css → monorepo-1961.css} +0 -0
  44. css/dist/{new-settings-1960-rtl.css → new-settings-1961-rtl.css} +0 -0
  45. css/dist/{new-settings-1960.css → new-settings-1961.css} +0 -0
  46. css/dist/{notifications-1960-rtl.css → notifications-1961-rtl.css} +0 -0
  47. css/dist/{notifications-1960.css → notifications-1961.css} +0 -0
  48. css/dist/{schema-blocks-1960-rtl.css → schema-blocks-1961-rtl.css} +0 -0
  49. css/dist/{schema-blocks-1960.css → schema-blocks-1961.css} +0 -0
  50. css/dist/{score_icon-1960-rtl.css → score_icon-1961-rtl.css} +0 -0
  51. css/dist/{score_icon-1960.css → score_icon-1961.css} +0 -0
  52. css/dist/{search-appearance-1960-rtl.css → search-appearance-1961-rtl.css} +0 -0
  53. css/dist/{search-appearance-1960.css → search-appearance-1961.css} +0 -0
  54. css/dist/{structured-data-blocks-1960-rtl.css → structured-data-blocks-1961-rtl.css} +0 -0
  55. css/dist/{structured-data-blocks-1960.css → structured-data-blocks-1961.css} +0 -0
  56. css/dist/{tailwind-1960-rtl.css → tailwind-1961-rtl.css} +0 -0
  57. css/dist/{tailwind-1960.css → tailwind-1961.css} +0 -0
  58. css/dist/{toggle-switch-1960-rtl.css → toggle-switch-1961-rtl.css} +0 -0
  59. css/dist/{toggle-switch-1960.css → toggle-switch-1961.css} +0 -0
  60. css/dist/{tooltips-1960-rtl.css → tooltips-1961-rtl.css} +0 -0
  61. css/dist/{tooltips-1960.css → tooltips-1961.css} +0 -0
  62. css/dist/{workouts-1960-rtl.css → workouts-1961-rtl.css} +0 -0
  63. css/dist/{workouts-1960.css → workouts-1961.css} +0 -0
  64. css/dist/{wpseo-dismissible-1960-rtl.css → wpseo-dismissible-1961-rtl.css} +0 -0
  65. css/dist/{wpseo-dismissible-1960.css → wpseo-dismissible-1961.css} +0 -0
  66. css/dist/{yoast-components-1960-rtl.css → yoast-components-1961-rtl.css} +0 -0
  67. css/dist/{yoast-components-1960.css → yoast-components-1961.css} +0 -0
  68. css/dist/{yoast-extensions-1960-rtl.css → yoast-extensions-1961-rtl.css} +0 -0
  69. css/dist/{yoast-extensions-1960.css → yoast-extensions-1961.css} +0 -0
  70. css/dist/{yst_plugin_tools-1960-rtl.css → yst_plugin_tools-1961-rtl.css} +0 -0
  71. css/dist/{yst_plugin_tools-1960.css → yst_plugin_tools-1961.css} +0 -0
  72. css/dist/{yst_seo_score-1960-rtl.css → yst_seo_score-1961-rtl.css} +0 -0
  73. css/dist/{yst_seo_score-1960.css → yst_seo_score-1961.css} +0 -0
  74. inc/class-wpseo-admin-bar-menu.php +8 -34
  75. inc/class-wpseo-meta.php +10 -30
  76. inc/options/class-wpseo-taxonomy-meta.php +0 -1
  77. inc/wpseo-functions-deprecated.php +14 -0
  78. js/dist/37.js +1 -1
  79. js/dist/addon-installation.js +2 -2
  80. js/dist/admin-global.js +1 -1
  81. js/dist/admin-modules.js +2 -2
  82. js/dist/analysis-worker.js +1 -1
  83. js/dist/api-client.js +1 -1
  84. js/dist/block-editor.js +39 -39
  85. js/dist/bulk-editor.js +1 -1
  86. js/dist/classic-editor.js +20 -20
  87. js/dist/dashboard-widget.js +4 -4
  88. js/dist/dynamic-blocks.js +1 -1
  89. js/dist/edit-page.js +1 -1
  90. js/dist/editor-modules.js +30 -30
  91. js/dist/elementor.js +6 -7
admin/class-admin-asset-manager.php CHANGED
@@ -241,6 +241,7 @@ class WPSEO_Admin_Asset_Manager {
241
  'analysis-worker' => [ self::PREFIX . 'analysis-package' ],
242
  'api-client' => [ 'wp-api' ],
243
  'dashboard-widget' => [ self::PREFIX . 'api-client' ],
 
244
  'elementor' => [
245
  self::PREFIX . 'api-client',
246
  self::PREFIX . 'externals-components',
241
  'analysis-worker' => [ self::PREFIX . 'analysis-package' ],
242
  'api-client' => [ 'wp-api' ],
243
  'dashboard-widget' => [ self::PREFIX . 'api-client' ],
244
+ 'editor-modules' => [ 'jquery' ],
245
  'elementor' => [
246
  self::PREFIX . 'api-client',
247
  self::PREFIX . 'externals-components',
admin/class-admin-init.php CHANGED
@@ -48,7 +48,6 @@ class WPSEO_Admin_Init {
48
  $this->load_admin_user_class();
49
  $this->load_xml_sitemaps_admin();
50
  $this->load_plugin_suggestions();
51
- $this->set_inclusive_language_notice();
52
  }
53
 
54
  /**
@@ -189,23 +188,6 @@ class WPSEO_Admin_Init {
189
  }
190
  }
191
 
192
- /**
193
- * Sets the inclusive language notification.
194
- *
195
- * Notification should pop up if user has Premium activated, the site language is English and the feature toggle is not switched on.
196
- */
197
- protected function set_inclusive_language_notice() {
198
- $inclusive_language = new WPSEO_Inclusive_Language_Notice( Yoast_Notification_Center::get() );
199
-
200
- if ( $inclusive_language->should_show_notification() ) {
201
- $inclusive_language->add_notification();
202
- $inclusive_language->dismiss_notice_listener();
203
- }
204
- else {
205
- $inclusive_language->remove_notification();
206
- }
207
- }
208
-
209
  /**
210
  * Registers the promotion class for our GlotPress instance, then creates a notification with the i18n promo.
211
  *
48
  $this->load_admin_user_class();
49
  $this->load_xml_sitemaps_admin();
50
  $this->load_plugin_suggestions();
 
51
  }
52
 
53
  /**
188
  }
189
  }
190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  /**
192
  * Registers the promotion class for our GlotPress instance, then creates a notification with the i18n promo.
193
  *
admin/class-admin-user-profile.php CHANGED
@@ -74,7 +74,6 @@ class WPSEO_Admin_User_Profile {
74
  update_user_meta( $user_id, 'wpseo_noindex_author', $this->filter_input_post( 'wpseo_noindex_author' ) );
75
  update_user_meta( $user_id, 'wpseo_content_analysis_disable', $this->filter_input_post( 'wpseo_content_analysis_disable' ) );
76
  update_user_meta( $user_id, 'wpseo_keyword_analysis_disable', $this->filter_input_post( 'wpseo_keyword_analysis_disable' ) );
77
- update_user_meta( $user_id, 'wpseo_inclusive_language_analysis_disable', $this->filter_input_post( 'wpseo_inclusive_language_analysis_disable' ) );
78
  }
79
 
80
  /**
74
  update_user_meta( $user_id, 'wpseo_noindex_author', $this->filter_input_post( 'wpseo_noindex_author' ) );
75
  update_user_meta( $user_id, 'wpseo_content_analysis_disable', $this->filter_input_post( 'wpseo_content_analysis_disable' ) );
76
  update_user_meta( $user_id, 'wpseo_keyword_analysis_disable', $this->filter_input_post( 'wpseo_keyword_analysis_disable' ) );
 
77
  }
78
 
79
  /**
admin/class-expose-shortlinks.php CHANGED
@@ -52,7 +52,6 @@ class WPSEO_Expose_Shortlinks implements WPSEO_WordPress_Integration {
52
  'shortlinks.upsell.metabox.word_complexity' => 'https://yoa.st/word-complexity-metabox',
53
  'shortlinks.upsell.gsc.create_redirect_button' => 'https://yoa.st/redirects',
54
  'shortlinks.readability_analysis_info' => 'https://yoa.st/readability-analysis',
55
- 'shortlinks.inclusive_language_analysis_info' => 'https://yoa.st/inclusive-language-analysis',
56
  'shortlinks.activate_premium_info' => 'https://yoa.st/activate-subscription',
57
  'shortlinks.upsell.sidebar.morphology_upsell_metabox' => 'https://yoa.st/morphology-upsell-metabox',
58
  'shortlinks.upsell.sidebar.morphology_upsell_sidebar' => 'https://yoa.st/morphology-upsell-sidebar',
52
  'shortlinks.upsell.metabox.word_complexity' => 'https://yoa.st/word-complexity-metabox',
53
  'shortlinks.upsell.gsc.create_redirect_button' => 'https://yoa.st/redirects',
54
  'shortlinks.readability_analysis_info' => 'https://yoa.st/readability-analysis',
 
55
  'shortlinks.activate_premium_info' => 'https://yoa.st/activate-subscription',
56
  'shortlinks.upsell.sidebar.morphology_upsell_metabox' => 'https://yoa.st/morphology-upsell-metabox',
57
  'shortlinks.upsell.sidebar.morphology_upsell_sidebar' => 'https://yoa.st/morphology-upsell-sidebar',
admin/class-inclusive-language-notice.php DELETED
@@ -1,142 +0,0 @@
1
- <?php
2
- /**
3
- * WPSEO plugin file.
4
- *
5
- * @package WPSEO\Admin
6
- */
7
-
8
- /**
9
- * Represents the notice for the Inclusive language feature.
10
- */
11
- class WPSEO_Inclusive_Language_Notice {
12
-
13
- /**
14
- * Holds the name of the user meta key.
15
- *
16
- * The value of this database field holds whether the user has dismissed this notice or not.
17
- *
18
- * @var string
19
- */
20
- const USER_META_DISMISSED = 'wpseo-remove-inclusive-language-notice';
21
-
22
- /**
23
- * Holds the option name.
24
- *
25
- * @var string
26
- */
27
- const OPTION_NAME = 'wpseo';
28
-
29
- /**
30
- * The Premium version in which the Inclusive language feature was added.
31
- */
32
- const PREMIUM_VERSION_ADDED = '19.2-RC1';
33
-
34
- /**
35
- * Holds the notification center.
36
- *
37
- * @var Yoast_Notification_Center
38
- */
39
- protected $notification_center;
40
-
41
- /**
42
- * WPSEO_Inclusive_Language_Notice constructor.
43
- *
44
- * @param Yoast_Notification_Center $notification_center The notification center to add notifications to.
45
- */
46
- public function __construct( Yoast_Notification_Center $notification_center ) {
47
- $this->notification_center = $notification_center;
48
- }
49
-
50
- /**
51
- * Listener for the notice.
52
- */
53
- public function dismiss_notice_listener() {
54
- if ( filter_input( INPUT_GET, 'yoast_dismiss' ) !== 'upsell' ) {
55
- return;
56
- }
57
-
58
- $this->dismiss_notice();
59
-
60
- wp_safe_redirect( admin_url( 'admin.php?page=wpseo_dashboard' ) );
61
- exit;
62
- }
63
-
64
- /**
65
- * Adds a notification to the notification center.
66
- */
67
- public function add_notification() {
68
- $this->notification_center->add_notification( $this->get_notification() );
69
- }
70
-
71
- /**
72
- * Removes a notification from the notification center.
73
- */
74
- public function remove_notification() {
75
- $this->notification_center->remove_notification( $this->get_notification() );
76
- }
77
-
78
- /**
79
- * Whether the notification should be shown.
80
- *
81
- * @return bool Whether or not the notification should be shown.
82
- */
83
- public function should_show_notification() {
84
- $availability = new WPSEO_Metabox_Analysis_Inclusive_Language();
85
-
86
- return YoastSEO()->helpers->product->is_premium()
87
- && YoastSEO()->helpers->language->has_inclusive_language_support( \WPSEO_Language_Utils::get_language( \get_locale() ) )
88
- && ! $availability->is_globally_enabled()
89
- && \version_compare( YoastSEO()->helpers->product->get_premium_version(), self::PREMIUM_VERSION_ADDED, '>=' );
90
- }
91
-
92
- /**
93
- * Gets the notification value.
94
- *
95
- * @return Yoast_Notification
96
- */
97
- protected function get_notification() {
98
- if ( is_multisite() && get_site_option( 'wpseo_ms' )['allow_inclusive_language_analysis_active'] === false ) {
99
- $message = sprintf(
100
- /* translators: %1$s is a link to the Features tab on the Yoast SEO Dashboard page, %2$s is a link to the blog post about this feature, %3$s is the link closing tag. */
101
- __(
102
- '<strong>New in Yoast SEO Premium 19.2:</strong> Did you know that you can now get feedback on the use of inclusive language? This feature is disabled by default. Please contact your Network admin if you want to enable it. %2$sLearn more about this feature%3$s.',
103
- 'wordpress-seo'
104
- ),
105
- '<a href="' . admin_url( 'admin.php?page=wpseo_dashboard#top#features' ) . '">',
106
- '<a href="' . WPSEO_Shortlinker::get( 'https://yoa.st/inclusive-language-notification' ) . '" target="_blank">',
107
- '</a>'
108
- );
109
- }
110
- else {
111
- $message = sprintf(
112
- /* translators: %1$s is a link to the Features tab on the Yoast SEO Dashboard page, %2$s is a link to the blog post about this feature, %3$s is the link closing tag. */
113
- __(
114
- '<strong>New in Yoast SEO Premium 19.2:</strong> Did you know that you can now %1$senable the beta version of our inclusive language feature%3$s to get feedback on the use of inclusive language? This feature is disabled by default. %2$sLearn more about this feature%3$s.',
115
- 'wordpress-seo'
116
- ),
117
- '<a href="' . admin_url( 'admin.php?page=wpseo_dashboard#top#features' ) . '">',
118
- '<a href="' . WPSEO_Shortlinker::get( 'https://yoa.st/inclusive-language-notification' ) . '" target="_blank">',
119
- '</a>'
120
- );
121
- }
122
-
123
- $notification = new Yoast_Notification(
124
- $message,
125
- [
126
- 'type' => Yoast_Notification::WARNING,
127
- 'id' => 'wpseo-inclusive-language-notice',
128
- 'capabilities' => 'wpseo_manage_options',
129
- 'priority' => 0.8,
130
- ]
131
- );
132
-
133
- return $notification;
134
- }
135
-
136
- /**
137
- * Dismisses the notice.
138
- */
139
- protected function dismiss_notice() {
140
- update_user_meta( get_current_user_id(), self::USER_META_DISMISSED, true );
141
- }
142
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/formatter/class-metabox-formatter.php CHANGED
@@ -53,11 +53,10 @@ class WPSEO_Metabox_Formatter {
53
  * @return array Default settings for the metabox.
54
  */
55
  private function get_defaults() {
56
- $analysis_seo = new WPSEO_Metabox_Analysis_SEO();
57
- $analysis_readability = new WPSEO_Metabox_Analysis_Readability();
58
- $analysis_inclusive_language = new WPSEO_Metabox_Analysis_Inclusive_Language();
59
- $schema_types = new Schema_Types();
60
- $is_wincher_active = YoastSEO()->helpers->wincher->is_active();
61
 
62
  return [
63
  'author_name' => get_the_author_meta( 'display_name' ),
@@ -77,7 +76,6 @@ class WPSEO_Metabox_Formatter {
77
  'metadesc_template' => '',
78
  'contentAnalysisActive' => $analysis_readability->is_enabled() ? 1 : 0,
79
  'keywordAnalysisActive' => $analysis_seo->is_enabled() ? 1 : 0,
80
- 'inclusiveLanguageAnalysisActive' => $analysis_inclusive_language->is_enabled() ? 1 : 0,
81
  'cornerstoneActive' => WPSEO_Options::get( 'enable_cornerstone_content', false ) ? 1 : 0,
82
  'semrushIntegrationActive' => WPSEO_Options::get( 'semrush_integration_active', true ) ? 1 : 0,
83
  'intl' => $this->get_content_analysis_component_translations(),
@@ -166,36 +164,6 @@ class WPSEO_Metabox_Formatter {
166
  '<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
167
  ),
168
  ],
169
- 'inclusive-language' => [
170
- 'na' => sprintf(
171
- /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */
172
- __( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ),
173
- '<a href="#yoast-inclusive-language-analysis-collapsible-metabox">',
174
- '</a>',
175
- '<strong>' . __( 'Not available', 'wordpress-seo' ) . '</strong>'
176
- ),
177
- 'bad' => sprintf(
178
- /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */
179
- __( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ),
180
- '<a href="#yoast-inclusive-language-analysis-collapsible-metabox">',
181
- '</a>',
182
- '<strong>' . __( 'Needs improvement', 'wordpress-seo' ) . '</strong>'
183
- ),
184
- 'ok' => sprintf(
185
- /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */
186
- __( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ),
187
- '<a href="#yoast-inclusive-language-analysis-collapsible-metabox">',
188
- '</a>',
189
- '<strong>' . __( 'OK', 'wordpress-seo' ) . '</strong>'
190
- ),
191
- 'good' => sprintf(
192
- /* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */
193
- __( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ),
194
- '<a href="#yoast-inclusive-language-analysis-collapsible-metabox">',
195
- '</a>',
196
- '<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
197
- ),
198
- ],
199
  ],
200
  ],
201
  'markdownEnabled' => $this->is_markdown_enabled(),
53
  * @return array Default settings for the metabox.
54
  */
55
  private function get_defaults() {
56
+ $analysis_seo = new WPSEO_Metabox_Analysis_SEO();
57
+ $analysis_readability = new WPSEO_Metabox_Analysis_Readability();
58
+ $schema_types = new Schema_Types();
59
+ $is_wincher_active = YoastSEO()->helpers->wincher->is_active();
 
60
 
61
  return [
62
  'author_name' => get_the_author_meta( 'display_name' ),
76
  'metadesc_template' => '',
77
  'contentAnalysisActive' => $analysis_readability->is_enabled() ? 1 : 0,
78
  'keywordAnalysisActive' => $analysis_seo->is_enabled() ? 1 : 0,
 
79
  'cornerstoneActive' => WPSEO_Options::get( 'enable_cornerstone_content', false ) ? 1 : 0,
80
  'semrushIntegrationActive' => WPSEO_Options::get( 'semrush_integration_active', true ) ? 1 : 0,
81
  'intl' => $this->get_content_analysis_component_translations(),
164
  '<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
165
  ),
166
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  ],
168
  ],
169
  'markdownEnabled' => $this->is_markdown_enabled(),
admin/formatter/class-post-metabox-formatter.php CHANGED
@@ -51,10 +51,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
51
  * @return bool Whether the social templates should be used.
52
  */
53
  public function use_social_templates() {
54
- return YoastSEO()->helpers->product->is_premium()
55
- && defined( 'WPSEO_PREMIUM_VERSION' )
56
- && version_compare( WPSEO_PREMIUM_VERSION, '16.5-RC0', '>=' )
57
- && WPSEO_Options::get( 'opengraph', false ) === true;
58
  }
59
 
60
  /**
@@ -161,34 +158,13 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
161
  $keyword = WPSEO_Meta::get_value( 'focuskw', $this->post->ID );
162
  $usage = [ $keyword => $this->get_keyword_usage_for_current_post( $keyword ) ];
163
 
164
- if ( YoastSEO()->helpers->product->is_premium() ) {
165
- return $this->get_premium_keywords( $usage );
166
- }
167
-
168
- return $usage;
169
- }
170
-
171
- /**
172
- * Retrieves the additional keywords from Premium, that are associated with the post.
173
- *
174
- * @param array $usage The original keyword usage for the main keyword.
175
- *
176
- * @return array The keyword usage, including the additional keywords.
177
- */
178
- protected function get_premium_keywords( $usage ) {
179
- $additional_keywords = json_decode( WPSEO_Meta::get_value( 'focuskeywords', $this->post->ID ), true );
180
-
181
- if ( empty( $additional_keywords ) ) {
182
- return $usage;
183
- }
184
-
185
- foreach ( $additional_keywords as $additional_keyword ) {
186
- $keyword = $additional_keyword['keyword'];
187
-
188
- $usage[ $keyword ] = $this->get_keyword_usage_for_current_post( $keyword );
189
- }
190
-
191
- return $usage;
192
  }
193
 
194
  /**
@@ -235,7 +211,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
235
  */
236
  private function get_social_title_template() {
237
  if ( $this->use_social_templates ) {
238
- return $this->get_template( 'social-title' );
239
  }
240
 
241
  return '';
@@ -248,7 +224,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
248
  */
249
  private function get_social_description_template() {
250
  if ( $this->use_social_templates ) {
251
- return $this->get_template( 'social-description' );
252
  }
253
 
254
  return '';
@@ -261,7 +237,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
261
  */
262
  private function get_social_image_template() {
263
  if ( $this->use_social_templates ) {
264
- return $this->get_template( 'social-image-url' );
265
  }
266
 
267
  return '';
@@ -284,6 +260,24 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
284
  return '';
285
  }
286
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
  /**
288
  * Determines the date to be displayed in the snippet preview.
289
  *
51
  * @return bool Whether the social templates should be used.
52
  */
53
  public function use_social_templates() {
54
+ return WPSEO_Options::get( 'opengraph', false ) === true;
 
 
 
55
  }
56
 
57
  /**
158
  $keyword = WPSEO_Meta::get_value( 'focuskw', $this->post->ID );
159
  $usage = [ $keyword => $this->get_keyword_usage_for_current_post( $keyword ) ];
160
 
161
+ /**
162
+ * Allows enhancing the array of posts' that share their focus keywords with the post's related keywords.
163
+ *
164
+ * @param array $usage The array of posts' ids that share their focus keywords with the post.
165
+ * @param int $post_id The id of the post we're finding the usage of related keywords for.
166
+ */
167
+ return apply_filters( 'wpseo_posts_for_related_keywords', $usage, $this->post->ID );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  }
169
 
170
  /**
211
  */
212
  private function get_social_title_template() {
213
  if ( $this->use_social_templates ) {
214
+ return $this->get_social_template( 'title' );
215
  }
216
 
217
  return '';
224
  */
225
  private function get_social_description_template() {
226
  if ( $this->use_social_templates ) {
227
+ return $this->get_social_template( 'description' );
228
  }
229
 
230
  return '';
237
  */
238
  private function get_social_image_template() {
239
  if ( $this->use_social_templates ) {
240
+ return $this->get_social_template( 'image-url' );
241
  }
242
 
243
  return '';
260
  return '';
261
  }
262
 
263
+ /**
264
+ * Retrieves a social template.
265
+ *
266
+ * @param string $template_option_name The name of the option in which the template you want to get is saved.
267
+ *
268
+ * @return string
269
+ */
270
+ private function get_social_template( $template_option_name ) {
271
+ /**
272
+ * Filters the social template value for a given post type.
273
+ *
274
+ * @param string $template The social template value, defaults to empty string.
275
+ * @param string $template_option_name The subname of the option in which the template you want to get is saved.
276
+ * @param string $post_type The name of the post type.
277
+ */
278
+ return \apply_filters( 'wpseo_social_template_post_type', '', $template_option_name, $this->post->post_type );
279
+ }
280
+
281
  /**
282
  * Determines the date to be displayed in the snippet preview.
283
  *
admin/formatter/class-term-metabox-formatter.php CHANGED
@@ -57,10 +57,7 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
57
  * @return bool Whether the social templates should be used.
58
  */
59
  public function use_social_templates() {
60
- return YoastSEO()->helpers->product->is_premium()
61
- && defined( 'WPSEO_PREMIUM_VERSION' )
62
- && version_compare( WPSEO_PREMIUM_VERSION, '16.5-RC0', '>=' )
63
- && WPSEO_Options::get( 'opengraph', false ) === true;
64
  }
65
 
66
  /**
@@ -185,7 +182,7 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
185
  */
186
  private function get_social_title_template() {
187
  if ( $this->use_social_templates ) {
188
- return $this->get_template( 'social-title' );
189
  }
190
 
191
  return '';
@@ -198,7 +195,7 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
198
  */
199
  private function get_social_description_template() {
200
  if ( $this->use_social_templates ) {
201
- return $this->get_template( 'social-description' );
202
  }
203
 
204
  return '';
@@ -211,7 +208,7 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
211
  */
212
  private function get_social_image_template() {
213
  if ( $this->use_social_templates ) {
214
- return $this->get_template( 'social-image-url' );
215
  }
216
 
217
  return '';
@@ -229,6 +226,24 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
229
  return WPSEO_Options::get( $needed_option, '' );
230
  }
231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  /**
233
  * Determines whether the insights feature is enabled for this taxonomy.
234
  *
57
  * @return bool Whether the social templates should be used.
58
  */
59
  public function use_social_templates() {
60
+ return WPSEO_Options::get( 'opengraph', false ) === true;
 
 
 
61
  }
62
 
63
  /**
182
  */
183
  private function get_social_title_template() {
184
  if ( $this->use_social_templates ) {
185
+ return $this->get_social_template( 'title' );
186
  }
187
 
188
  return '';
195
  */
196
  private function get_social_description_template() {
197
  if ( $this->use_social_templates ) {
198
+ return $this->get_social_template( 'description' );
199
  }
200
 
201
  return '';
208
  */
209
  private function get_social_image_template() {
210
  if ( $this->use_social_templates ) {
211
+ return $this->get_social_template( 'image-url' );
212
  }
213
 
214
  return '';
226
  return WPSEO_Options::get( $needed_option, '' );
227
  }
228
 
229
+ /**
230
+ * Retrieves a social template.
231
+ *
232
+ * @param string $template_option_name The name of the option in which the template you want to get is saved.
233
+ *
234
+ * @return string
235
+ */
236
+ private function get_social_template( $template_option_name ) {
237
+ /**
238
+ * Filters the social template value for a given taxonomy.
239
+ *
240
+ * @param string $template The social template value, defaults to empty string.
241
+ * @param string $template_option_name The subname of the option in which the template you want to get is saved.
242
+ * @param string $taxonomy The name of the taxonomy.
243
+ */
244
+ return \apply_filters( 'wpseo_social_template_taxonomy', '', $template_option_name, $this->term->taxonomy );
245
+ }
246
+
247
  /**
248
  * Determines whether the insights feature is enabled for this taxonomy.
249
  *
admin/metabox/class-metabox.php CHANGED
@@ -37,13 +37,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
37
  */
38
  protected $readability_analysis;
39
 
40
- /**
41
- * Helper to determine whether or not the inclusive language analysis is enabled.
42
- *
43
- * @var WPSEO_Metabox_Analysis_Inclusive_Language
44
- */
45
- protected $inclusive_language_analysis;
46
-
47
  /**
48
  * The metabox editor object.
49
  *
@@ -78,6 +71,7 @@ class WPSEO_Metabox extends WPSEO_Meta {
78
  public function __construct() {
79
  if ( $this->is_internet_explorer() ) {
80
  add_action( 'add_meta_boxes', [ $this, 'internet_explorer_metabox' ] );
 
81
  return;
82
  }
83
 
@@ -99,9 +93,8 @@ class WPSEO_Metabox extends WPSEO_Meta {
99
  new Input_Helper()
100
  );
101
 
102
- $this->seo_analysis = new WPSEO_Metabox_Analysis_SEO();
103
- $this->readability_analysis = new WPSEO_Metabox_Analysis_Readability();
104
- $this->inclusive_language_analysis = new WPSEO_Metabox_Analysis_Inclusive_Language();
105
  }
106
 
107
  /**
@@ -432,10 +425,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
432
  $tabs[] = new WPSEO_Metabox_Section_Readability();
433
  }
434
 
435
- if ( $this->inclusive_language_analysis->is_enabled() ) {
436
- $tabs[] = new WPSEO_Metabox_Section_Inclusive_Language();
437
- }
438
-
439
  if ( $this->is_advanced_metadata_enabled ) {
440
  $tabs[] = new WPSEO_Metabox_Section_React(
441
  'schema',
@@ -829,10 +818,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
829
  return true;
830
  }
831
 
832
- if ( $key === 'inclusive_language_score' && ! $this->inclusive_language_analysis->is_enabled() ) {
833
- return true;
834
- }
835
-
836
  return false;
837
  }
838
 
37
  */
38
  protected $readability_analysis;
39
 
 
 
 
 
 
 
 
40
  /**
41
  * The metabox editor object.
42
  *
71
  public function __construct() {
72
  if ( $this->is_internet_explorer() ) {
73
  add_action( 'add_meta_boxes', [ $this, 'internet_explorer_metabox' ] );
74
+
75
  return;
76
  }
77
 
93
  new Input_Helper()
94
  );
95
 
96
+ $this->seo_analysis = new WPSEO_Metabox_Analysis_SEO();
97
+ $this->readability_analysis = new WPSEO_Metabox_Analysis_Readability();
 
98
  }
99
 
100
  /**
425
  $tabs[] = new WPSEO_Metabox_Section_Readability();
426
  }
427
 
 
 
 
 
428
  if ( $this->is_advanced_metadata_enabled ) {
429
  $tabs[] = new WPSEO_Metabox_Section_React(
430
  'schema',
818
  return true;
819
  }
820
 
 
 
 
 
821
  return false;
822
  }
823
 
admin/taxonomy/class-taxonomy-fields.php CHANGED
@@ -72,13 +72,6 @@ class WPSEO_Taxonomy_Fields {
72
  'options' => '',
73
  'hide' => false,
74
  ],
75
- 'inclusive_language_score' => [
76
- 'label' => '',
77
- 'description' => '',
78
- 'type' => 'hidden',
79
- 'options' => '',
80
- 'hide' => false,
81
- ],
82
  'focuskw' => [
83
  'label' => '',
84
  'description' => '',
72
  'options' => '',
73
  'hide' => false,
74
  ],
 
 
 
 
 
 
 
75
  'focuskw' => [
76
  'label' => '',
77
  'description' => '',
admin/taxonomy/class-taxonomy-metabox.php CHANGED
@@ -45,13 +45,6 @@ class WPSEO_Taxonomy_Metabox {
45
  */
46
  protected $readability_analysis;
47
 
48
- /**
49
- * Helper to determine whether or not the inclusive language analysis is enabled.
50
- *
51
- * @var WPSEO_Metabox_Analysis_Inclusive_Language
52
- */
53
- protected $inclusive_language_analysis;
54
-
55
  /**
56
  * The constructor.
57
  *
@@ -63,9 +56,8 @@ class WPSEO_Taxonomy_Metabox {
63
  $this->taxonomy = $taxonomy;
64
  $this->is_social_enabled = WPSEO_Options::get( 'opengraph', false ) || WPSEO_Options::get( 'twitter', false );
65
 
66
- $this->seo_analysis = new WPSEO_Metabox_Analysis_SEO();
67
- $this->readability_analysis = new WPSEO_Metabox_Analysis_Readability();
68
- $this->inclusive_language_analysis = new WPSEO_Metabox_Analysis_Inclusive_Language();
69
  }
70
 
71
  /**
@@ -148,10 +140,6 @@ class WPSEO_Taxonomy_Metabox {
148
  $tabs[] = new WPSEO_Metabox_Section_Readability();
149
  }
150
 
151
- if ( $this->inclusive_language_analysis->is_enabled() ) {
152
- $tabs[] = new WPSEO_Metabox_Section_Inclusive_Language();
153
- }
154
-
155
  if ( $this->is_social_enabled ) {
156
  $tabs[] = new WPSEO_Metabox_Section_React(
157
  'social',
@@ -163,6 +151,56 @@ class WPSEO_Taxonomy_Metabox {
163
  );
164
  }
165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  return $tabs;
167
  }
168
 
45
  */
46
  protected $readability_analysis;
47
 
 
 
 
 
 
 
 
48
  /**
49
  * The constructor.
50
  *
56
  $this->taxonomy = $taxonomy;
57
  $this->is_social_enabled = WPSEO_Options::get( 'opengraph', false ) || WPSEO_Options::get( 'twitter', false );
58
 
59
+ $this->seo_analysis = new WPSEO_Metabox_Analysis_SEO();
60
+ $this->readability_analysis = new WPSEO_Metabox_Analysis_Readability();
 
61
  }
62
 
63
  /**
140
  $tabs[] = new WPSEO_Metabox_Section_Readability();
141
  }
142
 
 
 
 
 
143
  if ( $this->is_social_enabled ) {
144
  $tabs[] = new WPSEO_Metabox_Section_React(
145
  'social',
151
  );
152
  }
153
 
154
+ $tabs = array_merge( $tabs, $this->get_additional_tabs() );
155
+
156
+ return $tabs;
157
+ }
158
+
159
+ /**
160
+ * Returns the metabox tabs that have been added by other plugins.
161
+ *
162
+ * @return WPSEO_Metabox_Section_Additional[]
163
+ */
164
+ protected function get_additional_tabs() {
165
+ $tabs = [];
166
+
167
+ /**
168
+ * Private filter: 'yoast_free_additional_taxonomy_metabox_sections'.
169
+ *
170
+ * Meant for internal use only. Allows adding additional tabs to the Yoast SEO metabox for taxonomies.
171
+ *
172
+ * @param array[] $tabs {
173
+ * An array of arrays with tab specifications.
174
+ *
175
+ * @type array $tab {
176
+ * A tab specification.
177
+ *
178
+ * @type string $name The name of the tab. Used in the HTML IDs, href and aria properties.
179
+ * @type string $link_content The content of the tab link.
180
+ * @type string $content The content of the tab.
181
+ * @type array $options {
182
+ * Optional. Extra options.
183
+ *
184
+ * @type string $link_class Optional. The class for the tab link.
185
+ * @type string $link_aria_label Optional. The aria label of the tab link.
186
+ * }
187
+ * }
188
+ * }
189
+ */
190
+ $requested_tabs = apply_filters( 'yoast_free_additional_taxonomy_metabox_sections', [] );
191
+
192
+ foreach ( $requested_tabs as $tab ) {
193
+ if ( is_array( $tab ) && array_key_exists( 'name', $tab ) && array_key_exists( 'link_content', $tab ) && array_key_exists( 'content', $tab ) ) {
194
+ $options = array_key_exists( 'options', $tab ) ? $tab['options'] : [];
195
+ $tabs[] = new WPSEO_Metabox_Section_Additional(
196
+ $tab['name'],
197
+ $tab['link_content'],
198
+ $tab['content'],
199
+ $options
200
+ );
201
+ }
202
+ }
203
+
204
  return $tabs;
205
  }
206
 
admin/taxonomy/class-taxonomy.php CHANGED
@@ -33,13 +33,6 @@ class WPSEO_Taxonomy {
33
  */
34
  private $analysis_readability;
35
 
36
- /**
37
- * Holds the metabox inclusive language analysis instance.
38
- *
39
- * @var WPSEO_Metabox_Analysis_Inclusive_Language
40
- */
41
- private $analysis_inclusive_language;
42
-
43
  /**
44
  * Class constructor.
45
  */
@@ -53,9 +46,8 @@ class WPSEO_Taxonomy {
53
  if ( self::is_term_overview( $GLOBALS['pagenow'] ) ) {
54
  new WPSEO_Taxonomy_Columns();
55
  }
56
- $this->analysis_seo = new WPSEO_Metabox_Analysis_SEO();
57
- $this->analysis_readability = new WPSEO_Metabox_Analysis_Readability();
58
- $this->analysis_inclusive_language = new WPSEO_Metabox_Analysis_Inclusive_Language();
59
  }
60
 
61
  /**
@@ -234,10 +226,6 @@ class WPSEO_Taxonomy {
234
  return true;
235
  }
236
 
237
- if ( $key === 'wpseo_inclusive_language_score' && ! $this->analysis_inclusive_language->is_enabled() ) {
238
- return true;
239
- }
240
-
241
  return false;
242
  }
243
 
33
  */
34
  private $analysis_readability;
35
 
 
 
 
 
 
 
 
36
  /**
37
  * Class constructor.
38
  */
46
  if ( self::is_term_overview( $GLOBALS['pagenow'] ) ) {
47
  new WPSEO_Taxonomy_Columns();
48
  }
49
+ $this->analysis_seo = new WPSEO_Metabox_Analysis_SEO();
50
+ $this->analysis_readability = new WPSEO_Metabox_Analysis_Readability();
 
51
  }
52
 
53
  /**
226
  return true;
227
  }
228
 
 
 
 
 
229
  return false;
230
  }
231
 
admin/views/class-yoast-feature-toggles.php CHANGED
@@ -90,7 +90,7 @@ class Yoast_Feature_Toggles {
90
  (object) [
91
  'name' => __( 'Inclusive language analysis', 'wordpress-seo' ),
92
  'premium' => true,
93
- 'premium_version' => '19.2-RC1',
94
  'in_beta' => true,
95
  'supported_languages' => Language_Helper::$languages_with_inclusive_language_support,
96
  'setting' => 'inclusive_language_analysis_active',
90
  (object) [
91
  'name' => __( 'Inclusive language analysis', 'wordpress-seo' ),
92
  'premium' => true,
93
+ 'premium_version' => '19.2.1-RC0',
94
  'in_beta' => true,
95
  'supported_languages' => Language_Helper::$languages_with_inclusive_language_support,
96
  'setting' => 'inclusive_language_analysis_active',
admin/views/tabs/dashboard/features.php CHANGED
@@ -32,14 +32,6 @@ $feature_toggles = Yoast_Feature_Toggles::instance()->get_all();
32
  $is_premium = YoastSEO()->helpers->product->is_premium();
33
  $premium_version = YoastSEO()->helpers->product->get_premium_version();
34
 
35
- if ( $feature->premium && $feature->premium_version ) {
36
- $not_supported_in_current_premium_version = $is_premium && \version_compare( $premium_version, $feature->premium_version, '<' );
37
-
38
- if ( $not_supported_in_current_premium_version ) {
39
- continue;
40
- }
41
- }
42
-
43
  $help_text = esc_html( $feature->label );
44
  if ( ! empty( $feature->extra ) ) {
45
  $help_text .= ' ' . $feature->extra;
@@ -94,6 +86,15 @@ $feature_toggles = Yoast_Feature_Toggles::instance()->get_all();
94
  $name = $feature->name;
95
  }
96
 
 
 
 
 
 
 
 
 
 
97
  $preserve_disabled_value = false;
98
  if ( $disabled ) {
99
  $preserve_disabled_value = true;
32
  $is_premium = YoastSEO()->helpers->product->is_premium();
33
  $premium_version = YoastSEO()->helpers->product->get_premium_version();
34
 
 
 
 
 
 
 
 
 
35
  $help_text = esc_html( $feature->label );
36
  if ( ! empty( $feature->extra ) ) {
37
  $help_text .= ' ' . $feature->extra;
86
  $name = $feature->name;
87
  }
88
 
89
+ if ( $feature->premium && $feature->premium_version ) {
90
+ $not_supported_in_current_premium_version = $is_premium && \version_compare( $premium_version, $feature->premium_version, '<' );
91
+
92
+ if ( $not_supported_in_current_premium_version ) {
93
+ $disabled = true;
94
+ $note_when_disabled = __( 'Please update your Yoast SEO Premium plugin to the latest version to be able to use this feature.', 'wordpress-seo' );
95
+ }
96
+ }
97
+
98
  $preserve_disabled_value = false;
99
  if ( $disabled ) {
100
  $preserve_disabled_value = true;
admin/views/user-profile.php CHANGED
@@ -61,15 +61,5 @@ $wpseo_no_index_author_label = sprintf(
61
  </p>
62
  <?php endif; ?>
63
 
64
- <?php if ( WPSEO_Options::get( 'inclusive_language_analysis_active', false ) ) : ?>
65
- <input class="yoast-settings__checkbox double" type="checkbox" id="wpseo_inclusive_language_analysis_disable"
66
- name="wpseo_inclusive_language_analysis_disable" aria-describedby="wpseo_inclusive_language_analysis_disable_desc"
67
- value="on" <?php echo ( get_the_author_meta( 'wpseo_inclusive_language_analysis_disable', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
68
- <label class="yoast-label-strong"
69
- for="wpseo_inclusive_language_analysis_disable"><?php esc_html_e( 'Disable inclusive language analysis', 'wordpress-seo' ); ?></label>
70
- <br>
71
- <p class="description" id="wpseo_inclusive_language_analysis_disable_desc">
72
- <?php esc_html_e( 'Removes the inclusive language analysis section from the metabox and disables all inclusive language-related suggestions.', 'wordpress-seo' ); ?>
73
- </p>
74
- <?php endif; ?>
75
  </div>
61
  </p>
62
  <?php endif; ?>
63
 
64
+ <?php do_action( 'wpseo_render_user_profile', $user ); ?>
 
 
 
 
 
 
 
 
 
 
65
  </div>
css/dist/{admin-global-1960-rtl.css → admin-global-1961-rtl.css} RENAMED
File without changes
css/dist/{admin-global-1960.css → admin-global-1961.css} RENAMED
File without changes
css/dist/{adminbar-1960-rtl.css → adminbar-1961-rtl.css} RENAMED
File without changes
css/dist/{adminbar-1960.css → adminbar-1961.css} RENAMED
File without changes
css/dist/{alerts-1960-rtl.css → alerts-1961-rtl.css} RENAMED
File without changes
css/dist/{alerts-1960.css → alerts-1961.css} RENAMED
File without changes
css/dist/{dashboard-1960-rtl.css → dashboard-1961-rtl.css} RENAMED
File without changes
css/dist/{dashboard-1960.css → dashboard-1961.css} RENAMED
File without changes
css/dist/{edit-page-1960-rtl.css → edit-page-1961-rtl.css} RENAMED
File without changes
css/dist/{edit-page-1960.css → edit-page-1961.css} RENAMED
File without changes
css/dist/{elementor-1960-rtl.css → elementor-1961-rtl.css} RENAMED
File without changes
css/dist/{elementor-1960.css → elementor-1961.css} RENAMED
File without changes
css/dist/{featured-image-1960-rtl.css → featured-image-1961-rtl.css} RENAMED
File without changes
css/dist/{featured-image-1960.css → featured-image-1961.css} RENAMED
File without changes
css/dist/{filter-explanation-1960-rtl.css → filter-explanation-1961-rtl.css} RENAMED
File without changes
css/dist/{filter-explanation-1960.css → filter-explanation-1961.css} RENAMED
File without changes
css/dist/{icons-1960-rtl.css → icons-1961-rtl.css} RENAMED
File without changes
css/dist/{icons-1960.css → icons-1961.css} RENAMED
File without changes
css/dist/{inside-editor-1960-rtl.css → inside-editor-1961-rtl.css} RENAMED
File without changes
css/dist/{inside-editor-1960.css → inside-editor-1961.css} RENAMED
File without changes
css/dist/{metabox-1960-rtl.css → metabox-1961-rtl.css} RENAMED
File without changes
css/dist/{metabox-1960.css → metabox-1961.css} RENAMED
File without changes
css/dist/{metabox-primary-category-1960-rtl.css → metabox-primary-category-1961-rtl.css} RENAMED
File without changes
css/dist/{metabox-primary-category-1960.css → metabox-primary-category-1961.css} RENAMED
File without changes
css/dist/{modal-1960-rtl.css → modal-1961-rtl.css} RENAMED
File without changes
css/dist/{modal-1960.css → modal-1961.css} RENAMED
File without changes
css/dist/{monorepo-1960-rtl.css → monorepo-1961-rtl.css} RENAMED
File without changes
css/dist/{monorepo-1960.css → monorepo-1961.css} RENAMED
File without changes
css/dist/{new-settings-1960-rtl.css → new-settings-1961-rtl.css} RENAMED
File without changes
css/dist/{new-settings-1960.css → new-settings-1961.css} RENAMED
File without changes
css/dist/{notifications-1960-rtl.css → notifications-1961-rtl.css} RENAMED
File without changes
css/dist/{notifications-1960.css → notifications-1961.css} RENAMED
File without changes
css/dist/{schema-blocks-1960-rtl.css → schema-blocks-1961-rtl.css} RENAMED
File without changes
css/dist/{schema-blocks-1960.css → schema-blocks-1961.css} RENAMED
File without changes
css/dist/{score_icon-1960-rtl.css → score_icon-1961-rtl.css} RENAMED
File without changes
css/dist/{score_icon-1960.css → score_icon-1961.css} RENAMED
File without changes
css/dist/{search-appearance-1960-rtl.css → search-appearance-1961-rtl.css} RENAMED
File without changes
css/dist/{search-appearance-1960.css → search-appearance-1961.css} RENAMED
File without changes
css/dist/{structured-data-blocks-1960-rtl.css → structured-data-blocks-1961-rtl.css} RENAMED
File without changes
css/dist/{structured-data-blocks-1960.css → structured-data-blocks-1961.css} RENAMED
File without changes
css/dist/{tailwind-1960-rtl.css → tailwind-1961-rtl.css} RENAMED
File without changes
css/dist/{tailwind-1960.css → tailwind-1961.css} RENAMED
File without changes
css/dist/{toggle-switch-1960-rtl.css → toggle-switch-1961-rtl.css} RENAMED
File without changes
css/dist/{toggle-switch-1960.css → toggle-switch-1961.css} RENAMED
File without changes
css/dist/{tooltips-1960-rtl.css → tooltips-1961-rtl.css} RENAMED
File without changes
css/dist/{tooltips-1960.css → tooltips-1961.css} RENAMED
File without changes
css/dist/{workouts-1960-rtl.css → workouts-1961-rtl.css} RENAMED
File without changes
css/dist/{workouts-1960.css → workouts-1961.css} RENAMED
File without changes
css/dist/{wpseo-dismissible-1960-rtl.css → wpseo-dismissible-1961-rtl.css} RENAMED
File without changes
css/dist/{wpseo-dismissible-1960.css → wpseo-dismissible-1961.css} RENAMED
File without changes
css/dist/{yoast-components-1960-rtl.css → yoast-components-1961-rtl.css} RENAMED
File without changes
css/dist/{yoast-components-1960.css → yoast-components-1961.css} RENAMED
File without changes
css/dist/{yoast-extensions-1960-rtl.css → yoast-extensions-1961-rtl.css} RENAMED
File without changes
css/dist/{yoast-extensions-1960.css → yoast-extensions-1961.css} RENAMED
File without changes
css/dist/{yst_plugin_tools-1960-rtl.css → yst_plugin_tools-1961-rtl.css} RENAMED
File without changes
css/dist/{yst_plugin_tools-1960.css → yst_plugin_tools-1961.css} RENAMED
File without changes
css/dist/{yst_seo_score-1960-rtl.css → yst_seo_score-1961-rtl.css} RENAMED
File without changes
css/dist/{yst_seo_score-1960.css → yst_seo_score-1961.css} RENAMED
File without changes
inc/class-wpseo-admin-bar-menu.php CHANGED
@@ -27,13 +27,6 @@ class WPSEO_Admin_Bar_Menu implements WPSEO_WordPress_Integration {
27
  */
28
  const KEYWORD_RESEARCH_SUBMENU_IDENTIFIER = 'wpseo-kwresearch';
29
 
30
- /**
31
- * The identifier used for the frontend inspector submenu.
32
- *
33
- * @var string
34
- */
35
- const FRONTEND_INSPECTOR_SUBMENU_IDENTIFIER = 'wpseo-frontend-inspector';
36
-
37
  /**
38
  * The identifier used for the Analysis submenu.
39
  *
@@ -126,9 +119,14 @@ class WPSEO_Admin_Bar_Menu implements WPSEO_WordPress_Integration {
126
 
127
  $this->add_root_menu( $wp_admin_bar );
128
 
129
- if ( ! is_admin() && YoastSEO()->helpers->product->is_premium() ) {
130
- $this->add_frontend_inspector_submenu( $wp_admin_bar );
131
- }
 
 
 
 
 
132
  $this->add_keyword_research_submenu( $wp_admin_bar );
133
 
134
  if ( ! is_admin() ) {
@@ -309,30 +307,6 @@ class WPSEO_Admin_Bar_Menu implements WPSEO_WordPress_Integration {
309
  }
310
  }
311
 
312
- /**
313
- * Adds the frontend inspector submenu.
314
- *
315
- * @param WP_Admin_Bar $wp_admin_bar The admin bar.
316
- *
317
- * @return void
318
- */
319
- protected function add_frontend_inspector_submenu( WP_Admin_Bar $wp_admin_bar ) {
320
- $menu_args = [
321
- 'parent' => self::MENU_IDENTIFIER,
322
- 'id' => self::FRONTEND_INSPECTOR_SUBMENU_IDENTIFIER,
323
- 'title' => sprintf(
324
- '%1$s <span class="yoast-badge yoast-beta-badge">%2$s</span>',
325
- __( 'Front-end SEO inspector', 'wordpress-seo' ),
326
- __( 'Beta', 'wordpress-seo' )
327
- ),
328
- 'href' => '#wpseo-frontend-inspector',
329
- 'meta' => [
330
- 'tabindex' => '0',
331
- ],
332
- ];
333
- $wp_admin_bar->add_menu( $menu_args );
334
- }
335
-
336
  /**
337
  * Adds the admin bar analysis submenu.
338
  *
27
  */
28
  const KEYWORD_RESEARCH_SUBMENU_IDENTIFIER = 'wpseo-kwresearch';
29
 
 
 
 
 
 
 
 
30
  /**
31
  * The identifier used for the Analysis submenu.
32
  *
119
 
120
  $this->add_root_menu( $wp_admin_bar );
121
 
122
+ /**
123
+ * Adds a submenu item in the top of the adminbar.
124
+ *
125
+ * @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to.
126
+ * @param string $menu_identifier The menu identifier.
127
+ */
128
+ do_action( 'wpseo_add_adminbar_submenu', $wp_admin_bar, self::MENU_IDENTIFIER );
129
+
130
  $this->add_keyword_research_submenu( $wp_admin_bar );
131
 
132
  if ( ! is_admin() ) {
307
  }
308
  }
309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  /**
311
  * Adds the admin bar analysis submenu.
312
  *
inc/class-wpseo-meta.php CHANGED
@@ -137,12 +137,6 @@ class WPSEO_Meta {
137
  'default_value' => '0',
138
  'description' => '',
139
  ],
140
- 'inclusive_language_score' => [
141
- 'type' => 'hidden',
142
- 'title' => 'inclusive_language_score',
143
- 'default_value' => '0',
144
- 'description' => '',
145
- ],
146
  'is_cornerstone' => [
147
  'type' => 'hidden',
148
  'title' => 'is_cornerstone',
@@ -1033,34 +1027,20 @@ class WPSEO_Meta {
1033
  $post_ids = array_map( $callback, $post_ids );
1034
 
1035
  /*
1036
- * If Yoast SEO Premium is active, get the additional keywords as well.
1037
  * We only check for the additional keywords if we've not already found two.
1038
  * In that case there's no use for an additional query as we already know
1039
  * that the keyword has been used multiple times before.
1040
  */
1041
- if ( YoastSEO()->helpers->product->is_premium() && count( $post_ids ) < 2 ) {
1042
- $query = [
1043
- 'meta_query' => [
1044
- [
1045
- 'key' => '_yoast_wpseo_focuskeywords',
1046
- 'value' => sprintf( '"keyword":"%s"', $keyword ),
1047
- 'compare' => 'LIKE',
1048
- ],
1049
- ],
1050
- 'post__not_in' => [ $post_id ],
1051
- 'fields' => 'ids',
1052
- 'post_type' => 'any',
1053
-
1054
- /*
1055
- * We only need to return zero, one or two results:
1056
- * - Zero: keyword hasn't been used before
1057
- * - One: Keyword has been used once before
1058
- * - Two or more: Keyword has been used twice or more before
1059
- */
1060
- 'posts_per_page' => 2,
1061
- ];
1062
- $get_posts = new WP_Query( $query );
1063
- $post_ids = array_merge( $post_ids, $get_posts->posts );
1064
  }
1065
 
1066
  return $post_ids;
137
  'default_value' => '0',
138
  'description' => '',
139
  ],
 
 
 
 
 
 
140
  'is_cornerstone' => [
141
  'type' => 'hidden',
142
  'title' => 'is_cornerstone',
1027
  $post_ids = array_map( $callback, $post_ids );
1028
 
1029
  /*
1030
+ * If Premium is installed, get the additional keywords as well.
1031
  * We only check for the additional keywords if we've not already found two.
1032
  * In that case there's no use for an additional query as we already know
1033
  * that the keyword has been used multiple times before.
1034
  */
1035
+ if ( count( $post_ids ) < 2 ) {
1036
+ /**
1037
+ * Allows enhancing the array of posts' that share their focus keywords with the post's focus keywords.
1038
+ *
1039
+ * @param array $post_ids The array of posts' ids that share their related keywords with the post.
1040
+ * @param string $keyword The keyword to search for.
1041
+ * @param int $post_id The id of the post the keyword is associated to.
1042
+ */
1043
+ $post_ids = apply_filters( 'wpseo_posts_for_focus_keyword', $post_ids, $keyword, $post_id );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1044
  }
1045
 
1046
  return $post_ids;
inc/options/class-wpseo-taxonomy-meta.php CHANGED
@@ -59,7 +59,6 @@ class WPSEO_Taxonomy_Meta extends WPSEO_Option {
59
  'wpseo_focuskw' => '',
60
  'wpseo_linkdex' => '',
61
  'wpseo_content_score' => '',
62
- 'wpseo_inclusive_language_score' => '',
63
  'wpseo_focuskeywords' => '[]',
64
  'wpseo_keywordsynonyms' => '[]',
65
  'wpseo_is_cornerstone' => '0',
59
  'wpseo_focuskw' => '',
60
  'wpseo_linkdex' => '',
61
  'wpseo_content_score' => '',
 
62
  'wpseo_focuskeywords' => '[]',
63
  'wpseo_keywordsynonyms' => '[]',
64
  'wpseo_is_cornerstone' => '0',
inc/wpseo-functions-deprecated.php CHANGED
@@ -16,3 +16,17 @@ if ( ! function_exists( 'initialize_wpseo_front' ) ) {
16
  _deprecated_function( __FUNCTION__, 'WPSEO 14.0' );
17
  }
18
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  _deprecated_function( __FUNCTION__, 'WPSEO 14.0' );
17
  }
18
  }
19
+
20
+ if ( ! function_exists( 'wpseo_cli_init' ) ) {
21
+
22
+ // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
23
+ /**
24
+ * Initialize the WP-CLI integration.
25
+ *
26
+ * @deprecated 19.6.1
27
+ * @codeCoverageIgnore
28
+ */
29
+ function wpseo_cli_init() {
30
+ _deprecated_function( __FUNCTION__, 'WPSEO 19.6.1' );
31
+ }
32
+ }
js/dist/37.js CHANGED
@@ -1 +1 @@
1
- (window.webpackJsonp_wordpress_seo=window.webpackJsonp_wordpress_seo||[]).push([[37],{279:function(t,s,e){"use strict";e.r(s),e.d(s,"scopeCss",(function(){return S}));const o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",r=new RegExp("(-shadowcsshost"+o,"gim"),c=new RegExp("(-shadowcsscontext"+o,"gim"),n=new RegExp("(-shadowcssslotted"+o,"gim"),l=/-shadowcsshost-no-combinator([^\s]*)/,a=[/::shadow/g,/::content/g],i=/-shadowcsshost/gim,h=/:host/gim,p=/::slotted/gim,d=/:host-context/gim,u=/\/\*\s*[\s\S]*?\*\//g,g=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,m=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,w=/([{}])/g,f=(t,s)=>{const e=_(t);let o=0;return e.escapedString.replace(m,(...t)=>{const r=t[2];let c="",n=t[4],l="";n&&n.startsWith("{%BLOCK%")&&(c=e.blocks[o++],n=n.substring("%BLOCK%".length+1),l="{");const a=s({selector:r,content:c});return`${t[1]}${a.selector}${t[3]}${l}${a.content}${n}`})},_=t=>{const s=t.split(w),e=[],o=[];let r=0,c=[];for(let t=0;t<s.length;t++){const n=s[t];"}"===n&&r--,r>0?c.push(n):(c.length>0&&(o.push(c.join("")),e.push("%BLOCK%"),c=[]),e.push(n)),"{"===n&&r++}return c.length>0&&(o.push(c.join("")),e.push("%BLOCK%")),{escapedString:e.join(""),blocks:o}},x=(t,s,e)=>t.replace(s,(...t)=>{if(t[2]){const s=t[2].split(","),o=[];for(let r=0;r<s.length;r++){const c=s[r].trim();if(!c)break;o.push(e("-shadowcsshost-no-combinator",c,t[3]))}return o.join(",")}return"-shadowcsshost-no-combinator"+t[3]}),$=(t,s,e)=>t+s.replace("-shadowcsshost","")+e,b=(t,s,e)=>s.indexOf("-shadowcsshost")>-1?$(t,s,e):t+s+e+", "+s+" "+t+e,O=(t,s,e,o,r)=>f(t,t=>{let r=t.selector,c=t.content;return"@"!==t.selector[0]?r=((t,s,e,o)=>t.split(",").map(t=>o&&t.indexOf("."+o)>-1?t.trim():((t,s)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(s).test(t))(t,s)?((t,s,e)=>{const o="."+(s=s.replace(/\[is=([^\]]*)\]/g,(t,...s)=>s[0])),r=t=>{let r=t.trim();if(!r)return"";if(t.indexOf("-shadowcsshost-no-combinator")>-1)r=((t,s,e)=>{if(i.lastIndex=0,i.test(t)){const s="."+e;return t.replace(l,(t,e)=>e.replace(/([^:]*)(:*)(.*)/,(t,e,o,r)=>e+s+o+r)).replace(i,s+" ")}return s+" "+t})(t,s,e);else{const s=t.replace(i,"");if(s.length>0){const t=s.match(/([^:]*)(:*)(.*)/);t&&(r=t[1]+o+t[2]+t[3])}}return r},c=(t=>{const s=[];let e,o=0;return e=(t=t.replace(/(\[[^\]]*\])/g,(t,e)=>{const r=`__ph-${o}__`;return s.push(e),o++,r})).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(t,e,r)=>{const c=`__ph-${o}__`;return s.push(r),o++,e+c}),{content:e,placeholders:s}})(t);let n,a="",h=0;const p=/( |>|\+|~(?!=))\s*/g;let d=!((t=c.content).indexOf("-shadowcsshost-no-combinator")>-1);for(;null!==(n=p.exec(t));){const s=n[1],e=t.slice(h,n.index).trim();d=d||e.indexOf("-shadowcsshost-no-combinator")>-1,a+=`${d?r(e):e} ${s} `,h=p.lastIndex}const u=t.substring(h);return d=d||u.indexOf("-shadowcsshost-no-combinator")>-1,a+=d?r(u):u,g=c.placeholders,a.replace(/__ph-(\d+)__/g,(t,s)=>g[+s]);var g})(t,s,e).trim():t.trim()).join(", "))(t.selector,s,e,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(c=O(t.content,s,e,o)),{selector:r.replace(/\s{2,}/g," ").trim(),content:c}}),S=(t,s,e)=>{const o=s+"-h",l=s+"-s",i=t.match(g)||[];t=(t=>t.replace(u,""))(t);const m=[];if(e){const s=t=>{const s=`/*!@___${m.length}___*/`,e=`/*!@${t.selector}*/`;return m.push({placeholder:s,comment:e}),t.selector=s+t.selector,t};t=f(t,t=>"@"!==t.selector[0]?s(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=f(t.content,s),t):t)}const w=((t,s,e,o,l)=>{const i=((t,s)=>{const e="."+s+" > ",o=[];return t=t.replace(n,(...t)=>{if(t[2]){const s=t[2].trim(),r=t[3],c=e+s+r;let n="";for(let s=t[4]-1;s>=0;s--){const e=t[5][s];if("}"===e||","===e)break;n=e+n}const l=n+c,a=`${n.trimRight()}${c.trim()}`;if(l.trim()!==a.trim()){const t=`${a}, ${l}`;o.push({orgSelector:l,updatedSelector:t})}return c}return"-shadowcsshost-no-combinator"+t[3]}),{selectors:o,cssText:t}})(t=(t=>x(t,c,b))(t=(t=>x(t,r,$))(t=t.replace(d,"-shadowcsscontext").replace(h,"-shadowcsshost").replace(p,"-shadowcssslotted"))),o);return t=(t=>a.reduce((t,s)=>t.replace(s," "),t))(t=i.cssText),s&&(t=O(t,s,e,o)),{cssText:(t=(t=t.replace(/-shadowcsshost-no-combinator/g,"."+e)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:i.selectors}})(t,s,o,l);return t=[w.cssText,...i].join("\n"),e&&m.forEach(({placeholder:s,comment:e})=>{t=t.replace(s,e)}),w.slottedSelectors.forEach(s=>{t=t.replace(s.orgSelector,s.updatedSelector)}),t}}}]);
1
+ (window.webpackJsonp_wordpress_seo=window.webpackJsonp_wordpress_seo||[]).push([[37],{280:function(t,s,e){"use strict";e.r(s),e.d(s,"scopeCss",(function(){return S}));const o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",r=new RegExp("(-shadowcsshost"+o,"gim"),c=new RegExp("(-shadowcsscontext"+o,"gim"),n=new RegExp("(-shadowcssslotted"+o,"gim"),l=/-shadowcsshost-no-combinator([^\s]*)/,a=[/::shadow/g,/::content/g],i=/-shadowcsshost/gim,h=/:host/gim,p=/::slotted/gim,d=/:host-context/gim,u=/\/\*\s*[\s\S]*?\*\//g,g=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,m=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,w=/([{}])/g,f=(t,s)=>{const e=_(t);let o=0;return e.escapedString.replace(m,(...t)=>{const r=t[2];let c="",n=t[4],l="";n&&n.startsWith("{%BLOCK%")&&(c=e.blocks[o++],n=n.substring("%BLOCK%".length+1),l="{");const a=s({selector:r,content:c});return`${t[1]}${a.selector}${t[3]}${l}${a.content}${n}`})},_=t=>{const s=t.split(w),e=[],o=[];let r=0,c=[];for(let t=0;t<s.length;t++){const n=s[t];"}"===n&&r--,r>0?c.push(n):(c.length>0&&(o.push(c.join("")),e.push("%BLOCK%"),c=[]),e.push(n)),"{"===n&&r++}return c.length>0&&(o.push(c.join("")),e.push("%BLOCK%")),{escapedString:e.join(""),blocks:o}},x=(t,s,e)=>t.replace(s,(...t)=>{if(t[2]){const s=t[2].split(","),o=[];for(let r=0;r<s.length;r++){const c=s[r].trim();if(!c)break;o.push(e("-shadowcsshost-no-combinator",c,t[3]))}return o.join(",")}return"-shadowcsshost-no-combinator"+t[3]}),$=(t,s,e)=>t+s.replace("-shadowcsshost","")+e,b=(t,s,e)=>s.indexOf("-shadowcsshost")>-1?$(t,s,e):t+s+e+", "+s+" "+t+e,O=(t,s,e,o,r)=>f(t,t=>{let r=t.selector,c=t.content;return"@"!==t.selector[0]?r=((t,s,e,o)=>t.split(",").map(t=>o&&t.indexOf("."+o)>-1?t.trim():((t,s)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(s).test(t))(t,s)?((t,s,e)=>{const o="."+(s=s.replace(/\[is=([^\]]*)\]/g,(t,...s)=>s[0])),r=t=>{let r=t.trim();if(!r)return"";if(t.indexOf("-shadowcsshost-no-combinator")>-1)r=((t,s,e)=>{if(i.lastIndex=0,i.test(t)){const s="."+e;return t.replace(l,(t,e)=>e.replace(/([^:]*)(:*)(.*)/,(t,e,o,r)=>e+s+o+r)).replace(i,s+" ")}return s+" "+t})(t,s,e);else{const s=t.replace(i,"");if(s.length>0){const t=s.match(/([^:]*)(:*)(.*)/);t&&(r=t[1]+o+t[2]+t[3])}}return r},c=(t=>{const s=[];let e,o=0;return e=(t=t.replace(/(\[[^\]]*\])/g,(t,e)=>{const r=`__ph-${o}__`;return s.push(e),o++,r})).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(t,e,r)=>{const c=`__ph-${o}__`;return s.push(r),o++,e+c}),{content:e,placeholders:s}})(t);let n,a="",h=0;const p=/( |>|\+|~(?!=))\s*/g;let d=!((t=c.content).indexOf("-shadowcsshost-no-combinator")>-1);for(;null!==(n=p.exec(t));){const s=n[1],e=t.slice(h,n.index).trim();d=d||e.indexOf("-shadowcsshost-no-combinator")>-1,a+=`${d?r(e):e} ${s} `,h=p.lastIndex}const u=t.substring(h);return d=d||u.indexOf("-shadowcsshost-no-combinator")>-1,a+=d?r(u):u,g=c.placeholders,a.replace(/__ph-(\d+)__/g,(t,s)=>g[+s]);var g})(t,s,e).trim():t.trim()).join(", "))(t.selector,s,e,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(c=O(t.content,s,e,o)),{selector:r.replace(/\s{2,}/g," ").trim(),content:c}}),S=(t,s,e)=>{const o=s+"-h",l=s+"-s",i=t.match(g)||[];t=(t=>t.replace(u,""))(t);const m=[];if(e){const s=t=>{const s=`/*!@___${m.length}___*/`,e=`/*!@${t.selector}*/`;return m.push({placeholder:s,comment:e}),t.selector=s+t.selector,t};t=f(t,t=>"@"!==t.selector[0]?s(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=f(t.content,s),t):t)}const w=((t,s,e,o,l)=>{const i=((t,s)=>{const e="."+s+" > ",o=[];return t=t.replace(n,(...t)=>{if(t[2]){const s=t[2].trim(),r=t[3],c=e+s+r;let n="";for(let s=t[4]-1;s>=0;s--){const e=t[5][s];if("}"===e||","===e)break;n=e+n}const l=n+c,a=`${n.trimRight()}${c.trim()}`;if(l.trim()!==a.trim()){const t=`${a}, ${l}`;o.push({orgSelector:l,updatedSelector:t})}return c}return"-shadowcsshost-no-combinator"+t[3]}),{selectors:o,cssText:t}})(t=(t=>x(t,c,b))(t=(t=>x(t,r,$))(t=t.replace(d,"-shadowcsscontext").replace(h,"-shadowcsshost").replace(p,"-shadowcssslotted"))),o);return t=(t=>a.reduce((t,s)=>t.replace(s," "),t))(t=i.cssText),s&&(t=O(t,s,e,o)),{cssText:(t=(t=t.replace(/-shadowcsshost-no-combinator/g,"."+e)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:i.selectors}})(t,s,o,l);return t=[w.cssText,...i].join("\n"),e&&m.forEach(({placeholder:s,comment:e})=>{t=t.replace(s,e)}),w.slottedSelectors.forEach(s=>{t=t.replace(s.orgSelector,s.updatedSelector)}),t}}}]);
js/dist/addon-installation.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));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=277)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},11: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},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},13:function(e,t){e.exports=window.wp.components},2:function(e,t){e.exports=window.wp.i18n},277:function(e,t,n){"use strict";n.r(t);var o=n(0),a=n(1),r=n.n(a),s=n(7),l=n(2),c=n(8),i=n.n(c),d=n(33),u=n(99);const p=i.a.div`
2
  display: flex;
3
  justify-content: flex-end;
4
  gap: 8px;
@@ -6,4 +6,4 @@
6
  /* translators: %s expands to Yoast */
7
  Object(l.__)("%s SEO installation","wordpress-seo"),"Yoast");let c,i=Object(l.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(i=e.addons[0]),1!==e.addons.length&&(c=Object(o.createElement)("ul",{className:"ul-disc"},e.addons.map((e,t)=>Object(o.createElement)("li",{key:"addon-"+t},e)))),t?Object(o.createElement)(d.a,{title:r,onRequestClose:a,icon:Object(o.createElement)(u.a,null),isDismissible:!1},Object(o.createElement)("p",null,Object(l.sprintf)(
8
  /* translators: %s expands to Yoast SEO Premium */
9
- Object(l.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),i)),c,Object(o.createElement)(p,null,Object(o.createElement)(s.Button,{onClick:a,id:"close-addon-installation-dialog"},Object(l.__)("Cancel","wordpress-seo")),Object(o.createElement)(s.Button,{onClick:function(){window.location.href="admin.php?page=wpseo_licenses&action=install&nonce="+e.nonce},id:"continue-addon-installation-dialog",className:"yoast-button--primary"},Object(l.__)("Install and activate","wordpress-seo")))):null};f.propTypes={nonce:r.a.string.isRequired,addons:r.a.array},f.defaultProps={addons:[]};var m=f;const b=document.createElement("div");b.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(b),Object(o.render)(Object(o.createElement)(m,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),b)},3:function(e,t){e.exports=window.React},33:function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var o=n(11),a=n.n(o),r=n(0),s=n(1),l=n.n(s),c=n(13);const i="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:n,showYoastIcon:o,additionalClassName:s,...l}=e,i=o?Object(r.createElement)("span",{className:"yoast-icon"}):null;return Object(r.createElement)(c.Modal,a()({title:t,className:`${n} ${s}`,icon:i},l),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:i,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},7:function(e,t){e.exports=window.yoast.componentsNew},8:function(e,t){e.exports=window.yoast.styledComponents},99:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o,a,r=n(3);function s(){return(s=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 l(e){return r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),o||(o=r.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"})),a||(a=r.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})))}}});
1
+ !function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));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=278)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},100:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o,a,r=n(3);function s(){return(s=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 l(e){return r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),o||(o=r.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"})),a||(a=r.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})))}},11: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},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},13:function(e,t){e.exports=window.wp.components},2:function(e,t){e.exports=window.wp.i18n},278:function(e,t,n){"use strict";n.r(t);var o=n(0),a=n(1),r=n.n(a),s=n(7),l=n(2),c=n(8),i=n.n(c),d=n(33),u=n(100);const p=i.a.div`
2
  display: flex;
3
  justify-content: flex-end;
4
  gap: 8px;
6
  /* translators: %s expands to Yoast */
7
  Object(l.__)("%s SEO installation","wordpress-seo"),"Yoast");let c,i=Object(l.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(i=e.addons[0]),1!==e.addons.length&&(c=Object(o.createElement)("ul",{className:"ul-disc"},e.addons.map((e,t)=>Object(o.createElement)("li",{key:"addon-"+t},e)))),t?Object(o.createElement)(d.a,{title:r,onRequestClose:a,icon:Object(o.createElement)(u.a,null),isDismissible:!1},Object(o.createElement)("p",null,Object(l.sprintf)(
8
  /* translators: %s expands to Yoast SEO Premium */
9
+ Object(l.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),i)),c,Object(o.createElement)(p,null,Object(o.createElement)(s.Button,{onClick:a,id:"close-addon-installation-dialog"},Object(l.__)("Cancel","wordpress-seo")),Object(o.createElement)(s.Button,{onClick:function(){window.location.href="admin.php?page=wpseo_licenses&action=install&nonce="+e.nonce},id:"continue-addon-installation-dialog",className:"yoast-button--primary"},Object(l.__)("Install and activate","wordpress-seo")))):null};f.propTypes={nonce:r.a.string.isRequired,addons:r.a.array},f.defaultProps={addons:[]};var m=f;const b=document.createElement("div");b.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(b),Object(o.render)(Object(o.createElement)(m,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),b)},3:function(e,t){e.exports=window.React},33:function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var o=n(11),a=n.n(o),r=n(0),s=n(1),l=n.n(s),c=n(13);const i="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:n,showYoastIcon:o,additionalClassName:s,...l}=e,i=o?Object(r.createElement)("span",{className:"yoast-icon"}):null;return Object(r.createElement)(c.Modal,a()({title:t,className:`${n} ${s}`,icon:i},l),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:i,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},7:function(e,t){e.exports=window.yoast.componentsNew},8:function(e,t){e.exports=window.yoast.styledComponents}});
js/dist/admin-global.js CHANGED
@@ -1 +1 @@
1
- !function(o){var t={};function n(e){if(t[e])return t[e].exports;var a=t[e]={i:e,l:!1,exports:{}};return o[e].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=o,n.c=t,n.d=function(o,t,e){n.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:e})},n.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},n.t=function(o,t){if(1&t&&(o=n(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var a in o)n.d(e,a,function(t){return o[t]}.bind(null,a));return e},n.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(t,"a",t),t},n.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},n.p="",n(n.s=235)}({18:function(o,t){o.exports=window.jQuery},235:function(o,t,n){"use strict";n.r(t);var e=n(18),a=n.n(e);!function(o){function t(o,t,n){const e=new FormData,s={action:"wpseo_set_ignore",option:o,_wpnonce:n};for(const[o,t]of Object.entries(s))e.append(o,t);return fetch(ajaxurl,{method:"POST",body:e}).then(n=>(n&&(a()("#"+t).hide(),a()("#hidden_ignore_"+o).val("ignore")),n))}function n(){o("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),o(".yoast-issue-added").fadeOut(200)}function e(t,n){if(o(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==n.html){n.html&&(t.closest(".yoast-container").html(n.html),s());var e=o("#wp-admin-bar-wpseo-menu"),a=e.find(".yoast-issue-counter");a.length||(e.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),a=e.find(".yoast-issue-counter")),a.html(n.total),0===n.total?a.hide():a.show(),o("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+n.total),o("#toplevel_page_wpseo_dashboard .plugin-count").html(n.total)}}function s(){var t=o(".yoast-notification-holder");t.on("click",".dismiss",(function(){var t=o(this),n=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_dismiss_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:t.data("json")||n.data("json")},e.bind(this,n),"json")})),t.on("click",".restore",(function(){var t=o(this),n=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_restore_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:n.data("json")},e.bind(this,n),"json")}))}function i(o){o.is(":hidden")||(o.outerWidth()>o.parent().outerWidth()?(o.data("scrollHint").addClass("yoast-has-scroll"),o.data("scrollContainer").addClass("yoast-has-scroll")):(o.data("scrollHint").removeClass("yoast-has-scroll"),o.data("scrollContainer").removeClass("yoast-has-scroll")))}function r(){window.wpseoScrollableTables=o(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){var t=o(this);if(!t.data("scrollContainer")){var n=o("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(t),e=o("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(t);n.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),t.data("scrollContainer",e),t.data("scrollHint",n),t.appendTo(e.find(".yoast-table-scrollable__inner")),i(t)}}))}a()(document).ready((function(){a()(".yoast-dismissible").on("click",".yoast-notice-dismiss",(function(){var o=a()(this).parent();return a.a.post(ajaxurl,{action:o.attr("id").replace(/-/g,"_"),_wpnonce:o.data("nonce"),data:o.data("json")}),a.a.post(ajaxurl,{action:"yoast_dismiss_notification",notification:o.attr("id"),nonce:o.data("nonce"),data:o.data("json")}),o.fadeTo(100,0,(function(){o.slideUp(100,(function(){o.remove()}))})),!1})),a()(".yoast-help-button").on("click",(function(){var o=a()(this),t=a()("#"+o.attr("aria-controls")),n=t.is(":visible");a()(t).slideToggle(200,(function(){o.attr("aria-expanded",!n)}))})),a()("button#robotsmessage-dismiss-button").on("click",(function(){t("search_engines_discouraged_notice","robotsmessage",a()(this).data("nonce")).then(()=>{window.location.href.includes("page=wpseo_dashboard")&&window.location.reload()})}))})),window.wpseoSetIgnore=t,window.wpseoDismissLink=function(o){return a()('<a href="'+o+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},o(window).on("wp-window-resized orientationchange",(function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){i(o(this))}))})),o(window).on({"Yoast:YoastTabsMounted":function(){setTimeout((function(){r()}),100)},"Yoast:YoastTabsSelected":function(){setTimeout((function(){r()}),100)}}),o(document).ready((function(){o(".yoast-issue-added").on("mouseenter mouseleave",(function(o){o.stopPropagation(),n()})).fadeIn(),o("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",n),setTimeout(n,3e3),s(),function(){const o=a()(".wpseo-js-premium-indicator"),t=o.find("svg");if(o.hasClass("wpseo-premium-indicator--no")){const n=t.find("path"),e=o.css("backgroundColor");n.css("fill",e)}t.css("display","block"),o.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),r()}))}(a.a)}});
1
+ !function(o){var t={};function n(e){if(t[e])return t[e].exports;var a=t[e]={i:e,l:!1,exports:{}};return o[e].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=o,n.c=t,n.d=function(o,t,e){n.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:e})},n.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},n.t=function(o,t){if(1&t&&(o=n(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var a in o)n.d(e,a,function(t){return o[t]}.bind(null,a));return e},n.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(t,"a",t),t},n.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},n.p="",n(n.s=236)}({16:function(o,t){o.exports=window.jQuery},236:function(o,t,n){"use strict";n.r(t);var e=n(16),a=n.n(e);!function(o){function t(o,t,n){const e=new FormData,s={action:"wpseo_set_ignore",option:o,_wpnonce:n};for(const[o,t]of Object.entries(s))e.append(o,t);return fetch(ajaxurl,{method:"POST",body:e}).then(n=>(n&&(a()("#"+t).hide(),a()("#hidden_ignore_"+o).val("ignore")),n))}function n(){o("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),o(".yoast-issue-added").fadeOut(200)}function e(t,n){if(o(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==n.html){n.html&&(t.closest(".yoast-container").html(n.html),s());var e=o("#wp-admin-bar-wpseo-menu"),a=e.find(".yoast-issue-counter");a.length||(e.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),a=e.find(".yoast-issue-counter")),a.html(n.total),0===n.total?a.hide():a.show(),o("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+n.total),o("#toplevel_page_wpseo_dashboard .plugin-count").html(n.total)}}function s(){var t=o(".yoast-notification-holder");t.on("click",".dismiss",(function(){var t=o(this),n=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_dismiss_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:t.data("json")||n.data("json")},e.bind(this,n),"json")})),t.on("click",".restore",(function(){var t=o(this),n=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_restore_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:n.data("json")},e.bind(this,n),"json")}))}function i(o){o.is(":hidden")||(o.outerWidth()>o.parent().outerWidth()?(o.data("scrollHint").addClass("yoast-has-scroll"),o.data("scrollContainer").addClass("yoast-has-scroll")):(o.data("scrollHint").removeClass("yoast-has-scroll"),o.data("scrollContainer").removeClass("yoast-has-scroll")))}function r(){window.wpseoScrollableTables=o(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){var t=o(this);if(!t.data("scrollContainer")){var n=o("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(t),e=o("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(t);n.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),t.data("scrollContainer",e),t.data("scrollHint",n),t.appendTo(e.find(".yoast-table-scrollable__inner")),i(t)}}))}a()(document).ready((function(){a()(".yoast-dismissible").on("click",".yoast-notice-dismiss",(function(){var o=a()(this).parent();return a.a.post(ajaxurl,{action:o.attr("id").replace(/-/g,"_"),_wpnonce:o.data("nonce"),data:o.data("json")}),a.a.post(ajaxurl,{action:"yoast_dismiss_notification",notification:o.attr("id"),nonce:o.data("nonce"),data:o.data("json")}),o.fadeTo(100,0,(function(){o.slideUp(100,(function(){o.remove()}))})),!1})),a()(".yoast-help-button").on("click",(function(){var o=a()(this),t=a()("#"+o.attr("aria-controls")),n=t.is(":visible");a()(t).slideToggle(200,(function(){o.attr("aria-expanded",!n)}))})),a()("button#robotsmessage-dismiss-button").on("click",(function(){t("search_engines_discouraged_notice","robotsmessage",a()(this).data("nonce")).then(()=>{window.location.href.includes("page=wpseo_dashboard")&&window.location.reload()})}))})),window.wpseoSetIgnore=t,window.wpseoDismissLink=function(o){return a()('<a href="'+o+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},o(window).on("wp-window-resized orientationchange",(function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){i(o(this))}))})),o(window).on({"Yoast:YoastTabsMounted":function(){setTimeout((function(){r()}),100)},"Yoast:YoastTabsSelected":function(){setTimeout((function(){r()}),100)}}),o(document).ready((function(){o(".yoast-issue-added").on("mouseenter mouseleave",(function(o){o.stopPropagation(),n()})).fadeIn(),o("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",n),setTimeout(n,3e3),s(),function(){const o=a()(".wpseo-js-premium-indicator"),t=o.find("svg");if(o.hasClass("wpseo-premium-indicator--no")){const n=t.find("path"),e=o.css("backgroundColor");n.css("fill",e)}t.css("display","block"),o.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),r()}))}(a.a)}});
js/dist/admin-modules.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){var t={};function a(l){if(t[l])return t[l].exports;var c=t[l]={i:l,l:!1,exports:{}};return e[l].call(c.exports,c,c.exports,a),c.l=!0,c.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)a.d(l,c,function(t){return e[t]}.bind(null,c));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=236)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},145:function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var l=a(0),c=a(1),n=a.n(c),r=a(2),o=a(6),s=a(7),i=a(9);function p(e){let{name:t,title:a,subtitle:c,usps:n,id:p,image:d,finishableSteps:m,finishedSteps:u,upsellLink:f,upsellText:h,workout:z,badges:E}=e;const{openWorkout:b,toggleWorkout:M}=Object(o.useDispatch)("yoast-seo/workouts"),w=Object(o.useSelect)(e=>e("yoast-seo/workouts").getActiveWorkout(),[]),[g,k]=Object(l.useState)(!1),v=z,O=d;Object(l.useEffect)(()=>{m&&u&&u.length===m.length?k(!0):k(!1)},[u,m]);const y=Object(l.useMemo)(()=>u&&0!==u.length?u.length<m.length?Object(r.__)("Continue workout!","wordpress-seo"):Object(r.__)("Do workout again","wordpress-seo"):Object(r.__)("Start workout!","wordpress-seo"),[u,m]),j=Object(l.useCallback)(()=>{b(t),g&&M(t)},[z,g,b,M]),F=Object(i.makeOutboundLink)(),B=h||Object(r.sprintf)(
2
  /* translators: %s : Expands to the add-on name. */
3
  Object(r.__)("Unlock with %s!","wordpress-seo"),"Premium"),A=z?"":" card-disabled";return Object(l.createElement)(l.Fragment,null,!w&&Object(l.createElement)("div",{id:p,className:"card card-small"+A},Object(l.createElement)("h2",null,a," ",E),Object(l.createElement)("h3",null,c),Object(l.createElement)("div",{className:"workout-card-content-flex"},Object(l.createElement)("ul",{id:p+"-usp-list",className:"yoast-list--usp"},n.map((e,t)=>Object(l.createElement)("li",{id:`${p}-usp-${t}`,key:`${p}-${t}`},e))),d&&Object(l.createElement)(O,null)),Object(l.createElement)("span",null,z&&Object(l.createElement)(s.NewButton,{id:p+"-action-button",className:"yoast-button yoast-button--"+(g?"secondary":"primary"),onClick:j},y),!z&&Object(l.createElement)(F,{id:p+"-upsell-button",href:f,className:"yoast-button yoast-button-upsell"},B,Object(l.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),m&&u&&Object(l.createElement)("div",{className:"workout-card-progress"},Object(l.createElement)(s.ProgressBar,{id:p+"-progress",max:m.length,value:u.length}),Object(l.createElement)("label",{htmlFor:p+"-progress"},Object(l.createElement)("i",null,Object(r.sprintf)(// translators: %1$s: number of finished steps, %2$s: number of finishable steps
4
- Object(r.__)("%1$s/%2$s steps completed","wordpress-seo"),u.length,m.length)))))),z&&w===t&&Object(l.createElement)(v,null))}p.propTypes={name:n.a.string.isRequired,title:n.a.string.isRequired,subtitle:n.a.string.isRequired,usps:n.a.arrayOf(n.a.string).isRequired,id:n.a.string,finishableSteps:n.a.arrayOf(n.a.string),finishedSteps:n.a.arrayOf(n.a.string),image:n.a.func,upsellLink:n.a.string,upsellText:n.a.string,workout:n.a.func,badges:n.a.arrayOf(n.a.element)},p.defaultProps={id:"",finishableSteps:null,finishedSteps:null,image:null,upsellLink:null,upsellText:null,workout:null,badges:[]}},193:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var l,c=a(0),n=a(1),r=a.n(n),o=a(2),s=a(6),i=a(145),p=a(3);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function m(e){return p.createElement("svg",d({viewBox:"0 0 296 317",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),l||(l=p.createElement("g",{transform:"matrix(-1 0 0 1 295.274 .96)",fill:"none"},p.createElement("circle",{fill:"#F0ECF0",cx:131.18,cy:184.261,r:131.18}),p.createElement("g",{fill:"#EAB881"},p.createElement("path",{d:"M236.42 96.56c-.15-.43-.29-.87-.44-1.3.15.43.29.87.44 1.3zm-31.98 59.96a11 11 0 00-2.11.82c.67-.3 1.4-.56 2.11-.82zm-2.11.82a58.65 58.65 0 00-6 2.81c2.67-1.11 4.56-2.11 6-2.81z"}),p.createElement("path",{d:"M293.49 164.27c-8.58-10.51-1.05-27.75-34.52-86.31-3-5.22-5.26-14.52-12.85-17.58-9.11-3.67-12.77-9.16-21.89-12.83-6.85-2.76-4-1.36-3.21-.49 1.49 1.67-2-1.31-5.72 7.13-.38.85 2.86 1.63 4 5 .36 1.07.49 1.14 1.23 1.33 4.71 1.2 6.52 6.89 4.2 10.06-.7-1.43.18-6-4.68-6.36 2 1.44 4.06 3.42 4 5.88 9.4 16.64 17.56 14 20 15 12.43 4.92-17.28 64.57 23 86.13-7.34-1.94-14.31-5.46-23.92-1.33 7.28-5.53 2.46-7.57.86-10.89-2.17-2.92-2.29-11.71-2.6-22.62a103.2 103.2 0 001.09 20.32 54.8 54.8 0 00-38-.12c5.19-1.21 15.45 48.34 20.15 53.9 3.8-1.4 23-8.57 35.17-14.11 21.52-9.81 34.94-25.76 35.44-28.31.24-1.47-.85-2.71-1.75-3.8zm-41.62-99.13c.06.1 8.87 19.59.56 1.21-.2-.44-.38-.84-.56-1.21z"}),p.createElement("path",{d:"M215.17 56.04c.46.17 2 1.49-.23-.93-.88 2.39-.6 4.42 2 6.74 1.06-3 0-3.51-1.77-5.81zm-4.33 23.82c.28-.07.36.05-.35-.38l.35.38z"})),p.createElement("path",{d:"M203.74 73.77c0 .4-.33-.06 2.94 2.38l-2.94-2.38zm5.26 4.27c2.3 2 3.13 2.53 2.19 1.77L209 78.04zm6.17-22c.05.06 1.79 2.31 1.83 2.38-.49-1.27-.83-2.01-1.83-2.38zm-.52 11.73c1.38-.08.73 1.34 2.16-.5.52-.67 1.91-3.21.71-2.6.56-2.33-.09-6.71-.19-4.75-.13 2.46-3.7 10.77-8.67 9.87a7.6 7.6 0 003.25.22c2.74-.39 2.36-.97 2.74-2.24zm-5.99 2.02a6.27 6.27 0 01-1.42-.59c.42.309.906.51 1.42.59z",fill:"#D38053"}),p.createElement("path",{d:"M214.2 69.33a4.13 4.13 0 01-.85 3.73c3.38-1.27 3.66-3.51 2.48-4.78-1.18-1.27-1.34.03-1.63 1.05zm-32.31 1.85c.11.84 2.61 2.33 3.3 2.78a13.33 13.33 0 01-3.3-2.78zm10 4.39c-.21.13-.45.1.31 0-.28-.12-.13-.1-.31 0zm-6.51-1.53a29.79 29.79 0 004.51 2.28c2.54-1.52.8.82-4.51-2.28z",fill:"#D38053"}),p.createElement("path",{d:"M202.61 77.13c-.91.35-5.67.26-10.41-1.57-6.74 1-6.41 12.08-1 12.4 8.18.48 10.11 3 13.48 1.92 6.82-2.28 2.4-11.62-2.07-12.75z",fill:"#EAB881"}),p.createElement("path",{d:"M217.52 64.67a4.92 4.92 0 012.54-.48c4.87.36 4 5 4.68 6.36 2.31-3.16.52-8.86-4.2-10.06-2.25-.57.56-2.91-7.86-7.27a10.79 10.79 0 014.84 11.45zm15.23 112.51c-6.79 1.78-17.9 1.65-21-5.2 3.71 11.1 9 26.86 12.86 37.68 2.88-.89 7.41-1.86 8.89-3.4-3.52-4.16-8.67-10.41-8.74-15.89-.07-5.48 2.92-11.16 7.99-13.19zm-26.31-20.36c-.14.17-.15 0 .53 1.27-.18-.46-.35-.89-.53-1.27z",fill:"#D38053"}),p.createElement("path",{d:"M246.11 86.55c-2.26-3.64-4.21.58 2.23-3.3-10.49 4.56-18.5-2.9-24.34-13.21-.05 1.82-1.23 3.13-2.61 4.36-9.64 8.64-10.89 4.95-12.39 3.64-8-7-3.86-2.44-6.09-1-.71.46 4.08 1 5.31 7.11a5.26 5.26 0 01-2.67 5.38c7.41 5.8 14.7 2.46 25.68-4.09 14.67 22.17 7.38 66.27 12.78 73.54 1.6 3.32 6.42 5.36-.86 10.89 9.61-4.13 16.58-.61 23.92 1.33-37.63-20.16-14.29-73.91-20.96-84.65z",fill:"#D38053"}),p.createElement("path",{d:"M190.92 211.52a81.3 81.3 0 00-9.26-12.14c6.41 7.94 17.18 24.84 9.26 12.14z",fill:"#A52A6A"}),p.createElement("path",{d:"M205.85 156.04c-31.36 13.6-26.45 13.21-42 8.34-18.87-5.91-37.14-.76-32.1-1.07 11.82-.72 29.07 49.31 35.44 66.88l62.17-10.35c.64 7.64-20.9-59.34-23.51-63.8z",fill:"#A52A6A"}),p.createElement("path",{d:"M214.23 180.31c-8.73 13.9-32.09 11.23-35.71-4.78 8 32.54 8.23 20.07-9.5 9.69 25.36 25.8 22.47 41.74 28.27 44.5 3.49 1.65 13.65-3.77 26.3-7.69 3.3-1 4.88-1.61 4.76-2.19l-14.12-39.53z",fill:"#7C2050"}),p.createElement("path",{d:"M192.93 72.9a3 3 0 01-.92 2.58 25.5 25.5 0 009.52 1.8c2.47-.02.6.27-8.6-4.38z",fill:"#EAB881"}),p.createElement("path",{d:"M220.06 64.19c-3.36-.25-1 1.37-4.23 4.09 1.18 1.27.9 3.51-2.48 4.78a4.07 4.07 0 00.85-3.73c-2.67 1.26-5.78.74-7-.13 4.38 2.46 8.07-2.64 9.69-7.37-2.58-2.31-2.87-4.34-2-6.74-1.19-1.31-4.4-3.35.19-.49a25 25 0 012.94-5.18c1.27-1.71 5.22-.83 1.65-3.46-1.76-1.3-8.08-2.63-8.81-2.59a4.11 4.11 0 00-3.06 1.53c-4.33-1.59-9.29-1.86-11.78 2-4.24-3.58-9.38 2.15-7.77 6.69 1.44 4-1.86.15-7.06 14.62-1.27 3.54 5.07 7 8.77 7.58 7.7 1.25-18.75-8.93 2.24-.45 3.4 2.66 5.28 1.49 10.44 1.8 1.08-.47 1-1.92 1.05-3.09 0-1.84 6.81 8.52 10.32 5.44 8.71-4.45 13.99-9.58 6.05-15.3z",fill:"#EAB881"}),p.createElement("path",{d:"M192.51 69.95c.38.94.28.45 0-2.57a4.18 4.18 0 000 2.57z",fill:"#EAB881"}),p.createElement("path",{d:"M194.68 57.19a15.87 15.87 0 00.36-1.77c-.14.62-.25 1.18-.36 1.77z",fill:"#D38053"}),p.createElement("path",{d:"M59 167.04c-7.75 3.79-5.09 3.25-3.46 3.59a74.937 74.937 0 003.46-3.59zm69-3.33l-.77-.17c.242.112.504.17.77.17z",fill:"#A52A6A"}),p.createElement("path",{d:"M200.06 262.44c1.23-17.17 10-35.47-31-77.22-8.89-9-13.84-13.86-31.69-19.13 6.35 7.45-.5 40.2-3.43 38.36-25.84-16.17-70.31-19.82-79.39-32.84 6.7-6.24-28.46 5.48-39.7 16.24-3.57 3.42-8.13 12.77-12.22 22.43 8.53 42.43 41.23 74.66 42.5 72 3.64-7.7 7.17-15.66 6.64-14.47 11.84 12.23 19.29 19.48 23.78 35.23A131 131 0 00201 295.25c-.06-16.21-1.3-27.79-.94-32.81zm-145.78-.4c.1 0 0-.08-1.06 2.38.36-.79.71-1.59 1.06-2.38z",fill:"#A52A6A"}),p.createElement("path",{d:"M53.29 267.84c5.65 7.53 33.06 17 44.3 27a280 280 0 01-35.06-36.66 203.23 203.23 0 0049.54 9.79l-47.15-13.12c.667-5.7 1.333-11.393 2-17.08-3.35 4.49-11.74 22.07-13.63 30.07zm125.12-18.17c-12.42-1.14-45.91 6.44-50.79 17 18.32-12.22 51.08-16.81 54.55.56-.17-1.02 12.83-16.03-3.76-17.56z",fill:"#7C2050"}),p.createElement("path",{d:"M124.39 155.75c0 .21.1.43.16.64-.06-.21-.11-.43-.16-.64zm-57.05-39.34c-.59 0-.52-.25 0 1.56 1.53 2.37.74 1.51 0-1.56zm56.8 38.33l.12.46-.12-.46zm-69.63 16.87c9.09 13 53.53 16.65 79.39 32.84 2.16 1.35 8.75-21.75 4.69-36.08-1.9-6.72-10.19-4.65-10.62-4.66-1 0-1.46-.64-1.83-1.66-.68-1.91-1.52-5.36-1.48-5.21-1.23 4.07-1.68 6.59-3.49 7.5-6.48 3.24-37.85-9.4-52.25-41 .62 2.53 1.06 5.26-1 3.64 3.8 16.54 5.92 26.64-13.41 44.63z",fill:"#EAB881"}),p.createElement("path",{d:"M107.65 148.64c-20.65-5.6-33.72-12.94-37.72-32.87-3.26 1.48-3.22-1.55-1 7.6 14.4 31.56 45.77 44.21 52.25 41 2.15-1.07 3.54-7.31 3.38-8-2.21-8.85 2.2-2.53-16.91-7.73z",fill:"#D38053"}),p.createElement("path",{d:"M140.75 66.31c-3-9.44-7.65-19.56-11.74-25.21a15.73 15.73 0 01-8.82-3.17c-7.48 8.26-15.45 4.83-16.65 0-1.68 5.91-9.62 9-14.83 5.74a6.35 6.35 0 004.78-2.95 18.42 18.42 0 01-15.21-2.12c-6-.8-4.66-.93-1.31 4.28 7.29 11.35 4.24 15-4.14 23.72C62.7 77.12 70.69 82.04 74 85.14c6.7 6.17 1.74 13-5.65 12.35 4.88 8.65 5.25 9.2 5.41 10.7.34 3.25-1 6.28-3.86 7.58 4 19.73 16.77 27.17 37.72 32.87 6.48 1.76 13.43 3.33 20 1.88 6.57-1.45 12.87-6.74 13.24-13.51.22-4.11-1.69-10-1.26-14 .68-6.64 5.94-5 6.24-21a112.12 112.12 0 00-5.1-35.45",fill:"#EAB881"}),p.createElement("path",{d:"M121.63 67.04c-.14 1.89.33 11.5 1.43 14.94 2.29 7.11 7.13 6.6 10.67 8.13 4.36 1.9 5.64 6.66-1.58 8.75-3.85 1.12-7.92 2.25-11.82 1.33 1.4 1.63 3.81 1.84 6 1.84 14.73 0 15.5-9 13.14-12.25-3.67-5.06-12.38-1.31-15.58-12.81-.81-2.74.11-8.51-2.26-9.93z",fill:"#D38053"}),p.createElement("path",{d:"M110.39 112.3c-10.66-3-13.86-7.32-14.77-5.86-1.15 1.83 18.2 12.62 29.48 6.84-5.03.06-9.69.44-14.71-.98zM86.23 73.61c1.75 0 7-6 8.82-7.15 3.63-2.2 7.63-1.08 11.78-2-.51-1.34-3.51-5.43-4.18-5.29-3.17.68-9.2.3-9.2.3s-13.18 14.27-7.22 14.14zm39.37-15.85c-5.09.43-3.23 1.61-2.29 5.5a18.92 18.92 0 0117.63 3.35c-5.31-8.47-9.64-9.34-15.34-8.85z",fill:"#000"}),p.createElement("path",{d:"M91.39 85.5c4.56 6.52 15.3 4.23 18.45-1.77-.92-5.69-16.99-9.33-18.45 1.77zm9.87 1.69c-6.09 3.06-8.18-7.15-1.85-7.15 4.07 0 5.74 5.19 1.85 7.15zm25.58-4.58c2.38 3.65 14 2.53 14.28-3.35-4.19-9.42-16-4.69-14.28 3.35zm8.47-1.63a3.56 3.56 0 01-5.31 1.29c-2.29-1.87-1-6.45 2.58-6a3.57 3.57 0 012.73 4.71z",fill:"#FFF"}),p.createElement("path",{d:"M126.72 79.53c1.76-6.07 10.8-8.36 14.4-.27 1.07 2.38.95-6.79-5.3-7.23-3.92-.28-10.17.09-9.49 10a11.4 11.4 0 01.39-2.5zm-27.31.51c-6.34 0-4.24 10.2 1.85 7.15 3.89-1.95 2.23-7.15-1.85-7.15z",fill:"#000"}),p.createElement("path",{d:"M132.6 76.26c-3.61-.44-4.87 4.14-2.58 6a3.4 3.4 0 102.58-6zm-63.68 47.11c-2.54-10.52-.32-4.66-9.77-9 5.12 9 12.19 18.98 9.77 9zM129 41.1c5.48 7.57 6.11 13.42 5.52 9.56a51.53 51.53 0 00-2.44-9.71 16.7 16.7 0 01-3.08.15z",fill:"#000"}),p.createElement("path",{d:"M137.16 26.23c3.42-12.58-5.26-13.54-7.57-11.18A10.51 10.51 0 00113.3 5.04c-3.11-5.35-12.48-8.78-24.25 2.14C88-.5 72.44 1.9 70.12 17.68c-5.8 1.09-8.67 4.26-10 6.8-5.74.56-24.3 24.19-25.12 32.06-.51 4.69 2 9.11 3.31 13.65.84 2.89 1.22 6 2.75 8.59 4 6.77 0 3.56 5 2.71 4.44-.75 16.29 5.15 22.4 16 3.66.32 7.38-.9 8.67-5.17 1.72-5.69-6.59-8.6-8.54-13.18-4.08-9.57 10.77-15 12.37-23.84 1-5.78-3.41-11.93-7.06-17.09 1.24 0 2.7.15 4.46.38-.16-.1-.3-.21-.45-.32a17.59 17.59 0 0015.66 2.44 6.35 6.35 0 01-4.78 2.95c5.21 3.24 13.15.17 14.83-5.74 1.2 4.84 9.14 8.31 16.65 0a16.12 16.12 0 0018.08.78 11.39 11.39 0 01-5.61-4.34c3.19.61 6.37-1.64 7.88-4.5 1.51-2.86 1.74-6.22 1.9-9.46a9.68 9.68 0 01-5.36 5.83zm-77.44 3.81l-.08-.11.08.11zm-.5-3.51v.09c0-.37.06-.82.09-1.36-.05.48-.07.89-.09 1.24v.03zm14.53 7.72a18.09 18.09 0 004.06 4 16.75 16.75 0 01-4.06-4.03v.03zm-.59-.86l.24.35-.24-.35z",fill:"#000"}),p.createElement("path",{d:"M97.49 76.04c-3.73.6-7.38 4.53-6.58 9 1-2.29 1.84-4.94 5.06-6.12 4.28-1.56 11.29-.39 13.75 4.36 1.38 2.65.02-9.24-12.23-7.24z",fill:"#000"}),p.createElement("path",{d:"M73.79 108.19c-.16-1.5-.53-2.05-5.41-10.7-6.11-10.84-17.95-16.75-22.38-16-7.48 1.27-15.82 21.55 15.3 33.82 8.33 3.28 13.12-1.13 12.49-7.12z",fill:"#EAB881"}),p.createElement("path",{d:"M96 105.92c2.11-2.9 10.26 2.05 16.39-5.72.79-1 1.41-4 3.31-3.71-5.06-.88-6.61 8.28-14.23 6.32-3.12-.81-9-5.15-10 11.67a58.56 58.56 0 014.53-8.56zm-33.55-5.55c4.3-10.34-20.92-21.24-19.6-7 .3 3.21 2.29 8.83 5.31 9.81-2.45-5.37.27-12.44 1.57-13.5 2-1.61 4.51.76 7.4 2.9-.13 1.68-2.51 2.46-2.65 4.09-.12 1.31 1.07 2.94 5.05 2a7.72 7.72 0 01-2.17 5 5.2 5.2 0 005.09-3.3zm130.32-29.93a3.7 3.7 0 01-.27-3.06c4.45-17.69 1.95-7.91-1.07-3.12-2.38 3.78-3.24 6.3.67 8.22 23 11.28 1.9-.25.67-2.04z",fill:"#D38053"}),p.createElement("path",{d:"M192.25 75.29c-2.41-1-6.47-3.9-6.5-5.61 0-1.15 4.89-8.09 3.9-14.36-1.07 1.71-6.51 12.19-6.39 14.2.23 3.86 9.09 5.81 8.99 5.77zm13.21-25.34c-.16 1.86-6.76 14.12-6.76 18.83.36 1.09 4.49 2.16 4.71 3.29-6.82-5.17 3.5-20.43 2.05-22.12z",fill:"#D38053"}))))}var u=a(35);function f(e){let{workout:t,badges:a,upsellLink:l,upsellText:n}=e;const r=Object(s.useSelect)(e=>e("yoast-seo/workouts").getFinishedSteps(u.c.cornerstone)),p=l||"https://yoa.st/workout-cornerstone-upsell";return Object(c.createElement)(i.a,{id:"cornerstone-workout-card",name:u.c.cornerstone,title:Object(o.__)("The cornerstone approach","wordpress-seo"),subtitle:Object(o.__)("Rank with articles you want to rank with","wordpress-seo"),usps:[Object(o.__)("Make your important articles rank higher","wordpress-seo"),Object(o.__)("Bring more visitors to your articles","wordpress-seo")],image:m,finishableSteps:u.a.cornerstone,finishedSteps:r,upsellLink:p,upsellText:n,workout:t,badges:a})}f.propTypes={workout:r.a.func,badges:r.a.arrayOf(r.a.element),upsellLink:r.a.string,upsellText:r.a.string},f.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},194:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var l,c=a(0),n=a(1),r=a.n(n),o=a(2),s=a(6),i=a(145),p=a(3);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function m(e){return p.createElement("svg",d({viewBox:"0 0 299 322",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),l||(l=p.createElement("g",{transform:"matrix(-1 0 0 1 298.412 0)",fill:"none"},p.createElement("circle",{fill:"#F0ECF0",cx:131.2,cy:190.029,r:131.2}),p.createElement("path",{d:"M262.5 92.23c-1 1.2-3 2.9-7.5 5a18.4 18.4 0 01-10.9 1.6c-.5-1-1-2.2-1.7-3.3l.4-.2.3-.2a14 14 0 003.3-.2c2.4.2 4.7-.6 6.9-3.2 3.1-3.9 1.7-10.7-1.3-14.6 2.6 2.5 4 5.7 6.4 8.6a231 231 0 013.3 4c.1.4 1.5 1.8.8 2.5zm-90.9 98.2a17.1 17.1 0 014 14.3c-11-7.9-22-18.9-31.8-37.8 26.5 1 39.4 8.8 39.5 8.7 43-17.2 51.7 1.5 66.8-6.3 2.3 4.7 5.3 6.3 8.4 9.4-13.5-13.9 5.7-22-5.1-57.7 7.3 0 20.8-4.8 22.9-9.7 14.8 26.3 10.5 39.9 17.8 54.6.6 1.2 2.3 6.7 3.5 8.2 2 2.8 0 7.7-2.7 10.6-29.7 32.8-68.9 33.6-93.5 36.8-6.4-4.6-13.8-8.5-21.5-13.7-1-5.1-1.2-11.2-8.3-17.4z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.4 121.03c10.8 35.8-8.4 43.8 5.1 57.8-3-3.2-6-4.8-8.4-9.5a52.999 52.999 0 01-.3-2.2 50.2 50.2 0 01-.4-5v-2l.1-3.6.1-1.8.3-3.7.4-3.7.6-5.6a153.4 153.4 0 00.6-9.5v-2a69 69 0 00-.3-7.8l-.2-1.6a10.5 10.5 0 002.4.3v-.1zm-11-25.6l1.7 3.4h-.1c-1.9-.1-2.3-2.3-2.7-2.6l-.1-.2 1.2-.6z",fill:"#DB7A53"}),p.createElement("path",{d:"M219.7 95.53c-.7-1.6-3-3-5.5-3.6.1-.011.2-.011.3 0a8.4 8.4 0 005.1-1.3l-.3-.2a1.6 1.6 0 00.2 0 3.3 3.3 0 002.7-.6 34.2 34.2 0 006.4-4 5 5 0 002-2.8l.4.3c-.7 6.5 5.4 11.5 12.1 11.9l-.3.1-.4.2-1.2.6c-3.8 1.9-11 5.7-13.6 5.6-2.9 0-6.9-2.2-9.8-3.9 1.4-.5 2.3-1.2 1.9-2.3z",fill:"#DB7A53"}),p.createElement("path",{d:"M223.7 76.23v.3a3.7 3.7 0 01-.2 1.3c-1.3-.7-2.4-1.5-2.6-2.6a3.2 3.2 0 01.3-1.7 7.1 7.1 0 012.5 2.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.3 91.73c-2.1 2.6-4.5 3.4-6.9 3.2a13 13 0 005.2-2.3c-6 2.7-10.5 1.1-13.8-1.5a36.9 36.9 0 01-4.7-5.3c-1.1-1.6-1.8-2.8-2.1-2.9a3 3 0 000 .3l-.3-.3a2.4 2.4 0 00-.9-2 10.2 10.2 0 00-3.2-1.9 5.5 5.5 0 012.9.6c1.6.9 1 2.1 1.8 3.1a3.3 3.3 0 00.2-3.7c-.8-1.3-4-1.1-6.1-1.3a2.3 2.3 0 000-.2l.8-1a1.3 1.3 0 01-.7-.8c-.8-1.2-2.4-2-4.2-2.6l.1-.2a16.4 16.4 0 012.2-3.5c.7-.8 5.5-.3 6.1-.6a21 21 0 002.5.7l16.8 5.1a7.8 7.8 0 013 2.5c3 3.9 4.4 10.7 1.3 14.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M228.6 85.73a34.2 34.2 0 01-6.4 4 3.3 3.3 0 01-2.6.6c1.5-.6 2.1-2.3.7-2.8l-.8-3.8a10 10 0 002-.7v.1c.5.8.4 4-.4 4.6 1-.2 2.2-3.1 2.5-4a1.3 1.3 0 00-.6-1.5 5.2 5.2 0 00.8-.8 6.7 6.7 0 001.3-2 6.3 6.3 0 011.5-.4 10.2 10.2 0 013.2 1.9 2.4 2.4 0 01.9 2 5 5 0 01-2.1 2.8zm-5-16.3a16.4 16.4 0 00-2.2 3.5l-.1.2a39 39 0 00-2.4-.6 9 9 0 012.3 1 3.2 3.2 0 00-.3 1.7c.3 1.1 1.3 2 2.6 2.6a11.3 11.3 0 01-.9 1.8 9.3 9.3 0 01-2.7 3.3l-.5.3-3.4-15.4-2.1-.3a4.4 4.4 0 012.7-1.4 35.6 35.6 0 0113 2.7c-.5.3-5.3-.2-6 .6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M219.4 83.23a6 6 0 01-2.8.7 7.8 7.8 0 01-1.5-.2 4 4 0 001.5.2 9.8 9.8 0 003-.2l.7 3.8c1.4.5.8 2.2-.7 2.8h-.1a1.6 1.6 0 01-.2 0 39 39 0 00-7-3c-.3-3.4-.6-6.7-2-9.7 1.7-2.8 3.2-5.6 1.7-6.6 0 1.3-1.1 3.4-2.4 5.4a13.3 13.3 0 00-1.2-1.7 13 13 0 00-5.2-3.6c.8-1.7 1.4-3.5 3.7-3.8a24.3 24.3 0 016.9.2l2.1.3 3.5 15.4z",fill:"#F9BF8C"}),p.createElement("path",{d:"M223.7 76.23a5 5 0 01.6 3.4 7 7 0 01.8-.3 6.7 6.7 0 01-1.3 2.1 5.2 5.2 0 01-.8.8 1.7 1.7 0 00-1.2-.2l-.2 1a10 10 0 01-2 .7 9.8 9.8 0 01-3 .2 6 6 0 002.8-.7l.5-.3a9.3 9.3 0 002.7-3.3 11.3 11.3 0 001-1.9 3.7 3.7 0 00.1-1.3v-.2zm1.6 1.3c.007.1.007.2 0 .3v-.3z",fill:"#DB7A53"}),p.createElement("path",{d:"M223 82.23c.524.3.773.92.6 1.5-.3.9-1.4 3.8-2.5 4 .8-.7 1-3.8.5-4.6v-.1l.3-1a1.7 1.7 0 011.1.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M201.4 91.73a3.1 3.1 0 00-.8.7c-2-.9-3.9-2.7-5.7-3.4-.5-.1-2.7-.8-2.9-1.4a13.7 13.7 0 005.2 2 43 43 0 004.2 2v.1zm.1-2.2h.1a30.3 30.3 0 005.4.4 30 30 0 003.6 1.6c-2.6-.3-5.7-1-8-.4l-2.2-1.3a2.7 2.7 0 001.1-.3zm13 2.5a1.4 1.4 0 00-.3 0 10.6 10.6 0 00-2-.4h-.4a26.6 26.6 0 01-3-1.8l1.7-.1a3.2 3.2 0 001.3-.4 1.2 1.2 0 00.5-1l6.7 2.7-6.7-3.6a39 39 0 017 3c.1.2.3.2.4.3a8.4 8.4 0 01-5.2 1.3z",fill:"#F9BF8C"}),p.createElement("path",{d:"M225 79.33a7 7 0 00-.7.3 5 5 0 00-.6-3.4 7.1 7.1 0 00-2.5-2.7 9 9 0 00-2.2-1l2.3.7c1.8.5 3.4 1.3 4.2 2.6a1.3 1.3 0 00.6.6c.2 0-.5.7-.8 1.1v.3c2.2 0 5.4-.1 6.2 1.2a3.3 3.3 0 01-.2 3.8c-.8-1-.2-2.3-1.8-3.2a5.5 5.5 0 00-3-.6 6.3 6.3 0 00-1.4.3h-.1zm6 3.9a3 3 0 010-.3c.3 0 1 1.3 2 3a23.8 23.8 0 004.8 5.2c3.3 2.6 7.8 4.2 13.8 1.6a13 13 0 01-5.2 2.2 14 14 0 01-3.3.2c-6.7-.4-12.8-5.4-12.1-11.9z",fill:"#DB7A53"}),p.createElement("path",{d:"M208.4 74.73c.478.53.913 1.099 1.3 1.7-1.4 2.2-3 4.3-3.5 5.3s-1.3 2.6-.3 3.6a38.8 38.8 0 006.4 3 1.2 1.2 0 01-.6 1 3.2 3.2 0 01-1.2.4l-1.8.1a14.4 14.4 0 00-3.6-1.9 13.4 13.4 0 01-3-1.2c0-.9-.3-2.4-.5-4 1.6-3 5-8.2 2.7-10.1.9 1.6-1.4 5.5-3 8l-.8-4a3.8 3.8 0 000-2 3.5 3.5 0 01-.2 1c-.4-1.6-.7-2.6-1-2.7-.9-.3-2 .6-3 2 1-2.2 1.5-4.1 4.7-4.1a7.3 7.3 0 012.2.4 13 13 0 015.2 3.5zm-6.1 13a39.6 39.6 0 014.7 2.2 30.3 30.3 0 01-5.3-.5 1.7 1.7 0 00.6-1.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M207 84.53c-.2-1.3 1.6-4.1 3.3-6.9a27 27 0 012 9.7l-5.3-2.8zm-7.6-11.7c.3 0 .6 1.2 1 2.7-1.2 2.7-5.5 6.5-6.7 8.9a3.4 3.4 0 00-.6 2c.2.7 2 2 4.1 3.2a13.7 13.7 0 01-5.2-2l-.4-.3a1.7 1.7 0 01-.5-.5 1.5 1.5 0 010-1.2c.5-1.2 2.8-7.5 5.2-10.9 1-1.3 2.1-2.2 3-1.9h.1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M199.4 86.63a5 5 0 002 .8l.9.3a1.7 1.7 0 01-.7 1.7v.1a2.7 2.7 0 01-1.2.3c-1.8-1-3.4-2.1-4.1-2.6-.4-.3-.8-.6-.9-1a1.7 1.7 0 01.4-1c1.2-2 4-5.9 4.7-8.7l.7 4-1 1.5c-1 1.5-2.2 3.5-.8 4.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M201.2 86.03c-.5-.7-.6-.8-.4-1.7a9.9 9.9 0 01.8-1.6l.5 4a3 3 0 01-.9-.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M211.8 91.63h-1.2a30 30 0 01-3.6-1.7 39.6 39.6 0 00-4.7-2.2l-.8-.3a5 5 0 01-2-.8c-1.5-1.1-.3-3 .8-4.6l1-1.4c1.6-2.5 4-6.5 3.1-8 2.2 2-1.2 7-2.8 10.1a9.9 9.9 0 00-.7 1.6c-.3.9-.2 1 .4 1.7a3 3 0 00.9.7 13.4 13.4 0 003 1.3 14.4 14.4 0 013.6 1.9 26.6 26.6 0 003 1.7z",fill:"#DB7A53"}),p.createElement("path",{d:"M195.8 85.33a1.7 1.7 0 00-.4 1c0 .4.5.7.9.9l4 2.6c.8.5 1.6 1 2.4 1.3a4.2 4.2 0 00-1.3.6 43 43 0 01-4.2-2c-2.1-1.3-4-2.6-4-3.3a3.4 3.4 0 01.5-2c1.2-2.3 5.5-6.1 6.6-8.8a3.5 3.5 0 00.3-1 3.8 3.8 0 010 2c-.8 2.8-3.6 6.6-4.8 8.7zm11.2-.8l5.3 2.8 6.7 3.7-6.7-2.6a38.8 38.8 0 01-6.4-3c-1-1-.4-2.4.3-3.5l3.5-5.4c1.3-2.2 2.4-4 2.4-5.3 1.5 1 0 3.7-1.8 6.5s-3.6 5.6-3.2 7l-.1-.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M201.4 91.73a4.2 4.2 0 011.3-.6c2.2-.5 5.3.1 7.9.4l1.2.1h.4a10.6 10.6 0 012 .3c2.4.6 4.8 2 5.4 3.6.5 1-.5 1.8-1.8 2.2a11.1 11.1 0 01-2 .4c-4.2.6-5.5 2-11.5 2.8-2.6.4-4.4-4-4.4-5.9a4.2 4.2 0 01.7-2.6 3.1 3.1 0 01.8-.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.4 121.03a10.5 10.5 0 01-2.4-.2 5.3 5.3 0 01-.7-.2c-2.4-.9-8.6-17.6-9.3-21-.3-1.2-.3-3.5.3-3.4.3.3.8 2.5 2.7 2.5h.1a18.4 18.4 0 0010.9-1.5c4.6-2.1 6.6-3.8 7.6-5 .6-.8-.7-2.2-.9-2.5.4-.4 1.3.1 1.7.3 5.9 2.8 10.2 12.7 13.1 19.4a2.9 2.9 0 01-.1 1.9c-2.1 5-15.6 9.8-23 9.8v-.1z",fill:"#A52A6A"}),p.createElement("path",{d:"M171.6 190.43c7 6.2 7.3 12.3 8.3 17.4l-4.4-3a17 17 0 00-3.9-14.4z",fill:"#DB7A53"}),p.createElement("path",{d:"M41.3 265.93l-.5.2c6.5 8.6 14.1 17.5 21 30.5a28.8 28.8 0 012.8 7.7c45.714 25.792 102.423 21.736 144-10.3-.8-3.5-1.7-7.1-2.8-11 12.67-7.311 18.506-22.484 14-36.4a43 43 0 00-18.4-25.1c-6.4-4.6-13.8-8.5-21.5-13.7l-4.4-3c-10.8-8-22-19-31.7-37.9l-.1-.2a71 71 0 00-19.9-2.3c12 5.8 41 37 4.2 43-29 3.1-47.3-27.9-84-28.7a47.8 47.8 0 00-13.5 9.4l-1 1a37 37 0 014.7-2c16.4 1 27 15.3 32.9 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.3 2.7-20-3.7l-1.5.7-1 .6-.7.3z",fill:"#009288"}),p.createElement("path",{d:"M29.5 189.23a37 37 0 014.5-2.2c16.4 1 27 15.3 33 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.4 2.7-20-3.7l-1.5.7c6.9-5.7 4.9-6.8 18-4.4-10.8-6.4-16.1-9.1-38.7 6.1a122.2 122.2 0 01-21.4-53.5 133 133 0 0128.7-24.1v.2z",fill:"#F9BF8C"}),p.createElement("path",{d:"M61 260.63c-13.2-2.4-11.1-1.3-18 4.4l-1 .6-.6.2-.6.3-.5.3-.6.3-1.1.6-.7.3-1 .6-.7.4-1.2.6-.6.3-1.3.7-.6.3-1.3.7-.5.3-1.4.8-.3.1-1.6 1-.6-.9-4.5-5.8c22.6-15.2 27.9-12.4 38.7-6v-.1z",fill:"#DB7A53"}),p.createElement("path",{d:"M128 207.43c-29.2 3.1-47.5-28.2-84.5-28.7 14.2-5.2 23-11.3 23-27.1 0-8.8-2.7-25.8-3.6-38.2 0 0 57 21.4 57.8 36.1l2 14.3c11.2 4.3 43.3 37.4 5.3 43.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M87.3 151.73a56.8 56.8 0 01-17.1-22.8 62.4 62.4 0 0043 22c2.5-.1 5-.2 7.3-.5v.5l.2 1.2c-4.7 11.9-7.3 19.5-33.4-.4z",fill:"#DB7A53"}),p.createElement("path",{d:"M162 280.43c.5 7.4-16.2 16.2-30.8 17.3-19.8 1.4-54.8-9.2-48-40.7 18.2 35 68.8 31.3 78.8 23.4z",fill:"#216D64"}),p.createElement("path",{d:"M122.5 72.33a9.8 9.8 0 00-2.1-.8h2.6l-.5.8zm-9.9.8a4.8 4.8 0 00-.6-1.7c7.3 0 4-.6.6 1.7zm12.6 14l.8.8c-.9-1.5-1.5-4.6-2.9-12.6l-.4-.3a16 16 0 002.5 12.1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M154.7 95.83a44.5 44.5 0 00-1.6-8.2c-2-6-4.8-6.6-7.3-9.6a50.6 50.6 0 00-1-23.9c0 .1-8.7-35.8-54.2-22a44.6 44.6 0 00-10 5.9c-10.6 8.2-7.6 13.4-10 25.4a74.9 74.9 0 01-4.4 11.9c-4.8 3.8-7.6 6.5-8.1 9.9 1 4.7 5.4 18.3 5 28.1 6 27.2 36.6 38.3 50 37.6 2.6-.1 5-.2 7.4-.5 6.5-.7 11.9-2.8 17-11.3 6.4-10.8 5.6-16.5 9.4-22.5 2.5-4.1 9-9.7 7.8-20.8zm-42.2-19.5c-1 7.6-2.5 10.5-5.3 11.4a18.3 18.3 0 001.3-3.3c-4.6 2.5-17 2.8-21.2-3-.9.4-2 .4-4-.6l.2-.1c4.2-.1 2.6-1 4.1-3.8a10.6 10.6 0 01.6-1h17.1a11 11 0 013.8 6.7 58.3 58.3 0 001.2-6.8l3-.2-.8.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M112.6 124.23c-4-2-5.6-6.3-11.6-10.8 10 5.2 19.3 6.3 26.5 3.8-1.7 1.7 1.2 6.3-3.5 8.4-4 1.7-7.3.5-11.4-1.4z",fill:"#D86060"}),p.createElement("path",{d:"M101 113.43l-1.6-.8c7.9-.3 12.9-.7 17.2-.3 2.2.3 2.2 2 3.8 2 1.6 0 2.7-1.6 4.4-1.4 1.2.2 3 1.1 5.6 3a20.3 20.3 0 01-2.9 1.2c-7.2 2.6-16.6 1.5-26.5-3.7z",fill:"#BC3939"}),p.createElement("path",{d:"M108.5 84.43l.2-.5a15.2 15.2 0 00-2.3-3.8c-5-5.8-13.6-5.1-16.5-1.6-.9 1.3-1.5 2.4-2.6 3 4.1 5.7 16.6 5.4 21.2 3v-.1zM97 85.63a4.8 4.8 0 11.408-9.592A4.8 4.8 0 0197 85.629z",fill:"#FFF"}),p.createElement("path",{d:"M89.9 78.53c-.9 1.3-1.5 2.4-2.6 3-1.1.6-2 .2-4-.7l.2-.2c4.2 0 2.6-1 4.1-3.7 2.8-5.2 9-4.8 14.6-3 .1 0 5.9 2.4 6.8 8.7l-.3 1.2a14.4 14.4 0 00-2.3-3.7c-5-5.8-13.6-5.1-16.5-1.6z",fill:"#000"}),p.createElement("path",{d:"M127.5 83.03h-.1a27 27 0 0011.6.6c2.7-1 4.8-4 5-6.8-1.8-1.2-2.8-4.6-8.2-2.9-5 1.6-7 4.2-8.3 9v.1zm2.8-3.7a4.4 4.4 0 118.798-.2 4.4 4.4 0 01-8.798.2z",fill:"#FFF"}),p.createElement("path",{d:"M145.1 75.33c0 .5.5.7 1 .9a8 8 0 001.2.1l.1.2a5 5 0 01-1.4.6 2.4 2.4 0 01-2-.4c-1.8-1.2-2.8-4.6-8.2-2.8-4.9 1.6-7 4.2-8.3 9h-.2c-1.2-6.7 4-11.3 9-12.5l3.1-.2c2.8.2 5.2 1.8 5.7 5.1z",fill:"#000"}),p.createElement("path",{d:"M106.7 61.53c-4 0-8.2-.4-11.7-.3-3.6.1-8.3 1.7-12.8 4.6 1.9-4 8.5-7.2 12.5-7.7 2.9-.3 6.8-.7 9.7-.2 3.7.7 5.6 3.1 2.3 3.6zm24.7 5.6c2.3-2.6 6.8-6.2 9.4-5.8 3 .4 3.5 1.2 5.4 3.6.056.898.056 1.8 0 2.7H145a7.6 7.6 0 00-4.7-2.2c-1.9-.1-7 1.2-8.8 1.7h-.1z",fill:"#B2512B"}),p.createElement("circle",{fill:"#000",transform:"rotate(-78.1 97.1 80.83)",cx:97.1,cy:80.829,r:4.8}),p.createElement("circle",{fill:"#000",cx:134.7,cy:79.329,r:4.4}),p.createElement("path",{d:"M106.3 109.73a40 40 0 01-10.3-1.3c-1.9 2-.1 6.6-.7 9.2-1-3.4-4-8-2.2-12.4a28.7 28.7 0 0013.2-1c9-2.8 6.6-6.2 12.6-6.5-5.2 1-4.4 11.4-12.6 12z",fill:"#DB7A53"}),p.createElement("path",{d:"M54 29.03c3-3.6 13.5-5.8 20-6-.5 1.3 4.5 2.7 4 4a37.3 37.3 0 008.4-.2 3.5 3.5 0 00.4 2.7l3.8 2.6a44.6 44.6 0 00-10.1 5.9c-10.5 8.2-7.5 13.4-9.9 25.4a74.9 74.9 0 01-4.4 11.9l-12.4 7a10.3 10.3 0 00-5.3-.7l-.3-.4c-2.2-4-6.8-14.2-7.2-18.8-1.4-11.4 1.2-25 10-32.4a18.5 18.5 0 013-2 9.8 9.8 0 00.1 1H54zm2.7 55l1.4.7 3.5-1.6a5.5 5.5 0 01-2.4 1.9 10.4 10.4 0 01-1.2.2l-1.2-1.2h-.1z",fill:"#838BC5"}),p.createElement("path",{d:"M127 22.23c-7.5-4.7-7-2-15.6-4l5.2-.4c-13.3-1-28.6 3.4-30.1 9a37.3 37.3 0 01-8.4.2c.5-1.3-4.6-2.6-4-4-6.6.2-17 2.4-20.1 6a9.8 9.8 0 010-1c0-8.2 10.8-17.8 30.3-15.8 13.4-14.3 42.4-21 61 8.1-13-7.3-16.2-.2-19.3.8 7.8-1.6 27.3 3 28.9 24.3-1.7-7.8-8.4-8.6-13.6-8-1.7-2.3-3.5-4.3-4.9-5.9-4.5-5.2-3.5-5.7-9.4-9.3z",fill:"#0071BC"}),p.createElement("path",{d:"M137.4 46.73c3.4 14.5-3.1 19.3-22.4 18.8 12.5-8.9 11.5-19.3 2-26.1-8.2-6-14 .2-26.4-7.3a46 46 0 01-3.8-2.6 3.5 3.5 0 01-.3-2.7c1.5-5.6 16.8-10 30-9l-5 .3c8.6 2.2 8-.6 15.5 4 5.9 3.7 4.9 4.2 9.4 9.5 1.4 1.6 3.2 3.5 4.8 5.8 3 4.2 5.5 9.6 3.5 16.7a26 26 0 01-2.6 6.2 14.6 14.6 0 00-4.7-13.6z",fill:"#0071BC"}),p.createElement("path",{d:"M126.1 69.33h-.7a14.6 14.6 0 013.2-1.7 14.8 14.8 0 00-2.5 1.7zm-.9 17.8l.8.8c1.2 1.8 2.7 1.5 6.3 4.8l.6.2c1.8 1.7 2.8 3.7 2 6.4-.2 3.2-5.3 8.2-12 5.8 5.3-1 6.9-.8 7.6-5.6-.2-6.7-8.3-4-10-16.5a17.3 17.3 0 01.9-8.8 9 9 0 011.3.8 16 16 0 002.5 12.1zm-2.1-14.5a6.3 6.3 0 00-.6-.3l.5-.9c1 0 .4.2.1 1.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M56.7 84.03a12.7 12.7 0 00-3-1.7l12.4-7 9.2-5.2c-1.3 1.7-1.6 4.2-1.1 7l-12.6 6-3.5 1.7-1.4-.8z",fill:"#93278F"}),p.createElement("path",{d:"M151 92.03c5.5-1.8 14.3-20.4 5.8-23.5-5.4-2-24.6-.6-29.9.8-29.7-.4-42.2-3.3-49.3-.7a5 5 0 00-2.3 1.6c-4.3 5.5 3.1 20.2 8 21.8a46.3 46.3 0 0012.5 1.6c11.6 0 14.8-2.2 16.6-17.3 1-.6 4.4-4.3 9-2a10.6 10.6 0 011.8 1c2.9 17.6 2.5 11.3 9.1 17.5l.6.1c5.8 1.4 13.9.5 18.1-.9zm-40.5-17.9c-.4 3.6-1.7 13.4-4.8 15.4-4.2 2.8-17 2-21.7.4-4-1.4-11.5-17.2-5.7-19.3 5.6-2 23.8 0 29.6.6 0 .2 2.8.3 2.6 3v-.1zm2.1-1a4.8 4.8 0 00-.6-1.8c7.3.2 4-.5.6 1.8zm10.5-.5a10 10 0 00-2.7-1.2c4.2.1 3.1-.3 2.7 1.2zm27.2 17.4c-4.7 1.6-16.3 2.5-20.6-.4-1-.7-2.8-5.1-4.5-15.3-.4-2.8 2.6-2.5 2.6-2.8.9-.2 4.3-.7 8.5-1 4.2-.3 15.6-1.2 19.7.2 5.8 2.1-1.6 18-5.7 19.3z",fill:"#5D237A"}),p.createElement("path",{d:"M45.5 82.33c-4.2 1.7-4.4 10-3 14.8 2.8 9.2 12 17.6 21.7 16.1 5.2-.7 1.5-5.7-1-16.4l-1-5.6c-3.3-7-9.4-11.7-16.7-8.9zm13.2 13c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M58.7 95.33c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#CE6D42"}))))}var u=a(35);function f(e){let{workout:t,badges:a,upsellLink:l,upsellText:n}=e;const r=Object(s.useSelect)(e=>e("yoast-seo/workouts").getFinishedSteps(u.c.orphaned)),p=l||"https://yoa.st/workout-orphaned-content-upsell";return Object(c.createElement)(i.a,{id:"orphaned-workout-card",name:u.c.orphaned,title:Object(o.__)("Orphaned content","wordpress-seo"),subtitle:Object(o.__)("Clean up your unlinked content to make sure people can find it","wordpress-seo"),usps:[Object(o.__)("Make pages easier for Google and visitors to find","wordpress-seo"),Object(o.__)("Add internal links to your posts and pages","wordpress-seo")],image:m,finishableSteps:u.a.orphaned,finishedSteps:r,upsellLink:p,upsellText:n,workout:t,badges:a})}f.propTypes={workout:r.a.func,badges:r.a.arrayOf(r.a.element),upsellLink:r.a.string,upsellText:r.a.string},f.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},2:function(e,t){e.exports=window.wp.i18n},236:function(e,t,a){"use strict";a.r(t);var l=a(193),c=a(194);window.yoast=window.yoast||{},window.yoast.adminModules={components:{workouts:{CornerstoneWorkoutCard:l.a,OrphanedWorkoutCard:c.a}}}},3:function(e,t){e.exports=window.React},35:function(e,t,a){"use strict";a.d(t,"c",(function(){return l})),a.d(t,"b",(function(){return c})),a.d(t,"a",(function(){return n}));const l={configuration:"configuration",cornerstone:"cornerstone",orphaned:"orphaned"},c={cornerstone:{chooseCornerstones:"chooseCornerstones",checkLinks:"checkLinks",addLinks:"addLinks",improved:"improved",skipped:"skipped"},orphaned:{improveRemove:"improveRemove",update:"update",addLinks:"addLinks",removed:"removed",noindexed:"noindexed",improved:"improved",skipped:"skipped"}},n={cornerstone:[c.cornerstone.chooseCornerstones,c.cornerstone.checkLinks,c.cornerstone.addLinks],orphaned:[c.orphaned.improveRemove,c.orphaned.update,c.orphaned.addLinks]}},6:function(e,t){e.exports=window.wp.data},7:function(e,t){e.exports=window.yoast.componentsNew},9:function(e,t){e.exports=window.yoast.helpers}});
1
+ !function(e){var t={};function a(l){if(t[l])return t[l].exports;var c=t[l]={i:l,l:!1,exports:{}};return e[l].call(c.exports,c,c.exports,a),c.l=!0,c.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)a.d(l,c,function(t){return e[t]}.bind(null,c));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=237)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},145:function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var l=a(0),c=a(1),n=a.n(c),r=a(2),o=a(6),s=a(7),i=a(9);function p(e){let{name:t,title:a,subtitle:c,usps:n,id:p,image:d,finishableSteps:m,finishedSteps:u,upsellLink:f,upsellText:h,workout:z,badges:E}=e;const{openWorkout:b,toggleWorkout:M}=Object(o.useDispatch)("yoast-seo/workouts"),w=Object(o.useSelect)(e=>e("yoast-seo/workouts").getActiveWorkout(),[]),[g,k]=Object(l.useState)(!1),v=z,O=d;Object(l.useEffect)(()=>{m&&u&&u.length===m.length?k(!0):k(!1)},[u,m]);const y=Object(l.useMemo)(()=>u&&0!==u.length?u.length<m.length?Object(r.__)("Continue workout!","wordpress-seo"):Object(r.__)("Do workout again","wordpress-seo"):Object(r.__)("Start workout!","wordpress-seo"),[u,m]),j=Object(l.useCallback)(()=>{b(t),g&&M(t)},[z,g,b,M]),F=Object(i.makeOutboundLink)(),B=h||Object(r.sprintf)(
2
  /* translators: %s : Expands to the add-on name. */
3
  Object(r.__)("Unlock with %s!","wordpress-seo"),"Premium"),A=z?"":" card-disabled";return Object(l.createElement)(l.Fragment,null,!w&&Object(l.createElement)("div",{id:p,className:"card card-small"+A},Object(l.createElement)("h2",null,a," ",E),Object(l.createElement)("h3",null,c),Object(l.createElement)("div",{className:"workout-card-content-flex"},Object(l.createElement)("ul",{id:p+"-usp-list",className:"yoast-list--usp"},n.map((e,t)=>Object(l.createElement)("li",{id:`${p}-usp-${t}`,key:`${p}-${t}`},e))),d&&Object(l.createElement)(O,null)),Object(l.createElement)("span",null,z&&Object(l.createElement)(s.NewButton,{id:p+"-action-button",className:"yoast-button yoast-button--"+(g?"secondary":"primary"),onClick:j},y),!z&&Object(l.createElement)(F,{id:p+"-upsell-button",href:f,className:"yoast-button yoast-button-upsell"},B,Object(l.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),m&&u&&Object(l.createElement)("div",{className:"workout-card-progress"},Object(l.createElement)(s.ProgressBar,{id:p+"-progress",max:m.length,value:u.length}),Object(l.createElement)("label",{htmlFor:p+"-progress"},Object(l.createElement)("i",null,Object(r.sprintf)(// translators: %1$s: number of finished steps, %2$s: number of finishable steps
4
+ Object(r.__)("%1$s/%2$s steps completed","wordpress-seo"),u.length,m.length)))))),z&&w===t&&Object(l.createElement)(v,null))}p.propTypes={name:n.a.string.isRequired,title:n.a.string.isRequired,subtitle:n.a.string.isRequired,usps:n.a.arrayOf(n.a.string).isRequired,id:n.a.string,finishableSteps:n.a.arrayOf(n.a.string),finishedSteps:n.a.arrayOf(n.a.string),image:n.a.func,upsellLink:n.a.string,upsellText:n.a.string,workout:n.a.func,badges:n.a.arrayOf(n.a.element)},p.defaultProps={id:"",finishableSteps:null,finishedSteps:null,image:null,upsellLink:null,upsellText:null,workout:null,badges:[]}},194:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var l,c=a(0),n=a(1),r=a.n(n),o=a(2),s=a(6),i=a(145),p=a(3);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function m(e){return p.createElement("svg",d({viewBox:"0 0 296 317",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),l||(l=p.createElement("g",{transform:"matrix(-1 0 0 1 295.274 .96)",fill:"none"},p.createElement("circle",{fill:"#F0ECF0",cx:131.18,cy:184.261,r:131.18}),p.createElement("g",{fill:"#EAB881"},p.createElement("path",{d:"M236.42 96.56c-.15-.43-.29-.87-.44-1.3.15.43.29.87.44 1.3zm-31.98 59.96a11 11 0 00-2.11.82c.67-.3 1.4-.56 2.11-.82zm-2.11.82a58.65 58.65 0 00-6 2.81c2.67-1.11 4.56-2.11 6-2.81z"}),p.createElement("path",{d:"M293.49 164.27c-8.58-10.51-1.05-27.75-34.52-86.31-3-5.22-5.26-14.52-12.85-17.58-9.11-3.67-12.77-9.16-21.89-12.83-6.85-2.76-4-1.36-3.21-.49 1.49 1.67-2-1.31-5.72 7.13-.38.85 2.86 1.63 4 5 .36 1.07.49 1.14 1.23 1.33 4.71 1.2 6.52 6.89 4.2 10.06-.7-1.43.18-6-4.68-6.36 2 1.44 4.06 3.42 4 5.88 9.4 16.64 17.56 14 20 15 12.43 4.92-17.28 64.57 23 86.13-7.34-1.94-14.31-5.46-23.92-1.33 7.28-5.53 2.46-7.57.86-10.89-2.17-2.92-2.29-11.71-2.6-22.62a103.2 103.2 0 001.09 20.32 54.8 54.8 0 00-38-.12c5.19-1.21 15.45 48.34 20.15 53.9 3.8-1.4 23-8.57 35.17-14.11 21.52-9.81 34.94-25.76 35.44-28.31.24-1.47-.85-2.71-1.75-3.8zm-41.62-99.13c.06.1 8.87 19.59.56 1.21-.2-.44-.38-.84-.56-1.21z"}),p.createElement("path",{d:"M215.17 56.04c.46.17 2 1.49-.23-.93-.88 2.39-.6 4.42 2 6.74 1.06-3 0-3.51-1.77-5.81zm-4.33 23.82c.28-.07.36.05-.35-.38l.35.38z"})),p.createElement("path",{d:"M203.74 73.77c0 .4-.33-.06 2.94 2.38l-2.94-2.38zm5.26 4.27c2.3 2 3.13 2.53 2.19 1.77L209 78.04zm6.17-22c.05.06 1.79 2.31 1.83 2.38-.49-1.27-.83-2.01-1.83-2.38zm-.52 11.73c1.38-.08.73 1.34 2.16-.5.52-.67 1.91-3.21.71-2.6.56-2.33-.09-6.71-.19-4.75-.13 2.46-3.7 10.77-8.67 9.87a7.6 7.6 0 003.25.22c2.74-.39 2.36-.97 2.74-2.24zm-5.99 2.02a6.27 6.27 0 01-1.42-.59c.42.309.906.51 1.42.59z",fill:"#D38053"}),p.createElement("path",{d:"M214.2 69.33a4.13 4.13 0 01-.85 3.73c3.38-1.27 3.66-3.51 2.48-4.78-1.18-1.27-1.34.03-1.63 1.05zm-32.31 1.85c.11.84 2.61 2.33 3.3 2.78a13.33 13.33 0 01-3.3-2.78zm10 4.39c-.21.13-.45.1.31 0-.28-.12-.13-.1-.31 0zm-6.51-1.53a29.79 29.79 0 004.51 2.28c2.54-1.52.8.82-4.51-2.28z",fill:"#D38053"}),p.createElement("path",{d:"M202.61 77.13c-.91.35-5.67.26-10.41-1.57-6.74 1-6.41 12.08-1 12.4 8.18.48 10.11 3 13.48 1.92 6.82-2.28 2.4-11.62-2.07-12.75z",fill:"#EAB881"}),p.createElement("path",{d:"M217.52 64.67a4.92 4.92 0 012.54-.48c4.87.36 4 5 4.68 6.36 2.31-3.16.52-8.86-4.2-10.06-2.25-.57.56-2.91-7.86-7.27a10.79 10.79 0 014.84 11.45zm15.23 112.51c-6.79 1.78-17.9 1.65-21-5.2 3.71 11.1 9 26.86 12.86 37.68 2.88-.89 7.41-1.86 8.89-3.4-3.52-4.16-8.67-10.41-8.74-15.89-.07-5.48 2.92-11.16 7.99-13.19zm-26.31-20.36c-.14.17-.15 0 .53 1.27-.18-.46-.35-.89-.53-1.27z",fill:"#D38053"}),p.createElement("path",{d:"M246.11 86.55c-2.26-3.64-4.21.58 2.23-3.3-10.49 4.56-18.5-2.9-24.34-13.21-.05 1.82-1.23 3.13-2.61 4.36-9.64 8.64-10.89 4.95-12.39 3.64-8-7-3.86-2.44-6.09-1-.71.46 4.08 1 5.31 7.11a5.26 5.26 0 01-2.67 5.38c7.41 5.8 14.7 2.46 25.68-4.09 14.67 22.17 7.38 66.27 12.78 73.54 1.6 3.32 6.42 5.36-.86 10.89 9.61-4.13 16.58-.61 23.92 1.33-37.63-20.16-14.29-73.91-20.96-84.65z",fill:"#D38053"}),p.createElement("path",{d:"M190.92 211.52a81.3 81.3 0 00-9.26-12.14c6.41 7.94 17.18 24.84 9.26 12.14z",fill:"#A52A6A"}),p.createElement("path",{d:"M205.85 156.04c-31.36 13.6-26.45 13.21-42 8.34-18.87-5.91-37.14-.76-32.1-1.07 11.82-.72 29.07 49.31 35.44 66.88l62.17-10.35c.64 7.64-20.9-59.34-23.51-63.8z",fill:"#A52A6A"}),p.createElement("path",{d:"M214.23 180.31c-8.73 13.9-32.09 11.23-35.71-4.78 8 32.54 8.23 20.07-9.5 9.69 25.36 25.8 22.47 41.74 28.27 44.5 3.49 1.65 13.65-3.77 26.3-7.69 3.3-1 4.88-1.61 4.76-2.19l-14.12-39.53z",fill:"#7C2050"}),p.createElement("path",{d:"M192.93 72.9a3 3 0 01-.92 2.58 25.5 25.5 0 009.52 1.8c2.47-.02.6.27-8.6-4.38z",fill:"#EAB881"}),p.createElement("path",{d:"M220.06 64.19c-3.36-.25-1 1.37-4.23 4.09 1.18 1.27.9 3.51-2.48 4.78a4.07 4.07 0 00.85-3.73c-2.67 1.26-5.78.74-7-.13 4.38 2.46 8.07-2.64 9.69-7.37-2.58-2.31-2.87-4.34-2-6.74-1.19-1.31-4.4-3.35.19-.49a25 25 0 012.94-5.18c1.27-1.71 5.22-.83 1.65-3.46-1.76-1.3-8.08-2.63-8.81-2.59a4.11 4.11 0 00-3.06 1.53c-4.33-1.59-9.29-1.86-11.78 2-4.24-3.58-9.38 2.15-7.77 6.69 1.44 4-1.86.15-7.06 14.62-1.27 3.54 5.07 7 8.77 7.58 7.7 1.25-18.75-8.93 2.24-.45 3.4 2.66 5.28 1.49 10.44 1.8 1.08-.47 1-1.92 1.05-3.09 0-1.84 6.81 8.52 10.32 5.44 8.71-4.45 13.99-9.58 6.05-15.3z",fill:"#EAB881"}),p.createElement("path",{d:"M192.51 69.95c.38.94.28.45 0-2.57a4.18 4.18 0 000 2.57z",fill:"#EAB881"}),p.createElement("path",{d:"M194.68 57.19a15.87 15.87 0 00.36-1.77c-.14.62-.25 1.18-.36 1.77z",fill:"#D38053"}),p.createElement("path",{d:"M59 167.04c-7.75 3.79-5.09 3.25-3.46 3.59a74.937 74.937 0 003.46-3.59zm69-3.33l-.77-.17c.242.112.504.17.77.17z",fill:"#A52A6A"}),p.createElement("path",{d:"M200.06 262.44c1.23-17.17 10-35.47-31-77.22-8.89-9-13.84-13.86-31.69-19.13 6.35 7.45-.5 40.2-3.43 38.36-25.84-16.17-70.31-19.82-79.39-32.84 6.7-6.24-28.46 5.48-39.7 16.24-3.57 3.42-8.13 12.77-12.22 22.43 8.53 42.43 41.23 74.66 42.5 72 3.64-7.7 7.17-15.66 6.64-14.47 11.84 12.23 19.29 19.48 23.78 35.23A131 131 0 00201 295.25c-.06-16.21-1.3-27.79-.94-32.81zm-145.78-.4c.1 0 0-.08-1.06 2.38.36-.79.71-1.59 1.06-2.38z",fill:"#A52A6A"}),p.createElement("path",{d:"M53.29 267.84c5.65 7.53 33.06 17 44.3 27a280 280 0 01-35.06-36.66 203.23 203.23 0 0049.54 9.79l-47.15-13.12c.667-5.7 1.333-11.393 2-17.08-3.35 4.49-11.74 22.07-13.63 30.07zm125.12-18.17c-12.42-1.14-45.91 6.44-50.79 17 18.32-12.22 51.08-16.81 54.55.56-.17-1.02 12.83-16.03-3.76-17.56z",fill:"#7C2050"}),p.createElement("path",{d:"M124.39 155.75c0 .21.1.43.16.64-.06-.21-.11-.43-.16-.64zm-57.05-39.34c-.59 0-.52-.25 0 1.56 1.53 2.37.74 1.51 0-1.56zm56.8 38.33l.12.46-.12-.46zm-69.63 16.87c9.09 13 53.53 16.65 79.39 32.84 2.16 1.35 8.75-21.75 4.69-36.08-1.9-6.72-10.19-4.65-10.62-4.66-1 0-1.46-.64-1.83-1.66-.68-1.91-1.52-5.36-1.48-5.21-1.23 4.07-1.68 6.59-3.49 7.5-6.48 3.24-37.85-9.4-52.25-41 .62 2.53 1.06 5.26-1 3.64 3.8 16.54 5.92 26.64-13.41 44.63z",fill:"#EAB881"}),p.createElement("path",{d:"M107.65 148.64c-20.65-5.6-33.72-12.94-37.72-32.87-3.26 1.48-3.22-1.55-1 7.6 14.4 31.56 45.77 44.21 52.25 41 2.15-1.07 3.54-7.31 3.38-8-2.21-8.85 2.2-2.53-16.91-7.73z",fill:"#D38053"}),p.createElement("path",{d:"M140.75 66.31c-3-9.44-7.65-19.56-11.74-25.21a15.73 15.73 0 01-8.82-3.17c-7.48 8.26-15.45 4.83-16.65 0-1.68 5.91-9.62 9-14.83 5.74a6.35 6.35 0 004.78-2.95 18.42 18.42 0 01-15.21-2.12c-6-.8-4.66-.93-1.31 4.28 7.29 11.35 4.24 15-4.14 23.72C62.7 77.12 70.69 82.04 74 85.14c6.7 6.17 1.74 13-5.65 12.35 4.88 8.65 5.25 9.2 5.41 10.7.34 3.25-1 6.28-3.86 7.58 4 19.73 16.77 27.17 37.72 32.87 6.48 1.76 13.43 3.33 20 1.88 6.57-1.45 12.87-6.74 13.24-13.51.22-4.11-1.69-10-1.26-14 .68-6.64 5.94-5 6.24-21a112.12 112.12 0 00-5.1-35.45",fill:"#EAB881"}),p.createElement("path",{d:"M121.63 67.04c-.14 1.89.33 11.5 1.43 14.94 2.29 7.11 7.13 6.6 10.67 8.13 4.36 1.9 5.64 6.66-1.58 8.75-3.85 1.12-7.92 2.25-11.82 1.33 1.4 1.63 3.81 1.84 6 1.84 14.73 0 15.5-9 13.14-12.25-3.67-5.06-12.38-1.31-15.58-12.81-.81-2.74.11-8.51-2.26-9.93z",fill:"#D38053"}),p.createElement("path",{d:"M110.39 112.3c-10.66-3-13.86-7.32-14.77-5.86-1.15 1.83 18.2 12.62 29.48 6.84-5.03.06-9.69.44-14.71-.98zM86.23 73.61c1.75 0 7-6 8.82-7.15 3.63-2.2 7.63-1.08 11.78-2-.51-1.34-3.51-5.43-4.18-5.29-3.17.68-9.2.3-9.2.3s-13.18 14.27-7.22 14.14zm39.37-15.85c-5.09.43-3.23 1.61-2.29 5.5a18.92 18.92 0 0117.63 3.35c-5.31-8.47-9.64-9.34-15.34-8.85z",fill:"#000"}),p.createElement("path",{d:"M91.39 85.5c4.56 6.52 15.3 4.23 18.45-1.77-.92-5.69-16.99-9.33-18.45 1.77zm9.87 1.69c-6.09 3.06-8.18-7.15-1.85-7.15 4.07 0 5.74 5.19 1.85 7.15zm25.58-4.58c2.38 3.65 14 2.53 14.28-3.35-4.19-9.42-16-4.69-14.28 3.35zm8.47-1.63a3.56 3.56 0 01-5.31 1.29c-2.29-1.87-1-6.45 2.58-6a3.57 3.57 0 012.73 4.71z",fill:"#FFF"}),p.createElement("path",{d:"M126.72 79.53c1.76-6.07 10.8-8.36 14.4-.27 1.07 2.38.95-6.79-5.3-7.23-3.92-.28-10.17.09-9.49 10a11.4 11.4 0 01.39-2.5zm-27.31.51c-6.34 0-4.24 10.2 1.85 7.15 3.89-1.95 2.23-7.15-1.85-7.15z",fill:"#000"}),p.createElement("path",{d:"M132.6 76.26c-3.61-.44-4.87 4.14-2.58 6a3.4 3.4 0 102.58-6zm-63.68 47.11c-2.54-10.52-.32-4.66-9.77-9 5.12 9 12.19 18.98 9.77 9zM129 41.1c5.48 7.57 6.11 13.42 5.52 9.56a51.53 51.53 0 00-2.44-9.71 16.7 16.7 0 01-3.08.15z",fill:"#000"}),p.createElement("path",{d:"M137.16 26.23c3.42-12.58-5.26-13.54-7.57-11.18A10.51 10.51 0 00113.3 5.04c-3.11-5.35-12.48-8.78-24.25 2.14C88-.5 72.44 1.9 70.12 17.68c-5.8 1.09-8.67 4.26-10 6.8-5.74.56-24.3 24.19-25.12 32.06-.51 4.69 2 9.11 3.31 13.65.84 2.89 1.22 6 2.75 8.59 4 6.77 0 3.56 5 2.71 4.44-.75 16.29 5.15 22.4 16 3.66.32 7.38-.9 8.67-5.17 1.72-5.69-6.59-8.6-8.54-13.18-4.08-9.57 10.77-15 12.37-23.84 1-5.78-3.41-11.93-7.06-17.09 1.24 0 2.7.15 4.46.38-.16-.1-.3-.21-.45-.32a17.59 17.59 0 0015.66 2.44 6.35 6.35 0 01-4.78 2.95c5.21 3.24 13.15.17 14.83-5.74 1.2 4.84 9.14 8.31 16.65 0a16.12 16.12 0 0018.08.78 11.39 11.39 0 01-5.61-4.34c3.19.61 6.37-1.64 7.88-4.5 1.51-2.86 1.74-6.22 1.9-9.46a9.68 9.68 0 01-5.36 5.83zm-77.44 3.81l-.08-.11.08.11zm-.5-3.51v.09c0-.37.06-.82.09-1.36-.05.48-.07.89-.09 1.24v.03zm14.53 7.72a18.09 18.09 0 004.06 4 16.75 16.75 0 01-4.06-4.03v.03zm-.59-.86l.24.35-.24-.35z",fill:"#000"}),p.createElement("path",{d:"M97.49 76.04c-3.73.6-7.38 4.53-6.58 9 1-2.29 1.84-4.94 5.06-6.12 4.28-1.56 11.29-.39 13.75 4.36 1.38 2.65.02-9.24-12.23-7.24z",fill:"#000"}),p.createElement("path",{d:"M73.79 108.19c-.16-1.5-.53-2.05-5.41-10.7-6.11-10.84-17.95-16.75-22.38-16-7.48 1.27-15.82 21.55 15.3 33.82 8.33 3.28 13.12-1.13 12.49-7.12z",fill:"#EAB881"}),p.createElement("path",{d:"M96 105.92c2.11-2.9 10.26 2.05 16.39-5.72.79-1 1.41-4 3.31-3.71-5.06-.88-6.61 8.28-14.23 6.32-3.12-.81-9-5.15-10 11.67a58.56 58.56 0 014.53-8.56zm-33.55-5.55c4.3-10.34-20.92-21.24-19.6-7 .3 3.21 2.29 8.83 5.31 9.81-2.45-5.37.27-12.44 1.57-13.5 2-1.61 4.51.76 7.4 2.9-.13 1.68-2.51 2.46-2.65 4.09-.12 1.31 1.07 2.94 5.05 2a7.72 7.72 0 01-2.17 5 5.2 5.2 0 005.09-3.3zm130.32-29.93a3.7 3.7 0 01-.27-3.06c4.45-17.69 1.95-7.91-1.07-3.12-2.38 3.78-3.24 6.3.67 8.22 23 11.28 1.9-.25.67-2.04z",fill:"#D38053"}),p.createElement("path",{d:"M192.25 75.29c-2.41-1-6.47-3.9-6.5-5.61 0-1.15 4.89-8.09 3.9-14.36-1.07 1.71-6.51 12.19-6.39 14.2.23 3.86 9.09 5.81 8.99 5.77zm13.21-25.34c-.16 1.86-6.76 14.12-6.76 18.83.36 1.09 4.49 2.16 4.71 3.29-6.82-5.17 3.5-20.43 2.05-22.12z",fill:"#D38053"}))))}var u=a(36);function f(e){let{workout:t,badges:a,upsellLink:l,upsellText:n}=e;const r=Object(s.useSelect)(e=>e("yoast-seo/workouts").getFinishedSteps(u.c.cornerstone)),p=l||"https://yoa.st/workout-cornerstone-upsell";return Object(c.createElement)(i.a,{id:"cornerstone-workout-card",name:u.c.cornerstone,title:Object(o.__)("The cornerstone approach","wordpress-seo"),subtitle:Object(o.__)("Rank with articles you want to rank with","wordpress-seo"),usps:[Object(o.__)("Make your important articles rank higher","wordpress-seo"),Object(o.__)("Bring more visitors to your articles","wordpress-seo")],image:m,finishableSteps:u.a.cornerstone,finishedSteps:r,upsellLink:p,upsellText:n,workout:t,badges:a})}f.propTypes={workout:r.a.func,badges:r.a.arrayOf(r.a.element),upsellLink:r.a.string,upsellText:r.a.string},f.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},195:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var l,c=a(0),n=a(1),r=a.n(n),o=a(2),s=a(6),i=a(145),p=a(3);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function m(e){return p.createElement("svg",d({viewBox:"0 0 299 322",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),l||(l=p.createElement("g",{transform:"matrix(-1 0 0 1 298.412 0)",fill:"none"},p.createElement("circle",{fill:"#F0ECF0",cx:131.2,cy:190.029,r:131.2}),p.createElement("path",{d:"M262.5 92.23c-1 1.2-3 2.9-7.5 5a18.4 18.4 0 01-10.9 1.6c-.5-1-1-2.2-1.7-3.3l.4-.2.3-.2a14 14 0 003.3-.2c2.4.2 4.7-.6 6.9-3.2 3.1-3.9 1.7-10.7-1.3-14.6 2.6 2.5 4 5.7 6.4 8.6a231 231 0 013.3 4c.1.4 1.5 1.8.8 2.5zm-90.9 98.2a17.1 17.1 0 014 14.3c-11-7.9-22-18.9-31.8-37.8 26.5 1 39.4 8.8 39.5 8.7 43-17.2 51.7 1.5 66.8-6.3 2.3 4.7 5.3 6.3 8.4 9.4-13.5-13.9 5.7-22-5.1-57.7 7.3 0 20.8-4.8 22.9-9.7 14.8 26.3 10.5 39.9 17.8 54.6.6 1.2 2.3 6.7 3.5 8.2 2 2.8 0 7.7-2.7 10.6-29.7 32.8-68.9 33.6-93.5 36.8-6.4-4.6-13.8-8.5-21.5-13.7-1-5.1-1.2-11.2-8.3-17.4z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.4 121.03c10.8 35.8-8.4 43.8 5.1 57.8-3-3.2-6-4.8-8.4-9.5a52.999 52.999 0 01-.3-2.2 50.2 50.2 0 01-.4-5v-2l.1-3.6.1-1.8.3-3.7.4-3.7.6-5.6a153.4 153.4 0 00.6-9.5v-2a69 69 0 00-.3-7.8l-.2-1.6a10.5 10.5 0 002.4.3v-.1zm-11-25.6l1.7 3.4h-.1c-1.9-.1-2.3-2.3-2.7-2.6l-.1-.2 1.2-.6z",fill:"#DB7A53"}),p.createElement("path",{d:"M219.7 95.53c-.7-1.6-3-3-5.5-3.6.1-.011.2-.011.3 0a8.4 8.4 0 005.1-1.3l-.3-.2a1.6 1.6 0 00.2 0 3.3 3.3 0 002.7-.6 34.2 34.2 0 006.4-4 5 5 0 002-2.8l.4.3c-.7 6.5 5.4 11.5 12.1 11.9l-.3.1-.4.2-1.2.6c-3.8 1.9-11 5.7-13.6 5.6-2.9 0-6.9-2.2-9.8-3.9 1.4-.5 2.3-1.2 1.9-2.3z",fill:"#DB7A53"}),p.createElement("path",{d:"M223.7 76.23v.3a3.7 3.7 0 01-.2 1.3c-1.3-.7-2.4-1.5-2.6-2.6a3.2 3.2 0 01.3-1.7 7.1 7.1 0 012.5 2.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.3 91.73c-2.1 2.6-4.5 3.4-6.9 3.2a13 13 0 005.2-2.3c-6 2.7-10.5 1.1-13.8-1.5a36.9 36.9 0 01-4.7-5.3c-1.1-1.6-1.8-2.8-2.1-2.9a3 3 0 000 .3l-.3-.3a2.4 2.4 0 00-.9-2 10.2 10.2 0 00-3.2-1.9 5.5 5.5 0 012.9.6c1.6.9 1 2.1 1.8 3.1a3.3 3.3 0 00.2-3.7c-.8-1.3-4-1.1-6.1-1.3a2.3 2.3 0 000-.2l.8-1a1.3 1.3 0 01-.7-.8c-.8-1.2-2.4-2-4.2-2.6l.1-.2a16.4 16.4 0 012.2-3.5c.7-.8 5.5-.3 6.1-.6a21 21 0 002.5.7l16.8 5.1a7.8 7.8 0 013 2.5c3 3.9 4.4 10.7 1.3 14.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M228.6 85.73a34.2 34.2 0 01-6.4 4 3.3 3.3 0 01-2.6.6c1.5-.6 2.1-2.3.7-2.8l-.8-3.8a10 10 0 002-.7v.1c.5.8.4 4-.4 4.6 1-.2 2.2-3.1 2.5-4a1.3 1.3 0 00-.6-1.5 5.2 5.2 0 00.8-.8 6.7 6.7 0 001.3-2 6.3 6.3 0 011.5-.4 10.2 10.2 0 013.2 1.9 2.4 2.4 0 01.9 2 5 5 0 01-2.1 2.8zm-5-16.3a16.4 16.4 0 00-2.2 3.5l-.1.2a39 39 0 00-2.4-.6 9 9 0 012.3 1 3.2 3.2 0 00-.3 1.7c.3 1.1 1.3 2 2.6 2.6a11.3 11.3 0 01-.9 1.8 9.3 9.3 0 01-2.7 3.3l-.5.3-3.4-15.4-2.1-.3a4.4 4.4 0 012.7-1.4 35.6 35.6 0 0113 2.7c-.5.3-5.3-.2-6 .6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M219.4 83.23a6 6 0 01-2.8.7 7.8 7.8 0 01-1.5-.2 4 4 0 001.5.2 9.8 9.8 0 003-.2l.7 3.8c1.4.5.8 2.2-.7 2.8h-.1a1.6 1.6 0 01-.2 0 39 39 0 00-7-3c-.3-3.4-.6-6.7-2-9.7 1.7-2.8 3.2-5.6 1.7-6.6 0 1.3-1.1 3.4-2.4 5.4a13.3 13.3 0 00-1.2-1.7 13 13 0 00-5.2-3.6c.8-1.7 1.4-3.5 3.7-3.8a24.3 24.3 0 016.9.2l2.1.3 3.5 15.4z",fill:"#F9BF8C"}),p.createElement("path",{d:"M223.7 76.23a5 5 0 01.6 3.4 7 7 0 01.8-.3 6.7 6.7 0 01-1.3 2.1 5.2 5.2 0 01-.8.8 1.7 1.7 0 00-1.2-.2l-.2 1a10 10 0 01-2 .7 9.8 9.8 0 01-3 .2 6 6 0 002.8-.7l.5-.3a9.3 9.3 0 002.7-3.3 11.3 11.3 0 001-1.9 3.7 3.7 0 00.1-1.3v-.2zm1.6 1.3c.007.1.007.2 0 .3v-.3z",fill:"#DB7A53"}),p.createElement("path",{d:"M223 82.23c.524.3.773.92.6 1.5-.3.9-1.4 3.8-2.5 4 .8-.7 1-3.8.5-4.6v-.1l.3-1a1.7 1.7 0 011.1.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M201.4 91.73a3.1 3.1 0 00-.8.7c-2-.9-3.9-2.7-5.7-3.4-.5-.1-2.7-.8-2.9-1.4a13.7 13.7 0 005.2 2 43 43 0 004.2 2v.1zm.1-2.2h.1a30.3 30.3 0 005.4.4 30 30 0 003.6 1.6c-2.6-.3-5.7-1-8-.4l-2.2-1.3a2.7 2.7 0 001.1-.3zm13 2.5a1.4 1.4 0 00-.3 0 10.6 10.6 0 00-2-.4h-.4a26.6 26.6 0 01-3-1.8l1.7-.1a3.2 3.2 0 001.3-.4 1.2 1.2 0 00.5-1l6.7 2.7-6.7-3.6a39 39 0 017 3c.1.2.3.2.4.3a8.4 8.4 0 01-5.2 1.3z",fill:"#F9BF8C"}),p.createElement("path",{d:"M225 79.33a7 7 0 00-.7.3 5 5 0 00-.6-3.4 7.1 7.1 0 00-2.5-2.7 9 9 0 00-2.2-1l2.3.7c1.8.5 3.4 1.3 4.2 2.6a1.3 1.3 0 00.6.6c.2 0-.5.7-.8 1.1v.3c2.2 0 5.4-.1 6.2 1.2a3.3 3.3 0 01-.2 3.8c-.8-1-.2-2.3-1.8-3.2a5.5 5.5 0 00-3-.6 6.3 6.3 0 00-1.4.3h-.1zm6 3.9a3 3 0 010-.3c.3 0 1 1.3 2 3a23.8 23.8 0 004.8 5.2c3.3 2.6 7.8 4.2 13.8 1.6a13 13 0 01-5.2 2.2 14 14 0 01-3.3.2c-6.7-.4-12.8-5.4-12.1-11.9z",fill:"#DB7A53"}),p.createElement("path",{d:"M208.4 74.73c.478.53.913 1.099 1.3 1.7-1.4 2.2-3 4.3-3.5 5.3s-1.3 2.6-.3 3.6a38.8 38.8 0 006.4 3 1.2 1.2 0 01-.6 1 3.2 3.2 0 01-1.2.4l-1.8.1a14.4 14.4 0 00-3.6-1.9 13.4 13.4 0 01-3-1.2c0-.9-.3-2.4-.5-4 1.6-3 5-8.2 2.7-10.1.9 1.6-1.4 5.5-3 8l-.8-4a3.8 3.8 0 000-2 3.5 3.5 0 01-.2 1c-.4-1.6-.7-2.6-1-2.7-.9-.3-2 .6-3 2 1-2.2 1.5-4.1 4.7-4.1a7.3 7.3 0 012.2.4 13 13 0 015.2 3.5zm-6.1 13a39.6 39.6 0 014.7 2.2 30.3 30.3 0 01-5.3-.5 1.7 1.7 0 00.6-1.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M207 84.53c-.2-1.3 1.6-4.1 3.3-6.9a27 27 0 012 9.7l-5.3-2.8zm-7.6-11.7c.3 0 .6 1.2 1 2.7-1.2 2.7-5.5 6.5-6.7 8.9a3.4 3.4 0 00-.6 2c.2.7 2 2 4.1 3.2a13.7 13.7 0 01-5.2-2l-.4-.3a1.7 1.7 0 01-.5-.5 1.5 1.5 0 010-1.2c.5-1.2 2.8-7.5 5.2-10.9 1-1.3 2.1-2.2 3-1.9h.1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M199.4 86.63a5 5 0 002 .8l.9.3a1.7 1.7 0 01-.7 1.7v.1a2.7 2.7 0 01-1.2.3c-1.8-1-3.4-2.1-4.1-2.6-.4-.3-.8-.6-.9-1a1.7 1.7 0 01.4-1c1.2-2 4-5.9 4.7-8.7l.7 4-1 1.5c-1 1.5-2.2 3.5-.8 4.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M201.2 86.03c-.5-.7-.6-.8-.4-1.7a9.9 9.9 0 01.8-1.6l.5 4a3 3 0 01-.9-.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M211.8 91.63h-1.2a30 30 0 01-3.6-1.7 39.6 39.6 0 00-4.7-2.2l-.8-.3a5 5 0 01-2-.8c-1.5-1.1-.3-3 .8-4.6l1-1.4c1.6-2.5 4-6.5 3.1-8 2.2 2-1.2 7-2.8 10.1a9.9 9.9 0 00-.7 1.6c-.3.9-.2 1 .4 1.7a3 3 0 00.9.7 13.4 13.4 0 003 1.3 14.4 14.4 0 013.6 1.9 26.6 26.6 0 003 1.7z",fill:"#DB7A53"}),p.createElement("path",{d:"M195.8 85.33a1.7 1.7 0 00-.4 1c0 .4.5.7.9.9l4 2.6c.8.5 1.6 1 2.4 1.3a4.2 4.2 0 00-1.3.6 43 43 0 01-4.2-2c-2.1-1.3-4-2.6-4-3.3a3.4 3.4 0 01.5-2c1.2-2.3 5.5-6.1 6.6-8.8a3.5 3.5 0 00.3-1 3.8 3.8 0 010 2c-.8 2.8-3.6 6.6-4.8 8.7zm11.2-.8l5.3 2.8 6.7 3.7-6.7-2.6a38.8 38.8 0 01-6.4-3c-1-1-.4-2.4.3-3.5l3.5-5.4c1.3-2.2 2.4-4 2.4-5.3 1.5 1 0 3.7-1.8 6.5s-3.6 5.6-3.2 7l-.1-.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M201.4 91.73a4.2 4.2 0 011.3-.6c2.2-.5 5.3.1 7.9.4l1.2.1h.4a10.6 10.6 0 012 .3c2.4.6 4.8 2 5.4 3.6.5 1-.5 1.8-1.8 2.2a11.1 11.1 0 01-2 .4c-4.2.6-5.5 2-11.5 2.8-2.6.4-4.4-4-4.4-5.9a4.2 4.2 0 01.7-2.6 3.1 3.1 0 01.8-.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.4 121.03a10.5 10.5 0 01-2.4-.2 5.3 5.3 0 01-.7-.2c-2.4-.9-8.6-17.6-9.3-21-.3-1.2-.3-3.5.3-3.4.3.3.8 2.5 2.7 2.5h.1a18.4 18.4 0 0010.9-1.5c4.6-2.1 6.6-3.8 7.6-5 .6-.8-.7-2.2-.9-2.5.4-.4 1.3.1 1.7.3 5.9 2.8 10.2 12.7 13.1 19.4a2.9 2.9 0 01-.1 1.9c-2.1 5-15.6 9.8-23 9.8v-.1z",fill:"#A52A6A"}),p.createElement("path",{d:"M171.6 190.43c7 6.2 7.3 12.3 8.3 17.4l-4.4-3a17 17 0 00-3.9-14.4z",fill:"#DB7A53"}),p.createElement("path",{d:"M41.3 265.93l-.5.2c6.5 8.6 14.1 17.5 21 30.5a28.8 28.8 0 012.8 7.7c45.714 25.792 102.423 21.736 144-10.3-.8-3.5-1.7-7.1-2.8-11 12.67-7.311 18.506-22.484 14-36.4a43 43 0 00-18.4-25.1c-6.4-4.6-13.8-8.5-21.5-13.7l-4.4-3c-10.8-8-22-19-31.7-37.9l-.1-.2a71 71 0 00-19.9-2.3c12 5.8 41 37 4.2 43-29 3.1-47.3-27.9-84-28.7a47.8 47.8 0 00-13.5 9.4l-1 1a37 37 0 014.7-2c16.4 1 27 15.3 32.9 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.3 2.7-20-3.7l-1.5.7-1 .6-.7.3z",fill:"#009288"}),p.createElement("path",{d:"M29.5 189.23a37 37 0 014.5-2.2c16.4 1 27 15.3 33 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.4 2.7-20-3.7l-1.5.7c6.9-5.7 4.9-6.8 18-4.4-10.8-6.4-16.1-9.1-38.7 6.1a122.2 122.2 0 01-21.4-53.5 133 133 0 0128.7-24.1v.2z",fill:"#F9BF8C"}),p.createElement("path",{d:"M61 260.63c-13.2-2.4-11.1-1.3-18 4.4l-1 .6-.6.2-.6.3-.5.3-.6.3-1.1.6-.7.3-1 .6-.7.4-1.2.6-.6.3-1.3.7-.6.3-1.3.7-.5.3-1.4.8-.3.1-1.6 1-.6-.9-4.5-5.8c22.6-15.2 27.9-12.4 38.7-6v-.1z",fill:"#DB7A53"}),p.createElement("path",{d:"M128 207.43c-29.2 3.1-47.5-28.2-84.5-28.7 14.2-5.2 23-11.3 23-27.1 0-8.8-2.7-25.8-3.6-38.2 0 0 57 21.4 57.8 36.1l2 14.3c11.2 4.3 43.3 37.4 5.3 43.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M87.3 151.73a56.8 56.8 0 01-17.1-22.8 62.4 62.4 0 0043 22c2.5-.1 5-.2 7.3-.5v.5l.2 1.2c-4.7 11.9-7.3 19.5-33.4-.4z",fill:"#DB7A53"}),p.createElement("path",{d:"M162 280.43c.5 7.4-16.2 16.2-30.8 17.3-19.8 1.4-54.8-9.2-48-40.7 18.2 35 68.8 31.3 78.8 23.4z",fill:"#216D64"}),p.createElement("path",{d:"M122.5 72.33a9.8 9.8 0 00-2.1-.8h2.6l-.5.8zm-9.9.8a4.8 4.8 0 00-.6-1.7c7.3 0 4-.6.6 1.7zm12.6 14l.8.8c-.9-1.5-1.5-4.6-2.9-12.6l-.4-.3a16 16 0 002.5 12.1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M154.7 95.83a44.5 44.5 0 00-1.6-8.2c-2-6-4.8-6.6-7.3-9.6a50.6 50.6 0 00-1-23.9c0 .1-8.7-35.8-54.2-22a44.6 44.6 0 00-10 5.9c-10.6 8.2-7.6 13.4-10 25.4a74.9 74.9 0 01-4.4 11.9c-4.8 3.8-7.6 6.5-8.1 9.9 1 4.7 5.4 18.3 5 28.1 6 27.2 36.6 38.3 50 37.6 2.6-.1 5-.2 7.4-.5 6.5-.7 11.9-2.8 17-11.3 6.4-10.8 5.6-16.5 9.4-22.5 2.5-4.1 9-9.7 7.8-20.8zm-42.2-19.5c-1 7.6-2.5 10.5-5.3 11.4a18.3 18.3 0 001.3-3.3c-4.6 2.5-17 2.8-21.2-3-.9.4-2 .4-4-.6l.2-.1c4.2-.1 2.6-1 4.1-3.8a10.6 10.6 0 01.6-1h17.1a11 11 0 013.8 6.7 58.3 58.3 0 001.2-6.8l3-.2-.8.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M112.6 124.23c-4-2-5.6-6.3-11.6-10.8 10 5.2 19.3 6.3 26.5 3.8-1.7 1.7 1.2 6.3-3.5 8.4-4 1.7-7.3.5-11.4-1.4z",fill:"#D86060"}),p.createElement("path",{d:"M101 113.43l-1.6-.8c7.9-.3 12.9-.7 17.2-.3 2.2.3 2.2 2 3.8 2 1.6 0 2.7-1.6 4.4-1.4 1.2.2 3 1.1 5.6 3a20.3 20.3 0 01-2.9 1.2c-7.2 2.6-16.6 1.5-26.5-3.7z",fill:"#BC3939"}),p.createElement("path",{d:"M108.5 84.43l.2-.5a15.2 15.2 0 00-2.3-3.8c-5-5.8-13.6-5.1-16.5-1.6-.9 1.3-1.5 2.4-2.6 3 4.1 5.7 16.6 5.4 21.2 3v-.1zM97 85.63a4.8 4.8 0 11.408-9.592A4.8 4.8 0 0197 85.629z",fill:"#FFF"}),p.createElement("path",{d:"M89.9 78.53c-.9 1.3-1.5 2.4-2.6 3-1.1.6-2 .2-4-.7l.2-.2c4.2 0 2.6-1 4.1-3.7 2.8-5.2 9-4.8 14.6-3 .1 0 5.9 2.4 6.8 8.7l-.3 1.2a14.4 14.4 0 00-2.3-3.7c-5-5.8-13.6-5.1-16.5-1.6z",fill:"#000"}),p.createElement("path",{d:"M127.5 83.03h-.1a27 27 0 0011.6.6c2.7-1 4.8-4 5-6.8-1.8-1.2-2.8-4.6-8.2-2.9-5 1.6-7 4.2-8.3 9v.1zm2.8-3.7a4.4 4.4 0 118.798-.2 4.4 4.4 0 01-8.798.2z",fill:"#FFF"}),p.createElement("path",{d:"M145.1 75.33c0 .5.5.7 1 .9a8 8 0 001.2.1l.1.2a5 5 0 01-1.4.6 2.4 2.4 0 01-2-.4c-1.8-1.2-2.8-4.6-8.2-2.8-4.9 1.6-7 4.2-8.3 9h-.2c-1.2-6.7 4-11.3 9-12.5l3.1-.2c2.8.2 5.2 1.8 5.7 5.1z",fill:"#000"}),p.createElement("path",{d:"M106.7 61.53c-4 0-8.2-.4-11.7-.3-3.6.1-8.3 1.7-12.8 4.6 1.9-4 8.5-7.2 12.5-7.7 2.9-.3 6.8-.7 9.7-.2 3.7.7 5.6 3.1 2.3 3.6zm24.7 5.6c2.3-2.6 6.8-6.2 9.4-5.8 3 .4 3.5 1.2 5.4 3.6.056.898.056 1.8 0 2.7H145a7.6 7.6 0 00-4.7-2.2c-1.9-.1-7 1.2-8.8 1.7h-.1z",fill:"#B2512B"}),p.createElement("circle",{fill:"#000",transform:"rotate(-78.1 97.1 80.83)",cx:97.1,cy:80.829,r:4.8}),p.createElement("circle",{fill:"#000",cx:134.7,cy:79.329,r:4.4}),p.createElement("path",{d:"M106.3 109.73a40 40 0 01-10.3-1.3c-1.9 2-.1 6.6-.7 9.2-1-3.4-4-8-2.2-12.4a28.7 28.7 0 0013.2-1c9-2.8 6.6-6.2 12.6-6.5-5.2 1-4.4 11.4-12.6 12z",fill:"#DB7A53"}),p.createElement("path",{d:"M54 29.03c3-3.6 13.5-5.8 20-6-.5 1.3 4.5 2.7 4 4a37.3 37.3 0 008.4-.2 3.5 3.5 0 00.4 2.7l3.8 2.6a44.6 44.6 0 00-10.1 5.9c-10.5 8.2-7.5 13.4-9.9 25.4a74.9 74.9 0 01-4.4 11.9l-12.4 7a10.3 10.3 0 00-5.3-.7l-.3-.4c-2.2-4-6.8-14.2-7.2-18.8-1.4-11.4 1.2-25 10-32.4a18.5 18.5 0 013-2 9.8 9.8 0 00.1 1H54zm2.7 55l1.4.7 3.5-1.6a5.5 5.5 0 01-2.4 1.9 10.4 10.4 0 01-1.2.2l-1.2-1.2h-.1z",fill:"#838BC5"}),p.createElement("path",{d:"M127 22.23c-7.5-4.7-7-2-15.6-4l5.2-.4c-13.3-1-28.6 3.4-30.1 9a37.3 37.3 0 01-8.4.2c.5-1.3-4.6-2.6-4-4-6.6.2-17 2.4-20.1 6a9.8 9.8 0 010-1c0-8.2 10.8-17.8 30.3-15.8 13.4-14.3 42.4-21 61 8.1-13-7.3-16.2-.2-19.3.8 7.8-1.6 27.3 3 28.9 24.3-1.7-7.8-8.4-8.6-13.6-8-1.7-2.3-3.5-4.3-4.9-5.9-4.5-5.2-3.5-5.7-9.4-9.3z",fill:"#0071BC"}),p.createElement("path",{d:"M137.4 46.73c3.4 14.5-3.1 19.3-22.4 18.8 12.5-8.9 11.5-19.3 2-26.1-8.2-6-14 .2-26.4-7.3a46 46 0 01-3.8-2.6 3.5 3.5 0 01-.3-2.7c1.5-5.6 16.8-10 30-9l-5 .3c8.6 2.2 8-.6 15.5 4 5.9 3.7 4.9 4.2 9.4 9.5 1.4 1.6 3.2 3.5 4.8 5.8 3 4.2 5.5 9.6 3.5 16.7a26 26 0 01-2.6 6.2 14.6 14.6 0 00-4.7-13.6z",fill:"#0071BC"}),p.createElement("path",{d:"M126.1 69.33h-.7a14.6 14.6 0 013.2-1.7 14.8 14.8 0 00-2.5 1.7zm-.9 17.8l.8.8c1.2 1.8 2.7 1.5 6.3 4.8l.6.2c1.8 1.7 2.8 3.7 2 6.4-.2 3.2-5.3 8.2-12 5.8 5.3-1 6.9-.8 7.6-5.6-.2-6.7-8.3-4-10-16.5a17.3 17.3 0 01.9-8.8 9 9 0 011.3.8 16 16 0 002.5 12.1zm-2.1-14.5a6.3 6.3 0 00-.6-.3l.5-.9c1 0 .4.2.1 1.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M56.7 84.03a12.7 12.7 0 00-3-1.7l12.4-7 9.2-5.2c-1.3 1.7-1.6 4.2-1.1 7l-12.6 6-3.5 1.7-1.4-.8z",fill:"#93278F"}),p.createElement("path",{d:"M151 92.03c5.5-1.8 14.3-20.4 5.8-23.5-5.4-2-24.6-.6-29.9.8-29.7-.4-42.2-3.3-49.3-.7a5 5 0 00-2.3 1.6c-4.3 5.5 3.1 20.2 8 21.8a46.3 46.3 0 0012.5 1.6c11.6 0 14.8-2.2 16.6-17.3 1-.6 4.4-4.3 9-2a10.6 10.6 0 011.8 1c2.9 17.6 2.5 11.3 9.1 17.5l.6.1c5.8 1.4 13.9.5 18.1-.9zm-40.5-17.9c-.4 3.6-1.7 13.4-4.8 15.4-4.2 2.8-17 2-21.7.4-4-1.4-11.5-17.2-5.7-19.3 5.6-2 23.8 0 29.6.6 0 .2 2.8.3 2.6 3v-.1zm2.1-1a4.8 4.8 0 00-.6-1.8c7.3.2 4-.5.6 1.8zm10.5-.5a10 10 0 00-2.7-1.2c4.2.1 3.1-.3 2.7 1.2zm27.2 17.4c-4.7 1.6-16.3 2.5-20.6-.4-1-.7-2.8-5.1-4.5-15.3-.4-2.8 2.6-2.5 2.6-2.8.9-.2 4.3-.7 8.5-1 4.2-.3 15.6-1.2 19.7.2 5.8 2.1-1.6 18-5.7 19.3z",fill:"#5D237A"}),p.createElement("path",{d:"M45.5 82.33c-4.2 1.7-4.4 10-3 14.8 2.8 9.2 12 17.6 21.7 16.1 5.2-.7 1.5-5.7-1-16.4l-1-5.6c-3.3-7-9.4-11.7-16.7-8.9zm13.2 13c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M58.7 95.33c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#CE6D42"}))))}var u=a(36);function f(e){let{workout:t,badges:a,upsellLink:l,upsellText:n}=e;const r=Object(s.useSelect)(e=>e("yoast-seo/workouts").getFinishedSteps(u.c.orphaned)),p=l||"https://yoa.st/workout-orphaned-content-upsell";return Object(c.createElement)(i.a,{id:"orphaned-workout-card",name:u.c.orphaned,title:Object(o.__)("Orphaned content","wordpress-seo"),subtitle:Object(o.__)("Clean up your unlinked content to make sure people can find it","wordpress-seo"),usps:[Object(o.__)("Make pages easier for Google and visitors to find","wordpress-seo"),Object(o.__)("Add internal links to your posts and pages","wordpress-seo")],image:m,finishableSteps:u.a.orphaned,finishedSteps:r,upsellLink:p,upsellText:n,workout:t,badges:a})}f.propTypes={workout:r.a.func,badges:r.a.arrayOf(r.a.element),upsellLink:r.a.string,upsellText:r.a.string},f.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},2:function(e,t){e.exports=window.wp.i18n},237:function(e,t,a){"use strict";a.r(t);var l=a(194),c=a(195);window.yoast=window.yoast||{},window.yoast.adminModules={components:{workouts:{CornerstoneWorkoutCard:l.a,OrphanedWorkoutCard:c.a}}}},3:function(e,t){e.exports=window.React},36:function(e,t,a){"use strict";a.d(t,"c",(function(){return l})),a.d(t,"b",(function(){return c})),a.d(t,"a",(function(){return n}));const l={configuration:"configuration",cornerstone:"cornerstone",orphaned:"orphaned"},c={cornerstone:{chooseCornerstones:"chooseCornerstones",checkLinks:"checkLinks",addLinks:"addLinks",improved:"improved",skipped:"skipped"},orphaned:{improveRemove:"improveRemove",update:"update",addLinks:"addLinks",removed:"removed",noindexed:"noindexed",improved:"improved",skipped:"skipped"}},n={cornerstone:[c.cornerstone.chooseCornerstones,c.cornerstone.checkLinks,c.cornerstone.addLinks],orphaned:[c.orphaned.improveRemove,c.orphaned.update,c.orphaned.addLinks]}},6:function(e,t){e.exports=window.wp.data},7:function(e,t){e.exports=window.yoast.componentsNew},9:function(e,t){e.exports=window.yoast.helpers}});
js/dist/analysis-worker.js CHANGED
@@ -1 +1 @@
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=237)}({237:function(e,t){self.window=self,self.onmessage=e=>{let{data:t}=e;if(!t||!t.dependencies)return;!function(e){for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(self.importScripts(e[t]),"lodash"===t&&(self.lodash=_.noConflict()))}(t.dependencies),t.translations&&function(e){for(const[n,r]of e){var t=r.locale_data[n]||r.locale_data.messages;t[""].domain=n,self.wp.i18n.setLocaleData(t,n)}}(t.translations);const n=self.yoast.Researcher.default;new self.yoast.analysis.AnalysisWebWorker(self,new n).register()}}});
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=238)}({238:function(e,t){self.window=self,self.onmessage=e=>{let{data:t}=e;if(!t||!t.dependencies)return;!function(e){for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(self.importScripts(e[t]),"lodash"===t&&(self.lodash=_.noConflict()))}(t.dependencies),t.translations&&function(e){for(const[n,r]of e){var t=r.locale_data[n]||r.locale_data.messages;t[""].domain=n,self.wp.i18n.setLocaleData(t,n)}}(t.translations);const n=self.yoast.Researcher.default;new self.yoast.analysis.AnalysisWebWorker(self,new n).register()}}});
js/dist/api-client.js CHANGED
@@ -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=238)}({238: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){"function"==typeof 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)}});
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=239)}({239: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){"function"==typeof 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.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=263)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.helpers},,function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(4);function n(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.externals.redux},,function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return s}));var r=a(0);function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,a){var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var s=typeof r;if("string"===s||"number"===s)e.push(r);else if(Array.isArray(r)&&r.length){var o=n.apply(null,r);o&&e.push(o)}else if("object"===s)for(var i in r)a.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},function(e,t,a){"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},n=i(a(3)),s=i(a(107)),o=i(a(110));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,a=e.components,i=e.throwErrors;if(c=t,!a)return t;if("object"!==(void 0===a?"undefined":r(a))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,a){var o,i,l,d,u,p,m,h,b=[],g={};for(p=0;p<t.length;p++)if("string"!==(u=t[p]).type){if(!a.hasOwnProperty(u.value)||void 0===a[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==r(a[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+c);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){o=a[u.value],l=p;break}b.push(a[u.value])}else b.push(u.value);return o&&(d=function(e,t){var a,r,n=t[e],s=0;for(r=e+1;r<t.length;r++)if((a=t[r]).value===n.value){if("componentOpen"===a.type){s++;continue}if("componentClose"===a.type){if(0===s)return r;s--}}throw new Error("Missing closing component token `"+n.value+"`")}(l,t),m=e(t.slice(l+1,d),a),i=n.default.cloneElement(o,{},m),b.push(i),d<t.length-1&&(h=e(t.slice(d+1),a),b=b.concat(h))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,s.default)(g))}(l,a)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,,function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n);const o=e=>{let{children:t}=e;return Object(r.createElement)("div",null,t)};o.propTypes={renderPriority:s.a.number.isRequired,children:s.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o}));var r=a(26),n=a.n(r);async function s(e,t,a){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const n=await e();return!!n&&(n.status===r?t(n):a(n))}catch(e){console.error(e.message)}}async function o(e){try{return await n()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const{get:r}=lodash,n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var r=a(11),n=a.n(r),s=a(0),o=a(1),i=a.n(o),c=a(13);const l="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:a,showYoastIcon:r,additionalClassName:o,...i}=e,l=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(c.Modal,n()({title:t,className:`${a} ${o}`,icon:l},i),e.children)};d.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},d.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return l}));var r=a(4),n=a(16);const s=e=>Object(r.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),o=()=>{const e=Object(n.a)();return 1===Object(r.get)(e,"wordproofIntegrationActive",0)},i=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},c=()=>{i("wordproof:open_authentication")},l=()=>{i("wordproof:open_settings")}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(0),n=a(1),s=a.n(n);function o(e){let{target:t,children:a}=e,n=t;return"string"==typeof t&&(n=document.getElementById(t)),n?Object(r.createPortal)(a,n):null}o.propTypes={target:s.a.oneOfType([s.a.string,s.a.object]).isRequired,children:s.a.node.isRequired}},,function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var r=a(26),n=a.n(r),s=a(47);async function o(e,t,a){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const n=await e();return!!n&&(n.status===r?t(n):a(n))}catch(e){}}async function i(e){try{return await n()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await o(async()=>await Object(s.a)(),e=>e,()=>!1)},function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(2),n=a(12),s=a(4);function o(e){return Object(s.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:""}}}(n.interpreters.scoreToRating(e))}},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return c})),a.d(t,"e",(function(){return l}));var r=a(4),n=a(27);async function s(){return await Object(n.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:a}=e;return await Object(n.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:a}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;return await Object(n.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:a})}async function c(e){return Object(r.isArray)(e)||(e=[e]),await Object(n.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(n.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},function(e,t,a){"use strict";a.d(t,"a",(function(){return ue})),a.d(t,"b",(function(){return pe})),a.d(t,"c",(function(){return me})),a.d(t,"d",(function(){return he}));var r=a(4),n=a(9),s=a(0),o=a(3),i=a.n(o),c=a(1),l=a.n(c),d=a(8),u=a.n(d);const p=u.a.p`
2
  color: #606770;
3
  flex-shrink: 0;
4
  font-size: 12px;
@@ -20,21 +20,21 @@
20
  transform: translate(-50%, -50%);
21
  max-width: none;
22
  }
23
- `,y=u.a.img`
24
  &&{
25
  height: 100%;
26
  position: absolute;
27
  width: 100%;
28
  object-fit: cover;
29
  }
30
- `,O=u.a.div`
31
  padding-bottom: ${e=>e.aspectRatio}%;
32
- `,w=e=>{const{imageProps:t,width:a,height:r,imageMode:n}=e;return"landscape"===n?Object(s.createElement)(O,{aspectRatio:t.aspectRatio},Object(s.createElement)(y,{src:t.src,alt:t.alt})):Object(s.createElement)(f,{src:t.src,alt:t.alt,width:a,height:r,imageProperties:t})};w.propTypes={imageProps:l.a.shape({src:l.a.string.isRequired,alt:l.a.string.isRequired,aspectRatio:l.a.number.isRequired}).isRequired,width:l.a.number.isRequired,height:l.a.number.isRequired,imageMode:l.a.string},w.defaultProps={imageMode:"landscape"};const j={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},E={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function v(e){const{largeThreshold:t}=E;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function k(e){return"Twitter"===e?j:E}function _(e){return new Promise((t,a)=>{const r=new Image;r.onload=()=>{t({width:r.width,height:r.height})},r.onerror=a,r.src=e})}function T(e,t,a){return"landscape"===a?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===a?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function R(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function x(e,t,a){return"square"===a&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:R(t,T(e,t,a))}async function S(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=await _(e);let n=a?"landscape":"square";"Facebook"===t&&(n=v(r));const s=k(t),o=x(s,r,n);return{mode:n,height:o.height,width:o.width}}async function C(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await S(e,t,a),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}const P=u.a.div`
33
  position: relative;
34
  ${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
35
  overflow: hidden;
36
  background-color: ${g.colors.$color_white};
37
- `,A=u.a.div`
38
  box-sizing: border-box;
39
  max-width: ${E.landscapeWidth}px;
40
  height: ${E.landscapeHeight}px;
@@ -51,7 +51,7 @@
51
  text-decoration: underline;
52
  font-size: 14px;
53
  cursor: pointer;
54
- `;class L extends o.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await C(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:E.squareHeight+"px",width:E.squareWidth+"px"};case"portrait":return{height:E.portraitHeight+"px",width:E.portraitWidth+"px"};case"landscape":return{height:E.landscapeHeight+"px",width:E.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return Object(s.createElement)(A,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(b.__)("Select image","wordpress-seo"));const a=this.retrieveContainerDimensions(e.mode);return Object(s.createElement)(P,{mode:e.mode,dimensions:a,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},Object(s.createElement)(w,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:E.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}L.propTypes={src:l.a.string,alt:l.a.string,onImageLoaded:l.a.func,onImageClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func},L.defaultProps={src:"",alt:"",onImageLoaded:r.noop,onImageClick:r.noop,onMouseEnter:r.noop,onMouseLeave:r.noop};var I=L,F=u.a.span`
55
  line-height: ${20}px;
56
  min-height : ${20}px;
57
  color: #1d2129;
@@ -208,7 +208,7 @@
208
  `,re=u()(te)`
209
  flex-direction: row;
210
  height: 125px;
211
- `;class ne extends o.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:a,alt:r,title:n,description:o,siteUrl:i}=this.props,c=e?ae:re;return Object(s.createElement)(c,{id:"twitterPreview"},Object(s.createElement)(G,{src:t||a,alt:r,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(s.createElement)(Q,null,Object(s.createElement)(H,{siteUrl:i}),Object(s.createElement)(X,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},n),Object(s.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}ne.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,isLarge:l.a.bool,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},ne.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var se=ne,oe=a(7),ie=a(66),ce=a(28);class le extends o.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Facebook"===e.socialMediumName?U:se,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:r,socialMediumName:n,imageWarnings:o,siteUrl:c,description:l,descriptionInputPlaceholder:d,descriptionPreviewFallback:u,imageUrl:p,imageFallbackUrl:m,alt:h,title:b,titleInputPlaceholder:g,titlePreviewFallback:f,replacementVariables:y,recommendedReplacementVariables:O,applyReplacementVariables:w,onReplacementVariableSearchChange:j,isPremium:E,isLarge:v,socialPreviewLabel:k,idSuffix:_,activeMetaTabId:T}=this.props,R=w({title:b||f,description:l||u});return Object(s.createElement)(i.a.Fragment,null,k&&Object(s.createElement)(oe.SimulatedLabel,null,k),Object(s.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:a,siteUrl:c,title:R.title,description:R.description,imageUrl:p,imageFallbackUrl:m,alt:h,isLarge:v,activeMetaTabId:T}),Object(s.createElement)(ie.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:n,title:b,titleInputPlaceholder:g,onRemoveImageClick:r,imageSelected:!!p,imageUrl:p,onTitleChange:t,onSelectImageClick:a,description:l,descriptionInputPlaceholder:d,imageWarnings:o,replacementVariables:y,recommendedReplacementVariables:O,onReplacementVariableSearchChange:j,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:E,setEditorRef:this.setEditorRef,idSuffix:_}))}}le.propTypes={title:l.a.string.isRequired,onTitleChange:l.a.func.isRequired,description:l.a.string.isRequired,onDescriptionChange:l.a.func.isRequired,imageUrl:l.a.string.isRequired,imageFallbackUrl:l.a.string.isRequired,onSelectImageClick:l.a.func.isRequired,onRemoveImageClick:l.a.func.isRequired,socialMediumName:l.a.string.isRequired,alt:l.a.string,isPremium:l.a.bool,imageWarnings:l.a.array,isLarge:l.a.bool,siteUrl:l.a.string,descriptionInputPlaceholder:l.a.string,titleInputPlaceholder:l.a.string,descriptionPreviewFallback:l.a.string,titlePreviewFallback:l.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,applyReplacementVariables:l.a.func,onReplacementVariableSearchChange:l.a.func,socialPreviewLabel:l.a.string,idSuffix:l.a.string,activeMetaTabId:l.a.string},le.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const de=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function ue(e){return new Promise((t,a)=>{window.wp.media.attachment||a(),window.wp.media.attachment(e).fetch().then(e=>{t(de(e))}).catch(()=>a())})}function pe(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const a=t.state().get("selection").first();e(de(a.attributes))}),t})(e).open()}const me=e=>{const{width:t,height:a}=e,r=v({width:t,height:a}),s=E[r+"Width"],o=E[r+"Height"],i=Object.values(e.sizes).find(e=>e.width>=s&&e.height>=o);return{url:i?i.url:e.url,id:e.id,warnings:Object(n.validateFacebookImage)(e),alt:e.alt||""}},he=e=>{const t="summary"!==Object(r.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",a=j[t+"Width"],s=j[t+"Height"],o=Object.values(e.sizes).find(e=>e.width>=a&&e.height>=s);return{url:o?o.url:e.url,id:e.id,warnings:Object(n.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t){e.exports=window.wp.url},function(e,t,a){"use strict";a.d(t,"g",(function(){return n})),a.d(t,"h",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"c",(function(){return l})),a.d(t,"f",(function(){return d})),a.d(t,"e",(function(){return u})),a.d(t,"j",(function(){return p})),a.d(t,"d",(function(){return m})),a.d(t,"o",(function(){return h})),a.d(t,"p",(function(){return b})),a.d(t,"k",(function(){return g})),a.d(t,"q",(function(){return f})),a.d(t,"r",(function(){return y})),a.d(t,"n",(function(){return O})),a.d(t,"m",(function(){return w})),a.d(t,"l",(function(){return j}));var r=a(9);const n="SNIPPET_EDITOR_SWITCH_MODE",s="SNIPPET_EDITOR_UPDATE_DATA",o="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",i="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",c="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",d="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u="SNIPPET_EDITOR_REFRESH",p="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",m="LOAD_SNIPPET_EDITOR_DATA";function h(e){return{type:n,mode:e}}function b(e){return{type:s,data:e}}function*g(e,t){const a=yield{type:o,query:e,postId:t};return{type:i,results:a}}function f(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const s="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:c,name:e,value:s,label:a,hidden:n}}function y(e){return{type:p,wordsToHighlight:e}}function O(e){return{type:d,name:e}}function w(){return{type:u,time:(new Date).getMilliseconds()}}function j(e){return{type:l,data:e}}},function(e,t,a){"use strict";var r=a(11),n=a.n(r),s=a(0),o=a(7),i=a(8);const c=a.n(i)()(o.Collapsible)`
212
  h2 > button {
213
  padding-left: 24px;
214
  padding-top: 16px;
@@ -224,7 +224,7 @@
224
  border-top: 1px solid rgba(0,0,0,0.2);
225
  }
226
 
227
- `;t.a=e=>Object(s.createElement)(c,n()({hasPadding:!0,hasSeparator:!0},e))},,,function(e,t,a){"use strict";a.d(t,"e",(function(){return n})),a.d(t,"f",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"d",(function(){return i})),a.d(t,"b",(function(){return c})),a.d(t,"g",(function(){return l})),a.d(t,"c",(function(){return d}));var r=a(38);const n=async e=>{const{state:t,code:a}=e;return await Object(r.a)({path:"wordproof/v1/oauth/authenticate",method:"POST",data:{state:t,code:a}})},s=async e=>{const{settings:t}=e;return await Object(r.a)({path:"wordproof/v1/settings",method:"POST",data:{settings:t}})},o=async()=>await Object(r.a)({path:"wordproof/v1/oauth/destroy",method:"POST"}),i=async()=>await Object(r.a)({path:"wordproof/v1/settings",method:"GET"}),c=async()=>await Object(r.a)({path:"wordproof/v1/authentication",method:"GET"}),l=async e=>Object(r.a)({path:`wordproof/v1/posts/${e}/timestamp`,method:"POST"}),d=async e=>Object(r.a)({path:`wordproof/v1/posts/${e}/timestamp/transaction/latest`,method:"GET"})},,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(14),n=a(0),s=a(19);function o(){return Object(r.createHigherOrderComponent)((function(e){return Object(r.pure)((function(t){const a=Object(n.useContext)(s.LocationContext);return Object(n.createElement)(e,{...t,location:a})}))}),"withLocation")}},,function(e,t){e.exports=window.yoast.externals.components},function(e,t,a){"use strict";var r=a(0),n=a(7),s=a(1),o=a.n(s);const i=e=>{const[t,a]=Object(r.useState)(!1),{prefixIcon:s}=e;return Object(r.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)("button",{onClick:function(){a(!t)},className:"components-button components-panel__body-toggle"},Object(r.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(s&&s.color||"")}},s&&Object(r.createElement)(n.SvgIcon,{icon:s.icon,color:s.color,size:s.size})),Object(r.createElement)("span",{className:"yoast-title-container"},Object(r.createElement)("div",{className:"yoast-title"},e.title),Object(r.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&Object(r.createElement)(n.BetaBadge,null),Object(r.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:o.a.string.isRequired,children:o.a.oneOfType([o.a.node,o.a.arrayOf(o.a.node)]).isRequired,prefixIcon:o.a.object,subTitle:o.a.string,hasBetaBadgeLabel:o.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t,a){"use strict";var r=a(15),n=a(9),s=a(8),o=a.n(s);const i=Object(n.makeOutboundLink)(o.a.a`
228
  display: inline-block;
229
  position: relative;
230
  outline: none;
@@ -254,7 +254,7 @@
254
  padding: 2px;
255
  content: "\f223";
256
  }
257
- `);t.a=i},function(e,t,a){"use strict";a.r(t),a.d(t,"getIconForScore",(function(){return i})),a.d(t,"default",(function(){return c}));var r=a(15),n=a(12);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=e.getIdentifier(),r={score:e.score,rating:n.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:a,text:e.text,markerId:t.length>0?`${t}:${a}`:a,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),editFieldName:e.editFieldName};return"ok"===r.rating&&(r.rating="OK"),r}function o(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){switch(e){case"loading":return{icon:"loading-spinner",color:r.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:r.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:r.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:r.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:r.colors.$color_ok};case"bad":return{icon:"seo-score-bad",color:r.colors.$color_red};default:return{icon:"seo-score-none",color:r.colors.$color_red}}}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return a;for(let r=0;r<e.length;r++){const n=e[r];n.text&&(a=o(s(n,t),a))}return a}},function(e,t,a){"use strict";a.d(t,"b",(function(){return c}));var r=a(11),n=a.n(r),s=a(0),o=a(1),i=a.n(o);const c=i.a.shape({value:i.a.string.isRequired,onChange:i.a.func.isRequired});t.a=e=>t=>{class a extends s.Component{constructor(t){super(t),this.elements={};const a={};this.fields=e(t),this.fields.forEach(e=>{const{name:t,fieldId:r}=e,n=document.getElementById(r);n&&(this.elements[t]=n,a[t]={value:n.value,onChange:this.onChange.bind(this,t)})}),this.state=a}static get propTypes(){return{children:i.a.node}}onChange(e,t){this.setState({...this.state,[e]:{...this.state[e],value:t}},()=>{this.elements[e]&&(this.elements[e].value=t)})}render(){const{children:e,...a}=this.props;return Object(s.createElement)(t,n()({},a,this.state),e)}}return a}},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var r=a(4),n=a(16);function s(){const e=Object(n.a)();return Object(r.get)(e,"contentLocale","en_US")}},function(e,t,a){"use strict";a.r(t),a.d(t,"nonReplaceVars",(function(){return l})),a.d(t,"fillReplacementVariables",(function(){return d})),a.d(t,"handlePrefixes",(function(){return u})),a.d(t,"createLabelFromName",(function(){return p})),a.d(t,"pushNewReplaceVar",(function(){return m})),a.d(t,"replaceSpaces",(function(){return h})),a.d(t,"prepareCustomFieldForDispatch",(function(){return b})),a.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),a.d(t,"mapCustomTaxonomies",(function(){return f})),a.d(t,"mapCustomFields",(function(){return y})),a.d(t,"excerptFromContent",(function(){return O})),a.d(t,"applyReplaceUsingPlugin",(function(){return w}));var r=a(4),n=a(124),s=a(43),o=a(20),i=a(9);const{stripHTMLTags:c}=i.strings,l=["slug","content","contentImage","snippetPreviewImageURL"];function d(e,t){Object(r.forEach)(e,(e,a)=>{l.includes(a)||t.dispatch(Object(s.q)(a,e))})}function u(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");const 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 p(e){return e=u(e),Object(o.b)(e)}function m(e,t){return e.push({name:t.name,label:t.label||p(t.name),value:t.value}),e}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function b(e){return{name:"cf_"+h(e),label:Object(o.b)(e+" (custom field)")}}function g(e){const t=h(e);return{name:"ct_"+t,label:Object(o.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(o.b)(e+" description (custom taxonomy)")}}function f(e,t){return e.custom_taxonomies?(Object(r.forEach)(e.custom_taxonomies,(e,a)=>{const{name:r,label:n,descriptionName:o,descriptionLabel:i}=g(a);t.dispatch(Object(s.q)(r,e.name,n)),t.dispatch(Object(s.q)(o,e.description,i))}),Object(r.omit)({...e},"custom_taxonomies")):e}function y(e,t){return e.custom_fields?(Object(r.forEach)(e.custom_fields,(e,a)=>{const{name:r,label:n}=b(a);t.dispatch(Object(s.q)(r,e,n))}),Object(r.omit)({...e},"custom_fields")):e}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(n.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const w=function(e){const t=Object(r.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(r.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=Object(r.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],r.identity);return{url:e.url,title:c(t(e.title)),description:c(t(e.description))}}(e);const a=t._applyModifications.bind(t);return{url:e.url,title:c(a("data_page_title",e.title)),description:c(a("data_meta_desc",e.description))}}},function(e,t){e.exports=window.wp.richText},,function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var r=a(8),n=a.n(r),s=a(7),o=a(9);const i=n.a.div`
258
  min-width: 600px;
259
 
260
  @media screen and ( max-width: 680px ) {
@@ -274,7 +274,7 @@
274
  height: 80px;
275
  }
276
  }
277
- `},function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(8),i=a(19);const c=e=>{let{theme:t,location:a,children:n}=e;return Object(r.createElement)(i.LocationProvider,{value:a},Object(r.createElement)(o.ThemeProvider,{theme:t},n))};c.propTypes={theme:s.a.object.isRequired,location:s.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:s.a.element.isRequired},t.a=c},function(e,t,a){"use strict";var r=a(0),n=a(7),s=a(1),o=a.n(s);const i=e=>Object(r.createElement)("div",{className:"yoast components-panel__body"},Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(r.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(r.createElement)(n.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(r.createElement)("span",{className:"yoast-title-container"},Object(r.createElement)("div",{className:"yoast-title"},e.title),Object(r.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&Object(r.createElement)(n.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))));t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,prefixIcon:o.a.object,children:o.a.node},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:"",children:null}},function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(2);const i=e=>{let{data:t,mapChartDataToTableData:a,dataTableCaption:n,dataTableHeaderLabels:s,isDataTableVisuallyHidden:i}=e;return t.length!==s.length?Object(r.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(r.createElement)("div",{className:i?"screen-reader-text":null},Object(r.createElement)("table",null,Object(r.createElement)("caption",null,n),Object(r.createElement)("thead",null,Object(r.createElement)("tr",null,s.map((e,t)=>Object(r.createElement)("th",{key:t},e)))),Object(r.createElement)("tbody",null,Object(r.createElement)("tr",null,t.map((e,t)=>Object(r.createElement)("td",{key:t},a(e.y)))))))};i.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:a,height:n,fillColor:s,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}=e;const h=Math.max(1,Math.max(...t.map(e=>e.x))),b=Math.max(1,Math.max(...t.map(e=>e.y))),g=n-i,f=t.map(e=>`${e.x/h*a},${g-e.y/b*g+i}`).join(" "),y=`0,${g+i} `+f+` ${a},${g+i}`;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("svg",{width:a,height:n,viewBox:`0 0 ${a} ${n}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("polygon",{fill:s,points:y}),Object(r.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),d&&Object(r.createElement)(c,{data:t,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}))};l.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},,,,,,function(e,t,a){"use strict";function r(e){return function(){return e}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(94);t.a=Object(r.compose)([Object(n.withSelect)((e,t)=>{const{getPostOrPageString:a,getIsModalOpen:r}=e("yoast-seo/editor");return{postTypeName:a(),isOpen:r(t.id)}}),Object(n.withDispatch)((e,t)=>{const{openEditorModal:a,closeEditorModal:r}=e("yoast-seo/editor");return{open:()=>a(t.id),close:r}})])(s.a)},,function(e,t,a){"use strict";var r=a(0),n=a(22),s=a.n(n),o=a(1),i=a.n(o),c=a(8),l=a.n(c),d=a(9);const u=l.a.ul`
278
  list-style: none;
279
  margin: 0 0 24px;
280
  padding: 0;
@@ -296,7 +296,7 @@
296
  `,p=l.a.small`
297
  display: block;
298
  margin-top: 4px;
299
- `,m=Object(d.makeOutboundLink)();class h extends r.Component{constructor(e){super(e)}createBenefitsList(e){return e.length>0&&Object(r.createElement)(u,{role:"list"},e.map((e,t)=>Object(r.createElement)("li",{key:t},Object(r.createElement)("span",{"aria-hidden":"true"}),s()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(r.createElement)("strong",null)}}))))}createInfoParagraphs(e){return e.map((e,t)=>Object(r.createElement)("p",{key:t},e))}render(){return Object(r.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(r.createElement)(m,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(r.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(r.createElement)(p,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}h.propTypes={benefits:i.a.array,infoParagraphs:i.a.array,upsellButton:i.a.object,upsellButtonText:i.a.string.isRequired,upsellButtonLabel:i.a.string,upsellButtonHasCaret:i.a.bool},h.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.a=h},function(e,t){e.exports=window.moment},,,,,,function(e,t,a){"use strict";var r=a(0);let n,s,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,a,r,n){return{element:e,tokenStart:t,tokenLength:a,prevOffset:r,leadingTextStart:n,children:[]}}function d(){const e=n.length-s;0!==e&&o.push(n.substr(s,e))}function u(e){const{element:t,tokenStart:a,tokenLength:s,prevOffset:o,children:c}=e,l=i[i.length-1],d=n.substr(l.prevOffset,a-l.prevOffset);d&&l.children.push(d),l.children.push(Object(r.cloneElement)(t,null,...c)),l.prevOffset=o||a+s}function p(e){const t=function(){const e=c.exec(n);if(null===e)return["no-more-tokens"];const t=e.index,[a,r,s,o]=e,i=a.length;return o?["self-closed",s,t,i]:r?["closer",s,t,i]:["opener",s,t,i]}(),[a,p,m,h]=t,b=i.length,g=m>s?s:null;if(!e[p])return d(),!1;switch(a){case"no-more-tokens":if(0!==b){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(n.substr(e,t))}return d(),!1;case"self-closed":return 0===b?(null!==g&&o.push(n.substr(g,m-g)),o.push(e[p]),s=m+h,!0):(u(l(e[p],m,h)),s=m+h,!0);case"opener":return i.push(l(e[p],m,h,m+h,g)),s=m+h,!0;case"closer":if(1===b)return function(e){const{element:t,leadingTextStart:a,prevOffset:s,tokenStart:c,children:l}=i.pop(),d=e?n.substr(s,e-s):n.substr(s);d&&l.push(d),null!==a&&o.push(n.substr(a,c-a)),o.push(Object(r.cloneElement)(t,null,...l))}(m),s=m+h,!0;const t=i.pop(),a=n.substr(t.prevOffset,m-t.prevOffset);t.children.push(a),t.prevOffset=m+h;const c=l(t.element,t.tokenStart,t.tokenLength,m+h);return c.children=t.children,u(c),s=m+h,!0;default:return d(),!1}}t.a=(e,t)=>{if(n=e,s=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,a=t&&Object.values(e);return t&&a.length&&a.every(e=>Object(r.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(r.createElement)(r.Fragment,null,...o)}},,,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,a){"use strict";a.d(t,"b",(function(){return p}));var r=a(0),n=a(2),s=a(9),o=a(7),i=a(1),c=a.n(i),l=a(58);const d=Object(s.makeOutboundLink)();class u extends r.Component{constructor(e){var t,a,r,n;super(e),this.initialPageType=e.pageType.value,this.initialArticleType=e.articleType?e.articleType.value:"None",this.state={schema_page_type:this.initialPageType,schema_article_type:this.initialArticleType},this.handleOptionFocus=this.handleOptionFocus.bind(this),this.showNewsSEOUpsell=null===(t=window.wpseoScriptData)||void 0===t||null===(a=t.searchAppearance)||void 0===a?void 0:a.showNewsSEOUpsell,this.newsSEOUpsellURL=null===(r=window.wpseoScriptData)||void 0===r||null===(n=r.searchAppearance)||void 0===n?void 0:n.newsSEOUpsellURL,void 0===this.showNewsSEOUpsell&&(this.showNewsSEOUpsell=!1),void 0===this.newsSEOUpsellURL&&(this.newsSEOUpsellURL="")}shouldShowAlert(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}isNewsArticleSelected(){return"NewsArticle"===this.state.schema_article_type}handleOptionFocus(e,t){this.setState({[e]:t})}render(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(o.FieldGroup,{label:Object(n.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(n.__)("Learn more about the schema settings","wordpress-seo"),description:Object(n.sprintf)(
300
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
301
  Object(n.__)("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(r.createElement)(o.Alert,{type:"warning"},Object(n.sprintf)(
302
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
@@ -304,11 +304,11 @@ Object(n._n)("Upon saving, this setting will apply to all of your %1$s. %1$s tha
304
  /* translators: %s Expands to "Yoast SEO News" */
305
  Object(n.__)("Are you publishing news articles? %s helps you optimize your site for Google News. Get %s now!","wordpress-seo"),"Yoast SEO News","Yoast SEO News")+" ",Object(r.createElement)(d,{href:this.newsSEOUpsellURL},Object(n.sprintf)(
306
  /* translators: %s: Expands to "Yoast News SEO". */
307
- Object(n.__)("Get the %s plugin!","wordpress-seo"),"Yoast News SEO"))))}}const p=c.a.arrayOf(c.a.shape({name:c.a.string,value:c.a.string}));u.propTypes={postType:c.a.string.isRequired,postTypeName:c.a.string.isRequired,pageType:l.b.isRequired,articleType:l.b,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},u.defaultProps={articleType:null},t.a=Object(l.a)(e=>[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}])(u)},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));class r{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return r.articleTypeInput.getAttribute("data-default")}static get articleType(){return r.articleTypeInput.value}static set articleType(e){r.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return r.pageTypeInput.getAttribute("data-default")}static get pageType(){return r.pageTypeInput.value}static set pageType(e){r.pageTypeInput.value=e}}},,,function(e,t,a){"use strict";a.d(t,"b",(function(){return u}));var r=a(0),n=a(2),s=a(33),o=a(1),i=a.n(o),c=a(4),l=a(69),d=a(19);const u=e=>{let t=!0;if("blur"===e.type){const{relatedTarget:a}=e;if(a){const e=["media-modal","wp-core-ui"];t=Object(c.intersection)(e,Array.from(a.classList)).length!==e.length}}return t},p=e=>{let{id:t,postTypeName:a,children:o,title:i,isOpen:c,close:p,open:m,shouldCloseOnClickOutside:h,showChangesWarning:b}=e;const g=Object(r.useCallback)(e=>{u(e)&&p()},[p]);return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(d.LocationProvider,{value:"modal"},Object(r.createElement)(s.a,{title:i,onRequestClose:g,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:h},Object(r.createElement)("div",{className:"yoast-content-container"},Object(r.createElement)("div",{className:"yoast-modal-content"},o)),Object(r.createElement)("div",{className:"yoast-notice-container"},Object(r.createElement)("hr",null),Object(r.createElement)("div",{className:"yoast-button-container"},b&&Object(r.createElement)("p",null,
308
  /* Translators: %s translates to the Post Label in singular form */
309
  Object(n.sprintf)(Object(n.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),a)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:g},
310
  /* Translators: %s translates to the Post Label in singular form */
311
- Object(n.sprintf)(Object(n.__)("Return to your %s","wordpress-seo"),a)))))),Object(r.createElement)(l.a,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};p.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired,shouldCloseOnClickOutside:i.a.bool,showChangesWarning:i.a.bool},p.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0},t.a=p},,function(e,t,a){"use strict";a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return f})),a.d(t,"b",(function(){return y}));var r=a(0),n=a(1),s=a.n(n),o=a(2),i=a(4),c=a(80),l=a.n(c),d=a(7),u=a(9),p=a(70),m=()=>Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(d.SvgIcon,{icon:"loading-spinner"}));const h=Object(u.makeOutboundLink)();function b(e){return Math.round(100*e)}function g(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const a=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),n=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(r.createElement)(p.a,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:a})}function f(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function y(e){const{keyphrase:t,rowData:a,onTrackKeyphrase:n,onUntrackKeyphrase:s,isFocusKeyphrase:c,isDisabled:u,isLoading:p}=e,b=!Object(i.isEmpty)(a),y=Object(r.useCallback)(()=>{u||(b?s(t,a.id):n(t))},[t,n,s,b,a,u]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:a,toggleAction:n,isLoading:s}=e;return s?Object(r.createElement)(d.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(d.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:a,onSetToggleState:n,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:y,isLoading:p})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:a}=e,n=!Object(i.isEmpty)(t),s=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",a,t.id):null;return n?s?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,f(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(g,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(h,{href:c},Object(o.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(m,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:s.a.object},g.defaultProps={chartData:{}},y.propTypes={rowData:s.a.object,keyphrase:s.a.string.isRequired,onTrackKeyphrase:s.a.func,onUntrackKeyphrase:s.a.func,isFocusKeyphrase:s.a.bool,isDisabled:s.a.bool,isLoading:s.a.bool,websiteId:s.a.string},y.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},function(e,t){e.exports=window.wp.blocks},,function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var r,n,s=a(3);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function i(e){return s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=s.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"})),n||(n=s.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,a){"use strict";a.d(t,"a",(function(){return r}));class r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},a),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:a}=this.options,r=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,a,r.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:a,origin:r}=e;r===this.origin&&this.popup===a&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(2),i=a(22),c=a.n(i),l=a(7);const d=e=>{const t=Object(o.sprintf)(
312
  /* translators: %s expands to a link to open the Wincher login popup. */
313
  Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(r.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(r.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
314
  /* translators: %s : Expands to "Wincher". */
@@ -320,17 +320,17 @@ Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};d.propTypes={on
320
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
321
  Object(d.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),a=Object(d.sprintf)(
322
  /* Translators: %s expands to Yoast SEO Premium */
323
- Object(d.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m,{type:"info"},l()({mixedString:t,components:{strong:Object(r.createElement)("b",null)}}),Object(r.createElement)("br",null),Object(r.createElement)(h,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(r.createElement)("p",null,a))))};b.propTypes={socialMediumName:s.a.oneOf(["Twitter","Facebook"]).isRequired};var g=b,f=a(66),y=a(28);class O extends r.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:n,socialMediumName:s,imageWarnings:o,description:i,descriptionInputPlaceholder:c,imageUrl:l,alt:d,title:u,titleInputPlaceholder:p,replacementVariables:m,recommendedReplacementVariables:h,onReplacementVariableSearchChange:b,isPremium:y,location:O}=this.props;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(g,{socialMediumName:s}),Object(r.createElement)(f.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:s,title:u,titleInputPlaceholder:p,onRemoveImageClick:n,imageSelected:!!l,imageUrl:l,imageAltText:d,onTitleChange:t,onSelectImageClick:a,description:i,descriptionInputPlaceholder:c,imageWarnings:o,replacementVariables:m,recommendedReplacementVariables:h,onReplacementVariableSearchChange:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:y,setEditorRef:this.setEditorRef,idSuffix:O}))}}O.propTypes={title:s.a.string.isRequired,onTitleChange:s.a.func.isRequired,description:s.a.string.isRequired,onDescriptionChange:s.a.func.isRequired,imageUrl:s.a.string.isRequired,onSelectImageClick:s.a.func.isRequired,onRemoveImageClick:s.a.func.isRequired,socialMediumName:s.a.string.isRequired,isPremium:s.a.bool,imageWarnings:s.a.array,descriptionInputPlaceholder:s.a.string,titleInputPlaceholder:s.a.string,replacementVariables:y.replacementVariablesShape,recommendedReplacementVariables:y.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:s.a.func,location:s.a.string,alt:s.a.string},O.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""},t.a=O},function(e,t,a){"use strict";function r(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}a.d(t,"a",(function(){return r}))},,,,function(e,t,a){"use strict";var r=a(3),n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=a(76),o=a(108),i=a(109),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(a=e.key,r={"=":"=0",":":"=2"},"$"+(""+a).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var a,r}var d=/\/+/g;function u(e){return(""+e).replace(d,"$&/")}var p,m,h=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function g(e,t,a,r){this.result=e,this.keyPrefix=t,this.func=a,this.context=r,this.count=0}function f(e,t,a){var n,o,i=e.result,c=e.keyPrefix,l=e.func,d=e.context,p=l.call(d,t,e.count++);Array.isArray(p)?y(p,i,a,s.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(n=p,o=c+(!p.key||t&&t.key===p.key?"":u(p.key)+"/")+a,p=r.cloneElement(n,{key:o},void 0!==n.props?n.props.children:void 0)),i.push(p))}function y(e,t,a,r,s){var i="";null!=a&&(i=u(a)+"/");var d=g.getPooled(t,i,r,s);!function(e,t,a){null==e||function e(t,a,r,s){var i,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),null===t||"string"===d||"number"===d||"object"===d&&t.$$typeof===n)return r(s,t,""===a?"."+l(t,0):a),1;var u=0,p=""===a?".":a+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)u+=e(i=t[m],p+l(i,m),r,s);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var b,g=h.call(t),f=0;!(b=g.next()).done;)u+=e(i=b.value,p+l(i,f++),r,s);else if("object"===d){var y=""+t;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y,"")}}return u}(e,"",t,a)}(e,f,d),g.release(d)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,a,r){if(this.instancePool.length){var n=this.instancePool.pop();return this.call(n,e,t,a,r),n}return new this(e,t,a,r)},(m=g).instancePool=[],m.getPooled=p||h,m.poolSize||(m.poolSize=10),m.release=function(e){o(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;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var a in e)y(e[a],t,a,s.thatReturnsArgument);return t}},function(e,t,a){"use strict";e.exports=function(e,t,a,r,n,s,o,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=[a,r,n,s,o,i],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,a){"use strict";var r=a(76);e.exports=r},function(e,t,a){"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,a){"use strict";var r=a(0),n=a(2),s=a(22),o=a.n(s),i=a(9);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(n.sprintf)(Object(n.__)(
324
  /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
325
- "With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(r.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(r.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(r.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(n.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},,function(e,t,a){"use strict";var r=a(6),n=a(14),s=a(11),o=a.n(s),i=a(0),c=a(2),l=a(1),d=a.n(l),u=a(4),p=a(8),m=a.n(p),h=a(7),b=a(9),g=a(22),f=a.n(g);const y=Object(b.makeOutboundLink)(),O=e=>{const t=Object(c.sprintf)(
326
  /* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
327
- Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(h.Alert,{type:"error"},f()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(y,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(c.sprintf)(
328
  /* translators: %s : Expands to "Wincher". */
329
- Object(c.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};O.propTypes={limit:d.a.number},O.defaultProps={limit:10};var w=O,j=()=>Object(i.createElement)(h.Alert,{type:"error"},Object(c.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),E=()=>Object(i.createElement)(h.Alert,{type:"success"},Object(c.sprintf)(
330
  /* translators: %s: Expands to "Wincher". */
331
  Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),v=()=>Object(i.createElement)(h.Alert,{type:"info"},Object(c.sprintf)(
332
  /* translators: %s: Expands to "Wincher". */
333
- Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),k=a(96),_=a(40),T=a(27);const R=Object(b.makeOutboundLink)(),x=m.a.span`
334
  display: block;
335
  font-style: italic;
336
 
@@ -344,11 +344,11 @@ Object(c.__)("%s is currently tracking the ranking position(s) of your page. Thi
344
  `,C=m.a.div`
345
  width: 100%;
346
  overflow-y: auto;
347
- `,P=e=>{const t=Object(i.useRef)();return Object(i.useEffect)(()=>{t.current=e}),t.current},A=Object(u.debounce)(_.c,500,{leading:!0}),L=e=>{const{addTrackedKeyphrase:t,isLoggedIn:a,keyphrases:r,permalink:n,removeTrackedKeyphrase:s,setKeyphraseLimitReached:o,setRequestFailed:l,setRequestSucceeded:d,setTrackedKeyphrases:p,setHasTrackedAll:m,trackAll:h,trackedKeyphrases:b,isNewlyAuthenticated:g,websiteId:f,focusKeyphrase:y,newRequest:O}=e,w=Object(i.useRef)(),j=Object(i.useRef)(),E=Object(i.useRef)(!1),[v,L]=Object(i.useState)([]),I=Object(i.useCallback)(e=>{const t=e.toLowerCase();return b&&!Object(u.isEmpty)(b)&&b.hasOwnProperty(t)?b[t]:null},[b]),F=Object(i.useMemo)(()=>async()=>{await Object(T.b)(()=>(j.current&&j.current.abort(),j.current="undefined"==typeof AbortController?null:new AbortController,A(r,n,j.current.signal)),e=>{d(e),p(e.results)},e=>{l(e)})},[d,l,p,r,n]),q=Object(i.useCallback)(async e=>{const a=(Array.isArray(e)?e:[e]).map(e=>e.toLowerCase());L(e=>[...e,...a]),await Object(T.b)(()=>Object(_.d)(a),e=>{d(e),t(e.results),F()},e=>{400===e.status&&e.limit&&o(e.limit),l(e)},201),L(e=>Object(u.without)(e,...a))},[d,l,o,t,F]),N=Object(i.useCallback)(async(e,t)=>{e=e.toLowerCase(),L(t=>[...t,e]),await Object(T.b)(()=>Object(_.e)(t),t=>{d(t),s(e)},e=>{l(e)}),L(t=>Object(u.without)(t,e))},[d,s,l]),M=Object(i.useCallback)(async e=>{O(),await q(e)},[O,q]),D=P(n),W=P(r);Object(i.useEffect)(()=>{a&&n&&(n!==D||Object(u.difference)(r,W).length)&&F()},[a,n,D,r,W,F]),Object(i.useEffect)(()=>{if(a&&h&&null!==b){const e=r.filter(e=>!I(e));e.length&&q(e),m()}},[a,h,b,q,m,I,r]),Object(i.useEffect)(()=>{g&&!E.current&&(F(),E.current=!0)},[g,F]),Object(i.useEffect)(()=>{if(a&&!Object(u.isEmpty)(b))return Object(u.filter)(b,e=>Object(u.isEmpty)(e.updated_at)).length>0&&(w.current=setInterval(()=>{F()},1e4)),()=>{clearInterval(w.current)}},[a,b,F]);const U=a&&null===b;return r&&!Object(u.isEmpty)(r)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(C,null,Object(i.createElement)("table",{className:"yoast yoast-table"},Object(i.createElement)("thead",null,Object(i.createElement)("tr",null,Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Tracking","wordpress-seo")},Object(c.__)("Tracking","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Keyphrase","wordpress-seo")},Object(c.__)("Keyphrase","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position","wordpress-seo")},Object(c.__)("Position","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position over time","wordpress-seo")},Object(c.__)("Position over time","wordpress-seo")),Object(i.createElement)(S,{className:"yoast-table--nobreak"}))),Object(i.createElement)("tbody",null,r.map((e,t)=>Object(i.createElement)(k.b,{key:"trackable-keyphrase-"+t,keyphrase:e,onTrackKeyphrase:M,onUntrackKeyphrase:N,rowData:I(e),isFocusKeyphrase:e===y.trim().toLowerCase(),websiteId:f,isDisabled:!a,isLoading:U||v.indexOf(e.toLowerCase())>=0}))))),Object(i.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(i.createElement)(R,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(c.sprintf)(
348
  /* translators: %s expands to Wincher */
349
- Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(x,null,Object(c.__)("* focus keyphrase","wordpress-seo"))))};L.propTypes={addTrackedKeyphrase:d.a.func.isRequired,isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,newRequest:d.a.func.isRequired,removeTrackedKeyphrase:d.a.func.isRequired,setRequestFailed:d.a.func.isRequired,setKeyphraseLimitReached:d.a.func.isRequired,setRequestSucceeded:d.a.func.isRequired,setTrackedKeyphrases:d.a.func.isRequired,setHasTrackedAll:d.a.func.isRequired,trackAll:d.a.bool,trackedKeyphrases:d.a.object,websiteId:d.a.string,permalink:d.a.string.isRequired,focusKeyphrase:d.a.string},L.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var I=L,F=Object(n.compose)([Object(r.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:a,getWincherTrackableKeyphrases:r,getWincherLoginStatus:n,getWincherPermalink:s,getFocusKeyphrase:o,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:r(),trackedKeyphrases:a(),isLoggedIn:n(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:s()}}),Object(r.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:a,setWincherRequestFailed:r,setWincherSetKeyphraseLimitReached:n,setWincherTrackedKeyphrases:s,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},setKeyphraseLimitReached:e=>{n(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{s(e)},setHasTrackedAll:()=>{i(!1)}}})])(I),q=a(111),N=()=>Object(i.createElement)(h.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),M=()=>Object(i.createElement)(h.Alert,{type:"info"},Object(c.sprintf)(
350
  /* translators: %s: Expands to "Wincher". */
351
- Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),D=a(100),W=a(101),U=()=>Object(i.createElement)(h.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"));const z=e=>{let{response:t,onLogin:a}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(W.a,{onReconnect:a}):Object(i.createElement)(j,null)};z.propTypes={response:d.a.object.isRequired,onLogin:d.a.func.isRequired};const $=e=>{let{isSuccess:t,response:a,allKeyphrasesMissRanking:r,onLogin:n,keyphraseLimitReached:s,limit:o}=e;return s?Object(i.createElement)(w,{limit:o}):Object(u.isEmpty)(a)||t?r?Object(i.createElement)(v,null):null:Object(i.createElement)(z,{response:a,onLogin:n})};$.propTypes={isSuccess:d.a.bool.isRequired,allKeyphrasesMissRanking:d.a.bool.isRequired,response:d.a.object,onLogin:d.a.func.isRequired,keyphraseLimitReached:d.a.bool.isRequired,limit:d.a.number.isRequired},$.defaultProps={response:{}};let H=null;const K=async e=>{if(H&&!H.isClosed())return void H.focus();const{url:t}=await Object(_.b)();H=new D.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:a,setRequestSucceeded:r,setRequestFailed:n}=e;await Object(T.b)(()=>Object(_.a)(t),async e=>{a(!0,!0,t.websiteId.toString()),r(e);const n=H.getPopup();n&&n.close()},async e=>n(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),H.createPopup()},B=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(h.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)(
352
  /* translators: %s expands to Wincher */
353
  Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));B.propTypes={isLoggedIn:d.a.bool.isRequired,onLogin:d.a.func.isRequired};const V=m.a.div`
354
  p {
@@ -360,7 +360,7 @@ Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));B.propTypes={isLogg
360
  font-weight: var(--yoast-font-weight-bold);
361
  color: var(--yoast-color-label);
362
  font-size: var(--yoast-font-size-default);
363
- `,Z=e=>{const{isLoggedIn:t,keyphrases:a,shouldTrackAll:r,permalink:n}=e;return!n&&t?Object(i.createElement)(U,null):0===a.length?Object(i.createElement)(N,null):Object(i.createElement)(Y,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&r&&Object(i.createElement)(M,null),Object(i.createElement)(F,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:a}=e,r=Object(i.useCallback)(()=>{K(e)},[K,e]);return Object(i.createElement)(V,null,t&&Object(i.createElement)(E,null),Object(i.createElement)(G,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(h.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(q.a,null),Object(i.createElement)(B,{isLoggedIn:a,onLogin:r}),Object(i.createElement)($,o()({},e,{onLogin:r})),Object(i.createElement)(Z,e))}Z.propTypes={keyphrases:d.a.array.isRequired,isLoggedIn:d.a.bool.isRequired,shouldTrackAll:d.a.bool.isRequired,permalink:d.a.string.isRequired},J.propTypes={isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,response:d.a.object,shouldTrackAll:d.a.bool,permalink:d.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:a,getWincherLimit:r,getWincherLoginStatus:n,getWincherRequestIsSuccess:s,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:d}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:n(),isNewlyAuthenticated:t(),isSuccess:s(),keyphraseLimitReached:a(),limit:r(),response:o(),shouldTrackAll:d(),permalink:l()}}),Object(r.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:a,setWincherRequestFailed:r,setWincherLoginStatus:n}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},onAuthentication:(e,a,r)=>{t(r),n(e,a)}}})])(J)},function(e,t,a){"use strict";var r=a(4);const n=Object(r.memoize)((e,t)=>0===e?r.noop:Object(r.debounce)(a=>t(a,e),500));t.a=n},,,,,,function(e,t,a){"use strict";a.d(t,"b",(function(){return p})),a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return f}));var r=a(4),n=(a(181),a(64)),s=a(6);const o="<yoastmark class='yoast-text-mark'>";let i=[];const c={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},l={singleH1:{"core/heading":[{key:"content",filter:e=>1===e.level}]}};function d(){const e=i.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),u())}function u(){Object(r.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(d,{timeout:1e3}):setTimeout(d,150)}function p(){return Object(s.select)("core/block-editor")&&Object(r.isFunction)(Object(s.select)("core/block-editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(r.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function m(e){const t=Object(s.select)("yoast-seo/editor").getActiveMarker(),a=l[t]||c;return a.hasOwnProperty(e)?a[e]:[]}function h(e,t,a){const s=e.key,{attributes:i}=t,c=i[s];if(e.filter&&!e.filter(i))return[];const l=Object(n.create)({html:c,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(r.flatMap)(a,e=>{const a=function(e,t){const a=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),n=function(e,t){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];if(0===e.length)return r;let n,s=0;for(a||(t=t.toLowerCase(),e=e.toLowerCase());(n=e.indexOf(t,s))>-1;)r.push(n),s=n+t.length;return r}(e,a);if(0===n.length)return[];const s=function(e){let t=e.indexOf(o),a=null;const r=[];for(;t>=0;){if(a=(e=e.replace(o,"")).indexOf("</yoastmark>"),a<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:a}),t=e.indexOf(o),a=null}return r}(r),i=[];return s.forEach(e=>{n.forEach(r=>{const n=r+e.startOffset;let s=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(s=r+a.length),i.push({startOffset:n,endOffset:s})})}),i}(l,e);return a?a.map(e=>({...e,block:t.clientId,richTextIdentifier:s})):[]})}function b(e){i=e.map(e=>({blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))}function g(e,t){if(i=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0===t.length)return;const a=Object(s.select)("core/block-editor").getBlocks();b(Object(r.flatMap)(a,e=>Object(r.flatMap)(m(e.name),a=>h(a,e,t)))),u()}function f(){const e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;var a;a=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter(e=>e.blockClientId===a&&"yoast"===e.source).forEach(e=>{Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)});const n=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0===n)return;const o=n.marks;b(Object(r.flatMap)(m(e.name),t=>h(t,e,o))),u()}},,,function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(8),i=a.n(o),c=a(7),l=a(9);const d=i()(c.StyledSection)`
364
  &${c.StyledSectionBase} {
365
  padding: 0;
366
 
@@ -385,29 +385,29 @@ Object(o.__)("Please wait while %1$s connects to %2$s to get related keyphrases.
385
  /* translators: %s : Expands to "Semrush". */
386
  Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(s.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
387
  /* translators: %s : Expands to "Semrush". */
388
- Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(s.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),b=a(26),g=a.n(b),f=a(42);const y="yoast-semrush-country-selector",O=[{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"}];class w extends s.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:a}=this.props;a(t,e),this.storeCountryCode(t);const r=await this.doRequest(e,t);200!==r.status?this.handleFailedResponse(r):this.handleSuccessResponse(r)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:a}=this.props;0!==e.results.rows.length?a(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:a}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():a(e))}async doRequest(e,t){return await g()({path:Object(f.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return Object(s.createElement)("div",{id:y},Object(s.createElement)(d.SingleSelect,{id:y+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:O,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(s.createElement)(d.NewButton,{id:y+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}w.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},w.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var j=w,E=a(70),v=a(56);const k=Object(p.makeOutboundLink)();class _ extends s.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map((e,t)=>({x:t,y:parseFloat(e)}))}getAreaChartDataTableHeaderLabels(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:a,data:r,renderAction:n}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(a);return r&&!Object(l.isEmpty)(r.results)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("table",{className:"yoast yoast-table"},Object(s.createElement)("thead",null,Object(s.createElement)("tr",null,Object(s.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(s.createElement)(v.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(s.createElement)(v.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),n&&Object(s.createElement)("td",{className:"yoast-table--nobreak"}))),Object(s.createElement)("tbody",null,r.results.rows.map((e,a)=>{const r=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(s.createElement)("tr",{key:a},Object(s.createElement)("td",null,r),Object(s.createElement)("td",null,e[1]),Object(s.createElement)("td",{className:"yoast-table--nopadding"},Object(s.createElement)(E.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),n&&Object(s.createElement)("td",{className:"yoast-table--nobreak"},n(r,t)))}))),Object(s.createElement)("p",{style:{marginBottom:0}},Object(s.createElement)(k,{href:i},Object(o.sprintf)(
389
  /* translators: %s expands to Semrush */
390
- Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}_.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},_.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var T=_;const R=Object(p.makeOutboundLink)();var x=()=>Object(s.createElement)(d.Alert,{type:"info"},Object(o.sprintf)(
391
  /* translators: %s: Expands to "Yoast SEO". */
392
- Object(o.__)("Would you like to be able to add these related keyphrases to the %s analysis so you can optimize your content even further?","wordpress-seo"),"Yoast SEO")+" ",Object(s.createElement)(R,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(o.sprintf)(
393
  /* translators: %s: Expands to "Yoast SEO Premium". */
394
  Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),S=()=>Object(s.createElement)(d.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),C=()=>Object(s.createElement)(d.Alert,{type:"warning"},Object(o.sprintf)(
395
  /* translators: %s: Expands to "Yoast SEO". */
396
- Object(o.__)("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")),P=a(16);function A(e){const{response:t,lastRequestKeyphrase:a,keyphrase:r,newRequest:n,setCountry:i,renderAction:c,countryCode:d,requestLimitReached:p,setRequestFailed:m,setNoResultsFound:b,relatedKeyphrases:g,setRequestSucceeded:f,setRequestLimitReached:y}=e,O=Object(P.a)().isPremium;return Object(s.createElement)(s.Fragment,null,!p&&Object(s.createElement)(s.Fragment,null,!O&&Object(s.createElement)(x,null),O&&function(e){return e&&e.length>=4}(g)&&Object(s.createElement)(C,null),Object(s.createElement)(j,{countryCode:d,setCountry:i,newRequest:n,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:f,setRequestLimitReached:y,response:t,lastRequestKeyphrase:a})),function(e){const{isPending:t,requestLimitReached:a,isSuccess:r,response:n,requestHasData:i}=e;return t?Object(s.createElement)(u,null):a?Object(s.createElement)(h,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(n)?Object(s.createElement)(S,null):i?void 0:Object(s.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(s.createElement)(T,{keyphrase:r,relatedKeyphrases:g,countryCode:d,renderAction:c,data:t}))}A.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},A.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:a,getSEMrushRequestLimitReached:r,getSEMrushRequestResponse:n,getSEMrushRequestIsSuccess:s,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:a(),requestLimitReached:r(),response:n(),isSuccess:s(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(r.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:a,setSEMrushRequestSucceeded:r,setSEMrushRequestFailed:n,setSEMrushSetRequestLimitReached:s,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{a(e,t)},setRequestSucceeded:e=>{r(e)},setRequestFailed:e=>{n(e)},setRequestLimitReached:()=>{s()},setNoResultsFound:()=>{o()}}})])(A)},,,,function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(54),o=a(52);t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),Object(n.withDispatch)(e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}}),Object(o.a)()])(s.CollapsibleCornerstone)},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(7),i=a(4);t.a=()=>{const e=Object(n.useSelect)(e=>e("yoast-seo/editor").getEstimatedReadingTime(),[]),t=Object(r.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time",""),[]);return Object(r.createElement)(o.InsightsCard,{id:"yoastseo-estimated-reading-time-insights",amount:e,unit:Object(s._n)("minute","minutes",e,"wordpress-seo"),title:Object(s.__)("Reading time","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about reading time","wordpress-seo")})}},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(7),i=a(9),c=a(12),l=a(4);const d=Object(i.makeOutboundLink)();function u(e,t,a){const n=function(e){switch(e){case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("Try to make shorter sentences to improve readability","wordpress-seo");case c.DIFFICULTY.DIFFICULT:case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case c.DIFFICULTY.NO_DATA:return Object(s.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return Object(s.__)("Good job!","wordpress-seo")}}(t);return Object(r.createElement)("span",null,function(e,t){return-1===e?Object(s.sprintf)(Object(s.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):Object(s.sprintf)(
397
  /* Translators: %1$s expands to the numeric Flesch reading ease score,
398
  %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult').
399
  */
400
- Object(s.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case c.DIFFICULTY.NO_DATA:return Object(s.__)("no data","wordpress-seo");case c.DIFFICULTY.VERY_EASY:return Object(s.__)("very easy","wordpress-seo");case c.DIFFICULTY.EASY:return Object(s.__)("easy","wordpress-seo");case c.DIFFICULTY.FAIRLY_EASY:return Object(s.__)("fairly easy","wordpress-seo");case c.DIFFICULTY.OKAY:return Object(s.__)("okay","wordpress-seo");case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("fairly difficult","wordpress-seo");case c.DIFFICULTY.DIFFICULT:return Object(s.__)("difficult","wordpress-seo");case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=c.DIFFICULTY.FAIRLY_DIFFICULT?Object(r.createElement)(d,{href:a},n+"."):n)}t.a=()=>{let e=Object(n.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseScore(),[]);const t=Object(r.useMemo)(()=>Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease",""),[]),a=Object(n.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty(),[e]),i=Object(r.useMemo)(()=>{const t=Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return u(e,a,t)},[e,a]);return-1===e&&(e="?"),Object(r.createElement)(o.InsightsCard,{id:"yoastseo-flesch-reading-ease-insights",amount:e,unit:Object(s.__)("out of 100","wordpress-seo"),title:Object(s.__)("Flesch reading ease","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})}},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(7),i=a(4);t.a=()=>{const e=Object(n.useSelect)(e=>e("yoast-seo/editor").getTextLength(),[]),t=Object(r.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count",""),[]);let a=Object(s._n)("word","words",e.count,"wordpress-seo"),c=Object(s.__)("Word count","wordpress-seo"),l=Object(s.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(a=Object(s._n)("character","characters",e.count,"wordpress-seo"),c=Object(s.__)("Character count","wordpress-seo"),l=Object(s.__)("Learn more about character count","wordpress-seo")),Object(r.createElement)(o.InsightsCard,{id:"yoastseo-text-length-insights",amount:e.count,unit:a,title:c,linkTo:t,linkText:l})}},function(e,t,a){"use strict";var r=a(0),n=a(19),s=a(15),o=a(2),i=a(44),c=a(126),l=a(55);t.a=()=>Object(r.createElement)(n.LocationConsumer,null,e=>{let t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],a=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],n=i.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],a=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],n=l.a),Object(r.createElement)(n,{prefixIcon:{icon:"plus",color:s.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:s.colors.$color_grey_medium_dark},title:Object(o.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},Object(r.createElement)(c.a,{link:t,buyLink:a}))})},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(4);function n(e){return void 0===e.length?e:Object(r.flatten)(e).sort((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority)}},,,,function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(0),o=a(2),i=a(7),c=a(9),l=a(1),d=a.n(l),u=a(19),p=a(4),m=a(34),h=a(13);const b=e=>{if(!e.isAuthenticated)return null;const t=Object(s.useCallback)(()=>{Object(m.d)()});return Object(s.createElement)(h.Button,{variant:"link",onClick:t},Object(o.__)("Manage WordProof settings","wordpress-seo"))};b.propTypes={isAuthenticated:d.a.bool.isRequired};const g=e=>{const t=Object(s.useCallback)(()=>{Object(m.c)()});return!e.isAuthenticated&&e.toggleIsEnabled?Object(s.createElement)(h.Button,{variant:"link",onClick:t},Object(o.__)("Authenticate with WordProof","wordpress-seo")):null};g.propTypes={isAuthenticated:d.a.bool.isRequired,toggleIsEnabled:d.a.bool.isRequired};class f extends s.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Object(m.c)()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(i.FieldGroup,{linkText:Object(o.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:Object(o.__)("Timestamp with WordProof","wordpress-seo"),hasNewBadge:!0},Object(s.createElement)(i.Toggle,{id:this.props.id,labelText:Object(o.sprintf)(
401
  /* Translators: %s translates to the Post type in singular form */
402
- Object(o.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),Object(s.createElement)(b,{isAuthenticated:this.props.isAuthenticated}),Object(s.createElement)(g,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&Object(s.createElement)(i.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},Object(o.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}f.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,postTypeName:d.a.string,isAuthenticated:d.a.bool.isRequired},f.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:p.noop};var y=Object(r.compose)([Object(n.withSelect)(e=>({isAuthenticated:e("wordproof").getIsAuthenticated()}))])(f);const O=e=>{let{noIndex:t,onNoIndexChange:a,editorContext:r,isPrivateBlog:n}=e;const l=(e=>{const t=Object(o.__)("No","wordpress-seo"),a=Object(o.__)("Yes","wordpress-seo"),r=e.noIndex?t:a;return window.wpseoScriptData.isPost?[{name:Object(o.sprintf)(
403
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
404
  Object(o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:a,value:"2"}]:[{name:Object(o.sprintf)(
405
  /* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
406
  Object(o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:a,value:"index"},{name:t,value:"noindex"}]})(r);return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(s.Fragment,null,n&&Object(s.createElement)(i.Alert,{type:"warning"},Object(o.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),Object(s.createElement)(i.Select,{label:Object(o.sprintf)(
407
  /* Translators: %s translates to the Post Label in singular form */
408
- Object(o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:a,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})))};O.propTypes={noIndex:d.a.string.isRequired,onNoIndexChange:d.a.func.isRequired,editorContext:d.a.object.isRequired,isPrivateBlog:d.a.bool},O.defaultProps={isPrivateBlog:!1};const w=e=>{let{noFollow:t,onNoFollowChange:a,postTypeName:r}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const n=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(s.createElement)(i.RadioButtonGroup,{id:n,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(o.sprintf)(
409
  /* Translators: %s translates to the Post Label in singular form */
410
- Object(o.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:n,onChange:a,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};w.propTypes={noFollow:d.a.string.isRequired,onNoFollowChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const j=e=>{let{advanced:t,onAdvancedChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const r=Object(c.join)(["yoast-meta-robots-advanced",e]),n=r+"-input";return Object(s.createElement)(i.MultiSelect,{label:Object(o.__)("Meta robots advanced","wordpress-seo"),onChange:a,id:r,inputId:n,options:[{name:Object(o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};j.propTypes={advanced:d.a.array.isRequired,onAdvancedChange:d.a.func.isRequired};const E=e=>{let{breadcrumbsTitle:t,onBreadcrumbsTitleChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:a,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")}))};E.propTypes={breadcrumbsTitle:d.a.string.isRequired,onBreadcrumbsTitleChange:d.a.func.isRequired};const v=e=>{let{canonical:t,onCanonicalChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:a,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")}))};v.propTypes={canonical:d.a.string.isRequired,onCanonicalChange:d.a.func.isRequired};const k=e=>{let{wordproofTimestamp:t,onWordProofTimestampChange:a,postTypeName:r}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(y,{id:Object(c.join)(["yoast-wordproof-timestamp",e]),isEnabled:t,onToggle:a,postTypeName:r}))};k.propTypes={wordproofTimestamp:d.a.bool.isRequired,onWordProofTimestampChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const _=e=>{const{noIndex:t,noFollow:a,advanced:r,breadcrumbsTitle:n,canonical:o,wordproofTimestamp:i,onNoIndexChange:c,onNoFollowChange:l,onAdvancedChange:d,onBreadcrumbsTitleChange:u,onCanonicalChange:p,onWordProofTimestampChange:m,onLoad:h,isLoading:b,editorContext:g,isBreadcrumbsDisabled:f,isPrivateBlog:y,isWordProofIntegrationActive:_}=e;Object(s.useEffect)(()=>{setTimeout(()=>{b&&h()})});const T={noIndex:t,onNoIndexChange:c,editorContext:g,isPrivateBlog:y},R={noFollow:a,onNoFollowChange:l,postTypeName:g.postTypeNameSingular},x={advanced:r,onAdvancedChange:d},S={breadcrumbsTitle:n,onBreadcrumbsTitleChange:u},C={canonical:o,onCanonicalChange:p},P={wordproofTimestamp:i,onWordProofTimestampChange:m,postTypeName:g.postTypeNameSingular};return b?null:Object(s.createElement)(s.Fragment,null,Object(s.createElement)(O,T),g.isPost&&Object(s.createElement)(w,R),g.isPost&&Object(s.createElement)(j,x),!f&&Object(s.createElement)(E,S),Object(s.createElement)(v,C),_&&Object(s.createElement)(k,P))};_.propTypes={noIndex:d.a.string.isRequired,canonical:d.a.string.isRequired,wordproofTimestamp:d.a.bool,onNoIndexChange:d.a.func.isRequired,onCanonicalChange:d.a.func.isRequired,onWordProofTimestampChange:d.a.func,onLoad:d.a.func.isRequired,isLoading:d.a.bool.isRequired,editorContext:d.a.object.isRequired,isBreadcrumbsDisabled:d.a.bool.isRequired,isPrivateBlog:d.a.bool,advanced:d.a.array,onAdvancedChange:d.a.func,noFollow:d.a.string,onNoFollowChange:d.a.func,breadcrumbsTitle:d.a.string,onBreadcrumbsTitleChange:d.a.func,isWordProofIntegrationActive:d.a.bool.isRequired},_.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};var T=_;t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{getNoIndex:t,getNoFollow:a,getAdvanced:r,getBreadcrumbsTitle:n,getCanonical:s,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:c,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}=l();return{noIndex:t(),noFollow:a(),advanced:r(),breadcrumbsTitle:n(),canonical:s(),wordproofTimestamp:o(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}}),Object(n.withDispatch)(e=>{const{setNoIndex:t,setNoFollow:a,setAdvanced:r,setBreadcrumbsTitle:n,setCanonical:s,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:a,onAdvancedChange:r,onBreadcrumbsTitleChange:n,onCanonicalChange:s,onWordProofTimestampChange:o,onLoad:i}})])(T)},function(e,t,a){"use strict";var r=a(0),n=a(2),s=a(1),o=a.n(s),i=a(8),c=a.n(i),l=a(7),d=a(15),u=a(67),p=a(33),m=a(69),h=a(79);const b=e=>{const t=Object(n.__)("Get extra, smarter recommendations about your site’s structure, content, and SEO opportunities.","wordpress-seo"),a=[Object(n.__)("Target multiple focus keyphrases","wordpress-seo"),Object(n.__)("Use synonyms, plurals, and variations","wordpress-seo"),Object(n.__)("Unlock expert workouts and workflows","wordpress-seo")],s=wpseoAdminL10n[e.buyLink];return Object(r.createElement)(h.a,{infoParagraphs:[t],benefits:a,upsellButtonText:Object(n.sprintf)(
411
  /* translators: %s expands to 'Yoast SEO Premium'. */
412
  Object(n.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(n.__)("1 year of premium support and updates included!","wordpress-seo")})};b.propTypes={buyLink:o.a.string.isRequired};var g=b;const f=c()(l.CollapsibleStateless)`
413
  h2 > button {
@@ -418,23 +418,23 @@ Object(n.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton
418
  background-color: #f0f0f0;
419
  }
420
  }
421
- `,y=e=>{let{location:t}=e;const[a,s]=Object(r.useState)(!1),o=Object(r.useCallback)(()=>s(!1),[]),i=Object(r.useCallback)(()=>s(!0),[]);return Object(r.createElement)(r.Fragment,null,a&&Object(r.createElement)(p.a,{title:Object(n.__)("Get Yoast SEO Premium","wordpress-seo"),onRequestClose:o,additionalClassName:"",className:p.b,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},Object(r.createElement)(u.a,null,Object(r.createElement)(u.b,{icon:l.YoastSeoIcon}),Object(r.createElement)("h2",null,Object(n.__)("Optimize even further with our premium SEO analysis","wordpress-seo")),Object(r.createElement)(g,{buyLink:`shortlinks.upsell.${t}.premium_seo_analysis_button`}))),"sidebar"===t&&Object(r.createElement)(m.a,{id:"yoast-premium-seo-analysis-modal-open-button",title:Object(n.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:d.colors.$color_grey},suffixIcon:{icon:"pencil-square",size:"20px"},onClick:i}),"metabox"===t&&Object(r.createElement)(f,{hasPadding:!1,hasSeparator:!0,isOpen:!1,id:"yoast-premium-seo-analysis-metabox-modal-open-button",title:Object(n.__)("Premium SEO analysis","wordpress-seo"),prefixIconCollapsed:{icon:"seo-score-none",color:d.colors.$color_grey,size:"16px"},suffixIconCollapsed:{icon:"pencil-square",color:d.colors.$black,size:"20px"},onToggle:i}))};y.propTypes={location:o.a.string},y.defaultProps={location:"sidebar"},t.a=y},function(e,t,a){"use strict";var r=a(0),n=a(14),s=a(6),o=a(2),i=a(1),c=a.n(i),l=a(7),d=a(13),u=a(9),p=a(22),m=a.n(p),h=a(8),b=a.n(h),g=a(90),f=a(89);const y=Object(u.makeOutboundLink)(),O=b.a.div`
422
  padding: 16px;
423
  `;function w(e){let{location:t,show:a}=e;return a?Object(r.createElement)(l.Alert,{type:"info"},Object(o.sprintf)(
424
  /* translators: %s Expands to "Yoast News SEO" */
425
- Object(o.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",Object(r.createElement)(y,{href:window.wpseoAdminL10n[`shortlinks.upsell.${t}.news`]},Object(o.sprintf)(
426
  /* translators: %s: Expands to "Yoast News SEO". */
427
  Object(o.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}w.propTypes={show:c.a.bool.isRequired,location:c.a.string.isRequired};const j=(e,t,a)=>{const r=e.find(e=>e.value===t);return[{name:Object(o.sprintf)(
428
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
429
  Object(o.__)("Default for %1$s (%2$s)","wordpress-seo"),a,r?r.name:""),value:""},...e]},E=e=>Object(o.sprintf)(
430
  /* 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 */
431
- Object(o.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}"),v=e=>Object(r.createElement)(l.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(o.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription});v.propTypes={helpTextTitle:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired};const k=e=>Object(r.createElement)("p",null,e.helpTextDescription+" ",Object(r.createElement)("a",{href:e.helpTextLink},Object(o.__)("Read more about Schema.","wordpress-seo")));k.propTypes={helpTextDescription:c.a.string.isRequired,helpTextLink:c.a.string.isRequired};const _=e=>{const t=j(e.pageTypeOptions,e.defaultPageType,e.postTypeName),a=j(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),n=Object(f.isFeatureEnabled)("SCHEMA_BLOCKS"),[s,i]=Object(r.useState)(e.schemaArticleTypeSelected),c=Object(r.useCallback)((e,t)=>{i(t)},[s]);return Object(r.useEffect)(()=>{c(null,e.schemaArticleTypeSelected)},[e.schemaArticleTypeSelected]),Object(r.createElement)(r.Fragment,null,n?Object(r.createElement)(k,e):Object(r.createElement)(v,e),n&&Object(r.createElement)(d.Slot,{name:Object(u.join)(["yoast-schema-blocks-analysis",e.location])}),Object(r.createElement)(l.FieldGroup,{label:Object(o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(o.__)("Learn more about page or content types","wordpress-seo")}),Object(r.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-page-type",e.location]),options:t,label:Object(o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(r.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-article-type",e.location]),options:a,label:Object(o.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:c}),Object(r.createElement)(w,{location:e.location,show:!e.isNewsEnabled&&(h=s,b=e.defaultArticleType,"NewsArticle"===h||""===h&&"NewsArticle"===b)}),e.displayFooter&&Object(r.createElement)("p",null,(p=e.postTypeName,m()({mixedString:E(p),components:{link:Object(r.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))));var p,h,b};_.propTypes={schemaPageTypeChange:c.a.func,schemaPageTypeSelected:c.a.string,pageTypeOptions:g.b.isRequired,schemaArticleTypeChange:c.a.func,schemaArticleTypeSelected:c.a.string,articleTypeOptions:g.b.isRequired,showArticleTypeInput:c.a.bool.isRequired,additionalHelpTextLink:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,defaultPageType:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,location:c.a.string.isRequired,isNewsEnabled:c.a.bool},_.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const T=e=>e.isMetabox?Object(r.createPortal)(Object(r.createElement)(O,null,Object(r.createElement)(_,e)),document.getElementById("wpseo-meta-section-schema")):Object(r.createElement)(_,e);T.propTypes={showArticleTypeInput:c.a.bool,articleTypeLabel:c.a.string,additionalHelpTextLink:c.a.string,pageTypeLabel:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,isMetabox:c.a.bool.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,loadSchemaArticleData:c.a.func.isRequired,loadSchemaPageData:c.a.func.isRequired,location:c.a.string.isRequired},T.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var R=T,x=a(91),S=a(52);const C=e=>{const t=null!==x.a.articleTypeInput;Object(r.useEffect)(()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);const{pageTypeOptions:a,articleTypeOptions:n}=window.wpseoScriptData.metabox.schema,s={articleTypeLabel:Object(o.__)("Article type","wordpress-seo"),pageTypeLabel:Object(o.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(o.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(o.__)("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:a,articleTypeOptions:n},i={...e,...s,...(c=e.location,"metabox"===c?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var c;return Object(r.createElement)(R,i)};C.propTypes={displayFooter:c.a.bool.isRequired,schemaPageTypeSelected:c.a.string.isRequired,schemaArticleTypeSelected:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,defaultPageType:c.a.string.isRequired,loadSchemaPageData:c.a.func.isRequired,loadSchemaArticleData:c.a.func.isRequired,schemaPageTypeChange:c.a.func.isRequired,schemaArticleTypeChange:c.a.func.isRequired,location:c.a.string.isRequired},t.a=Object(n.compose)([Object(s.withSelect)(e=>{const{getPreferences:t,getPageType:a,getDefaultPageType:r,getArticleType:n,getDefaultArticleType:s}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:a(),schemaArticleTypeSelected:n(),defaultArticleType:s(),defaultPageType:r()}}),Object(s.withDispatch)(e=>{const{setPageType:t,setArticleType:a,getSchemaPageData:r,getSchemaArticleData:n}=e("yoast-seo/editor");return{loadSchemaPageData:r,loadSchemaArticleData:n,schemaPageTypeChange:t,schemaArticleTypeChange:a}}),Object(S.a)()])(C)},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(9),i=a(4),c=a(1),l=a.n(c),d=a(86),u=a(11),p=a.n(u),m=a(21),h=a.n(m);const b=e=>{let{data:t,itemScreenReaderText:a,className:n,...o}=e;const c=Object(r.useMemo)(()=>{var e,a;return null!==(e=null===(a=Object(i.maxBy)(t,"number"))||void 0===a?void 0:a.number)&&void 0!==e?e:0},[t]);return Object(r.createElement)("ul",p()({className:h()("yoast-data-model",n)},o),t.map(e=>{let{name:t,number:n}=e;return Object(r.createElement)("li",{key:t+"_dataItem",style:{"--yoast-width":n/c*100+"%"}},t,Object(r.createElement)("span",null,n),a&&Object(r.createElement)("span",{className:"screen-reader-text"},Object(s.sprintf)(a,n)))}))};b.propTypes={data:l.a.arrayOf(l.a.shape({name:l.a.string.isRequired,number:l.a.number.isRequired})),itemScreenReaderText:l.a.string,className:l.a.string},b.defaultProps={data:[],itemScreenReaderText:"",className:""};var g=b;const f=Object(o.makeOutboundLink)(),y=e=>{let{location:t}=e;const a=Object(n.useSelect)(e=>{var t,a;return null===(t=null===(a=e("yoast-seo-premium/editor"))||void 0===a?void 0:a.getPreference("isProminentWordsAvailable",!1))||void 0===t||t},[]),o=Object(n.useSelect)(e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1),[]),c=Object(r.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,""),[t]),l=Object(r.useMemo)(()=>{const e=Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Object(d.a)(Object(s.sprintf)(Object(s.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>"),{a:Object(r.createElement)(f,{href:e})})},[]),u=Object(r.useMemo)(()=>Object(d.a)(Object(s.sprintf)(// translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`.
432
  Object(s.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:Object(r.createElement)("b",null)}),[]),p=Object(n.useSelect)(e=>{var t,a;return null!==(t=null===(a=e("yoast-seo-premium/editor"))||void 0===a?void 0:a.getProminentWords())&&void 0!==t?t:[]},[]),m=Object(r.useMemo)(()=>{const e=Object(s.sprintf)(// translators: %1$s expands to Yoast SEO Premium.
433
  Object(s.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map((t,a)=>({name:t,number:e.length-a}))},[]),h=Object(r.useMemo)(()=>o?m:p.map(e=>{let{word:t,occurrence:a}=e;return{name:t,number:a}}),[p,m]);return a?Object(r.createElement)("div",{className:"yoast-prominent-words"},Object(r.createElement)("div",{className:"yoast-field-group__title"},Object(r.createElement)("b",null,Object(s.__)("Prominent words","wordpress-seo"))),!o&&Object(r.createElement)("p",null,0===h.length?Object(s.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):Object(s.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),o&&Object(r.createElement)("p",null,u),o&&Object(r.createElement)(f,{href:c,className:"yoast-button yoast-button-upsell"},Object(s.sprintf)(// translators: %s expands to `Premium` (part of add-on name).
434
  Object(s.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(r.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(r.createElement)("p",null,l),Object(r.createElement)(g,{data:h,itemScreenReaderText:// translators: %d expands to the number of occurrences.
435
- Object(s.__)("%d occurrences","wordpress-seo"),"aria-label":Object(s.__)("Prominent words","wordpress-seo"),className:o?"yoast-data-model--upsell":null})):null};y.propTypes={location:l.a.string.isRequired},t.a=y},,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,a){"use strict";var r=a(0),n=a(13),s=a(1),o=a.n(s),i=a(102);const c=e=>(Object(r.useEffect)(()=>{setTimeout(e.onLoad)},[]),e.isPremium?Object(r.createElement)(n.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e));c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},function(e,t,a){"use strict";var r=a(0),n=a(13),s=a(1),o=a.n(s),i=a(102);const c=e=>{const[t,a]=Object(r.useState)(""),s=Object(r.useCallback)(e=>{a(e.detail.metaTabId)},[a]);Object(r.useEffect)(()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",s),()=>{window.removeEventListener("YoastSEO:metaTabChange",s)}),[]);const o=Object(r.useMemo)(()=>({...e,activeMetaTabId:t}),[e,t]);return e.isPremium?Object(r.createElement)(n.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:o}):Object(r.createElement)(i.a,o)};c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},,,,,,function(e,t,a){"use strict";var r,n,s,o,i,c,l,d,u,p,m,h,b,g,f,y,O,w,j,E,v,k,_,T,R,x,S,C,P,A,L,I,F,q,N,M,D,W,U,z,$,H,K,B,V,Y,G,Z,J=a(0),Q=a(2),X=a(20),ee=()=>Object(J.createElement)(J.Fragment,null,Object(J.createElement)("p",null,Object(X.a)(Object(Q.sprintf)(
436
  /* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */
437
- Object(Q.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof","WordPress"),"https://help.wordproof.com/"))),te=a(3);function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function re(e){return te.createElement("svg",ae({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),r||(r=te.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),n||(n=te.createElement("path",{d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z",fill:"#fbd2a6"})),s||(s=te.createElement("path",{d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 00110.3 8.66 25.66 25.66 0 01.18-8.12z",fill:"#a4286a"})),o||(o=te.createElement("path",{d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z",fill:"#9a5815"})),i||(i=te.createElement("path",{d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z",fill:"#efb17c"})),c||(c=te.createElement("path",{d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z",fill:"#fbd2a6"})),l||(l=te.createElement("path",{d:"M235.21 167.9l53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z",fill:"#f6b488"})),d||(d=te.createElement("path",{d:"M277.68 178.82z",fill:"#efb17c"})),u||(u=te.createElement("path",{d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z",fill:"#fbd2a6"})),p||(p=te.createElement("path",{d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z",fill:"#e5766c"})),m||(m=te.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),h||(h=te.createElement("path",{d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 00-1.24 1.23h-.12a3.73 3.73 0 011-1.52 12.53 12.53 0 0111.93-3c4.73 1 9.43 4.63 9.42 9.82z",fill:"#000001"})),b||(b=te.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),g||(g=te.createElement("path",{d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 016.11 11.53z",fill:"#fff"})),f||(f=te.createElement("path",{d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 00-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z",fill:"#000001"})),y||(y=te.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),O||(O=te.createElement("path",{d:"M218.66 120.27a27.32 27.32 0 004.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z",fill:"#efb17c"})),w||(w=te.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),j||(j=te.createElement("path",{d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z",fill:"#fbd2a6"})),E||(E=te.createElement("path",{d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54",fill:"#a4286a"})),v||(v=te.createElement("path",{d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z",fill:"#cb9833"})),k||(k=te.createElement("path",{d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 00302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z",fill:"#fbd2a6"})),_||(_=te.createElement("path",{d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z",fill:"#efb17c"})),T||(T=te.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),R||(R=te.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),x||(x=te.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),S||(S=te.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),C||(C=te.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),P||(P=te.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),A||(A=te.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),L||(L=te.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),I||(I=te.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),F||(F=te.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),q||(q=te.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),N||(N=te.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),M||(M=te.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),D||(D=te.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),W||(W=te.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),U||(U=te.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),z||(z=te.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),$||($=te.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),H||(H=te.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),K||(K=te.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),B||(B=te.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),V||(V=te.createElement("path",{d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z",fill:"#71b026"})),Y||(Y=te.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),G||(G=te.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),Z||(Z=te.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}var ne=a(34),se=a(7),oe=a(1),ie=a.n(oe);const ce=e=>{const{closeModal:t}=e;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(J.createElement)(re,{class:"yoast-wordproof-modal-svg__success"})),Object(J.createElement)("p",null,Object(Q.sprintf)(
438
  /* Translators: %s translates to the Post type in singular form */
439
  Object(Q.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Object(ne.a)("current_post_type")),Object(J.createElement)("br",null),Object(J.createInterpolateElement)(Object(Q.sprintf)(Object(Q.__)(
440
  /** translators:
@@ -442,9 +442,9 @@ Object(Q.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Obj
442
  * %3$s translates to the Post type in singular form.
443
  */
444
  "The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"<b>","</b>",Object(ne.a)("current_post_type")),{b:Object(J.createElement)("b",null)})),Object(J.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(J.createElement)(se.NewButton,{variant:"primary",onClick:t},"Continue")))};ce.propTypes={closeModal:ie.a.func.isRequired};var le,de=ce;function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function pe(e){return te.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 752 247",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",fill:"#fff",fillRule:"evenodd","aria-hidden":"true"},e),le||(le=te.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},te.createElement("path",{d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.621-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z",fill:"#f17523"}),te.createElement("path",{d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96l.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 001.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085l4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 01-1.565-3.955 31.05 31.05 0 01-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z",fill:"#fccda3"}),te.createElement("path",{d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z",fill:"#847972"}),te.createElement("path",{d:"M354 58.468c3.673-2.83 10.069-1.514 11.47 3.193l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.888c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),te.createElement("path",{d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296l79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696l6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135l15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z",fill:"#3e2723"}),te.createElement("path",{d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z",fill:"#dba378"}),te.createElement("path",{d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.639 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 00.367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 00-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 006.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z",fill:"#bf360c"}))))}const me=e=>{const{closeModal:t}=e,a=Object(J.useCallback)(e=>{t(),e.preventDefault(),Object(ne.c)()});return Object(J.createElement)("div",null,Object(J.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(J.createElement)(pe,{className:"yoast-wordproof-modal-svg__webhook-failed"})),Object(J.createElement)("div",null,Object(Q.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),Object(J.createElement)("br",null),Object(X.a)(Object(Q.sprintf)(Object(Q.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"<a>","</a>"),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),Object(J.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(J.createElement)(se.NewButton,{variant:"secondary",onClick:a},Object(Q.__)("Try again","wordpress-seo"))),Object(J.createElement)("div",null,Object(X.a)(Object(Q.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s expands to WordProof.
445
- Object(Q.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof"),"https://help.wordproof.com")))};me.propTypes={closeModal:ie.a.func.isRequired};var he=me,be=a(33);t.a=()=>{const[e,t]=Object(J.useState)(null),a=Object(J.useCallback)(()=>{t("oauth:failed")}),r=Object(J.useCallback)(()=>{t("webhook:failed")}),n=Object(J.useCallback)(()=>{t("oauth:success")}),s=Object(J.useCallback)(()=>{t(null)});Object(J.useEffect)(()=>(window.addEventListener("wordproof:oauth:success",n,!1),window.addEventListener("wordproof:oauth:failed",a,!1),window.addEventListener("wordproof:webhook:failed",r,!1),()=>{window.removeEventListener("wordproof:oauth:success",n,!1),window.removeEventListener("wordproof:oauth:failed",a,!1),window.removeEventListener("wordproof:webhook:failed",r,!1)}),[]);const o=Object(J.useCallback)(()=>{switch(e){case"webhook:failed":return Object(Q.__)("Connection failed","wordpress-seo");case"oauth:success":return Object(Q.__)("Connected to WordProof","wordpress-seo");default:return Object(Q.__)("WordProof authentication","wordpress-seo")}});return Object(J.createElement)(J.Fragment,null,e&&Object(J.createElement)(be.a,{onRequestClose:s,additionalClassName:"yoast-wordproof-modal",title:o()},"oauth:success"===e&&Object(J.createElement)(de,{closeModal:s}),"oauth:failed"===e&&Object(J.createElement)(ee,null),"webhook:failed"===e&&Object(J.createElement)(he,{closeModal:s})))}},function(e,t,a){"use strict";var r=a(11),n=a.n(r),s=a(0),o=a(2),i=a(6),c=a(1),l=a.n(c),d=a(125);const u=e=>{let{children:t,id:a,hasIcon:r=!0,title:n,image:i=null,isAlertDismissed:c,onDismissed:l}=e;return c?null:Object(s.createElement)("div",{id:a,className:"notice-yoast yoast is-dismissible"},Object(s.createElement)("div",{className:"notice-yoast__container"},Object(s.createElement)("div",null,Object(s.createElement)("div",{className:"notice-yoast__header"},r&&Object(s.createElement)("span",{className:"yoast-icon"}),Object(s.createElement)("h2",{className:"notice-yoast__header-heading"},n)),Object(s.createElement)("p",null,t)),i&&Object(s.createElement)(i,{height:"60"})),Object(s.createElement)("button",{className:"notice-dismiss",onClick:l},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Dismiss this notice.","wordpress-seo"))))};u.propTypes={children:l.a.node.isRequired,id:l.a.string.isRequired,hasIcon:l.a.bool,title:l.a.string.isRequired,image:l.a.elementType,isAlertDismissed:l.a.bool.isRequired,onDismissed:l.a.func.isRequired};var p,m,h,b,g,f,y,O,w,j,E,v,k,_,T,R,x,S,C,P,A,L,I,F,q,N,M,D,W,U,z,$,H,K,B,V,Y,G,Z,J,Q,X,ee,te,ae,re,ne,se=Object(d.a)(u),oe=a(3);function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function ce(e){return oe.createElement("svg",ie({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),p||(p=oe.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),m||(m=oe.createElement("path",{d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z",fill:"#fbd2a6"})),h||(h=oe.createElement("path",{d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 00110.3 8.66 25.66 25.66 0 01.18-8.12z",fill:"#a4286a"})),b||(b=oe.createElement("path",{d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z",fill:"#9a5815"})),g||(g=oe.createElement("path",{d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z",fill:"#efb17c"})),f||(f=oe.createElement("path",{d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z",fill:"#fbd2a6"})),y||(y=oe.createElement("path",{d:"M235.21 167.9l53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z",fill:"#f6b488"})),O||(O=oe.createElement("path",{d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z",fill:"#fbd2a6"})),w||(w=oe.createElement("path",{d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z",fill:"#e5766c"})),j||(j=oe.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),E||(E=oe.createElement("path",{d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 00-1.24 1.23h-.12a3.73 3.73 0 011-1.52 12.53 12.53 0 0111.93-3c4.73 1 9.43 4.63 9.42 9.82z",fill:"#000001"})),v||(v=oe.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),k||(k=oe.createElement("path",{d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 016.11 11.53z",fill:"#fff"})),_||(_=oe.createElement("path",{d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 00-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z",fill:"#000001"})),T||(T=oe.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),R||(R=oe.createElement("path",{d:"M218.66 120.27a27.32 27.32 0 004.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z",fill:"#efb17c"})),x||(x=oe.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),S||(S=oe.createElement("path",{d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z",fill:"#fbd2a6"})),C||(C=oe.createElement("path",{d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54",fill:"#a4286a"})),P||(P=oe.createElement("path",{d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z",fill:"#cb9833"})),A||(A=oe.createElement("path",{d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 00302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z",fill:"#fbd2a6"})),L||(L=oe.createElement("path",{d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z",fill:"#efb17c"})),I||(I=oe.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),F||(F=oe.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),q||(q=oe.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),N||(N=oe.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),M||(M=oe.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),D||(D=oe.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),W||(W=oe.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),U||(U=oe.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),z||(z=oe.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),$||($=oe.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),H||(H=oe.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),K||(K=oe.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),B||(B=oe.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),V||(V=oe.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Y||(Y=oe.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),G||(G=oe.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Z||(Z=oe.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),J||(J=oe.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Q||(Q=oe.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),X||(X=oe.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),ee||(ee=oe.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),te||(te=oe.createElement("path",{d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z",fill:"#71b026"})),ae||(ae=oe.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),re||(re=oe.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),ne||(ne=oe.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}const le=e=>{let{store:t="yoast-seo/editor",image:a=ce,url:r,...c}=e;return Object(i.useSelect)(e=>e(t).getIsPremium())?null:Object(s.createElement)(se,n()({alertKey:"webinar-promo-notification",store:t,id:"webinar-promo-notification",title:Object(o.__)("Get the most out of Yoast SEO","wordpress-seo"),image:a,url:r},c),Object(o.__)("Want to optimize even further with the help of our SEO experts? Sign up for our free weekly webinar!","wordpress-seo")," ",Object(s.createElement)("a",{href:r,target:"_blank",rel:"noreferrer"},Object(o.__)("Register now!","wordpress-seo")))};le.propTypes={store:l.a.string,image:l.a.elementType,url:l.a.string.isRequired},t.a=le},function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var r=a(38),n=a(32),s=a(103),o=a(47);const{dispatch:i}=wp.data;function c(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=i("wordproof"),a=Object(n.a)("popup_redirect_authentication_url"),c=Object(n.a)("popup_redirect_settings_url");let l=null;const d=(e,t)=>{l=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:680;const s=e.top.outerHeight/2+e.top.screenY-n/2,o=e.top.outerWidth/2+e.top.screenX-r/2;return e.open(t,a,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${r},\n\t\theight=${n},\n\t\ttop=${s},\n\t\tleft=${o}`)}(window,e,t),l&&l.focus(),window.addEventListener("message",u,!1)},u=async e=>{const{data:t,source:a,origin:r}=e;if(r===Object(n.a)("origin")&&l===a)switch(t.type){case"wordproof:oauth:granted":!1===await h(t)&&await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await p("wordproof:oauth:denied",!1);break;case"wordproof:webhook:success":await p("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await p("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await p("wordproof:settings:updated"),await b(t);break;case"wordproof:oauth:destroy":await p("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await p("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":m()}},p=async function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;m(),Object(s.a)(t),!1===a&&(await Object(r.b)(),e(!1)),!0===a&&e(!0)},m=()=>{window.removeEventListener("message",u,!1),l.close()},h=async e=>{await Object(r.c)(()=>Object(o.e)(e),async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return l.postMessage(t,Object(n.a)("origin")),!0},async()=>!1)},b=async e=>{await Object(r.c)(()=>Object(o.f)(e),async()=>{const a=e.settings;return a.selectedPostTypes&&t(a.selectedPostTypes),!0},async()=>!1)};window.addEventListener("wordproof:open_authentication",e=>{e.preventDefault(),d(a,"WordProof_Authentication")},!1),window.addEventListener("wordproof:open_settings",e=>{e.preventDefault(),d(c,"WordProof_Settings")},!1)}},,,,function(e,t,a){"use strict";var r=a(6),n=a(7);t.a=Object(r.withSelect)(e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}})(n.Warning)},function(e,t,a){"use strict";var r=a(11),n=a.n(r),s=a(0),o=a(14),i=a(6),c=a(2),l=a(153),d=a(19),u=a(123),p=a(63),m=a(114);const h=function(e,t){let a=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(a=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[a]&&(e.url=e.url.slice(0,a)+e.url.slice(a+1)),Object(p.applyReplaceUsingPlugin)(e)};t.a=Object(o.compose)([Object(i.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:a,getFocusKeyphrase:r,getRecommendedReplaceVars:n,getReplaceVars:s,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:c,getSnippetEditorMode:l,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:p,getIsTerm:m,getContentLocale:h}=e("yoast-seo/editor"),b=s();return b.forEach(e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),{baseUrl:t(),data:c(),date:a(),faviconSrc:i(),keyword:r(),mobileImageSrc:d(),mode:l(),recommendedReplacementVariables:n(),replacementVariables:b,shoppingData:o(),wordsToHighlight:u(),isCornerstone:p(),isTaxonomy:m(),locale:h()}})),Object(i.withDispatch)((function(e,t,a){let{select:r}=a;const{updateData:n,switchMode:s,updateAnalysisData:o,findCustomFields:i}=e("yoast-seo/editor"),c=e("core/editor"),l=r("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":s(t);break;case"slug":n({slug:t}),c&&c.editPost({slug:t});break;default:n({[e]:t})}},onChangeAnalysisData:o,onReplacementVariableSearchChange:Object(m.a)(l,i)}}))])(e=>Object(s.createElement)(d.LocationConsumer,null,t=>Object(s.createElement)(u.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(l.SnippetEditor,n()({},e,{descriptionPlaceholder:Object(c.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:h,showCloseButton:!1,idSuffix:t})))))},function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(154),o=a(16),i=a(52),c=a(41),l=a(114);const d=()=>{Object(c.b)(e=>Object(n.dispatch)("yoast-seo/editor").setTwitterPreviewImage(Object(c.d)(e)))};t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{getTwitterDescription:t,getTwitterTitle:a,getTwitterImageUrl:r,getFacebookImageUrl:n,getFacebookTitle:s,getFacebookDescription:i,getDescription:c,getSeoTitle:l,getTwitterWarnings:d,getTwitterImageType:u,getImageFallback:p,getRecommendedReplaceVars:m,getReplaceVars:h,getSiteUrl:b,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:y,getSeoDescriptionTemplate:O,getSocialDescriptionTemplate:w,getReplacedExcerpt:j,getTwitterAltText:E}=e("yoast-seo/editor");return{imageUrl:r(),imageFallbackUrl:n()||p(),recommendedReplacementVariables:m(),replacementVariables:h(),description:t(),descriptionPreviewFallback:w()||i()||c()||O()||j()||"",title:a(),titlePreviewFallback:y()||s()||l()||f()||g()||"",imageWarnings:d(),siteUrl:b(),isPremium:!!Object(o.a)().isPremium,isLarge:"summary"!==u(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter",alt:E()}}),Object(n.withDispatch)((e,t,a)=>{let{select:r}=a;const{setTwitterPreviewTitle:n,setTwitterPreviewDescription:s,clearTwitterPreviewImage:o,loadTwitterPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=r("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:o,onDescriptionChange:s,onTitleChange:n,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(s.a)},function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(155),o=a(16),i=a(52),c=a(41),l=a(114);const d=()=>{Object(c.b)(e=>Object(n.dispatch)("yoast-seo/editor").setFacebookPreviewImage(Object(c.c)(e)))};t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{getFacebookDescription:t,getDescription:a,getFacebookTitle:r,getSeoTitle:n,getFacebookImageUrl:s,getImageFallback:i,getFacebookWarnings:c,getRecommendedReplaceVars:l,getReplaceVars:d,getSiteUrl:u,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:m,getSocialTitleTemplate:h,getSeoDescriptionTemplate:b,getSocialDescriptionTemplate:g,getReplacedExcerpt:f,getFacebookAltText:y}=e("yoast-seo/editor");return{imageUrl:s(),imageFallbackUrl:i(),recommendedReplacementVariables:l(),replacementVariables:d(),description:t(),descriptionPreviewFallback:g()||a()||b()||f()||"",title:r(),titlePreviewFallback:h()||n()||m()||p()||"",imageWarnings:c(),siteUrl:u(),isPremium:!!Object(o.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook",alt:y()}}),Object(n.withDispatch)((e,t,a)=>{let{select:r}=a;const{setFacebookPreviewTitle:n,setFacebookPreviewDescription:s,clearFacebookPreviewImage:o,loadFacebookPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=r("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:o,onDescriptionChange:s,onTitleChange:n,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(s.a)},function(e,t,a){"use strict";var r=a(6),n=a(14),s=a(0),o=a(2),i=a(1),c=a.n(i),l=a(15),d=a(67),u=a(33),p=a(99),m=a(94),h=a(69),b=a(113);function g(e){const{keyphrases:t,onNoKeyphraseSet:a,onOpen:r,location:n}=e;if(!t.length)return document.querySelector("#focus-keyword-input-sidebar").focus(),void a();r(n)}function f(e,t){Object(m.b)(t)&&e.onClose()}function y(e){const{location:t,whichModalOpen:a,shouldCloseOnClickOutside:r}=e,n=Object(s.useCallback)(()=>{g(e)},[g,e]),i=Object(s.useCallback)(t=>{f(e,t)},[f,e]),c=Object(o.__)("Track SEO performance","wordpress-seo");return Object(s.createElement)(s.Fragment,null,a===t&&Object(s.createElement)(u.a,{title:c,onRequestClose:i,icon:Object(s.createElement)(p.a,null),additionalClassName:"yoast-wincher-seo-performance-modal",shouldCloseOnClickOutside:r},Object(s.createElement)(d.a,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},Object(s.createElement)(b.a,null))),"sidebar"===t&&Object(s.createElement)(h.a,{id:"wincher-open-button-"+t,title:c,suffixIcon:{size:"20px",icon:"pencil-square"},prefixIcon:{icon:"chart-square-bar",color:l.colors.$color_grey_medium_dark},onClick:n}))}y.propTypes={location:c.a.string,whichModalOpen:c.a.oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:c.a.bool},y.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0},t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:a}=e("yoast-seo/editor");return{keyphrases:a(),whichModalOpen:t()}}),Object(r.withDispatch)(e=>{const{setWincherOpenModal:t,setWincherDismissModal:a,setWincherNoKeyphrase:r}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{a()},onNoKeyphraseSet:()=>{r()}}})])(y)},,,,,,,function(e,t){e.exports=window.wp.editPost},,,function(e,t){e.exports=window.wp.annotations},function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(e){"object"==typeof window&&(a=window)}e.exports=a},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(1),i=a.n(o),c=a(77),l=a(132),d=a(133),u=a(143),p=a(134);const m=e=>{let{location:t}=e;const a=Object(n.useSelect)(e=>e("yoast-seo/editor").getIsElementorEditor(),[]),o=Object(n.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]);return Object(r.createElement)(c.a,{title:Object(s.__)("Insights","wordpress-seo"),id:"yoast-insights-modal-"+t,shouldCloseOnClickOutside:!a,showChangesWarning:!1},Object(r.createElement)("div",{className:"yoast-insights yoast-modal-content--columns"},Object(r.createElement)(u.a,{location:t}),Object(r.createElement)("div",null,o&&Object(r.createElement)("div",{className:"yoast-insights-row"},Object(r.createElement)(d.a,null)),Object(r.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(r.createElement)(l.a,null),Object(r.createElement)(p.a,null)))))};m.propTypes={location:i.a.string},m.defaultProps={location:"sidebar"},t.a=m},function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var r=a(0),n=a(7),s=a(57),o=a(1);function i(e){let{score:t,label:a,scoreValue:o}=e;return Object(r.createElement)("div",null,Object(r.createElement)(n.SvgIcon,Object(s.getIconForScore)(t)),Object(r.createElement)("span",null," ",a," ",o&&Object(r.createElement)("strong",null,o)))}i.propTypes={score:o.string.isRequired,label:o.string.isRequired,scoreValue:o.string},i.defaultProps={scoreValue:""}},,,,,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return $}));var r=a(0),n=a(1),s=a.n(n),o=a(13),i=a(136),c=a(68);function l(e){let{theme:t}=e;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(o.Slot,{name:"YoastMetabox"},e=>Object(i.a)(e)))}var d=a(6),u=a(14),p=a(2),m=a(15),h=a(131),b=a(168),g=a(167),f=a(54),y=a(44),O=a(132),w=a(133),j=a(143),E=a(134);const v=e=>{let{location:t}=e;const a=Object(d.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]);return Object(r.createElement)(y.a,{title:Object(p.__)("Insights","wordpress-seo"),id:"yoast-insights-collapsible-"+t,className:"yoast-insights"},Object(r.createElement)(j.a,{location:t}),Object(r.createElement)("div",null,a&&Object(r.createElement)("div",{className:"yoast-insights-row"},Object(r.createElement)(w.a,null)),Object(r.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(r.createElement)(O.a,null),Object(r.createElement)(E.a,null))))};v.propTypes={location:s.a.string},v.defaultProps={location:"metabox"};var k=v,_=a(25),T=a(140),R=a(170),x=a(169);const S=e=>{let{displayFacebook:t,displayTwitter:a}=e;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(y.a,{hasSeparator:!1
446
- /* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(R.a,null)),a&&Object(r.createElement)(y.a
447
- /* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(x.a,null)))};S.propTypes={displayFacebook:s.a.bool.isRequired,displayTwitter:s.a.bool.isRequired};var C=S,P=Object(d.withSelect)(e=>{const{getPreferences:t}=e("yoast-seo/editor"),{displayFacebook:a,displayTwitter:r}=t();return{displayFacebook:a,displayTwitter:r}})(C),A=a(36);function L(e){let{target:t}=e;return Object(r.createElement)(A.a,{target:t},Object(r.createElement)(P,null))}L.propTypes={target:s.a.string.isRequired};var I=a(142),F=a(127),q=a(113),N=a(34),M=a(161),D=a(141),W=a(135);function U(e){let{settings:t,wincherKeyphrases:a,setWincherNoKeyphrase:n}=e;const s=Object(r.useCallback)(()=>{if(!a.length)return n(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1},[a,n]);return Object(r.createElement)(r.Fragment,null,Object(N.b)()&&Object(r.createElement)(M.a,null),Object(r.createElement)(o.Fill,{name:"YoastMetabox"},Object(r.createElement)(_.a,{key:"warning",renderPriority:1},Object(r.createElement)(g.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(_.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(f.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(o.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(F.a,null))),Object(r.createElement)(_.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(y.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(b.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(_.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(f.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell,isYoastSEOWooActive:t.isYoastSEOWooEnabled})),t.isKeywordAnalysisActive&&Object(r.createElement)(_.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(r.Fragment,null,Object(r.createElement)(f.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive,isYoastSEOWooActive:t.isYoastSEOWooEnabled}),t.shouldUpsell&&Object(r.createElement)(D.a,{location:"metabox"}))),t.isInclusiveLanguageAnalysisActive&&Object(r.createElement)(_.a,{key:"inclusive-language-analysis",renderPriority:21},Object(r.createElement)(f.InclusiveLanguageAnalysis,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(_.a,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&Object(r.createElement)(W.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(r.createElement)(_.a,{key:"wincher-seo-performance",renderPriority:25},Object(r.createElement)(y.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(p.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:m.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:m.colors.$color_grey_medium_dark},onToggle:s},Object(r.createElement)(q.a,null))),t.isCornerstoneActive&&Object(r.createElement)(_.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(h.a,null)),t.displayAdvancedTab&&Object(r.createElement)(_.a,{key:"advanced",renderPriority:40},Object(r.createElement)(y.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(r.createElement)(T.a,null))),t.displaySchemaSettings&&Object(r.createElement)(_.a,{key:"schema",renderPriority:50},Object(r.createElement)(I.a,null)),Object(r.createElement)(_.a,{key:"social",renderPriority:-1},Object(r.createElement)(L,{target:"wpseo-section-social"})),t.isInsightsEnabled&&Object(r.createElement)(_.a,{key:"insights",renderPriority:52},Object(r.createElement)(k,{location:"metabox"}))))}U.propTypes={settings:s.a.object.isRequired,wincherKeyphrases:s.a.array.isRequired,setWincherNoKeyphrase:s.a.func.isRequired};var z=Object(u.compose)([Object(d.withSelect)((e,t)=>{const{getPreferences:a,getWincherTrackableKeyphrases:r}=e("yoast-seo/editor");return{settings:a(),store:t.store,wincherKeyphrases:r()}}),Object(d.withDispatch)(e=>{const{setWincherNoKeyphrase:t}=e("yoast-seo/editor");return{setWincherNoKeyphrase:t}})])(U);function $(e){let{target:t,store:a,theme:n}=e;return Object(r.createElement)(A.a,{target:t},Object(r.createElement)(l,{store:a,theme:n}),Object(r.createElement)(z,{store:a,theme:n}))}$.propTypes={target:s.a.string.isRequired,store:s.a.object,theme:s.a.object}},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var r=a(47),n=a(32),s=a(1),o=a.n(s),i=a(103);const c=e=>{const{response:t,createSuccessNotice:a,createErrorNotice:r,postId:s}=e;if(null===t||200===t.status)return;const o={id:"wordproof-timestamp-notice"};if(t&&201===t.status)0===t.balance?(o.actions=[{label:Object(n.a)("translations.open_settings_button_text"),onClick:()=>{Object(i.a)("wordproof:open_settings")},variant:"link"}],r(Object(n.a)("translations.no_balance"),o)):(a(Object(n.a)("translations.timestamp_success"),{type:"snackbar",id:"wordproof-timestamp-notice"}),l(s,t.hash,r,o));else if(t.error)switch(t.error){case"not_authenticated":o.type="snackbar",o.actions=[{label:Object(n.a)("translations.open_authentication_button_text"),onClick:()=>{Object(i.a)("wordproof:open_authentication")},variant:"link"}],r(Object(n.a)("translations.not_authenticated"),o);break;case"timestamp_failed":default:r(Object(n.a)("translations.timestamp_failed"),o)}},l=async(e,t,a,s)=>{setTimeout(async()=>{(await Object(r.c)(e)).hash!==t&&(s.type="snackbar",a(Object(n.a)("translations.webhook_failed"),s))},1e4)};c.proptypes={timestampResponse:o.a.any.isRequired,createSuccessNotice:o.a.func.isRequired,createErrorNotice:o.a.func.isRequired,postId:o.a.number.isRequired};const{debounce:d}=lodash,{applyFilters:u}=wp.hooks;function p(e,t,a){e(d(async()=>{if(u("wordproof.timestamp",!0)){const e=Object(n.a)("current_post_id"),s=await Object(r.g)(e);c({response:s,createSuccessNotice:t,createErrorNotice:a,postId:e})}},500))}},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return j}));var r=a(6),n=a(17),s=a(4),o=a(12),i=a(120),c=a(63),l=a(62);const{updateReplacementVariable:d,updateData:u,hideReplacementVariables:p,setContentImage:m,updateSettings:h,setEditorDataContent:b,setEditorDataTitle:g,setEditorDataExcerpt:f,setEditorDataImageUrl:y,setEditorDataSlug:O}=n.actions,w=e.jQuery;class j{constructor(e,t){this._refresh=e,this._store=t,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this._data=this.getInitialData(e),Object(c.fillReplacementVariables)(this._data,this._store),this._store.dispatch(p(t)),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}getInitialData(e){const t=this.collectGutenbergData(this.getPostAttribute);return e=Object(c.mapCustomFields)(e,this._store),e=Object(c.mapCustomTaxonomies)(e,this._store),{...e,...t}}setRefresh(e){this._refresh=e}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const a in e)if(e.hasOwnProperty(a)&&(!(a in t)||e[a]!==t[a]))return!1;return!0}getMediaById(e){return this._coreDataSelect||(this._coreDataSelect=Object(r.select)("core")),this._coreDataSelect.getMedia(e)}getPostAttribute(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(r.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}getSlug(){if("auto-draft"===this.getPostAttribute("status"))return"";let e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");const t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}getPostBaseUrl(e){const t=Object(r.select)("core/editor").getPermalink();let a,n="";try{a=new URL(t),n=a.href}catch(e){n=window.wpseoScriptData.metabox.base_url}return n=n.replace(new RegExp(e+"/$"),""),n.endsWith("/")||(n+="/"),n}collectGutenbergData(){const e=this.getPostAttribute("content"),t=this.calculateContentImage(e),a=this.getPostAttribute("excerpt")||"",r=this.getSlug();return{content:e,title:this.getPostAttribute("title")||"",slug:r,excerpt:a||Object(c.excerptFromContent)(e,"ja"===Object(l.a)()?80:156),excerpt_only:a,snippetPreviewImageURL:this.getFeaturedImage()||t,contentImage:t,baseUrl:this.getPostBaseUrl(r)}}getFeaturedImage(){const e=this.getPostAttribute("featured_media");if(e){const t=this.getMediaById(e);if(t)return t.source_url}return null}calculateContentImage(e){const t=o.languageProcessing.imageInText(e);let a="";if(0===t.length)return"";do{var r=t.shift(),n=(r=w(r)).prop("src");n&&(a=n)}while(""===a&&t.length>0);return a}handleEditorChange(e){this._data.content!==e.content&&this._store.dispatch(b(e.content)),this._data.title!==e.title&&(this._store.dispatch(g(e.title)),this._store.dispatch(d("title",e.title))),this._data.excerpt!==e.excerpt&&(this._store.dispatch(f(e.excerpt)),this._store.dispatch(d("excerpt",e.excerpt)),this._store.dispatch(d("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&(this._store.dispatch(O(e.slug)),this._store.dispatch(u({slug:e.slug}))),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&(this._store.dispatch(y(e.snippetPreviewImageURL)),this._store.dispatch(u({snippetPreviewImageURL:e.snippetPreviewImageURL}))),this._data.contentImage!==e.contentImage&&this._store.dispatch(m(e.contentImage)),this._data.baseUrl!==e.baseUrl&&this._store.dispatch(h({baseUrl:e.baseUrl}))}reapplyMarkers(){const{getActiveMarker:e,getMarkerPauseStatus:t}=Object(r.select)("yoast-seo/editor"),a=e(),n=t();a&&!n&&Object(i.c)()}refreshYoastSEO(){const e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}areNewAnalysisResultsAvailable(){const e=Object(r.select)("yoast-seo/editor"),t=e.getReadabilityResults(),a=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==a)&&(this._previousReadabilityResults=t,this._previousSeoResults=a,!0)}onNewAnalysisResultsAvailable(){this.reapplyMarkers()}subscribeToGutenberg(){this.subscriber=Object(s.debounce)(this.refreshYoastSEO,500),Object(r.subscribe)(this.subscriber)}subscribeToYoastSEO(){this.yoastSubscriber=()=>{this.areNewAnalysisResultsAvailable()&&this.onNewAnalysisResultsAvailable()},Object(r.subscribe)(this.yoastSubscriber)}getData(){return this._data}}}).call(this,a(182))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var r=a(0),n=a(178),s=a(222),o=a(97),i=a(6),c=a(2),l=a(64),d=a(4),u=a(13),p=a(17),m=a(196),h=a(163);const{subscribe:b,select:g}=wp.data;function f(e){let t=!0;b(()=>{const a=g("core/editor").isSavingPost(),r=g("core/editor").isAutosavingPost(),n=g("core/editor").didPostSaveRequestSucceed();if(a&&n&&!r){if(t)return void(t=!1);e()}})}var y=a(14),O=a(15),w=a(39),j=a(11),E=a.n(j),v=a(1),k=a.n(v),_=a(8);const T=a.n(_).a.svg`
448
  width: ${e=>e.size}px;
449
  height: ${e=>e.size}px;
450
  &&& path {
@@ -459,4 +459,4 @@ Object(Q.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"<a>"
459
  fill: ${e=>e.seoScoreColor};
460
  display: ${e=>e.isKeywordAnalysisActive?"inline":"none"};
461
  }
462
- `,R=function(e){return Object(r.createElement)(T,E()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),Object(r.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(r.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(r.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(r.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"}))};R.propTypes={readabilityScoreColor:k.a.string,isContentAnalysisActive:k.a.bool,seoScoreColor:k.a.string,isKeywordAnalysisActive:k.a.bool,size:k.a.number,color:k.a.string},R.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};var x=R,S=Object(y.compose)([Object(i.withSelect)(e=>{const t=e("yoast-seo/editor"),a=Object(w.a)(t.getResultsForFocusKeyword().overallScore),r=Object(w.a)(t.getReadabilityResults().overallScore),{isKeywordAnalysisActive:n,isContentAnalysisActive:s}=t.getPreferences();let o,i;switch(r.className){case"good":o=O.colors.$color_good;break;case"ok":o=O.colors.$color_ok;break;case"bad":default:o=O.colors.$color_bad}switch(a.className){case"good":i=O.colors.$color_good;break;case"ok":i=O.colors.$color_ok;break;case"bad":default:i=O.colors.$color_bad}return{readabilityScoreColor:o,seoScoreColor:i,isKeywordAnalysisActive:n,isContentAnalysisActive:s}})])(x),C=a(131),P=a(167),A=a(54),L=a(183),I=a(25),F=a(77),q=a(168),N=()=>Object(r.createElement)(F.a,{title:Object(c.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(r.createElement)(q.a,{showCloseButton:!1,hasPaperStyle:!1})),M=a(141),D=a(169),W=()=>Object(r.createElement)(F.a,{title:Object(c.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(r.createElement)(D.a,null)),U=a(170),z=()=>Object(r.createElement)(F.a,{title:Object(c.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(r.createElement)(U.a,null)),$=a(142),H=a(55),K=a(140),B=a(171),V=a(162),Y=a(135);function G(e){let{settings:t}=e;const a=Object(d.get)(window,"wpseoScriptData.webinarIntroBlockEditorUrl","https://yoa.st/webinar-intro-block-editor");return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(u.Fill,{name:"YoastSidebar"},Object(r.createElement)(I.a,{key:"warning",renderPriority:1},Object(r.createElement)(P.a,null),Object(r.createElement)("div",{style:{margin:"0 16px"}},Object(r.createElement)(V.a,{hasIcon:!1,image:null,url:a}))),t.isKeywordAnalysisActive&&Object(r.createElement)(I.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(A.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),Object(r.createElement)(I.a,{key:"google-preview",renderPriority:25},Object(r.createElement)(N,null)),t.displayFacebook&&Object(r.createElement)(I.a,{key:"facebook-preview",renderPriority:26},Object(r.createElement)(z,null)),t.displayTwitter&&Object(r.createElement)(I.a,{key:"twitter-preview",renderPriority:27},Object(r.createElement)(W,null)),t.displaySchemaSettings&&Object(r.createElement)(I.a,{key:"schema",renderPriority:28},Object(r.createElement)(H.a,{title:Object(c.__)("Schema","wordpress-seo")},Object(r.createElement)($.a,null))),t.displayAdvancedTab&&Object(r.createElement)(I.a,{key:"advanced",renderPriority:29},Object(r.createElement)(H.a,{title:Object(c.__)("Advanced","wordpress-seo")},Object(r.createElement)(K.a,null))),t.isKeywordAnalysisActive&&Object(r.createElement)(I.a,{key:"seo",renderPriority:10},Object(r.createElement)(r.Fragment,null,Object(r.createElement)(A.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive,isYoastSEOWooActive:t.isYoastSEOWooEnabled}),t.shouldUpsell&&Object(r.createElement)(M.a,{location:"sidebar"}))),t.isContentAnalysisActive&&Object(r.createElement)(I.a,{key:"readability",renderPriority:20},Object(r.createElement)(A.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell,isYoastSEOWooActive:t.isYoastSEOWooEnabled})),t.isInclusiveLanguageAnalysisActive&&Object(r.createElement)(I.a,{key:"inclusive-language",renderPriority:21},Object(r.createElement)(A.InclusiveLanguageAnalysis,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(I.a,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&Object(r.createElement)(Y.a,null)),t.isCornerstoneActive&&Object(r.createElement)(I.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(C.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(r.createElement)(I.a,{renderPriority:23},Object(r.createElement)(B.a,{location:"sidebar"})),t.isInsightsEnabled&&Object(r.createElement)(I.a,{renderPriority:32},Object(r.createElement)(L.a,{location:"sidebar"}))))}G.propTypes={settings:k.a.object.isRequired};var Z=Object(i.withSelect)((e,t)=>{const{getPreferences:a}=e("yoast-seo/editor");return{settings:a(),store:t.store}})(G),J=a(192),Q=a(120),X=a(136),ee=a(68);function te(e){let{theme:t}=e;return Object(r.createElement)(ee.a,{theme:t,location:"sidebar"},Object(r.createElement)(u.Slot,{name:"YoastSidebar"},e=>Object(X.a)(e)))}var ae=a(42),re=a(223),ne=a(56),se=a(86),oe=Object(u.withSpokenMessages)((function(e){let{isActive:t,activeAttributes:a,addingLink:n,value:s,onChange:o,speak:i,stopAddingLink:p}=e;const m=Object(r.useMemo)(d.uniqueId,[n]),[h,b]=Object(r.useState)(),g=Object(r.useMemo)(()=>{const e=window.getSelection();if(!e.rangeCount)return;const a=e.getRangeAt(0);if(n&&!t)return a;let r=a.startContainer;for(r=r.nextElementSibling||r;r.nodeType!==window.Node.ELEMENT_NODE;)r=r.parentNode;return r.closest("a")},[n,s.start,s.end]),f={url:a.url,type:a.type,id:a.id,opensInNewTab:"_blank"===a.target,noFollow:a.rel&&a.rel.split(" ").includes("nofollow"),sponsored:a.rel&&a.rel.split(" ").includes("sponsored"),...h},y=Object(r.createElement)(ne.a,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},Object(r.createElement)("span",{className:"screen-reader-text"},Object(c.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),O=Object(se.a)(Object(c.sprintf)(Object(c.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(r.createElement)("code",null),helplink:y}),w=Object(se.a)(Object(c.sprintf)(Object(c.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(r.createElement)("code",null),helplink:y}),j=[{id:"opensInNewTab",title:Object(c.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:O},{id:"sponsored",title:w}],{__experimentalLinkControl:E}=window.wp.blockEditor;return Object(r.createElement)(u.Popover,{key:m,anchorRef:g,focusOnMount:!!n&&"firstElement",onClose:p,position:"bottom center"},Object(r.createElement)(E,{value:f,onChange:function(e){e={...h,...e};const a=f.url===e.url&&f.opensInNewTab!==e.opensInNewTab||f.noFollow!==e.noFollow||f.sponsored!==e.sponsored;a&&!0===e.sponsored&&!0!==f.sponsored&&(e.noFollow=!0),a&&!1===e.noFollow&&!1!==f.noFollow&&(e.sponsored=!1);const r=a&&void 0===e.url;if(b(r?e:void 0),r)return;const n=Object(ae.prependHTTP)(e.url),u=function(e){let{url:t,opensInNewWindow:a,noFollow:r,sponsored:n}=e;const s={type:"core/link",attributes:{url:t}};let o=[];return a&&(s.attributes.target="_blank",o.push("noreferrer noopener")),n&&(o.push("sponsored"),o.push("nofollow")),r&&o.push("nofollow"),o.length>0&&(o=Object(d.uniq)(o),s.attributes.rel=o.join(" ")),s}({url:n,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(l.isCollapsed)(s)&&!t){const t=e.title||n,a=Object(l.applyFormat)(Object(l.create)({text:t}),u,0,t.length);o(Object(l.insert)(s,a))}else{const e=Object(l.applyFormat)(s,u);e.start=e.end,e.activeFormats=[],o(e)}a||p(),function(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=Object(ae.getProtocol)(t);if(!Object(ae.isValidProtocol)(e))return!1;if(Object(d.startsWith)(e,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const a=Object(ae.getAuthority)(t);if(!Object(ae.isValidAuthority)(a))return!1;const r=Object(ae.getPath)(t);if(r&&!Object(ae.isValidPath)(r))return!1;const n=Object(ae.getQueryString)(t);if(n&&!Object(ae.isValidQueryString)(n))return!1;const s=Object(ae.getFragment)(t);if(s&&!Object(ae.isValidFragment)(s))return!1}return!(Object(d.startsWith)(t,"#")&&!Object(ae.isValidFragment)(t))}(n)?i(t?Object(c.__)("Link edited.","wordpress-seo"):Object(c.__)("Link inserted.","wordpress-seo"),"assertive"):i(Object(c.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive")},forceIsEditingLink:n,settings:j}))}));const ie=Object(c.__)("Link","wordpress-seo"),ce={name:"core/link",title:ie,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule(e,t){let{html:a,plainText:r}=t;if(Object(l.isCollapsed)(e))return e;const n=(a||r).replace(/<[^>]+>/g,"").trim();return Object(ae.isURL)(n)?(window.console.log("Created link:\n\n",n),Object(l.applyFormat)(e,{type:"core/link",attributes:{url:Object(re.decodeEntities)(n)}})):e},edit:Object(u.withSpokenMessages)(class extends r.Component{constructor(){super(...arguments),this.addLink=this.addLink.bind(this),this.stopAddingLink=this.stopAddingLink.bind(this),this.onRemoveFormat=this.onRemoveFormat.bind(this),this.state={addingLink:!1}}addLink(){const{value:e,onChange:t}=this.props,a=Object(l.getTextContent)(Object(l.slice)(e));a&&Object(ae.isURL)(a)?t(Object(l.applyFormat)(e,{type:"core/link",attributes:{url:a}})):a&&Object(ae.isEmail)(a)?t(Object(l.applyFormat)(e,{type:"core/link",attributes:{url:"mailto:"+a}})):this.setState({addingLink:!0})}stopAddingLink(){this.setState({addingLink:!1}),this.props.onFocus()}onRemoveFormat(){const{value:e,onChange:t,speak:a}=this.props;t(Object(l.removeFormat)(e,"core/link")),a(Object(c.__)("Link removed.","wordpress-seo"),"assertive")}render(){const{isActive:e,activeAttributes:t,value:a,onChange:n}=this.props,{RichTextToolbarButton:s,RichTextShortcut:o}=window.wp.blockEditor;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(o,{type:"primary",character:"k",onUse:this.addLink}),Object(r.createElement)(o,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&Object(r.createElement)(s,{name:"link",icon:"editor-unlink",title:Object(c.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&Object(r.createElement)(s,{name:"link",icon:"admin-links",title:ie,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||e)&&Object(r.createElement)(oe,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:t,value:a,onChange:n}))}})};var le=a(7),de=a(184);function ue(e){let{checklist:t,onClick:a}=e;const n=t.every(e=>"good"===e.score);return Object(r.createElement)(r.Fragment,null,t.map(e=>Object(r.createElement)(de.a,E()({key:e.label},e))),Object(r.createElement)("br",null),!n&&Object(r.createElement)(le.Button,{onClick:a},Object(c.__)("Improve your post with Yoast SEO","wordpress-seo")))}function pe(e){let t,{checklist:a,onClick:n}=e;return t=a.every(e=>"good"===e.score)?Object(c.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):Object(c.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",null,t),Object(r.createElement)(ue,{checklist:a,onClick:n}))}ue.propTypes={checklist:k.a.array.isRequired,onClick:k.a.func.isRequired},pe.propTypes={checklist:k.a.array.isRequired,onClick:k.a.func.isRequired};var me=a(16);function he(e,t){const{isKeywordAnalysisActive:a}=t.getPreferences();if(a){const a=Object(w.a)(t.getReadabilityResults().overallScore);e.push({label:Object(c.__)("Readability analysis:","wordpress-seo"),score:a.className,scoreValue:a.screenReaderReadabilityText})}}function be(e,t){const{isContentAnalysisActive:a}=t.getPreferences();if(a){const a=Object(w.a)(t.getResultsForFocusKeyword().overallScore),r=Object(me.a)().isPremium;e.push({label:r?Object(c.__)("Premium SEO analysis:","wordpress-seo"):Object(c.__)("SEO analysis:","wordpress-seo"),score:a.className,scoreValue:a.screenReaderReadabilityText})}}function ge(e,t){const{isInclusiveLanguageAnalysisActive:a}=t.getPreferences();if(a){const a=Object(w.a)(t.getInclusiveLanguageResults().overallScore);e.push({label:Object(c.__)("Inclusive language:","wordpress-seo"),score:a.className,scoreValue:a.screenReaderReadabilityText})}}function fe(e,t,a){if(!a.getBlocks().some(e=>!0===e.attributes["is-yoast-schema-block"]))return;const r=t.getSchemaBlocksValidationResults(),n=Object.values(r);if(n&&n.length>0){const t=n.every(e=>e.result<=0);e.push({label:Object(c.__)("Schema analysis:","wordpress-seo"),score:t?"good":"bad",scoreValue:t?Object(c.__)("Good","wordpress-seo"):Object(c.__)("Needs improvement","wordpress-seo")})}}var ye,Oe,we,je=Object(y.compose)([Object(i.withSelect)((function(e){const t=e("yoast-seo/editor"),a=e("yoast-seo/schema-blocks"),r=e("core/block-editor"),n=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:Object(c.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(n,t),he(n,t),be(n,t),ge(n,t),fe(n,a,r),{checklist:n}})),Object(i.withDispatch)((function(e){const{closePublishSidebar:t,openGeneralSidebar:a}=e("core/edit-post");return{onClick:()=>{t(),a("yoast-seo/seo-sidebar")}}}))])(pe),Ee=Object(y.compose)([Object(i.withSelect)((function(e){const t=e("yoast-seo/editor"),a=e("yoast-seo/schema-blocks"),r=e("core/block-editor"),n=[];return he(n,t),be(n,t),ge(n,t),fe(n,a,r),{checklist:n}})),Object(i.withDispatch)((function(e){const{openGeneralSidebar:t}=e("core/edit-post");return{onClick:()=>{t("yoast-seo/seo-sidebar")}}}))])(ue),ve=a(3);function ke(){return(ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function _e(e){return ve.createElement("svg",ke({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1600","aria-hidden":"true"},e),ye||(ye=ve.createElement("g",{fill:"none",fillRule:"evenodd"},ve.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"}),ve.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 Te(){return(Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function Re(e){return ve.createElement("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400","aria-hidden":"true"},e),Oe||(Oe=ve.createElement("circle",{cx:200,cy:200,r:200,fill:"#1da1f2"})),we||(we=ve.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 xe(e){let{permalink:t}=e;const a=encodeURI(t);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",null,Object(c.__)("Share your post!","wordpress-seo")),Object(r.createElement)("ul",{className:"yoast-seo-social-share-buttons"},Object(r.createElement)("li",null,Object(r.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+a,target:"_blank",rel:"noopener noreferrer"},Object(r.createElement)(_e,null),Object(c.__)("Facebook","wordpress-seo"),Object(r.createElement)("span",{className:"screen-reader-text"},Object(c.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(r.createElement)("li",null,Object(r.createElement)("a",{href:"https://twitter.com/share?url="+a,target:"_blank",rel:"noopener noreferrer"},Object(r.createElement)(Re,null),Object(c.__)("Twitter","wordpress-seo"),Object(r.createElement)("span",{className:"screen-reader-text"},Object(c.__)("(Opens in a new browser tab)","wordpress-seo"))))))}xe.propTypes={permalink:k.a.string.isRequired};var Se=Object(y.compose)([Object(i.withSelect)(e=>({permalink:e("core/editor").getPermalink()}))])(xe),Ce=a(111);function Pe(e){const{hasTrackedKeyphrases:t,trackAll:a}=e;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(le.FieldGroup,{label:Object(c.__)("SEO performance","wordpress-seo"),linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")}),Object(r.createElement)(Ce.a,null),t&&Object(r.createElement)("p",null,Object(c.__)("Tracking has already been enabled for one or more keyphrases of this page. Clicking the button below will enable tracking for all of its keyphrases.","wordpress-seo")),Object(r.createElement)("div",{className:"yoast"},Object(r.createElement)(le.NewButton,{variant:"secondary",onClick:a},Object(c.__)("Track all keyphrases on this page","wordpress-seo"))),Object(r.createElement)(B.a,{location:"postpublish"}))}Pe.propTypes={trackAll:k.a.func,hasTrackedKeyphrases:k.a.bool},Pe.defaultProps={trackAll:()=>{},hasTrackedKeyphrases:!1};var Ae=Object(y.compose)([Object(i.withSelect)(e=>{const{getWincherTrackedKeyphrases:t,hasWincherTrackedKeyphrases:a}=e("yoast-seo/editor");return{trackedKeyphrases:t(),hasTrackedKeyphrases:a()}}),Object(i.withDispatch)(e=>{const{setWincherOpenModal:t,setWincherTrackAllKeyphrases:a}=e("yoast-seo/editor");return{trackAll:()=>{a(!0),t("postpublish")}}})])(Pe),Le=a(34);var Ie=a(224);window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){const t=Object(me.a)(),a=t.isPremium,l=a?"Yoast SEO Premium":"Yoast SEO",d=Object(r.createElement)(x,null);Object(o.updateCategory)("yoast-structured-data-blocks",{icon:d}),Object(o.updateCategory)("yoast-internal-linking-blocks",{icon:d});const p={isRtl:t.isRtl},m=e.getState().preferences,h=m.isKeywordAnalysisActive||m.isContentAnalysisActive,b=m.isZapierIntegrationActive&&!m.isZapierConnected,g=m.isKeywordAnalysisActive&&m.isWincherIntegrationActive;!Object(i.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]&&Object(i.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel"),Object(s.registerPlugin)("yoast-seo",{render:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(n.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:Object(r.createElement)(S,null)},l),Object(r.createElement)(n.PluginSidebar,{name:"seo-sidebar",title:l},Object(r.createElement)(te,{store:e,theme:p})),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(Z,{store:e,theme:p}),Object(r.createElement)(J.a,{target:"wpseo-metabox-root",store:e,theme:p})),h&&Object(r.createElement)(n.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(c.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(r.createElement)(r.Fragment,null)},Object(r.createElement)(je,null)),a&&b&&Object(r.createElement)(n.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:Object(r.createElement)(r.Fragment,null)},Object(r.createElement)(u.Slot,{name:"YoastZapierPrePublish"})),Object(r.createElement)(n.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(c.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(r.createElement)(r.Fragment,null)},Object(r.createElement)(Se,null),g&&Object(r.createElement)(Ae,null)),h&&Object(r.createElement)(n.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:Object(c.__)("Yoast SEO","wordpress-seo"),icon:Object(r.createElement)(r.Fragment,null)},Object(r.createElement)(Ee,null))),icon:Object(r.createElement)(S,null)})})(e),"function"==typeof Object(d.get)(window,"wp.blockEditor.__experimentalLinkControl")?[ce].forEach(e=>{let{name:t,replaces:a,...r}=e;a&&Object(i.dispatch)("core/rich-text").removeFormatTypes(a),t&&Object(l.registerFormatType)(t,r)}):console.warn(Object(c.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+Object(c.sprintf)(Object(c.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){Object(Q.b)()&&e.dispatch(p.actions.setMarkerStatus("enabled"))}(e),Object(Le.b)()&&function(){const{createSuccessNotice:e,createErrorNotice:t}=Object(i.dispatch)("core/notices");Object(h.a)(),Object(m.a)(f,e,t)}()},window.yoast.EditorData=Ie.a}]);
1
+ !function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=264)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.helpers},,function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(4);function n(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return s}));var r=a(0);function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,a){var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var s=typeof r;if("string"===s||"number"===s)e.push(r);else if(Array.isArray(r)&&r.length){var o=n.apply(null,r);o&&e.push(o)}else if("object"===s)for(var i in r)a.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},function(e,t,a){"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},n=i(a(3)),s=i(a(107)),o=i(a(110));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,a=e.components,i=e.throwErrors;if(c=t,!a)return t;if("object"!==(void 0===a?"undefined":r(a))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,a){var o,i,l,d,u,p,m,h,b=[],g={};for(p=0;p<t.length;p++)if("string"!==(u=t[p]).type){if(!a.hasOwnProperty(u.value)||void 0===a[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==r(a[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+c);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){o=a[u.value],l=p;break}b.push(a[u.value])}else b.push(u.value);return o&&(d=function(e,t){var a,r,n=t[e],s=0;for(r=e+1;r<t.length;r++)if((a=t[r]).value===n.value){if("componentOpen"===a.type){s++;continue}if("componentClose"===a.type){if(0===s)return r;s--}}throw new Error("Missing closing component token `"+n.value+"`")}(l,t),m=e(t.slice(l+1,d),a),i=n.default.cloneElement(o,{},m),b.push(i),d<t.length-1&&(h=e(t.slice(d+1),a),b=b.concat(h))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,s.default)(g))}(l,a)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,,function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n);const o=e=>{let{children:t}=e;return Object(r.createElement)("div",null,t)};o.propTypes={renderPriority:s.a.number.isRequired,children:s.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o}));var r=a(26),n=a.n(r);async function s(e,t,a){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const n=await e();return!!n&&(n.status===r?t(n):a(n))}catch(e){console.error(e.message)}}async function o(e){try{return await n()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const{get:r}=lodash,n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var r=a(11),n=a.n(r),s=a(0),o=a(1),i=a.n(o),c=a(13);const l="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:a,showYoastIcon:r,additionalClassName:o,...i}=e,l=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(c.Modal,n()({title:t,className:`${a} ${o}`,icon:l},i),e.children)};d.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},d.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return l}));var r=a(4),n=a(17);const s=e=>Object(r.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),o=()=>{const e=Object(n.a)();return 1===Object(r.get)(e,"wordproofIntegrationActive",0)},i=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},c=()=>{i("wordproof:open_authentication")},l=()=>{i("wordproof:open_settings")}},function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(0),n=a(1),s=a.n(n);function o(e){let{target:t,children:a}=e,n=t;return"string"==typeof t&&(n=document.getElementById(t)),n?Object(r.createPortal)(a,n):null}o.propTypes={target:s.a.oneOfType([s.a.string,s.a.object]).isRequired,children:s.a.node.isRequired}},,,function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var r=a(26),n=a.n(r),s=a(47);async function o(e,t,a){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const n=await e();return!!n&&(n.status===r?t(n):a(n))}catch(e){}}async function i(e){try{return await n()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await o(async()=>await Object(s.a)(),e=>e,()=>!1)},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return c})),a.d(t,"e",(function(){return l}));var r=a(4),n=a(27);async function s(){return await Object(n.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:a}=e;return await Object(n.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:a}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;return await Object(n.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:a})}async function c(e){return Object(r.isArray)(e)||(e=[e]),await Object(n.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(n.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},function(e,t,a){"use strict";a.d(t,"a",(function(){return ue})),a.d(t,"b",(function(){return pe})),a.d(t,"c",(function(){return me})),a.d(t,"d",(function(){return he}));var r=a(4),n=a(9),s=a(0),o=a(3),i=a.n(o),c=a(1),l=a.n(c),d=a(8),u=a.n(d);const p=u.a.p`
2
  color: #606770;
3
  flex-shrink: 0;
4
  font-size: 12px;
20
  transform: translate(-50%, -50%);
21
  max-width: none;
22
  }
23
+ `,O=u.a.img`
24
  &&{
25
  height: 100%;
26
  position: absolute;
27
  width: 100%;
28
  object-fit: cover;
29
  }
30
+ `,y=u.a.div`
31
  padding-bottom: ${e=>e.aspectRatio}%;
32
+ `,w=e=>{const{imageProps:t,width:a,height:r,imageMode:n}=e;return"landscape"===n?Object(s.createElement)(y,{aspectRatio:t.aspectRatio},Object(s.createElement)(O,{src:t.src,alt:t.alt})):Object(s.createElement)(f,{src:t.src,alt:t.alt,width:a,height:r,imageProperties:t})};w.propTypes={imageProps:l.a.shape({src:l.a.string.isRequired,alt:l.a.string.isRequired,aspectRatio:l.a.number.isRequired}).isRequired,width:l.a.number.isRequired,height:l.a.number.isRequired,imageMode:l.a.string},w.defaultProps={imageMode:"landscape"};const j={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},E={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function v(e){const{largeThreshold:t}=E;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function k(e){return"Twitter"===e?j:E}function _(e){return new Promise((t,a)=>{const r=new Image;r.onload=()=>{t({width:r.width,height:r.height})},r.onerror=a,r.src=e})}function T(e,t,a){return"landscape"===a?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===a?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function x(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function R(e,t,a){return"square"===a&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:x(t,T(e,t,a))}async function S(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=await _(e);let n=a?"landscape":"square";"Facebook"===t&&(n=v(r));const s=k(t),o=R(s,r,n);return{mode:n,height:o.height,width:o.width}}async function C(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await S(e,t,a),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}const P=u.a.div`
33
  position: relative;
34
  ${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
35
  overflow: hidden;
36
  background-color: ${g.colors.$color_white};
37
+ `,L=u.a.div`
38
  box-sizing: border-box;
39
  max-width: ${E.landscapeWidth}px;
40
  height: ${E.landscapeHeight}px;
51
  text-decoration: underline;
52
  font-size: 14px;
53
  cursor: pointer;
54
+ `;class A extends o.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await C(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:E.squareHeight+"px",width:E.squareWidth+"px"};case"portrait":return{height:E.portraitHeight+"px",width:E.portraitWidth+"px"};case"landscape":return{height:E.landscapeHeight+"px",width:E.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return Object(s.createElement)(L,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(b.__)("Select image","wordpress-seo"));const a=this.retrieveContainerDimensions(e.mode);return Object(s.createElement)(P,{mode:e.mode,dimensions:a,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},Object(s.createElement)(w,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:E.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}A.propTypes={src:l.a.string,alt:l.a.string,onImageLoaded:l.a.func,onImageClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func},A.defaultProps={src:"",alt:"",onImageLoaded:r.noop,onImageClick:r.noop,onMouseEnter:r.noop,onMouseLeave:r.noop};var I=A,F=u.a.span`
55
  line-height: ${20}px;
56
  min-height : ${20}px;
57
  color: #1d2129;
208
  `,re=u()(te)`
209
  flex-direction: row;
210
  height: 125px;
211
+ `;class ne extends o.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:a,alt:r,title:n,description:o,siteUrl:i}=this.props,c=e?ae:re;return Object(s.createElement)(c,{id:"twitterPreview"},Object(s.createElement)(G,{src:t||a,alt:r,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(s.createElement)(Q,null,Object(s.createElement)(H,{siteUrl:i}),Object(s.createElement)(X,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},n),Object(s.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}ne.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,isLarge:l.a.bool,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},ne.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var se=ne,oe=a(7),ie=a(65),ce=a(28);class le extends o.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Facebook"===e.socialMediumName?U:se,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:r,socialMediumName:n,imageWarnings:o,siteUrl:c,description:l,descriptionInputPlaceholder:d,descriptionPreviewFallback:u,imageUrl:p,imageFallbackUrl:m,alt:h,title:b,titleInputPlaceholder:g,titlePreviewFallback:f,replacementVariables:O,recommendedReplacementVariables:y,applyReplacementVariables:w,onReplacementVariableSearchChange:j,isPremium:E,isLarge:v,socialPreviewLabel:k,idSuffix:_,activeMetaTabId:T}=this.props,x=w({title:b||f,description:l||u});return Object(s.createElement)(i.a.Fragment,null,k&&Object(s.createElement)(oe.SimulatedLabel,null,k),Object(s.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:a,siteUrl:c,title:x.title,description:x.description,imageUrl:p,imageFallbackUrl:m,alt:h,isLarge:v,activeMetaTabId:T}),Object(s.createElement)(ie.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:n,title:b,titleInputPlaceholder:g,onRemoveImageClick:r,imageSelected:!!p,imageUrl:p,onTitleChange:t,onSelectImageClick:a,description:l,descriptionInputPlaceholder:d,imageWarnings:o,replacementVariables:O,recommendedReplacementVariables:y,onReplacementVariableSearchChange:j,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:E,setEditorRef:this.setEditorRef,idSuffix:_}))}}le.propTypes={title:l.a.string.isRequired,onTitleChange:l.a.func.isRequired,description:l.a.string.isRequired,onDescriptionChange:l.a.func.isRequired,imageUrl:l.a.string.isRequired,imageFallbackUrl:l.a.string.isRequired,onSelectImageClick:l.a.func.isRequired,onRemoveImageClick:l.a.func.isRequired,socialMediumName:l.a.string.isRequired,alt:l.a.string,isPremium:l.a.bool,imageWarnings:l.a.array,isLarge:l.a.bool,siteUrl:l.a.string,descriptionInputPlaceholder:l.a.string,titleInputPlaceholder:l.a.string,descriptionPreviewFallback:l.a.string,titlePreviewFallback:l.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,applyReplacementVariables:l.a.func,onReplacementVariableSearchChange:l.a.func,socialPreviewLabel:l.a.string,idSuffix:l.a.string,activeMetaTabId:l.a.string},le.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const de=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function ue(e){return new Promise((t,a)=>{window.wp.media.attachment||a(),window.wp.media.attachment(e).fetch().then(e=>{t(de(e))}).catch(()=>a())})}function pe(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const a=t.state().get("selection").first();e(de(a.attributes))}),t})(e).open()}const me=e=>{const{width:t,height:a}=e,r=v({width:t,height:a}),s=E[r+"Width"],o=E[r+"Height"],i=Object.values(e.sizes).find(e=>e.width>=s&&e.height>=o);return{url:i?i.url:e.url,id:e.id,warnings:Object(n.validateFacebookImage)(e),alt:e.alt||""}},he=e=>{const t="summary"!==Object(r.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",a=j[t+"Width"],s=j[t+"Height"],o=Object.values(e.sizes).find(e=>e.width>=a&&e.height>=s);return{url:o?o.url:e.url,id:e.id,warnings:Object(n.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t){e.exports=window.wp.url},function(e,t,a){"use strict";a.d(t,"g",(function(){return n})),a.d(t,"h",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"c",(function(){return l})),a.d(t,"f",(function(){return d})),a.d(t,"e",(function(){return u})),a.d(t,"j",(function(){return p})),a.d(t,"d",(function(){return m})),a.d(t,"o",(function(){return h})),a.d(t,"p",(function(){return b})),a.d(t,"k",(function(){return g})),a.d(t,"q",(function(){return f})),a.d(t,"r",(function(){return O})),a.d(t,"n",(function(){return y})),a.d(t,"m",(function(){return w})),a.d(t,"l",(function(){return j}));var r=a(9);const n="SNIPPET_EDITOR_SWITCH_MODE",s="SNIPPET_EDITOR_UPDATE_DATA",o="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",i="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",c="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",d="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u="SNIPPET_EDITOR_REFRESH",p="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",m="LOAD_SNIPPET_EDITOR_DATA";function h(e){return{type:n,mode:e}}function b(e){return{type:s,data:e}}function*g(e,t){const a=yield{type:o,query:e,postId:t};return{type:i,results:a}}function f(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const s="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:c,name:e,value:s,label:a,hidden:n}}function O(e){return{type:p,wordsToHighlight:e}}function y(e){return{type:d,name:e}}function w(){return{type:u,time:(new Date).getMilliseconds()}}function j(e){return{type:l,data:e}}},function(e,t,a){"use strict";var r=a(11),n=a.n(r),s=a(0),o=a(7),i=a(8);const c=a.n(i)()(o.Collapsible)`
212
  h2 > button {
213
  padding-left: 24px;
214
  padding-top: 16px;
224
  border-top: 1px solid rgba(0,0,0,0.2);
225
  }
226
 
227
+ `;t.a=e=>Object(s.createElement)(c,n()({hasPadding:!0,hasSeparator:!0},e))},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(2),n=a(12),s=a(4);function o(e){return Object(s.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:""}}}(n.interpreters.scoreToRating(e))}},function(e,t,a){"use strict";a.d(t,"e",(function(){return n})),a.d(t,"f",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"d",(function(){return i})),a.d(t,"b",(function(){return c})),a.d(t,"g",(function(){return l})),a.d(t,"c",(function(){return d}));var r=a(38);const n=async e=>{const{state:t,code:a}=e;return await Object(r.a)({path:"wordproof/v1/oauth/authenticate",method:"POST",data:{state:t,code:a}})},s=async e=>{const{settings:t}=e;return await Object(r.a)({path:"wordproof/v1/settings",method:"POST",data:{settings:t}})},o=async()=>await Object(r.a)({path:"wordproof/v1/oauth/destroy",method:"POST"}),i=async()=>await Object(r.a)({path:"wordproof/v1/settings",method:"GET"}),c=async()=>await Object(r.a)({path:"wordproof/v1/authentication",method:"GET"}),l=async e=>Object(r.a)({path:`wordproof/v1/posts/${e}/timestamp`,method:"POST"}),d=async e=>Object(r.a)({path:`wordproof/v1/posts/${e}/timestamp/transaction/latest`,method:"GET"})},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(14),n=a(0),s=a(20);function o(){return Object(r.createHigherOrderComponent)((function(e){return Object(r.pure)((function(t){const a=Object(n.useContext)(s.LocationContext);return Object(n.createElement)(e,{...t,location:a})}))}),"withLocation")}},,,,function(e,t,a){"use strict";a.d(t,"b",(function(){return c}));var r=a(11),n=a.n(r),s=a(0),o=a(1),i=a.n(o);const c=i.a.shape({value:i.a.string.isRequired,onChange:i.a.func.isRequired});t.a=e=>t=>{class a extends s.Component{constructor(t){super(t),this.elements={};const a={};this.fields=e(t),this.fields.forEach(e=>{const{name:t,fieldId:r}=e,n=document.getElementById(r);n&&(this.elements[t]=n,a[t]={value:n.value,onChange:this.onChange.bind(this,t)})}),this.state=a}static get propTypes(){return{children:i.a.node}}onChange(e,t){this.setState({...this.state,[e]:{...this.state[e],value:t}},()=>{this.elements[e]&&(this.elements[e].value=t)})}render(){const{children:e,...a}=this.props;return Object(s.createElement)(t,n()({},a,this.state),e)}}return a}},function(e,t,a){"use strict";a.r(t),a.d(t,"getIconForScore",(function(){return i})),a.d(t,"default",(function(){return c}));var r=a(15),n=a(12);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=e.getIdentifier(),r={score:e.score,rating:n.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:a,text:e.text,markerId:t.length>0?`${t}:${a}`:a,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),editFieldName:e.editFieldName};return"ok"===r.rating&&(r.rating="OK"),r}function o(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){switch(e){case"loading":return{icon:"loading-spinner",color:r.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:r.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:r.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:r.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:r.colors.$color_ok};case"bad":return{icon:"seo-score-bad",color:r.colors.$color_red};default:return{icon:"seo-score-none",color:r.colors.$color_red}}}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return a;for(let r=0;r<e.length;r++){const n=e[r];n.text&&(a=o(s(n,t),a))}return a}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var r=a(4),n=a(17);function s(){const e=Object(n.a)();return Object(r.get)(e,"contentLocale","en_US")}},function(e,t,a){"use strict";var r=a(0),n=a(7),s=a(1),o=a.n(s);const i=e=>{const[t,a]=Object(r.useState)(!1),{prefixIcon:s}=e;return Object(r.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)("button",{onClick:function(){a(!t)},className:"components-button components-panel__body-toggle"},Object(r.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(s&&s.color||"")}},s&&Object(r.createElement)(n.SvgIcon,{icon:s.icon,color:s.color,size:s.size})),Object(r.createElement)("span",{className:"yoast-title-container"},Object(r.createElement)("div",{className:"yoast-title"},e.title),Object(r.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&Object(r.createElement)(n.BetaBadge,null),Object(r.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:o.a.string.isRequired,children:o.a.oneOfType([o.a.node,o.a.arrayOf(o.a.node)]).isRequired,prefixIcon:o.a.object,subTitle:o.a.string,hasBetaBadgeLabel:o.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t,a){"use strict";var r=a(15),n=a(9),s=a(8),o=a.n(s);const i=Object(n.makeOutboundLink)(o.a.a`
228
  display: inline-block;
229
  position: relative;
230
  outline: none;
254
  padding: 2px;
255
  content: "\f223";
256
  }
257
+ `);t.a=i},function(e,t,a){"use strict";a.r(t),a.d(t,"nonReplaceVars",(function(){return l})),a.d(t,"fillReplacementVariables",(function(){return d})),a.d(t,"handlePrefixes",(function(){return u})),a.d(t,"createLabelFromName",(function(){return p})),a.d(t,"pushNewReplaceVar",(function(){return m})),a.d(t,"replaceSpaces",(function(){return h})),a.d(t,"prepareCustomFieldForDispatch",(function(){return b})),a.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),a.d(t,"mapCustomTaxonomies",(function(){return f})),a.d(t,"mapCustomFields",(function(){return O})),a.d(t,"excerptFromContent",(function(){return y})),a.d(t,"applyReplaceUsingPlugin",(function(){return w}));var r=a(4),n=a(124),s=a(42),o=a(19),i=a(9);const{stripHTMLTags:c}=i.strings,l=["slug","content","contentImage","snippetPreviewImageURL"];function d(e,t){Object(r.forEach)(e,(e,a)=>{l.includes(a)||t.dispatch(Object(s.q)(a,e))})}function u(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");const 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 p(e){return e=u(e),Object(o.b)(e)}function m(e,t){return e.push({name:t.name,label:t.label||p(t.name),value:t.value}),e}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function b(e){return{name:"cf_"+h(e),label:Object(o.b)(e+" (custom field)")}}function g(e){const t=h(e);return{name:"ct_"+t,label:Object(o.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(o.b)(e+" description (custom taxonomy)")}}function f(e,t){return e.custom_taxonomies?(Object(r.forEach)(e.custom_taxonomies,(e,a)=>{const{name:r,label:n,descriptionName:o,descriptionLabel:i}=g(a);t.dispatch(Object(s.q)(r,e.name,n)),t.dispatch(Object(s.q)(o,e.description,i))}),Object(r.omit)({...e},"custom_taxonomies")):e}function O(e,t){return e.custom_fields?(Object(r.forEach)(e.custom_fields,(e,a)=>{const{name:r,label:n}=b(a);t.dispatch(Object(s.q)(r,e,n))}),Object(r.omit)({...e},"custom_fields")):e}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(n.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const w=function(e){const t=Object(r.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(r.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=Object(r.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],r.identity);return{url:e.url,title:c(t(e.title)),description:c(t(e.description))}}(e);const a=t._applyModifications.bind(t);return{url:e.url,title:c(a("data_page_title",e.title)),description:c(a("data_meta_desc",e.description))}}},function(e,t){e.exports=window.yoast.externals.components},function(e,t){e.exports=window.wp.richText},,function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var r=a(8),n=a.n(r),s=a(7),o=a(9);const i=n.a.div`
258
  min-width: 600px;
259
 
260
  @media screen and ( max-width: 680px ) {
274
  height: 80px;
275
  }
276
  }
277
+ `},function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(8),i=a(20);const c=e=>{let{theme:t,location:a,children:n}=e;return Object(r.createElement)(i.LocationProvider,{value:a},Object(r.createElement)(o.ThemeProvider,{theme:t},n))};c.propTypes={theme:s.a.object.isRequired,location:s.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:s.a.element.isRequired},t.a=c},function(e,t,a){"use strict";var r=a(0),n=a(7),s=a(1),o=a.n(s);const i=e=>Object(r.createElement)("div",{className:"yoast components-panel__body"},Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(r.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(r.createElement)(n.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(r.createElement)("span",{className:"yoast-title-container"},Object(r.createElement)("div",{className:"yoast-title"},e.title),Object(r.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&Object(r.createElement)(n.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))));t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,prefixIcon:o.a.object,children:o.a.node},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:"",children:null}},function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(2);const i=e=>{let{data:t,mapChartDataToTableData:a,dataTableCaption:n,dataTableHeaderLabels:s,isDataTableVisuallyHidden:i}=e;return t.length!==s.length?Object(r.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(r.createElement)("div",{className:i?"screen-reader-text":null},Object(r.createElement)("table",null,Object(r.createElement)("caption",null,n),Object(r.createElement)("thead",null,Object(r.createElement)("tr",null,s.map((e,t)=>Object(r.createElement)("th",{key:t},e)))),Object(r.createElement)("tbody",null,Object(r.createElement)("tr",null,t.map((e,t)=>Object(r.createElement)("td",{key:t},a(e.y)))))))};i.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:a,height:n,fillColor:s,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}=e;const h=Math.max(1,Math.max(...t.map(e=>e.x))),b=Math.max(1,Math.max(...t.map(e=>e.y))),g=n-i,f=t.map(e=>`${e.x/h*a},${g-e.y/b*g+i}`).join(" "),O=`0,${g+i} `+f+` ${a},${g+i}`;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("svg",{width:a,height:n,viewBox:`0 0 ${a} ${n}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("polygon",{fill:s,points:O}),Object(r.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),d&&Object(r.createElement)(c,{data:t,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}))};l.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},,,,,,,function(e,t,a){"use strict";function r(e){return function(){return e}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(94);t.a=Object(r.compose)([Object(n.withSelect)((e,t)=>{const{getPostOrPageString:a,getIsModalOpen:r}=e("yoast-seo/editor");return{postTypeName:a(),isOpen:r(t.id)}}),Object(n.withDispatch)((e,t)=>{const{openEditorModal:a,closeEditorModal:r}=e("yoast-seo/editor");return{open:()=>a(t.id),close:r}})])(s.a)},,function(e,t,a){"use strict";var r=a(0),n=a(22),s=a.n(n),o=a(1),i=a.n(o),c=a(8),l=a.n(c),d=a(9);const u=l.a.ul`
278
  list-style: none;
279
  margin: 0 0 24px;
280
  padding: 0;
296
  `,p=l.a.small`
297
  display: block;
298
  margin-top: 4px;
299
+ `,m=Object(d.makeOutboundLink)();class h extends r.Component{constructor(e){super(e)}createBenefitsList(e){return e.length>0&&Object(r.createElement)(u,{role:"list"},e.map((e,t)=>Object(r.createElement)("li",{key:t},Object(r.createElement)("span",{"aria-hidden":"true"}),s()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(r.createElement)("strong",null)}}))))}createInfoParagraphs(e){return e.map((e,t)=>Object(r.createElement)("p",{key:t},e))}render(){return Object(r.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(r.createElement)(m,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(r.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(r.createElement)(p,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}h.propTypes={benefits:i.a.array,infoParagraphs:i.a.array,upsellButton:i.a.object,upsellButtonText:i.a.string.isRequired,upsellButtonLabel:i.a.string,upsellButtonHasCaret:i.a.bool},h.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.a=h},function(e,t){e.exports=window.moment},,,,,,function(e,t,a){"use strict";var r=a(0);let n,s,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,a,r,n){return{element:e,tokenStart:t,tokenLength:a,prevOffset:r,leadingTextStart:n,children:[]}}function d(){const e=n.length-s;0!==e&&o.push(n.substr(s,e))}function u(e){const{element:t,tokenStart:a,tokenLength:s,prevOffset:o,children:c}=e,l=i[i.length-1],d=n.substr(l.prevOffset,a-l.prevOffset);d&&l.children.push(d),l.children.push(Object(r.cloneElement)(t,null,...c)),l.prevOffset=o||a+s}function p(e){const t=function(){const e=c.exec(n);if(null===e)return["no-more-tokens"];const t=e.index,[a,r,s,o]=e,i=a.length;return o?["self-closed",s,t,i]:r?["closer",s,t,i]:["opener",s,t,i]}(),[a,p,m,h]=t,b=i.length,g=m>s?s:null;if(!e[p])return d(),!1;switch(a){case"no-more-tokens":if(0!==b){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(n.substr(e,t))}return d(),!1;case"self-closed":return 0===b?(null!==g&&o.push(n.substr(g,m-g)),o.push(e[p]),s=m+h,!0):(u(l(e[p],m,h)),s=m+h,!0);case"opener":return i.push(l(e[p],m,h,m+h,g)),s=m+h,!0;case"closer":if(1===b)return function(e){const{element:t,leadingTextStart:a,prevOffset:s,tokenStart:c,children:l}=i.pop(),d=e?n.substr(s,e-s):n.substr(s);d&&l.push(d),null!==a&&o.push(n.substr(a,c-a)),o.push(Object(r.cloneElement)(t,null,...l))}(m),s=m+h,!0;const t=i.pop(),a=n.substr(t.prevOffset,m-t.prevOffset);t.children.push(a),t.prevOffset=m+h;const c=l(t.element,t.tokenStart,t.tokenLength,m+h);return c.children=t.children,u(c),s=m+h,!0;default:return d(),!1}}t.a=(e,t)=>{if(n=e,s=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,a=t&&Object.values(e);return t&&a.length&&a.every(e=>Object(r.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(r.createElement)(r.Fragment,null,...o)}},,,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,a){"use strict";a.d(t,"b",(function(){return p}));var r=a(0),n=a(2),s=a(9),o=a(7),i=a(1),c=a.n(i),l=a(55);const d=Object(s.makeOutboundLink)();class u extends r.Component{constructor(e){var t,a,r,n;super(e),this.initialPageType=e.pageType.value,this.initialArticleType=e.articleType?e.articleType.value:"None",this.state={schema_page_type:this.initialPageType,schema_article_type:this.initialArticleType},this.handleOptionFocus=this.handleOptionFocus.bind(this),this.showNewsSEOUpsell=null===(t=window.wpseoScriptData)||void 0===t||null===(a=t.searchAppearance)||void 0===a?void 0:a.showNewsSEOUpsell,this.newsSEOUpsellURL=null===(r=window.wpseoScriptData)||void 0===r||null===(n=r.searchAppearance)||void 0===n?void 0:n.newsSEOUpsellURL,void 0===this.showNewsSEOUpsell&&(this.showNewsSEOUpsell=!1),void 0===this.newsSEOUpsellURL&&(this.newsSEOUpsellURL="")}shouldShowAlert(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}isNewsArticleSelected(){return"NewsArticle"===this.state.schema_article_type}handleOptionFocus(e,t){this.setState({[e]:t})}render(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(o.FieldGroup,{label:Object(n.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(n.__)("Learn more about the schema settings","wordpress-seo"),description:Object(n.sprintf)(
300
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
301
  Object(n.__)("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(r.createElement)(o.Alert,{type:"warning"},Object(n.sprintf)(
302
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
304
  /* translators: %s Expands to "Yoast SEO News" */
305
  Object(n.__)("Are you publishing news articles? %s helps you optimize your site for Google News. Get %s now!","wordpress-seo"),"Yoast SEO News","Yoast SEO News")+" ",Object(r.createElement)(d,{href:this.newsSEOUpsellURL},Object(n.sprintf)(
306
  /* translators: %s: Expands to "Yoast News SEO". */
307
+ Object(n.__)("Get the %s plugin!","wordpress-seo"),"Yoast News SEO"))))}}const p=c.a.arrayOf(c.a.shape({name:c.a.string,value:c.a.string}));u.propTypes={postType:c.a.string.isRequired,postTypeName:c.a.string.isRequired,pageType:l.b.isRequired,articleType:l.b,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},u.defaultProps={articleType:null},t.a=Object(l.a)(e=>[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}])(u)},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));class r{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return r.articleTypeInput.getAttribute("data-default")}static get articleType(){return r.articleTypeInput.value}static set articleType(e){r.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return r.pageTypeInput.getAttribute("data-default")}static get pageType(){return r.pageTypeInput.value}static set pageType(e){r.pageTypeInput.value=e}}},,,function(e,t,a){"use strict";a.d(t,"b",(function(){return u}));var r=a(0),n=a(2),s=a(33),o=a(1),i=a.n(o),c=a(4),l=a(68),d=a(20);const u=e=>{let t=!0;if("blur"===e.type){const{relatedTarget:a}=e;if(a){const e=["media-modal","wp-core-ui"];t=Object(c.intersection)(e,Array.from(a.classList)).length!==e.length}}return t},p=e=>{let{id:t,postTypeName:a,children:o,title:i,isOpen:c,close:p,open:m,shouldCloseOnClickOutside:h,showChangesWarning:b}=e;const g=Object(r.useCallback)(e=>{u(e)&&p()},[p]);return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(d.LocationProvider,{value:"modal"},Object(r.createElement)(s.a,{title:i,onRequestClose:g,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:h},Object(r.createElement)("div",{className:"yoast-content-container"},Object(r.createElement)("div",{className:"yoast-modal-content"},o)),Object(r.createElement)("div",{className:"yoast-notice-container"},Object(r.createElement)("hr",null),Object(r.createElement)("div",{className:"yoast-button-container"},b&&Object(r.createElement)("p",null,
308
  /* Translators: %s translates to the Post Label in singular form */
309
  Object(n.sprintf)(Object(n.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),a)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:g},
310
  /* Translators: %s translates to the Post Label in singular form */
311
+ Object(n.sprintf)(Object(n.__)("Return to your %s","wordpress-seo"),a)))))),Object(r.createElement)(l.a,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};p.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired,shouldCloseOnClickOutside:i.a.bool,showChangesWarning:i.a.bool},p.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0},t.a=p},,function(e,t,a){"use strict";a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return f})),a.d(t,"b",(function(){return O}));var r=a(0),n=a(1),s=a.n(n),o=a(2),i=a(4),c=a(80),l=a.n(c),d=a(7),u=a(9),p=a(69),m=()=>Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(d.SvgIcon,{icon:"loading-spinner"}));const h=Object(u.makeOutboundLink)();function b(e){return Math.round(100*e)}function g(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const a=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),n=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(r.createElement)(p.a,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:a})}function f(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function O(e){const{keyphrase:t,rowData:a,onTrackKeyphrase:n,onUntrackKeyphrase:s,isFocusKeyphrase:c,isDisabled:u,isLoading:p}=e,b=!Object(i.isEmpty)(a),O=Object(r.useCallback)(()=>{u||(b?s(t,a.id):n(t))},[t,n,s,b,a,u]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:a,toggleAction:n,isLoading:s}=e;return s?Object(r.createElement)(d.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(d.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:a,onSetToggleState:n,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:O,isLoading:p})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:a}=e,n=!Object(i.isEmpty)(t),s=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",a,t.id):null;return n?s?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,f(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(g,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(h,{href:c},Object(o.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(m,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:s.a.object},g.defaultProps={chartData:{}},O.propTypes={rowData:s.a.object,keyphrase:s.a.string.isRequired,onTrackKeyphrase:s.a.func,onUntrackKeyphrase:s.a.func,isFocusKeyphrase:s.a.bool,isDisabled:s.a.bool,isLoading:s.a.bool,websiteId:s.a.string},O.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},function(e,t){e.exports=window.wp.blocks},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var r,n,s=a(3);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function i(e){return s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=s.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"})),n||(n=s.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,a){"use strict";a.d(t,"a",(function(){return r}));class r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},a),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:a}=this.options,r=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,a,r.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:a,origin:r}=e;r===this.origin&&this.popup===a&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(2),i=a(22),c=a.n(i),l=a(7);const d=e=>{const t=Object(o.sprintf)(
312
  /* translators: %s expands to a link to open the Wincher login popup. */
313
  Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(r.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(r.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
314
  /* translators: %s : Expands to "Wincher". */
320
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
321
  Object(d.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),a=Object(d.sprintf)(
322
  /* Translators: %s expands to Yoast SEO Premium */
323
+ Object(d.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m,{type:"info"},l()({mixedString:t,components:{strong:Object(r.createElement)("b",null)}}),Object(r.createElement)("br",null),Object(r.createElement)(h,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(r.createElement)("p",null,a))))};b.propTypes={socialMediumName:s.a.oneOf(["Twitter","Facebook"]).isRequired};var g=b,f=a(65),O=a(28);class y extends r.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:n,socialMediumName:s,imageWarnings:o,description:i,descriptionInputPlaceholder:c,imageUrl:l,alt:d,title:u,titleInputPlaceholder:p,replacementVariables:m,recommendedReplacementVariables:h,onReplacementVariableSearchChange:b,isPremium:O,location:y}=this.props;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(g,{socialMediumName:s}),Object(r.createElement)(f.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:s,title:u,titleInputPlaceholder:p,onRemoveImageClick:n,imageSelected:!!l,imageUrl:l,imageAltText:d,onTitleChange:t,onSelectImageClick:a,description:i,descriptionInputPlaceholder:c,imageWarnings:o,replacementVariables:m,recommendedReplacementVariables:h,onReplacementVariableSearchChange:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:O,setEditorRef:this.setEditorRef,idSuffix:y}))}}y.propTypes={title:s.a.string.isRequired,onTitleChange:s.a.func.isRequired,description:s.a.string.isRequired,onDescriptionChange:s.a.func.isRequired,imageUrl:s.a.string.isRequired,onSelectImageClick:s.a.func.isRequired,onRemoveImageClick:s.a.func.isRequired,socialMediumName:s.a.string.isRequired,isPremium:s.a.bool,imageWarnings:s.a.array,descriptionInputPlaceholder:s.a.string,titleInputPlaceholder:s.a.string,replacementVariables:O.replacementVariablesShape,recommendedReplacementVariables:O.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:s.a.func,location:s.a.string,alt:s.a.string},y.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""},t.a=y},function(e,t,a){"use strict";function r(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}a.d(t,"a",(function(){return r}))},,,function(e,t,a){"use strict";var r=a(3),n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=a(76),o=a(108),i=a(109),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(a=e.key,r={"=":"=0",":":"=2"},"$"+(""+a).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var a,r}var d=/\/+/g;function u(e){return(""+e).replace(d,"$&/")}var p,m,h=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function g(e,t,a,r){this.result=e,this.keyPrefix=t,this.func=a,this.context=r,this.count=0}function f(e,t,a){var n,o,i=e.result,c=e.keyPrefix,l=e.func,d=e.context,p=l.call(d,t,e.count++);Array.isArray(p)?O(p,i,a,s.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(n=p,o=c+(!p.key||t&&t.key===p.key?"":u(p.key)+"/")+a,p=r.cloneElement(n,{key:o},void 0!==n.props?n.props.children:void 0)),i.push(p))}function O(e,t,a,r,s){var i="";null!=a&&(i=u(a)+"/");var d=g.getPooled(t,i,r,s);!function(e,t,a){null==e||function e(t,a,r,s){var i,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),null===t||"string"===d||"number"===d||"object"===d&&t.$$typeof===n)return r(s,t,""===a?"."+l(t,0):a),1;var u=0,p=""===a?".":a+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)u+=e(i=t[m],p+l(i,m),r,s);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var b,g=h.call(t),f=0;!(b=g.next()).done;)u+=e(i=b.value,p+l(i,f++),r,s);else if("object"===d){var O=""+t;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===O?"object with keys {"+Object.keys(t).join(", ")+"}":O,"")}}return u}(e,"",t,a)}(e,f,d),g.release(d)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,a,r){if(this.instancePool.length){var n=this.instancePool.pop();return this.call(n,e,t,a,r),n}return new this(e,t,a,r)},(m=g).instancePool=[],m.getPooled=p||h,m.poolSize||(m.poolSize=10),m.release=function(e){o(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;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var a in e)O(e[a],t,a,s.thatReturnsArgument);return t}},function(e,t,a){"use strict";e.exports=function(e,t,a,r,n,s,o,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=[a,r,n,s,o,i],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,a){"use strict";var r=a(76);e.exports=r},function(e,t,a){"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,a){"use strict";var r=a(0),n=a(2),s=a(22),o=a.n(s),i=a(9);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(n.sprintf)(Object(n.__)(
324
  /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
325
+ "With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(r.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(r.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(r.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(n.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,a){"use strict";var r=a(6),n=a(14),s=a(11),o=a.n(s),i=a(0),c=a(2),l=a(1),d=a.n(l),u=a(4),p=a(8),m=a.n(p),h=a(7),b=a(9),g=a(22),f=a.n(g);const O=Object(b.makeOutboundLink)(),y=e=>{const t=Object(c.sprintf)(
326
  /* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
327
+ Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(h.Alert,{type:"error"},f()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(O,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(c.sprintf)(
328
  /* translators: %s : Expands to "Wincher". */
329
+ Object(c.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};y.propTypes={limit:d.a.number},y.defaultProps={limit:10};var w=y,j=()=>Object(i.createElement)(h.Alert,{type:"error"},Object(c.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),E=()=>Object(i.createElement)(h.Alert,{type:"success"},Object(c.sprintf)(
330
  /* translators: %s: Expands to "Wincher". */
331
  Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),v=()=>Object(i.createElement)(h.Alert,{type:"info"},Object(c.sprintf)(
332
  /* translators: %s: Expands to "Wincher". */
333
+ Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),k=a(96),_=a(39),T=a(27);const x=Object(b.makeOutboundLink)(),R=m.a.span`
334
  display: block;
335
  font-style: italic;
336
 
344
  `,C=m.a.div`
345
  width: 100%;
346
  overflow-y: auto;
347
+ `,P=e=>{const t=Object(i.useRef)();return Object(i.useEffect)(()=>{t.current=e}),t.current},L=Object(u.debounce)(_.c,500,{leading:!0}),A=e=>{const{addTrackedKeyphrase:t,isLoggedIn:a,keyphrases:r,permalink:n,removeTrackedKeyphrase:s,setKeyphraseLimitReached:o,setRequestFailed:l,setRequestSucceeded:d,setTrackedKeyphrases:p,setHasTrackedAll:m,trackAll:h,trackedKeyphrases:b,isNewlyAuthenticated:g,websiteId:f,focusKeyphrase:O,newRequest:y}=e,w=Object(i.useRef)(),j=Object(i.useRef)(),E=Object(i.useRef)(!1),[v,A]=Object(i.useState)([]),I=Object(i.useCallback)(e=>{const t=e.toLowerCase();return b&&!Object(u.isEmpty)(b)&&b.hasOwnProperty(t)?b[t]:null},[b]),F=Object(i.useMemo)(()=>async()=>{await Object(T.b)(()=>(j.current&&j.current.abort(),j.current="undefined"==typeof AbortController?null:new AbortController,L(r,n,j.current.signal)),e=>{d(e),p(e.results)},e=>{l(e)})},[d,l,p,r,n]),q=Object(i.useCallback)(async e=>{const a=(Array.isArray(e)?e:[e]).map(e=>e.toLowerCase());A(e=>[...e,...a]),await Object(T.b)(()=>Object(_.d)(a),e=>{d(e),t(e.results),F()},e=>{400===e.status&&e.limit&&o(e.limit),l(e)},201),A(e=>Object(u.without)(e,...a))},[d,l,o,t,F]),N=Object(i.useCallback)(async(e,t)=>{e=e.toLowerCase(),A(t=>[...t,e]),await Object(T.b)(()=>Object(_.e)(t),t=>{d(t),s(e)},e=>{l(e)}),A(t=>Object(u.without)(t,e))},[d,s,l]),M=Object(i.useCallback)(async e=>{y(),await q(e)},[y,q]),D=P(n),W=P(r);Object(i.useEffect)(()=>{a&&n&&(n!==D||Object(u.difference)(r,W).length)&&F()},[a,n,D,r,W,F]),Object(i.useEffect)(()=>{if(a&&h&&null!==b){const e=r.filter(e=>!I(e));e.length&&q(e),m()}},[a,h,b,q,m,I,r]),Object(i.useEffect)(()=>{g&&!E.current&&(F(),E.current=!0)},[g,F]),Object(i.useEffect)(()=>{if(a&&!Object(u.isEmpty)(b))return Object(u.filter)(b,e=>Object(u.isEmpty)(e.updated_at)).length>0&&(w.current=setInterval(()=>{F()},1e4)),()=>{clearInterval(w.current)}},[a,b,F]);const U=a&&null===b;return r&&!Object(u.isEmpty)(r)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(C,null,Object(i.createElement)("table",{className:"yoast yoast-table"},Object(i.createElement)("thead",null,Object(i.createElement)("tr",null,Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Tracking","wordpress-seo")},Object(c.__)("Tracking","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Keyphrase","wordpress-seo")},Object(c.__)("Keyphrase","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position","wordpress-seo")},Object(c.__)("Position","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position over time","wordpress-seo")},Object(c.__)("Position over time","wordpress-seo")),Object(i.createElement)(S,{className:"yoast-table--nobreak"}))),Object(i.createElement)("tbody",null,r.map((e,t)=>Object(i.createElement)(k.b,{key:"trackable-keyphrase-"+t,keyphrase:e,onTrackKeyphrase:M,onUntrackKeyphrase:N,rowData:I(e),isFocusKeyphrase:e===O.trim().toLowerCase(),websiteId:f,isDisabled:!a,isLoading:U||v.indexOf(e.toLowerCase())>=0}))))),Object(i.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(i.createElement)(x,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(c.sprintf)(
348
  /* translators: %s expands to Wincher */
349
+ Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(R,null,Object(c.__)("* focus keyphrase","wordpress-seo"))))};A.propTypes={addTrackedKeyphrase:d.a.func.isRequired,isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,newRequest:d.a.func.isRequired,removeTrackedKeyphrase:d.a.func.isRequired,setRequestFailed:d.a.func.isRequired,setKeyphraseLimitReached:d.a.func.isRequired,setRequestSucceeded:d.a.func.isRequired,setTrackedKeyphrases:d.a.func.isRequired,setHasTrackedAll:d.a.func.isRequired,trackAll:d.a.bool,trackedKeyphrases:d.a.object,websiteId:d.a.string,permalink:d.a.string.isRequired,focusKeyphrase:d.a.string},A.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var I=A,F=Object(n.compose)([Object(r.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:a,getWincherTrackableKeyphrases:r,getWincherLoginStatus:n,getWincherPermalink:s,getFocusKeyphrase:o,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:r(),trackedKeyphrases:a(),isLoggedIn:n(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:s()}}),Object(r.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:a,setWincherRequestFailed:r,setWincherSetKeyphraseLimitReached:n,setWincherTrackedKeyphrases:s,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},setKeyphraseLimitReached:e=>{n(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{s(e)},setHasTrackedAll:()=>{i(!1)}}})])(I),q=a(111),N=()=>Object(i.createElement)(h.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),M=()=>Object(i.createElement)(h.Alert,{type:"info"},Object(c.sprintf)(
350
  /* translators: %s: Expands to "Wincher". */
351
+ Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),D=a(101),W=a(102),U=()=>Object(i.createElement)(h.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"));const z=e=>{let{response:t,onLogin:a}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(W.a,{onReconnect:a}):Object(i.createElement)(j,null)};z.propTypes={response:d.a.object.isRequired,onLogin:d.a.func.isRequired};const $=e=>{let{isSuccess:t,response:a,allKeyphrasesMissRanking:r,onLogin:n,keyphraseLimitReached:s,limit:o}=e;return s?Object(i.createElement)(w,{limit:o}):Object(u.isEmpty)(a)||t?r?Object(i.createElement)(v,null):null:Object(i.createElement)(z,{response:a,onLogin:n})};$.propTypes={isSuccess:d.a.bool.isRequired,allKeyphrasesMissRanking:d.a.bool.isRequired,response:d.a.object,onLogin:d.a.func.isRequired,keyphraseLimitReached:d.a.bool.isRequired,limit:d.a.number.isRequired},$.defaultProps={response:{}};let H=null;const K=async e=>{if(H&&!H.isClosed())return void H.focus();const{url:t}=await Object(_.b)();H=new D.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:a,setRequestSucceeded:r,setRequestFailed:n}=e;await Object(T.b)(()=>Object(_.a)(t),async e=>{a(!0,!0,t.websiteId.toString()),r(e);const n=H.getPopup();n&&n.close()},async e=>n(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),H.createPopup()},B=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(h.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)(
352
  /* translators: %s expands to Wincher */
353
  Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));B.propTypes={isLoggedIn:d.a.bool.isRequired,onLogin:d.a.func.isRequired};const V=m.a.div`
354
  p {
360
  font-weight: var(--yoast-font-weight-bold);
361
  color: var(--yoast-color-label);
362
  font-size: var(--yoast-font-size-default);
363
+ `,Z=e=>{const{isLoggedIn:t,keyphrases:a,shouldTrackAll:r,permalink:n}=e;return!n&&t?Object(i.createElement)(U,null):0===a.length?Object(i.createElement)(N,null):Object(i.createElement)(Y,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&r&&Object(i.createElement)(M,null),Object(i.createElement)(F,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:a}=e,r=Object(i.useCallback)(()=>{K(e)},[K,e]);return Object(i.createElement)(V,null,t&&Object(i.createElement)(E,null),Object(i.createElement)(G,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(h.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(q.a,null),Object(i.createElement)(B,{isLoggedIn:a,onLogin:r}),Object(i.createElement)($,o()({},e,{onLogin:r})),Object(i.createElement)(Z,e))}Z.propTypes={keyphrases:d.a.array.isRequired,isLoggedIn:d.a.bool.isRequired,shouldTrackAll:d.a.bool.isRequired,permalink:d.a.string.isRequired},J.propTypes={isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,response:d.a.object,shouldTrackAll:d.a.bool,permalink:d.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:a,getWincherLimit:r,getWincherLoginStatus:n,getWincherRequestIsSuccess:s,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:d}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:n(),isNewlyAuthenticated:t(),isSuccess:s(),keyphraseLimitReached:a(),limit:r(),response:o(),shouldTrackAll:d(),permalink:l()}}),Object(r.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:a,setWincherRequestFailed:r,setWincherLoginStatus:n}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},onAuthentication:(e,a,r)=>{t(r),n(e,a)}}})])(J)},function(e,t,a){"use strict";var r=a(4);const n=Object(r.memoize)((e,t)=>0===e?r.noop:Object(r.debounce)(a=>t(a,e),500));t.a=n},,,,,,,function(e,t,a){"use strict";a.d(t,"b",(function(){return p})),a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return f}));var r=a(4),n=(a(182),a(63)),s=a(6);const o="<yoastmark class='yoast-text-mark'>";let i=[];const c={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},l={singleH1:{"core/heading":[{key:"content",filter:e=>1===e.level}]}};function d(){const e=i.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),u())}function u(){Object(r.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(d,{timeout:1e3}):setTimeout(d,150)}function p(){return Object(s.select)("core/block-editor")&&Object(r.isFunction)(Object(s.select)("core/block-editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(r.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function m(e){const t=Object(s.select)("yoast-seo/editor").getActiveMarker(),a=l[t]||c;return a.hasOwnProperty(e)?a[e]:[]}function h(e,t,a){const s=e.key,{attributes:i}=t,c=i[s];if(e.filter&&!e.filter(i))return[];const l=Object(n.create)({html:c,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(r.flatMap)(a,e=>{const a=function(e,t){const a=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),n=function(e,t){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];if(0===e.length)return r;let n,s=0;for(a||(t=t.toLowerCase(),e=e.toLowerCase());(n=e.indexOf(t,s))>-1;)r.push(n),s=n+t.length;return r}(e,a);if(0===n.length)return[];const s=function(e){let t=e.indexOf(o),a=null;const r=[];for(;t>=0;){if(a=(e=e.replace(o,"")).indexOf("</yoastmark>"),a<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:a}),t=e.indexOf(o),a=null}return r}(r),i=[];return s.forEach(e=>{n.forEach(r=>{const n=r+e.startOffset;let s=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(s=r+a.length),i.push({startOffset:n,endOffset:s})})}),i}(l,e);return a?a.map(e=>({...e,block:t.clientId,richTextIdentifier:s})):[]})}function b(e){i=e.map(e=>({blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))}function g(e,t){if(i=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0===t.length)return;const a=Object(s.select)("core/block-editor").getBlocks();b(Object(r.flatMap)(a,e=>Object(r.flatMap)(m(e.name),a=>h(a,e,t)))),u()}function f(){const e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;var a;a=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter(e=>e.blockClientId===a&&"yoast"===e.source).forEach(e=>{Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)});const n=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0===n)return;const o=n.marks;b(Object(r.flatMap)(m(e.name),t=>h(t,e,o))),u()}},,,function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(8),i=a.n(o),c=a(7),l=a(9);const d=i()(c.StyledSection)`
364
  &${c.StyledSectionBase} {
365
  padding: 0;
366
 
385
  /* translators: %s : Expands to "Semrush". */
386
  Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(s.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
387
  /* translators: %s : Expands to "Semrush". */
388
+ Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(s.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),b=a(26),g=a.n(b),f=a(41);const O="yoast-semrush-country-selector",y=[{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"}];class w extends s.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:a}=this.props;a(t,e),this.storeCountryCode(t);const r=await this.doRequest(e,t);200!==r.status?this.handleFailedResponse(r):this.handleSuccessResponse(r)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:a}=this.props;0!==e.results.rows.length?a(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:a}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():a(e))}async doRequest(e,t){return await g()({path:Object(f.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return Object(s.createElement)("div",{id:O},Object(s.createElement)(d.SingleSelect,{id:O+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:y,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(s.createElement)(d.NewButton,{id:O+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}w.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},w.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var j=w,E=a(69),v=a(60);const k=Object(p.makeOutboundLink)();class _ extends s.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map((e,t)=>({x:t,y:parseFloat(e)}))}getAreaChartDataTableHeaderLabels(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:a,data:r,renderAction:n}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(a);return r&&!Object(l.isEmpty)(r.results)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("table",{className:"yoast yoast-table"},Object(s.createElement)("thead",null,Object(s.createElement)("tr",null,Object(s.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(s.createElement)(v.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(s.createElement)(v.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),n&&Object(s.createElement)("td",{className:"yoast-table--nobreak"}))),Object(s.createElement)("tbody",null,r.results.rows.map((e,a)=>{const r=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(s.createElement)("tr",{key:a},Object(s.createElement)("td",null,r),Object(s.createElement)("td",null,e[1]),Object(s.createElement)("td",{className:"yoast-table--nopadding"},Object(s.createElement)(E.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),n&&Object(s.createElement)("td",{className:"yoast-table--nobreak"},n(r,t)))}))),Object(s.createElement)("p",{style:{marginBottom:0}},Object(s.createElement)(k,{href:i},Object(o.sprintf)(
389
  /* translators: %s expands to Semrush */
390
+ Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}_.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},_.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var T=_;const x=Object(p.makeOutboundLink)();var R=()=>Object(s.createElement)(d.Alert,{type:"info"},Object(o.sprintf)(
391
  /* translators: %s: Expands to "Yoast SEO". */
392
+ Object(o.__)("Would you like to be able to add these related keyphrases to the %s analysis so you can optimize your content even further?","wordpress-seo"),"Yoast SEO")+" ",Object(s.createElement)(x,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(o.sprintf)(
393
  /* translators: %s: Expands to "Yoast SEO Premium". */
394
  Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),S=()=>Object(s.createElement)(d.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),C=()=>Object(s.createElement)(d.Alert,{type:"warning"},Object(o.sprintf)(
395
  /* translators: %s: Expands to "Yoast SEO". */
396
+ Object(o.__)("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")),P=a(17);function L(e){const{response:t,lastRequestKeyphrase:a,keyphrase:r,newRequest:n,setCountry:i,renderAction:c,countryCode:d,requestLimitReached:p,setRequestFailed:m,setNoResultsFound:b,relatedKeyphrases:g,setRequestSucceeded:f,setRequestLimitReached:O}=e,y=Object(P.a)().isPremium;return Object(s.createElement)(s.Fragment,null,!p&&Object(s.createElement)(s.Fragment,null,!y&&Object(s.createElement)(R,null),y&&function(e){return e&&e.length>=4}(g)&&Object(s.createElement)(C,null),Object(s.createElement)(j,{countryCode:d,setCountry:i,newRequest:n,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:f,setRequestLimitReached:O,response:t,lastRequestKeyphrase:a})),function(e){const{isPending:t,requestLimitReached:a,isSuccess:r,response:n,requestHasData:i}=e;return t?Object(s.createElement)(u,null):a?Object(s.createElement)(h,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(n)?Object(s.createElement)(S,null):i?void 0:Object(s.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(s.createElement)(T,{keyphrase:r,relatedKeyphrases:g,countryCode:d,renderAction:c,data:t}))}L.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},L.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:a,getSEMrushRequestLimitReached:r,getSEMrushRequestResponse:n,getSEMrushRequestIsSuccess:s,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:a(),requestLimitReached:r(),response:n(),isSuccess:s(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(r.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:a,setSEMrushRequestSucceeded:r,setSEMrushRequestFailed:n,setSEMrushSetRequestLimitReached:s,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{a(e,t)},setRequestSucceeded:e=>{r(e)},setRequestFailed:e=>{n(e)},setRequestLimitReached:()=>{s()},setNoResultsFound:()=>{o()}}})])(L)},,,,function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(62),o=a(51);t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),Object(n.withDispatch)(e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}}),Object(o.a)()])(s.CollapsibleCornerstone)},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(7),i=a(4);t.a=()=>{const e=Object(n.useSelect)(e=>e("yoast-seo/editor").getEstimatedReadingTime(),[]),t=Object(r.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time",""),[]);return Object(r.createElement)(o.InsightsCard,{id:"yoastseo-estimated-reading-time-insights",amount:e,unit:Object(s._n)("minute","minutes",e,"wordpress-seo"),title:Object(s.__)("Reading time","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about reading time","wordpress-seo")})}},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(7),i=a(9),c=a(12),l=a(4);const d=Object(i.makeOutboundLink)();function u(e,t,a){const n=function(e){switch(e){case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("Try to make shorter sentences to improve readability","wordpress-seo");case c.DIFFICULTY.DIFFICULT:case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case c.DIFFICULTY.NO_DATA:return Object(s.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return Object(s.__)("Good job!","wordpress-seo")}}(t);return Object(r.createElement)("span",null,function(e,t){return-1===e?Object(s.sprintf)(Object(s.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):Object(s.sprintf)(
397
  /* Translators: %1$s expands to the numeric Flesch reading ease score,
398
  %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult').
399
  */
400
+ Object(s.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case c.DIFFICULTY.NO_DATA:return Object(s.__)("no data","wordpress-seo");case c.DIFFICULTY.VERY_EASY:return Object(s.__)("very easy","wordpress-seo");case c.DIFFICULTY.EASY:return Object(s.__)("easy","wordpress-seo");case c.DIFFICULTY.FAIRLY_EASY:return Object(s.__)("fairly easy","wordpress-seo");case c.DIFFICULTY.OKAY:return Object(s.__)("okay","wordpress-seo");case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("fairly difficult","wordpress-seo");case c.DIFFICULTY.DIFFICULT:return Object(s.__)("difficult","wordpress-seo");case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=c.DIFFICULTY.FAIRLY_DIFFICULT?Object(r.createElement)(d,{href:a},n+"."):n)}t.a=()=>{let e=Object(n.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseScore(),[]);const t=Object(r.useMemo)(()=>Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease",""),[]),a=Object(n.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty(),[e]),i=Object(r.useMemo)(()=>{const t=Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return u(e,a,t)},[e,a]);return-1===e&&(e="?"),Object(r.createElement)(o.InsightsCard,{id:"yoastseo-flesch-reading-ease-insights",amount:e,unit:Object(s.__)("out of 100","wordpress-seo"),title:Object(s.__)("Flesch reading ease","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})}},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(7),i=a(4);t.a=()=>{const e=Object(n.useSelect)(e=>e("yoast-seo/editor").getTextLength(),[]),t=Object(r.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count",""),[]);let a=Object(s._n)("word","words",e.count,"wordpress-seo"),c=Object(s.__)("Word count","wordpress-seo"),l=Object(s.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(a=Object(s._n)("character","characters",e.count,"wordpress-seo"),c=Object(s.__)("Character count","wordpress-seo"),l=Object(s.__)("Learn more about character count","wordpress-seo")),Object(r.createElement)(o.InsightsCard,{id:"yoastseo-text-length-insights",amount:e.count,unit:a,title:c,linkTo:t,linkText:l})}},function(e,t,a){"use strict";var r=a(0),n=a(20),s=a(15),o=a(2),i=a(43),c=a(126),l=a(59);t.a=()=>Object(r.createElement)(n.LocationConsumer,null,e=>{let t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],a=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],n=i.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],a=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],n=l.a),Object(r.createElement)(n,{prefixIcon:{icon:"plus",color:s.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:s.colors.$color_grey_medium_dark},title:Object(o.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},Object(r.createElement)(c.a,{link:t,buyLink:a}))})},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(4);function n(e){return void 0===e.length?e:Object(r.flatten)(e).sort((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority)}},,,,function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(0),o=a(2),i=a(7),c=a(9),l=a(1),d=a.n(l),u=a(20),p=a(4),m=a(34),h=a(13);const b=e=>{if(!e.isAuthenticated)return null;const t=Object(s.useCallback)(()=>{Object(m.d)()});return Object(s.createElement)(h.Button,{variant:"link",onClick:t},Object(o.__)("Manage WordProof settings","wordpress-seo"))};b.propTypes={isAuthenticated:d.a.bool.isRequired};const g=e=>{const t=Object(s.useCallback)(()=>{Object(m.c)()});return!e.isAuthenticated&&e.toggleIsEnabled?Object(s.createElement)(h.Button,{variant:"link",onClick:t},Object(o.__)("Authenticate with WordProof","wordpress-seo")):null};g.propTypes={isAuthenticated:d.a.bool.isRequired,toggleIsEnabled:d.a.bool.isRequired};class f extends s.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Object(m.c)()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(i.FieldGroup,{linkText:Object(o.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:Object(o.__)("Timestamp with WordProof","wordpress-seo"),hasNewBadge:!0},Object(s.createElement)(i.Toggle,{id:this.props.id,labelText:Object(o.sprintf)(
401
  /* Translators: %s translates to the Post type in singular form */
402
+ Object(o.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),Object(s.createElement)(b,{isAuthenticated:this.props.isAuthenticated}),Object(s.createElement)(g,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&Object(s.createElement)(i.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},Object(o.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}f.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,postTypeName:d.a.string,isAuthenticated:d.a.bool.isRequired},f.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:p.noop};var O=Object(r.compose)([Object(n.withSelect)(e=>({isAuthenticated:e("wordproof").getIsAuthenticated()}))])(f);const y=e=>{let{noIndex:t,onNoIndexChange:a,editorContext:r,isPrivateBlog:n}=e;const l=(e=>{const t=Object(o.__)("No","wordpress-seo"),a=Object(o.__)("Yes","wordpress-seo"),r=e.noIndex?t:a;return window.wpseoScriptData.isPost?[{name:Object(o.sprintf)(
403
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
404
  Object(o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:a,value:"2"}]:[{name:Object(o.sprintf)(
405
  /* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
406
  Object(o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:a,value:"index"},{name:t,value:"noindex"}]})(r);return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(s.Fragment,null,n&&Object(s.createElement)(i.Alert,{type:"warning"},Object(o.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),Object(s.createElement)(i.Select,{label:Object(o.sprintf)(
407
  /* Translators: %s translates to the Post Label in singular form */
408
+ Object(o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:a,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})))};y.propTypes={noIndex:d.a.string.isRequired,onNoIndexChange:d.a.func.isRequired,editorContext:d.a.object.isRequired,isPrivateBlog:d.a.bool},y.defaultProps={isPrivateBlog:!1};const w=e=>{let{noFollow:t,onNoFollowChange:a,postTypeName:r}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const n=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(s.createElement)(i.RadioButtonGroup,{id:n,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(o.sprintf)(
409
  /* Translators: %s translates to the Post Label in singular form */
410
+ Object(o.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:n,onChange:a,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};w.propTypes={noFollow:d.a.string.isRequired,onNoFollowChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const j=e=>{let{advanced:t,onAdvancedChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const r=Object(c.join)(["yoast-meta-robots-advanced",e]),n=r+"-input";return Object(s.createElement)(i.MultiSelect,{label:Object(o.__)("Meta robots advanced","wordpress-seo"),onChange:a,id:r,inputId:n,options:[{name:Object(o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};j.propTypes={advanced:d.a.array.isRequired,onAdvancedChange:d.a.func.isRequired};const E=e=>{let{breadcrumbsTitle:t,onBreadcrumbsTitleChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:a,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")}))};E.propTypes={breadcrumbsTitle:d.a.string.isRequired,onBreadcrumbsTitleChange:d.a.func.isRequired};const v=e=>{let{canonical:t,onCanonicalChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:a,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")}))};v.propTypes={canonical:d.a.string.isRequired,onCanonicalChange:d.a.func.isRequired};const k=e=>{let{wordproofTimestamp:t,onWordProofTimestampChange:a,postTypeName:r}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(O,{id:Object(c.join)(["yoast-wordproof-timestamp",e]),isEnabled:t,onToggle:a,postTypeName:r}))};k.propTypes={wordproofTimestamp:d.a.bool.isRequired,onWordProofTimestampChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const _=e=>{const{noIndex:t,noFollow:a,advanced:r,breadcrumbsTitle:n,canonical:o,wordproofTimestamp:i,onNoIndexChange:c,onNoFollowChange:l,onAdvancedChange:d,onBreadcrumbsTitleChange:u,onCanonicalChange:p,onWordProofTimestampChange:m,onLoad:h,isLoading:b,editorContext:g,isBreadcrumbsDisabled:f,isPrivateBlog:O,isWordProofIntegrationActive:_}=e;Object(s.useEffect)(()=>{setTimeout(()=>{b&&h()})});const T={noIndex:t,onNoIndexChange:c,editorContext:g,isPrivateBlog:O},x={noFollow:a,onNoFollowChange:l,postTypeName:g.postTypeNameSingular},R={advanced:r,onAdvancedChange:d},S={breadcrumbsTitle:n,onBreadcrumbsTitleChange:u},C={canonical:o,onCanonicalChange:p},P={wordproofTimestamp:i,onWordProofTimestampChange:m,postTypeName:g.postTypeNameSingular};return b?null:Object(s.createElement)(s.Fragment,null,Object(s.createElement)(y,T),g.isPost&&Object(s.createElement)(w,x),g.isPost&&Object(s.createElement)(j,R),!f&&Object(s.createElement)(E,S),Object(s.createElement)(v,C),_&&Object(s.createElement)(k,P))};_.propTypes={noIndex:d.a.string.isRequired,canonical:d.a.string.isRequired,wordproofTimestamp:d.a.bool,onNoIndexChange:d.a.func.isRequired,onCanonicalChange:d.a.func.isRequired,onWordProofTimestampChange:d.a.func,onLoad:d.a.func.isRequired,isLoading:d.a.bool.isRequired,editorContext:d.a.object.isRequired,isBreadcrumbsDisabled:d.a.bool.isRequired,isPrivateBlog:d.a.bool,advanced:d.a.array,onAdvancedChange:d.a.func,noFollow:d.a.string,onNoFollowChange:d.a.func,breadcrumbsTitle:d.a.string,onBreadcrumbsTitleChange:d.a.func,isWordProofIntegrationActive:d.a.bool.isRequired},_.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};var T=_;t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{getNoIndex:t,getNoFollow:a,getAdvanced:r,getBreadcrumbsTitle:n,getCanonical:s,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:c,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}=l();return{noIndex:t(),noFollow:a(),advanced:r(),breadcrumbsTitle:n(),canonical:s(),wordproofTimestamp:o(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}}),Object(n.withDispatch)(e=>{const{setNoIndex:t,setNoFollow:a,setAdvanced:r,setBreadcrumbsTitle:n,setCanonical:s,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:a,onAdvancedChange:r,onBreadcrumbsTitleChange:n,onCanonicalChange:s,onWordProofTimestampChange:o,onLoad:i}})])(T)},function(e,t,a){"use strict";var r=a(0),n=a(2),s=a(1),o=a.n(s),i=a(8),c=a.n(i),l=a(7),d=a(15),u=a(66),p=a(33),m=a(68),h=a(79);const b=e=>{const t=Object(n.__)("Get extra, smarter recommendations about your site’s structure, content, and SEO opportunities.","wordpress-seo"),a=[Object(n.__)("Target multiple focus keyphrases","wordpress-seo"),Object(n.__)("Use synonyms, plurals, and variations","wordpress-seo"),Object(n.__)("Unlock expert workouts and workflows","wordpress-seo")],s=wpseoAdminL10n[e.buyLink];return Object(r.createElement)(h.a,{infoParagraphs:[t],benefits:a,upsellButtonText:Object(n.sprintf)(
411
  /* translators: %s expands to 'Yoast SEO Premium'. */
412
  Object(n.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(n.__)("1 year of premium support and updates included!","wordpress-seo")})};b.propTypes={buyLink:o.a.string.isRequired};var g=b;const f=c()(l.CollapsibleStateless)`
413
  h2 > button {
418
  background-color: #f0f0f0;
419
  }
420
  }
421
+ `,O=e=>{let{location:t}=e;const[a,s]=Object(r.useState)(!1),o=Object(r.useCallback)(()=>s(!1),[]),i=Object(r.useCallback)(()=>s(!0),[]);return Object(r.createElement)(r.Fragment,null,a&&Object(r.createElement)(p.a,{title:Object(n.__)("Get Yoast SEO Premium","wordpress-seo"),onRequestClose:o,additionalClassName:"",className:p.b,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},Object(r.createElement)(u.a,null,Object(r.createElement)(u.b,{icon:l.YoastSeoIcon}),Object(r.createElement)("h2",null,Object(n.__)("Optimize even further with our premium SEO analysis","wordpress-seo")),Object(r.createElement)(g,{buyLink:`shortlinks.upsell.${t}.premium_seo_analysis_button`}))),"sidebar"===t&&Object(r.createElement)(m.a,{id:"yoast-premium-seo-analysis-modal-open-button",title:Object(n.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:d.colors.$color_grey},suffixIcon:{icon:"pencil-square",size:"20px"},onClick:i}),"metabox"===t&&Object(r.createElement)(f,{hasPadding:!1,hasSeparator:!0,isOpen:!1,id:"yoast-premium-seo-analysis-metabox-modal-open-button",title:Object(n.__)("Premium SEO analysis","wordpress-seo"),prefixIconCollapsed:{icon:"seo-score-none",color:d.colors.$color_grey,size:"16px"},suffixIconCollapsed:{icon:"pencil-square",color:d.colors.$black,size:"20px"},onToggle:i}))};O.propTypes={location:o.a.string},O.defaultProps={location:"sidebar"},t.a=O},function(e,t,a){"use strict";var r=a(0),n=a(14),s=a(6),o=a(2),i=a(1),c=a.n(i),l=a(7),d=a(13),u=a(9),p=a(22),m=a.n(p),h=a(8),b=a.n(h),g=a(90),f=a(89);const O=Object(u.makeOutboundLink)(),y=b.a.div`
422
  padding: 16px;
423
  `;function w(e){let{location:t,show:a}=e;return a?Object(r.createElement)(l.Alert,{type:"info"},Object(o.sprintf)(
424
  /* translators: %s Expands to "Yoast News SEO" */
425
+ Object(o.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",Object(r.createElement)(O,{href:window.wpseoAdminL10n[`shortlinks.upsell.${t}.news`]},Object(o.sprintf)(
426
  /* translators: %s: Expands to "Yoast News SEO". */
427
  Object(o.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}w.propTypes={show:c.a.bool.isRequired,location:c.a.string.isRequired};const j=(e,t,a)=>{const r=e.find(e=>e.value===t);return[{name:Object(o.sprintf)(
428
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
429
  Object(o.__)("Default for %1$s (%2$s)","wordpress-seo"),a,r?r.name:""),value:""},...e]},E=e=>Object(o.sprintf)(
430
  /* 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 */
431
+ Object(o.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}"),v=e=>Object(r.createElement)(l.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(o.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription});v.propTypes={helpTextTitle:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired};const k=e=>Object(r.createElement)("p",null,e.helpTextDescription+" ",Object(r.createElement)("a",{href:e.helpTextLink},Object(o.__)("Read more about Schema.","wordpress-seo")));k.propTypes={helpTextDescription:c.a.string.isRequired,helpTextLink:c.a.string.isRequired};const _=e=>{const t=j(e.pageTypeOptions,e.defaultPageType,e.postTypeName),a=j(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),n=Object(f.isFeatureEnabled)("SCHEMA_BLOCKS"),[s,i]=Object(r.useState)(e.schemaArticleTypeSelected),c=Object(r.useCallback)((e,t)=>{i(t)},[s]);return Object(r.useEffect)(()=>{c(null,e.schemaArticleTypeSelected)},[e.schemaArticleTypeSelected]),Object(r.createElement)(r.Fragment,null,n?Object(r.createElement)(k,e):Object(r.createElement)(v,e),n&&Object(r.createElement)(d.Slot,{name:Object(u.join)(["yoast-schema-blocks-analysis",e.location])}),Object(r.createElement)(l.FieldGroup,{label:Object(o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(o.__)("Learn more about page or content types","wordpress-seo")}),Object(r.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-page-type",e.location]),options:t,label:Object(o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(r.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-article-type",e.location]),options:a,label:Object(o.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:c}),Object(r.createElement)(w,{location:e.location,show:!e.isNewsEnabled&&(h=s,b=e.defaultArticleType,"NewsArticle"===h||""===h&&"NewsArticle"===b)}),e.displayFooter&&Object(r.createElement)("p",null,(p=e.postTypeName,m()({mixedString:E(p),components:{link:Object(r.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))));var p,h,b};_.propTypes={schemaPageTypeChange:c.a.func,schemaPageTypeSelected:c.a.string,pageTypeOptions:g.b.isRequired,schemaArticleTypeChange:c.a.func,schemaArticleTypeSelected:c.a.string,articleTypeOptions:g.b.isRequired,showArticleTypeInput:c.a.bool.isRequired,additionalHelpTextLink:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,defaultPageType:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,location:c.a.string.isRequired,isNewsEnabled:c.a.bool},_.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const T=e=>e.isMetabox?Object(r.createPortal)(Object(r.createElement)(y,null,Object(r.createElement)(_,e)),document.getElementById("wpseo-meta-section-schema")):Object(r.createElement)(_,e);T.propTypes={showArticleTypeInput:c.a.bool,articleTypeLabel:c.a.string,additionalHelpTextLink:c.a.string,pageTypeLabel:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,isMetabox:c.a.bool.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,loadSchemaArticleData:c.a.func.isRequired,loadSchemaPageData:c.a.func.isRequired,location:c.a.string.isRequired},T.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=T,R=a(91),S=a(51);const C=e=>{const t=null!==R.a.articleTypeInput;Object(r.useEffect)(()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);const{pageTypeOptions:a,articleTypeOptions:n}=window.wpseoScriptData.metabox.schema,s={articleTypeLabel:Object(o.__)("Article type","wordpress-seo"),pageTypeLabel:Object(o.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(o.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(o.__)("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:a,articleTypeOptions:n},i={...e,...s,...(c=e.location,"metabox"===c?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var c;return Object(r.createElement)(x,i)};C.propTypes={displayFooter:c.a.bool.isRequired,schemaPageTypeSelected:c.a.string.isRequired,schemaArticleTypeSelected:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,defaultPageType:c.a.string.isRequired,loadSchemaPageData:c.a.func.isRequired,loadSchemaArticleData:c.a.func.isRequired,schemaPageTypeChange:c.a.func.isRequired,schemaArticleTypeChange:c.a.func.isRequired,location:c.a.string.isRequired},t.a=Object(n.compose)([Object(s.withSelect)(e=>{const{getPreferences:t,getPageType:a,getDefaultPageType:r,getArticleType:n,getDefaultArticleType:s}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:a(),schemaArticleTypeSelected:n(),defaultArticleType:s(),defaultPageType:r()}}),Object(s.withDispatch)(e=>{const{setPageType:t,setArticleType:a,getSchemaPageData:r,getSchemaArticleData:n}=e("yoast-seo/editor");return{loadSchemaPageData:r,loadSchemaArticleData:n,schemaPageTypeChange:t,schemaArticleTypeChange:a}}),Object(S.a)()])(C)},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(9),i=a(4),c=a(1),l=a.n(c),d=a(86),u=a(11),p=a.n(u),m=a(21),h=a.n(m);const b=e=>{let{data:t,itemScreenReaderText:a,className:n,...o}=e;const c=Object(r.useMemo)(()=>{var e,a;return null!==(e=null===(a=Object(i.maxBy)(t,"number"))||void 0===a?void 0:a.number)&&void 0!==e?e:0},[t]);return Object(r.createElement)("ul",p()({className:h()("yoast-data-model",n)},o),t.map(e=>{let{name:t,number:n}=e;return Object(r.createElement)("li",{key:t+"_dataItem",style:{"--yoast-width":n/c*100+"%"}},t,Object(r.createElement)("span",null,n),a&&Object(r.createElement)("span",{className:"screen-reader-text"},Object(s.sprintf)(a,n)))}))};b.propTypes={data:l.a.arrayOf(l.a.shape({name:l.a.string.isRequired,number:l.a.number.isRequired})),itemScreenReaderText:l.a.string,className:l.a.string},b.defaultProps={data:[],itemScreenReaderText:"",className:""};var g=b;const f=Object(o.makeOutboundLink)(),O=e=>{let{location:t}=e;const a=Object(n.useSelect)(e=>{var t,a;return null===(t=null===(a=e("yoast-seo-premium/editor"))||void 0===a?void 0:a.getPreference("isProminentWordsAvailable",!1))||void 0===t||t},[]),o=Object(n.useSelect)(e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1),[]),c=Object(r.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,""),[t]),l=Object(r.useMemo)(()=>{const e=Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Object(d.a)(Object(s.sprintf)(Object(s.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>"),{a:Object(r.createElement)(f,{href:e})})},[]),u=Object(r.useMemo)(()=>Object(d.a)(Object(s.sprintf)(// translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`.
432
  Object(s.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:Object(r.createElement)("b",null)}),[]),p=Object(n.useSelect)(e=>{var t,a;return null!==(t=null===(a=e("yoast-seo-premium/editor"))||void 0===a?void 0:a.getProminentWords())&&void 0!==t?t:[]},[]),m=Object(r.useMemo)(()=>{const e=Object(s.sprintf)(// translators: %1$s expands to Yoast SEO Premium.
433
  Object(s.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map((t,a)=>({name:t,number:e.length-a}))},[]),h=Object(r.useMemo)(()=>o?m:p.map(e=>{let{word:t,occurrence:a}=e;return{name:t,number:a}}),[p,m]);return a?Object(r.createElement)("div",{className:"yoast-prominent-words"},Object(r.createElement)("div",{className:"yoast-field-group__title"},Object(r.createElement)("b",null,Object(s.__)("Prominent words","wordpress-seo"))),!o&&Object(r.createElement)("p",null,0===h.length?Object(s.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):Object(s.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),o&&Object(r.createElement)("p",null,u),o&&Object(r.createElement)(f,{href:c,className:"yoast-button yoast-button-upsell"},Object(s.sprintf)(// translators: %s expands to `Premium` (part of add-on name).
434
  Object(s.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(r.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(r.createElement)("p",null,l),Object(r.createElement)(g,{data:h,itemScreenReaderText:// translators: %d expands to the number of occurrences.
435
+ Object(s.__)("%d occurrences","wordpress-seo"),"aria-label":Object(s.__)("Prominent words","wordpress-seo"),className:o?"yoast-data-model--upsell":null})):null};O.propTypes={location:l.a.string.isRequired},t.a=O},,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,a){"use strict";var r=a(0),n=a(13),s=a(1),o=a.n(s),i=a(103);const c=e=>(Object(r.useEffect)(()=>{setTimeout(e.onLoad)},[]),e.isPremium?Object(r.createElement)(n.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e));c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},function(e,t,a){"use strict";var r=a(0),n=a(13),s=a(1),o=a.n(s),i=a(103);const c=e=>{const[t,a]=Object(r.useState)(""),s=Object(r.useCallback)(e=>{a(e.detail.metaTabId)},[a]);Object(r.useEffect)(()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",s),()=>{window.removeEventListener("YoastSEO:metaTabChange",s)}),[]);const o=Object(r.useMemo)(()=>({...e,activeMetaTabId:t}),[e,t]);return e.isPremium?Object(r.createElement)(n.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:o}):Object(r.createElement)(i.a,o)};c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},,,,,,function(e,t,a){"use strict";var r,n,s,o,i,c,l,d,u,p,m,h,b,g,f,O,y,w,j,E,v,k,_,T,x,R,S,C,P,L,A,I,F,q,N,M,D,W,U,z,$,H,K,B,V,Y,G,Z,J=a(0),Q=a(2),X=a(19),ee=()=>Object(J.createElement)(J.Fragment,null,Object(J.createElement)("p",null,Object(X.a)(Object(Q.sprintf)(
436
  /* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */
437
+ Object(Q.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof","WordPress"),"https://help.wordproof.com/"))),te=a(3);function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function re(e){return te.createElement("svg",ae({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),r||(r=te.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),n||(n=te.createElement("path",{d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z",fill:"#fbd2a6"})),s||(s=te.createElement("path",{d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 00110.3 8.66 25.66 25.66 0 01.18-8.12z",fill:"#a4286a"})),o||(o=te.createElement("path",{d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z",fill:"#9a5815"})),i||(i=te.createElement("path",{d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z",fill:"#efb17c"})),c||(c=te.createElement("path",{d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z",fill:"#fbd2a6"})),l||(l=te.createElement("path",{d:"M235.21 167.9l53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z",fill:"#f6b488"})),d||(d=te.createElement("path",{d:"M277.68 178.82z",fill:"#efb17c"})),u||(u=te.createElement("path",{d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z",fill:"#fbd2a6"})),p||(p=te.createElement("path",{d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z",fill:"#e5766c"})),m||(m=te.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),h||(h=te.createElement("path",{d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 00-1.24 1.23h-.12a3.73 3.73 0 011-1.52 12.53 12.53 0 0111.93-3c4.73 1 9.43 4.63 9.42 9.82z",fill:"#000001"})),b||(b=te.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),g||(g=te.createElement("path",{d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 016.11 11.53z",fill:"#fff"})),f||(f=te.createElement("path",{d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 00-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z",fill:"#000001"})),O||(O=te.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),y||(y=te.createElement("path",{d:"M218.66 120.27a27.32 27.32 0 004.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z",fill:"#efb17c"})),w||(w=te.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),j||(j=te.createElement("path",{d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z",fill:"#fbd2a6"})),E||(E=te.createElement("path",{d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54",fill:"#a4286a"})),v||(v=te.createElement("path",{d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z",fill:"#cb9833"})),k||(k=te.createElement("path",{d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 00302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z",fill:"#fbd2a6"})),_||(_=te.createElement("path",{d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z",fill:"#efb17c"})),T||(T=te.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),x||(x=te.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),R||(R=te.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),S||(S=te.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),C||(C=te.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),P||(P=te.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),L||(L=te.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),A||(A=te.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),I||(I=te.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),F||(F=te.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),q||(q=te.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),N||(N=te.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),M||(M=te.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),D||(D=te.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),W||(W=te.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),U||(U=te.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),z||(z=te.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),$||($=te.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),H||(H=te.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),K||(K=te.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),B||(B=te.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),V||(V=te.createElement("path",{d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z",fill:"#71b026"})),Y||(Y=te.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),G||(G=te.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),Z||(Z=te.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}var ne=a(34),se=a(7),oe=a(1),ie=a.n(oe);const ce=e=>{const{closeModal:t}=e;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(J.createElement)(re,{class:"yoast-wordproof-modal-svg__success"})),Object(J.createElement)("p",null,Object(Q.sprintf)(
438
  /* Translators: %s translates to the Post type in singular form */
439
  Object(Q.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Object(ne.a)("current_post_type")),Object(J.createElement)("br",null),Object(J.createInterpolateElement)(Object(Q.sprintf)(Object(Q.__)(
440
  /** translators:
442
  * %3$s translates to the Post type in singular form.
443
  */
444
  "The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"<b>","</b>",Object(ne.a)("current_post_type")),{b:Object(J.createElement)("b",null)})),Object(J.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(J.createElement)(se.NewButton,{variant:"primary",onClick:t},"Continue")))};ce.propTypes={closeModal:ie.a.func.isRequired};var le,de=ce;function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function pe(e){return te.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 752 247",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",fill:"#fff",fillRule:"evenodd","aria-hidden":"true"},e),le||(le=te.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},te.createElement("path",{d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.621-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z",fill:"#f17523"}),te.createElement("path",{d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96l.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 001.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085l4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 01-1.565-3.955 31.05 31.05 0 01-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z",fill:"#fccda3"}),te.createElement("path",{d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z",fill:"#847972"}),te.createElement("path",{d:"M354 58.468c3.673-2.83 10.069-1.514 11.47 3.193l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.888c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),te.createElement("path",{d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296l79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696l6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135l15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z",fill:"#3e2723"}),te.createElement("path",{d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z",fill:"#dba378"}),te.createElement("path",{d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.639 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 00.367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 00-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 006.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z",fill:"#bf360c"}))))}const me=e=>{const{closeModal:t}=e,a=Object(J.useCallback)(e=>{t(),e.preventDefault(),Object(ne.c)()});return Object(J.createElement)("div",null,Object(J.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(J.createElement)(pe,{className:"yoast-wordproof-modal-svg__webhook-failed"})),Object(J.createElement)("div",null,Object(Q.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),Object(J.createElement)("br",null),Object(X.a)(Object(Q.sprintf)(Object(Q.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"<a>","</a>"),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),Object(J.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(J.createElement)(se.NewButton,{variant:"secondary",onClick:a},Object(Q.__)("Try again","wordpress-seo"))),Object(J.createElement)("div",null,Object(X.a)(Object(Q.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s expands to WordProof.
445
+ Object(Q.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof"),"https://help.wordproof.com")))};me.propTypes={closeModal:ie.a.func.isRequired};var he=me,be=a(33);t.a=()=>{const[e,t]=Object(J.useState)(null),a=Object(J.useCallback)(()=>{t("oauth:failed")}),r=Object(J.useCallback)(()=>{t("webhook:failed")}),n=Object(J.useCallback)(()=>{t("oauth:success")}),s=Object(J.useCallback)(()=>{t(null)});Object(J.useEffect)(()=>(window.addEventListener("wordproof:oauth:success",n,!1),window.addEventListener("wordproof:oauth:failed",a,!1),window.addEventListener("wordproof:webhook:failed",r,!1),()=>{window.removeEventListener("wordproof:oauth:success",n,!1),window.removeEventListener("wordproof:oauth:failed",a,!1),window.removeEventListener("wordproof:webhook:failed",r,!1)}),[]);const o=Object(J.useCallback)(()=>{switch(e){case"webhook:failed":return Object(Q.__)("Connection failed","wordpress-seo");case"oauth:success":return Object(Q.__)("Connected to WordProof","wordpress-seo");default:return Object(Q.__)("WordProof authentication","wordpress-seo")}});return Object(J.createElement)(J.Fragment,null,e&&Object(J.createElement)(be.a,{onRequestClose:s,additionalClassName:"yoast-wordproof-modal",title:o()},"oauth:success"===e&&Object(J.createElement)(de,{closeModal:s}),"oauth:failed"===e&&Object(J.createElement)(ee,null),"webhook:failed"===e&&Object(J.createElement)(he,{closeModal:s})))}},function(e,t,a){"use strict";var r=a(11),n=a.n(r),s=a(0),o=a(2),i=a(6),c=a(1),l=a.n(c),d=a(125);const u=e=>{let{children:t,id:a,hasIcon:r=!0,title:n,image:i=null,isAlertDismissed:c,onDismissed:l}=e;return c?null:Object(s.createElement)("div",{id:a,className:"notice-yoast yoast is-dismissible"},Object(s.createElement)("div",{className:"notice-yoast__container"},Object(s.createElement)("div",null,Object(s.createElement)("div",{className:"notice-yoast__header"},r&&Object(s.createElement)("span",{className:"yoast-icon"}),Object(s.createElement)("h2",{className:"notice-yoast__header-heading"},n)),Object(s.createElement)("p",null,t)),i&&Object(s.createElement)(i,{height:"60"})),Object(s.createElement)("button",{className:"notice-dismiss",onClick:l},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Dismiss this notice.","wordpress-seo"))))};u.propTypes={children:l.a.node.isRequired,id:l.a.string.isRequired,hasIcon:l.a.bool,title:l.a.string.isRequired,image:l.a.elementType,isAlertDismissed:l.a.bool.isRequired,onDismissed:l.a.func.isRequired};var p,m,h,b,g,f,O,y,w,j,E,v,k,_,T,x,R,S,C,P,L,A,I,F,q,N,M,D,W,U,z,$,H,K,B,V,Y,G,Z,J,Q,X,ee,te,ae,re,ne,se=Object(d.a)(u),oe=a(3);function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function ce(e){return oe.createElement("svg",ie({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),p||(p=oe.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),m||(m=oe.createElement("path",{d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z",fill:"#fbd2a6"})),h||(h=oe.createElement("path",{d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 00110.3 8.66 25.66 25.66 0 01.18-8.12z",fill:"#a4286a"})),b||(b=oe.createElement("path",{d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z",fill:"#9a5815"})),g||(g=oe.createElement("path",{d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z",fill:"#efb17c"})),f||(f=oe.createElement("path",{d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z",fill:"#fbd2a6"})),O||(O=oe.createElement("path",{d:"M235.21 167.9l53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z",fill:"#f6b488"})),y||(y=oe.createElement("path",{d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z",fill:"#fbd2a6"})),w||(w=oe.createElement("path",{d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z",fill:"#e5766c"})),j||(j=oe.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),E||(E=oe.createElement("path",{d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 00-1.24 1.23h-.12a3.73 3.73 0 011-1.52 12.53 12.53 0 0111.93-3c4.73 1 9.43 4.63 9.42 9.82z",fill:"#000001"})),v||(v=oe.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),k||(k=oe.createElement("path",{d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 016.11 11.53z",fill:"#fff"})),_||(_=oe.createElement("path",{d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 00-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z",fill:"#000001"})),T||(T=oe.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),x||(x=oe.createElement("path",{d:"M218.66 120.27a27.32 27.32 0 004.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z",fill:"#efb17c"})),R||(R=oe.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),S||(S=oe.createElement("path",{d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z",fill:"#fbd2a6"})),C||(C=oe.createElement("path",{d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54",fill:"#a4286a"})),P||(P=oe.createElement("path",{d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z",fill:"#cb9833"})),L||(L=oe.createElement("path",{d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 00302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z",fill:"#fbd2a6"})),A||(A=oe.createElement("path",{d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z",fill:"#efb17c"})),I||(I=oe.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),F||(F=oe.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),q||(q=oe.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),N||(N=oe.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),M||(M=oe.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),D||(D=oe.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),W||(W=oe.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),U||(U=oe.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),z||(z=oe.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),$||($=oe.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),H||(H=oe.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),K||(K=oe.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),B||(B=oe.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),V||(V=oe.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Y||(Y=oe.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),G||(G=oe.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Z||(Z=oe.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),J||(J=oe.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Q||(Q=oe.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),X||(X=oe.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),ee||(ee=oe.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),te||(te=oe.createElement("path",{d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z",fill:"#71b026"})),ae||(ae=oe.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),re||(re=oe.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),ne||(ne=oe.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}const le=e=>{let{store:t="yoast-seo/editor",image:a=ce,url:r,...c}=e;return Object(i.useSelect)(e=>e(t).getIsPremium())?null:Object(s.createElement)(se,n()({alertKey:"webinar-promo-notification",store:t,id:"webinar-promo-notification",title:Object(o.__)("Get the most out of Yoast SEO","wordpress-seo"),image:a,url:r},c),Object(o.__)("Want to optimize even further with the help of our SEO experts? Sign up for our free weekly webinar!","wordpress-seo")," ",Object(s.createElement)("a",{href:r,target:"_blank",rel:"noreferrer"},Object(o.__)("Register now!","wordpress-seo")))};le.propTypes={store:l.a.string,image:l.a.elementType,url:l.a.string.isRequired},t.a=le},function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var r=a(38),n=a(32),s=a(104),o=a(47);const{dispatch:i}=wp.data;function c(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=i("wordproof"),a=Object(n.a)("popup_redirect_authentication_url"),c=Object(n.a)("popup_redirect_settings_url");let l=null;const d=(e,t)=>{l=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:680;const s=e.top.outerHeight/2+e.top.screenY-n/2,o=e.top.outerWidth/2+e.top.screenX-r/2;return e.open(t,a,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${r},\n\t\theight=${n},\n\t\ttop=${s},\n\t\tleft=${o}`)}(window,e,t),l&&l.focus(),window.addEventListener("message",u,!1)},u=async e=>{const{data:t,source:a,origin:r}=e;if(r===Object(n.a)("origin")&&l===a)switch(t.type){case"wordproof:oauth:granted":!1===await h(t)&&await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await p("wordproof:oauth:denied",!1);break;case"wordproof:webhook:success":await p("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await p("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await p("wordproof:settings:updated"),await b(t);break;case"wordproof:oauth:destroy":await p("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await p("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":m()}},p=async function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;m(),Object(s.a)(t),!1===a&&(await Object(r.b)(),e(!1)),!0===a&&e(!0)},m=()=>{window.removeEventListener("message",u,!1),l.close()},h=async e=>{await Object(r.c)(()=>Object(o.e)(e),async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return l.postMessage(t,Object(n.a)("origin")),!0},async()=>!1)},b=async e=>{await Object(r.c)(()=>Object(o.f)(e),async()=>{const a=e.settings;return a.selectedPostTypes&&t(a.selectedPostTypes),!0},async()=>!1)};window.addEventListener("wordproof:open_authentication",e=>{e.preventDefault(),d(a,"WordProof_Authentication")},!1),window.addEventListener("wordproof:open_settings",e=>{e.preventDefault(),d(c,"WordProof_Settings")},!1)}},,,,function(e,t,a){"use strict";var r=a(6),n=a(7);t.a=Object(r.withSelect)(e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}})(n.Warning)},function(e,t,a){"use strict";var r=a(11),n=a.n(r),s=a(0),o=a(14),i=a(6),c=a(2),l=a(152),d=a(20),u=a(123),p=a(61),m=a(113);const h=function(e,t){let a=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(a=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[a]&&(e.url=e.url.slice(0,a)+e.url.slice(a+1)),Object(p.applyReplaceUsingPlugin)(e)};t.a=Object(o.compose)([Object(i.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:a,getFocusKeyphrase:r,getRecommendedReplaceVars:n,getReplaceVars:s,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:c,getSnippetEditorMode:l,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:p,getIsTerm:m,getContentLocale:h}=e("yoast-seo/editor"),b=s();return b.forEach(e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),{baseUrl:t(),data:c(),date:a(),faviconSrc:i(),keyword:r(),mobileImageSrc:d(),mode:l(),recommendedReplacementVariables:n(),replacementVariables:b,shoppingData:o(),wordsToHighlight:u(),isCornerstone:p(),isTaxonomy:m(),locale:h()}})),Object(i.withDispatch)((function(e,t,a){let{select:r}=a;const{updateData:n,switchMode:s,updateAnalysisData:o,findCustomFields:i}=e("yoast-seo/editor"),c=e("core/editor"),l=r("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":s(t);break;case"slug":n({slug:t}),c&&c.editPost({slug:t});break;default:n({[e]:t})}},onChangeAnalysisData:o,onReplacementVariableSearchChange:Object(m.a)(l,i)}}))])(e=>Object(s.createElement)(d.LocationConsumer,null,t=>Object(s.createElement)(u.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(l.SnippetEditor,n()({},e,{descriptionPlaceholder:Object(c.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:h,showCloseButton:!1,idSuffix:t})))))},function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(153),o=a(17),i=a(51),c=a(40),l=a(113);const d=()=>{Object(c.b)(e=>Object(n.dispatch)("yoast-seo/editor").setTwitterPreviewImage(Object(c.d)(e)))};t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{getTwitterDescription:t,getTwitterTitle:a,getTwitterImageUrl:r,getFacebookImageUrl:n,getFacebookTitle:s,getFacebookDescription:i,getDescription:c,getSeoTitle:l,getTwitterWarnings:d,getTwitterImageType:u,getImageFallback:p,getRecommendedReplaceVars:m,getReplaceVars:h,getSiteUrl:b,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:O,getSeoDescriptionTemplate:y,getSocialDescriptionTemplate:w,getReplacedExcerpt:j,getTwitterAltText:E}=e("yoast-seo/editor");return{imageUrl:r(),imageFallbackUrl:n()||p(),recommendedReplacementVariables:m(),replacementVariables:h(),description:t(),descriptionPreviewFallback:w()||i()||c()||y()||j()||"",title:a(),titlePreviewFallback:O()||s()||l()||f()||g()||"",imageWarnings:d(),siteUrl:b(),isPremium:!!Object(o.a)().isPremium,isLarge:"summary"!==u(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter",alt:E()}}),Object(n.withDispatch)((e,t,a)=>{let{select:r}=a;const{setTwitterPreviewTitle:n,setTwitterPreviewDescription:s,clearTwitterPreviewImage:o,loadTwitterPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=r("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:o,onDescriptionChange:s,onTitleChange:n,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(s.a)},function(e,t,a){"use strict";var r=a(14),n=a(6),s=a(154),o=a(17),i=a(51),c=a(40),l=a(113);const d=()=>{Object(c.b)(e=>Object(n.dispatch)("yoast-seo/editor").setFacebookPreviewImage(Object(c.c)(e)))};t.a=Object(r.compose)([Object(n.withSelect)(e=>{const{getFacebookDescription:t,getDescription:a,getFacebookTitle:r,getSeoTitle:n,getFacebookImageUrl:s,getImageFallback:i,getFacebookWarnings:c,getRecommendedReplaceVars:l,getReplaceVars:d,getSiteUrl:u,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:m,getSocialTitleTemplate:h,getSeoDescriptionTemplate:b,getSocialDescriptionTemplate:g,getReplacedExcerpt:f,getFacebookAltText:O}=e("yoast-seo/editor");return{imageUrl:s(),imageFallbackUrl:i(),recommendedReplacementVariables:l(),replacementVariables:d(),description:t(),descriptionPreviewFallback:g()||a()||b()||f()||"",title:r(),titlePreviewFallback:h()||n()||m()||p()||"",imageWarnings:c(),siteUrl:u(),isPremium:!!Object(o.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook",alt:O()}}),Object(n.withDispatch)((e,t,a)=>{let{select:r}=a;const{setFacebookPreviewTitle:n,setFacebookPreviewDescription:s,clearFacebookPreviewImage:o,loadFacebookPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=r("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:o,onDescriptionChange:s,onTitleChange:n,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(s.a)},,,function(e,t,a){"use strict";var r=a(6),n=a(14),s=a(0),o=a(2),i=a(1),c=a.n(i),l=a(15),d=a(66),u=a(33),p=a(100),m=a(94),h=a(68),b=a(112);function g(e){const{keyphrases:t,onNoKeyphraseSet:a,onOpen:r,location:n}=e;if(!t.length)return document.querySelector("#focus-keyword-input-sidebar").focus(),void a();r(n)}function f(e,t){Object(m.b)(t)&&e.onClose()}function O(e){const{location:t,whichModalOpen:a,shouldCloseOnClickOutside:r}=e,n=Object(s.useCallback)(()=>{g(e)},[g,e]),i=Object(s.useCallback)(t=>{f(e,t)},[f,e]),c=Object(o.__)("Track SEO performance","wordpress-seo");return Object(s.createElement)(s.Fragment,null,a===t&&Object(s.createElement)(u.a,{title:c,onRequestClose:i,icon:Object(s.createElement)(p.a,null),additionalClassName:"yoast-wincher-seo-performance-modal",shouldCloseOnClickOutside:r},Object(s.createElement)(d.a,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},Object(s.createElement)(b.a,null))),"sidebar"===t&&Object(s.createElement)(h.a,{id:"wincher-open-button-"+t,title:c,suffixIcon:{size:"20px",icon:"pencil-square"},prefixIcon:{icon:"chart-square-bar",color:l.colors.$color_grey_medium_dark},onClick:n}))}O.propTypes={location:c.a.string,whichModalOpen:c.a.oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:c.a.bool},O.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0},t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:a}=e("yoast-seo/editor");return{keyphrases:a(),whichModalOpen:t()}}),Object(r.withDispatch)(e=>{const{setWincherOpenModal:t,setWincherDismissModal:a,setWincherNoKeyphrase:r}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{a()},onNoKeyphraseSet:()=>{r()}}})])(O)},,,,,,,function(e,t){e.exports=window.wp.editPost},,,function(e,t){e.exports=window.wp.annotations},function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(e){"object"==typeof window&&(a=window)}e.exports=a},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(1),i=a.n(o),c=a(77),l=a(132),d=a(133),u=a(143),p=a(134);const m=e=>{let{location:t}=e;const a=Object(n.useSelect)(e=>e("yoast-seo/editor").getIsElementorEditor(),[]),o=Object(n.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]);return Object(r.createElement)(c.a,{title:Object(s.__)("Insights","wordpress-seo"),id:"yoast-insights-modal-"+t,shouldCloseOnClickOutside:!a,showChangesWarning:!1},Object(r.createElement)("div",{className:"yoast-insights yoast-modal-content--columns"},Object(r.createElement)(u.a,{location:t}),Object(r.createElement)("div",null,o&&Object(r.createElement)("div",{className:"yoast-insights-row"},Object(r.createElement)(d.a,null)),Object(r.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(r.createElement)(l.a,null),Object(r.createElement)(p.a,null)))))};m.propTypes={location:i.a.string},m.defaultProps={location:"sidebar"},t.a=m},function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var r=a(0),n=a(7),s=a(56),o=a(1);function i(e){let{score:t,label:a,scoreValue:o}=e;return Object(r.createElement)("div",null,Object(r.createElement)(n.SvgIcon,Object(s.getIconForScore)(t)),Object(r.createElement)("span",null," ",a," ",o&&Object(r.createElement)("strong",null,o)))}i.propTypes={score:o.string.isRequired,label:o.string.isRequired,scoreValue:o.string},i.defaultProps={scoreValue:""}},,,,,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return $}));var r=a(0),n=a(1),s=a.n(n),o=a(13),i=a(136),c=a(67);function l(e){let{theme:t}=e;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(o.Slot,{name:"YoastMetabox"},e=>Object(i.a)(e)))}var d=a(6),u=a(14),p=a(2),m=a(15),h=a(131),b=a(167),g=a(166),f=a(62),O=a(43),y=a(132),w=a(133),j=a(143),E=a(134);const v=e=>{let{location:t}=e;const a=Object(d.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]);return Object(r.createElement)(O.a,{title:Object(p.__)("Insights","wordpress-seo"),id:"yoast-insights-collapsible-"+t,className:"yoast-insights"},Object(r.createElement)(j.a,{location:t}),Object(r.createElement)("div",null,a&&Object(r.createElement)("div",{className:"yoast-insights-row"},Object(r.createElement)(w.a,null)),Object(r.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(r.createElement)(y.a,null),Object(r.createElement)(E.a,null))))};v.propTypes={location:s.a.string},v.defaultProps={location:"metabox"};var k=v,_=a(25),T=a(140),x=a(169),R=a(168);const S=e=>{let{displayFacebook:t,displayTwitter:a}=e;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(O.a,{hasSeparator:!1
446
+ /* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(x.a,null)),a&&Object(r.createElement)(O.a
447
+ /* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(R.a,null)))};S.propTypes={displayFacebook:s.a.bool.isRequired,displayTwitter:s.a.bool.isRequired};var C=S,P=Object(d.withSelect)(e=>{const{getPreferences:t}=e("yoast-seo/editor"),{displayFacebook:a,displayTwitter:r}=t();return{displayFacebook:a,displayTwitter:r}})(C),L=a(35);function A(e){let{target:t}=e;return Object(r.createElement)(L.a,{target:t},Object(r.createElement)(P,null))}A.propTypes={target:s.a.string.isRequired};var I=a(142),F=a(127),q=a(112),N=a(34),M=a(160),D=a(141),W=a(135);function U(e){let{settings:t,wincherKeyphrases:a,setWincherNoKeyphrase:n}=e;const s=Object(r.useCallback)(()=>{if(!a.length)return n(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1},[a,n]);return Object(r.createElement)(r.Fragment,null,Object(N.b)()&&Object(r.createElement)(M.a,null),Object(r.createElement)(o.Fill,{name:"YoastMetabox"},Object(r.createElement)(_.a,{key:"warning",renderPriority:1},Object(r.createElement)(g.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(_.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(f.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(o.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(F.a,null))),Object(r.createElement)(_.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(O.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(b.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(_.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(f.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell,isYoastSEOWooActive:t.isYoastSEOWooEnabled})),t.isKeywordAnalysisActive&&Object(r.createElement)(_.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(r.Fragment,null,Object(r.createElement)(f.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive,isYoastSEOWooActive:t.isYoastSEOWooEnabled}),t.shouldUpsell&&Object(r.createElement)(D.a,{location:"metabox"}))),t.isKeywordAnalysisActive&&Object(r.createElement)(_.a,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&Object(r.createElement)(W.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(r.createElement)(_.a,{key:"wincher-seo-performance",renderPriority:25},Object(r.createElement)(O.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(p.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:m.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:m.colors.$color_grey_medium_dark},onToggle:s},Object(r.createElement)(q.a,null))),t.isCornerstoneActive&&Object(r.createElement)(_.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(h.a,null)),t.displayAdvancedTab&&Object(r.createElement)(_.a,{key:"advanced",renderPriority:40},Object(r.createElement)(O.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(r.createElement)(T.a,null))),t.displaySchemaSettings&&Object(r.createElement)(_.a,{key:"schema",renderPriority:50},Object(r.createElement)(I.a,null)),Object(r.createElement)(_.a,{key:"social",renderPriority:-1},Object(r.createElement)(A,{target:"wpseo-section-social"})),t.isInsightsEnabled&&Object(r.createElement)(_.a,{key:"insights",renderPriority:52},Object(r.createElement)(k,{location:"metabox"}))))}U.propTypes={settings:s.a.object.isRequired,wincherKeyphrases:s.a.array.isRequired,setWincherNoKeyphrase:s.a.func.isRequired};var z=Object(u.compose)([Object(d.withSelect)((e,t)=>{const{getPreferences:a,getWincherTrackableKeyphrases:r}=e("yoast-seo/editor");return{settings:a(),store:t.store,wincherKeyphrases:r()}}),Object(d.withDispatch)(e=>{const{setWincherNoKeyphrase:t}=e("yoast-seo/editor");return{setWincherNoKeyphrase:t}})])(U);function $(e){let{target:t,store:a,theme:n}=e;return Object(r.createElement)(L.a,{target:t},Object(r.createElement)(l,{store:a,theme:n}),Object(r.createElement)(z,{store:a,theme:n}))}$.propTypes={target:s.a.string.isRequired,store:s.a.object,theme:s.a.object}},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var r=a(47),n=a(32),s=a(1),o=a.n(s),i=a(104);const c=e=>{const{response:t,createSuccessNotice:a,createErrorNotice:r,postId:s}=e;if(null===t||200===t.status)return;const o={id:"wordproof-timestamp-notice"};if(t&&201===t.status)0===t.balance?(o.actions=[{label:Object(n.a)("translations.open_settings_button_text"),onClick:()=>{Object(i.a)("wordproof:open_settings")},variant:"link"}],r(Object(n.a)("translations.no_balance"),o)):(a(Object(n.a)("translations.timestamp_success"),{type:"snackbar",id:"wordproof-timestamp-notice"}),l(s,t.hash,r,o));else if(t.error)switch(t.error){case"not_authenticated":o.type="snackbar",o.actions=[{label:Object(n.a)("translations.open_authentication_button_text"),onClick:()=>{Object(i.a)("wordproof:open_authentication")},variant:"link"}],r(Object(n.a)("translations.not_authenticated"),o);break;case"timestamp_failed":default:r(Object(n.a)("translations.timestamp_failed"),o)}},l=async(e,t,a,s)=>{setTimeout(async()=>{(await Object(r.c)(e)).hash!==t&&(s.type="snackbar",a(Object(n.a)("translations.webhook_failed"),s))},1e4)};c.proptypes={timestampResponse:o.a.any.isRequired,createSuccessNotice:o.a.func.isRequired,createErrorNotice:o.a.func.isRequired,postId:o.a.number.isRequired};const{debounce:d}=lodash,{applyFilters:u}=wp.hooks;function p(e,t,a){e(d(async()=>{if(u("wordproof.timestamp",!0)){const e=Object(n.a)("current_post_id"),s=await Object(r.g)(e);c({response:s,createSuccessNotice:t,createErrorNotice:a,postId:e})}},500))}},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return j}));var r=a(6),n=a(18),s=a(4),o=a(12),i=a(120),c=a(61),l=a(58);const{updateReplacementVariable:d,updateData:u,hideReplacementVariables:p,setContentImage:m,updateSettings:h,setEditorDataContent:b,setEditorDataTitle:g,setEditorDataExcerpt:f,setEditorDataImageUrl:O,setEditorDataSlug:y}=n.actions,w=e.jQuery;class j{constructor(e,t){this._refresh=e,this._store=t,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this._data=this.getInitialData(e),Object(c.fillReplacementVariables)(this._data,this._store),this._store.dispatch(p(t)),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}getInitialData(e){const t=this.collectGutenbergData(this.getPostAttribute);return e=Object(c.mapCustomFields)(e,this._store),e=Object(c.mapCustomTaxonomies)(e,this._store),{...e,...t}}setRefresh(e){this._refresh=e}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const a in e)if(e.hasOwnProperty(a)&&(!(a in t)||e[a]!==t[a]))return!1;return!0}getMediaById(e){return this._coreDataSelect||(this._coreDataSelect=Object(r.select)("core")),this._coreDataSelect.getMedia(e)}getPostAttribute(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(r.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}getSlug(){if("auto-draft"===this.getPostAttribute("status"))return"";let e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");const t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}getPostBaseUrl(e){const t=Object(r.select)("core/editor").getPermalink();let a,n="";try{a=new URL(t),n=a.href}catch(e){n=window.wpseoScriptData.metabox.base_url}return n=n.replace(new RegExp(e+"/$"),""),n.endsWith("/")||(n+="/"),n}collectGutenbergData(){const e=this.getPostAttribute("content"),t=this.calculateContentImage(e),a=this.getPostAttribute("excerpt")||"",r=this.getSlug();return{content:e,title:this.getPostAttribute("title")||"",slug:r,excerpt:a||Object(c.excerptFromContent)(e,"ja"===Object(l.a)()?80:156),excerpt_only:a,snippetPreviewImageURL:this.getFeaturedImage()||t,contentImage:t,baseUrl:this.getPostBaseUrl(r)}}getFeaturedImage(){const e=this.getPostAttribute("featured_media");if(e){const t=this.getMediaById(e);if(t)return t.source_url}return null}calculateContentImage(e){const t=o.languageProcessing.imageInText(e);let a="";if(0===t.length)return"";do{var r=t.shift(),n=(r=w(r)).prop("src");n&&(a=n)}while(""===a&&t.length>0);return a}handleEditorChange(e){this._data.content!==e.content&&this._store.dispatch(b(e.content)),this._data.title!==e.title&&(this._store.dispatch(g(e.title)),this._store.dispatch(d("title",e.title))),this._data.excerpt!==e.excerpt&&(this._store.dispatch(f(e.excerpt)),this._store.dispatch(d("excerpt",e.excerpt)),this._store.dispatch(d("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&(this._store.dispatch(y(e.slug)),this._store.dispatch(u({slug:e.slug}))),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&(this._store.dispatch(O(e.snippetPreviewImageURL)),this._store.dispatch(u({snippetPreviewImageURL:e.snippetPreviewImageURL}))),this._data.contentImage!==e.contentImage&&this._store.dispatch(m(e.contentImage)),this._data.baseUrl!==e.baseUrl&&this._store.dispatch(h({baseUrl:e.baseUrl}))}reapplyMarkers(){const{getActiveMarker:e,getMarkerPauseStatus:t}=Object(r.select)("yoast-seo/editor"),a=e(),n=t();a&&!n&&Object(i.c)()}refreshYoastSEO(){const e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}areNewAnalysisResultsAvailable(){const e=Object(r.select)("yoast-seo/editor"),t=e.getReadabilityResults(),a=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==a)&&(this._previousReadabilityResults=t,this._previousSeoResults=a,!0)}onNewAnalysisResultsAvailable(){this.reapplyMarkers()}subscribeToGutenberg(){this.subscriber=Object(s.debounce)(this.refreshYoastSEO,500),Object(r.subscribe)(this.subscriber)}subscribeToYoastSEO(){this.yoastSubscriber=()=>{this.areNewAnalysisResultsAvailable()&&this.onNewAnalysisResultsAvailable()},Object(r.subscribe)(this.yoastSubscriber)}getData(){return this._data}}}).call(this,a(183))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var r=a(0),n=a(179),s=a(223),o=a(97),i=a(6),c=a(2),l=a(63),d=a(4),u=a(13),p=a(18),m=a(197),h=a(162);const{subscribe:b,select:g}=wp.data;function f(e){let t=!0;b(()=>{const a=g("core/editor").isSavingPost(),r=g("core/editor").isAutosavingPost(),n=g("core/editor").didPostSaveRequestSucceed();if(a&&n&&!r){if(t)return void(t=!1);e()}})}var O=a(14),y=a(15),w=a(46),j=a(11),E=a.n(j),v=a(1),k=a.n(v),_=a(8);const T=a.n(_).a.svg`
448
  width: ${e=>e.size}px;
449
  height: ${e=>e.size}px;
450
  &&& path {
459
  fill: ${e=>e.seoScoreColor};
460
  display: ${e=>e.isKeywordAnalysisActive?"inline":"none"};
461
  }
462
+ `,x=function(e){return Object(r.createElement)(T,E()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),Object(r.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(r.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(r.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(r.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"}))};x.propTypes={readabilityScoreColor:k.a.string,isContentAnalysisActive:k.a.bool,seoScoreColor:k.a.string,isKeywordAnalysisActive:k.a.bool,size:k.a.number,color:k.a.string},x.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};var R=x,S=Object(O.compose)([Object(i.withSelect)(e=>{const t=e("yoast-seo/editor"),a=Object(w.a)(t.getResultsForFocusKeyword().overallScore),r=Object(w.a)(t.getReadabilityResults().overallScore),{isKeywordAnalysisActive:n,isContentAnalysisActive:s}=t.getPreferences();let o,i;switch(r.className){case"good":o=y.colors.$color_good;break;case"ok":o=y.colors.$color_ok;break;case"bad":default:o=y.colors.$color_bad}switch(a.className){case"good":i=y.colors.$color_good;break;case"ok":i=y.colors.$color_ok;break;case"bad":default:i=y.colors.$color_bad}return{readabilityScoreColor:o,seoScoreColor:i,isKeywordAnalysisActive:n,isContentAnalysisActive:s}})])(R),C=a(131),P=a(166),L=a(62),A=a(184),I=a(25),F=a(77),q=a(167),N=()=>Object(r.createElement)(F.a,{title:Object(c.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(r.createElement)(q.a,{showCloseButton:!1,hasPaperStyle:!1})),M=a(141),D=a(168),W=()=>Object(r.createElement)(F.a,{title:Object(c.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(r.createElement)(D.a,null)),U=a(169),z=()=>Object(r.createElement)(F.a,{title:Object(c.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(r.createElement)(U.a,null)),$=a(142),H=a(59),K=a(140),B=a(172),V=a(161),Y=a(135);function G(e){let{settings:t}=e;const a=Object(d.get)(window,"wpseoScriptData.webinarIntroBlockEditorUrl","https://yoa.st/webinar-intro-block-editor");return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(u.Fill,{name:"YoastSidebar"},Object(r.createElement)(I.a,{key:"warning",renderPriority:1},Object(r.createElement)(P.a,null),Object(r.createElement)("div",{style:{margin:"0 16px"}},Object(r.createElement)(V.a,{hasIcon:!1,image:null,url:a}))),t.isKeywordAnalysisActive&&Object(r.createElement)(I.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(L.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),Object(r.createElement)(I.a,{key:"google-preview",renderPriority:25},Object(r.createElement)(N,null)),t.displayFacebook&&Object(r.createElement)(I.a,{key:"facebook-preview",renderPriority:26},Object(r.createElement)(z,null)),t.displayTwitter&&Object(r.createElement)(I.a,{key:"twitter-preview",renderPriority:27},Object(r.createElement)(W,null)),t.displaySchemaSettings&&Object(r.createElement)(I.a,{key:"schema",renderPriority:28},Object(r.createElement)(H.a,{title:Object(c.__)("Schema","wordpress-seo")},Object(r.createElement)($.a,null))),t.displayAdvancedTab&&Object(r.createElement)(I.a,{key:"advanced",renderPriority:29},Object(r.createElement)(H.a,{title:Object(c.__)("Advanced","wordpress-seo")},Object(r.createElement)(K.a,null))),t.isKeywordAnalysisActive&&Object(r.createElement)(I.a,{key:"seo",renderPriority:10},Object(r.createElement)(r.Fragment,null,Object(r.createElement)(L.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive,isYoastSEOWooActive:t.isYoastSEOWooEnabled}),t.shouldUpsell&&Object(r.createElement)(M.a,{location:"sidebar"}))),t.isContentAnalysisActive&&Object(r.createElement)(I.a,{key:"readability",renderPriority:20},Object(r.createElement)(L.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell,isYoastSEOWooActive:t.isYoastSEOWooEnabled})),t.isKeywordAnalysisActive&&Object(r.createElement)(I.a,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&Object(r.createElement)(Y.a,null)),t.isCornerstoneActive&&Object(r.createElement)(I.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(C.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(r.createElement)(I.a,{renderPriority:23},Object(r.createElement)(B.a,{location:"sidebar"})),t.isInsightsEnabled&&Object(r.createElement)(I.a,{renderPriority:32},Object(r.createElement)(A.a,{location:"sidebar"}))))}G.propTypes={settings:k.a.object.isRequired};var Z=Object(i.withSelect)((e,t)=>{const{getPreferences:a}=e("yoast-seo/editor");return{settings:a(),store:t.store}})(G),J=a(193),Q=a(120),X=a(136),ee=a(67);function te(e){let{theme:t}=e;return Object(r.createElement)(ee.a,{theme:t,location:"sidebar"},Object(r.createElement)(u.Slot,{name:"YoastSidebar"},e=>Object(X.a)(e)))}var ae=a(41),re=a(224),ne=a(60),se=a(86),oe=Object(u.withSpokenMessages)((function(e){let{isActive:t,activeAttributes:a,addingLink:n,value:s,onChange:o,speak:i,stopAddingLink:p}=e;const m=Object(r.useMemo)(d.uniqueId,[n]),[h,b]=Object(r.useState)(),g=Object(r.useMemo)(()=>{const e=window.getSelection();if(!e.rangeCount)return;const a=e.getRangeAt(0);if(n&&!t)return a;let r=a.startContainer;for(r=r.nextElementSibling||r;r.nodeType!==window.Node.ELEMENT_NODE;)r=r.parentNode;return r.closest("a")},[n,s.start,s.end]),f={url:a.url,type:a.type,id:a.id,opensInNewTab:"_blank"===a.target,noFollow:a.rel&&a.rel.split(" ").includes("nofollow"),sponsored:a.rel&&a.rel.split(" ").includes("sponsored"),...h},O=Object(r.createElement)(ne.a,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},Object(r.createElement)("span",{className:"screen-reader-text"},Object(c.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),y=Object(se.a)(Object(c.sprintf)(Object(c.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(r.createElement)("code",null),helplink:O}),w=Object(se.a)(Object(c.sprintf)(Object(c.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(r.createElement)("code",null),helplink:O}),j=[{id:"opensInNewTab",title:Object(c.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:y},{id:"sponsored",title:w}],{__experimentalLinkControl:E}=window.wp.blockEditor;return Object(r.createElement)(u.Popover,{key:m,anchorRef:g,focusOnMount:!!n&&"firstElement",onClose:p,position:"bottom center"},Object(r.createElement)(E,{value:f,onChange:function(e){e={...h,...e};const a=f.url===e.url&&f.opensInNewTab!==e.opensInNewTab||f.noFollow!==e.noFollow||f.sponsored!==e.sponsored;a&&!0===e.sponsored&&!0!==f.sponsored&&(e.noFollow=!0),a&&!1===e.noFollow&&!1!==f.noFollow&&(e.sponsored=!1);const r=a&&void 0===e.url;if(b(r?e:void 0),r)return;const n=Object(ae.prependHTTP)(e.url),u=function(e){let{url:t,opensInNewWindow:a,noFollow:r,sponsored:n}=e;const s={type:"core/link",attributes:{url:t}};let o=[];return a&&(s.attributes.target="_blank",o.push("noreferrer noopener")),n&&(o.push("sponsored"),o.push("nofollow")),r&&o.push("nofollow"),o.length>0&&(o=Object(d.uniq)(o),s.attributes.rel=o.join(" ")),s}({url:n,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(l.isCollapsed)(s)&&!t){const t=e.title||n,a=Object(l.applyFormat)(Object(l.create)({text:t}),u,0,t.length);o(Object(l.insert)(s,a))}else{const e=Object(l.applyFormat)(s,u);e.start=e.end,e.activeFormats=[],o(e)}a||p(),function(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=Object(ae.getProtocol)(t);if(!Object(ae.isValidProtocol)(e))return!1;if(Object(d.startsWith)(e,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const a=Object(ae.getAuthority)(t);if(!Object(ae.isValidAuthority)(a))return!1;const r=Object(ae.getPath)(t);if(r&&!Object(ae.isValidPath)(r))return!1;const n=Object(ae.getQueryString)(t);if(n&&!Object(ae.isValidQueryString)(n))return!1;const s=Object(ae.getFragment)(t);if(s&&!Object(ae.isValidFragment)(s))return!1}return!(Object(d.startsWith)(t,"#")&&!Object(ae.isValidFragment)(t))}(n)?i(t?Object(c.__)("Link edited.","wordpress-seo"):Object(c.__)("Link inserted.","wordpress-seo"),"assertive"):i(Object(c.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive")},forceIsEditingLink:n,settings:j}))}));const ie=Object(c.__)("Link","wordpress-seo"),ce={name:"core/link",title:ie,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule(e,t){let{html:a,plainText:r}=t;if(Object(l.isCollapsed)(e))return e;const n=(a||r).replace(/<[^>]+>/g,"").trim();return Object(ae.isURL)(n)?(window.console.log("Created link:\n\n",n),Object(l.applyFormat)(e,{type:"core/link",attributes:{url:Object(re.decodeEntities)(n)}})):e},edit:Object(u.withSpokenMessages)(class extends r.Component{constructor(){super(...arguments),this.addLink=this.addLink.bind(this),this.stopAddingLink=this.stopAddingLink.bind(this),this.onRemoveFormat=this.onRemoveFormat.bind(this),this.state={addingLink:!1}}addLink(){const{value:e,onChange:t}=this.props,a=Object(l.getTextContent)(Object(l.slice)(e));a&&Object(ae.isURL)(a)?t(Object(l.applyFormat)(e,{type:"core/link",attributes:{url:a}})):a&&Object(ae.isEmail)(a)?t(Object(l.applyFormat)(e,{type:"core/link",attributes:{url:"mailto:"+a}})):this.setState({addingLink:!0})}stopAddingLink(){this.setState({addingLink:!1}),this.props.onFocus()}onRemoveFormat(){const{value:e,onChange:t,speak:a}=this.props;t(Object(l.removeFormat)(e,"core/link")),a(Object(c.__)("Link removed.","wordpress-seo"),"assertive")}render(){const{isActive:e,activeAttributes:t,value:a,onChange:n}=this.props,{RichTextToolbarButton:s,RichTextShortcut:o}=window.wp.blockEditor;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(o,{type:"primary",character:"k",onUse:this.addLink}),Object(r.createElement)(o,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&Object(r.createElement)(s,{name:"link",icon:"editor-unlink",title:Object(c.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&Object(r.createElement)(s,{name:"link",icon:"admin-links",title:ie,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||e)&&Object(r.createElement)(oe,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:t,value:a,onChange:n}))}})};var le=a(7),de=a(185);function ue(e){let{checklist:t,onClick:a}=e;const n=t.every(e=>"good"===e.score);return Object(r.createElement)(r.Fragment,null,t.map(e=>Object(r.createElement)(de.a,E()({key:e.label},e))),Object(r.createElement)("br",null),!n&&Object(r.createElement)(le.Button,{onClick:a},Object(c.__)("Improve your post with Yoast SEO","wordpress-seo")))}function pe(e){let t,{checklist:a,onClick:n}=e;return t=a.every(e=>"good"===e.score)?Object(c.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):Object(c.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",null,t),Object(r.createElement)(ue,{checklist:a,onClick:n}))}ue.propTypes={checklist:k.a.array.isRequired,onClick:k.a.func.isRequired},pe.propTypes={checklist:k.a.array.isRequired,onClick:k.a.func.isRequired};var me=a(17);function he(e,t){const{isKeywordAnalysisActive:a}=t.getPreferences();if(a){const a=Object(w.a)(t.getReadabilityResults().overallScore);e.push({label:Object(c.__)("Readability analysis:","wordpress-seo"),score:a.className,scoreValue:a.screenReaderReadabilityText})}}function be(e,t){const{isContentAnalysisActive:a}=t.getPreferences();if(a){const a=Object(w.a)(t.getResultsForFocusKeyword().overallScore),r=Object(me.a)().isPremium;e.push({label:r?Object(c.__)("Premium SEO analysis:","wordpress-seo"):Object(c.__)("SEO analysis:","wordpress-seo"),score:a.className,scoreValue:a.screenReaderReadabilityText})}}function ge(e,t,a){if(!a.getBlocks().some(e=>!0===e.attributes["is-yoast-schema-block"]))return;const r=t.getSchemaBlocksValidationResults(),n=Object.values(r);if(n&&n.length>0){const t=n.every(e=>e.result<=0);e.push({label:Object(c.__)("Schema analysis:","wordpress-seo"),score:t?"good":"bad",scoreValue:t?Object(c.__)("Good","wordpress-seo"):Object(c.__)("Needs improvement","wordpress-seo")})}}var fe,Oe,ye,we=Object(O.compose)([Object(i.withSelect)((function(e){const t=e("yoast-seo/editor"),a=e("yoast-seo/schema-blocks"),r=e("core/block-editor"),n=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:Object(c.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(n,t),he(n,t),be(n,t),ge(n,a,r),n.push(...Object.values(t.getChecklistItems())),{checklist:n}})),Object(i.withDispatch)((function(e){const{closePublishSidebar:t,openGeneralSidebar:a}=e("core/edit-post");return{onClick:()=>{t(),a("yoast-seo/seo-sidebar")}}}))])(pe),je=Object(O.compose)([Object(i.withSelect)((function(e){const t=e("yoast-seo/editor"),a=e("yoast-seo/schema-blocks"),r=e("core/block-editor"),n=[];return he(n,t),be(n,t),ge(n,a,r),n.push(...Object.values(t.getChecklistItems())),{checklist:n}})),Object(i.withDispatch)((function(e){const{openGeneralSidebar:t}=e("core/edit-post");return{onClick:()=>{t("yoast-seo/seo-sidebar")}}}))])(ue),Ee=a(3);function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function ke(e){return Ee.createElement("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1600","aria-hidden":"true"},e),fe||(fe=Ee.createElement("g",{fill:"none",fillRule:"evenodd"},Ee.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"}),Ee.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 _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function Te(e){return Ee.createElement("svg",_e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400","aria-hidden":"true"},e),Oe||(Oe=Ee.createElement("circle",{cx:200,cy:200,r:200,fill:"#1da1f2"})),ye||(ye=Ee.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 xe(e){let{permalink:t}=e;const a=encodeURI(t);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",null,Object(c.__)("Share your post!","wordpress-seo")),Object(r.createElement)("ul",{className:"yoast-seo-social-share-buttons"},Object(r.createElement)("li",null,Object(r.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+a,target:"_blank",rel:"noopener noreferrer"},Object(r.createElement)(ke,null),Object(c.__)("Facebook","wordpress-seo"),Object(r.createElement)("span",{className:"screen-reader-text"},Object(c.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(r.createElement)("li",null,Object(r.createElement)("a",{href:"https://twitter.com/share?url="+a,target:"_blank",rel:"noopener noreferrer"},Object(r.createElement)(Te,null),Object(c.__)("Twitter","wordpress-seo"),Object(r.createElement)("span",{className:"screen-reader-text"},Object(c.__)("(Opens in a new browser tab)","wordpress-seo"))))))}xe.propTypes={permalink:k.a.string.isRequired};var Re=Object(O.compose)([Object(i.withSelect)(e=>({permalink:e("core/editor").getPermalink()}))])(xe),Se=a(111);function Ce(e){const{hasTrackedKeyphrases:t,trackAll:a}=e;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(le.FieldGroup,{label:Object(c.__)("SEO performance","wordpress-seo"),linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")}),Object(r.createElement)(Se.a,null),t&&Object(r.createElement)("p",null,Object(c.__)("Tracking has already been enabled for one or more keyphrases of this page. Clicking the button below will enable tracking for all of its keyphrases.","wordpress-seo")),Object(r.createElement)("div",{className:"yoast"},Object(r.createElement)(le.NewButton,{variant:"secondary",onClick:a},Object(c.__)("Track all keyphrases on this page","wordpress-seo"))),Object(r.createElement)(B.a,{location:"postpublish"}))}Ce.propTypes={trackAll:k.a.func,hasTrackedKeyphrases:k.a.bool},Ce.defaultProps={trackAll:()=>{},hasTrackedKeyphrases:!1};var Pe=Object(O.compose)([Object(i.withSelect)(e=>{const{getWincherTrackedKeyphrases:t,hasWincherTrackedKeyphrases:a}=e("yoast-seo/editor");return{trackedKeyphrases:t(),hasTrackedKeyphrases:a()}}),Object(i.withDispatch)(e=>{const{setWincherOpenModal:t,setWincherTrackAllKeyphrases:a}=e("yoast-seo/editor");return{trackAll:()=>{a(!0),t("postpublish")}}})])(Ce),Le=a(34);var Ae=a(225);window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){const t=Object(me.a)(),a=t.isPremium,l=a?"Yoast SEO Premium":"Yoast SEO",d=Object(r.createElement)(R,null);Object(o.updateCategory)("yoast-structured-data-blocks",{icon:d}),Object(o.updateCategory)("yoast-internal-linking-blocks",{icon:d});const p={isRtl:t.isRtl},m=e.getState().preferences,h=m.isKeywordAnalysisActive||m.isContentAnalysisActive,b=m.isZapierIntegrationActive&&!m.isZapierConnected,g=m.isKeywordAnalysisActive&&m.isWincherIntegrationActive;!Object(i.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]&&Object(i.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel"),Object(s.registerPlugin)("yoast-seo",{render:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(n.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:Object(r.createElement)(S,null)},l),Object(r.createElement)(n.PluginSidebar,{name:"seo-sidebar",title:l},Object(r.createElement)(te,{store:e,theme:p})),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(Z,{store:e,theme:p}),Object(r.createElement)(J.a,{target:"wpseo-metabox-root",store:e,theme:p})),h&&Object(r.createElement)(n.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(c.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(r.createElement)(r.Fragment,null)},Object(r.createElement)(we,null)),a&&b&&Object(r.createElement)(n.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:Object(r.createElement)(r.Fragment,null)},Object(r.createElement)(u.Slot,{name:"YoastZapierPrePublish"})),Object(r.createElement)(n.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(c.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(r.createElement)(r.Fragment,null)},Object(r.createElement)(Re,null),g&&Object(r.createElement)(Pe,null)),h&&Object(r.createElement)(n.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:Object(c.__)("Yoast SEO","wordpress-seo"),icon:Object(r.createElement)(r.Fragment,null)},Object(r.createElement)(je,null))),icon:Object(r.createElement)(S,null)})})(e),"function"==typeof Object(d.get)(window,"wp.blockEditor.__experimentalLinkControl")?[ce].forEach(e=>{let{name:t,replaces:a,...r}=e;a&&Object(i.dispatch)("core/rich-text").removeFormatTypes(a),t&&Object(l.registerFormatType)(t,r)}):console.warn(Object(c.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+Object(c.sprintf)(Object(c.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){Object(Q.b)()&&e.dispatch(p.actions.setMarkerStatus("enabled"))}(e),Object(Le.b)()&&function(){const{createSuccessNotice:e,createErrorNotice:t}=Object(i.dispatch)("core/notices");Object(h.a)(),Object(m.a)(f,e,t)}()},window.yoast.EditorData=Ae.a}]);
js/dist/bulk-editor.js CHANGED
@@ -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=239)}({18:function(e,n){e.exports=window.jQuery},239:function(e,n,t){"use strict";t.r(n);var s,i=t(18),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()}))}))}});
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=240)}({16:function(e,n){e.exports=window.jQuery},240:function(e,n,t){"use strict";t.r(n);var s,i=t(16),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.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},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 a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},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=271)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.helpers},,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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(4);function r(){return Object(a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t){e.exports=window.jQuery},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var a=n(0);function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(a.createInterpolateElement)(e,{a:Object(a.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,n){var a;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var s=typeof a;if("string"===s||"number"===s)e.push(a);else if(Array.isArray(a)&&a.length){var o=r.apply(null,a);o&&e.push(o)}else if("object"===s)for(var i in a)n.call(a,i)&&a[i]&&e.push(i)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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},r=i(n(3)),s=i(n(107)),o=i(n(110));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":a(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,n){var o,i,l,d,u,p,h,m,b=[],g={};for(p=0;p<t.length;p++)if("string"!==(u=t[p]).type){if(!n.hasOwnProperty(u.value)||void 0===n[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==a(n[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+c);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){o=n[u.value],l=p;break}b.push(n[u.value])}else b.push(u.value);return o&&(d=function(e,t){var n,a,r=t[e],s=0;for(a=e+1;a<t.length;a++)if((n=t[a]).value===r.value){if("componentOpen"===n.type){s++;continue}if("componentClose"===n.type){if(0===s)return a;s--}}throw new Error("Missing closing component token `"+r.value+"`")}(l,t),h=e(t.slice(l+1,d),n),i=r.default.cloneElement(o,{},h),b.push(i),d<t.length-1&&(m=e(t.slice(d+1),n),b=b.concat(m))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,s.default)(g))}(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";var a=n(0),r=n(1),s=n.n(r);const o=e=>{let{children:t}=e;return Object(a.createElement)("div",null,t)};o.propTypes={renderPriority:s.a.number.isRequired,children:s.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o}));var a=n(26),r=n.n(a);async function s(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===a?t(r):n(r))}catch(e){console.error(e.message)}}async function o(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const{get:a}=lodash,r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l}));var a=n(11),r=n.n(a),s=n(0),o=n(1),i=n.n(o),c=n(13);const l="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:n,showYoastIcon:a,additionalClassName:o,...i}=e,l=a?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(c.Modal,r()({title:t,className:`${n} ${o}`,icon:l},i),e.children)};d.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},d.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l}));var a=n(4),r=n(16);const s=e=>Object(a.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),o=()=>{const e=Object(r.a)();return 1===Object(a.get)(e,"wordproofIntegrationActive",0)},i=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},c=()=>{i("wordproof:open_authentication")},l=()=>{i("wordproof:open_settings")}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n(1),s=n.n(r);function o(e){let{target:t,children:n}=e,r=t;return"string"==typeof t&&(r=document.getElementById(t)),r?Object(a.createPortal)(n,r):null}o.propTypes={target:s.a.oneOfType([s.a.string,s.a.object]).isRequired,children:s.a.node.isRequired}},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 d})),n.d(t,"isTinyMCELoaded",(function(){return u})),n.d(t,"isTinyMCEAvailable",(function(){return p})),n.d(t,"getContentTinyMce",(function(){return h})),n.d(t,"addEventHandler",(function(){return m})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return g})),n.d(t,"isTextViewActive",(function(){return f})),n.d(t,"wpTextViewOnInitCheck",(function(){return y})),n.d(t,"tinyMceEventBinder",(function(){return w}));var a=n(4),r=n(87),s=n(139),o=n(17);let i;var c="content",l="description";function d(e){i=e}function u(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function p(e){if(!u())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function h(e){var t,n,a;return n=!1===p(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),a=new RegExp("&amp;","g"),n.replace(a,"&")}function m(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var s=r.editor;s.id===e&&Object(a.forEach)(t,(function(e){s.on(e,n)}))}))}function b(){Object(a.isUndefined)(i)||i.dispatch(o.actions.setMarkerStatus("disabled"))}function g(){Object(a.isUndefined)(i)||i.dispatch(o.actions.setMarkerStatus("enabled"))}function f(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function y(){f()&&(b(),u()&&tinyMCE.on("AddEditor",(function(){g()})))}function w(e,t){m(t,["input","change","cut","paste"],e),m(t,["hide"],b);const n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),m(t,n,g),m("content",["focus"],(function(e){var t=e.target;Object(r.a)(t)&&(Object(r.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(26),r=n.n(a),s=n(47);async function o(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===a?t(r):n(r))}catch(e){}}async function i(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await o(async()=>await Object(s.a)(),e=>e,()=>!1)},,function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l}));var a=n(4),r=n(27);async function s(){return await Object(r.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:n}=e;return await Object(r.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:n}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return await Object(r.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:n})}async function c(e){return Object(a.isArray)(e)||(e=[e]),await Object(r.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(r.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ue})),n.d(t,"b",(function(){return pe})),n.d(t,"c",(function(){return he})),n.d(t,"d",(function(){return me}));var a=n(4),r=n(9),s=n(0),o=n(3),i=n.n(o),c=n(1),l=n.n(c),d=n(8),u=n.n(d);const p=u.a.p`
2
  color: #606770;
3
  flex-shrink: 0;
4
  font-size: 12px;
@@ -208,7 +208,7 @@
208
  `,ae=u()(te)`
209
  flex-direction: row;
210
  height: 125px;
211
- `;class re extends o.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:n,alt:a,title:r,description:o,siteUrl:i}=this.props,c=e?ne:ae;return Object(s.createElement)(c,{id:"twitterPreview"},Object(s.createElement)(G,{src:t||n,alt:a,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(s.createElement)(X,null,Object(s.createElement)(z,{siteUrl:i}),Object(s.createElement)(Q,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},r),Object(s.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}re.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,isLarge:l.a.bool,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},re.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var se=re,oe=n(7),ie=n(66),ce=n(28);class le extends o.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Facebook"===e.socialMediumName?W:se,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:n,onRemoveImageClick:a,socialMediumName:r,imageWarnings:o,siteUrl:c,description:l,descriptionInputPlaceholder:d,descriptionPreviewFallback:u,imageUrl:p,imageFallbackUrl:h,alt:m,title:b,titleInputPlaceholder:g,titlePreviewFallback:f,replacementVariables:y,recommendedReplacementVariables:w,applyReplacementVariables:O,onReplacementVariableSearchChange:j,isPremium:v,isLarge:E,socialPreviewLabel:T,idSuffix:_,activeMetaTabId:k}=this.props,x=O({title:b||f,description:l||u});return Object(s.createElement)(i.a.Fragment,null,T&&Object(s.createElement)(oe.SimulatedLabel,null,T),Object(s.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:n,siteUrl:c,title:x.title,description:x.description,imageUrl:p,imageFallbackUrl:h,alt:m,isLarge:E,activeMetaTabId:k}),Object(s.createElement)(ie.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:b,titleInputPlaceholder:g,onRemoveImageClick:a,imageSelected:!!p,imageUrl:p,onTitleChange:t,onSelectImageClick:n,description:l,descriptionInputPlaceholder:d,imageWarnings:o,replacementVariables:y,recommendedReplacementVariables:w,onReplacementVariableSearchChange:j,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:v,setEditorRef:this.setEditorRef,idSuffix:_}))}}le.propTypes={title:l.a.string.isRequired,onTitleChange:l.a.func.isRequired,description:l.a.string.isRequired,onDescriptionChange:l.a.func.isRequired,imageUrl:l.a.string.isRequired,imageFallbackUrl:l.a.string.isRequired,onSelectImageClick:l.a.func.isRequired,onRemoveImageClick:l.a.func.isRequired,socialMediumName:l.a.string.isRequired,alt:l.a.string,isPremium:l.a.bool,imageWarnings:l.a.array,isLarge:l.a.bool,siteUrl:l.a.string,descriptionInputPlaceholder:l.a.string,titleInputPlaceholder:l.a.string,descriptionPreviewFallback:l.a.string,titlePreviewFallback:l.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,applyReplacementVariables:l.a.func,onReplacementVariableSearchChange:l.a.func,socialPreviewLabel:l.a.string,idSuffix:l.a.string,activeMetaTabId:l.a.string},le.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const de=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function ue(e){return new Promise((t,n)=>{window.wp.media.attachment||n(),window.wp.media.attachment(e).fetch().then(e=>{t(de(e))}).catch(()=>n())})}function pe(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const n=t.state().get("selection").first();e(de(n.attributes))}),t})(e).open()}const he=e=>{const{width:t,height:n}=e,a=E({width:t,height:n}),s=v[a+"Width"],o=v[a+"Height"],i=Object.values(e.sizes).find(e=>e.width>=s&&e.height>=o);return{url:i?i.url:e.url,id:e.id,warnings:Object(r.validateFacebookImage)(e),alt:e.alt||""}},me=e=>{const t="summary"!==Object(a.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",n=j[t+"Width"],s=j[t+"Height"],o=Object.values(e.sizes).find(e=>e.width>=n&&e.height>=s);return{url:o?o.url:e.url,id:e.id,warnings:Object(r.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"i",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"o",(function(){return m})),n.d(t,"p",(function(){return b})),n.d(t,"k",(function(){return g})),n.d(t,"q",(function(){return f})),n.d(t,"r",(function(){return y})),n.d(t,"n",(function(){return w})),n.d(t,"m",(function(){return O})),n.d(t,"l",(function(){return j}));var a=n(9);const r="SNIPPET_EDITOR_SWITCH_MODE",s="SNIPPET_EDITOR_UPDATE_DATA",o="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",i="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",c="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",d="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u="SNIPPET_EDITOR_REFRESH",p="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",h="LOAD_SNIPPET_EDITOR_DATA";function m(e){return{type:r,mode:e}}function b(e){return{type:s,data:e}}function*g(e,t){const n=yield{type:o,query:e,postId:t};return{type:i,results:n}}function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const s="string"==typeof t?Object(a.decodeHTML)(t):t;return{type:c,name:e,value:s,label:n,hidden:r}}function y(e){return{type:p,wordsToHighlight:e}}function w(e){return{type:d,name:e}}function O(){return{type:u,time:(new Date).getMilliseconds()}}function j(e){return{type:l,data:e}}},function(e,t,n){"use strict";var a=n(11),r=n.n(a),s=n(0),o=n(7),i=n(8);const c=n.n(i)()(o.Collapsible)`
212
  h2 > button {
213
  padding-left: 24px;
214
  padding-top: 16px;
@@ -224,7 +224,7 @@
224
  border-top: 1px solid rgba(0,0,0,0.2);
225
  }
226
 
227
- `;t.a=e=>Object(s.createElement)(c,r()({hasPadding:!0,hasSeparator:!0},e))},,,function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return d}));var a=n(38);const r=async e=>{const{state:t,code:n}=e;return await Object(a.a)({path:"wordproof/v1/oauth/authenticate",method:"POST",data:{state:t,code:n}})},s=async e=>{const{settings:t}=e;return await Object(a.a)({path:"wordproof/v1/settings",method:"POST",data:{settings:t}})},o=async()=>await Object(a.a)({path:"wordproof/v1/oauth/destroy",method:"POST"}),i=async()=>await Object(a.a)({path:"wordproof/v1/settings",method:"GET"}),c=async()=>await Object(a.a)({path:"wordproof/v1/authentication",method:"GET"}),l=async e=>Object(a.a)({path:`wordproof/v1/posts/${e}/timestamp`,method:"POST"}),d=async e=>Object(a.a)({path:`wordproof/v1/posts/${e}/timestamp/transaction/latest`,method:"GET"})},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(14),r=n(0),s=n(19);function o(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){const n=Object(r.useContext)(s.LocationContext);return Object(r.createElement)(e,{...t,location:n})}))}),"withLocation")}},,function(e,t){e.exports=window.yoast.externals.components},function(e,t,n){"use strict";var a=n(0),r=n(7),s=n(1),o=n.n(s);const i=e=>{const[t,n]=Object(a.useState)(!1),{prefixIcon:s}=e;return Object(a.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){n(!t)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(s&&s.color||"")}},s&&Object(a.createElement)(r.SvgIcon,{icon:s.icon,color:s.color,size:s.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)),e.hasBetaBadgeLabel&&Object(a.createElement)(r.BetaBadge,null),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:o.a.string.isRequired,children:o.a.oneOfType([o.a.node,o.a.arrayOf(o.a.node)]).isRequired,prefixIcon:o.a.object,subTitle:o.a.string,hasBetaBadgeLabel:o.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t,n){"use strict";var a=n(15),r=n(9),s=n(8),o=n.n(s);const i=Object(r.makeOutboundLink)(o.a.a`
228
  display: inline-block;
229
  position: relative;
230
  outline: none;
@@ -254,7 +254,7 @@
254
  padding: 2px;
255
  content: "\f223";
256
  }
257
- `);t.a=i},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c}));var a=n(11),r=n.n(a),s=n(0),o=n(1),i=n.n(o);const c=i.a.shape({value:i.a.string.isRequired,onChange:i.a.func.isRequired});t.a=e=>t=>{class n extends s.Component{constructor(t){super(t),this.elements={};const n={};this.fields=e(t),this.fields.forEach(e=>{const{name:t,fieldId:a}=e,r=document.getElementById(a);r&&(this.elements[t]=r,n[t]={value:r.value,onChange:this.onChange.bind(this,t)})}),this.state=n}static get propTypes(){return{children:i.a.node}}onChange(e,t){this.setState({...this.state,[e]:{...this.state[e],value:t}},()=>{this.elements[e]&&(this.elements[e].value=t)})}render(){const{children:e,...n}=this.props;return Object(s.createElement)(t,r()({},n,this.state),e)}}return n}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(4),r=n(16);function s(){const e=Object(r.a)();return Object(a.get)(e,"contentLocale","en_US")}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return l})),n.d(t,"fillReplacementVariables",(function(){return d})),n.d(t,"handlePrefixes",(function(){return u})),n.d(t,"createLabelFromName",(function(){return p})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return m})),n.d(t,"prepareCustomFieldForDispatch",(function(){return b})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),n.d(t,"mapCustomTaxonomies",(function(){return f})),n.d(t,"mapCustomFields",(function(){return y})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return O}));var a=n(4),r=n(124),s=n(43),o=n(20),i=n(9);const{stripHTMLTags:c}=i.strings,l=["slug","content","contentImage","snippetPreviewImageURL"];function d(e,t){Object(a.forEach)(e,(e,n)=>{l.includes(n)||t.dispatch(Object(s.q)(n,e))})}function u(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");const 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 p(e){return e=u(e),Object(o.b)(e)}function h(e,t){return e.push({name:t.name,label:t.label||p(t.name),value:t.value}),e}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function b(e){return{name:"cf_"+m(e),label:Object(o.b)(e+" (custom field)")}}function g(e){const t=m(e);return{name:"ct_"+t,label:Object(o.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(o.b)(e+" description (custom taxonomy)")}}function f(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(e,n)=>{const{name:a,label:r,descriptionName:o,descriptionLabel:i}=g(n);t.dispatch(Object(s.q)(a,e.name,r)),t.dispatch(Object(s.q)(o,e.description,i))}),Object(a.omit)({...e},"custom_taxonomies")):e}function y(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(e,n)=>{const{name:a,label:r}=b(n);t.dispatch(Object(s.q)(a,e,r))}),Object(a.omit)({...e},"custom_fields")):e}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(r.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const O=function(e){const t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:c(t(e.title)),description:c(t(e.description))}}(e);const n=t._applyModifications.bind(t);return{url:e.url,title:c(n("data_page_title",e.title)),description:c(n("data_meta_desc",e.description))}}},,,function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(8),r=n.n(a),s=n(7),o=n(9);const i=r.a.div`
258
  min-width: 600px;
259
 
260
  @media screen and ( max-width: 680px ) {
@@ -274,7 +274,7 @@
274
  height: 80px;
275
  }
276
  }
277
- `},function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(8),i=n(19);const c=e=>{let{theme:t,location:n,children:r}=e;return Object(a.createElement)(i.LocationProvider,{value:n},Object(a.createElement)(o.ThemeProvider,{theme:t},r))};c.propTypes={theme:s.a.object.isRequired,location:s.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:s.a.element.isRequired},t.a=c},function(e,t,n){"use strict";var a=n(0),r=n(7),s=n(1),o=n.n(s);const i=e=>Object(a.createElement)("div",{className:"yoast components-panel__body"},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(a.createElement)(r.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),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)),e.children,e.suffixIcon&&Object(a.createElement)(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))));t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,prefixIcon:o.a.object,children:o.a.node},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:"",children:null}},function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(2);const i=e=>{let{data:t,mapChartDataToTableData:n,dataTableCaption:r,dataTableHeaderLabels:s,isDataTableVisuallyHidden:i}=e;return t.length!==s.length?Object(a.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(a.createElement)("div",{className:i?"screen-reader-text":null},Object(a.createElement)("table",null,Object(a.createElement)("caption",null,r),Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,s.map((e,t)=>Object(a.createElement)("th",{key:t},e)))),Object(a.createElement)("tbody",null,Object(a.createElement)("tr",null,t.map((e,t)=>Object(a.createElement)("td",{key:t},n(e.y)))))))};i.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:n,height:r,fillColor:s,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}=e;const m=Math.max(1,Math.max(...t.map(e=>e.x))),b=Math.max(1,Math.max(...t.map(e=>e.y))),g=r-i,f=t.map(e=>`${e.x/m*n},${g-e.y/b*g+i}`).join(" "),y=`0,${g+i} `+f+` ${n},${g+i}`;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:`0 0 ${n} ${r}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:s,points:y}),Object(a.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),d&&Object(a.createElement)(c,{data:t,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}))};l.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},,,,,,function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},,,function(e,t,n){"use strict";var a=n(0),r=n(22),s=n.n(r),o=n(1),i=n.n(o),c=n(8),l=n.n(c),d=n(9);const u=l.a.ul`
278
  list-style: none;
279
  margin: 0 0 24px;
280
  padding: 0;
@@ -296,7 +296,7 @@
296
  `,p=l.a.small`
297
  display: block;
298
  margin-top: 4px;
299
- `,h=Object(d.makeOutboundLink)();class m extends a.Component{constructor(e){super(e)}createBenefitsList(e){return e.length>0&&Object(a.createElement)(u,{role:"list"},e.map((e,t)=>Object(a.createElement)("li",{key:t},Object(a.createElement)("span",{"aria-hidden":"true"}),s()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(a.createElement)("strong",null)}}))))}createInfoParagraphs(e){return e.map((e,t)=>Object(a.createElement)("p",{key:t},e))}render(){return Object(a.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(a.createElement)(h,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(a.createElement)(p,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}m.propTypes={benefits:i.a.array,infoParagraphs:i.a.array,upsellButton:i.a.object,upsellButtonText:i.a.string.isRequired,upsellButtonLabel:i.a.string,upsellButtonHasCaret:i.a.bool},m.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.a=m},function(e,t){e.exports=window.moment},,,,,,function(e,t,n){"use strict";var a=n(0);let r,s,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,n,a,r){return{element:e,tokenStart:t,tokenLength:n,prevOffset:a,leadingTextStart:r,children:[]}}function d(){const e=r.length-s;0!==e&&o.push(r.substr(s,e))}function u(e){const{element:t,tokenStart:n,tokenLength:s,prevOffset:o,children:c}=e,l=i[i.length-1],d=r.substr(l.prevOffset,n-l.prevOffset);d&&l.children.push(d),l.children.push(Object(a.cloneElement)(t,null,...c)),l.prevOffset=o||n+s}function p(e){const t=function(){const e=c.exec(r);if(null===e)return["no-more-tokens"];const t=e.index,[n,a,s,o]=e,i=n.length;return o?["self-closed",s,t,i]:a?["closer",s,t,i]:["opener",s,t,i]}(),[n,p,h,m]=t,b=i.length,g=h>s?s:null;if(!e[p])return d(),!1;switch(n){case"no-more-tokens":if(0!==b){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(r.substr(e,t))}return d(),!1;case"self-closed":return 0===b?(null!==g&&o.push(r.substr(g,h-g)),o.push(e[p]),s=h+m,!0):(u(l(e[p],h,m)),s=h+m,!0);case"opener":return i.push(l(e[p],h,m,h+m,g)),s=h+m,!0;case"closer":if(1===b)return function(e){const{element:t,leadingTextStart:n,prevOffset:s,tokenStart:c,children:l}=i.pop(),d=e?r.substr(s,e-s):r.substr(s);d&&l.push(d),null!==n&&o.push(r.substr(n,c-n)),o.push(Object(a.cloneElement)(t,null,...l))}(h),s=h+m,!0;const t=i.pop(),n=r.substr(t.prevOffset,h-t.prevOffset);t.children.push(n),t.prevOffset=h+m;const c=l(t.element,t.tokenStart,t.tokenLength,h+m);return c.children=t.children,u(c),s=h+m,!0;default:return d(),!1}}t.a=(e,t)=>{if(r=e,s=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every(e=>Object(a.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(a.createElement)(a.Fragment,null,...o)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(12),r=n(4);function s(e,t,n){var s=e.dom,o=e.getContent();o=a.markers.removeMarks(o),Object(r.forEach)(n,(function(e){o=e.applyWithReplace(o)})),e.setContent(o),function(e){var t=e.getContent();t=t.replace(new RegExp("&lt;yoastmark.+?&gt;","g"),"").replace(new RegExp("&lt;/yoastmark&gt;","g"),""),e.setContent(t)}(e);var i=s.select("yoastmark");Object(r.forEach)(i,(function(e){e.setAttribute("data-mce-bogus","1")}))}function o(e){return window.test=e,s.bind(null,e)}function i(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){o(e)(null,[])}},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var a=n(0),r=n(2),s=n(9),o=n(7),i=n(1),c=n.n(i),l=n(58);const d=Object(s.makeOutboundLink)();class u extends a.Component{constructor(e){var t,n,a,r;super(e),this.initialPageType=e.pageType.value,this.initialArticleType=e.articleType?e.articleType.value:"None",this.state={schema_page_type:this.initialPageType,schema_article_type:this.initialArticleType},this.handleOptionFocus=this.handleOptionFocus.bind(this),this.showNewsSEOUpsell=null===(t=window.wpseoScriptData)||void 0===t||null===(n=t.searchAppearance)||void 0===n?void 0:n.showNewsSEOUpsell,this.newsSEOUpsellURL=null===(a=window.wpseoScriptData)||void 0===a||null===(r=a.searchAppearance)||void 0===r?void 0:r.newsSEOUpsellURL,void 0===this.showNewsSEOUpsell&&(this.showNewsSEOUpsell=!1),void 0===this.newsSEOUpsellURL&&(this.newsSEOUpsellURL="")}shouldShowAlert(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}isNewsArticleSelected(){return"NewsArticle"===this.state.schema_article_type}handleOptionFocus(e,t){this.setState({[e]:t})}render(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(o.FieldGroup,{label:Object(r.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(r.__)("Learn more about the schema settings","wordpress-seo"),description:Object(r.sprintf)(
300
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
301
  Object(r.__)("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(a.createElement)(o.Alert,{type:"warning"},Object(r.sprintf)(
302
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
@@ -304,7 +304,7 @@ Object(r._n)("Upon saving, this setting will apply to all of your %1$s. %1$s tha
304
  /* translators: %s Expands to "Yoast SEO News" */
305
  Object(r.__)("Are you publishing news articles? %s helps you optimize your site for Google News. Get %s now!","wordpress-seo"),"Yoast SEO News","Yoast SEO News")+" ",Object(a.createElement)(d,{href:this.newsSEOUpsellURL},Object(r.sprintf)(
306
  /* translators: %s: Expands to "Yoast News SEO". */
307
- Object(r.__)("Get the %s plugin!","wordpress-seo"),"Yoast News SEO"))))}}const p=c.a.arrayOf(c.a.shape({name:c.a.string,value:c.a.string}));u.propTypes={postType:c.a.string.isRequired,postTypeName:c.a.string.isRequired,pageType:l.b.isRequired,articleType:l.b,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},u.defaultProps={articleType:null},t.a=Object(l.a)(e=>[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}])(u)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class a{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return a.articleTypeInput.getAttribute("data-default")}static get articleType(){return a.articleTypeInput.value}static set articleType(e){a.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return a.pageTypeInput.getAttribute("data-default")}static get pageType(){return a.pageTypeInput.value}static set pageType(e){a.pageTypeInput.value=e}}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return y}));var a=n(0),r=n(1),s=n.n(r),o=n(2),i=n(4),c=n(80),l=n.n(c),d=n(7),u=n(9),p=n(70),h=()=>Object(a.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(a.createElement)(d.SvgIcon,{icon:"loading-spinner"}));const m=Object(u.makeOutboundLink)();function b(e){return Math.round(100*e)}function g(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const n=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),r=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(a.createElement)(p.a,{width:66,height:24,data:r,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function f(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function y(e){const{keyphrase:t,rowData:n,onTrackKeyphrase:r,onUntrackKeyphrase:s,isFocusKeyphrase:c,isDisabled:u,isLoading:p}=e,b=!Object(i.isEmpty)(n),y=Object(a.useCallback)(()=>{u||(b?s(t,n.id):r(t))},[t,r,s,b,n,u]);return Object(a.createElement)("tr",null,Object(a.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:n,toggleAction:r,isLoading:s}=e;return s?Object(a.createElement)(d.SvgIcon,{icon:"loading-spinner"}):Object(a.createElement)(d.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:n,onSetToggleState:r,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:y,isLoading:p})),Object(a.createElement)("td",null,t,c&&Object(a.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:n}=e,r=!Object(i.isEmpty)(t),s=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return r?s?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,f(t)),Object(a.createElement)("td",{className:"yoast-table--nopadding"},Object(a.createElement)(g,{chartData:t})),Object(a.createElement)("td",{className:"yoast-table--nobreak"},Object(a.createElement)(m,{href:c},Object(o.__)("View","wordpress-seo")))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(a.createElement)(h,null))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,"?"),Object(a.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(a.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:s.a.object},g.defaultProps={chartData:{}},y.propTypes={rowData:s.a.object,keyphrase:s.a.string.isRequired,onTrackKeyphrase:s.a.func,onUntrackKeyphrase:s.a.func,isFocusKeyphrase:s.a.bool,isDisabled:s.a.bool,isLoading:s.a.bool,websiteId:s.a.string},y.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},n),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:n}=this.options,a=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,n,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:n,origin:a}=e;a===this.origin&&this.popup===n&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(2),i=n(22),c=n.n(i),l=n(7);const d=e=>{const t=Object(o.sprintf)(
308
  /* translators: %s expands to a link to open the Wincher login popup. */
309
  Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(a.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(a.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
310
  /* translators: %s : Expands to "Wincher". */
@@ -316,9 +316,9 @@ Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};d.propTypes={on
316
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
317
  Object(d.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(d.sprintf)(
318
  /* Translators: %s expands to Yoast SEO Premium */
319
- Object(d.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(h,{type:"info"},l()({mixedString:t,components:{strong:Object(a.createElement)("b",null)}}),Object(a.createElement)("br",null),Object(a.createElement)(m,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(a.createElement)("p",null,n))))};b.propTypes={socialMediumName:s.a.oneOf(["Twitter","Facebook"]).isRequired};var g=b,f=n(66),y=n(28);class w extends a.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:n,onRemoveImageClick:r,socialMediumName:s,imageWarnings:o,description:i,descriptionInputPlaceholder:c,imageUrl:l,alt:d,title:u,titleInputPlaceholder:p,replacementVariables:h,recommendedReplacementVariables:m,onReplacementVariableSearchChange:b,isPremium:y,location:w}=this.props;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(g,{socialMediumName:s}),Object(a.createElement)(f.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:s,title:u,titleInputPlaceholder:p,onRemoveImageClick:r,imageSelected:!!l,imageUrl:l,imageAltText:d,onTitleChange:t,onSelectImageClick:n,description:i,descriptionInputPlaceholder:c,imageWarnings:o,replacementVariables:h,recommendedReplacementVariables:m,onReplacementVariableSearchChange:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:y,setEditorRef:this.setEditorRef,idSuffix:w}))}}w.propTypes={title:s.a.string.isRequired,onTitleChange:s.a.func.isRequired,description:s.a.string.isRequired,onDescriptionChange:s.a.func.isRequired,imageUrl:s.a.string.isRequired,onSelectImageClick:s.a.func.isRequired,onRemoveImageClick:s.a.func.isRequired,socialMediumName:s.a.string.isRequired,isPremium:s.a.bool,imageWarnings:s.a.array,descriptionInputPlaceholder:s.a.string,titleInputPlaceholder:s.a.string,replacementVariables:y.replacementVariablesShape,recommendedReplacementVariables:y.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:s.a.func,location:s.a.string,alt:s.a.string},w.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""},t.a=w},function(e,t,n){"use strict";function a(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}n.d(t,"a",(function(){return a}))},,,,function(e,t,n){"use strict";var a=n(3),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=n(76),o=n(108),i=n(109),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,a={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return a[e]}))):t.toString(36);var n,a}var d=/\/+/g;function u(e){return(""+e).replace(d,"$&/")}var p,h,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 g(e,t,n,a){this.result=e,this.keyPrefix=t,this.func=n,this.context=a,this.count=0}function f(e,t,n){var r,o,i=e.result,c=e.keyPrefix,l=e.func,d=e.context,p=l.call(d,t,e.count++);Array.isArray(p)?y(p,i,n,s.thatReturnsArgument):null!=p&&(a.isValidElement(p)&&(r=p,o=c+(!p.key||t&&t.key===p.key?"":u(p.key)+"/")+n,p=a.cloneElement(r,{key:o},void 0!==r.props?r.props.children:void 0)),i.push(p))}function y(e,t,n,a,s){var i="";null!=n&&(i=u(n)+"/");var d=g.getPooled(t,i,a,s);!function(e,t,n){null==e||function e(t,n,a,s){var i,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),null===t||"string"===d||"number"===d||"object"===d&&t.$$typeof===r)return a(s,t,""===n?"."+l(t,0):n),1;var u=0,p=""===n?".":n+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)u+=e(i=t[h],p+l(i,h),a,s);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,g=m.call(t),f=0;!(b=g.next()).done;)u+=e(i=b.value,p+l(i,f++),a,s);else if("object"===d){var y=""+t;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y,"")}}return u}(e,"",t,n)}(e,f,d),g.release(d)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,a){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,a),r}return new this(e,t,n,a)},(h=g).instancePool=[],h.getPooled=p||m,h.poolSize||(h.poolSize=10),h.release=function(e){o(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(a.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(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)y(e[n],t,n,s.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,s,o,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,a,r,s,o,i],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var a=n(76);e.exports=a},function(e,t,n){"use strict";function a(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(a)}},function(e,t,n){"use strict";var a=n(0),r=n(2),s=n(22),o=n.n(s),i=n(9);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(r.sprintf)(Object(r.__)(
320
  /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
321
- "With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(a.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(a.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(a.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(r.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},,function(e,t,n){"use strict";var a=n(6),r=n(14),s=n(11),o=n.n(s),i=n(0),c=n(2),l=n(1),d=n.n(l),u=n(4),p=n(8),h=n.n(p),m=n(7),b=n(9),g=n(22),f=n.n(g);const y=Object(b.makeOutboundLink)(),w=e=>{const t=Object(c.sprintf)(
322
  /* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
323
  Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(m.Alert,{type:"error"},f()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(y,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(c.sprintf)(
324
  /* translators: %s : Expands to "Wincher". */
@@ -326,7 +326,7 @@ Object(c.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};w.propType
326
  /* translators: %s: Expands to "Wincher". */
327
  Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),E=()=>Object(i.createElement)(m.Alert,{type:"info"},Object(c.sprintf)(
328
  /* translators: %s: Expands to "Wincher". */
329
- Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),T=n(96),_=n(40),k=n(27);const x=Object(b.makeOutboundLink)(),R=h.a.span`
330
  display: block;
331
  font-style: italic;
332
 
@@ -344,7 +344,7 @@ Object(c.__)("%s is currently tracking the ranking position(s) of your page. Thi
344
  /* translators: %s expands to Wincher */
345
  Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(R,null,Object(c.__)("* focus keyphrase","wordpress-seo"))))};P.propTypes={addTrackedKeyphrase:d.a.func.isRequired,isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,newRequest:d.a.func.isRequired,removeTrackedKeyphrase:d.a.func.isRequired,setRequestFailed:d.a.func.isRequired,setKeyphraseLimitReached:d.a.func.isRequired,setRequestSucceeded:d.a.func.isRequired,setTrackedKeyphrases:d.a.func.isRequired,setHasTrackedAll:d.a.func.isRequired,trackAll:d.a.bool,trackedKeyphrases:d.a.object,websiteId:d.a.string,permalink:d.a.string.isRequired,focusKeyphrase:d.a.string},P.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var A=P,F=Object(r.compose)([Object(a.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:n,getWincherTrackableKeyphrases:a,getWincherLoginStatus:r,getWincherPermalink:s,getFocusKeyphrase:o,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:a(),trackedKeyphrases:n(),isLoggedIn:r(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:s()}}),Object(a.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:n,setWincherRequestFailed:a,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:s,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{a(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{s(e)},setHasTrackedAll:()=>{i(!1)}}})])(A),q=n(111),M=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),D=()=>Object(i.createElement)(m.Alert,{type:"info"},Object(c.sprintf)(
346
  /* translators: %s: Expands to "Wincher". */
347
- Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),N=n(100),U=n(101),W=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"));const B=e=>{let{response:t,onLogin:n}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(U.a,{onReconnect:n}):Object(i.createElement)(j,null)};B.propTypes={response:d.a.object.isRequired,onLogin:d.a.func.isRequired};const H=e=>{let{isSuccess:t,response:n,allKeyphrasesMissRanking:a,onLogin:r,keyphraseLimitReached:s,limit:o}=e;return s?Object(i.createElement)(O,{limit:o}):Object(u.isEmpty)(n)||t?a?Object(i.createElement)(E,null):null:Object(i.createElement)(B,{response:n,onLogin:r})};H.propTypes={isSuccess:d.a.bool.isRequired,allKeyphrasesMissRanking:d.a.bool.isRequired,response:d.a.object,onLogin:d.a.func.isRequired,keyphraseLimitReached:d.a.bool.isRequired,limit:d.a.number.isRequired},H.defaultProps={response:{}};let z=null;const $=async e=>{if(z&&!z.isClosed())return void z.focus();const{url:t}=await Object(_.b)();z=new N.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:n,setRequestSucceeded:a,setRequestFailed:r}=e;await Object(k.b)(()=>Object(_.a)(t),async e=>{n(!0,!0,t.websiteId.toString()),a(e);const r=z.getPopup();r&&r.close()},async e=>r(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),z.createPopup()},K=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(m.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)(
348
  /* translators: %s expands to Wincher */
349
  Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));K.propTypes={isLoggedIn:d.a.bool.isRequired,onLogin:d.a.func.isRequired};const Y=h.a.div`
350
  p {
@@ -356,7 +356,7 @@ Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));K.propTypes={isLogg
356
  font-weight: var(--yoast-font-weight-bold);
357
  color: var(--yoast-color-label);
358
  font-size: var(--yoast-font-size-default);
359
- `,Z=e=>{const{isLoggedIn:t,keyphrases:n,shouldTrackAll:a,permalink:r}=e;return!r&&t?Object(i.createElement)(W,null):0===n.length?Object(i.createElement)(M,null):Object(i.createElement)(V,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&a&&Object(i.createElement)(D,null),Object(i.createElement)(F,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:n}=e,a=Object(i.useCallback)(()=>{$(e)},[$,e]);return Object(i.createElement)(Y,null,t&&Object(i.createElement)(v,null),Object(i.createElement)(G,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(m.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(q.a,null),Object(i.createElement)(K,{isLoggedIn:n,onLogin:a}),Object(i.createElement)(H,o()({},e,{onLogin:a})),Object(i.createElement)(Z,e))}Z.propTypes={keyphrases:d.a.array.isRequired,isLoggedIn:d.a.bool.isRequired,shouldTrackAll:d.a.bool.isRequired,permalink:d.a.string.isRequired},J.propTypes={isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,response:d.a.object,shouldTrackAll:d.a.bool,permalink:d.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(r.compose)([Object(a.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:n,getWincherLimit:a,getWincherLoginStatus:r,getWincherRequestIsSuccess:s,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:d}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:r(),isNewlyAuthenticated:t(),isSuccess:s(),keyphraseLimitReached:n(),limit:a(),response:o(),shouldTrackAll:d(),permalink:l()}}),Object(a.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:n,setWincherRequestFailed:a,setWincherLoginStatus:r}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{a(e)},onAuthentication:(e,n,a)=>{t(a),r(e,n)}}})])(J)},function(e,t,n){"use strict";var a=n(4);const r=Object(a.memoize)((e,t)=>0===e?a.noop:Object(a.debounce)(n=>t(n,e),500));t.a=r},,,,,,,,,function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(8),i=n.n(o),c=n(7),l=n(9);const d=i()(c.StyledSection)`
360
  &${c.StyledSectionBase} {
361
  padding: 0;
362
 
@@ -381,7 +381,7 @@ Object(o.__)("Please wait while %1$s connects to %2$s to get related keyphrases.
381
  /* translators: %s : Expands to "Semrush". */
382
  Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(s.createElement)(h,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
383
  /* translators: %s : Expands to "Semrush". */
384
- Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(s.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),b=n(26),g=n.n(b),f=n(42);const y="yoast-semrush-country-selector",w=[{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"}];class O extends s.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:n}=this.props;n(t,e),this.storeCountryCode(t);const a=await this.doRequest(e,t);200!==a.status?this.handleFailedResponse(a):this.handleSuccessResponse(a)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:n}=this.props;0!==e.results.rows.length?n(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:n}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():n(e))}async doRequest(e,t){return await g()({path:Object(f.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return Object(s.createElement)("div",{id:y},Object(s.createElement)(d.SingleSelect,{id:y+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:w,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(s.createElement)(d.NewButton,{id:y+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}O.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},O.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var j=O,v=n(70),E=n(56);const T=Object(p.makeOutboundLink)();class _ extends s.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map((e,t)=>({x:t,y:parseFloat(e)}))}getAreaChartDataTableHeaderLabels(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:n,data:a,renderAction:r}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(n);return a&&!Object(l.isEmpty)(a.results)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("table",{className:"yoast yoast-table"},Object(s.createElement)("thead",null,Object(s.createElement)("tr",null,Object(s.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(s.createElement)(E.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(s.createElement)(E.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),r&&Object(s.createElement)("td",{className:"yoast-table--nobreak"}))),Object(s.createElement)("tbody",null,a.results.rows.map((e,n)=>{const a=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(s.createElement)("tr",{key:n},Object(s.createElement)("td",null,a),Object(s.createElement)("td",null,e[1]),Object(s.createElement)("td",{className:"yoast-table--nopadding"},Object(s.createElement)(v.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),r&&Object(s.createElement)("td",{className:"yoast-table--nobreak"},r(a,t)))}))),Object(s.createElement)("p",{style:{marginBottom:0}},Object(s.createElement)(T,{href:i},Object(o.sprintf)(
385
  /* translators: %s expands to Semrush */
386
  Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}_.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},_.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var k=_;const x=Object(p.makeOutboundLink)();var R=()=>Object(s.createElement)(d.Alert,{type:"info"},Object(o.sprintf)(
387
  /* translators: %s: Expands to "Yoast SEO". */
@@ -389,11 +389,11 @@ Object(o.__)("Would you like to be able to add these related keyphrases to the %
389
  /* translators: %s: Expands to "Yoast SEO Premium". */
390
  Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),C=()=>Object(s.createElement)(d.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),S=()=>Object(s.createElement)(d.Alert,{type:"warning"},Object(o.sprintf)(
391
  /* translators: %s: Expands to "Yoast SEO". */
392
- Object(o.__)("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")),I=n(16);function L(e){const{response:t,lastRequestKeyphrase:n,keyphrase:a,newRequest:r,setCountry:i,renderAction:c,countryCode:d,requestLimitReached:p,setRequestFailed:h,setNoResultsFound:b,relatedKeyphrases:g,setRequestSucceeded:f,setRequestLimitReached:y}=e,w=Object(I.a)().isPremium;return Object(s.createElement)(s.Fragment,null,!p&&Object(s.createElement)(s.Fragment,null,!w&&Object(s.createElement)(R,null),w&&function(e){return e&&e.length>=4}(g)&&Object(s.createElement)(S,null),Object(s.createElement)(j,{countryCode:d,setCountry:i,newRequest:r,keyphrase:a,setRequestFailed:h,setNoResultsFound:b,setRequestSucceeded:f,setRequestLimitReached:y,response:t,lastRequestKeyphrase:n})),function(e){const{isPending:t,requestLimitReached:n,isSuccess:a,response:r,requestHasData:i}=e;return t?Object(s.createElement)(u,null):n?Object(s.createElement)(m,null):!a&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(r)?Object(s.createElement)(C,null):i?void 0:Object(s.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(s.createElement)(k,{keyphrase:a,relatedKeyphrases:g,countryCode:d,renderAction:c,data:t}))}L.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},L.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(r.compose)([Object(a.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:n,getSEMrushRequestLimitReached:a,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:s,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:n(),requestLimitReached:a(),response:r(),isSuccess:s(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(a.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:n,setSEMrushRequestSucceeded:a,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:s,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{n(e,t)},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{s()},setNoResultsFound:()=>{o()}}})])(L)},,,,function(e,t,n){"use strict";var a=n(14),r=n(6),s=n(54),o=n(52);t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),Object(r.withDispatch)(e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}}),Object(o.a)()])(s.CollapsibleCornerstone)},function(e,t,n){"use strict";var a=n(0),r=n(6),s=n(2),o=n(7),i=n(4);t.a=()=>{const e=Object(r.useSelect)(e=>e("yoast-seo/editor").getEstimatedReadingTime(),[]),t=Object(a.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time",""),[]);return Object(a.createElement)(o.InsightsCard,{id:"yoastseo-estimated-reading-time-insights",amount:e,unit:Object(s._n)("minute","minutes",e,"wordpress-seo"),title:Object(s.__)("Reading time","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about reading time","wordpress-seo")})}},function(e,t,n){"use strict";var a=n(0),r=n(6),s=n(2),o=n(7),i=n(9),c=n(12),l=n(4);const d=Object(i.makeOutboundLink)();function u(e,t,n){const r=function(e){switch(e){case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("Try to make shorter sentences to improve readability","wordpress-seo");case c.DIFFICULTY.DIFFICULT:case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case c.DIFFICULTY.NO_DATA:return Object(s.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return Object(s.__)("Good job!","wordpress-seo")}}(t);return Object(a.createElement)("span",null,function(e,t){return-1===e?Object(s.sprintf)(Object(s.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):Object(s.sprintf)(
393
  /* Translators: %1$s expands to the numeric Flesch reading ease score,
394
  %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult').
395
  */
396
- Object(s.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case c.DIFFICULTY.NO_DATA:return Object(s.__)("no data","wordpress-seo");case c.DIFFICULTY.VERY_EASY:return Object(s.__)("very easy","wordpress-seo");case c.DIFFICULTY.EASY:return Object(s.__)("easy","wordpress-seo");case c.DIFFICULTY.FAIRLY_EASY:return Object(s.__)("fairly easy","wordpress-seo");case c.DIFFICULTY.OKAY:return Object(s.__)("okay","wordpress-seo");case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("fairly difficult","wordpress-seo");case c.DIFFICULTY.DIFFICULT:return Object(s.__)("difficult","wordpress-seo");case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=c.DIFFICULTY.FAIRLY_DIFFICULT?Object(a.createElement)(d,{href:n},r+"."):r)}t.a=()=>{let e=Object(r.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseScore(),[]);const t=Object(a.useMemo)(()=>Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease",""),[]),n=Object(r.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty(),[e]),i=Object(a.useMemo)(()=>{const t=Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return u(e,n,t)},[e,n]);return-1===e&&(e="?"),Object(a.createElement)(o.InsightsCard,{id:"yoastseo-flesch-reading-ease-insights",amount:e,unit:Object(s.__)("out of 100","wordpress-seo"),title:Object(s.__)("Flesch reading ease","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})}},function(e,t,n){"use strict";var a=n(0),r=n(6),s=n(2),o=n(7),i=n(4);t.a=()=>{const e=Object(r.useSelect)(e=>e("yoast-seo/editor").getTextLength(),[]),t=Object(a.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count",""),[]);let n=Object(s._n)("word","words",e.count,"wordpress-seo"),c=Object(s.__)("Word count","wordpress-seo"),l=Object(s.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(n=Object(s._n)("character","characters",e.count,"wordpress-seo"),c=Object(s.__)("Character count","wordpress-seo"),l=Object(s.__)("Learn more about character count","wordpress-seo")),Object(a.createElement)(o.InsightsCard,{id:"yoastseo-text-length-insights",amount:e.count,unit:n,title:c,linkTo:t,linkText:l})}},function(e,t,n){"use strict";var a=n(0),r=n(19),s=n(15),o=n(2),i=n(44),c=n(126),l=n(55);t.a=()=>Object(a.createElement)(r.LocationConsumer,null,e=>{let t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=i.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=l.a),Object(a.createElement)(r,{prefixIcon:{icon:"plus",color:s.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:s.colors.$color_grey_medium_dark},title:Object(o.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},Object(a.createElement)(c.a,{link:t,buyLink:n}))})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(4);function r(e){return void 0===e.length?e:Object(a.flatten)(e).sort((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority)}},,,function(e,t,n){"use strict";var a=n(4),r=class{static isActive(){return!!document.getElementById("et_pb_main_editor_wrap")}static isTinyMCEHidden(){const e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver(t=>{Object(a.forEach)(t,t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())})}).observe(this.classicEditorContainer,{attributes:!0})}};const s={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop};t.a=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){r.isActive()&&(this.diviActive=!0),class{static isActive(){return!!window.VCV_I18N}}.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=Object(a.defaults)(e,s),this.diviActive&&(new r).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!r.isTinyMCEHidden())}}},function(e,t,n){"use strict";var a=n(14),r=n(6),s=n(0),o=n(2),i=n(7),c=n(9),l=n(1),d=n.n(l),u=n(19),p=n(4),h=n(34),m=n(13);const b=e=>{if(!e.isAuthenticated)return null;const t=Object(s.useCallback)(()=>{Object(h.d)()});return Object(s.createElement)(m.Button,{variant:"link",onClick:t},Object(o.__)("Manage WordProof settings","wordpress-seo"))};b.propTypes={isAuthenticated:d.a.bool.isRequired};const g=e=>{const t=Object(s.useCallback)(()=>{Object(h.c)()});return!e.isAuthenticated&&e.toggleIsEnabled?Object(s.createElement)(m.Button,{variant:"link",onClick:t},Object(o.__)("Authenticate with WordProof","wordpress-seo")):null};g.propTypes={isAuthenticated:d.a.bool.isRequired,toggleIsEnabled:d.a.bool.isRequired};class f extends s.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Object(h.c)()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(i.FieldGroup,{linkText:Object(o.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:Object(o.__)("Timestamp with WordProof","wordpress-seo"),hasNewBadge:!0},Object(s.createElement)(i.Toggle,{id:this.props.id,labelText:Object(o.sprintf)(
397
  /* Translators: %s translates to the Post type in singular form */
398
  Object(o.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),Object(s.createElement)(b,{isAuthenticated:this.props.isAuthenticated}),Object(s.createElement)(g,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&Object(s.createElement)(i.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},Object(o.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}f.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,postTypeName:d.a.string,isAuthenticated:d.a.bool.isRequired},f.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:p.noop};var y=Object(a.compose)([Object(r.withSelect)(e=>({isAuthenticated:e("wordproof").getIsAuthenticated()}))])(f);const w=e=>{let{noIndex:t,onNoIndexChange:n,editorContext:a,isPrivateBlog:r}=e;const l=(e=>{const t=Object(o.__)("No","wordpress-seo"),n=Object(o.__)("Yes","wordpress-seo"),a=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(o.sprintf)(
399
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
@@ -403,7 +403,7 @@ Object(o.__)("%s (current default for %s)","wordpress-seo"),a,e.postTypeNamePlur
403
  /* Translators: %s translates to the Post Label in singular form */
404
  Object(o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),a.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})))};w.propTypes={noIndex:d.a.string.isRequired,onNoIndexChange:d.a.func.isRequired,editorContext:d.a.object.isRequired,isPrivateBlog:d.a.bool},w.defaultProps={isPrivateBlog:!1};const O=e=>{let{noFollow:t,onNoFollowChange:n,postTypeName:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const r=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(s.createElement)(i.RadioButtonGroup,{id:r,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(o.sprintf)(
405
  /* Translators: %s translates to the Post Label in singular form */
406
- Object(o.__)("Should search engines follow links on this %s","wordpress-seo"),a),groupName:r,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};O.propTypes={noFollow:d.a.string.isRequired,onNoFollowChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const j=e=>{let{advanced:t,onAdvancedChange:n}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const a=Object(c.join)(["yoast-meta-robots-advanced",e]),r=a+"-input";return Object(s.createElement)(i.MultiSelect,{label:Object(o.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:a,inputId:r,options:[{name:Object(o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};j.propTypes={advanced:d.a.array.isRequired,onAdvancedChange:d.a.func.isRequired};const v=e=>{let{breadcrumbsTitle:t,onBreadcrumbsTitleChange:n}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")}))};v.propTypes={breadcrumbsTitle:d.a.string.isRequired,onBreadcrumbsTitleChange:d.a.func.isRequired};const E=e=>{let{canonical:t,onCanonicalChange:n}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")}))};E.propTypes={canonical:d.a.string.isRequired,onCanonicalChange:d.a.func.isRequired};const T=e=>{let{wordproofTimestamp:t,onWordProofTimestampChange:n,postTypeName:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(y,{id:Object(c.join)(["yoast-wordproof-timestamp",e]),isEnabled:t,onToggle:n,postTypeName:a}))};T.propTypes={wordproofTimestamp:d.a.bool.isRequired,onWordProofTimestampChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const _=e=>{const{noIndex:t,noFollow:n,advanced:a,breadcrumbsTitle:r,canonical:o,wordproofTimestamp:i,onNoIndexChange:c,onNoFollowChange:l,onAdvancedChange:d,onBreadcrumbsTitleChange:u,onCanonicalChange:p,onWordProofTimestampChange:h,onLoad:m,isLoading:b,editorContext:g,isBreadcrumbsDisabled:f,isPrivateBlog:y,isWordProofIntegrationActive:_}=e;Object(s.useEffect)(()=>{setTimeout(()=>{b&&m()})});const k={noIndex:t,onNoIndexChange:c,editorContext:g,isPrivateBlog:y},x={noFollow:n,onNoFollowChange:l,postTypeName:g.postTypeNameSingular},R={advanced:a,onAdvancedChange:d},C={breadcrumbsTitle:r,onBreadcrumbsTitleChange:u},S={canonical:o,onCanonicalChange:p},I={wordproofTimestamp:i,onWordProofTimestampChange:h,postTypeName:g.postTypeNameSingular};return b?null:Object(s.createElement)(s.Fragment,null,Object(s.createElement)(w,k),g.isPost&&Object(s.createElement)(O,x),g.isPost&&Object(s.createElement)(j,R),!f&&Object(s.createElement)(v,C),Object(s.createElement)(E,S),_&&Object(s.createElement)(T,I))};_.propTypes={noIndex:d.a.string.isRequired,canonical:d.a.string.isRequired,wordproofTimestamp:d.a.bool,onNoIndexChange:d.a.func.isRequired,onCanonicalChange:d.a.func.isRequired,onWordProofTimestampChange:d.a.func,onLoad:d.a.func.isRequired,isLoading:d.a.bool.isRequired,editorContext:d.a.object.isRequired,isBreadcrumbsDisabled:d.a.bool.isRequired,isPrivateBlog:d.a.bool,advanced:d.a.array,onAdvancedChange:d.a.func,noFollow:d.a.string,onNoFollowChange:d.a.func,breadcrumbsTitle:d.a.string,onBreadcrumbsTitleChange:d.a.func,isWordProofIntegrationActive:d.a.bool.isRequired},_.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};var k=_;t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getNoIndex:t,getNoFollow:n,getAdvanced:a,getBreadcrumbsTitle:r,getCanonical:s,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:c,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}=l();return{noIndex:t(),noFollow:n(),advanced:a(),breadcrumbsTitle:r(),canonical:s(),wordproofTimestamp:o(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}}),Object(r.withDispatch)(e=>{const{setNoIndex:t,setNoFollow:n,setAdvanced:a,setBreadcrumbsTitle:r,setCanonical:s,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:n,onAdvancedChange:a,onBreadcrumbsTitleChange:r,onCanonicalChange:s,onWordProofTimestampChange:o,onLoad:i}})])(k)},function(e,t,n){"use strict";var a=n(0),r=n(2),s=n(1),o=n.n(s),i=n(8),c=n.n(i),l=n(7),d=n(15),u=n(67),p=n(33),h=n(69),m=n(79);const b=e=>{const t=Object(r.__)("Get extra, smarter recommendations about your site’s structure, content, and SEO opportunities.","wordpress-seo"),n=[Object(r.__)("Target multiple focus keyphrases","wordpress-seo"),Object(r.__)("Use synonyms, plurals, and variations","wordpress-seo"),Object(r.__)("Unlock expert workouts and workflows","wordpress-seo")],s=wpseoAdminL10n[e.buyLink];return Object(a.createElement)(m.a,{infoParagraphs:[t],benefits:n,upsellButtonText:Object(r.sprintf)(
407
  /* translators: %s expands to 'Yoast SEO Premium'. */
408
  Object(r.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(r.__)("1 year of premium support and updates included!","wordpress-seo")})};b.propTypes={buyLink:o.a.string.isRequired};var g=b;const f=c()(l.CollapsibleStateless)`
409
  h2 > button {
@@ -424,11 +424,11 @@ Object(o.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}O.propTypes
424
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
425
  Object(o.__)("Default for %1$s (%2$s)","wordpress-seo"),n,a?a.name:""),value:""},...e]},v=e=>Object(o.sprintf)(
426
  /* 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 */
427
- Object(o.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}"),E=e=>Object(a.createElement)(l.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(o.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription});E.propTypes={helpTextTitle:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired};const T=e=>Object(a.createElement)("p",null,e.helpTextDescription+" ",Object(a.createElement)("a",{href:e.helpTextLink},Object(o.__)("Read more about Schema.","wordpress-seo")));T.propTypes={helpTextDescription:c.a.string.isRequired,helpTextLink:c.a.string.isRequired};const _=e=>{const t=j(e.pageTypeOptions,e.defaultPageType,e.postTypeName),n=j(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),r=Object(f.isFeatureEnabled)("SCHEMA_BLOCKS"),[s,i]=Object(a.useState)(e.schemaArticleTypeSelected),c=Object(a.useCallback)((e,t)=>{i(t)},[s]);return Object(a.useEffect)(()=>{c(null,e.schemaArticleTypeSelected)},[e.schemaArticleTypeSelected]),Object(a.createElement)(a.Fragment,null,r?Object(a.createElement)(T,e):Object(a.createElement)(E,e),r&&Object(a.createElement)(d.Slot,{name:Object(u.join)(["yoast-schema-blocks-analysis",e.location])}),Object(a.createElement)(l.FieldGroup,{label:Object(o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(o.__)("Learn more about page or content types","wordpress-seo")}),Object(a.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-page-type",e.location]),options:t,label:Object(o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(a.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-article-type",e.location]),options:n,label:Object(o.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:c}),Object(a.createElement)(O,{location:e.location,show:!e.isNewsEnabled&&(m=s,b=e.defaultArticleType,"NewsArticle"===m||""===m&&"NewsArticle"===b)}),e.displayFooter&&Object(a.createElement)("p",null,(p=e.postTypeName,h()({mixedString:v(p),components:{link:Object(a.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))));var p,m,b};_.propTypes={schemaPageTypeChange:c.a.func,schemaPageTypeSelected:c.a.string,pageTypeOptions:g.b.isRequired,schemaArticleTypeChange:c.a.func,schemaArticleTypeSelected:c.a.string,articleTypeOptions:g.b.isRequired,showArticleTypeInput:c.a.bool.isRequired,additionalHelpTextLink:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,defaultPageType:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,location:c.a.string.isRequired,isNewsEnabled:c.a.bool},_.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const k=e=>e.isMetabox?Object(a.createPortal)(Object(a.createElement)(w,null,Object(a.createElement)(_,e)),document.getElementById("wpseo-meta-section-schema")):Object(a.createElement)(_,e);k.propTypes={showArticleTypeInput:c.a.bool,articleTypeLabel:c.a.string,additionalHelpTextLink:c.a.string,pageTypeLabel:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,isMetabox:c.a.bool.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,loadSchemaArticleData:c.a.func.isRequired,loadSchemaPageData:c.a.func.isRequired,location:c.a.string.isRequired},k.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=k,R=n(91),C=n(52);const S=e=>{const t=null!==R.a.articleTypeInput;Object(a.useEffect)(()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);const{pageTypeOptions:n,articleTypeOptions:r}=window.wpseoScriptData.metabox.schema,s={articleTypeLabel:Object(o.__)("Article type","wordpress-seo"),pageTypeLabel:Object(o.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(o.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(o.__)("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:n,articleTypeOptions:r},i={...e,...s,...(c=e.location,"metabox"===c?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var c;return Object(a.createElement)(x,i)};S.propTypes={displayFooter:c.a.bool.isRequired,schemaPageTypeSelected:c.a.string.isRequired,schemaArticleTypeSelected:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,defaultPageType:c.a.string.isRequired,loadSchemaPageData:c.a.func.isRequired,loadSchemaArticleData:c.a.func.isRequired,schemaPageTypeChange:c.a.func.isRequired,schemaArticleTypeChange:c.a.func.isRequired,location:c.a.string.isRequired},t.a=Object(r.compose)([Object(s.withSelect)(e=>{const{getPreferences:t,getPageType:n,getDefaultPageType:a,getArticleType:r,getDefaultArticleType:s}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:n(),schemaArticleTypeSelected:r(),defaultArticleType:s(),defaultPageType:a()}}),Object(s.withDispatch)(e=>{const{setPageType:t,setArticleType:n,getSchemaPageData:a,getSchemaArticleData:r}=e("yoast-seo/editor");return{loadSchemaPageData:a,loadSchemaArticleData:r,schemaPageTypeChange:t,schemaArticleTypeChange:n}}),Object(C.a)()])(S)},function(e,t,n){"use strict";var a=n(0),r=n(6),s=n(2),o=n(9),i=n(4),c=n(1),l=n.n(c),d=n(86),u=n(11),p=n.n(u),h=n(21),m=n.n(h);const b=e=>{let{data:t,itemScreenReaderText:n,className:r,...o}=e;const c=Object(a.useMemo)(()=>{var e,n;return null!==(e=null===(n=Object(i.maxBy)(t,"number"))||void 0===n?void 0:n.number)&&void 0!==e?e:0},[t]);return Object(a.createElement)("ul",p()({className:m()("yoast-data-model",r)},o),t.map(e=>{let{name:t,number:r}=e;return Object(a.createElement)("li",{key:t+"_dataItem",style:{"--yoast-width":r/c*100+"%"}},t,Object(a.createElement)("span",null,r),n&&Object(a.createElement)("span",{className:"screen-reader-text"},Object(s.sprintf)(n,r)))}))};b.propTypes={data:l.a.arrayOf(l.a.shape({name:l.a.string.isRequired,number:l.a.number.isRequired})),itemScreenReaderText:l.a.string,className:l.a.string},b.defaultProps={data:[],itemScreenReaderText:"",className:""};var g=b;const f=Object(o.makeOutboundLink)(),y=e=>{let{location:t}=e;const n=Object(r.useSelect)(e=>{var t,n;return null===(t=null===(n=e("yoast-seo-premium/editor"))||void 0===n?void 0:n.getPreference("isProminentWordsAvailable",!1))||void 0===t||t},[]),o=Object(r.useSelect)(e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1),[]),c=Object(a.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,""),[t]),l=Object(a.useMemo)(()=>{const e=Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Object(d.a)(Object(s.sprintf)(Object(s.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>"),{a:Object(a.createElement)(f,{href:e})})},[]),u=Object(a.useMemo)(()=>Object(d.a)(Object(s.sprintf)(// translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`.
428
  Object(s.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:Object(a.createElement)("b",null)}),[]),p=Object(r.useSelect)(e=>{var t,n;return null!==(t=null===(n=e("yoast-seo-premium/editor"))||void 0===n?void 0:n.getProminentWords())&&void 0!==t?t:[]},[]),h=Object(a.useMemo)(()=>{const e=Object(s.sprintf)(// translators: %1$s expands to Yoast SEO Premium.
429
  Object(s.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map((t,n)=>({name:t,number:e.length-n}))},[]),m=Object(a.useMemo)(()=>o?h:p.map(e=>{let{word:t,occurrence:n}=e;return{name:t,number:n}}),[p,h]);return n?Object(a.createElement)("div",{className:"yoast-prominent-words"},Object(a.createElement)("div",{className:"yoast-field-group__title"},Object(a.createElement)("b",null,Object(s.__)("Prominent words","wordpress-seo"))),!o&&Object(a.createElement)("p",null,0===m.length?Object(s.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):Object(s.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),o&&Object(a.createElement)("p",null,u),o&&Object(a.createElement)(f,{href:c,className:"yoast-button yoast-button-upsell"},Object(s.sprintf)(// translators: %s expands to `Premium` (part of add-on name).
430
  Object(s.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(a.createElement)("p",null,l),Object(a.createElement)(g,{data:m,itemScreenReaderText:// translators: %d expands to the number of occurrences.
431
- Object(s.__)("%d occurrences","wordpress-seo"),"aria-label":Object(s.__)("Prominent words","wordpress-seo"),className:o?"yoast-data-model--upsell":null})):null};y.propTypes={location:l.a.string.isRequired},t.a=y},,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var a=n(0),r=n(13),s=n(1),o=n.n(s),i=n(102);const c=e=>(Object(a.useEffect)(()=>{setTimeout(e.onLoad)},[]),e.isPremium?Object(a.createElement)(r.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(a.createElement)(i.a,e));c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},function(e,t,n){"use strict";var a=n(0),r=n(13),s=n(1),o=n.n(s),i=n(102);const c=e=>{const[t,n]=Object(a.useState)(""),s=Object(a.useCallback)(e=>{n(e.detail.metaTabId)},[n]);Object(a.useEffect)(()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",s),()=>{window.removeEventListener("YoastSEO:metaTabChange",s)}),[]);const o=Object(a.useMemo)(()=>({...e,activeMetaTabId:t}),[e,t]);return e.isPremium?Object(a.createElement)(r.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:o}):Object(a.createElement)(i.a,o)};c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},,,,,,function(e,t,n){"use strict";var a,r,s,o,i,c,l,d,u,p,h,m,b,g,f,y,w,O,j,v,E,T,_,k,x,R,C,S,I,L,P,A,F,q,M,D,N,U,W,B,H,z,$,K,Y,V,G,Z,J=n(0),X=n(2),Q=n(20),ee=()=>Object(J.createElement)(J.Fragment,null,Object(J.createElement)("p",null,Object(Q.a)(Object(X.sprintf)(
432
  /* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */
433
  Object(X.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof","WordPress"),"https://help.wordproof.com/"))),te=n(3);function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ae(e){return te.createElement("svg",ne({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),a||(a=te.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),r||(r=te.createElement("path",{d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z",fill:"#fbd2a6"})),s||(s=te.createElement("path",{d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 00110.3 8.66 25.66 25.66 0 01.18-8.12z",fill:"#a4286a"})),o||(o=te.createElement("path",{d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z",fill:"#9a5815"})),i||(i=te.createElement("path",{d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z",fill:"#efb17c"})),c||(c=te.createElement("path",{d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z",fill:"#fbd2a6"})),l||(l=te.createElement("path",{d:"M235.21 167.9l53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z",fill:"#f6b488"})),d||(d=te.createElement("path",{d:"M277.68 178.82z",fill:"#efb17c"})),u||(u=te.createElement("path",{d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z",fill:"#fbd2a6"})),p||(p=te.createElement("path",{d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z",fill:"#e5766c"})),h||(h=te.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),m||(m=te.createElement("path",{d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 00-1.24 1.23h-.12a3.73 3.73 0 011-1.52 12.53 12.53 0 0111.93-3c4.73 1 9.43 4.63 9.42 9.82z",fill:"#000001"})),b||(b=te.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),g||(g=te.createElement("path",{d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 016.11 11.53z",fill:"#fff"})),f||(f=te.createElement("path",{d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 00-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z",fill:"#000001"})),y||(y=te.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),w||(w=te.createElement("path",{d:"M218.66 120.27a27.32 27.32 0 004.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z",fill:"#efb17c"})),O||(O=te.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),j||(j=te.createElement("path",{d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z",fill:"#fbd2a6"})),v||(v=te.createElement("path",{d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54",fill:"#a4286a"})),E||(E=te.createElement("path",{d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z",fill:"#cb9833"})),T||(T=te.createElement("path",{d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 00302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z",fill:"#fbd2a6"})),_||(_=te.createElement("path",{d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z",fill:"#efb17c"})),k||(k=te.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),x||(x=te.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),R||(R=te.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),C||(C=te.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),S||(S=te.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),I||(I=te.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),L||(L=te.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),P||(P=te.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),A||(A=te.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),F||(F=te.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),q||(q=te.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),M||(M=te.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),D||(D=te.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),N||(N=te.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),U||(U=te.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),W||(W=te.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),B||(B=te.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),H||(H=te.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),z||(z=te.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),$||($=te.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),K||(K=te.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Y||(Y=te.createElement("path",{d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z",fill:"#71b026"})),V||(V=te.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),G||(G=te.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),Z||(Z=te.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}var re=n(34),se=n(7),oe=n(1),ie=n.n(oe);const ce=e=>{const{closeModal:t}=e;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(J.createElement)(ae,{class:"yoast-wordproof-modal-svg__success"})),Object(J.createElement)("p",null,Object(X.sprintf)(
434
  /* Translators: %s translates to the Post type in singular form */
@@ -438,6 +438,6 @@ Object(X.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Obj
438
  * %3$s translates to the Post type in singular form.
439
  */
440
  "The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"<b>","</b>",Object(re.a)("current_post_type")),{b:Object(J.createElement)("b",null)})),Object(J.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(J.createElement)(se.NewButton,{variant:"primary",onClick:t},"Continue")))};ce.propTypes={closeModal:ie.a.func.isRequired};var le,de=ce;function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function pe(e){return te.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 752 247",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",fill:"#fff",fillRule:"evenodd","aria-hidden":"true"},e),le||(le=te.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},te.createElement("path",{d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.621-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z",fill:"#f17523"}),te.createElement("path",{d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96l.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 001.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085l4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 01-1.565-3.955 31.05 31.05 0 01-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z",fill:"#fccda3"}),te.createElement("path",{d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z",fill:"#847972"}),te.createElement("path",{d:"M354 58.468c3.673-2.83 10.069-1.514 11.47 3.193l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.888c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),te.createElement("path",{d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296l79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696l6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135l15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z",fill:"#3e2723"}),te.createElement("path",{d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z",fill:"#dba378"}),te.createElement("path",{d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.639 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 00.367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 00-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 006.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z",fill:"#bf360c"}))))}const he=e=>{const{closeModal:t}=e,n=Object(J.useCallback)(e=>{t(),e.preventDefault(),Object(re.c)()});return Object(J.createElement)("div",null,Object(J.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(J.createElement)(pe,{className:"yoast-wordproof-modal-svg__webhook-failed"})),Object(J.createElement)("div",null,Object(X.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),Object(J.createElement)("br",null),Object(Q.a)(Object(X.sprintf)(Object(X.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"<a>","</a>"),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),Object(J.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(J.createElement)(se.NewButton,{variant:"secondary",onClick:n},Object(X.__)("Try again","wordpress-seo"))),Object(J.createElement)("div",null,Object(Q.a)(Object(X.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s expands to WordProof.
441
- Object(X.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof"),"https://help.wordproof.com")))};he.propTypes={closeModal:ie.a.func.isRequired};var me=he,be=n(33);t.a=()=>{const[e,t]=Object(J.useState)(null),n=Object(J.useCallback)(()=>{t("oauth:failed")}),a=Object(J.useCallback)(()=>{t("webhook:failed")}),r=Object(J.useCallback)(()=>{t("oauth:success")}),s=Object(J.useCallback)(()=>{t(null)});Object(J.useEffect)(()=>(window.addEventListener("wordproof:oauth:success",r,!1),window.addEventListener("wordproof:oauth:failed",n,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",r,!1),window.removeEventListener("wordproof:oauth:failed",n,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)}),[]);const o=Object(J.useCallback)(()=>{switch(e){case"webhook:failed":return Object(X.__)("Connection failed","wordpress-seo");case"oauth:success":return Object(X.__)("Connected to WordProof","wordpress-seo");default:return Object(X.__)("WordProof authentication","wordpress-seo")}});return Object(J.createElement)(J.Fragment,null,e&&Object(J.createElement)(be.a,{onRequestClose:s,additionalClassName:"yoast-wordproof-modal",title:o()},"oauth:success"===e&&Object(J.createElement)(de,{closeModal:s}),"oauth:failed"===e&&Object(J.createElement)(ee,null),"webhook:failed"===e&&Object(J.createElement)(me,{closeModal:s})))}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(38),r=n(32),s=n(103),o=n(47);const{dispatch:i}=wp.data;function c(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=i("wordproof"),n=Object(r.a)("popup_redirect_authentication_url"),c=Object(r.a)("popup_redirect_settings_url");let l=null;const d=(e,t)=>{l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:680;const s=e.top.outerHeight/2+e.top.screenY-r/2,o=e.top.outerWidth/2+e.top.screenX-a/2;return e.open(t,n,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${a},\n\t\theight=${r},\n\t\ttop=${s},\n\t\tleft=${o}`)}(window,e,t),l&&l.focus(),window.addEventListener("message",u,!1)},u=async e=>{const{data:t,source:n,origin:a}=e;if(a===Object(r.a)("origin")&&l===n)switch(t.type){case"wordproof:oauth:granted":!1===await m(t)&&await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await p("wordproof:oauth:denied",!1);break;case"wordproof:webhook:success":await p("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await p("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await p("wordproof:settings:updated"),await b(t);break;case"wordproof:oauth:destroy":await p("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await p("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":h()}},p=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;h(),Object(s.a)(t),!1===n&&(await Object(a.b)(),e(!1)),!0===n&&e(!0)},h=()=>{window.removeEventListener("message",u,!1),l.close()},m=async e=>{await Object(a.c)(()=>Object(o.e)(e),async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return l.postMessage(t,Object(r.a)("origin")),!0},async()=>!1)},b=async e=>{await Object(a.c)(()=>Object(o.f)(e),async()=>{const n=e.settings;return n.selectedPostTypes&&t(n.selectedPostTypes),!0},async()=>!1)};window.addEventListener("wordproof:open_authentication",e=>{e.preventDefault(),d(n,"WordProof_Authentication")},!1),window.addEventListener("wordproof:open_settings",e=>{e.preventDefault(),d(c,"WordProof_Settings")},!1)}},,,,function(e,t,n){"use strict";var a=n(6),r=n(7);t.a=Object(a.withSelect)(e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}})(r.Warning)},function(e,t,n){"use strict";var a=n(11),r=n.n(a),s=n(0),o=n(14),i=n(6),c=n(2),l=n(153),d=n(19),u=n(123),p=n(63),h=n(114);const m=function(e,t){let 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(p.applyReplaceUsingPlugin)(e)};t.a=Object(o.compose)([Object(i.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:n,getFocusKeyphrase:a,getRecommendedReplaceVars:r,getReplaceVars:s,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:c,getSnippetEditorMode:l,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:p,getIsTerm:h,getContentLocale:m}=e("yoast-seo/editor"),b=s();return b.forEach(e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),{baseUrl:t(),data:c(),date:n(),faviconSrc:i(),keyword:a(),mobileImageSrc:d(),mode:l(),recommendedReplacementVariables:r(),replacementVariables:b,shoppingData:o(),wordsToHighlight:u(),isCornerstone:p(),isTaxonomy:h(),locale:m()}})),Object(i.withDispatch)((function(e,t,n){let{select:a}=n;const{updateData:r,switchMode:s,updateAnalysisData:o,findCustomFields:i}=e("yoast-seo/editor"),c=e("core/editor"),l=a("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":s(t);break;case"slug":r({slug:t}),c&&c.editPost({slug:t});break;default:r({[e]:t})}},onChangeAnalysisData:o,onReplacementVariableSearchChange:Object(h.a)(l,i)}}))])(e=>Object(s.createElement)(d.LocationConsumer,null,t=>Object(s.createElement)(u.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(l.SnippetEditor,r()({},e,{descriptionPlaceholder:Object(c.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:m,showCloseButton:!1,idSuffix:t})))))},function(e,t,n){"use strict";var a=n(14),r=n(6),s=n(154),o=n(16),i=n(52),c=n(41),l=n(114);const d=()=>{Object(c.b)(e=>Object(r.dispatch)("yoast-seo/editor").setTwitterPreviewImage(Object(c.d)(e)))};t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getTwitterDescription:t,getTwitterTitle:n,getTwitterImageUrl:a,getFacebookImageUrl:r,getFacebookTitle:s,getFacebookDescription:i,getDescription:c,getSeoTitle:l,getTwitterWarnings:d,getTwitterImageType:u,getImageFallback:p,getRecommendedReplaceVars:h,getReplaceVars:m,getSiteUrl:b,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:y,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:O,getReplacedExcerpt:j,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:a(),imageFallbackUrl:r()||p(),recommendedReplacementVariables:h(),replacementVariables:m(),description:t(),descriptionPreviewFallback:O()||i()||c()||w()||j()||"",title:n(),titlePreviewFallback:y()||s()||l()||f()||g()||"",imageWarnings:d(),siteUrl:b(),isPremium:!!Object(o.a)().isPremium,isLarge:"summary"!==u(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter",alt:v()}}),Object(r.withDispatch)((e,t,n)=>{let{select:a}=n;const{setTwitterPreviewTitle:r,setTwitterPreviewDescription:s,clearTwitterPreviewImage:o,loadTwitterPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=a("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:o,onDescriptionChange:s,onTitleChange:r,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(s.a)},function(e,t,n){"use strict";var a=n(14),r=n(6),s=n(155),o=n(16),i=n(52),c=n(41),l=n(114);const d=()=>{Object(c.b)(e=>Object(r.dispatch)("yoast-seo/editor").setFacebookPreviewImage(Object(c.c)(e)))};t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getFacebookDescription:t,getDescription:n,getFacebookTitle:a,getSeoTitle:r,getFacebookImageUrl:s,getImageFallback:i,getFacebookWarnings:c,getRecommendedReplaceVars:l,getReplaceVars:d,getSiteUrl:u,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:h,getSocialTitleTemplate:m,getSeoDescriptionTemplate:b,getSocialDescriptionTemplate:g,getReplacedExcerpt:f,getFacebookAltText:y}=e("yoast-seo/editor");return{imageUrl:s(),imageFallbackUrl:i(),recommendedReplacementVariables:l(),replacementVariables:d(),description:t(),descriptionPreviewFallback:g()||n()||b()||f()||"",title:a(),titlePreviewFallback:m()||r()||h()||p()||"",imageWarnings:c(),siteUrl:u(),isPremium:!!Object(o.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook",alt:y()}}),Object(r.withDispatch)((e,t,n)=>{let{select:a}=n;const{setFacebookPreviewTitle:r,setFacebookPreviewDescription:s,clearFacebookPreviewImage:o,loadFacebookPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=a("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:o,onDescriptionChange:s,onTitleChange:r,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(s.a)},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var a=n(0),r=n(1),s=n.n(r),o=n(13),i=n(136),c=n(68);function l(e){let{theme:t}=e;return Object(a.createElement)(c.a,{theme:t,location:"metabox"},Object(a.createElement)(o.Slot,{name:"YoastMetabox"},e=>Object(i.a)(e)))}var d=n(6),u=n(14),p=n(2),h=n(15),m=n(131),b=n(168),g=n(167),f=n(54),y=n(44),w=n(132),O=n(133),j=n(143),v=n(134);const E=e=>{let{location:t}=e;const n=Object(d.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]);return Object(a.createElement)(y.a,{title:Object(p.__)("Insights","wordpress-seo"),id:"yoast-insights-collapsible-"+t,className:"yoast-insights"},Object(a.createElement)(j.a,{location:t}),Object(a.createElement)("div",null,n&&Object(a.createElement)("div",{className:"yoast-insights-row"},Object(a.createElement)(O.a,null)),Object(a.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(a.createElement)(w.a,null),Object(a.createElement)(v.a,null))))};E.propTypes={location:s.a.string},E.defaultProps={location:"metabox"};var T=E,_=n(25),k=n(140),x=n(170),R=n(169);const C=e=>{let{displayFacebook:t,displayTwitter:n}=e;return Object(a.createElement)(a.Fragment,null,t&&Object(a.createElement)(y.a,{hasSeparator:!1
442
  /* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(a.createElement)(x.a,null)),n&&Object(a.createElement)(y.a
443
- /* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(a.createElement)(R.a,null)))};C.propTypes={displayFacebook:s.a.bool.isRequired,displayTwitter:s.a.bool.isRequired};var S=C,I=Object(d.withSelect)(e=>{const{getPreferences:t}=e("yoast-seo/editor"),{displayFacebook:n,displayTwitter:a}=t();return{displayFacebook:n,displayTwitter:a}})(S),L=n(36);function P(e){let{target:t}=e;return Object(a.createElement)(L.a,{target:t},Object(a.createElement)(I,null))}P.propTypes={target:s.a.string.isRequired};var A=n(142),F=n(127),q=n(113),M=n(34),D=n(161),N=n(141),U=n(135);function W(e){let{settings:t,wincherKeyphrases:n,setWincherNoKeyphrase:r}=e;const s=Object(a.useCallback)(()=>{if(!n.length)return r(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1},[n,r]);return Object(a.createElement)(a.Fragment,null,Object(M.b)()&&Object(a.createElement)(D.a,null),Object(a.createElement)(o.Fill,{name:"YoastMetabox"},Object(a.createElement)(_.a,{key:"warning",renderPriority:1},Object(a.createElement)(g.a,null)),t.isKeywordAnalysisActive&&Object(a.createElement)(_.a,{key:"keyword-input",renderPriority:8},Object(a.createElement)(f.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(a.createElement)(o.Fill,{name:"YoastRelatedKeyphrases"},Object(a.createElement)(F.a,null))),Object(a.createElement)(_.a,{key:"google-preview",renderPriority:9},Object(a.createElement)(y.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(a.createElement)(b.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(a.createElement)(_.a,{key:"readability-analysis",renderPriority:10},Object(a.createElement)(f.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell,isYoastSEOWooActive:t.isYoastSEOWooEnabled})),t.isKeywordAnalysisActive&&Object(a.createElement)(_.a,{key:"seo-analysis",renderPriority:20},Object(a.createElement)(a.Fragment,null,Object(a.createElement)(f.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive,isYoastSEOWooActive:t.isYoastSEOWooEnabled}),t.shouldUpsell&&Object(a.createElement)(N.a,{location:"metabox"}))),t.isInclusiveLanguageAnalysisActive&&Object(a.createElement)(_.a,{key:"inclusive-language-analysis",renderPriority:21},Object(a.createElement)(f.InclusiveLanguageAnalysis,null)),t.isKeywordAnalysisActive&&Object(a.createElement)(_.a,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&Object(a.createElement)(U.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(a.createElement)(_.a,{key:"wincher-seo-performance",renderPriority:25},Object(a.createElement)(y.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(p.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:h.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:h.colors.$color_grey_medium_dark},onToggle:s},Object(a.createElement)(q.a,null))),t.isCornerstoneActive&&Object(a.createElement)(_.a,{key:"cornerstone",renderPriority:30},Object(a.createElement)(m.a,null)),t.displayAdvancedTab&&Object(a.createElement)(_.a,{key:"advanced",renderPriority:40},Object(a.createElement)(y.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(a.createElement)(k.a,null))),t.displaySchemaSettings&&Object(a.createElement)(_.a,{key:"schema",renderPriority:50},Object(a.createElement)(A.a,null)),Object(a.createElement)(_.a,{key:"social",renderPriority:-1},Object(a.createElement)(P,{target:"wpseo-section-social"})),t.isInsightsEnabled&&Object(a.createElement)(_.a,{key:"insights",renderPriority:52},Object(a.createElement)(T,{location:"metabox"}))))}W.propTypes={settings:s.a.object.isRequired,wincherKeyphrases:s.a.array.isRequired,setWincherNoKeyphrase:s.a.func.isRequired};var B=Object(u.compose)([Object(d.withSelect)((e,t)=>{const{getPreferences:n,getWincherTrackableKeyphrases:a}=e("yoast-seo/editor");return{settings:n(),store:t.store,wincherKeyphrases:a()}}),Object(d.withDispatch)(e=>{const{setWincherNoKeyphrase:t}=e("yoast-seo/editor");return{setWincherNoKeyphrase:t}})])(W);function H(e){let{target:t,store:n,theme:r}=e;return Object(a.createElement)(L.a,{target:t},Object(a.createElement)(l,{store:n,theme:r}),Object(a.createElement)(B,{store:n,theme:r}))}H.propTypes={target:s.a.string.isRequired,store:s.a.object,theme:s.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(13),s=n(192),o=n(16);const i=[];let c=null;class l extends a.Component{constructor(e){super(e),this.state={registeredComponents:[]}}registerComponent(e,t){this.setState({registeredComponents:[...this.state.registeredComponents,{key:e,Component:t}]})}render(){return this.state.registeredComponents.map(e=>{let{Component:t,key:n}=e;return Object(a.createElement)(t,{key:n})})}}function d(e,t){null===c||null===c.current?i.push({key:e,Component:t}):c.current.registerComponent(e,t)}var u=n(34),p=n(163),h=n(17),m=n(18),b=n.n(m),g=n(4),f=n(12),y=n.n(f),w=n(63),O=n(37),j=n(62);const{removeMarks:v}=y.a.markers,{updateReplacementVariable:E,updateData:T,hideReplacementVariables:_,setContentImage:k,setEditorDataContent:x,setEditorDataTitle:R,setEditorDataExcerpt:C,setEditorDataImageUrl:S,setEditorDataSlug:I}=h.actions;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=d,function(e){const t=Object(o.a)();c=Object(a.createRef)();const n={isRtl:t.isRtl};Object(a.render)(Object(a.createElement)(r.SlotFillProvider,null,Object(a.createElement)(s.a,{target:"wpseo-metabox-root",store:e,theme:n}),Object(a.createElement)(l,{ref:c})),document.getElementById("wpseo-metabox-root")),i.forEach(e=>{c.current.registerComponent(e.key,e.Component)})}(e),Object(u.b)()&&Object(p.a)()},window.yoast.EditorData=class{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";this._refresh=e,this._store=t,this._tinyMceId=n,this._previousData={},this._previousEditorData={},this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=this.getInitialData(e);Object(w.fillReplacementVariables)(n,this._store),this._store.dispatch(_(t)),this._previousEditorData.content=n.content,this._store.dispatch(x(n.content)),this._previousEditorData.contentImage=n.contentImage,this._store.dispatch(k(n.contentImage)),this.setImageInSnippetPreview(n.snippetPreviewImageURL||n.contentImage),this._previousEditorData.slug=n.slug,this._store.dispatch(I(n.slug)),this.updateReplacementData({target:{value:n.title}},"title"),this.updateReplacementData({target:{value:n.excerpt}},"excerpt"),this.updateReplacementData({target:{value:n.excerpt_only}},"excerpt_only"),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage(),this.subscribeToTinyMceEditor(),this.subscribeToSlug()}subscribeToTinyMceEditor(){const e=e=>{if(Object(g.isString)(e)||(e=this.getContent()),this._previousEditorData.content===e)return;if(this._previousEditorData.content=e,this._store.dispatch(x(e)),this.featuredImageIsSet)return;const t=this.getContentImage(e);this._previousEditorData.contentImage!==t&&(this._previousEditorData.contentImage=t,this._store.dispatch(k(t)),this.setImageInSnippetPreview(t))};b()(document).on("tinymce-editor-init",(t,n)=>{n.id===this._tinyMceId&&(e(this.getContent()),["input","change","cut","paste"].forEach(t=>n.on(t,Object(g.debounce)(e,1e3))))});const t=document.getElementById("attachment_content");t&&(e(t.value),t.addEventListener("input",t=>e(t.target.value)))}subscribeToSlug(){const e=e=>{this._previousEditorData.slug!==e&&(this._previousEditorData.slug=e,this._store.dispatch(I(e)),this._store.dispatch(T({slug:e})))},t=document.getElementById("slug");t&&t.addEventListener("input",t=>e(t.target.value));const n=document.getElementById("post_name");n&&n.addEventListener("input",t=>e(t.target.value));const a=document.getElementById("edit-slug-buttons");a&&new MutationObserver((t,n)=>t.forEach(t=>{t.addedNodes.forEach(t=>{var a,r;if(null==t||null===(a=t.classList)||void 0===a||!a.contains("edit-slug"))return;const s=null===(r=document.getElementById("editable-post-name-full"))||void 0===r?void 0:r.innerText;s&&(e(s),n.disconnect(),this.subscribeToSlug())})})).observe(a,{childList:!0})}subscribeToSnippetPreviewImage(){if(Object(g.isUndefined)(wp.media)||Object(g.isUndefined)(wp.media.featuredImage))return;b()("#postimagediv").on("click","#remove-post-thumbnail",()=>{this.featuredImageIsSet=!1,this.setImageInSnippetPreview(this.getContentImage(this.getContent()))});const e=wp.media.featuredImage.frame();e.on("select",()=>{const t=e.state().get("selection").first().attributes.url;t&&(this.featuredImageIsSet=!0,this.setImageInSnippetPreview(t))}),O.addEventHandler(this._tinyMceId,["init"],()=>{const e=this.getContentImage(this.getContent()),t=this.getFeaturedImage()||e||"";this._store.dispatch(k(e)),this.setImageInSnippetPreview(t)})}getFeaturedImage(){const e=b()("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}setImageInSnippetPreview(e){this._store.dispatch(S(e)),this._store.dispatch(T({snippetPreviewImageURL:e}))}getContentImage(e){if(this.featuredImageIsSet)return"";const t=y.a.languageProcessing.imageInText(e);let n="";if(0===t.length)return n;do{let e=t.shift();e=b()(e);const a=e.prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}getTitle(){const e=document.getElementById("title")||document.getElementById("name");return e&&e.value||""}getExcerpt(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=document.getElementById("excerpt"),n=t&&t.value||"",a="ja"===Object(j.a)()?80:156;return""!==n||!1===e?n:Object(w.excerptFromContent)(this.getContent(),a)}getSlug(){let e="";const t=document.getElementById("new-post-slug")||document.getElementById("slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}getContent(){return v(O.getContentTinyMce(this._tinyMceId))}subscribeToElements(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}subscribeToInputElement(e,t){const n=document.getElementById(e);n&&n.addEventListener("input",e=>{this.updateReplacementData(e,t)})}updateReplacementData(e,t){let n=e.target.value;if("excerpt"===t&&""===n&&(n=this.getExcerpt()),this._previousEditorData[t]!==n){switch(this._previousEditorData[t]=n,t){case"title":this._store.dispatch(R(n));break;case"excerpt":this._store.dispatch(C(n))}this._store.dispatch(E(t,n))}}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}refreshYoastSEO(){const e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}handleEditorChange(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(E("excerpt",e.excerpt)),this._store.dispatch(E("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL),this._previousData.slug!==e.slug&&this._store.dispatch(I(e.slug)),this._previousData.title!==e.title&&this._store.dispatch(R(e.title))}subscribeToStore(){this.subscriber=Object(g.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}getInitialData(e){e=Object(w.mapCustomFields)(e,this._store),e=Object(w.mapCustomTaxonomies)(e,this._store);const t=this.getContent(),n=this.getFeaturedImage();return{...e,title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:t,snippetPreviewImageURL:n,contentImage:this.getContentImage(t)}}getData(){return{...this._store.getState().snippetEditor.data,title:this.getTitle(),content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)}}}}]);
1
+ !function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},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 a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},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=272)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.helpers},,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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},function(e,t){e.exports=window.jQuery},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(4);function r(){return Object(a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var a=n(0);function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(a.createInterpolateElement)(e,{a:Object(a.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,n){var a;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var s=typeof a;if("string"===s||"number"===s)e.push(a);else if(Array.isArray(a)&&a.length){var o=r.apply(null,a);o&&e.push(o)}else if("object"===s)for(var i in a)n.call(a,i)&&a[i]&&e.push(i)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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},r=i(n(3)),s=i(n(107)),o=i(n(110));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":a(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,n){var o,i,l,d,u,p,h,m,b=[],g={};for(p=0;p<t.length;p++)if("string"!==(u=t[p]).type){if(!n.hasOwnProperty(u.value)||void 0===n[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==a(n[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+c);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){o=n[u.value],l=p;break}b.push(n[u.value])}else b.push(u.value);return o&&(d=function(e,t){var n,a,r=t[e],s=0;for(a=e+1;a<t.length;a++)if((n=t[a]).value===r.value){if("componentOpen"===n.type){s++;continue}if("componentClose"===n.type){if(0===s)return a;s--}}throw new Error("Missing closing component token `"+r.value+"`")}(l,t),h=e(t.slice(l+1,d),n),i=r.default.cloneElement(o,{},h),b.push(i),d<t.length-1&&(m=e(t.slice(d+1),n),b=b.concat(m))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,s.default)(g))}(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";var a=n(0),r=n(1),s=n.n(r);const o=e=>{let{children:t}=e;return Object(a.createElement)("div",null,t)};o.propTypes={renderPriority:s.a.number.isRequired,children:s.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o}));var a=n(26),r=n.n(a);async function s(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===a?t(r):n(r))}catch(e){console.error(e.message)}}async function o(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const{get:a}=lodash,r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l}));var a=n(11),r=n.n(a),s=n(0),o=n(1),i=n.n(o),c=n(13);const l="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:n,showYoastIcon:a,additionalClassName:o,...i}=e,l=a?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(c.Modal,r()({title:t,className:`${n} ${o}`,icon:l},i),e.children)};d.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},d.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l}));var a=n(4),r=n(17);const s=e=>Object(a.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),o=()=>{const e=Object(r.a)();return 1===Object(a.get)(e,"wordproofIntegrationActive",0)},i=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},c=()=>{i("wordproof:open_authentication")},l=()=>{i("wordproof:open_settings")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n(1),s=n.n(r);function o(e){let{target:t,children:n}=e,r=t;return"string"==typeof t&&(r=document.getElementById(t)),r?Object(a.createPortal)(n,r):null}o.propTypes={target:s.a.oneOfType([s.a.string,s.a.object]).isRequired,children:s.a.node.isRequired}},,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 d})),n.d(t,"isTinyMCELoaded",(function(){return u})),n.d(t,"isTinyMCEAvailable",(function(){return p})),n.d(t,"getContentTinyMce",(function(){return h})),n.d(t,"addEventHandler",(function(){return m})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return g})),n.d(t,"isTextViewActive",(function(){return f})),n.d(t,"wpTextViewOnInitCheck",(function(){return y})),n.d(t,"tinyMceEventBinder",(function(){return w}));var a=n(4),r=n(87),s=n(139),o=n(18);let i;var c="content",l="description";function d(e){i=e}function u(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function p(e){if(!u())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function h(e){var t,n,a;return n=!1===p(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),a=new RegExp("&amp;","g"),n.replace(a,"&")}function m(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var s=r.editor;s.id===e&&Object(a.forEach)(t,(function(e){s.on(e,n)}))}))}function b(){Object(a.isUndefined)(i)||i.dispatch(o.actions.setMarkerStatus("disabled"))}function g(){Object(a.isUndefined)(i)||i.dispatch(o.actions.setMarkerStatus("enabled"))}function f(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function y(){f()&&(b(),u()&&tinyMCE.on("AddEditor",(function(){g()})))}function w(e,t){m(t,["input","change","cut","paste"],e),m(t,["hide"],b);const n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),m(t,n,g),m("content",["focus"],(function(e){var t=e.target;Object(r.a)(t)&&(Object(r.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(26),r=n.n(a),s=n(47);async function o(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===a?t(r):n(r))}catch(e){}}async function i(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await o(async()=>await Object(s.a)(),e=>e,()=>!1)},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l}));var a=n(4),r=n(27);async function s(){return await Object(r.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:n}=e;return await Object(r.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:n}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return await Object(r.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:n})}async function c(e){return Object(a.isArray)(e)||(e=[e]),await Object(r.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(r.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ue})),n.d(t,"b",(function(){return pe})),n.d(t,"c",(function(){return he})),n.d(t,"d",(function(){return me}));var a=n(4),r=n(9),s=n(0),o=n(3),i=n.n(o),c=n(1),l=n.n(c),d=n(8),u=n.n(d);const p=u.a.p`
2
  color: #606770;
3
  flex-shrink: 0;
4
  font-size: 12px;
208
  `,ae=u()(te)`
209
  flex-direction: row;
210
  height: 125px;
211
+ `;class re extends o.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:n,alt:a,title:r,description:o,siteUrl:i}=this.props,c=e?ne:ae;return Object(s.createElement)(c,{id:"twitterPreview"},Object(s.createElement)(G,{src:t||n,alt:a,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(s.createElement)(X,null,Object(s.createElement)(z,{siteUrl:i}),Object(s.createElement)(Q,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},r),Object(s.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}re.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,isLarge:l.a.bool,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},re.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var se=re,oe=n(7),ie=n(65),ce=n(28);class le extends o.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Facebook"===e.socialMediumName?W:se,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:n,onRemoveImageClick:a,socialMediumName:r,imageWarnings:o,siteUrl:c,description:l,descriptionInputPlaceholder:d,descriptionPreviewFallback:u,imageUrl:p,imageFallbackUrl:h,alt:m,title:b,titleInputPlaceholder:g,titlePreviewFallback:f,replacementVariables:y,recommendedReplacementVariables:w,applyReplacementVariables:O,onReplacementVariableSearchChange:j,isPremium:v,isLarge:E,socialPreviewLabel:T,idSuffix:_,activeMetaTabId:k}=this.props,x=O({title:b||f,description:l||u});return Object(s.createElement)(i.a.Fragment,null,T&&Object(s.createElement)(oe.SimulatedLabel,null,T),Object(s.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:n,siteUrl:c,title:x.title,description:x.description,imageUrl:p,imageFallbackUrl:h,alt:m,isLarge:E,activeMetaTabId:k}),Object(s.createElement)(ie.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:b,titleInputPlaceholder:g,onRemoveImageClick:a,imageSelected:!!p,imageUrl:p,onTitleChange:t,onSelectImageClick:n,description:l,descriptionInputPlaceholder:d,imageWarnings:o,replacementVariables:y,recommendedReplacementVariables:w,onReplacementVariableSearchChange:j,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:v,setEditorRef:this.setEditorRef,idSuffix:_}))}}le.propTypes={title:l.a.string.isRequired,onTitleChange:l.a.func.isRequired,description:l.a.string.isRequired,onDescriptionChange:l.a.func.isRequired,imageUrl:l.a.string.isRequired,imageFallbackUrl:l.a.string.isRequired,onSelectImageClick:l.a.func.isRequired,onRemoveImageClick:l.a.func.isRequired,socialMediumName:l.a.string.isRequired,alt:l.a.string,isPremium:l.a.bool,imageWarnings:l.a.array,isLarge:l.a.bool,siteUrl:l.a.string,descriptionInputPlaceholder:l.a.string,titleInputPlaceholder:l.a.string,descriptionPreviewFallback:l.a.string,titlePreviewFallback:l.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,applyReplacementVariables:l.a.func,onReplacementVariableSearchChange:l.a.func,socialPreviewLabel:l.a.string,idSuffix:l.a.string,activeMetaTabId:l.a.string},le.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const de=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function ue(e){return new Promise((t,n)=>{window.wp.media.attachment||n(),window.wp.media.attachment(e).fetch().then(e=>{t(de(e))}).catch(()=>n())})}function pe(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const n=t.state().get("selection").first();e(de(n.attributes))}),t})(e).open()}const he=e=>{const{width:t,height:n}=e,a=E({width:t,height:n}),s=v[a+"Width"],o=v[a+"Height"],i=Object.values(e.sizes).find(e=>e.width>=s&&e.height>=o);return{url:i?i.url:e.url,id:e.id,warnings:Object(r.validateFacebookImage)(e),alt:e.alt||""}},me=e=>{const t="summary"!==Object(a.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",n=j[t+"Width"],s=j[t+"Height"],o=Object.values(e.sizes).find(e=>e.width>=n&&e.height>=s);return{url:o?o.url:e.url,id:e.id,warnings:Object(r.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"i",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"o",(function(){return m})),n.d(t,"p",(function(){return b})),n.d(t,"k",(function(){return g})),n.d(t,"q",(function(){return f})),n.d(t,"r",(function(){return y})),n.d(t,"n",(function(){return w})),n.d(t,"m",(function(){return O})),n.d(t,"l",(function(){return j}));var a=n(9);const r="SNIPPET_EDITOR_SWITCH_MODE",s="SNIPPET_EDITOR_UPDATE_DATA",o="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",i="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",c="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",d="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u="SNIPPET_EDITOR_REFRESH",p="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",h="LOAD_SNIPPET_EDITOR_DATA";function m(e){return{type:r,mode:e}}function b(e){return{type:s,data:e}}function*g(e,t){const n=yield{type:o,query:e,postId:t};return{type:i,results:n}}function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const s="string"==typeof t?Object(a.decodeHTML)(t):t;return{type:c,name:e,value:s,label:n,hidden:r}}function y(e){return{type:p,wordsToHighlight:e}}function w(e){return{type:d,name:e}}function O(){return{type:u,time:(new Date).getMilliseconds()}}function j(e){return{type:l,data:e}}},function(e,t,n){"use strict";var a=n(11),r=n.n(a),s=n(0),o=n(7),i=n(8);const c=n.n(i)()(o.Collapsible)`
212
  h2 > button {
213
  padding-left: 24px;
214
  padding-top: 16px;
224
  border-top: 1px solid rgba(0,0,0,0.2);
225
  }
226
 
227
+ `;t.a=e=>Object(s.createElement)(c,r()({hasPadding:!0,hasSeparator:!0},e))},,,,function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return d}));var a=n(38);const r=async e=>{const{state:t,code:n}=e;return await Object(a.a)({path:"wordproof/v1/oauth/authenticate",method:"POST",data:{state:t,code:n}})},s=async e=>{const{settings:t}=e;return await Object(a.a)({path:"wordproof/v1/settings",method:"POST",data:{settings:t}})},o=async()=>await Object(a.a)({path:"wordproof/v1/oauth/destroy",method:"POST"}),i=async()=>await Object(a.a)({path:"wordproof/v1/settings",method:"GET"}),c=async()=>await Object(a.a)({path:"wordproof/v1/authentication",method:"GET"}),l=async e=>Object(a.a)({path:`wordproof/v1/posts/${e}/timestamp`,method:"POST"}),d=async e=>Object(a.a)({path:`wordproof/v1/posts/${e}/timestamp/transaction/latest`,method:"GET"})},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(14),r=n(0),s=n(20);function o(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){const n=Object(r.useContext)(s.LocationContext);return Object(r.createElement)(e,{...t,location:n})}))}),"withLocation")}},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return c}));var a=n(11),r=n.n(a),s=n(0),o=n(1),i=n.n(o);const c=i.a.shape({value:i.a.string.isRequired,onChange:i.a.func.isRequired});t.a=e=>t=>{class n extends s.Component{constructor(t){super(t),this.elements={};const n={};this.fields=e(t),this.fields.forEach(e=>{const{name:t,fieldId:a}=e,r=document.getElementById(a);r&&(this.elements[t]=r,n[t]={value:r.value,onChange:this.onChange.bind(this,t)})}),this.state=n}static get propTypes(){return{children:i.a.node}}onChange(e,t){this.setState({...this.state,[e]:{...this.state[e],value:t}},()=>{this.elements[e]&&(this.elements[e].value=t)})}render(){const{children:e,...n}=this.props;return Object(s.createElement)(t,r()({},n,this.state),e)}}return n}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(4),r=n(17);function s(){const e=Object(r.a)();return Object(a.get)(e,"contentLocale","en_US")}},function(e,t,n){"use strict";var a=n(0),r=n(7),s=n(1),o=n.n(s);const i=e=>{const[t,n]=Object(a.useState)(!1),{prefixIcon:s}=e;return Object(a.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){n(!t)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(s&&s.color||"")}},s&&Object(a.createElement)(r.SvgIcon,{icon:s.icon,color:s.color,size:s.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)),e.hasBetaBadgeLabel&&Object(a.createElement)(r.BetaBadge,null),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:o.a.string.isRequired,children:o.a.oneOfType([o.a.node,o.a.arrayOf(o.a.node)]).isRequired,prefixIcon:o.a.object,subTitle:o.a.string,hasBetaBadgeLabel:o.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t,n){"use strict";var a=n(15),r=n(9),s=n(8),o=n.n(s);const i=Object(r.makeOutboundLink)(o.a.a`
228
  display: inline-block;
229
  position: relative;
230
  outline: none;
254
  padding: 2px;
255
  content: "\f223";
256
  }
257
+ `);t.a=i},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return l})),n.d(t,"fillReplacementVariables",(function(){return d})),n.d(t,"handlePrefixes",(function(){return u})),n.d(t,"createLabelFromName",(function(){return p})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return m})),n.d(t,"prepareCustomFieldForDispatch",(function(){return b})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),n.d(t,"mapCustomTaxonomies",(function(){return f})),n.d(t,"mapCustomFields",(function(){return y})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return O}));var a=n(4),r=n(124),s=n(42),o=n(19),i=n(9);const{stripHTMLTags:c}=i.strings,l=["slug","content","contentImage","snippetPreviewImageURL"];function d(e,t){Object(a.forEach)(e,(e,n)=>{l.includes(n)||t.dispatch(Object(s.q)(n,e))})}function u(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");const 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 p(e){return e=u(e),Object(o.b)(e)}function h(e,t){return e.push({name:t.name,label:t.label||p(t.name),value:t.value}),e}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function b(e){return{name:"cf_"+m(e),label:Object(o.b)(e+" (custom field)")}}function g(e){const t=m(e);return{name:"ct_"+t,label:Object(o.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(o.b)(e+" description (custom taxonomy)")}}function f(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(e,n)=>{const{name:a,label:r,descriptionName:o,descriptionLabel:i}=g(n);t.dispatch(Object(s.q)(a,e.name,r)),t.dispatch(Object(s.q)(o,e.description,i))}),Object(a.omit)({...e},"custom_taxonomies")):e}function y(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(e,n)=>{const{name:a,label:r}=b(n);t.dispatch(Object(s.q)(a,e,r))}),Object(a.omit)({...e},"custom_fields")):e}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(r.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const O=function(e){const t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:c(t(e.title)),description:c(t(e.description))}}(e);const n=t._applyModifications.bind(t);return{url:e.url,title:c(n("data_page_title",e.title)),description:c(n("data_meta_desc",e.description))}}},function(e,t){e.exports=window.yoast.externals.components},,,function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(8),r=n.n(a),s=n(7),o=n(9);const i=r.a.div`
258
  min-width: 600px;
259
 
260
  @media screen and ( max-width: 680px ) {
274
  height: 80px;
275
  }
276
  }
277
+ `},function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(8),i=n(20);const c=e=>{let{theme:t,location:n,children:r}=e;return Object(a.createElement)(i.LocationProvider,{value:n},Object(a.createElement)(o.ThemeProvider,{theme:t},r))};c.propTypes={theme:s.a.object.isRequired,location:s.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:s.a.element.isRequired},t.a=c},function(e,t,n){"use strict";var a=n(0),r=n(7),s=n(1),o=n.n(s);const i=e=>Object(a.createElement)("div",{className:"yoast components-panel__body"},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(a.createElement)(r.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),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)),e.children,e.suffixIcon&&Object(a.createElement)(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))));t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,prefixIcon:o.a.object,children:o.a.node},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:"",children:null}},function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(2);const i=e=>{let{data:t,mapChartDataToTableData:n,dataTableCaption:r,dataTableHeaderLabels:s,isDataTableVisuallyHidden:i}=e;return t.length!==s.length?Object(a.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(a.createElement)("div",{className:i?"screen-reader-text":null},Object(a.createElement)("table",null,Object(a.createElement)("caption",null,r),Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,s.map((e,t)=>Object(a.createElement)("th",{key:t},e)))),Object(a.createElement)("tbody",null,Object(a.createElement)("tr",null,t.map((e,t)=>Object(a.createElement)("td",{key:t},n(e.y)))))))};i.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:n,height:r,fillColor:s,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}=e;const m=Math.max(1,Math.max(...t.map(e=>e.x))),b=Math.max(1,Math.max(...t.map(e=>e.y))),g=r-i,f=t.map(e=>`${e.x/m*n},${g-e.y/b*g+i}`).join(" "),y=`0,${g+i} `+f+` ${n},${g+i}`;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:`0 0 ${n} ${r}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:s,points:y}),Object(a.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),d&&Object(a.createElement)(c,{data:t,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}))};l.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},,,,,,,function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},,,function(e,t,n){"use strict";var a=n(0),r=n(22),s=n.n(r),o=n(1),i=n.n(o),c=n(8),l=n.n(c),d=n(9);const u=l.a.ul`
278
  list-style: none;
279
  margin: 0 0 24px;
280
  padding: 0;
296
  `,p=l.a.small`
297
  display: block;
298
  margin-top: 4px;
299
+ `,h=Object(d.makeOutboundLink)();class m extends a.Component{constructor(e){super(e)}createBenefitsList(e){return e.length>0&&Object(a.createElement)(u,{role:"list"},e.map((e,t)=>Object(a.createElement)("li",{key:t},Object(a.createElement)("span",{"aria-hidden":"true"}),s()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(a.createElement)("strong",null)}}))))}createInfoParagraphs(e){return e.map((e,t)=>Object(a.createElement)("p",{key:t},e))}render(){return Object(a.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(a.createElement)(h,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(a.createElement)(p,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}m.propTypes={benefits:i.a.array,infoParagraphs:i.a.array,upsellButton:i.a.object,upsellButtonText:i.a.string.isRequired,upsellButtonLabel:i.a.string,upsellButtonHasCaret:i.a.bool},m.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.a=m},function(e,t){e.exports=window.moment},,,,,,function(e,t,n){"use strict";var a=n(0);let r,s,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,n,a,r){return{element:e,tokenStart:t,tokenLength:n,prevOffset:a,leadingTextStart:r,children:[]}}function d(){const e=r.length-s;0!==e&&o.push(r.substr(s,e))}function u(e){const{element:t,tokenStart:n,tokenLength:s,prevOffset:o,children:c}=e,l=i[i.length-1],d=r.substr(l.prevOffset,n-l.prevOffset);d&&l.children.push(d),l.children.push(Object(a.cloneElement)(t,null,...c)),l.prevOffset=o||n+s}function p(e){const t=function(){const e=c.exec(r);if(null===e)return["no-more-tokens"];const t=e.index,[n,a,s,o]=e,i=n.length;return o?["self-closed",s,t,i]:a?["closer",s,t,i]:["opener",s,t,i]}(),[n,p,h,m]=t,b=i.length,g=h>s?s:null;if(!e[p])return d(),!1;switch(n){case"no-more-tokens":if(0!==b){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(r.substr(e,t))}return d(),!1;case"self-closed":return 0===b?(null!==g&&o.push(r.substr(g,h-g)),o.push(e[p]),s=h+m,!0):(u(l(e[p],h,m)),s=h+m,!0);case"opener":return i.push(l(e[p],h,m,h+m,g)),s=h+m,!0;case"closer":if(1===b)return function(e){const{element:t,leadingTextStart:n,prevOffset:s,tokenStart:c,children:l}=i.pop(),d=e?r.substr(s,e-s):r.substr(s);d&&l.push(d),null!==n&&o.push(r.substr(n,c-n)),o.push(Object(a.cloneElement)(t,null,...l))}(h),s=h+m,!0;const t=i.pop(),n=r.substr(t.prevOffset,h-t.prevOffset);t.children.push(n),t.prevOffset=h+m;const c=l(t.element,t.tokenStart,t.tokenLength,h+m);return c.children=t.children,u(c),s=h+m,!0;default:return d(),!1}}t.a=(e,t)=>{if(r=e,s=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every(e=>Object(a.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(a.createElement)(a.Fragment,null,...o)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(12),r=n(4);function s(e,t,n){var s=e.dom,o=e.getContent();o=a.markers.removeMarks(o),Object(r.forEach)(n,(function(e){o=e.applyWithReplace(o)})),e.setContent(o),function(e){var t=e.getContent();t=t.replace(new RegExp("&lt;yoastmark.+?&gt;","g"),"").replace(new RegExp("&lt;/yoastmark&gt;","g"),""),e.setContent(t)}(e);var i=s.select("yoastmark");Object(r.forEach)(i,(function(e){e.setAttribute("data-mce-bogus","1")}))}function o(e){return window.test=e,s.bind(null,e)}function i(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){o(e)(null,[])}},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var a=n(0),r=n(2),s=n(9),o=n(7),i=n(1),c=n.n(i),l=n(55);const d=Object(s.makeOutboundLink)();class u extends a.Component{constructor(e){var t,n,a,r;super(e),this.initialPageType=e.pageType.value,this.initialArticleType=e.articleType?e.articleType.value:"None",this.state={schema_page_type:this.initialPageType,schema_article_type:this.initialArticleType},this.handleOptionFocus=this.handleOptionFocus.bind(this),this.showNewsSEOUpsell=null===(t=window.wpseoScriptData)||void 0===t||null===(n=t.searchAppearance)||void 0===n?void 0:n.showNewsSEOUpsell,this.newsSEOUpsellURL=null===(a=window.wpseoScriptData)||void 0===a||null===(r=a.searchAppearance)||void 0===r?void 0:r.newsSEOUpsellURL,void 0===this.showNewsSEOUpsell&&(this.showNewsSEOUpsell=!1),void 0===this.newsSEOUpsellURL&&(this.newsSEOUpsellURL="")}shouldShowAlert(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}isNewsArticleSelected(){return"NewsArticle"===this.state.schema_article_type}handleOptionFocus(e,t){this.setState({[e]:t})}render(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(o.FieldGroup,{label:Object(r.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(r.__)("Learn more about the schema settings","wordpress-seo"),description:Object(r.sprintf)(
300
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
301
  Object(r.__)("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(a.createElement)(o.Alert,{type:"warning"},Object(r.sprintf)(
302
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
304
  /* translators: %s Expands to "Yoast SEO News" */
305
  Object(r.__)("Are you publishing news articles? %s helps you optimize your site for Google News. Get %s now!","wordpress-seo"),"Yoast SEO News","Yoast SEO News")+" ",Object(a.createElement)(d,{href:this.newsSEOUpsellURL},Object(r.sprintf)(
306
  /* translators: %s: Expands to "Yoast News SEO". */
307
+ Object(r.__)("Get the %s plugin!","wordpress-seo"),"Yoast News SEO"))))}}const p=c.a.arrayOf(c.a.shape({name:c.a.string,value:c.a.string}));u.propTypes={postType:c.a.string.isRequired,postTypeName:c.a.string.isRequired,pageType:l.b.isRequired,articleType:l.b,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},u.defaultProps={articleType:null},t.a=Object(l.a)(e=>[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}])(u)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class a{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return a.articleTypeInput.getAttribute("data-default")}static get articleType(){return a.articleTypeInput.value}static set articleType(e){a.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return a.pageTypeInput.getAttribute("data-default")}static get pageType(){return a.pageTypeInput.value}static set pageType(e){a.pageTypeInput.value=e}}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return y}));var a=n(0),r=n(1),s=n.n(r),o=n(2),i=n(4),c=n(80),l=n.n(c),d=n(7),u=n(9),p=n(69),h=()=>Object(a.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(a.createElement)(d.SvgIcon,{icon:"loading-spinner"}));const m=Object(u.makeOutboundLink)();function b(e){return Math.round(100*e)}function g(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const n=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),r=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(a.createElement)(p.a,{width:66,height:24,data:r,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function f(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function y(e){const{keyphrase:t,rowData:n,onTrackKeyphrase:r,onUntrackKeyphrase:s,isFocusKeyphrase:c,isDisabled:u,isLoading:p}=e,b=!Object(i.isEmpty)(n),y=Object(a.useCallback)(()=>{u||(b?s(t,n.id):r(t))},[t,r,s,b,n,u]);return Object(a.createElement)("tr",null,Object(a.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:n,toggleAction:r,isLoading:s}=e;return s?Object(a.createElement)(d.SvgIcon,{icon:"loading-spinner"}):Object(a.createElement)(d.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:n,onSetToggleState:r,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:y,isLoading:p})),Object(a.createElement)("td",null,t,c&&Object(a.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:n}=e,r=!Object(i.isEmpty)(t),s=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return r?s?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,f(t)),Object(a.createElement)("td",{className:"yoast-table--nopadding"},Object(a.createElement)(g,{chartData:t})),Object(a.createElement)("td",{className:"yoast-table--nobreak"},Object(a.createElement)(m,{href:c},Object(o.__)("View","wordpress-seo")))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(a.createElement)(h,null))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,"?"),Object(a.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(a.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:s.a.object},g.defaultProps={chartData:{}},y.propTypes={rowData:s.a.object,keyphrase:s.a.string.isRequired,onTrackKeyphrase:s.a.func,onUntrackKeyphrase:s.a.func,isFocusKeyphrase:s.a.bool,isDisabled:s.a.bool,isLoading:s.a.bool,websiteId:s.a.string},y.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},n),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:n}=this.options,a=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,n,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:n,origin:a}=e;a===this.origin&&this.popup===n&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(2),i=n(22),c=n.n(i),l=n(7);const d=e=>{const t=Object(o.sprintf)(
308
  /* translators: %s expands to a link to open the Wincher login popup. */
309
  Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(a.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(a.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
310
  /* translators: %s : Expands to "Wincher". */
316
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
317
  Object(d.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(d.sprintf)(
318
  /* Translators: %s expands to Yoast SEO Premium */
319
+ Object(d.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(h,{type:"info"},l()({mixedString:t,components:{strong:Object(a.createElement)("b",null)}}),Object(a.createElement)("br",null),Object(a.createElement)(m,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(a.createElement)("p",null,n))))};b.propTypes={socialMediumName:s.a.oneOf(["Twitter","Facebook"]).isRequired};var g=b,f=n(65),y=n(28);class w extends a.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:n,onRemoveImageClick:r,socialMediumName:s,imageWarnings:o,description:i,descriptionInputPlaceholder:c,imageUrl:l,alt:d,title:u,titleInputPlaceholder:p,replacementVariables:h,recommendedReplacementVariables:m,onReplacementVariableSearchChange:b,isPremium:y,location:w}=this.props;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(g,{socialMediumName:s}),Object(a.createElement)(f.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:s,title:u,titleInputPlaceholder:p,onRemoveImageClick:r,imageSelected:!!l,imageUrl:l,imageAltText:d,onTitleChange:t,onSelectImageClick:n,description:i,descriptionInputPlaceholder:c,imageWarnings:o,replacementVariables:h,recommendedReplacementVariables:m,onReplacementVariableSearchChange:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:y,setEditorRef:this.setEditorRef,idSuffix:w}))}}w.propTypes={title:s.a.string.isRequired,onTitleChange:s.a.func.isRequired,description:s.a.string.isRequired,onDescriptionChange:s.a.func.isRequired,imageUrl:s.a.string.isRequired,onSelectImageClick:s.a.func.isRequired,onRemoveImageClick:s.a.func.isRequired,socialMediumName:s.a.string.isRequired,isPremium:s.a.bool,imageWarnings:s.a.array,descriptionInputPlaceholder:s.a.string,titleInputPlaceholder:s.a.string,replacementVariables:y.replacementVariablesShape,recommendedReplacementVariables:y.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:s.a.func,location:s.a.string,alt:s.a.string},w.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""},t.a=w},function(e,t,n){"use strict";function a(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}n.d(t,"a",(function(){return a}))},,,function(e,t,n){"use strict";var a=n(3),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=n(76),o=n(108),i=n(109),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,a={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return a[e]}))):t.toString(36);var n,a}var d=/\/+/g;function u(e){return(""+e).replace(d,"$&/")}var p,h,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 g(e,t,n,a){this.result=e,this.keyPrefix=t,this.func=n,this.context=a,this.count=0}function f(e,t,n){var r,o,i=e.result,c=e.keyPrefix,l=e.func,d=e.context,p=l.call(d,t,e.count++);Array.isArray(p)?y(p,i,n,s.thatReturnsArgument):null!=p&&(a.isValidElement(p)&&(r=p,o=c+(!p.key||t&&t.key===p.key?"":u(p.key)+"/")+n,p=a.cloneElement(r,{key:o},void 0!==r.props?r.props.children:void 0)),i.push(p))}function y(e,t,n,a,s){var i="";null!=n&&(i=u(n)+"/");var d=g.getPooled(t,i,a,s);!function(e,t,n){null==e||function e(t,n,a,s){var i,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),null===t||"string"===d||"number"===d||"object"===d&&t.$$typeof===r)return a(s,t,""===n?"."+l(t,0):n),1;var u=0,p=""===n?".":n+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)u+=e(i=t[h],p+l(i,h),a,s);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,g=m.call(t),f=0;!(b=g.next()).done;)u+=e(i=b.value,p+l(i,f++),a,s);else if("object"===d){var y=""+t;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y,"")}}return u}(e,"",t,n)}(e,f,d),g.release(d)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,a){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,a),r}return new this(e,t,n,a)},(h=g).instancePool=[],h.getPooled=p||m,h.poolSize||(h.poolSize=10),h.release=function(e){o(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(a.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(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)y(e[n],t,n,s.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,s,o,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,a,r,s,o,i],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var a=n(76);e.exports=a},function(e,t,n){"use strict";function a(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(a)}},function(e,t,n){"use strict";var a=n(0),r=n(2),s=n(22),o=n.n(s),i=n(9);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(r.sprintf)(Object(r.__)(
320
  /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
321
+ "With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(a.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(a.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(a.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(r.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,n){"use strict";var a=n(6),r=n(14),s=n(11),o=n.n(s),i=n(0),c=n(2),l=n(1),d=n.n(l),u=n(4),p=n(8),h=n.n(p),m=n(7),b=n(9),g=n(22),f=n.n(g);const y=Object(b.makeOutboundLink)(),w=e=>{const t=Object(c.sprintf)(
322
  /* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
323
  Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(m.Alert,{type:"error"},f()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(y,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(c.sprintf)(
324
  /* translators: %s : Expands to "Wincher". */
326
  /* translators: %s: Expands to "Wincher". */
327
  Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),E=()=>Object(i.createElement)(m.Alert,{type:"info"},Object(c.sprintf)(
328
  /* translators: %s: Expands to "Wincher". */
329
+ Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),T=n(96),_=n(39),k=n(27);const x=Object(b.makeOutboundLink)(),R=h.a.span`
330
  display: block;
331
  font-style: italic;
332
 
344
  /* translators: %s expands to Wincher */
345
  Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(R,null,Object(c.__)("* focus keyphrase","wordpress-seo"))))};P.propTypes={addTrackedKeyphrase:d.a.func.isRequired,isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,newRequest:d.a.func.isRequired,removeTrackedKeyphrase:d.a.func.isRequired,setRequestFailed:d.a.func.isRequired,setKeyphraseLimitReached:d.a.func.isRequired,setRequestSucceeded:d.a.func.isRequired,setTrackedKeyphrases:d.a.func.isRequired,setHasTrackedAll:d.a.func.isRequired,trackAll:d.a.bool,trackedKeyphrases:d.a.object,websiteId:d.a.string,permalink:d.a.string.isRequired,focusKeyphrase:d.a.string},P.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var A=P,F=Object(r.compose)([Object(a.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:n,getWincherTrackableKeyphrases:a,getWincherLoginStatus:r,getWincherPermalink:s,getFocusKeyphrase:o,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:a(),trackedKeyphrases:n(),isLoggedIn:r(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:s()}}),Object(a.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:n,setWincherRequestFailed:a,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:s,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{a(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{s(e)},setHasTrackedAll:()=>{i(!1)}}})])(A),q=n(111),M=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),D=()=>Object(i.createElement)(m.Alert,{type:"info"},Object(c.sprintf)(
346
  /* translators: %s: Expands to "Wincher". */
347
+ Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),N=n(101),U=n(102),W=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"));const B=e=>{let{response:t,onLogin:n}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(U.a,{onReconnect:n}):Object(i.createElement)(j,null)};B.propTypes={response:d.a.object.isRequired,onLogin:d.a.func.isRequired};const H=e=>{let{isSuccess:t,response:n,allKeyphrasesMissRanking:a,onLogin:r,keyphraseLimitReached:s,limit:o}=e;return s?Object(i.createElement)(O,{limit:o}):Object(u.isEmpty)(n)||t?a?Object(i.createElement)(E,null):null:Object(i.createElement)(B,{response:n,onLogin:r})};H.propTypes={isSuccess:d.a.bool.isRequired,allKeyphrasesMissRanking:d.a.bool.isRequired,response:d.a.object,onLogin:d.a.func.isRequired,keyphraseLimitReached:d.a.bool.isRequired,limit:d.a.number.isRequired},H.defaultProps={response:{}};let z=null;const $=async e=>{if(z&&!z.isClosed())return void z.focus();const{url:t}=await Object(_.b)();z=new N.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:n,setRequestSucceeded:a,setRequestFailed:r}=e;await Object(k.b)(()=>Object(_.a)(t),async e=>{n(!0,!0,t.websiteId.toString()),a(e);const r=z.getPopup();r&&r.close()},async e=>r(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),z.createPopup()},K=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(m.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)(
348
  /* translators: %s expands to Wincher */
349
  Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));K.propTypes={isLoggedIn:d.a.bool.isRequired,onLogin:d.a.func.isRequired};const Y=h.a.div`
350
  p {
356
  font-weight: var(--yoast-font-weight-bold);
357
  color: var(--yoast-color-label);
358
  font-size: var(--yoast-font-size-default);
359
+ `,Z=e=>{const{isLoggedIn:t,keyphrases:n,shouldTrackAll:a,permalink:r}=e;return!r&&t?Object(i.createElement)(W,null):0===n.length?Object(i.createElement)(M,null):Object(i.createElement)(V,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&a&&Object(i.createElement)(D,null),Object(i.createElement)(F,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:n}=e,a=Object(i.useCallback)(()=>{$(e)},[$,e]);return Object(i.createElement)(Y,null,t&&Object(i.createElement)(v,null),Object(i.createElement)(G,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(m.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(q.a,null),Object(i.createElement)(K,{isLoggedIn:n,onLogin:a}),Object(i.createElement)(H,o()({},e,{onLogin:a})),Object(i.createElement)(Z,e))}Z.propTypes={keyphrases:d.a.array.isRequired,isLoggedIn:d.a.bool.isRequired,shouldTrackAll:d.a.bool.isRequired,permalink:d.a.string.isRequired},J.propTypes={isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,response:d.a.object,shouldTrackAll:d.a.bool,permalink:d.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(r.compose)([Object(a.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:n,getWincherLimit:a,getWincherLoginStatus:r,getWincherRequestIsSuccess:s,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:d}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:r(),isNewlyAuthenticated:t(),isSuccess:s(),keyphraseLimitReached:n(),limit:a(),response:o(),shouldTrackAll:d(),permalink:l()}}),Object(a.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:n,setWincherRequestFailed:a,setWincherLoginStatus:r}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{a(e)},onAuthentication:(e,n,a)=>{t(a),r(e,n)}}})])(J)},function(e,t,n){"use strict";var a=n(4);const r=Object(a.memoize)((e,t)=>0===e?a.noop:Object(a.debounce)(n=>t(n,e),500));t.a=r},,,,,,,,,,function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(8),i=n.n(o),c=n(7),l=n(9);const d=i()(c.StyledSection)`
360
  &${c.StyledSectionBase} {
361
  padding: 0;
362
 
381
  /* translators: %s : Expands to "Semrush". */
382
  Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(s.createElement)(h,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
383
  /* translators: %s : Expands to "Semrush". */
384
+ Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(s.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),b=n(26),g=n.n(b),f=n(41);const y="yoast-semrush-country-selector",w=[{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"}];class O extends s.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:n}=this.props;n(t,e),this.storeCountryCode(t);const a=await this.doRequest(e,t);200!==a.status?this.handleFailedResponse(a):this.handleSuccessResponse(a)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:n}=this.props;0!==e.results.rows.length?n(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:n}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():n(e))}async doRequest(e,t){return await g()({path:Object(f.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return Object(s.createElement)("div",{id:y},Object(s.createElement)(d.SingleSelect,{id:y+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:w,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(s.createElement)(d.NewButton,{id:y+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}O.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},O.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var j=O,v=n(69),E=n(60);const T=Object(p.makeOutboundLink)();class _ extends s.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map((e,t)=>({x:t,y:parseFloat(e)}))}getAreaChartDataTableHeaderLabels(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:n,data:a,renderAction:r}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(n);return a&&!Object(l.isEmpty)(a.results)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("table",{className:"yoast yoast-table"},Object(s.createElement)("thead",null,Object(s.createElement)("tr",null,Object(s.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(s.createElement)(E.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(s.createElement)(E.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),r&&Object(s.createElement)("td",{className:"yoast-table--nobreak"}))),Object(s.createElement)("tbody",null,a.results.rows.map((e,n)=>{const a=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(s.createElement)("tr",{key:n},Object(s.createElement)("td",null,a),Object(s.createElement)("td",null,e[1]),Object(s.createElement)("td",{className:"yoast-table--nopadding"},Object(s.createElement)(v.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),r&&Object(s.createElement)("td",{className:"yoast-table--nobreak"},r(a,t)))}))),Object(s.createElement)("p",{style:{marginBottom:0}},Object(s.createElement)(T,{href:i},Object(o.sprintf)(
385
  /* translators: %s expands to Semrush */
386
  Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}_.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},_.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var k=_;const x=Object(p.makeOutboundLink)();var R=()=>Object(s.createElement)(d.Alert,{type:"info"},Object(o.sprintf)(
387
  /* translators: %s: Expands to "Yoast SEO". */
389
  /* translators: %s: Expands to "Yoast SEO Premium". */
390
  Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),C=()=>Object(s.createElement)(d.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),S=()=>Object(s.createElement)(d.Alert,{type:"warning"},Object(o.sprintf)(
391
  /* translators: %s: Expands to "Yoast SEO". */
392
+ Object(o.__)("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")),I=n(17);function L(e){const{response:t,lastRequestKeyphrase:n,keyphrase:a,newRequest:r,setCountry:i,renderAction:c,countryCode:d,requestLimitReached:p,setRequestFailed:h,setNoResultsFound:b,relatedKeyphrases:g,setRequestSucceeded:f,setRequestLimitReached:y}=e,w=Object(I.a)().isPremium;return Object(s.createElement)(s.Fragment,null,!p&&Object(s.createElement)(s.Fragment,null,!w&&Object(s.createElement)(R,null),w&&function(e){return e&&e.length>=4}(g)&&Object(s.createElement)(S,null),Object(s.createElement)(j,{countryCode:d,setCountry:i,newRequest:r,keyphrase:a,setRequestFailed:h,setNoResultsFound:b,setRequestSucceeded:f,setRequestLimitReached:y,response:t,lastRequestKeyphrase:n})),function(e){const{isPending:t,requestLimitReached:n,isSuccess:a,response:r,requestHasData:i}=e;return t?Object(s.createElement)(u,null):n?Object(s.createElement)(m,null):!a&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(r)?Object(s.createElement)(C,null):i?void 0:Object(s.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(s.createElement)(k,{keyphrase:a,relatedKeyphrases:g,countryCode:d,renderAction:c,data:t}))}L.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},L.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(r.compose)([Object(a.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:n,getSEMrushRequestLimitReached:a,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:s,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:n(),requestLimitReached:a(),response:r(),isSuccess:s(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(a.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:n,setSEMrushRequestSucceeded:a,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:s,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{n(e,t)},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{s()},setNoResultsFound:()=>{o()}}})])(L)},,,,function(e,t,n){"use strict";var a=n(14),r=n(6),s=n(62),o=n(51);t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),Object(r.withDispatch)(e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}}),Object(o.a)()])(s.CollapsibleCornerstone)},function(e,t,n){"use strict";var a=n(0),r=n(6),s=n(2),o=n(7),i=n(4);t.a=()=>{const e=Object(r.useSelect)(e=>e("yoast-seo/editor").getEstimatedReadingTime(),[]),t=Object(a.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time",""),[]);return Object(a.createElement)(o.InsightsCard,{id:"yoastseo-estimated-reading-time-insights",amount:e,unit:Object(s._n)("minute","minutes",e,"wordpress-seo"),title:Object(s.__)("Reading time","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about reading time","wordpress-seo")})}},function(e,t,n){"use strict";var a=n(0),r=n(6),s=n(2),o=n(7),i=n(9),c=n(12),l=n(4);const d=Object(i.makeOutboundLink)();function u(e,t,n){const r=function(e){switch(e){case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("Try to make shorter sentences to improve readability","wordpress-seo");case c.DIFFICULTY.DIFFICULT:case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case c.DIFFICULTY.NO_DATA:return Object(s.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return Object(s.__)("Good job!","wordpress-seo")}}(t);return Object(a.createElement)("span",null,function(e,t){return-1===e?Object(s.sprintf)(Object(s.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):Object(s.sprintf)(
393
  /* Translators: %1$s expands to the numeric Flesch reading ease score,
394
  %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult').
395
  */
396
+ Object(s.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case c.DIFFICULTY.NO_DATA:return Object(s.__)("no data","wordpress-seo");case c.DIFFICULTY.VERY_EASY:return Object(s.__)("very easy","wordpress-seo");case c.DIFFICULTY.EASY:return Object(s.__)("easy","wordpress-seo");case c.DIFFICULTY.FAIRLY_EASY:return Object(s.__)("fairly easy","wordpress-seo");case c.DIFFICULTY.OKAY:return Object(s.__)("okay","wordpress-seo");case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("fairly difficult","wordpress-seo");case c.DIFFICULTY.DIFFICULT:return Object(s.__)("difficult","wordpress-seo");case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=c.DIFFICULTY.FAIRLY_DIFFICULT?Object(a.createElement)(d,{href:n},r+"."):r)}t.a=()=>{let e=Object(r.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseScore(),[]);const t=Object(a.useMemo)(()=>Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease",""),[]),n=Object(r.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty(),[e]),i=Object(a.useMemo)(()=>{const t=Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return u(e,n,t)},[e,n]);return-1===e&&(e="?"),Object(a.createElement)(o.InsightsCard,{id:"yoastseo-flesch-reading-ease-insights",amount:e,unit:Object(s.__)("out of 100","wordpress-seo"),title:Object(s.__)("Flesch reading ease","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})}},function(e,t,n){"use strict";var a=n(0),r=n(6),s=n(2),o=n(7),i=n(4);t.a=()=>{const e=Object(r.useSelect)(e=>e("yoast-seo/editor").getTextLength(),[]),t=Object(a.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count",""),[]);let n=Object(s._n)("word","words",e.count,"wordpress-seo"),c=Object(s.__)("Word count","wordpress-seo"),l=Object(s.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(n=Object(s._n)("character","characters",e.count,"wordpress-seo"),c=Object(s.__)("Character count","wordpress-seo"),l=Object(s.__)("Learn more about character count","wordpress-seo")),Object(a.createElement)(o.InsightsCard,{id:"yoastseo-text-length-insights",amount:e.count,unit:n,title:c,linkTo:t,linkText:l})}},function(e,t,n){"use strict";var a=n(0),r=n(20),s=n(15),o=n(2),i=n(43),c=n(126),l=n(59);t.a=()=>Object(a.createElement)(r.LocationConsumer,null,e=>{let t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=i.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=l.a),Object(a.createElement)(r,{prefixIcon:{icon:"plus",color:s.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:s.colors.$color_grey_medium_dark},title:Object(o.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},Object(a.createElement)(c.a,{link:t,buyLink:n}))})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(4);function r(e){return void 0===e.length?e:Object(a.flatten)(e).sort((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority)}},,,function(e,t,n){"use strict";var a=n(4),r=class{static isActive(){return!!document.getElementById("et_pb_main_editor_wrap")}static isTinyMCEHidden(){const e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver(t=>{Object(a.forEach)(t,t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())})}).observe(this.classicEditorContainer,{attributes:!0})}};const s={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop};t.a=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){r.isActive()&&(this.diviActive=!0),class{static isActive(){return!!window.VCV_I18N}}.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=Object(a.defaults)(e,s),this.diviActive&&(new r).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!r.isTinyMCEHidden())}}},function(e,t,n){"use strict";var a=n(14),r=n(6),s=n(0),o=n(2),i=n(7),c=n(9),l=n(1),d=n.n(l),u=n(20),p=n(4),h=n(34),m=n(13);const b=e=>{if(!e.isAuthenticated)return null;const t=Object(s.useCallback)(()=>{Object(h.d)()});return Object(s.createElement)(m.Button,{variant:"link",onClick:t},Object(o.__)("Manage WordProof settings","wordpress-seo"))};b.propTypes={isAuthenticated:d.a.bool.isRequired};const g=e=>{const t=Object(s.useCallback)(()=>{Object(h.c)()});return!e.isAuthenticated&&e.toggleIsEnabled?Object(s.createElement)(m.Button,{variant:"link",onClick:t},Object(o.__)("Authenticate with WordProof","wordpress-seo")):null};g.propTypes={isAuthenticated:d.a.bool.isRequired,toggleIsEnabled:d.a.bool.isRequired};class f extends s.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Object(h.c)()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(i.FieldGroup,{linkText:Object(o.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:Object(o.__)("Timestamp with WordProof","wordpress-seo"),hasNewBadge:!0},Object(s.createElement)(i.Toggle,{id:this.props.id,labelText:Object(o.sprintf)(
397
  /* Translators: %s translates to the Post type in singular form */
398
  Object(o.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),Object(s.createElement)(b,{isAuthenticated:this.props.isAuthenticated}),Object(s.createElement)(g,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&Object(s.createElement)(i.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},Object(o.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}f.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,postTypeName:d.a.string,isAuthenticated:d.a.bool.isRequired},f.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:p.noop};var y=Object(a.compose)([Object(r.withSelect)(e=>({isAuthenticated:e("wordproof").getIsAuthenticated()}))])(f);const w=e=>{let{noIndex:t,onNoIndexChange:n,editorContext:a,isPrivateBlog:r}=e;const l=(e=>{const t=Object(o.__)("No","wordpress-seo"),n=Object(o.__)("Yes","wordpress-seo"),a=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(o.sprintf)(
399
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
403
  /* Translators: %s translates to the Post Label in singular form */
404
  Object(o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),a.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})))};w.propTypes={noIndex:d.a.string.isRequired,onNoIndexChange:d.a.func.isRequired,editorContext:d.a.object.isRequired,isPrivateBlog:d.a.bool},w.defaultProps={isPrivateBlog:!1};const O=e=>{let{noFollow:t,onNoFollowChange:n,postTypeName:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const r=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(s.createElement)(i.RadioButtonGroup,{id:r,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(o.sprintf)(
405
  /* Translators: %s translates to the Post Label in singular form */
406
+ Object(o.__)("Should search engines follow links on this %s","wordpress-seo"),a),groupName:r,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};O.propTypes={noFollow:d.a.string.isRequired,onNoFollowChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const j=e=>{let{advanced:t,onAdvancedChange:n}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const a=Object(c.join)(["yoast-meta-robots-advanced",e]),r=a+"-input";return Object(s.createElement)(i.MultiSelect,{label:Object(o.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:a,inputId:r,options:[{name:Object(o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};j.propTypes={advanced:d.a.array.isRequired,onAdvancedChange:d.a.func.isRequired};const v=e=>{let{breadcrumbsTitle:t,onBreadcrumbsTitleChange:n}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")}))};v.propTypes={breadcrumbsTitle:d.a.string.isRequired,onBreadcrumbsTitleChange:d.a.func.isRequired};const E=e=>{let{canonical:t,onCanonicalChange:n}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")}))};E.propTypes={canonical:d.a.string.isRequired,onCanonicalChange:d.a.func.isRequired};const T=e=>{let{wordproofTimestamp:t,onWordProofTimestampChange:n,postTypeName:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(y,{id:Object(c.join)(["yoast-wordproof-timestamp",e]),isEnabled:t,onToggle:n,postTypeName:a}))};T.propTypes={wordproofTimestamp:d.a.bool.isRequired,onWordProofTimestampChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const _=e=>{const{noIndex:t,noFollow:n,advanced:a,breadcrumbsTitle:r,canonical:o,wordproofTimestamp:i,onNoIndexChange:c,onNoFollowChange:l,onAdvancedChange:d,onBreadcrumbsTitleChange:u,onCanonicalChange:p,onWordProofTimestampChange:h,onLoad:m,isLoading:b,editorContext:g,isBreadcrumbsDisabled:f,isPrivateBlog:y,isWordProofIntegrationActive:_}=e;Object(s.useEffect)(()=>{setTimeout(()=>{b&&m()})});const k={noIndex:t,onNoIndexChange:c,editorContext:g,isPrivateBlog:y},x={noFollow:n,onNoFollowChange:l,postTypeName:g.postTypeNameSingular},R={advanced:a,onAdvancedChange:d},C={breadcrumbsTitle:r,onBreadcrumbsTitleChange:u},S={canonical:o,onCanonicalChange:p},I={wordproofTimestamp:i,onWordProofTimestampChange:h,postTypeName:g.postTypeNameSingular};return b?null:Object(s.createElement)(s.Fragment,null,Object(s.createElement)(w,k),g.isPost&&Object(s.createElement)(O,x),g.isPost&&Object(s.createElement)(j,R),!f&&Object(s.createElement)(v,C),Object(s.createElement)(E,S),_&&Object(s.createElement)(T,I))};_.propTypes={noIndex:d.a.string.isRequired,canonical:d.a.string.isRequired,wordproofTimestamp:d.a.bool,onNoIndexChange:d.a.func.isRequired,onCanonicalChange:d.a.func.isRequired,onWordProofTimestampChange:d.a.func,onLoad:d.a.func.isRequired,isLoading:d.a.bool.isRequired,editorContext:d.a.object.isRequired,isBreadcrumbsDisabled:d.a.bool.isRequired,isPrivateBlog:d.a.bool,advanced:d.a.array,onAdvancedChange:d.a.func,noFollow:d.a.string,onNoFollowChange:d.a.func,breadcrumbsTitle:d.a.string,onBreadcrumbsTitleChange:d.a.func,isWordProofIntegrationActive:d.a.bool.isRequired},_.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};var k=_;t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getNoIndex:t,getNoFollow:n,getAdvanced:a,getBreadcrumbsTitle:r,getCanonical:s,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:c,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}=l();return{noIndex:t(),noFollow:n(),advanced:a(),breadcrumbsTitle:r(),canonical:s(),wordproofTimestamp:o(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}}),Object(r.withDispatch)(e=>{const{setNoIndex:t,setNoFollow:n,setAdvanced:a,setBreadcrumbsTitle:r,setCanonical:s,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:n,onAdvancedChange:a,onBreadcrumbsTitleChange:r,onCanonicalChange:s,onWordProofTimestampChange:o,onLoad:i}})])(k)},function(e,t,n){"use strict";var a=n(0),r=n(2),s=n(1),o=n.n(s),i=n(8),c=n.n(i),l=n(7),d=n(15),u=n(66),p=n(33),h=n(68),m=n(79);const b=e=>{const t=Object(r.__)("Get extra, smarter recommendations about your site’s structure, content, and SEO opportunities.","wordpress-seo"),n=[Object(r.__)("Target multiple focus keyphrases","wordpress-seo"),Object(r.__)("Use synonyms, plurals, and variations","wordpress-seo"),Object(r.__)("Unlock expert workouts and workflows","wordpress-seo")],s=wpseoAdminL10n[e.buyLink];return Object(a.createElement)(m.a,{infoParagraphs:[t],benefits:n,upsellButtonText:Object(r.sprintf)(
407
  /* translators: %s expands to 'Yoast SEO Premium'. */
408
  Object(r.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(r.__)("1 year of premium support and updates included!","wordpress-seo")})};b.propTypes={buyLink:o.a.string.isRequired};var g=b;const f=c()(l.CollapsibleStateless)`
409
  h2 > button {
424
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
425
  Object(o.__)("Default for %1$s (%2$s)","wordpress-seo"),n,a?a.name:""),value:""},...e]},v=e=>Object(o.sprintf)(
426
  /* 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 */
427
+ Object(o.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}"),E=e=>Object(a.createElement)(l.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(o.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription});E.propTypes={helpTextTitle:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired};const T=e=>Object(a.createElement)("p",null,e.helpTextDescription+" ",Object(a.createElement)("a",{href:e.helpTextLink},Object(o.__)("Read more about Schema.","wordpress-seo")));T.propTypes={helpTextDescription:c.a.string.isRequired,helpTextLink:c.a.string.isRequired};const _=e=>{const t=j(e.pageTypeOptions,e.defaultPageType,e.postTypeName),n=j(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),r=Object(f.isFeatureEnabled)("SCHEMA_BLOCKS"),[s,i]=Object(a.useState)(e.schemaArticleTypeSelected),c=Object(a.useCallback)((e,t)=>{i(t)},[s]);return Object(a.useEffect)(()=>{c(null,e.schemaArticleTypeSelected)},[e.schemaArticleTypeSelected]),Object(a.createElement)(a.Fragment,null,r?Object(a.createElement)(T,e):Object(a.createElement)(E,e),r&&Object(a.createElement)(d.Slot,{name:Object(u.join)(["yoast-schema-blocks-analysis",e.location])}),Object(a.createElement)(l.FieldGroup,{label:Object(o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(o.__)("Learn more about page or content types","wordpress-seo")}),Object(a.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-page-type",e.location]),options:t,label:Object(o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(a.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-article-type",e.location]),options:n,label:Object(o.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:c}),Object(a.createElement)(O,{location:e.location,show:!e.isNewsEnabled&&(m=s,b=e.defaultArticleType,"NewsArticle"===m||""===m&&"NewsArticle"===b)}),e.displayFooter&&Object(a.createElement)("p",null,(p=e.postTypeName,h()({mixedString:v(p),components:{link:Object(a.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))));var p,m,b};_.propTypes={schemaPageTypeChange:c.a.func,schemaPageTypeSelected:c.a.string,pageTypeOptions:g.b.isRequired,schemaArticleTypeChange:c.a.func,schemaArticleTypeSelected:c.a.string,articleTypeOptions:g.b.isRequired,showArticleTypeInput:c.a.bool.isRequired,additionalHelpTextLink:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,defaultPageType:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,location:c.a.string.isRequired,isNewsEnabled:c.a.bool},_.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const k=e=>e.isMetabox?Object(a.createPortal)(Object(a.createElement)(w,null,Object(a.createElement)(_,e)),document.getElementById("wpseo-meta-section-schema")):Object(a.createElement)(_,e);k.propTypes={showArticleTypeInput:c.a.bool,articleTypeLabel:c.a.string,additionalHelpTextLink:c.a.string,pageTypeLabel:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,isMetabox:c.a.bool.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,loadSchemaArticleData:c.a.func.isRequired,loadSchemaPageData:c.a.func.isRequired,location:c.a.string.isRequired},k.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=k,R=n(91),C=n(51);const S=e=>{const t=null!==R.a.articleTypeInput;Object(a.useEffect)(()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);const{pageTypeOptions:n,articleTypeOptions:r}=window.wpseoScriptData.metabox.schema,s={articleTypeLabel:Object(o.__)("Article type","wordpress-seo"),pageTypeLabel:Object(o.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(o.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(o.__)("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:n,articleTypeOptions:r},i={...e,...s,...(c=e.location,"metabox"===c?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var c;return Object(a.createElement)(x,i)};S.propTypes={displayFooter:c.a.bool.isRequired,schemaPageTypeSelected:c.a.string.isRequired,schemaArticleTypeSelected:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,defaultPageType:c.a.string.isRequired,loadSchemaPageData:c.a.func.isRequired,loadSchemaArticleData:c.a.func.isRequired,schemaPageTypeChange:c.a.func.isRequired,schemaArticleTypeChange:c.a.func.isRequired,location:c.a.string.isRequired},t.a=Object(r.compose)([Object(s.withSelect)(e=>{const{getPreferences:t,getPageType:n,getDefaultPageType:a,getArticleType:r,getDefaultArticleType:s}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:n(),schemaArticleTypeSelected:r(),defaultArticleType:s(),defaultPageType:a()}}),Object(s.withDispatch)(e=>{const{setPageType:t,setArticleType:n,getSchemaPageData:a,getSchemaArticleData:r}=e("yoast-seo/editor");return{loadSchemaPageData:a,loadSchemaArticleData:r,schemaPageTypeChange:t,schemaArticleTypeChange:n}}),Object(C.a)()])(S)},function(e,t,n){"use strict";var a=n(0),r=n(6),s=n(2),o=n(9),i=n(4),c=n(1),l=n.n(c),d=n(86),u=n(11),p=n.n(u),h=n(21),m=n.n(h);const b=e=>{let{data:t,itemScreenReaderText:n,className:r,...o}=e;const c=Object(a.useMemo)(()=>{var e,n;return null!==(e=null===(n=Object(i.maxBy)(t,"number"))||void 0===n?void 0:n.number)&&void 0!==e?e:0},[t]);return Object(a.createElement)("ul",p()({className:m()("yoast-data-model",r)},o),t.map(e=>{let{name:t,number:r}=e;return Object(a.createElement)("li",{key:t+"_dataItem",style:{"--yoast-width":r/c*100+"%"}},t,Object(a.createElement)("span",null,r),n&&Object(a.createElement)("span",{className:"screen-reader-text"},Object(s.sprintf)(n,r)))}))};b.propTypes={data:l.a.arrayOf(l.a.shape({name:l.a.string.isRequired,number:l.a.number.isRequired})),itemScreenReaderText:l.a.string,className:l.a.string},b.defaultProps={data:[],itemScreenReaderText:"",className:""};var g=b;const f=Object(o.makeOutboundLink)(),y=e=>{let{location:t}=e;const n=Object(r.useSelect)(e=>{var t,n;return null===(t=null===(n=e("yoast-seo-premium/editor"))||void 0===n?void 0:n.getPreference("isProminentWordsAvailable",!1))||void 0===t||t},[]),o=Object(r.useSelect)(e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1),[]),c=Object(a.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,""),[t]),l=Object(a.useMemo)(()=>{const e=Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Object(d.a)(Object(s.sprintf)(Object(s.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>"),{a:Object(a.createElement)(f,{href:e})})},[]),u=Object(a.useMemo)(()=>Object(d.a)(Object(s.sprintf)(// translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`.
428
  Object(s.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:Object(a.createElement)("b",null)}),[]),p=Object(r.useSelect)(e=>{var t,n;return null!==(t=null===(n=e("yoast-seo-premium/editor"))||void 0===n?void 0:n.getProminentWords())&&void 0!==t?t:[]},[]),h=Object(a.useMemo)(()=>{const e=Object(s.sprintf)(// translators: %1$s expands to Yoast SEO Premium.
429
  Object(s.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map((t,n)=>({name:t,number:e.length-n}))},[]),m=Object(a.useMemo)(()=>o?h:p.map(e=>{let{word:t,occurrence:n}=e;return{name:t,number:n}}),[p,h]);return n?Object(a.createElement)("div",{className:"yoast-prominent-words"},Object(a.createElement)("div",{className:"yoast-field-group__title"},Object(a.createElement)("b",null,Object(s.__)("Prominent words","wordpress-seo"))),!o&&Object(a.createElement)("p",null,0===m.length?Object(s.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):Object(s.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),o&&Object(a.createElement)("p",null,u),o&&Object(a.createElement)(f,{href:c,className:"yoast-button yoast-button-upsell"},Object(s.sprintf)(// translators: %s expands to `Premium` (part of add-on name).
430
  Object(s.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(a.createElement)("p",null,l),Object(a.createElement)(g,{data:m,itemScreenReaderText:// translators: %d expands to the number of occurrences.
431
+ Object(s.__)("%d occurrences","wordpress-seo"),"aria-label":Object(s.__)("Prominent words","wordpress-seo"),className:o?"yoast-data-model--upsell":null})):null};y.propTypes={location:l.a.string.isRequired},t.a=y},,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var a=n(0),r=n(13),s=n(1),o=n.n(s),i=n(103);const c=e=>(Object(a.useEffect)(()=>{setTimeout(e.onLoad)},[]),e.isPremium?Object(a.createElement)(r.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(a.createElement)(i.a,e));c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},function(e,t,n){"use strict";var a=n(0),r=n(13),s=n(1),o=n.n(s),i=n(103);const c=e=>{const[t,n]=Object(a.useState)(""),s=Object(a.useCallback)(e=>{n(e.detail.metaTabId)},[n]);Object(a.useEffect)(()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",s),()=>{window.removeEventListener("YoastSEO:metaTabChange",s)}),[]);const o=Object(a.useMemo)(()=>({...e,activeMetaTabId:t}),[e,t]);return e.isPremium?Object(a.createElement)(r.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:o}):Object(a.createElement)(i.a,o)};c.propTypes={isPremium:o.a.bool.isRequired,onLoad:o.a.func.isRequired,location:o.a.string.isRequired},t.a=c},,,,,,function(e,t,n){"use strict";var a,r,s,o,i,c,l,d,u,p,h,m,b,g,f,y,w,O,j,v,E,T,_,k,x,R,C,S,I,L,P,A,F,q,M,D,N,U,W,B,H,z,$,K,Y,V,G,Z,J=n(0),X=n(2),Q=n(19),ee=()=>Object(J.createElement)(J.Fragment,null,Object(J.createElement)("p",null,Object(Q.a)(Object(X.sprintf)(
432
  /* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */
433
  Object(X.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof","WordPress"),"https://help.wordproof.com/"))),te=n(3);function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ae(e){return te.createElement("svg",ne({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),a||(a=te.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),r||(r=te.createElement("path",{d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z",fill:"#fbd2a6"})),s||(s=te.createElement("path",{d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 00110.3 8.66 25.66 25.66 0 01.18-8.12z",fill:"#a4286a"})),o||(o=te.createElement("path",{d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z",fill:"#9a5815"})),i||(i=te.createElement("path",{d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z",fill:"#efb17c"})),c||(c=te.createElement("path",{d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z",fill:"#fbd2a6"})),l||(l=te.createElement("path",{d:"M235.21 167.9l53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z",fill:"#f6b488"})),d||(d=te.createElement("path",{d:"M277.68 178.82z",fill:"#efb17c"})),u||(u=te.createElement("path",{d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z",fill:"#fbd2a6"})),p||(p=te.createElement("path",{d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z",fill:"#e5766c"})),h||(h=te.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),m||(m=te.createElement("path",{d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 00-1.24 1.23h-.12a3.73 3.73 0 011-1.52 12.53 12.53 0 0111.93-3c4.73 1 9.43 4.63 9.42 9.82z",fill:"#000001"})),b||(b=te.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),g||(g=te.createElement("path",{d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 016.11 11.53z",fill:"#fff"})),f||(f=te.createElement("path",{d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 00-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z",fill:"#000001"})),y||(y=te.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),w||(w=te.createElement("path",{d:"M218.66 120.27a27.32 27.32 0 004.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z",fill:"#efb17c"})),O||(O=te.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),j||(j=te.createElement("path",{d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z",fill:"#fbd2a6"})),v||(v=te.createElement("path",{d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54",fill:"#a4286a"})),E||(E=te.createElement("path",{d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z",fill:"#cb9833"})),T||(T=te.createElement("path",{d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 00302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z",fill:"#fbd2a6"})),_||(_=te.createElement("path",{d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z",fill:"#efb17c"})),k||(k=te.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),x||(x=te.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),R||(R=te.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),C||(C=te.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),S||(S=te.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),I||(I=te.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),L||(L=te.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),P||(P=te.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),A||(A=te.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),F||(F=te.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),q||(q=te.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),M||(M=te.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),D||(D=te.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),N||(N=te.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),U||(U=te.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),W||(W=te.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),B||(B=te.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),H||(H=te.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),z||(z=te.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),$||($=te.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),K||(K=te.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Y||(Y=te.createElement("path",{d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z",fill:"#71b026"})),V||(V=te.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),G||(G=te.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),Z||(Z=te.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}var re=n(34),se=n(7),oe=n(1),ie=n.n(oe);const ce=e=>{const{closeModal:t}=e;return Object(J.createElement)(J.Fragment,null,Object(J.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(J.createElement)(ae,{class:"yoast-wordproof-modal-svg__success"})),Object(J.createElement)("p",null,Object(X.sprintf)(
434
  /* Translators: %s translates to the Post type in singular form */
438
  * %3$s translates to the Post type in singular form.
439
  */
440
  "The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"<b>","</b>",Object(re.a)("current_post_type")),{b:Object(J.createElement)("b",null)})),Object(J.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(J.createElement)(se.NewButton,{variant:"primary",onClick:t},"Continue")))};ce.propTypes={closeModal:ie.a.func.isRequired};var le,de=ce;function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function pe(e){return te.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 752 247",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",fill:"#fff",fillRule:"evenodd","aria-hidden":"true"},e),le||(le=te.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},te.createElement("path",{d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.621-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z",fill:"#f17523"}),te.createElement("path",{d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96l.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 001.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085l4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 01-1.565-3.955 31.05 31.05 0 01-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z",fill:"#fccda3"}),te.createElement("path",{d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z",fill:"#847972"}),te.createElement("path",{d:"M354 58.468c3.673-2.83 10.069-1.514 11.47 3.193l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.888c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),te.createElement("path",{d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296l79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696l6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135l15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z",fill:"#3e2723"}),te.createElement("path",{d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z",fill:"#dba378"}),te.createElement("path",{d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.639 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 00.367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 00-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 006.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z",fill:"#bf360c"}))))}const he=e=>{const{closeModal:t}=e,n=Object(J.useCallback)(e=>{t(),e.preventDefault(),Object(re.c)()});return Object(J.createElement)("div",null,Object(J.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(J.createElement)(pe,{className:"yoast-wordproof-modal-svg__webhook-failed"})),Object(J.createElement)("div",null,Object(X.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),Object(J.createElement)("br",null),Object(Q.a)(Object(X.sprintf)(Object(X.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"<a>","</a>"),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),Object(J.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(J.createElement)(se.NewButton,{variant:"secondary",onClick:n},Object(X.__)("Try again","wordpress-seo"))),Object(J.createElement)("div",null,Object(Q.a)(Object(X.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s expands to WordProof.
441
+ Object(X.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof"),"https://help.wordproof.com")))};he.propTypes={closeModal:ie.a.func.isRequired};var me=he,be=n(33);t.a=()=>{const[e,t]=Object(J.useState)(null),n=Object(J.useCallback)(()=>{t("oauth:failed")}),a=Object(J.useCallback)(()=>{t("webhook:failed")}),r=Object(J.useCallback)(()=>{t("oauth:success")}),s=Object(J.useCallback)(()=>{t(null)});Object(J.useEffect)(()=>(window.addEventListener("wordproof:oauth:success",r,!1),window.addEventListener("wordproof:oauth:failed",n,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",r,!1),window.removeEventListener("wordproof:oauth:failed",n,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)}),[]);const o=Object(J.useCallback)(()=>{switch(e){case"webhook:failed":return Object(X.__)("Connection failed","wordpress-seo");case"oauth:success":return Object(X.__)("Connected to WordProof","wordpress-seo");default:return Object(X.__)("WordProof authentication","wordpress-seo")}});return Object(J.createElement)(J.Fragment,null,e&&Object(J.createElement)(be.a,{onRequestClose:s,additionalClassName:"yoast-wordproof-modal",title:o()},"oauth:success"===e&&Object(J.createElement)(de,{closeModal:s}),"oauth:failed"===e&&Object(J.createElement)(ee,null),"webhook:failed"===e&&Object(J.createElement)(me,{closeModal:s})))}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(38),r=n(32),s=n(104),o=n(47);const{dispatch:i}=wp.data;function c(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=i("wordproof"),n=Object(r.a)("popup_redirect_authentication_url"),c=Object(r.a)("popup_redirect_settings_url");let l=null;const d=(e,t)=>{l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:680;const s=e.top.outerHeight/2+e.top.screenY-r/2,o=e.top.outerWidth/2+e.top.screenX-a/2;return e.open(t,n,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${a},\n\t\theight=${r},\n\t\ttop=${s},\n\t\tleft=${o}`)}(window,e,t),l&&l.focus(),window.addEventListener("message",u,!1)},u=async e=>{const{data:t,source:n,origin:a}=e;if(a===Object(r.a)("origin")&&l===n)switch(t.type){case"wordproof:oauth:granted":!1===await m(t)&&await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await p("wordproof:oauth:denied",!1);break;case"wordproof:webhook:success":await p("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await p("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await p("wordproof:settings:updated"),await b(t);break;case"wordproof:oauth:destroy":await p("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await p("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":h()}},p=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;h(),Object(s.a)(t),!1===n&&(await Object(a.b)(),e(!1)),!0===n&&e(!0)},h=()=>{window.removeEventListener("message",u,!1),l.close()},m=async e=>{await Object(a.c)(()=>Object(o.e)(e),async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return l.postMessage(t,Object(r.a)("origin")),!0},async()=>!1)},b=async e=>{await Object(a.c)(()=>Object(o.f)(e),async()=>{const n=e.settings;return n.selectedPostTypes&&t(n.selectedPostTypes),!0},async()=>!1)};window.addEventListener("wordproof:open_authentication",e=>{e.preventDefault(),d(n,"WordProof_Authentication")},!1),window.addEventListener("wordproof:open_settings",e=>{e.preventDefault(),d(c,"WordProof_Settings")},!1)}},,,,function(e,t,n){"use strict";var a=n(6),r=n(7);t.a=Object(a.withSelect)(e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}})(r.Warning)},function(e,t,n){"use strict";var a=n(11),r=n.n(a),s=n(0),o=n(14),i=n(6),c=n(2),l=n(152),d=n(20),u=n(123),p=n(61),h=n(113);const m=function(e,t){let 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(p.applyReplaceUsingPlugin)(e)};t.a=Object(o.compose)([Object(i.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:n,getFocusKeyphrase:a,getRecommendedReplaceVars:r,getReplaceVars:s,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:c,getSnippetEditorMode:l,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:p,getIsTerm:h,getContentLocale:m}=e("yoast-seo/editor"),b=s();return b.forEach(e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),{baseUrl:t(),data:c(),date:n(),faviconSrc:i(),keyword:a(),mobileImageSrc:d(),mode:l(),recommendedReplacementVariables:r(),replacementVariables:b,shoppingData:o(),wordsToHighlight:u(),isCornerstone:p(),isTaxonomy:h(),locale:m()}})),Object(i.withDispatch)((function(e,t,n){let{select:a}=n;const{updateData:r,switchMode:s,updateAnalysisData:o,findCustomFields:i}=e("yoast-seo/editor"),c=e("core/editor"),l=a("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":s(t);break;case"slug":r({slug:t}),c&&c.editPost({slug:t});break;default:r({[e]:t})}},onChangeAnalysisData:o,onReplacementVariableSearchChange:Object(h.a)(l,i)}}))])(e=>Object(s.createElement)(d.LocationConsumer,null,t=>Object(s.createElement)(u.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(l.SnippetEditor,r()({},e,{descriptionPlaceholder:Object(c.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:m,showCloseButton:!1,idSuffix:t})))))},function(e,t,n){"use strict";var a=n(14),r=n(6),s=n(153),o=n(17),i=n(51),c=n(40),l=n(113);const d=()=>{Object(c.b)(e=>Object(r.dispatch)("yoast-seo/editor").setTwitterPreviewImage(Object(c.d)(e)))};t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getTwitterDescription:t,getTwitterTitle:n,getTwitterImageUrl:a,getFacebookImageUrl:r,getFacebookTitle:s,getFacebookDescription:i,getDescription:c,getSeoTitle:l,getTwitterWarnings:d,getTwitterImageType:u,getImageFallback:p,getRecommendedReplaceVars:h,getReplaceVars:m,getSiteUrl:b,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:y,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:O,getReplacedExcerpt:j,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:a(),imageFallbackUrl:r()||p(),recommendedReplacementVariables:h(),replacementVariables:m(),description:t(),descriptionPreviewFallback:O()||i()||c()||w()||j()||"",title:n(),titlePreviewFallback:y()||s()||l()||f()||g()||"",imageWarnings:d(),siteUrl:b(),isPremium:!!Object(o.a)().isPremium,isLarge:"summary"!==u(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter",alt:v()}}),Object(r.withDispatch)((e,t,n)=>{let{select:a}=n;const{setTwitterPreviewTitle:r,setTwitterPreviewDescription:s,clearTwitterPreviewImage:o,loadTwitterPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=a("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:o,onDescriptionChange:s,onTitleChange:r,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(s.a)},function(e,t,n){"use strict";var a=n(14),r=n(6),s=n(154),o=n(17),i=n(51),c=n(40),l=n(113);const d=()=>{Object(c.b)(e=>Object(r.dispatch)("yoast-seo/editor").setFacebookPreviewImage(Object(c.c)(e)))};t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getFacebookDescription:t,getDescription:n,getFacebookTitle:a,getSeoTitle:r,getFacebookImageUrl:s,getImageFallback:i,getFacebookWarnings:c,getRecommendedReplaceVars:l,getReplaceVars:d,getSiteUrl:u,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:h,getSocialTitleTemplate:m,getSeoDescriptionTemplate:b,getSocialDescriptionTemplate:g,getReplacedExcerpt:f,getFacebookAltText:y}=e("yoast-seo/editor");return{imageUrl:s(),imageFallbackUrl:i(),recommendedReplacementVariables:l(),replacementVariables:d(),description:t(),descriptionPreviewFallback:g()||n()||b()||f()||"",title:a(),titlePreviewFallback:m()||r()||h()||p()||"",imageWarnings:c(),siteUrl:u(),isPremium:!!Object(o.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook",alt:y()}}),Object(r.withDispatch)((e,t,n)=>{let{select:a}=n;const{setFacebookPreviewTitle:r,setFacebookPreviewDescription:s,clearFacebookPreviewImage:o,loadFacebookPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=a("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:o,onDescriptionChange:s,onTitleChange:r,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(s.a)},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var a=n(0),r=n(1),s=n.n(r),o=n(13),i=n(136),c=n(67);function l(e){let{theme:t}=e;return Object(a.createElement)(c.a,{theme:t,location:"metabox"},Object(a.createElement)(o.Slot,{name:"YoastMetabox"},e=>Object(i.a)(e)))}var d=n(6),u=n(14),p=n(2),h=n(15),m=n(131),b=n(167),g=n(166),f=n(62),y=n(43),w=n(132),O=n(133),j=n(143),v=n(134);const E=e=>{let{location:t}=e;const n=Object(d.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]);return Object(a.createElement)(y.a,{title:Object(p.__)("Insights","wordpress-seo"),id:"yoast-insights-collapsible-"+t,className:"yoast-insights"},Object(a.createElement)(j.a,{location:t}),Object(a.createElement)("div",null,n&&Object(a.createElement)("div",{className:"yoast-insights-row"},Object(a.createElement)(O.a,null)),Object(a.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(a.createElement)(w.a,null),Object(a.createElement)(v.a,null))))};E.propTypes={location:s.a.string},E.defaultProps={location:"metabox"};var T=E,_=n(25),k=n(140),x=n(169),R=n(168);const C=e=>{let{displayFacebook:t,displayTwitter:n}=e;return Object(a.createElement)(a.Fragment,null,t&&Object(a.createElement)(y.a,{hasSeparator:!1
442
  /* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(a.createElement)(x.a,null)),n&&Object(a.createElement)(y.a
443
+ /* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(a.createElement)(R.a,null)))};C.propTypes={displayFacebook:s.a.bool.isRequired,displayTwitter:s.a.bool.isRequired};var S=C,I=Object(d.withSelect)(e=>{const{getPreferences:t}=e("yoast-seo/editor"),{displayFacebook:n,displayTwitter:a}=t();return{displayFacebook:n,displayTwitter:a}})(S),L=n(35);function P(e){let{target:t}=e;return Object(a.createElement)(L.a,{target:t},Object(a.createElement)(I,null))}P.propTypes={target:s.a.string.isRequired};var A=n(142),F=n(127),q=n(112),M=n(34),D=n(160),N=n(141),U=n(135);function W(e){let{settings:t,wincherKeyphrases:n,setWincherNoKeyphrase:r}=e;const s=Object(a.useCallback)(()=>{if(!n.length)return r(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1},[n,r]);return Object(a.createElement)(a.Fragment,null,Object(M.b)()&&Object(a.createElement)(D.a,null),Object(a.createElement)(o.Fill,{name:"YoastMetabox"},Object(a.createElement)(_.a,{key:"warning",renderPriority:1},Object(a.createElement)(g.a,null)),t.isKeywordAnalysisActive&&Object(a.createElement)(_.a,{key:"keyword-input",renderPriority:8},Object(a.createElement)(f.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(a.createElement)(o.Fill,{name:"YoastRelatedKeyphrases"},Object(a.createElement)(F.a,null))),Object(a.createElement)(_.a,{key:"google-preview",renderPriority:9},Object(a.createElement)(y.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(a.createElement)(b.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(a.createElement)(_.a,{key:"readability-analysis",renderPriority:10},Object(a.createElement)(f.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell,isYoastSEOWooActive:t.isYoastSEOWooEnabled})),t.isKeywordAnalysisActive&&Object(a.createElement)(_.a,{key:"seo-analysis",renderPriority:20},Object(a.createElement)(a.Fragment,null,Object(a.createElement)(f.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive,isYoastSEOWooActive:t.isYoastSEOWooEnabled}),t.shouldUpsell&&Object(a.createElement)(N.a,{location:"metabox"}))),t.isKeywordAnalysisActive&&Object(a.createElement)(_.a,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&Object(a.createElement)(U.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(a.createElement)(_.a,{key:"wincher-seo-performance",renderPriority:25},Object(a.createElement)(y.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(p.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:h.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:h.colors.$color_grey_medium_dark},onToggle:s},Object(a.createElement)(q.a,null))),t.isCornerstoneActive&&Object(a.createElement)(_.a,{key:"cornerstone",renderPriority:30},Object(a.createElement)(m.a,null)),t.displayAdvancedTab&&Object(a.createElement)(_.a,{key:"advanced",renderPriority:40},Object(a.createElement)(y.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(a.createElement)(k.a,null))),t.displaySchemaSettings&&Object(a.createElement)(_.a,{key:"schema",renderPriority:50},Object(a.createElement)(A.a,null)),Object(a.createElement)(_.a,{key:"social",renderPriority:-1},Object(a.createElement)(P,{target:"wpseo-section-social"})),t.isInsightsEnabled&&Object(a.createElement)(_.a,{key:"insights",renderPriority:52},Object(a.createElement)(T,{location:"metabox"}))))}W.propTypes={settings:s.a.object.isRequired,wincherKeyphrases:s.a.array.isRequired,setWincherNoKeyphrase:s.a.func.isRequired};var B=Object(u.compose)([Object(d.withSelect)((e,t)=>{const{getPreferences:n,getWincherTrackableKeyphrases:a}=e("yoast-seo/editor");return{settings:n(),store:t.store,wincherKeyphrases:a()}}),Object(d.withDispatch)(e=>{const{setWincherNoKeyphrase:t}=e("yoast-seo/editor");return{setWincherNoKeyphrase:t}})])(W);function H(e){let{target:t,store:n,theme:r}=e;return Object(a.createElement)(L.a,{target:t},Object(a.createElement)(l,{store:n,theme:r}),Object(a.createElement)(B,{store:n,theme:r}))}H.propTypes={target:s.a.string.isRequired,store:s.a.object,theme:s.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(13),s=n(193),o=n(17);const i=[];let c=null;class l extends a.Component{constructor(e){super(e),this.state={registeredComponents:[]}}registerComponent(e,t){this.setState({registeredComponents:[...this.state.registeredComponents,{key:e,Component:t}]})}render(){return this.state.registeredComponents.map(e=>{let{Component:t,key:n}=e;return Object(a.createElement)(t,{key:n})})}}function d(e,t){null===c||null===c.current?i.push({key:e,Component:t}):c.current.registerComponent(e,t)}var u=n(34),p=n(162),h=n(18),m=n(16),b=n.n(m),g=n(4),f=n(12),y=n.n(f),w=n(61),O=n(37),j=n(58);const{removeMarks:v}=y.a.markers,{updateReplacementVariable:E,updateData:T,hideReplacementVariables:_,setContentImage:k,setEditorDataContent:x,setEditorDataTitle:R,setEditorDataExcerpt:C,setEditorDataImageUrl:S,setEditorDataSlug:I}=h.actions;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=d,function(e){const t=Object(o.a)();c=Object(a.createRef)();const n={isRtl:t.isRtl};Object(a.render)(Object(a.createElement)(r.SlotFillProvider,null,Object(a.createElement)(s.a,{target:"wpseo-metabox-root",store:e,theme:n}),Object(a.createElement)(l,{ref:c})),document.getElementById("wpseo-metabox-root")),i.forEach(e=>{c.current.registerComponent(e.key,e.Component)})}(e),Object(u.b)()&&Object(p.a)()},window.yoast.EditorData=class{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";this._refresh=e,this._store=t,this._tinyMceId=n,this._previousData={},this._previousEditorData={},this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=this.getInitialData(e);Object(w.fillReplacementVariables)(n,this._store),this._store.dispatch(_(t)),this._previousEditorData.content=n.content,this._store.dispatch(x(n.content)),this._previousEditorData.contentImage=n.contentImage,this._store.dispatch(k(n.contentImage)),this.setImageInSnippetPreview(n.snippetPreviewImageURL||n.contentImage),this._previousEditorData.slug=n.slug,this._store.dispatch(I(n.slug)),this.updateReplacementData({target:{value:n.title}},"title"),this.updateReplacementData({target:{value:n.excerpt}},"excerpt"),this.updateReplacementData({target:{value:n.excerpt_only}},"excerpt_only"),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage(),this.subscribeToTinyMceEditor(),this.subscribeToSlug()}subscribeToTinyMceEditor(){const e=e=>{if(Object(g.isString)(e)||(e=this.getContent()),this._previousEditorData.content===e)return;if(this._previousEditorData.content=e,this._store.dispatch(x(e)),this.featuredImageIsSet)return;const t=this.getContentImage(e);this._previousEditorData.contentImage!==t&&(this._previousEditorData.contentImage=t,this._store.dispatch(k(t)),this.setImageInSnippetPreview(t))};b()(document).on("tinymce-editor-init",(t,n)=>{n.id===this._tinyMceId&&(e(this.getContent()),["input","change","cut","paste"].forEach(t=>n.on(t,Object(g.debounce)(e,1e3))))});const t=document.getElementById("attachment_content");t&&(e(t.value),t.addEventListener("input",t=>e(t.target.value)))}subscribeToSlug(){const e=e=>{this._previousEditorData.slug!==e&&(this._previousEditorData.slug=e,this._store.dispatch(I(e)),this._store.dispatch(T({slug:e})))},t=document.getElementById("slug");t&&t.addEventListener("input",t=>e(t.target.value));const n=document.getElementById("post_name");n&&n.addEventListener("input",t=>e(t.target.value));const a=document.getElementById("edit-slug-buttons");a&&new MutationObserver((t,n)=>t.forEach(t=>{t.addedNodes.forEach(t=>{var a,r;if(null==t||null===(a=t.classList)||void 0===a||!a.contains("edit-slug"))return;const s=null===(r=document.getElementById("editable-post-name-full"))||void 0===r?void 0:r.innerText;s&&(e(s),n.disconnect(),this.subscribeToSlug())})})).observe(a,{childList:!0})}subscribeToSnippetPreviewImage(){if(Object(g.isUndefined)(wp.media)||Object(g.isUndefined)(wp.media.featuredImage))return;b()("#postimagediv").on("click","#remove-post-thumbnail",()=>{this.featuredImageIsSet=!1,this.setImageInSnippetPreview(this.getContentImage(this.getContent()))});const e=wp.media.featuredImage.frame();e.on("select",()=>{const t=e.state().get("selection").first().attributes.url;t&&(this.featuredImageIsSet=!0,this.setImageInSnippetPreview(t))}),O.addEventHandler(this._tinyMceId,["init"],()=>{const e=this.getContentImage(this.getContent()),t=this.getFeaturedImage()||e||"";this._store.dispatch(k(e)),this.setImageInSnippetPreview(t)})}getFeaturedImage(){const e=b()("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}setImageInSnippetPreview(e){this._store.dispatch(S(e)),this._store.dispatch(T({snippetPreviewImageURL:e}))}getContentImage(e){if(this.featuredImageIsSet)return"";const t=y.a.languageProcessing.imageInText(e);let n="";if(0===t.length)return n;do{let e=t.shift();e=b()(e);const a=e.prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}getTitle(){const e=document.getElementById("title")||document.getElementById("name");return e&&e.value||""}getExcerpt(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=document.getElementById("excerpt"),n=t&&t.value||"",a="ja"===Object(j.a)()?80:156;return""!==n||!1===e?n:Object(w.excerptFromContent)(this.getContent(),a)}getSlug(){let e="";const t=document.getElementById("new-post-slug")||document.getElementById("slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}getContent(){return v(O.getContentTinyMce(this._tinyMceId))}subscribeToElements(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}subscribeToInputElement(e,t){const n=document.getElementById(e);n&&n.addEventListener("input",e=>{this.updateReplacementData(e,t)})}updateReplacementData(e,t){let n=e.target.value;if("excerpt"===t&&""===n&&(n=this.getExcerpt()),this._previousEditorData[t]!==n){switch(this._previousEditorData[t]=n,t){case"title":this._store.dispatch(R(n));break;case"excerpt":this._store.dispatch(C(n))}this._store.dispatch(E(t,n))}}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}refreshYoastSEO(){const e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}handleEditorChange(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(E("excerpt",e.excerpt)),this._store.dispatch(E("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL),this._previousData.slug!==e.slug&&this._store.dispatch(I(e.slug)),this._previousData.title!==e.title&&this._store.dispatch(R(e.title))}subscribeToStore(){this.subscriber=Object(g.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}getInitialData(e){e=Object(w.mapCustomFields)(e,this._store),e=Object(w.mapCustomTaxonomies)(e,this._store);const t=this.getContent(),n=this.getFeaturedImage();return{...e,title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:t,snippetPreviewImageURL:n,contentImage:this.getContentImage(t)}}getData(){return{...this._store.getState().snippetEditor.data,title:this.getTitle(),content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)}}}}]);
js/dist/dashboard-widget.js CHANGED
@@ -1,12 +1,12 @@
1
- !function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},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 a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},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=272)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},100:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},n),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:n}=this.options,a=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,n,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:n,origin:a}=e;a===this.origin&&this.popup===n&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},101:function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(2),i=n(22),c=n.n(i),l=n(7);const u=e=>{const t=Object(o.sprintf)(
2
  /* translators: %s expands to a link to open the Wincher login popup. */
3
  Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(a.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(a.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
4
  /* translators: %s : Expands to "Wincher". */
5
- Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};u.propTypes={onReconnect:s.a.func.isRequired},t.a=u},107:function(e,t,n){"use strict";var a=n(3),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=n(76),o=n(108),i=n(109),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,a={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return a[e]}))):t.toString(36);var n,a}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,h,b=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function f(e,t,n,a){this.result=e,this.keyPrefix=t,this.func=n,this.context=a,this.count=0}function y(e,t,n){var r,o,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,i,n,s.thatReturnsArgument):null!=p&&(a.isValidElement(p)&&(r=p,o=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=a.cloneElement(r,{key:o},void 0!==r.props?r.props.children:void 0)),i.push(p))}function g(e,t,n,a,s){var i="";null!=n&&(i=d(n)+"/");var u=f.getPooled(t,i,a,s);!function(e,t,n){null==e||function e(t,n,a,s){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===r)return a(s,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)d+=e(i=t[h],p+l(i,h),a,s);else{var b=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(b)for(var m,f=b.call(t),y=0;!(m=f.next()).done;)d+=e(i=m.value,p+l(i,y++),a,s);else if("object"===u){var g=""+t;o(!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),f.release(u)}f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,a){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,a),r}return new this(e,t,n,a)},(h=f).instancePool=[],h.getPooled=p||b,h.poolSize||(h.poolSize=10),h.release=function(e){o(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(a.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(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,s.thatReturnsArgument);return t}},108:function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,s,o,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,a,r,s,o,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},109:function(e,t,n){"use strict";var a=n(76);e.exports=a},110:function(e,t,n){"use strict";function a(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(a)}},137:function(e,t){e.exports=window.yoast.analysisReport},15:function(e,t){e.exports=window.yoast.styleGuide},2:function(e,t){e.exports=window.wp.i18n},22:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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},r=i(n(3)),s=i(n(107)),o=i(n(110));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":a(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,n){var o,i,l,u,d,p,h,b,m=[],f={};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"!==a(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){o=n[d.value],l=p;break}m.push(n[d.value])}else m.push(d.value);return o&&(u=function(e,t){var n,a,r=t[e],s=0;for(a=e+1;a<t.length;a++)if((n=t[a]).value===r.value){if("componentOpen"===n.type){s++;continue}if("componentClose"===n.type){if(0===s)return a;s--}}throw new Error("Missing closing component token `"+r.value+"`")}(l,t),h=e(t.slice(l+1,u),n),i=r.default.cloneElement(o,{},h),m.push(i),u<t.length-1&&(b=e(t.slice(u+1),n),m=m.concat(b))),1===m.length?m[0]:(m.forEach((function(e,t){e&&(f["interpolation-child-"+t]=e)})),(0,s.default)(f))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},26:function(e,t){e.exports=window.wp.apiFetch},27:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o}));var a=n(26),r=n.n(a);async function s(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===a?t(r):n(r))}catch(e){console.error(e.message)}}async function o(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},272:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(7),s=n(15),o=n(137),i=n(9),c=n(1),l=n.n(c),u=n(8),d=n.n(u),p=n(2),h=n(4),b=n(22),m=n.n(b);const f=Object(i.makeOutboundLink)(),y=Object(i.makeOutboundLink)();var g=()=>{const e=Object(p.sprintf)(Object(p.__)(
6
  /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
7
  "Connect %1$s with %2$s to track the ranking position of your site in the search results based on your keyphrase(s). %3$s","wordpress-seo"),"Yoast SEO","{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(a.createElement)("p",null,m()({mixedString:e,components:{wincherLink:Object(a.createElement)(f,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(a.createElement)(y,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(p.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},w=()=>Object(a.createElement)(r.Alert,{type:"warning"},Object(p.sprintf)(
8
  /* translators: %s: Expands to "Wincher". */
9
- Object(p.__)('Your %s account does not contain any keyphrases for this website yet. You can track keyphrases by using the "Track SEO Performance" button in the post editor.',"wordpress-seo"),"Wincher")),j=n(96),O=n(101);const v=Object(i.makeOutboundLink)(),E=Object(i.makeOutboundLink)(),k=Object(i.makeOutboundLink)(),_=d.a.div`
10
  `,T=d.a.div`
11
  font-size: 14px;
12
  `,D=d.a.h3`
@@ -23,4 +23,4 @@ Object(p.__)("This overview only shows you keyphrases added to Yoast SEO. There
23
  /* translators: %s : Expands to "Wincher". */
24
  Object(p.__)("%s account","wordpress-seo"),"Wincher"))}}))},I=e=>{const{className:t,websiteId:n,isLoggedIn:r,data:s}=e;return Object(a.createElement)(_,{className:t},Object(a.createElement)(D,{className:t+"__header"},Object(p.__)("Top performing keyphrases on your site","wordpress-seo")),Object(a.createElement)(R,e),r&&s&&!Object(h.isEmpty)(s)&&!Object(h.isEmpty)(s.results)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(C,null),Object(a.createElement)(S,null,Object(a.createElement)("table",{className:"yoast yoast-table"},Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,Object(a.createElement)("th",{scope:"col",abbr:Object(p.__)("Keyphrase","wordpress-seo")},Object(p.__)("Keyphrase","wordpress-seo")),Object(a.createElement)("th",{scope:"col",abbr:Object(p.__)("Position","wordpress-seo")},Object(p.__)("Position","wordpress-seo")),Object(a.createElement)("th",{scope:"col",abbr:Object(p.__)("Position over time","wordpress-seo")},Object(p.__)("Position over time","wordpress-seo")),Object(a.createElement)("td",{className:"yoast-table--nobreak"}))),Object(a.createElement)("tbody",null,Object(h.map)(s.results,(e,t)=>Object(a.createElement)(P,{key:"keyphrase-"+t,keyphrase:e,websiteId:n}))))),Object(a.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(a.createElement)(E,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(p.sprintf)(
25
  /* translators: %s expands to Wincher */
26
- Object(p.__)("Get more insights over at %s","wordpress-seo"),"Wincher")))))};I.propTypes={className:l.a.string,data:l.a.object.isRequired,websiteId:l.a.string.isRequired,isLoggedIn:l.a.bool.isRequired},I.defaultProps={className:"wincher-seo-performance"};var W=I,A=n(40),N=n(100);class H extends a.Component{constructor(){super(),this.state={statistics:null,feed:null,wincherData:{},wincherWebsiteId:wpseoDashboardWidgetL10n.wincher_website_id,wincherIsLoggedIn:"1"===wpseoDashboardWidgetL10n.wincher_is_logged_in,isDataFetched:!1},this.onConnect=this.onConnect.bind(this),this.getWincherData=this.getWincherData.bind(this),this.performAuthenticationRequest=this.performAuthenticationRequest.bind(this)}componentDidMount(){const e=jQuery("#wpseo-dashboard-overview-hide");e.is(":checked")&&this.fetchData(),e.on("click",()=>{this.fetchData()})}fetchData(){this.state.isDataFetched||(this.getStatistics(),this.getFeed(),this.state.wincherIsLoggedIn&&this.getWincherData(),this.setState({isDataFetched:!0}))}static getColorFromScore(e){return s.colors["$color_"+e]||s.colors.$color_grey}getStatistics(){wpseoApi.get("statistics",e=>{const t={};e&&e.seo_scores&&(t.seoScores=e.seo_scores.map(e=>({value:parseInt(e.count,10),color:H.getColorFromScore(e.seo_rank),html:`<a href="${e.link}">${e.label}</a>`})),t.header=jQuery(`<div>${e.header}</div>`).text(),this.setState({statistics:t}))})}getFeed(){Object(i.getPostFeed)("https://yoast.com/feed/widget/?wp_version="+wpseoDashboardWidgetL10n.wp_version+"&php_version="+wpseoDashboardWidgetL10n.php_version,2).then(e=>{e.items=e.items.map(e=>(e.description=jQuery(`<div>${e.description}</div>`).text(),e.description=e.description.replace(`The post ${e.title} appeared first on Yoast.`,"").trim(),e)),this.setState({feed:e})}).catch(e=>console.log(e))}async getWincherData(){const e=await Object(A.c)();if(200===e.status){const t=Object(h.filter)(e.results,e=>!Object(h.isEmpty)(e.position)),n=Object(h.sortBy)(t,e=>e.position.value).splice(0,5);this.setState({wincherData:{results:n,status:e.status}})}else this.setState({wincherData:{results:[],status:e.status}})}getSeoAssessment(){return null===this.state.statistics?null:Object(a.createElement)(o.SiteSEOReport,{key:"yoast-seo-posts-assessment",seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores})}getYoastFeed(){return null===this.state.feed?null:Object(a.createElement)(r.ArticleList,{className:"wordpress-feed",key:"yoast-seo-blog-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerLinkText:wpseoDashboardWidgetL10n.feed_footer})}async performAuthenticationRequest(e){if(200!==(await Object(A.a)(e)).status)return;this.setState({wincherIsLoggedIn:!0,wincherWebsiteId:e.websiteId.toString()}),await this.getWincherData();const t=this.loginPopup.getPopup();t&&t.close()}async onConnect(){if(this.loginPopup&&!this.loginPopup.isClosed())return void this.loginPopup.focus();const{url:e}=await Object(A.b)();this.loginPopup=new N.a(e,{success:{type:"wincher:oauth:success",callback:e=>this.performAuthenticationRequest(e)},error:{type:"wincher:oauth:error",callback:()=>{}}},{title:"Wincher_login",width:500,height:700}),this.loginPopup.createPopup()}getWincherSEOPerformance(){if("0"!==wpseoDashboardWidgetL10n.is_wincher_active&&this.state.wincherIsLoggedIn)return Object(a.createElement)(W,{key:"wincher-performance-report",data:this.state.wincherData,websiteId:this.state.wincherWebsiteId,isLoggedIn:this.state.wincherIsLoggedIn,onConnectAction:this.onConnect})}render(){const e=[this.getSeoAssessment(),this.getWincherSEOPerformance(),this.getYoastFeed()].filter(e=>null!==e);return 0===e.length?null:Object(a.createElement)("div",null,e)}}const q=document.getElementById("yoast-seo-dashboard-widget");q&&Object(a.render)(Object(a.createElement)(H,null),q)},3:function(e,t){e.exports=window.React},4:function(e,t){e.exports=window.lodash},40:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l}));var a=n(4),r=n(27);async function s(){return await Object(r.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:n}=e;return await Object(r.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:n}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return await Object(r.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:n})}async function c(e){return Object(a.isArray)(e)||(e=[e]),await Object(r.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(r.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},7:function(e,t){e.exports=window.yoast.componentsNew},70:function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(2);const i=e=>{let{data:t,mapChartDataToTableData:n,dataTableCaption:r,dataTableHeaderLabels:s,isDataTableVisuallyHidden:i}=e;return t.length!==s.length?Object(a.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(a.createElement)("div",{className:i?"screen-reader-text":null},Object(a.createElement)("table",null,Object(a.createElement)("caption",null,r),Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,s.map((e,t)=>Object(a.createElement)("th",{key:t},e)))),Object(a.createElement)("tbody",null,Object(a.createElement)("tr",null,t.map((e,t)=>Object(a.createElement)("td",{key:t},n(e.y)))))))};i.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:n,height:r,fillColor:s,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}=e;const b=Math.max(1,Math.max(...t.map(e=>e.x))),m=Math.max(1,Math.max(...t.map(e=>e.y))),f=r-i,y=t.map(e=>`${e.x/b*n},${f-e.y/m*f+i}`).join(" "),g=`0,${f+i} `+y+` ${n},${f+i}`;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:`0 0 ${n} ${r}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:s,points:g}),Object(a.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:y})),u&&Object(a.createElement)(c,{data:t,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}))};l.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},76:function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},8:function(e,t){e.exports=window.yoast.styledComponents},80:function(e,t){e.exports=window.moment},9:function(e,t){e.exports=window.yoast.helpers},96:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return g}));var a=n(0),r=n(1),s=n.n(r),o=n(2),i=n(4),c=n(80),l=n.n(c),u=n(7),d=n(9),p=n(70),h=()=>Object(a.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}));const b=Object(d.makeOutboundLink)();function m(e){return Math.round(100*e)}function f(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const n=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),r=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(a.createElement)(p.a,{width:66,height:24,data:r,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:m,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function g(e){const{keyphrase:t,rowData:n,onTrackKeyphrase:r,onUntrackKeyphrase:s,isFocusKeyphrase:c,isDisabled:d,isLoading:p}=e,m=!Object(i.isEmpty)(n),g=Object(a.useCallback)(()=>{d||(m?s(t,n.id):r(t))},[t,r,s,m,n,d]);return Object(a.createElement)("tr",null,Object(a.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:n,toggleAction:r,isLoading:s}=e;return s?Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}):Object(a.createElement)(u.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:n,onSetToggleState:r,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:m,toggleAction:g,isLoading:p})),Object(a.createElement)("td",null,t,c&&Object(a.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:n}=e,r=!Object(i.isEmpty)(t),s=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return r?s?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,y(t)),Object(a.createElement)("td",{className:"yoast-table--nopadding"},Object(a.createElement)(f,{chartData:t})),Object(a.createElement)("td",{className:"yoast-table--nobreak"},Object(a.createElement)(b,{href:c},Object(o.__)("View","wordpress-seo")))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(a.createElement)(h,null))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,"?"),Object(a.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(a.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}f.propTypes={chartData:s.a.object},f.defaultProps={chartData:{}},g.propTypes={rowData:s.a.object,keyphrase:s.a.string.isRequired,onTrackKeyphrase:s.a.func,onUntrackKeyphrase:s.a.func,isFocusKeyphrase:s.a.bool,isDisabled:s.a.bool,isLoading:s.a.bool,websiteId:s.a.string},g.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}}});
1
+ !function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},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 a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},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=273)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},101:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},n),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:n}=this.options,a=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,n,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:n,origin:a}=e;a===this.origin&&this.popup===n&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},102:function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(2),i=n(22),c=n.n(i),l=n(7);const u=e=>{const t=Object(o.sprintf)(
2
  /* translators: %s expands to a link to open the Wincher login popup. */
3
  Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(a.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(a.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
4
  /* translators: %s : Expands to "Wincher". */
5
+ Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};u.propTypes={onReconnect:s.a.func.isRequired},t.a=u},107:function(e,t,n){"use strict";var a=n(3),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=n(76),o=n(108),i=n(109),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,a={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return a[e]}))):t.toString(36);var n,a}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,h,b=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function f(e,t,n,a){this.result=e,this.keyPrefix=t,this.func=n,this.context=a,this.count=0}function y(e,t,n){var r,o,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,i,n,s.thatReturnsArgument):null!=p&&(a.isValidElement(p)&&(r=p,o=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=a.cloneElement(r,{key:o},void 0!==r.props?r.props.children:void 0)),i.push(p))}function g(e,t,n,a,s){var i="";null!=n&&(i=d(n)+"/");var u=f.getPooled(t,i,a,s);!function(e,t,n){null==e||function e(t,n,a,s){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===r)return a(s,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)d+=e(i=t[h],p+l(i,h),a,s);else{var b=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(b)for(var m,f=b.call(t),y=0;!(m=f.next()).done;)d+=e(i=m.value,p+l(i,y++),a,s);else if("object"===u){var g=""+t;o(!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),f.release(u)}f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,a){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,a),r}return new this(e,t,n,a)},(h=f).instancePool=[],h.getPooled=p||b,h.poolSize||(h.poolSize=10),h.release=function(e){o(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(a.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(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,s.thatReturnsArgument);return t}},108:function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,s,o,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,a,r,s,o,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},109:function(e,t,n){"use strict";var a=n(76);e.exports=a},110:function(e,t,n){"use strict";function a(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(a)}},137:function(e,t){e.exports=window.yoast.analysisReport},15:function(e,t){e.exports=window.yoast.styleGuide},2:function(e,t){e.exports=window.wp.i18n},22:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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},r=i(n(3)),s=i(n(107)),o=i(n(110));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":a(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,n){var o,i,l,u,d,p,h,b,m=[],f={};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"!==a(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){o=n[d.value],l=p;break}m.push(n[d.value])}else m.push(d.value);return o&&(u=function(e,t){var n,a,r=t[e],s=0;for(a=e+1;a<t.length;a++)if((n=t[a]).value===r.value){if("componentOpen"===n.type){s++;continue}if("componentClose"===n.type){if(0===s)return a;s--}}throw new Error("Missing closing component token `"+r.value+"`")}(l,t),h=e(t.slice(l+1,u),n),i=r.default.cloneElement(o,{},h),m.push(i),u<t.length-1&&(b=e(t.slice(u+1),n),m=m.concat(b))),1===m.length?m[0]:(m.forEach((function(e,t){e&&(f["interpolation-child-"+t]=e)})),(0,s.default)(f))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},26:function(e,t){e.exports=window.wp.apiFetch},27:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o}));var a=n(26),r=n.n(a);async function s(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===a?t(r):n(r))}catch(e){console.error(e.message)}}async function o(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},273:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(7),s=n(15),o=n(137),i=n(9),c=n(1),l=n.n(c),u=n(8),d=n.n(u),p=n(2),h=n(4),b=n(22),m=n.n(b);const f=Object(i.makeOutboundLink)(),y=Object(i.makeOutboundLink)();var g=()=>{const e=Object(p.sprintf)(Object(p.__)(
6
  /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
7
  "Connect %1$s with %2$s to track the ranking position of your site in the search results based on your keyphrase(s). %3$s","wordpress-seo"),"Yoast SEO","{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(a.createElement)("p",null,m()({mixedString:e,components:{wincherLink:Object(a.createElement)(f,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(a.createElement)(y,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(p.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},w=()=>Object(a.createElement)(r.Alert,{type:"warning"},Object(p.sprintf)(
8
  /* translators: %s: Expands to "Wincher". */
9
+ Object(p.__)('Your %s account does not contain any keyphrases for this website yet. You can track keyphrases by using the "Track SEO Performance" button in the post editor.',"wordpress-seo"),"Wincher")),j=n(96),O=n(102);const v=Object(i.makeOutboundLink)(),E=Object(i.makeOutboundLink)(),k=Object(i.makeOutboundLink)(),_=d.a.div`
10
  `,T=d.a.div`
11
  font-size: 14px;
12
  `,D=d.a.h3`
23
  /* translators: %s : Expands to "Wincher". */
24
  Object(p.__)("%s account","wordpress-seo"),"Wincher"))}}))},I=e=>{const{className:t,websiteId:n,isLoggedIn:r,data:s}=e;return Object(a.createElement)(_,{className:t},Object(a.createElement)(D,{className:t+"__header"},Object(p.__)("Top performing keyphrases on your site","wordpress-seo")),Object(a.createElement)(R,e),r&&s&&!Object(h.isEmpty)(s)&&!Object(h.isEmpty)(s.results)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(C,null),Object(a.createElement)(S,null,Object(a.createElement)("table",{className:"yoast yoast-table"},Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,Object(a.createElement)("th",{scope:"col",abbr:Object(p.__)("Keyphrase","wordpress-seo")},Object(p.__)("Keyphrase","wordpress-seo")),Object(a.createElement)("th",{scope:"col",abbr:Object(p.__)("Position","wordpress-seo")},Object(p.__)("Position","wordpress-seo")),Object(a.createElement)("th",{scope:"col",abbr:Object(p.__)("Position over time","wordpress-seo")},Object(p.__)("Position over time","wordpress-seo")),Object(a.createElement)("td",{className:"yoast-table--nobreak"}))),Object(a.createElement)("tbody",null,Object(h.map)(s.results,(e,t)=>Object(a.createElement)(P,{key:"keyphrase-"+t,keyphrase:e,websiteId:n}))))),Object(a.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(a.createElement)(E,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(p.sprintf)(
25
  /* translators: %s expands to Wincher */
26
+ Object(p.__)("Get more insights over at %s","wordpress-seo"),"Wincher")))))};I.propTypes={className:l.a.string,data:l.a.object.isRequired,websiteId:l.a.string.isRequired,isLoggedIn:l.a.bool.isRequired},I.defaultProps={className:"wincher-seo-performance"};var W=I,A=n(39),N=n(101);class H extends a.Component{constructor(){super(),this.state={statistics:null,feed:null,wincherData:{},wincherWebsiteId:wpseoDashboardWidgetL10n.wincher_website_id,wincherIsLoggedIn:"1"===wpseoDashboardWidgetL10n.wincher_is_logged_in,isDataFetched:!1},this.onConnect=this.onConnect.bind(this),this.getWincherData=this.getWincherData.bind(this),this.performAuthenticationRequest=this.performAuthenticationRequest.bind(this)}componentDidMount(){const e=jQuery("#wpseo-dashboard-overview-hide");e.is(":checked")&&this.fetchData(),e.on("click",()=>{this.fetchData()})}fetchData(){this.state.isDataFetched||(this.getStatistics(),this.getFeed(),this.state.wincherIsLoggedIn&&this.getWincherData(),this.setState({isDataFetched:!0}))}static getColorFromScore(e){return s.colors["$color_"+e]||s.colors.$color_grey}getStatistics(){wpseoApi.get("statistics",e=>{const t={};e&&e.seo_scores&&(t.seoScores=e.seo_scores.map(e=>({value:parseInt(e.count,10),color:H.getColorFromScore(e.seo_rank),html:`<a href="${e.link}">${e.label}</a>`})),t.header=jQuery(`<div>${e.header}</div>`).text(),this.setState({statistics:t}))})}getFeed(){Object(i.getPostFeed)("https://yoast.com/feed/widget/?wp_version="+wpseoDashboardWidgetL10n.wp_version+"&php_version="+wpseoDashboardWidgetL10n.php_version,2).then(e=>{e.items=e.items.map(e=>(e.description=jQuery(`<div>${e.description}</div>`).text(),e.description=e.description.replace(`The post ${e.title} appeared first on Yoast.`,"").trim(),e)),this.setState({feed:e})}).catch(e=>console.log(e))}async getWincherData(){const e=await Object(A.c)();if(200===e.status){const t=Object(h.filter)(e.results,e=>!Object(h.isEmpty)(e.position)),n=Object(h.sortBy)(t,e=>e.position.value).splice(0,5);this.setState({wincherData:{results:n,status:e.status}})}else this.setState({wincherData:{results:[],status:e.status}})}getSeoAssessment(){return null===this.state.statistics?null:Object(a.createElement)(o.SiteSEOReport,{key:"yoast-seo-posts-assessment",seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores})}getYoastFeed(){return null===this.state.feed?null:Object(a.createElement)(r.ArticleList,{className:"wordpress-feed",key:"yoast-seo-blog-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerLinkText:wpseoDashboardWidgetL10n.feed_footer})}async performAuthenticationRequest(e){if(200!==(await Object(A.a)(e)).status)return;this.setState({wincherIsLoggedIn:!0,wincherWebsiteId:e.websiteId.toString()}),await this.getWincherData();const t=this.loginPopup.getPopup();t&&t.close()}async onConnect(){if(this.loginPopup&&!this.loginPopup.isClosed())return void this.loginPopup.focus();const{url:e}=await Object(A.b)();this.loginPopup=new N.a(e,{success:{type:"wincher:oauth:success",callback:e=>this.performAuthenticationRequest(e)},error:{type:"wincher:oauth:error",callback:()=>{}}},{title:"Wincher_login",width:500,height:700}),this.loginPopup.createPopup()}getWincherSEOPerformance(){if("0"!==wpseoDashboardWidgetL10n.is_wincher_active&&this.state.wincherIsLoggedIn)return Object(a.createElement)(W,{key:"wincher-performance-report",data:this.state.wincherData,websiteId:this.state.wincherWebsiteId,isLoggedIn:this.state.wincherIsLoggedIn,onConnectAction:this.onConnect})}render(){const e=[this.getSeoAssessment(),this.getWincherSEOPerformance(),this.getYoastFeed()].filter(e=>null!==e);return 0===e.length?null:Object(a.createElement)("div",null,e)}}const q=document.getElementById("yoast-seo-dashboard-widget");q&&Object(a.render)(Object(a.createElement)(H,null),q)},3:function(e,t){e.exports=window.React},39:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l}));var a=n(4),r=n(27);async function s(){return await Object(r.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:n}=e;return await Object(r.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:n}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return await Object(r.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:n})}async function c(e){return Object(a.isArray)(e)||(e=[e]),await Object(r.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(r.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},4:function(e,t){e.exports=window.lodash},69:function(e,t,n){"use strict";var a=n(0),r=n(1),s=n.n(r),o=n(2);const i=e=>{let{data:t,mapChartDataToTableData:n,dataTableCaption:r,dataTableHeaderLabels:s,isDataTableVisuallyHidden:i}=e;return t.length!==s.length?Object(a.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(a.createElement)("div",{className:i?"screen-reader-text":null},Object(a.createElement)("table",null,Object(a.createElement)("caption",null,r),Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,s.map((e,t)=>Object(a.createElement)("th",{key:t},e)))),Object(a.createElement)("tbody",null,Object(a.createElement)("tr",null,t.map((e,t)=>Object(a.createElement)("td",{key:t},n(e.y)))))))};i.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:n,height:r,fillColor:s,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}=e;const b=Math.max(1,Math.max(...t.map(e=>e.x))),m=Math.max(1,Math.max(...t.map(e=>e.y))),f=r-i,y=t.map(e=>`${e.x/b*n},${f-e.y/m*f+i}`).join(" "),g=`0,${f+i} `+y+` ${n},${f+i}`;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:`0 0 ${n} ${r}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:s,points:g}),Object(a.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:y})),u&&Object(a.createElement)(c,{data:t,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}))};l.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},7:function(e,t){e.exports=window.yoast.componentsNew},76:function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},8:function(e,t){e.exports=window.yoast.styledComponents},80:function(e,t){e.exports=window.moment},9:function(e,t){e.exports=window.yoast.helpers},96:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return g}));var a=n(0),r=n(1),s=n.n(r),o=n(2),i=n(4),c=n(80),l=n.n(c),u=n(7),d=n(9),p=n(69),h=()=>Object(a.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}));const b=Object(d.makeOutboundLink)();function m(e){return Math.round(100*e)}function f(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const n=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),r=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(a.createElement)(p.a,{width:66,height:24,data:r,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:m,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function g(e){const{keyphrase:t,rowData:n,onTrackKeyphrase:r,onUntrackKeyphrase:s,isFocusKeyphrase:c,isDisabled:d,isLoading:p}=e,m=!Object(i.isEmpty)(n),g=Object(a.useCallback)(()=>{d||(m?s(t,n.id):r(t))},[t,r,s,m,n,d]);return Object(a.createElement)("tr",null,Object(a.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:n,toggleAction:r,isLoading:s}=e;return s?Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}):Object(a.createElement)(u.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:n,onSetToggleState:r,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:m,toggleAction:g,isLoading:p})),Object(a.createElement)("td",null,t,c&&Object(a.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:n}=e,r=!Object(i.isEmpty)(t),s=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return r?s?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,y(t)),Object(a.createElement)("td",{className:"yoast-table--nopadding"},Object(a.createElement)(f,{chartData:t})),Object(a.createElement)("td",{className:"yoast-table--nobreak"},Object(a.createElement)(b,{href:c},Object(o.__)("View","wordpress-seo")))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(a.createElement)(h,null))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,"?"),Object(a.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(a.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}f.propTypes={chartData:s.a.object},f.defaultProps={chartData:{}},g.propTypes={rowData:s.a.object,keyphrase:s.a.string.isRequired,onTrackKeyphrase:s.a.func,onUntrackKeyphrase:s.a.func,isFocusKeyphrase:s.a.bool,isDisabled:s.a.bool,isLoading:s.a.bool,websiteId:s.a.string},g.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}}});
js/dist/dynamic-blocks.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=241)}({0:function(e,t){e.exports=window.wp.element},2:function(e,t){e.exports=window.wp.i18n},225:function(e,t){e.exports=window.wp.serverSideRender},241:function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(97),s=r(2),i=r(225),u=r.n(i);Object(o.registerBlockType)("yoast-seo/breadcrumbs",{title:Object(s.__)("Yoast Breadcrumbs","wordpress-seo"),icon:"admin-links",category:"yoast-internal-linking-blocks",description:Object(s.__)("Adds the Yoast SEO breadcrumbs to your template or content.","wordpress-seo"),keywords:[Object(s.__)("seo","wordpress-seo"),Object(s.__)("breadcrumbs","wordpress-seo"),Object(s.__)("internal linking","wordpress-seo"),Object(s.__)("site structure","wordpress-seo")],example:{attributes:{}},edit:function(e){return Object(n.createElement)(u.a,{block:"yoast-seo/breadcrumbs",attributes:e.attributes})},save:function(){return null}})},97:function(e,t){e.exports=window.wp.blocks}});
1
+ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=242)}({0:function(e,t){e.exports=window.wp.element},2:function(e,t){e.exports=window.wp.i18n},226:function(e,t){e.exports=window.wp.serverSideRender},242:function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(97),s=r(2),i=r(226),u=r.n(i);Object(o.registerBlockType)("yoast-seo/breadcrumbs",{title:Object(s.__)("Yoast Breadcrumbs","wordpress-seo"),icon:"admin-links",category:"yoast-internal-linking-blocks",description:Object(s.__)("Adds the Yoast SEO breadcrumbs to your template or content.","wordpress-seo"),keywords:[Object(s.__)("seo","wordpress-seo"),Object(s.__)("breadcrumbs","wordpress-seo"),Object(s.__)("internal linking","wordpress-seo"),Object(s.__)("site structure","wordpress-seo")],example:{attributes:{}},edit:function(e){return Object(n.createElement)(u.a,{block:"yoast-seo/breadcrumbs",attributes:e.attributes})},save:function(){return null}})},97:function(e,t){e.exports=window.wp.blocks}});
js/dist/edit-page.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=242)}({18:function(t,e){t.exports=window.jQuery},242:function(t,e,o){"use strict";o.r(e);var n,r=o(18);(n=o.n(r).a)(".yoast-column-header-has-tooltip").each((function(){n(this).closest("th").find("a").addClass("yoast-tooltip yoast-tooltip-alt yoast-tooltip-n yoast-tooltip-multiline").attr("data-label",n(this).data("tooltip-text")).attr("aria-label",n(this).text())}))}});
1
+ !function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=243)}({16:function(t,e){t.exports=window.jQuery},243:function(t,e,o){"use strict";o.r(e);var n,r=o(16);(n=o.n(r).a)(".yoast-column-header-has-tooltip").each((function(){n(this).closest("th").find("a").addClass("yoast-tooltip yoast-tooltip-alt yoast-tooltip-n yoast-tooltip-multiline").attr("data-label",n(this).data("tooltip-text")).attr("aria-label",n(this).text())}))}});
js/dist/editor-modules.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){var t={};function a(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,a),s.l=!0,s.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)a.d(n,s,function(t){return e[t]}.bind(null,s));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=273)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.helpers},,function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4);function s(){return Object(n.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.externals.redux},,function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return r}));var n=a(0);function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function r(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(n.createInterpolateElement)(e,{a:Object(n.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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},s=i(a(3)),r=i(a(107)),o=i(a(110));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,a=e.components,i=e.throwErrors;if(c=t,!a)return t;if("object"!==(void 0===a?"undefined":n(a))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,a){var o,i,l,u,d,p,h,m,b=[],g={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!a.hasOwnProperty(d.value)||void 0===a[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==n(a[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){o=a[d.value],l=p;break}b.push(a[d.value])}else b.push(d.value);return o&&(u=function(e,t){var a,n,s=t[e],r=0;for(n=e+1;n<t.length;n++)if((a=t[n]).value===s.value){if("componentOpen"===a.type){r++;continue}if("componentClose"===a.type){if(0===r)return n;r--}}throw new Error("Missing closing component token `"+s.value+"`")}(l,t),h=e(t.slice(l+1,u),a),i=s.default.cloneElement(o,{},h),b.push(i),u<t.length-1&&(m=e(t.slice(u+1),a),b=b.concat(m))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,r.default)(g))}(l,a)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,,function(e,t,a){"use strict";var n=a(0),s=a(1),r=a.n(s);const o=e=>{let{children:t}=e;return Object(n.createElement)("div",null,t)};o.propTypes={renderPriority:r.a.number.isRequired,children:r.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return o}));var n=a(26),s=a.n(n);async function r(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const s=await e();return!!s&&(s.status===n?t(s):a(s))}catch(e){console.error(e.message)}}async function o(e){try{return await s()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,,function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var n=a(11),s=a.n(n),r=a(0),o=a(1),i=a.n(o),c=a(13);const l="yoast yoast-gutenberg-modal",u=e=>{const{title:t,className:a,showYoastIcon:n,additionalClassName:o,...i}=e,l=n?Object(r.createElement)("span",{className:"yoast-icon"}):null;return Object(r.createElement)(c.Modal,s()({title:t,className:`${a} ${o}`,icon:l},i),e.children)};u.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},u.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=u},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(0),s=a(1),r=a.n(s);function o(e){let{target:t,children:a}=e,s=t;return"string"==typeof t&&(s=document.getElementById(t)),s?Object(n.createPortal)(a,s):null}o.propTypes={target:r.a.oneOfType([r.a.string,r.a.object]).isRequired,children:r.a.node.isRequired}},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(2),s=a(12),r=a(4);function o(e){return Object(r.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(n.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(n.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(n.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(n.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(n.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(n.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(n.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(s.interpreters.scoreToRating(e))}},function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return o})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return c})),a.d(t,"e",(function(){return l}));var n=a(4),s=a(27);async function r(){return await Object(s.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:a}=e;return await Object(s.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:a}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;return await Object(s.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:a})}async function c(e){return Object(n.isArray)(e)||(e=[e]),await Object(s.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(s.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},function(e,t,a){"use strict";a.d(t,"a",(function(){return de})),a.d(t,"b",(function(){return pe})),a.d(t,"c",(function(){return he})),a.d(t,"d",(function(){return me}));var n=a(4),s=a(9),r=a(0),o=a(3),i=a.n(o),c=a(1),l=a.n(c),u=a(8),d=a.n(u);const p=d.a.p`
2
  color: #606770;
3
  flex-shrink: 0;
4
  font-size: 12px;
@@ -29,7 +29,7 @@
29
  }
30
  `,w=d.a.div`
31
  padding-bottom: ${e=>e.aspectRatio}%;
32
- `,O=e=>{const{imageProps:t,width:a,height:n,imageMode:s}=e;return"landscape"===s?Object(r.createElement)(w,{aspectRatio:t.aspectRatio},Object(r.createElement)(y,{src:t.src,alt:t.alt})):Object(r.createElement)(f,{src:t.src,alt:t.alt,width:a,height:n,imageProperties:t})};O.propTypes={imageProps:l.a.shape({src:l.a.string.isRequired,alt:l.a.string.isRequired,aspectRatio:l.a.number.isRequired}).isRequired,width:l.a.number.isRequired,height:l.a.number.isRequired,imageMode:l.a.string},O.defaultProps={imageMode:"landscape"};const v={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},j={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function k(e){const{largeThreshold:t}=j;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function E(e){return"Twitter"===e?v:j}function R(e){return new Promise((t,a)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=a,n.src=e})}function x(e,t,a){return"landscape"===a?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===a?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function _(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function T(e,t,a){return"square"===a&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:_(t,x(e,t,a))}async function I(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=await R(e);let s=a?"landscape":"square";"Facebook"===t&&(s=k(n));const r=E(t),o=T(r,n,s);return{mode:s,height:o.height,width:o.width}}async function S(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await I(e,t,a),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}const C=d.a.div`
33
  position: relative;
34
  ${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
35
  overflow: hidden;
@@ -51,7 +51,7 @@
51
  text-decoration: underline;
52
  font-size: 14px;
53
  cursor: pointer;
54
- `;class P extends o.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await S(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:j.squareHeight+"px",width:j.squareWidth+"px"};case"portrait":return{height:j.portraitHeight+"px",width:j.portraitWidth+"px"};case"landscape":return{height:j.landscapeHeight+"px",width:j.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return Object(r.createElement)(L,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(b.__)("Select image","wordpress-seo"));const a=this.retrieveContainerDimensions(e.mode);return Object(r.createElement)(C,{mode:e.mode,dimensions:a,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},Object(r.createElement)(O,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:j.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}P.propTypes={src:l.a.string,alt:l.a.string,onImageLoaded:l.a.func,onImageClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func},P.defaultProps={src:"",alt:"",onImageLoaded:n.noop,onImageClick:n.noop,onMouseEnter:n.noop,onMouseLeave:n.noop};var M=P,q=d.a.span`
55
  line-height: ${20}px;
56
  min-height : ${20}px;
57
  color: #1d2129;
@@ -84,13 +84,13 @@
84
  @media all and ( max-width: ${e=>e.maxWidth} ) {
85
  display: none;
86
  }
87
- `;const A=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},N=d.a.div`
88
  box-sizing: border-box;
89
  display: flex;
90
  flex-direction: ${e=>"landscape"===e.mode?"column":"row"};
91
  background-color: #f2f3f5;
92
  max-width: 527px;
93
- `,D=d.a.div`
94
  box-sizing: border-box;
95
  background-color: #f2f3f5;
96
  margin: 0;
@@ -106,7 +106,7 @@
106
  justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"};
107
  font-size: 12px;
108
  overflow: hidden;
109
- `;class K extends o.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=i.a.createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,a="landscape"===e?2:5;a!==t&&this.setState({maxLineCount:a})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:a}=this.state,n=this.getTitleLineCount();let s=t-n;"portrait"===a&&(s=5===n?0:4),s!==e&&this.setState({descriptionLineCount:s})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:a}=this.state;return Object(r.createElement)(N,{id:"facebookPreview",mode:e},Object(r.createElement)(M,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(r.createElement)(D,{mode:e},Object(r.createElement)(m,{siteUrl:this.props.siteUrl,mode:e}),Object(r.createElement)(q,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),a>0&&Object(r.createElement)(F,{maxWidth:A(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:a},this.props.description)))}}K.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},K.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};var H=K;const B=d.a.div`
110
  text-transform: lowercase;
111
  color: rgb(83, 100, 113);
112
  white-space: nowrap;
@@ -117,7 +117,7 @@
117
  display: flex;
118
  flex-direction: row;
119
  align-items: flex-end;
120
- `,W=e=>Object(r.createElement)(B,null,Object(r.createElement)("span",null,e.siteUrl));W.propTypes={siteUrl:l.a.string.isRequired};var $=W;const U=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?`\n\t\t\tmax-width: ${v.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${v.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`},V=d.a.div`
121
  position: relative;
122
  box-sizing: content-box;
123
  overflow: hidden;
@@ -136,7 +136,7 @@
136
  font-size: 1rem;
137
  ${e=>U(e.isLarge,!1)}
138
  `,G=d()(z)`
139
- ${e=>e.isLarge&&`height: ${v.landscapeHeight}px;`}
140
  border-top-left-radius: 14px;
141
  ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px;
142
  border-style: dashed;
@@ -148,7 +148,7 @@
148
  text-decoration: underline;
149
  font-size: 14px;
150
  cursor: pointer;
151
- `;class Y extends i.a.Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await S(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?Object(r.createElement)(G,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(b.__)("Select image","wordpress-seo")):Object(r.createElement)(V,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(r.createElement)(O,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:v.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}Y.propTypes={isLarge:l.a.bool.isRequired,src:l.a.string,alt:l.a.string,onImageClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func},Y.defaultProps={src:"",alt:"",onMouseEnter:n.noop,onImageClick:n.noop,onMouseLeave:n.noop};const Z=d.a.div`
152
  display: flex;
153
  flex-direction: column;
154
  padding: 12px;
@@ -163,7 +163,7 @@
163
  min-height:20px;
164
  font-size:15px;
165
  }
166
- `,J=e=>Object(r.createElement)(Z,null,e.children);J.propTypes={children:l.a.array.isRequired};var X=J,Q=d.a.p`
167
  white-space: nowrap;
168
  overflow: hidden;
169
  text-overflow: ellipsis;
@@ -181,7 +181,7 @@
181
  -webkit-line-clamp: 2;
182
  -webkit-box-orient: vertical;
183
 
184
- @media all and ( max-width: ${v.landscapeWidth}px ) {
185
  display: none;
186
  }
187
  `;const te=d.a.div`
@@ -208,7 +208,7 @@
208
  `,ne=d()(te)`
209
  flex-direction: row;
210
  height: 125px;
211
- `;class se extends o.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:a,alt:n,title:s,description:o,siteUrl:i}=this.props,c=e?ae:ne;return Object(r.createElement)(c,{id:"twitterPreview"},Object(r.createElement)(Y,{src:t||a,alt:n,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(r.createElement)(X,null,Object(r.createElement)($,{siteUrl:i}),Object(r.createElement)(Q,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},s),Object(r.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}se.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,isLarge:l.a.bool,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},se.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var re=se,oe=a(7),ie=a(66),ce=a(28);class le extends o.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Facebook"===e.socialMediumName?H:re,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:n,socialMediumName:s,imageWarnings:o,siteUrl:c,description:l,descriptionInputPlaceholder:u,descriptionPreviewFallback:d,imageUrl:p,imageFallbackUrl:h,alt:m,title:b,titleInputPlaceholder:g,titlePreviewFallback:f,replacementVariables:y,recommendedReplacementVariables:w,applyReplacementVariables:O,onReplacementVariableSearchChange:v,isPremium:j,isLarge:k,socialPreviewLabel:E,idSuffix:R,activeMetaTabId:x}=this.props,_=O({title:b||f,description:l||d});return Object(r.createElement)(i.a.Fragment,null,E&&Object(r.createElement)(oe.SimulatedLabel,null,E),Object(r.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:a,siteUrl:c,title:_.title,description:_.description,imageUrl:p,imageFallbackUrl:h,alt:m,isLarge:k,activeMetaTabId:x}),Object(r.createElement)(ie.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:s,title:b,titleInputPlaceholder:g,onRemoveImageClick:n,imageSelected:!!p,imageUrl:p,onTitleChange:t,onSelectImageClick:a,description:l,descriptionInputPlaceholder:u,imageWarnings:o,replacementVariables:y,recommendedReplacementVariables:w,onReplacementVariableSearchChange:v,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:j,setEditorRef:this.setEditorRef,idSuffix:R}))}}le.propTypes={title:l.a.string.isRequired,onTitleChange:l.a.func.isRequired,description:l.a.string.isRequired,onDescriptionChange:l.a.func.isRequired,imageUrl:l.a.string.isRequired,imageFallbackUrl:l.a.string.isRequired,onSelectImageClick:l.a.func.isRequired,onRemoveImageClick:l.a.func.isRequired,socialMediumName:l.a.string.isRequired,alt:l.a.string,isPremium:l.a.bool,imageWarnings:l.a.array,isLarge:l.a.bool,siteUrl:l.a.string,descriptionInputPlaceholder:l.a.string,titleInputPlaceholder:l.a.string,descriptionPreviewFallback:l.a.string,titlePreviewFallback:l.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,applyReplacementVariables:l.a.func,onReplacementVariableSearchChange:l.a.func,socialPreviewLabel:l.a.string,idSuffix:l.a.string,activeMetaTabId:l.a.string},le.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const ue=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function de(e){return new Promise((t,a)=>{window.wp.media.attachment||a(),window.wp.media.attachment(e).fetch().then(e=>{t(ue(e))}).catch(()=>a())})}function pe(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const a=t.state().get("selection").first();e(ue(a.attributes))}),t})(e).open()}const he=e=>{const{width:t,height:a}=e,n=k({width:t,height:a}),r=j[n+"Width"],o=j[n+"Height"],i=Object.values(e.sizes).find(e=>e.width>=r&&e.height>=o);return{url:i?i.url:e.url,id:e.id,warnings:Object(s.validateFacebookImage)(e),alt:e.alt||""}},me=e=>{const t="summary"!==Object(n.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",a=v[t+"Width"],r=v[t+"Height"],o=Object.values(e.sizes).find(e=>e.width>=a&&e.height>=r);return{url:o?o.url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t){e.exports=window.wp.url},function(e,t,a){"use strict";a.d(t,"g",(function(){return s})),a.d(t,"h",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"c",(function(){return l})),a.d(t,"f",(function(){return u})),a.d(t,"e",(function(){return d})),a.d(t,"j",(function(){return p})),a.d(t,"d",(function(){return h})),a.d(t,"o",(function(){return m})),a.d(t,"p",(function(){return b})),a.d(t,"k",(function(){return g})),a.d(t,"q",(function(){return f})),a.d(t,"r",(function(){return y})),a.d(t,"n",(function(){return w})),a.d(t,"m",(function(){return O})),a.d(t,"l",(function(){return v}));var n=a(9);const s="SNIPPET_EDITOR_SWITCH_MODE",r="SNIPPET_EDITOR_UPDATE_DATA",o="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",i="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",c="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",u="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",d="SNIPPET_EDITOR_REFRESH",p="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",h="LOAD_SNIPPET_EDITOR_DATA";function m(e){return{type:s,mode:e}}function b(e){return{type:r,data:e}}function*g(e,t){const a=yield{type:o,query:e,postId:t};return{type:i,results:a}}function f(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r="string"==typeof t?Object(n.decodeHTML)(t):t;return{type:c,name:e,value:r,label:a,hidden:s}}function y(e){return{type:p,wordsToHighlight:e}}function w(e){return{type:u,name:e}}function O(){return{type:d,time:(new Date).getMilliseconds()}}function v(e){return{type:l,data:e}}},function(e,t,a){"use strict";var n=a(11),s=a.n(n),r=a(0),o=a(7),i=a(8);const c=a.n(i)()(o.Collapsible)`
212
  h2 > button {
213
  padding-left: 24px;
214
  padding-top: 16px;
@@ -224,7 +224,7 @@
224
  border-top: 1px solid rgba(0,0,0,0.2);
225
  }
226
 
227
- `;t.a=e=>Object(r.createElement)(c,s()({hasPadding:!0,hasSeparator:!0},e))},function(e,t){e.exports=window.yoast.components},,,,,function(e,t,a){"use strict";function n(){}a.d(t,"a",(function(){return n}))},,,,,function(e,t,a){"use strict";var n=a(0),s=a(7),r=a(1),o=a.n(r);const i=e=>{const[t,a]=Object(n.useState)(!1),{prefixIcon:r}=e;return Object(n.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(n.createElement)("h2",{className:"components-panel__body-title"},Object(n.createElement)("button",{onClick:function(){a(!t)},className:"components-button components-panel__body-toggle"},Object(n.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(r&&r.color||"")}},r&&Object(n.createElement)(s.SvgIcon,{icon:r.icon,color:r.color,size:r.size})),Object(n.createElement)("span",{className:"yoast-title-container"},Object(n.createElement)("div",{className:"yoast-title"},e.title),Object(n.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&Object(n.createElement)(s.BetaBadge,null),Object(n.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:o.a.string.isRequired,children:o.a.oneOfType([o.a.node,o.a.arrayOf(o.a.node)]).isRequired,prefixIcon:o.a.object,subTitle:o.a.string,hasBetaBadgeLabel:o.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t,a){"use strict";var n=a(15),s=a(9),r=a(8),o=a.n(r);const i=Object(s.makeOutboundLink)(o.a.a`
228
  display: inline-block;
229
  position: relative;
230
  outline: none;
@@ -254,25 +254,25 @@
254
  padding: 2px;
255
  content: "\f223";
256
  }
257
- `);t.a=i},function(e,t,a){"use strict";a.r(t),a.d(t,"getIconForScore",(function(){return i})),a.d(t,"default",(function(){return c}));var n=a(15),s=a(12);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=e.getIdentifier(),n={score:e.score,rating:s.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:a,text:e.text,markerId:t.length>0?`${t}:${a}`:a,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),editFieldName:e.editFieldName};return"ok"===n.rating&&(n.rating="OK"),n}function o(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){switch(e){case"loading":return{icon:"loading-spinner",color:n.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:n.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:n.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:n.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:n.colors.$color_ok};case"bad":return{icon:"seo-score-bad",color:n.colors.$color_red};default:return{icon:"seo-score-none",color:n.colors.$color_red}}}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return a;for(let n=0;n<e.length;n++){const s=e[n];s.text&&(a=o(r(s,t),a))}return a}},,,,function(e,t,a){"use strict";a.r(t),a.d(t,"sortResultsByIdentifier",(function(){return c})),a.d(t,"default",(function(){return l})),a.d(t,"initializationDone",(function(){return u}));var n=a(17),s=a(12),r=a(50),o=a(45);let i=!1;function c(e){return e.sort((e,t)=>e._identifier.localeCompare(t._identifier))}function l(e,t,a,l,u){if(!i)return;const d=s.Paper.parse(t());e.analyze(d).then(e=>{let{result:{seo:t,readability:s,inclusiveLanguage:r}}=e;if(t){const e=t[""];e.results.forEach(e=>{e.getMarker=()=>()=>a(d,e.marks)}),e.results=c(e.results),l.dispatch(n.actions.setSeoResultsForKeyword(d.getKeyword(),e.results)),l.dispatch(Object(o.setOverallSeoScore)(e.score,d.getKeyword())),l.dispatch(n.actions.refreshSnippetEditor()),u.saveScores(e.score,d.getKeyword())}s&&(s.results.forEach(e=>{e.getMarker=()=>()=>a(d,e.marks)}),s.results=c(s.results),l.dispatch(n.actions.setReadabilityResults(s.results)),l.dispatch(Object(o.setOverallReadabilityScore)(s.score)),l.dispatch(n.actions.refreshSnippetEditor()),u.saveContentScore(s.score)),r&&(r.results.forEach(e=>{e.getMarker=()=>()=>a(d,e.marks)}),r.results=c(r.results),l.dispatch(n.actions.setInclusiveLanguageResults(r.results)),l.dispatch(Object(o.setOverallInclusiveLanguageScore)(r.score)),l.dispatch(n.actions.refreshSnippetEditor()),u.saveInclusiveLanguageScore(r.score))}).catch(r.a)}function u(){i=!0}},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4),s=a(16);function r(){const e=Object(s.a)();return Object(n.get)(e,"contentLocale","en_US")}},function(e,t,a){"use strict";a.r(t),a.d(t,"nonReplaceVars",(function(){return l})),a.d(t,"fillReplacementVariables",(function(){return u})),a.d(t,"handlePrefixes",(function(){return d})),a.d(t,"createLabelFromName",(function(){return p})),a.d(t,"pushNewReplaceVar",(function(){return h})),a.d(t,"replaceSpaces",(function(){return m})),a.d(t,"prepareCustomFieldForDispatch",(function(){return b})),a.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),a.d(t,"mapCustomTaxonomies",(function(){return f})),a.d(t,"mapCustomFields",(function(){return y})),a.d(t,"excerptFromContent",(function(){return w})),a.d(t,"applyReplaceUsingPlugin",(function(){return O}));var n=a(4),s=a(124),r=a(43),o=a(20),i=a(9);const{stripHTMLTags:c}=i.strings,l=["slug","content","contentImage","snippetPreviewImageURL"];function u(e,t){Object(n.forEach)(e,(e,a)=>{l.includes(a)||t.dispatch(Object(r.q)(a,e))})}function d(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");const 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 p(e){return e=d(e),Object(o.b)(e)}function h(e,t){return e.push({name:t.name,label:t.label||p(t.name),value:t.value}),e}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function b(e){return{name:"cf_"+m(e),label:Object(o.b)(e+" (custom field)")}}function g(e){const t=m(e);return{name:"ct_"+t,label:Object(o.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(o.b)(e+" description (custom taxonomy)")}}function f(e,t){return e.custom_taxonomies?(Object(n.forEach)(e.custom_taxonomies,(e,a)=>{const{name:n,label:s,descriptionName:o,descriptionLabel:i}=g(a);t.dispatch(Object(r.q)(n,e.name,s)),t.dispatch(Object(r.q)(o,e.description,i))}),Object(n.omit)({...e},"custom_taxonomies")):e}function y(e,t){return e.custom_fields?(Object(n.forEach)(e.custom_fields,(e,a)=>{const{name:n,label:s}=b(a);t.dispatch(Object(r.q)(n,e,s))}),Object(n.omit)({...e},"custom_fields")):e}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const O=function(e){const t=Object(n.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(n.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=Object(n.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],n.identity);return{url:e.url,title:c(t(e.title)),description:c(t(e.description))}}(e);const a=t._applyModifications.bind(t);return{url:e.url,title:c(a("data_page_title",e.title)),description:c(a("data_meta_desc",e.description))}}},,,function(e,t){e.exports=window.yoast.socialMetadataForms},,function(e,t,a){"use strict";var n=a(0),s=a(1),r=a.n(s),o=a(8),i=a(19);const c=e=>{let{theme:t,location:a,children:s}=e;return Object(n.createElement)(i.LocationProvider,{value:a},Object(n.createElement)(o.ThemeProvider,{theme:t},s))};c.propTypes={theme:r.a.object.isRequired,location:r.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:r.a.element.isRequired},t.a=c},function(e,t,a){"use strict";var n=a(0),s=a(7),r=a(1),o=a.n(r);const i=e=>Object(n.createElement)("div",{className:"yoast components-panel__body"},Object(n.createElement)("h2",{className:"components-panel__body-title"},Object(n.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(n.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(n.createElement)(s.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(n.createElement)("span",{className:"yoast-title-container"},Object(n.createElement)("div",{className:"yoast-title"},e.title),Object(n.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&Object(n.createElement)(s.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))));t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,prefixIcon:o.a.object,children:o.a.node},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:"",children:null}},function(e,t,a){"use strict";var n=a(0),s=a(1),r=a.n(s),o=a(2);const i=e=>{let{data:t,mapChartDataToTableData:a,dataTableCaption:s,dataTableHeaderLabels:r,isDataTableVisuallyHidden:i}=e;return t.length!==r.length?Object(n.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(n.createElement)("div",{className:i?"screen-reader-text":null},Object(n.createElement)("table",null,Object(n.createElement)("caption",null,s),Object(n.createElement)("thead",null,Object(n.createElement)("tr",null,r.map((e,t)=>Object(n.createElement)("th",{key:t},e)))),Object(n.createElement)("tbody",null,Object(n.createElement)("tr",null,t.map((e,t)=>Object(n.createElement)("td",{key:t},a(e.y)))))))};i.propTypes={data:r.a.arrayOf(r.a.shape({x:r.a.number,y:r.a.number})).isRequired,mapChartDataToTableData:r.a.func,dataTableCaption:r.a.string.isRequired,dataTableHeaderLabels:r.a.array.isRequired,isDataTableVisuallyHidden:r.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:a,height:s,fillColor:r,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}=e;const m=Math.max(1,Math.max(...t.map(e=>e.x))),b=Math.max(1,Math.max(...t.map(e=>e.y))),g=s-i,f=t.map(e=>`${e.x/m*a},${g-e.y/b*g+i}`).join(" "),y=`0,${g+i} `+f+` ${a},${g+i}`;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("svg",{width:a,height:s,viewBox:`0 0 ${a} ${s}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(n.createElement)("polygon",{fill:r,points:y}),Object(n.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),u&&Object(n.createElement)(c,{data:t,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}))};l.propTypes={data:r.a.arrayOf(r.a.shape({x:r.a.number,y:r.a.number})).isRequired,width:r.a.number.isRequired,height:r.a.number.isRequired,fillColor:r.a.string,strokeColor:r.a.string,strokeWidth:r.a.number,className:r.a.string,mapChartDataToTableData:r.a.func,dataTableCaption:r.a.string.isRequired,dataTableHeaderLabels:r.a.array.isRequired,isDataTableVisuallyHidden:r.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},,,,,,function(e,t,a){"use strict";function n(e){return function(){return e}}var s=function(){};s.thatReturns=n,s.thatReturnsFalse=n(!1),s.thatReturnsTrue=n(!0),s.thatReturnsNull=n(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},function(e,t,a){"use strict";var n=a(14),s=a(6),r=a(94);t.a=Object(n.compose)([Object(s.withSelect)((e,t)=>{const{getPostOrPageString:a,getIsModalOpen:n}=e("yoast-seo/editor");return{postTypeName:a(),isOpen:n(t.id)}}),Object(s.withDispatch)((e,t)=>{const{openEditorModal:a,closeEditorModal:n}=e("yoast-seo/editor");return{open:()=>a(t.id),close:n}})])(r.a)},,,function(e,t){e.exports=window.moment},function(e,t,a){"use strict";function n(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}a.d(t,"a",(function(){return n}))},,,,function(e,t,a){"use strict";a.r(t),a.d(t,"refreshDelay",(function(){return n}));const n=500},function(e,t,a){"use strict";var n=a(0);let s,r,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,a,n,s){return{element:e,tokenStart:t,tokenLength:a,prevOffset:n,leadingTextStart:s,children:[]}}function u(){const e=s.length-r;0!==e&&o.push(s.substr(r,e))}function d(e){const{element:t,tokenStart:a,tokenLength:r,prevOffset:o,children:c}=e,l=i[i.length-1],u=s.substr(l.prevOffset,a-l.prevOffset);u&&l.children.push(u),l.children.push(Object(n.cloneElement)(t,null,...c)),l.prevOffset=o||a+r}function p(e){const t=function(){const e=c.exec(s);if(null===e)return["no-more-tokens"];const t=e.index,[a,n,r,o]=e,i=a.length;return o?["self-closed",r,t,i]:n?["closer",r,t,i]:["opener",r,t,i]}(),[a,p,h,m]=t,b=i.length,g=h>r?r:null;if(!e[p])return u(),!1;switch(a){case"no-more-tokens":if(0!==b){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(s.substr(e,t))}return u(),!1;case"self-closed":return 0===b?(null!==g&&o.push(s.substr(g,h-g)),o.push(e[p]),r=h+m,!0):(d(l(e[p],h,m)),r=h+m,!0);case"opener":return i.push(l(e[p],h,m,h+m,g)),r=h+m,!0;case"closer":if(1===b)return function(e){const{element:t,leadingTextStart:a,prevOffset:r,tokenStart:c,children:l}=i.pop(),u=e?s.substr(r,e-r):s.substr(r);u&&l.push(u),null!==a&&o.push(s.substr(a,c-a)),o.push(Object(n.cloneElement)(t,null,...l))}(h),r=h+m,!0;const t=i.pop(),a=s.substr(t.prevOffset,h-t.prevOffset);t.children.push(a),t.prevOffset=h+m;const c=l(t.element,t.tokenStart,t.tokenLength,h+m);return c.children=t.children,d(c),r=h+m,!0;default:return u(),!1}}t.a=(e,t)=>{if(s=e,r=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,a=t&&Object.values(e);return t&&a.length&&a.every(e=>Object(n.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(n.createElement)(n.Fragment,null,...o)}},,,,,,,,function(e,t,a){"use strict";a.d(t,"b",(function(){return d}));var n=a(0),s=a(2),r=a(33),o=a(1),i=a.n(o),c=a(4),l=a(69),u=a(19);const d=e=>{let t=!0;if("blur"===e.type){const{relatedTarget:a}=e;if(a){const e=["media-modal","wp-core-ui"];t=Object(c.intersection)(e,Array.from(a.classList)).length!==e.length}}return t},p=e=>{let{id:t,postTypeName:a,children:o,title:i,isOpen:c,close:p,open:h,shouldCloseOnClickOutside:m,showChangesWarning:b}=e;const g=Object(n.useCallback)(e=>{d(e)&&p()},[p]);return Object(n.createElement)(n.Fragment,null,c&&Object(n.createElement)(u.LocationProvider,{value:"modal"},Object(n.createElement)(r.a,{title:i,onRequestClose:g,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:m},Object(n.createElement)("div",{className:"yoast-content-container"},Object(n.createElement)("div",{className:"yoast-modal-content"},o)),Object(n.createElement)("div",{className:"yoast-notice-container"},Object(n.createElement)("hr",null),Object(n.createElement)("div",{className:"yoast-button-container"},b&&Object(n.createElement)("p",null,
258
  /* Translators: %s translates to the Post Label in singular form */
259
  Object(s.sprintf)(Object(s.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),a)),Object(n.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:g},
260
  /* Translators: %s translates to the Post Label in singular form */
261
- Object(s.sprintf)(Object(s.__)("Return to your %s","wordpress-seo"),a)))))),Object(n.createElement)(l.a,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:h}))};p.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired,shouldCloseOnClickOutside:i.a.bool,showChangesWarning:i.a.bool},p.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0},t.a=p},,function(e,t,a){"use strict";a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return f})),a.d(t,"b",(function(){return y}));var n=a(0),s=a(1),r=a.n(s),o=a(2),i=a(4),c=a(80),l=a.n(c),u=a(7),d=a(9),p=a(70),h=()=>Object(n.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(n.createElement)(u.SvgIcon,{icon:"loading-spinner"}));const m=Object(d.makeOutboundLink)();function b(e){return Math.round(100*e)}function g(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const a=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),s=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(n.createElement)(p.a,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:a})}function f(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function y(e){const{keyphrase:t,rowData:a,onTrackKeyphrase:s,onUntrackKeyphrase:r,isFocusKeyphrase:c,isDisabled:d,isLoading:p}=e,b=!Object(i.isEmpty)(a),y=Object(n.useCallback)(()=>{d||(b?r(t,a.id):s(t))},[t,s,r,b,a,d]);return Object(n.createElement)("tr",null,Object(n.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:a,toggleAction:s,isLoading:r}=e;return r?Object(n.createElement)(u.SvgIcon,{icon:"loading-spinner"}):Object(n.createElement)(u.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:a,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:y,isLoading:p})),Object(n.createElement)("td",null,t,c&&Object(n.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:a}=e,s=!Object(i.isEmpty)(t),r=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",a,t.id):null;return s?r?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",null,f(t)),Object(n.createElement)("td",{className:"yoast-table--nopadding"},Object(n.createElement)(g,{chartData:t})),Object(n.createElement)("td",{className:"yoast-table--nobreak"},Object(n.createElement)(m,{href:c},Object(o.__)("View","wordpress-seo")))):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(n.createElement)(h,null))):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",null,"?"),Object(n.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(n.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:r.a.object},g.defaultProps={chartData:{}},y.propTypes={rowData:r.a.object,keyphrase:r.a.string.isRequired,onTrackKeyphrase:r.a.func,onUntrackKeyphrase:r.a.func,isFocusKeyphrase:r.a.bool,isDisabled:r.a.bool,isLoading:r.a.bool,websiteId:r.a.string},y.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},a),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:a}=this.options,n=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,a,n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:a,origin:n}=e;n===this.origin&&this.popup===a&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},function(e,t,a){"use strict";var n=a(0),s=a(1),r=a.n(s),o=a(2),i=a(22),c=a.n(i),l=a(7);const u=e=>{const t=Object(o.sprintf)(
262
  /* translators: %s expands to a link to open the Wincher login popup. */
263
  Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(n.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(n.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
264
  /* translators: %s : Expands to "Wincher". */
265
- Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};u.propTypes={onReconnect:r.a.func.isRequired},t.a=u},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4);const s=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return()=>t.map(e=>e())};t.b=(e,t)=>{let a=e();return()=>{const s=e();Object(n.isEqual)(s,a)||(a=s,t(Object(n.clone)(s)))}}},,,function(e,t,a){"use strict";var n=a(3),s="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=a(76),o=a(108),i=a(109),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(a=e.key,n={"=":"=0",":":"=2"},"$"+(""+a).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var a,n}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,h,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 g(e,t,a,n){this.result=e,this.keyPrefix=t,this.func=a,this.context=n,this.count=0}function f(e,t,a){var s,o,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?y(p,i,a,r.thatReturnsArgument):null!=p&&(n.isValidElement(p)&&(s=p,o=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+a,p=n.cloneElement(s,{key:o},void 0!==s.props?s.props.children:void 0)),i.push(p))}function y(e,t,a,n,r){var i="";null!=a&&(i=d(a)+"/");var u=g.getPooled(t,i,n,r);!function(e,t,a){null==e||function e(t,a,n,r){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===s)return n(r,t,""===a?"."+l(t,0):a),1;var d=0,p=""===a?".":a+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)d+=e(i=t[h],p+l(i,h),n,r);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,g=m.call(t),f=0;!(b=g.next()).done;)d+=e(i=b.value,p+l(i,f++),n,r);else if("object"===u){var y=""+t;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y,"")}}return d}(e,"",t,a)}(e,f,u),g.release(u)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,a,n){if(this.instancePool.length){var s=this.instancePool.pop();return this.call(s,e,t,a,n),s}return new this(e,t,a,n)},(h=g).instancePool=[],h.getPooled=p||m,h.poolSize||(h.poolSize=10),h.release=function(e){o(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(n.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var a in e)y(e[a],t,a,r.thatReturnsArgument);return t}},function(e,t,a){"use strict";e.exports=function(e,t,a,n,s,r,o,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=[a,n,s,r,o,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,a){"use strict";var n=a(76);e.exports=n},function(e,t,a){"use strict";function n(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(n)}},function(e,t,a){"use strict";var n=a(0),s=a(2),r=a(22),o=a.n(r),i=a(9);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(s.sprintf)(Object(s.__)(
266
  /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
267
- "With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(n.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(n.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(n.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(s.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},,function(e,t,a){"use strict";var n=a(6),s=a(14),r=a(11),o=a.n(r),i=a(0),c=a(2),l=a(1),u=a.n(l),d=a(4),p=a(8),h=a.n(p),m=a(7),b=a(9),g=a(22),f=a.n(g);const y=Object(b.makeOutboundLink)(),w=e=>{const t=Object(c.sprintf)(
268
  /* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
269
  Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(m.Alert,{type:"error"},f()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(y,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(c.sprintf)(
270
  /* translators: %s : Expands to "Wincher". */
271
- Object(c.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};w.propTypes={limit:u.a.number},w.defaultProps={limit:10};var O=w,v=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),j=()=>Object(i.createElement)(m.Alert,{type:"success"},Object(c.sprintf)(
272
  /* translators: %s: Expands to "Wincher". */
273
  Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),k=()=>Object(i.createElement)(m.Alert,{type:"info"},Object(c.sprintf)(
274
  /* translators: %s: Expands to "Wincher". */
275
- Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),E=a(96),R=a(40),x=a(27);const _=Object(b.makeOutboundLink)(),T=h.a.span`
276
  display: block;
277
  font-style: italic;
278
 
@@ -281,16 +281,16 @@ Object(c.__)("%s is currently tracking the ranking position(s) of your page. Thi
281
  position: absolute;
282
  ${Object(b.getDirectionalStyle)("right","left")}: 8px;
283
  }
284
- `,I=h.a.th`
285
  min-width: 60px;
286
- `,S=h.a.div`
287
  width: 100%;
288
  overflow-y: auto;
289
- `,C=e=>{const t=Object(i.useRef)();return Object(i.useEffect)(()=>{t.current=e}),t.current},L=Object(d.debounce)(R.c,500,{leading:!0}),P=e=>{const{addTrackedKeyphrase:t,isLoggedIn:a,keyphrases:n,permalink:s,removeTrackedKeyphrase:r,setKeyphraseLimitReached:o,setRequestFailed:l,setRequestSucceeded:u,setTrackedKeyphrases:p,setHasTrackedAll:h,trackAll:m,trackedKeyphrases:b,isNewlyAuthenticated:g,websiteId:f,focusKeyphrase:y,newRequest:w}=e,O=Object(i.useRef)(),v=Object(i.useRef)(),j=Object(i.useRef)(!1),[k,P]=Object(i.useState)([]),M=Object(i.useCallback)(e=>{const t=e.toLowerCase();return b&&!Object(d.isEmpty)(b)&&b.hasOwnProperty(t)?b[t]:null},[b]),q=Object(i.useMemo)(()=>async()=>{await Object(x.b)(()=>(v.current&&v.current.abort(),v.current="undefined"==typeof AbortController?null:new AbortController,L(n,s,v.current.signal)),e=>{u(e),p(e.results)},e=>{l(e)})},[u,l,p,n,s]),F=Object(i.useCallback)(async e=>{const a=(Array.isArray(e)?e:[e]).map(e=>e.toLowerCase());P(e=>[...e,...a]),await Object(x.b)(()=>Object(R.d)(a),e=>{u(e),t(e.results),q()},e=>{400===e.status&&e.limit&&o(e.limit),l(e)},201),P(e=>Object(d.without)(e,...a))},[u,l,o,t,q]),A=Object(i.useCallback)(async(e,t)=>{e=e.toLowerCase(),P(t=>[...t,e]),await Object(x.b)(()=>Object(R.e)(t),t=>{u(t),r(e)},e=>{l(e)}),P(t=>Object(d.without)(t,e))},[u,r,l]),N=Object(i.useCallback)(async e=>{w(),await F(e)},[w,F]),D=C(s),K=C(n);Object(i.useEffect)(()=>{a&&s&&(s!==D||Object(d.difference)(n,K).length)&&q()},[a,s,D,n,K,q]),Object(i.useEffect)(()=>{if(a&&m&&null!==b){const e=n.filter(e=>!M(e));e.length&&F(e),h()}},[a,m,b,F,h,M,n]),Object(i.useEffect)(()=>{g&&!j.current&&(q(),j.current=!0)},[g,q]),Object(i.useEffect)(()=>{if(a&&!Object(d.isEmpty)(b))return Object(d.filter)(b,e=>Object(d.isEmpty)(e.updated_at)).length>0&&(O.current=setInterval(()=>{q()},1e4)),()=>{clearInterval(O.current)}},[a,b,q]);const H=a&&null===b;return n&&!Object(d.isEmpty)(n)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(S,null,Object(i.createElement)("table",{className:"yoast yoast-table"},Object(i.createElement)("thead",null,Object(i.createElement)("tr",null,Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Tracking","wordpress-seo")},Object(c.__)("Tracking","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Keyphrase","wordpress-seo")},Object(c.__)("Keyphrase","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position","wordpress-seo")},Object(c.__)("Position","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position over time","wordpress-seo")},Object(c.__)("Position over time","wordpress-seo")),Object(i.createElement)(I,{className:"yoast-table--nobreak"}))),Object(i.createElement)("tbody",null,n.map((e,t)=>Object(i.createElement)(E.b,{key:"trackable-keyphrase-"+t,keyphrase:e,onTrackKeyphrase:N,onUntrackKeyphrase:A,rowData:M(e),isFocusKeyphrase:e===y.trim().toLowerCase(),websiteId:f,isDisabled:!a,isLoading:H||k.indexOf(e.toLowerCase())>=0}))))),Object(i.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(i.createElement)(_,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(c.sprintf)(
290
  /* translators: %s expands to Wincher */
291
- Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(T,null,Object(c.__)("* focus keyphrase","wordpress-seo"))))};P.propTypes={addTrackedKeyphrase:u.a.func.isRequired,isLoggedIn:u.a.bool,isNewlyAuthenticated:u.a.bool,keyphrases:u.a.array,newRequest:u.a.func.isRequired,removeTrackedKeyphrase:u.a.func.isRequired,setRequestFailed:u.a.func.isRequired,setKeyphraseLimitReached:u.a.func.isRequired,setRequestSucceeded:u.a.func.isRequired,setTrackedKeyphrases:u.a.func.isRequired,setHasTrackedAll:u.a.func.isRequired,trackAll:u.a.bool,trackedKeyphrases:u.a.object,websiteId:u.a.string,permalink:u.a.string.isRequired,focusKeyphrase:u.a.string},P.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var M=P,q=Object(s.compose)([Object(n.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:a,getWincherTrackableKeyphrases:n,getWincherLoginStatus:s,getWincherPermalink:r,getFocusKeyphrase:o,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:n(),trackedKeyphrases:a(),isLoggedIn:s(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:r()}}),Object(n.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:a,setWincherRequestFailed:n,setWincherSetKeyphraseLimitReached:s,setWincherTrackedKeyphrases:r,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{n(e)},setKeyphraseLimitReached:e=>{s(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{r(e)},setHasTrackedAll:()=>{i(!1)}}})])(M),F=a(111),A=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),N=()=>Object(i.createElement)(m.Alert,{type:"info"},Object(c.sprintf)(
292
  /* translators: %s: Expands to "Wincher". */
293
- Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),D=a(100),K=a(101),H=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"));const B=e=>{let{response:t,onLogin:a}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(K.a,{onReconnect:a}):Object(i.createElement)(v,null)};B.propTypes={response:u.a.object.isRequired,onLogin:u.a.func.isRequired};const W=e=>{let{isSuccess:t,response:a,allKeyphrasesMissRanking:n,onLogin:s,keyphraseLimitReached:r,limit:o}=e;return r?Object(i.createElement)(O,{limit:o}):Object(d.isEmpty)(a)||t?n?Object(i.createElement)(k,null):null:Object(i.createElement)(B,{response:a,onLogin:s})};W.propTypes={isSuccess:u.a.bool.isRequired,allKeyphrasesMissRanking:u.a.bool.isRequired,response:u.a.object,onLogin:u.a.func.isRequired,keyphraseLimitReached:u.a.bool.isRequired,limit:u.a.number.isRequired},W.defaultProps={response:{}};let $=null;const U=async e=>{if($&&!$.isClosed())return void $.focus();const{url:t}=await Object(R.b)();$=new D.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:a,setRequestSucceeded:n,setRequestFailed:s}=e;await Object(x.b)(()=>Object(R.a)(t),async e=>{a(!0,!0,t.websiteId.toString()),n(e);const s=$.getPopup();s&&s.close()},async e=>s(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),$.createPopup()},V=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(m.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)(
294
  /* translators: %s expands to Wincher */
295
  Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));V.propTypes={isLoggedIn:u.a.bool.isRequired,onLogin:u.a.func.isRequired};const z=h.a.div`
296
  p {
@@ -302,18 +302,18 @@ Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));V.propTypes={isLogg
302
  font-weight: var(--yoast-font-weight-bold);
303
  color: var(--yoast-color-label);
304
  font-size: var(--yoast-font-size-default);
305
- `,Z=e=>{const{isLoggedIn:t,keyphrases:a,shouldTrackAll:n,permalink:s}=e;return!s&&t?Object(i.createElement)(H,null):0===a.length?Object(i.createElement)(A,null):Object(i.createElement)(G,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&n&&Object(i.createElement)(N,null),Object(i.createElement)(q,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:a}=e,n=Object(i.useCallback)(()=>{U(e)},[U,e]);return Object(i.createElement)(z,null,t&&Object(i.createElement)(j,null),Object(i.createElement)(Y,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(m.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(F.a,null),Object(i.createElement)(V,{isLoggedIn:a,onLogin:n}),Object(i.createElement)(W,o()({},e,{onLogin:n})),Object(i.createElement)(Z,e))}Z.propTypes={keyphrases:u.a.array.isRequired,isLoggedIn:u.a.bool.isRequired,shouldTrackAll:u.a.bool.isRequired,permalink:u.a.string.isRequired},J.propTypes={isLoggedIn:u.a.bool,isNewlyAuthenticated:u.a.bool,keyphrases:u.a.array,response:u.a.object,shouldTrackAll:u.a.bool,permalink:u.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:a,getWincherLimit:n,getWincherLoginStatus:s,getWincherRequestIsSuccess:r,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:u}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:s(),isNewlyAuthenticated:t(),isSuccess:r(),keyphraseLimitReached:a(),limit:n(),response:o(),shouldTrackAll:u(),permalink:l()}}),Object(n.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:a,setWincherRequestFailed:n,setWincherLoginStatus:s}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{n(e)},onAuthentication:(e,a,n)=>{t(n),s(e,a)}}})])(J)},,,,,,,,,,,function(e,t){e.exports=window.wp.sanitize},function(e,t,a){"use strict";var n=a(14),s=a(6);const r=Object(n.compose)([Object(s.withSelect)((e,t)=>{const{isAlertDismissed:a}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:a(t.alertKey)}}),Object(s.withDispatch)((e,t)=>{const{dismissAlert:a}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>a(t.alertKey)}})]);t.a=r},,function(e,t,a){"use strict";var n=a(6),s=a(14),r=a(0),o=a(2),i=a(1),c=a.n(i),l=a(4),u=a(7),d=()=>Object(r.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(o.sprintf)(
306
  /* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
307
  Object(o.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(r.createElement)(u.SvgIcon,{icon:"loading-spinner"})),p=a(9);const h=Object(p.makeOutboundLink)();var m=()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",null,Object(o.sprintf)(
308
  /* translators: %s : Expands to "Semrush". */
309
  Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(r.createElement)(h,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
310
  /* translators: %s : Expands to "Semrush". */
311
- Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(r.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),b=a(26),g=a.n(b),f=a(42);const y="yoast-semrush-country-selector",w=[{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"}];class O extends r.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:a}=this.props;a(t,e),this.storeCountryCode(t);const n=await this.doRequest(e,t);200!==n.status?this.handleFailedResponse(n):this.handleSuccessResponse(n)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:a}=this.props;0!==e.results.rows.length?a(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:a}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():a(e))}async doRequest(e,t){return await g()({path:Object(f.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return Object(r.createElement)("div",{id:y},Object(r.createElement)(u.SingleSelect,{id:y+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:w,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(r.createElement)(u.NewButton,{id:y+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}O.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},O.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var v=O,j=a(70),k=a(56);const E=Object(p.makeOutboundLink)();class R extends r.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map((e,t)=>({x:t,y:parseFloat(e)}))}getAreaChartDataTableHeaderLabels(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:a,data:n,renderAction:s}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(a);return n&&!Object(l.isEmpty)(n.results)&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("table",{className:"yoast yoast-table"},Object(r.createElement)("thead",null,Object(r.createElement)("tr",null,Object(r.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(r.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(r.createElement)(k.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(r.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(r.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(r.createElement)(k.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(r.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),s&&Object(r.createElement)("td",{className:"yoast-table--nobreak"}))),Object(r.createElement)("tbody",null,n.results.rows.map((e,a)=>{const n=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(r.createElement)("tr",{key:a},Object(r.createElement)("td",null,n),Object(r.createElement)("td",null,e[1]),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(j.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),s&&Object(r.createElement)("td",{className:"yoast-table--nobreak"},s(n,t)))}))),Object(r.createElement)("p",{style:{marginBottom:0}},Object(r.createElement)(E,{href:i},Object(o.sprintf)(
312
  /* translators: %s expands to Semrush */
313
- Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}R.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},R.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var x=R;const _=Object(p.makeOutboundLink)();var T=()=>Object(r.createElement)(u.Alert,{type:"info"},Object(o.sprintf)(
314
  /* translators: %s: Expands to "Yoast SEO". */
315
- Object(o.__)("Would you like to be able to add these related keyphrases to the %s analysis so you can optimize your content even further?","wordpress-seo"),"Yoast SEO")+" ",Object(r.createElement)(_,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(o.sprintf)(
316
  /* translators: %s: Expands to "Yoast SEO Premium". */
317
- Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),I=()=>Object(r.createElement)(u.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),S=()=>Object(r.createElement)(u.Alert,{type:"warning"},Object(o.sprintf)(
318
  /* translators: %s: Expands to "Yoast SEO". */
319
- Object(o.__)("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")),C=a(16);function L(e){const{response:t,lastRequestKeyphrase:a,keyphrase:n,newRequest:s,setCountry:i,renderAction:c,countryCode:u,requestLimitReached:p,setRequestFailed:h,setNoResultsFound:b,relatedKeyphrases:g,setRequestSucceeded:f,setRequestLimitReached:y}=e,w=Object(C.a)().isPremium;return Object(r.createElement)(r.Fragment,null,!p&&Object(r.createElement)(r.Fragment,null,!w&&Object(r.createElement)(T,null),w&&function(e){return e&&e.length>=4}(g)&&Object(r.createElement)(S,null),Object(r.createElement)(v,{countryCode:u,setCountry:i,newRequest:s,keyphrase:n,setRequestFailed:h,setNoResultsFound:b,setRequestSucceeded:f,setRequestLimitReached:y,response:t,lastRequestKeyphrase:a})),function(e){const{isPending:t,requestLimitReached:a,isSuccess:n,response:s,requestHasData:i}=e;return t?Object(r.createElement)(d,null):a?Object(r.createElement)(m,null):!n&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(s)?Object(r.createElement)(I,null):i?void 0:Object(r.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(r.createElement)(x,{keyphrase:n,relatedKeyphrases:g,countryCode:u,renderAction:c,data:t}))}L.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},L.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:a,getSEMrushRequestLimitReached:n,getSEMrushRequestResponse:s,getSEMrushRequestIsSuccess:r,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:a(),requestLimitReached:n(),response:s(),isSuccess:r(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(n.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:a,setSEMrushRequestSucceeded:n,setSEMrushRequestFailed:s,setSEMrushSetRequestLimitReached:r,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{a(e,t)},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{s(e)},setRequestLimitReached:()=>{r()},setNoResultsFound:()=>{o()}}})])(L)},,,,,,,,,,function(e,t){e.exports=window.yoast.analysisReport},,,,,,,,,,,function(e,t,a){"use strict";var n=a(6),s=a(14),r=a(0),o=a(2),i=a(1),c=a.n(i),l=a(137),u=a(12),d=a(57);class p extends r.Component{constructor(e){super(e);const t=this.props.results;this.state={mappedResults:{}},null!==t&&(this.state={mappedResults:Object(d.default)(t,this.props.keywordKey)}),this.handleMarkButtonClick=this.handleMarkButtonClick.bind(this),this.handleEditButtonClick=this.handleEditButtonClick.bind(this)}componentDidUpdate(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(d.default)(this.props.results,this.props.keywordKey)})}handleMarkButtonClick(e,t){const a=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;a===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(a),t())}focusOnKeyphraseField(e){const t=this.props.keywordKey,a=""===t?"focus-keyword-input-"+e:"yoast-keyword-input-"+t+"-"+e,n=document.getElementById(a);n.focus(),n.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}focusOnGooglePreviewField(e,t){let a;a="metaDescriptionKeyword"===e||"metaDescriptionLength"===e?"description":"titleWidth"===e||"keyphraseInSEOTitle"===e?"title":"slug";const n=document.getElementById("yoast-google-preview-"+a+"-"+t);n.focus(),n.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}handleEditButtonClick(e){let t=this.props.location;if("functionWordsInKeyphrase"!==e&&"keyphraseLength"!==e)if("sidebar"===t)t="modal",document.getElementById("yoast-google-preview-modal-open-button").click(),setTimeout(()=>this.focusOnGooglePreviewField(e,t),500);else{const a=document.getElementById("yoast-snippet-editor-metabox");a&&"false"===a.getAttribute("aria-expanded")?(a.click(),setTimeout(()=>this.focusOnGooglePreviewField(e,t),100)):this.focusOnGooglePreviewField(e,t)}else this.focusOnKeyphraseField(t)}removeMarkers(){window.YoastSEO.analysis.applyMarks(new u.Paper("",{}),[])}render(){const{mappedResults:e}=this.state,{errorsResults:t,improvementsResults:a,goodResults:n,considerationsResults:s,problemsResults:i}=e,{upsellResults:c,resultCategoryLabels:u}=this.props,d={errors:Object(o.__)("Errors","wordpress-seo"),problems:Object(o.__)("Problems","wordpress-seo"),improvements:Object(o.__)("Improvements","wordpress-seo"),considerations:Object(o.__)("Considerations","wordpress-seo"),goodResults:Object(o.__)("Good results","wordpress-seo")},p=Object.assign(d,u);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.ContentAnalysis,{errorsResults:t,problemsResults:i,upsellResults:c,improvementsResults:a,considerationsResults:s,goodResults:n,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,onEditButtonClick:this.handleEditButtonClick,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey,isPremium:this.props.isPremium,resultCategoryLabels:p}))}}p.propTypes={results:c.a.array,upsellResults:c.a.array,marksButtonClassName:c.a.string,editButtonClassName:c.a.string,marksButtonStatus:c.a.string,setActiveMarker:c.a.func.isRequired,setMarkerPauseStatus:c.a.func.isRequired,activeMarker:c.a.string,keywordKey:c.a.string,location:c.a.string,isPremium:c.a.bool,resultCategoryLabels:c.a.shape({errors:c.a.string,problems:c.a.string,improvements:c.a.string,considerations:c.a.string,goodResults:c.a.string})},p.defaultProps={results:null,upsellResults:[],marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:null,keywordKey:"",location:"",isPremium:!1,resultCategoryLabels:{}};var h=p;t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{getActiveMarker:t,getIsPremium:a}=e("yoast-seo/editor");return{activeMarker:t(),isPremium:a()}}),Object(n.withDispatch)(e=>{const{setActiveMarker:t,setMarkerPauseStatus:a}=e("yoast-seo/editor");return{setActiveMarker:t,setMarkerPauseStatus:a}})])(h)},function(e,t,a){"use strict";a.d(t,"a",(function(){return m}));var n=a(0),s=a(1),r=a.n(s),o=a(11),i=a.n(o),c=a(7),l=a(9),u=a(41);const d=e=>{let{hiddenField:t,hiddenFieldImageId:a,hiddenFieldFallbackImageId:s,hasImageValidation:r,...o}=e;const[d,p]=Object(n.useState)(null!==document.getElementById(s)),h=Object(n.useMemo)(()=>document.getElementById(t)),m=Object(n.useMemo)(()=>document.getElementById(a));let b=null;b=s&&document.getElementById(s)?Object(n.useMemo)(()=>document.getElementById(s)):m;const[g,f]=Object(n.useState)({url:h?h.value:"",id:b?parseInt(b.value,10):"",alt:""}),[y,w]=Object(n.useState)([]),O=Object(n.useCallback)(e=>{h&&(h.value=e.url),b&&(b.value=e.id)}),v=Object(n.useCallback)(()=>Object(u.b)(e=>{b=m,f(e),O(e),r&&w(Object(l.validateFacebookImage)(e)),p(!1)}),[r,O]),j=Object(n.useCallback)(()=>{b=m;const e={url:"",id:"",alt:""};f(e),O(e),w([]),p(!0)},[O]);return Object(n.useEffect)(()=>{g.id&&!g.alt&&Object(u.a)(g.id).then(e=>f(e))},[g]),Object(n.createElement)(c.ImageSelect,i()({},o,{usingFallback:d,imageUrl:g.url,imageId:g.id,imageAltText:g.alt,onClick:v,onRemoveImageClick:j,warnings:y}))};d.propTypes={hiddenField:r.a.string.isRequired,hiddenFieldImageId:r.a.string,hiddenFieldFallbackImageId:r.a.string,hasImageValidation:r.a.bool},d.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",hasImageValidation:!1};var p=d,h=a(36);function m(e){let{target:t,label:a,hasPreview:s,hiddenField:r,hiddenFieldImageId:o,hiddenFieldFallbackImageId:i,selectImageButtonId:c,replaceImageButtonId:l,removeImageButtonId:u,hasNewBadge:d,isDisabled:m,hasPremiumBadge:b,hasImageValidation:g}=e;return Object(n.createElement)(h.a,{target:t},Object(n.createElement)(p,{label:a,hasPreview:s,hiddenField:r,hiddenFieldImageId:o,hiddenFieldFallbackImageId:i,selectImageButtonId:c,replaceImageButtonId:l,removeImageButtonId:u,hasNewBadge:d,isDisabled:m,hasPremiumBadge:b,hasImageValidation:g}))}m.propTypes={target:r.a.string.isRequired,label:r.a.string.isRequired,hasPreview:r.a.bool.isRequired,hiddenField:r.a.string.isRequired,hiddenFieldImageId:r.a.string,hiddenFieldFallbackImageId:r.a.string,selectImageButtonId:r.a.string,replaceImageButtonId:r.a.string,removeImageButtonId:r.a.string,hasNewBadge:r.a.bool,isDisabled:r.a.bool,hasPremiumBadge:r.a.bool,hasImageValidation:r.a.bool},m.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t),a.d(t,"setTextdomainL10n",(function(){return r}));var n=a(2),s=a(4);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n";const a=Object(s.get)(window,[t,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===a?Object(n.setLocaleData)({"":{}},e):Object(n.setLocaleData)(a,e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var n={};a.r(n),a.d(n,"doAjaxRequest",(function(){return T}));var s=a(19),r=a(85),o=a(62),i=a(39),c=a(16),l=a(61),u=a(57),d=a(56),p=a(0),h=a(1),m=a.n(h),b=a(44),g=a(33),f=a(149),y=a(55),w=a(25),O=a(68),v=a(77),j=a(7),k=a(125),E=Object(k.a)(j.Alert),R=a(148),x=a(127),_=a(113);function T(e,t,a,n){return new Promise((s,r)=>{jQuery.ajax({type:e,url:t,beforeSend:a?e=>{e.setRequestHeader("X-WP-Nonce",a)}:null,data:n,dataType:"json",success:s,error:r})})}var I=a(104),S=a(86),C=a(185),L=a(81),P=a(63);window.yoast=window.yoast||{},window.yoast.editorModules={analysis:{getL10nObject:c.a,getContentLocale:o.a,getIndicatorForScore:i.a,constants:r,refreshAnalysis:l},components:{HelpLink:d.a,TopLevelProviders:O.a,higherorder:{withYoastSidebarPriority:e=>{const t=t=>{const{renderPriority:a,...n}=t;return Object(p.createElement)(e,n)};return t.propTypes={renderPriority:m.a.number},t}},contentAnalysis:{mapResults:u},contexts:{location:{LocationContext:s.LocationContext,LocationProvider:s.LocationProvider,LocationConsumer:s.LocationConsumer}},SidebarItem:w.a,SidebarCollapsible:y.a,MetaboxCollapsible:b.a,Modal:g.a,portals:{ImageSelectPortal:f.a}},containers:{EditorModal:v.a,PersistentDismissableAlert:E,Results:R.a,SEMrushRelatedKeyphrases:x.a,WincherSEOPerformance:_.a},helpers:{ajaxHelper:n,createInterpolateElement:S.a,createWatcher:I.b,isBlockEditor:L.a,i18n:C,replacementVariableHelpers:P}}}]);
1
+ !function(e){var t={};function a(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,a),s.l=!0,s.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)a.d(n,s,function(t){return e[t]}.bind(null,s));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=274)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.helpers},,function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4);function s(){return Object(n.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return r}));var n=a(0);function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function r(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(n.createInterpolateElement)(e,{a:Object(n.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t){e.exports=window.yoast.externals.contexts},,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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},s=i(a(3)),r=i(a(107)),o=i(a(110));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,a=e.components,i=e.throwErrors;if(c=t,!a)return t;if("object"!==(void 0===a?"undefined":n(a))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,a){var o,i,l,u,d,p,h,m,b=[],g={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!a.hasOwnProperty(d.value)||void 0===a[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==n(a[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){o=a[d.value],l=p;break}b.push(a[d.value])}else b.push(d.value);return o&&(u=function(e,t){var a,n,s=t[e],r=0;for(n=e+1;n<t.length;n++)if((a=t[n]).value===s.value){if("componentOpen"===a.type){r++;continue}if("componentClose"===a.type){if(0===r)return n;r--}}throw new Error("Missing closing component token `"+s.value+"`")}(l,t),h=e(t.slice(l+1,u),a),i=s.default.cloneElement(o,{},h),b.push(i),u<t.length-1&&(m=e(t.slice(u+1),a),b=b.concat(m))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,r.default)(g))}(l,a)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,,function(e,t,a){"use strict";var n=a(0),s=a(1),r=a.n(s);const o=e=>{let{children:t}=e;return Object(n.createElement)("div",null,t)};o.propTypes={renderPriority:r.a.number.isRequired,children:r.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return o}));var n=a(26),s=a.n(n);async function r(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const s=await e();return!!s&&(s.status===n?t(s):a(s))}catch(e){console.error(e.message)}}async function o(e){try{return await s()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,,function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var n=a(11),s=a.n(n),r=a(0),o=a(1),i=a.n(o),c=a(13);const l="yoast yoast-gutenberg-modal",u=e=>{const{title:t,className:a,showYoastIcon:n,additionalClassName:o,...i}=e,l=n?Object(r.createElement)("span",{className:"yoast-icon"}):null;return Object(r.createElement)(c.Modal,s()({title:t,className:`${a} ${o}`,icon:l},i),e.children)};u.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},u.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=u},,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(0),s=a(1),r=a.n(s);function o(e){let{target:t,children:a}=e,s=t;return"string"==typeof t&&(s=document.getElementById(t)),s?Object(n.createPortal)(a,s):null}o.propTypes={target:r.a.oneOfType([r.a.string,r.a.object]).isRequired,children:r.a.node.isRequired}},,,,function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return o})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return c})),a.d(t,"e",(function(){return l}));var n=a(4),s=a(27);async function r(){return await Object(s.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:a}=e;return await Object(s.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:a}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;return await Object(s.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:a})}async function c(e){return Object(n.isArray)(e)||(e=[e]),await Object(s.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(s.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},function(e,t,a){"use strict";a.d(t,"a",(function(){return de})),a.d(t,"b",(function(){return pe})),a.d(t,"c",(function(){return he})),a.d(t,"d",(function(){return me}));var n=a(4),s=a(9),r=a(0),o=a(3),i=a.n(o),c=a(1),l=a.n(c),u=a(8),d=a.n(u);const p=d.a.p`
2
  color: #606770;
3
  flex-shrink: 0;
4
  font-size: 12px;
29
  }
30
  `,w=d.a.div`
31
  padding-bottom: ${e=>e.aspectRatio}%;
32
+ `,v=e=>{const{imageProps:t,width:a,height:n,imageMode:s}=e;return"landscape"===s?Object(r.createElement)(w,{aspectRatio:t.aspectRatio},Object(r.createElement)(y,{src:t.src,alt:t.alt})):Object(r.createElement)(f,{src:t.src,alt:t.alt,width:a,height:n,imageProperties:t})};v.propTypes={imageProps:l.a.shape({src:l.a.string.isRequired,alt:l.a.string.isRequired,aspectRatio:l.a.number.isRequired}).isRequired,width:l.a.number.isRequired,height:l.a.number.isRequired,imageMode:l.a.string},v.defaultProps={imageMode:"landscape"};const O={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},j={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function k(e){const{largeThreshold:t}=j;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function E(e){return"Twitter"===e?O:j}function R(e){return new Promise((t,a)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=a,n.src=e})}function x(e,t,a){return"landscape"===a?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===a?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function T(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function _(e,t,a){return"square"===a&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:T(t,x(e,t,a))}async function S(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=await R(e);let s=a?"landscape":"square";"Facebook"===t&&(s=k(n));const r=E(t),o=_(r,n,s);return{mode:s,height:o.height,width:o.width}}async function I(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await S(e,t,a),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}const C=d.a.div`
33
  position: relative;
34
  ${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
35
  overflow: hidden;
51
  text-decoration: underline;
52
  font-size: 14px;
53
  cursor: pointer;
54
+ `;class P extends o.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await I(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:j.squareHeight+"px",width:j.squareWidth+"px"};case"portrait":return{height:j.portraitHeight+"px",width:j.portraitWidth+"px"};case"landscape":return{height:j.landscapeHeight+"px",width:j.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return Object(r.createElement)(L,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(b.__)("Select image","wordpress-seo"));const a=this.retrieveContainerDimensions(e.mode);return Object(r.createElement)(C,{mode:e.mode,dimensions:a,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},Object(r.createElement)(v,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:j.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}P.propTypes={src:l.a.string,alt:l.a.string,onImageLoaded:l.a.func,onImageClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func},P.defaultProps={src:"",alt:"",onImageLoaded:n.noop,onImageClick:n.noop,onMouseEnter:n.noop,onMouseLeave:n.noop};var q=P,M=d.a.span`
55
  line-height: ${20}px;
56
  min-height : ${20}px;
57
  color: #1d2129;
84
  @media all and ( max-width: ${e=>e.maxWidth} ) {
85
  display: none;
86
  }
87
+ `;const A=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},D=d.a.div`
88
  box-sizing: border-box;
89
  display: flex;
90
  flex-direction: ${e=>"landscape"===e.mode?"column":"row"};
91
  background-color: #f2f3f5;
92
  max-width: 527px;
93
+ `,N=d.a.div`
94
  box-sizing: border-box;
95
  background-color: #f2f3f5;
96
  margin: 0;
106
  justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"};
107
  font-size: 12px;
108
  overflow: hidden;
109
+ `;class K extends o.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=i.a.createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,a="landscape"===e?2:5;a!==t&&this.setState({maxLineCount:a})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:a}=this.state,n=this.getTitleLineCount();let s=t-n;"portrait"===a&&(s=5===n?0:4),s!==e&&this.setState({descriptionLineCount:s})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:a}=this.state;return Object(r.createElement)(D,{id:"facebookPreview",mode:e},Object(r.createElement)(q,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(r.createElement)(N,{mode:e},Object(r.createElement)(m,{siteUrl:this.props.siteUrl,mode:e}),Object(r.createElement)(M,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),a>0&&Object(r.createElement)(F,{maxWidth:A(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:a},this.props.description)))}}K.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},K.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};var B=K;const H=d.a.div`
110
  text-transform: lowercase;
111
  color: rgb(83, 100, 113);
112
  white-space: nowrap;
117
  display: flex;
118
  flex-direction: row;
119
  align-items: flex-end;
120
+ `,W=e=>Object(r.createElement)(H,null,Object(r.createElement)("span",null,e.siteUrl));W.propTypes={siteUrl:l.a.string.isRequired};var $=W;const U=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?`\n\t\t\tmax-width: ${O.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${O.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`},V=d.a.div`
121
  position: relative;
122
  box-sizing: content-box;
123
  overflow: hidden;
136
  font-size: 1rem;
137
  ${e=>U(e.isLarge,!1)}
138
  `,G=d()(z)`
139
+ ${e=>e.isLarge&&`height: ${O.landscapeHeight}px;`}
140
  border-top-left-radius: 14px;
141
  ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px;
142
  border-style: dashed;
148
  text-decoration: underline;
149
  font-size: 14px;
150
  cursor: pointer;
151
+ `;class Y extends i.a.Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await I(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?Object(r.createElement)(G,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(b.__)("Select image","wordpress-seo")):Object(r.createElement)(V,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(r.createElement)(v,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:O.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}Y.propTypes={isLarge:l.a.bool.isRequired,src:l.a.string,alt:l.a.string,onImageClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func},Y.defaultProps={src:"",alt:"",onMouseEnter:n.noop,onImageClick:n.noop,onMouseLeave:n.noop};const Z=d.a.div`
152
  display: flex;
153
  flex-direction: column;
154
  padding: 12px;
163
  min-height:20px;
164
  font-size:15px;
165
  }
166
+ `,J=e=>Object(r.createElement)(Z,null,e.children);J.propTypes={children:l.a.array.isRequired};var Q=J,X=d.a.p`
167
  white-space: nowrap;
168
  overflow: hidden;
169
  text-overflow: ellipsis;
181
  -webkit-line-clamp: 2;
182
  -webkit-box-orient: vertical;
183
 
184
+ @media all and ( max-width: ${O.landscapeWidth}px ) {
185
  display: none;
186
  }
187
  `;const te=d.a.div`
208
  `,ne=d()(te)`
209
  flex-direction: row;
210
  height: 125px;
211
+ `;class se extends o.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:a,alt:n,title:s,description:o,siteUrl:i}=this.props,c=e?ae:ne;return Object(r.createElement)(c,{id:"twitterPreview"},Object(r.createElement)(Y,{src:t||a,alt:n,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(r.createElement)(Q,null,Object(r.createElement)($,{siteUrl:i}),Object(r.createElement)(X,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},s),Object(r.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}se.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,isLarge:l.a.bool,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},se.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var re=se,oe=a(7),ie=a(65),ce=a(28);class le extends o.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Facebook"===e.socialMediumName?B:re,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:n,socialMediumName:s,imageWarnings:o,siteUrl:c,description:l,descriptionInputPlaceholder:u,descriptionPreviewFallback:d,imageUrl:p,imageFallbackUrl:h,alt:m,title:b,titleInputPlaceholder:g,titlePreviewFallback:f,replacementVariables:y,recommendedReplacementVariables:w,applyReplacementVariables:v,onReplacementVariableSearchChange:O,isPremium:j,isLarge:k,socialPreviewLabel:E,idSuffix:R,activeMetaTabId:x}=this.props,T=v({title:b||f,description:l||d});return Object(r.createElement)(i.a.Fragment,null,E&&Object(r.createElement)(oe.SimulatedLabel,null,E),Object(r.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:a,siteUrl:c,title:T.title,description:T.description,imageUrl:p,imageFallbackUrl:h,alt:m,isLarge:k,activeMetaTabId:x}),Object(r.createElement)(ie.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:s,title:b,titleInputPlaceholder:g,onRemoveImageClick:n,imageSelected:!!p,imageUrl:p,onTitleChange:t,onSelectImageClick:a,description:l,descriptionInputPlaceholder:u,imageWarnings:o,replacementVariables:y,recommendedReplacementVariables:w,onReplacementVariableSearchChange:O,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:j,setEditorRef:this.setEditorRef,idSuffix:R}))}}le.propTypes={title:l.a.string.isRequired,onTitleChange:l.a.func.isRequired,description:l.a.string.isRequired,onDescriptionChange:l.a.func.isRequired,imageUrl:l.a.string.isRequired,imageFallbackUrl:l.a.string.isRequired,onSelectImageClick:l.a.func.isRequired,onRemoveImageClick:l.a.func.isRequired,socialMediumName:l.a.string.isRequired,alt:l.a.string,isPremium:l.a.bool,imageWarnings:l.a.array,isLarge:l.a.bool,siteUrl:l.a.string,descriptionInputPlaceholder:l.a.string,titleInputPlaceholder:l.a.string,descriptionPreviewFallback:l.a.string,titlePreviewFallback:l.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,applyReplacementVariables:l.a.func,onReplacementVariableSearchChange:l.a.func,socialPreviewLabel:l.a.string,idSuffix:l.a.string,activeMetaTabId:l.a.string},le.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const ue=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function de(e){return new Promise((t,a)=>{window.wp.media.attachment||a(),window.wp.media.attachment(e).fetch().then(e=>{t(ue(e))}).catch(()=>a())})}function pe(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const a=t.state().get("selection").first();e(ue(a.attributes))}),t})(e).open()}const he=e=>{const{width:t,height:a}=e,n=k({width:t,height:a}),r=j[n+"Width"],o=j[n+"Height"],i=Object.values(e.sizes).find(e=>e.width>=r&&e.height>=o);return{url:i?i.url:e.url,id:e.id,warnings:Object(s.validateFacebookImage)(e),alt:e.alt||""}},me=e=>{const t="summary"!==Object(n.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",a=O[t+"Width"],r=O[t+"Height"],o=Object.values(e.sizes).find(e=>e.width>=a&&e.height>=r);return{url:o?o.url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t){e.exports=window.wp.url},function(e,t,a){"use strict";a.d(t,"g",(function(){return s})),a.d(t,"h",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"c",(function(){return l})),a.d(t,"f",(function(){return u})),a.d(t,"e",(function(){return d})),a.d(t,"j",(function(){return p})),a.d(t,"d",(function(){return h})),a.d(t,"o",(function(){return m})),a.d(t,"p",(function(){return b})),a.d(t,"k",(function(){return g})),a.d(t,"q",(function(){return f})),a.d(t,"r",(function(){return y})),a.d(t,"n",(function(){return w})),a.d(t,"m",(function(){return v})),a.d(t,"l",(function(){return O}));var n=a(9);const s="SNIPPET_EDITOR_SWITCH_MODE",r="SNIPPET_EDITOR_UPDATE_DATA",o="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",i="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",c="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",u="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",d="SNIPPET_EDITOR_REFRESH",p="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",h="LOAD_SNIPPET_EDITOR_DATA";function m(e){return{type:s,mode:e}}function b(e){return{type:r,data:e}}function*g(e,t){const a=yield{type:o,query:e,postId:t};return{type:i,results:a}}function f(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r="string"==typeof t?Object(n.decodeHTML)(t):t;return{type:c,name:e,value:r,label:a,hidden:s}}function y(e){return{type:p,wordsToHighlight:e}}function w(e){return{type:u,name:e}}function v(){return{type:d,time:(new Date).getMilliseconds()}}function O(e){return{type:l,data:e}}},function(e,t,a){"use strict";var n=a(11),s=a.n(n),r=a(0),o=a(7),i=a(8);const c=a.n(i)()(o.Collapsible)`
212
  h2 > button {
213
  padding-left: 24px;
214
  padding-top: 16px;
224
  border-top: 1px solid rgba(0,0,0,0.2);
225
  }
226
 
227
+ `;t.a=e=>Object(r.createElement)(c,s()({hasPadding:!0,hasSeparator:!0},e))},function(e,t){e.exports=window.wp.hooks},,function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(2),s=a(12),r=a(4);function o(e){return Object(r.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(n.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(n.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(n.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(n.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(n.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(n.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(n.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(s.interpreters.scoreToRating(e))}},,,function(e,t,a){"use strict";function n(){}a.d(t,"a",(function(){return n}))},,,,,function(e,t){e.exports=window.yoast.components},,function(e,t,a){"use strict";a.r(t),a.d(t,"getIconForScore",(function(){return i})),a.d(t,"default",(function(){return c}));var n=a(15),s=a(12);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=e.getIdentifier(),n={score:e.score,rating:s.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:a,text:e.text,markerId:t.length>0?`${t}:${a}`:a,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),editFieldName:e.editFieldName};return"ok"===n.rating&&(n.rating="OK"),n}function o(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){switch(e){case"loading":return{icon:"loading-spinner",color:n.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:n.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:n.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:n.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:n.colors.$color_ok};case"bad":return{icon:"seo-score-bad",color:n.colors.$color_red};default:return{icon:"seo-score-none",color:n.colors.$color_red}}}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return a;for(let n=0;n<e.length;n++){const s=e[n];s.text&&(a=o(r(s,t),a))}return a}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4),s=a(17);function r(){const e=Object(s.a)();return Object(n.get)(e,"contentLocale","en_US")}},function(e,t,a){"use strict";var n=a(0),s=a(7),r=a(1),o=a.n(r);const i=e=>{const[t,a]=Object(n.useState)(!1),{prefixIcon:r}=e;return Object(n.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(n.createElement)("h2",{className:"components-panel__body-title"},Object(n.createElement)("button",{onClick:function(){a(!t)},className:"components-button components-panel__body-toggle"},Object(n.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(r&&r.color||"")}},r&&Object(n.createElement)(s.SvgIcon,{icon:r.icon,color:r.color,size:r.size})),Object(n.createElement)("span",{className:"yoast-title-container"},Object(n.createElement)("div",{className:"yoast-title"},e.title),Object(n.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&Object(n.createElement)(s.BetaBadge,null),Object(n.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:o.a.string.isRequired,children:o.a.oneOfType([o.a.node,o.a.arrayOf(o.a.node)]).isRequired,prefixIcon:o.a.object,subTitle:o.a.string,hasBetaBadgeLabel:o.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t,a){"use strict";var n=a(15),s=a(9),r=a(8),o=a.n(r);const i=Object(s.makeOutboundLink)(o.a.a`
228
  display: inline-block;
229
  position: relative;
230
  outline: none;
254
  padding: 2px;
255
  content: "\f223";
256
  }
257
+ `);t.a=i},function(e,t,a){"use strict";a.r(t),a.d(t,"nonReplaceVars",(function(){return l})),a.d(t,"fillReplacementVariables",(function(){return u})),a.d(t,"handlePrefixes",(function(){return d})),a.d(t,"createLabelFromName",(function(){return p})),a.d(t,"pushNewReplaceVar",(function(){return h})),a.d(t,"replaceSpaces",(function(){return m})),a.d(t,"prepareCustomFieldForDispatch",(function(){return b})),a.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),a.d(t,"mapCustomTaxonomies",(function(){return f})),a.d(t,"mapCustomFields",(function(){return y})),a.d(t,"excerptFromContent",(function(){return w})),a.d(t,"applyReplaceUsingPlugin",(function(){return v}));var n=a(4),s=a(124),r=a(42),o=a(19),i=a(9);const{stripHTMLTags:c}=i.strings,l=["slug","content","contentImage","snippetPreviewImageURL"];function u(e,t){Object(n.forEach)(e,(e,a)=>{l.includes(a)||t.dispatch(Object(r.q)(a,e))})}function d(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");const 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 p(e){return e=d(e),Object(o.b)(e)}function h(e,t){return e.push({name:t.name,label:t.label||p(t.name),value:t.value}),e}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function b(e){return{name:"cf_"+m(e),label:Object(o.b)(e+" (custom field)")}}function g(e){const t=m(e);return{name:"ct_"+t,label:Object(o.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(o.b)(e+" description (custom taxonomy)")}}function f(e,t){return e.custom_taxonomies?(Object(n.forEach)(e.custom_taxonomies,(e,a)=>{const{name:n,label:s,descriptionName:o,descriptionLabel:i}=g(a);t.dispatch(Object(r.q)(n,e.name,s)),t.dispatch(Object(r.q)(o,e.description,i))}),Object(n.omit)({...e},"custom_taxonomies")):e}function y(e,t){return e.custom_fields?(Object(n.forEach)(e.custom_fields,(e,a)=>{const{name:n,label:s}=b(a);t.dispatch(Object(r.q)(n,e,s))}),Object(n.omit)({...e},"custom_fields")):e}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const v=function(e){const t=Object(n.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(n.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=Object(n.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],n.identity);return{url:e.url,title:c(t(e.title)),description:c(t(e.description))}}(e);const a=t._applyModifications.bind(t);return{url:e.url,title:c(a("data_page_title",e.title)),description:c(a("data_meta_desc",e.description))}}},,,,function(e,t){e.exports=window.yoast.socialMetadataForms},,function(e,t,a){"use strict";var n=a(0),s=a(1),r=a.n(s),o=a(8),i=a(20);const c=e=>{let{theme:t,location:a,children:s}=e;return Object(n.createElement)(i.LocationProvider,{value:a},Object(n.createElement)(o.ThemeProvider,{theme:t},s))};c.propTypes={theme:r.a.object.isRequired,location:r.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:r.a.element.isRequired},t.a=c},function(e,t,a){"use strict";var n=a(0),s=a(7),r=a(1),o=a.n(r);const i=e=>Object(n.createElement)("div",{className:"yoast components-panel__body"},Object(n.createElement)("h2",{className:"components-panel__body-title"},Object(n.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(n.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(n.createElement)(s.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(n.createElement)("span",{className:"yoast-title-container"},Object(n.createElement)("div",{className:"yoast-title"},e.title),Object(n.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&Object(n.createElement)(s.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))));t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,prefixIcon:o.a.object,children:o.a.node},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:"",children:null}},function(e,t,a){"use strict";var n=a(0),s=a(1),r=a.n(s),o=a(2);const i=e=>{let{data:t,mapChartDataToTableData:a,dataTableCaption:s,dataTableHeaderLabels:r,isDataTableVisuallyHidden:i}=e;return t.length!==r.length?Object(n.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(n.createElement)("div",{className:i?"screen-reader-text":null},Object(n.createElement)("table",null,Object(n.createElement)("caption",null,s),Object(n.createElement)("thead",null,Object(n.createElement)("tr",null,r.map((e,t)=>Object(n.createElement)("th",{key:t},e)))),Object(n.createElement)("tbody",null,Object(n.createElement)("tr",null,t.map((e,t)=>Object(n.createElement)("td",{key:t},a(e.y)))))))};i.propTypes={data:r.a.arrayOf(r.a.shape({x:r.a.number,y:r.a.number})).isRequired,mapChartDataToTableData:r.a.func,dataTableCaption:r.a.string.isRequired,dataTableHeaderLabels:r.a.array.isRequired,isDataTableVisuallyHidden:r.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:a,height:s,fillColor:r,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}=e;const m=Math.max(1,Math.max(...t.map(e=>e.x))),b=Math.max(1,Math.max(...t.map(e=>e.y))),g=s-i,f=t.map(e=>`${e.x/m*a},${g-e.y/b*g+i}`).join(" "),y=`0,${g+i} `+f+` ${a},${g+i}`;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("svg",{width:a,height:s,viewBox:`0 0 ${a} ${s}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(n.createElement)("polygon",{fill:r,points:y}),Object(n.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),u&&Object(n.createElement)(c,{data:t,mapChartDataToTableData:u,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:h}))};l.propTypes={data:r.a.arrayOf(r.a.shape({x:r.a.number,y:r.a.number})).isRequired,width:r.a.number.isRequired,height:r.a.number.isRequired,fillColor:r.a.string,strokeColor:r.a.string,strokeWidth:r.a.number,className:r.a.string,mapChartDataToTableData:r.a.func,dataTableCaption:r.a.string.isRequired,dataTableHeaderLabels:r.a.array.isRequired,isDataTableVisuallyHidden:r.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},function(e,t,a){"use strict";a.r(t),a.d(t,"sortResultsByIdentifier",(function(){return l})),a.d(t,"default",(function(){return u})),a.d(t,"initializationDone",(function(){return d}));var n=a(44),s=a(18),r=a(12),o=a(49),i=a(54);let c=!1;function l(e){return e.sort((e,t)=>e._identifier.localeCompare(t._identifier))}function u(e,t,a,u,d){if(!c)return;const p=r.Paper.parse(t());e.analyze(p).then(r=>{const{result:{seo:o,readability:c}}=r;if(o){const e=o[""];e.results.forEach(e=>{e.getMarker=()=>()=>a(p,e.marks)}),e.results=l(e.results),u.dispatch(s.actions.setSeoResultsForKeyword(p.getKeyword(),e.results)),u.dispatch(Object(i.setOverallSeoScore)(e.score,p.getKeyword())),u.dispatch(s.actions.refreshSnippetEditor()),d.saveScores(e.score,p.getKeyword())}c&&(c.results.forEach(e=>{e.getMarker=()=>()=>a(p,e.marks)}),c.results=l(c.results),u.dispatch(s.actions.setReadabilityResults(c.results)),u.dispatch(Object(i.setOverallReadabilityScore)(c.score)),u.dispatch(s.actions.refreshSnippetEditor()),d.saveContentScore(c.score)),Object(n.doAction)("yoast.analysis.refresh",r,{paper:p,worker:e,collectData:t,applyMarks:a,store:u,dataCollector:d})}).catch(o.a)}function d(){c=!0}},,,,,,function(e,t,a){"use strict";function n(e){return function(){return e}}var s=function(){};s.thatReturns=n,s.thatReturnsFalse=n(!1),s.thatReturnsTrue=n(!0),s.thatReturnsNull=n(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},function(e,t,a){"use strict";var n=a(14),s=a(6),r=a(94);t.a=Object(n.compose)([Object(s.withSelect)((e,t)=>{const{getPostOrPageString:a,getIsModalOpen:n}=e("yoast-seo/editor");return{postTypeName:a(),isOpen:n(t.id)}}),Object(s.withDispatch)((e,t)=>{const{openEditorModal:a,closeEditorModal:n}=e("yoast-seo/editor");return{open:()=>a(t.id),close:n}})])(r.a)},,,function(e,t){e.exports=window.moment},function(e,t,a){"use strict";function n(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}a.d(t,"a",(function(){return n}))},,,,function(e,t,a){"use strict";a.r(t),a.d(t,"refreshDelay",(function(){return n}));const n=500},function(e,t,a){"use strict";var n=a(0);let s,r,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,a,n,s){return{element:e,tokenStart:t,tokenLength:a,prevOffset:n,leadingTextStart:s,children:[]}}function u(){const e=s.length-r;0!==e&&o.push(s.substr(r,e))}function d(e){const{element:t,tokenStart:a,tokenLength:r,prevOffset:o,children:c}=e,l=i[i.length-1],u=s.substr(l.prevOffset,a-l.prevOffset);u&&l.children.push(u),l.children.push(Object(n.cloneElement)(t,null,...c)),l.prevOffset=o||a+r}function p(e){const t=function(){const e=c.exec(s);if(null===e)return["no-more-tokens"];const t=e.index,[a,n,r,o]=e,i=a.length;return o?["self-closed",r,t,i]:n?["closer",r,t,i]:["opener",r,t,i]}(),[a,p,h,m]=t,b=i.length,g=h>r?r:null;if(!e[p])return u(),!1;switch(a){case"no-more-tokens":if(0!==b){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(s.substr(e,t))}return u(),!1;case"self-closed":return 0===b?(null!==g&&o.push(s.substr(g,h-g)),o.push(e[p]),r=h+m,!0):(d(l(e[p],h,m)),r=h+m,!0);case"opener":return i.push(l(e[p],h,m,h+m,g)),r=h+m,!0;case"closer":if(1===b)return function(e){const{element:t,leadingTextStart:a,prevOffset:r,tokenStart:c,children:l}=i.pop(),u=e?s.substr(r,e-r):s.substr(r);u&&l.push(u),null!==a&&o.push(s.substr(a,c-a)),o.push(Object(n.cloneElement)(t,null,...l))}(h),r=h+m,!0;const t=i.pop(),a=s.substr(t.prevOffset,h-t.prevOffset);t.children.push(a),t.prevOffset=h+m;const c=l(t.element,t.tokenStart,t.tokenLength,h+m);return c.children=t.children,d(c),r=h+m,!0;default:return u(),!1}}t.a=(e,t)=>{if(s=e,r=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,a=t&&Object.values(e);return t&&a.length&&a.every(e=>Object(n.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(n.createElement)(n.Fragment,null,...o)}},,,,,,function(e,t,a){"use strict";function n(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}a.d(t,"a",(function(){return n}))},,function(e,t,a){"use strict";a.d(t,"b",(function(){return d}));var n=a(0),s=a(2),r=a(33),o=a(1),i=a.n(o),c=a(4),l=a(68),u=a(20);const d=e=>{let t=!0;if("blur"===e.type){const{relatedTarget:a}=e;if(a){const e=["media-modal","wp-core-ui"];t=Object(c.intersection)(e,Array.from(a.classList)).length!==e.length}}return t},p=e=>{let{id:t,postTypeName:a,children:o,title:i,isOpen:c,close:p,open:h,shouldCloseOnClickOutside:m,showChangesWarning:b}=e;const g=Object(n.useCallback)(e=>{d(e)&&p()},[p]);return Object(n.createElement)(n.Fragment,null,c&&Object(n.createElement)(u.LocationProvider,{value:"modal"},Object(n.createElement)(r.a,{title:i,onRequestClose:g,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:m},Object(n.createElement)("div",{className:"yoast-content-container"},Object(n.createElement)("div",{className:"yoast-modal-content"},o)),Object(n.createElement)("div",{className:"yoast-notice-container"},Object(n.createElement)("hr",null),Object(n.createElement)("div",{className:"yoast-button-container"},b&&Object(n.createElement)("p",null,
258
  /* Translators: %s translates to the Post Label in singular form */
259
  Object(s.sprintf)(Object(s.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),a)),Object(n.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:g},
260
  /* Translators: %s translates to the Post Label in singular form */
261
+ Object(s.sprintf)(Object(s.__)("Return to your %s","wordpress-seo"),a)))))),Object(n.createElement)(l.a,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:h}))};p.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired,shouldCloseOnClickOutside:i.a.bool,showChangesWarning:i.a.bool},p.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0},t.a=p},,function(e,t,a){"use strict";a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return f})),a.d(t,"b",(function(){return y}));var n=a(0),s=a(1),r=a.n(s),o=a(2),i=a(4),c=a(80),l=a.n(c),u=a(7),d=a(9),p=a(69),h=()=>Object(n.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(n.createElement)(u.SvgIcon,{icon:"loading-spinner"}));const m=Object(d.makeOutboundLink)();function b(e){return Math.round(100*e)}function g(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const a=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),s=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(n.createElement)(p.a,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:a})}function f(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function y(e){const{keyphrase:t,rowData:a,onTrackKeyphrase:s,onUntrackKeyphrase:r,isFocusKeyphrase:c,isDisabled:d,isLoading:p}=e,b=!Object(i.isEmpty)(a),y=Object(n.useCallback)(()=>{d||(b?r(t,a.id):s(t))},[t,s,r,b,a,d]);return Object(n.createElement)("tr",null,Object(n.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:a,toggleAction:s,isLoading:r}=e;return r?Object(n.createElement)(u.SvgIcon,{icon:"loading-spinner"}):Object(n.createElement)(u.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:a,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:y,isLoading:p})),Object(n.createElement)("td",null,t,c&&Object(n.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:a}=e,s=!Object(i.isEmpty)(t),r=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",a,t.id):null;return s?r?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",null,f(t)),Object(n.createElement)("td",{className:"yoast-table--nopadding"},Object(n.createElement)(g,{chartData:t})),Object(n.createElement)("td",{className:"yoast-table--nobreak"},Object(n.createElement)(m,{href:c},Object(o.__)("View","wordpress-seo")))):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(n.createElement)(h,null))):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",null,"?"),Object(n.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(n.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:r.a.object},g.defaultProps={chartData:{}},y.propTypes={rowData:r.a.object,keyphrase:r.a.string.isRequired,onTrackKeyphrase:r.a.func,onUntrackKeyphrase:r.a.func,isFocusKeyphrase:r.a.bool,isDisabled:r.a.bool,isLoading:r.a.bool,websiteId:r.a.string},y.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,function(e,t,a){"use strict";function n(e){var t=jQuery(".yst-traffic-light"),a=t.closest(".wpseo-meta-section-link"),n=jQuery("#wpseo-traffic-light-desc"),s=e.className||"na";t.attr("class","yst-traffic-light "+s),a.attr("aria-describedby","wpseo-traffic-light-desc"),n.length>0?n.text(e.screenReaderText):a.closest("li").append("<span id='wpseo-traffic-light-desc' class='screen-reader-text'>"+e.screenReaderText+"</span>")}a.d(t,"a",(function(){return n}))},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},a),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:a}=this.options,n=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,a,n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:a,origin:n}=e;n===this.origin&&this.popup===a&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},function(e,t,a){"use strict";var n=a(0),s=a(1),r=a.n(s),o=a(2),i=a(22),c=a.n(i),l=a(7);const u=e=>{const t=Object(o.sprintf)(
262
  /* translators: %s expands to a link to open the Wincher login popup. */
263
  Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(n.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(n.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
264
  /* translators: %s : Expands to "Wincher". */
265
+ Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};u.propTypes={onReconnect:r.a.func.isRequired},t.a=u},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4);const s=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return()=>t.map(e=>e())};t.b=(e,t)=>{let a=e();return()=>{const s=e();Object(n.isEqual)(s,a)||(a=s,t(Object(n.clone)(s)))}}},,function(e,t,a){"use strict";var n=a(3),s="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=a(76),o=a(108),i=a(109),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(a=e.key,n={"=":"=0",":":"=2"},"$"+(""+a).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var a,n}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,h,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 g(e,t,a,n){this.result=e,this.keyPrefix=t,this.func=a,this.context=n,this.count=0}function f(e,t,a){var s,o,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?y(p,i,a,r.thatReturnsArgument):null!=p&&(n.isValidElement(p)&&(s=p,o=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+a,p=n.cloneElement(s,{key:o},void 0!==s.props?s.props.children:void 0)),i.push(p))}function y(e,t,a,n,r){var i="";null!=a&&(i=d(a)+"/");var u=g.getPooled(t,i,n,r);!function(e,t,a){null==e||function e(t,a,n,r){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===s)return n(r,t,""===a?"."+l(t,0):a),1;var d=0,p=""===a?".":a+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)d+=e(i=t[h],p+l(i,h),n,r);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,g=m.call(t),f=0;!(b=g.next()).done;)d+=e(i=b.value,p+l(i,f++),n,r);else if("object"===u){var y=""+t;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y,"")}}return d}(e,"",t,a)}(e,f,u),g.release(u)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,a,n){if(this.instancePool.length){var s=this.instancePool.pop();return this.call(s,e,t,a,n),s}return new this(e,t,a,n)},(h=g).instancePool=[],h.getPooled=p||m,h.poolSize||(h.poolSize=10),h.release=function(e){o(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(n.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var a in e)y(e[a],t,a,r.thatReturnsArgument);return t}},function(e,t,a){"use strict";e.exports=function(e,t,a,n,s,r,o,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=[a,n,s,r,o,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,a){"use strict";var n=a(76);e.exports=n},function(e,t,a){"use strict";function n(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(n)}},function(e,t,a){"use strict";var n=a(0),s=a(2),r=a(22),o=a.n(r),i=a(9);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(s.sprintf)(Object(s.__)(
266
  /* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
267
+ "With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(n.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(n.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(n.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(s.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,a){"use strict";var n=a(6),s=a(14),r=a(11),o=a.n(r),i=a(0),c=a(2),l=a(1),u=a.n(l),d=a(4),p=a(8),h=a.n(p),m=a(7),b=a(9),g=a(22),f=a.n(g);const y=Object(b.makeOutboundLink)(),w=e=>{const t=Object(c.sprintf)(
268
  /* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
269
  Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(m.Alert,{type:"error"},f()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(y,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(c.sprintf)(
270
  /* translators: %s : Expands to "Wincher". */
271
+ Object(c.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};w.propTypes={limit:u.a.number},w.defaultProps={limit:10};var v=w,O=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),j=()=>Object(i.createElement)(m.Alert,{type:"success"},Object(c.sprintf)(
272
  /* translators: %s: Expands to "Wincher". */
273
  Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),k=()=>Object(i.createElement)(m.Alert,{type:"info"},Object(c.sprintf)(
274
  /* translators: %s: Expands to "Wincher". */
275
+ Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),E=a(96),R=a(39),x=a(27);const T=Object(b.makeOutboundLink)(),_=h.a.span`
276
  display: block;
277
  font-style: italic;
278
 
281
  position: absolute;
282
  ${Object(b.getDirectionalStyle)("right","left")}: 8px;
283
  }
284
+ `,S=h.a.th`
285
  min-width: 60px;
286
+ `,I=h.a.div`
287
  width: 100%;
288
  overflow-y: auto;
289
+ `,C=e=>{const t=Object(i.useRef)();return Object(i.useEffect)(()=>{t.current=e}),t.current},L=Object(d.debounce)(R.c,500,{leading:!0}),P=e=>{const{addTrackedKeyphrase:t,isLoggedIn:a,keyphrases:n,permalink:s,removeTrackedKeyphrase:r,setKeyphraseLimitReached:o,setRequestFailed:l,setRequestSucceeded:u,setTrackedKeyphrases:p,setHasTrackedAll:h,trackAll:m,trackedKeyphrases:b,isNewlyAuthenticated:g,websiteId:f,focusKeyphrase:y,newRequest:w}=e,v=Object(i.useRef)(),O=Object(i.useRef)(),j=Object(i.useRef)(!1),[k,P]=Object(i.useState)([]),q=Object(i.useCallback)(e=>{const t=e.toLowerCase();return b&&!Object(d.isEmpty)(b)&&b.hasOwnProperty(t)?b[t]:null},[b]),M=Object(i.useMemo)(()=>async()=>{await Object(x.b)(()=>(O.current&&O.current.abort(),O.current="undefined"==typeof AbortController?null:new AbortController,L(n,s,O.current.signal)),e=>{u(e),p(e.results)},e=>{l(e)})},[u,l,p,n,s]),F=Object(i.useCallback)(async e=>{const a=(Array.isArray(e)?e:[e]).map(e=>e.toLowerCase());P(e=>[...e,...a]),await Object(x.b)(()=>Object(R.d)(a),e=>{u(e),t(e.results),M()},e=>{400===e.status&&e.limit&&o(e.limit),l(e)},201),P(e=>Object(d.without)(e,...a))},[u,l,o,t,M]),A=Object(i.useCallback)(async(e,t)=>{e=e.toLowerCase(),P(t=>[...t,e]),await Object(x.b)(()=>Object(R.e)(t),t=>{u(t),r(e)},e=>{l(e)}),P(t=>Object(d.without)(t,e))},[u,r,l]),D=Object(i.useCallback)(async e=>{w(),await F(e)},[w,F]),N=C(s),K=C(n);Object(i.useEffect)(()=>{a&&s&&(s!==N||Object(d.difference)(n,K).length)&&M()},[a,s,N,n,K,M]),Object(i.useEffect)(()=>{if(a&&m&&null!==b){const e=n.filter(e=>!q(e));e.length&&F(e),h()}},[a,m,b,F,h,q,n]),Object(i.useEffect)(()=>{g&&!j.current&&(M(),j.current=!0)},[g,M]),Object(i.useEffect)(()=>{if(a&&!Object(d.isEmpty)(b))return Object(d.filter)(b,e=>Object(d.isEmpty)(e.updated_at)).length>0&&(v.current=setInterval(()=>{M()},1e4)),()=>{clearInterval(v.current)}},[a,b,M]);const B=a&&null===b;return n&&!Object(d.isEmpty)(n)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(I,null,Object(i.createElement)("table",{className:"yoast yoast-table"},Object(i.createElement)("thead",null,Object(i.createElement)("tr",null,Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Tracking","wordpress-seo")},Object(c.__)("Tracking","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Keyphrase","wordpress-seo")},Object(c.__)("Keyphrase","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position","wordpress-seo")},Object(c.__)("Position","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position over time","wordpress-seo")},Object(c.__)("Position over time","wordpress-seo")),Object(i.createElement)(S,{className:"yoast-table--nobreak"}))),Object(i.createElement)("tbody",null,n.map((e,t)=>Object(i.createElement)(E.b,{key:"trackable-keyphrase-"+t,keyphrase:e,onTrackKeyphrase:D,onUntrackKeyphrase:A,rowData:q(e),isFocusKeyphrase:e===y.trim().toLowerCase(),websiteId:f,isDisabled:!a,isLoading:B||k.indexOf(e.toLowerCase())>=0}))))),Object(i.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(i.createElement)(T,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(c.sprintf)(
290
  /* translators: %s expands to Wincher */
291
+ Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(_,null,Object(c.__)("* focus keyphrase","wordpress-seo"))))};P.propTypes={addTrackedKeyphrase:u.a.func.isRequired,isLoggedIn:u.a.bool,isNewlyAuthenticated:u.a.bool,keyphrases:u.a.array,newRequest:u.a.func.isRequired,removeTrackedKeyphrase:u.a.func.isRequired,setRequestFailed:u.a.func.isRequired,setKeyphraseLimitReached:u.a.func.isRequired,setRequestSucceeded:u.a.func.isRequired,setTrackedKeyphrases:u.a.func.isRequired,setHasTrackedAll:u.a.func.isRequired,trackAll:u.a.bool,trackedKeyphrases:u.a.object,websiteId:u.a.string,permalink:u.a.string.isRequired,focusKeyphrase:u.a.string},P.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var q=P,M=Object(s.compose)([Object(n.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:a,getWincherTrackableKeyphrases:n,getWincherLoginStatus:s,getWincherPermalink:r,getFocusKeyphrase:o,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:n(),trackedKeyphrases:a(),isLoggedIn:s(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:r()}}),Object(n.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:a,setWincherRequestFailed:n,setWincherSetKeyphraseLimitReached:s,setWincherTrackedKeyphrases:r,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{n(e)},setKeyphraseLimitReached:e=>{s(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{r(e)},setHasTrackedAll:()=>{i(!1)}}})])(q),F=a(111),A=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),D=()=>Object(i.createElement)(m.Alert,{type:"info"},Object(c.sprintf)(
292
  /* translators: %s: Expands to "Wincher". */
293
+ Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),N=a(101),K=a(102),B=()=>Object(i.createElement)(m.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"));const H=e=>{let{response:t,onLogin:a}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(K.a,{onReconnect:a}):Object(i.createElement)(O,null)};H.propTypes={response:u.a.object.isRequired,onLogin:u.a.func.isRequired};const W=e=>{let{isSuccess:t,response:a,allKeyphrasesMissRanking:n,onLogin:s,keyphraseLimitReached:r,limit:o}=e;return r?Object(i.createElement)(v,{limit:o}):Object(d.isEmpty)(a)||t?n?Object(i.createElement)(k,null):null:Object(i.createElement)(H,{response:a,onLogin:s})};W.propTypes={isSuccess:u.a.bool.isRequired,allKeyphrasesMissRanking:u.a.bool.isRequired,response:u.a.object,onLogin:u.a.func.isRequired,keyphraseLimitReached:u.a.bool.isRequired,limit:u.a.number.isRequired},W.defaultProps={response:{}};let $=null;const U=async e=>{if($&&!$.isClosed())return void $.focus();const{url:t}=await Object(R.b)();$=new N.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:a,setRequestSucceeded:n,setRequestFailed:s}=e;await Object(x.b)(()=>Object(R.a)(t),async e=>{a(!0,!0,t.websiteId.toString()),n(e);const s=$.getPopup();s&&s.close()},async e=>s(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),$.createPopup()},V=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(m.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)(
294
  /* translators: %s expands to Wincher */
295
  Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));V.propTypes={isLoggedIn:u.a.bool.isRequired,onLogin:u.a.func.isRequired};const z=h.a.div`
296
  p {
302
  font-weight: var(--yoast-font-weight-bold);
303
  color: var(--yoast-color-label);
304
  font-size: var(--yoast-font-size-default);
305
+ `,Z=e=>{const{isLoggedIn:t,keyphrases:a,shouldTrackAll:n,permalink:s}=e;return!s&&t?Object(i.createElement)(B,null):0===a.length?Object(i.createElement)(A,null):Object(i.createElement)(G,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&n&&Object(i.createElement)(D,null),Object(i.createElement)(M,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:a}=e,n=Object(i.useCallback)(()=>{U(e)},[U,e]);return Object(i.createElement)(z,null,t&&Object(i.createElement)(j,null),Object(i.createElement)(Y,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(m.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(F.a,null),Object(i.createElement)(V,{isLoggedIn:a,onLogin:n}),Object(i.createElement)(W,o()({},e,{onLogin:n})),Object(i.createElement)(Z,e))}Z.propTypes={keyphrases:u.a.array.isRequired,isLoggedIn:u.a.bool.isRequired,shouldTrackAll:u.a.bool.isRequired,permalink:u.a.string.isRequired},J.propTypes={isLoggedIn:u.a.bool,isNewlyAuthenticated:u.a.bool,keyphrases:u.a.array,response:u.a.object,shouldTrackAll:u.a.bool,permalink:u.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:a,getWincherLimit:n,getWincherLoginStatus:s,getWincherRequestIsSuccess:r,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:u}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:s(),isNewlyAuthenticated:t(),isSuccess:r(),keyphraseLimitReached:a(),limit:n(),response:o(),shouldTrackAll:u(),permalink:l()}}),Object(n.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:a,setWincherRequestFailed:n,setWincherLoginStatus:s}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{n(e)},onAuthentication:(e,a,n)=>{t(n),s(e,a)}}})])(J)},,,function(e,t,a){"use strict";a.r(t),a.d(t,"updateScore",(function(){return o})),a.d(t,"createScoresInPublishBox",(function(){return i})),a.d(t,"scrollToCollapsible",(function(){return c})),a.d(t,"initialize",(function(){return l}));var n=a(4),s=jQuery;function r(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return null!==a?Object(n.get)(a,t,""):Object(n.get)(wpseoScriptData,`metabox.publish_box.labels.${e}.${t}`,"")}function o(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;var n=s("#"+e+"-score"),o="image yoast-logo svg "+t;n.children(".image").attr("class",o);var i=r(e,t,a);n.children(".score-text").html(i)}function i(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;var n=s("<div />",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),o=s("<span />",{class:"score-text",html:r(e,t,a)}),i=s("<span>").attr("class","image yoast-logo svg na");n.append(i).append(o),s("#yoast-seo-publishbox-section").append(n)}function c(e){const t=s("#wpadminbar"),a=s(e);if(!t||!a)return;const n="fixed"===t.css("position")?t.height():0;s([document.documentElement,document.body]).animate({scrollTop:a.offset().top-n},1e3),a.trigger("focus"),0===a.parent().siblings().length&&a.trigger("click")}function l(){wpseoScriptData.metabox.keywordAnalysisActive&&i("keyword","na"),wpseoScriptData.metabox.contentAnalysisActive&&i("content","na"),s("#content-score").on("click","[href='#yoast-readability-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-readability").click(),c("#wpseo-meta-section-readability")})),s("#keyword-score").on("click","[href='#yoast-seo-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-content").click(),c("#yoast-seo-analysis-collapsible-metabox")}))}String.prototype.ucfirst=function(){return this.charAt(0).toUpperCase()+this.substr(1)}},,,,,,,,,function(e,t){e.exports=window.wp.sanitize},function(e,t,a){"use strict";var n=a(14),s=a(6);const r=Object(n.compose)([Object(s.withSelect)((e,t)=>{const{isAlertDismissed:a}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:a(t.alertKey)}}),Object(s.withDispatch)((e,t)=>{const{dismissAlert:a}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>a(t.alertKey)}})]);t.a=r},,function(e,t,a){"use strict";var n=a(6),s=a(14),r=a(0),o=a(2),i=a(1),c=a.n(i),l=a(4),u=a(7),d=()=>Object(r.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(o.sprintf)(
306
  /* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
307
  Object(o.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(r.createElement)(u.SvgIcon,{icon:"loading-spinner"})),p=a(9);const h=Object(p.makeOutboundLink)();var m=()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",null,Object(o.sprintf)(
308
  /* translators: %s : Expands to "Semrush". */
309
  Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(r.createElement)(h,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
310
  /* translators: %s : Expands to "Semrush". */
311
+ Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(r.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),b=a(26),g=a.n(b),f=a(41);const y="yoast-semrush-country-selector",w=[{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"}];class v extends r.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:a}=this.props;a(t,e),this.storeCountryCode(t);const n=await this.doRequest(e,t);200!==n.status?this.handleFailedResponse(n):this.handleSuccessResponse(n)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:a}=this.props;0!==e.results.rows.length?a(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:a}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():a(e))}async doRequest(e,t){return await g()({path:Object(f.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return Object(r.createElement)("div",{id:y},Object(r.createElement)(u.SingleSelect,{id:y+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:w,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(r.createElement)(u.NewButton,{id:y+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}v.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},v.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var O=v,j=a(69),k=a(60);const E=Object(p.makeOutboundLink)();class R extends r.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map((e,t)=>({x:t,y:parseFloat(e)}))}getAreaChartDataTableHeaderLabels(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:a,data:n,renderAction:s}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(a);return n&&!Object(l.isEmpty)(n.results)&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("table",{className:"yoast yoast-table"},Object(r.createElement)("thead",null,Object(r.createElement)("tr",null,Object(r.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(r.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(r.createElement)(k.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(r.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(r.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(r.createElement)(k.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(r.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),s&&Object(r.createElement)("td",{className:"yoast-table--nobreak"}))),Object(r.createElement)("tbody",null,n.results.rows.map((e,a)=>{const n=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(r.createElement)("tr",{key:a},Object(r.createElement)("td",null,n),Object(r.createElement)("td",null,e[1]),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(j.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),s&&Object(r.createElement)("td",{className:"yoast-table--nobreak"},s(n,t)))}))),Object(r.createElement)("p",{style:{marginBottom:0}},Object(r.createElement)(E,{href:i},Object(o.sprintf)(
312
  /* translators: %s expands to Semrush */
313
+ Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}R.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},R.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var x=R;const T=Object(p.makeOutboundLink)();var _=()=>Object(r.createElement)(u.Alert,{type:"info"},Object(o.sprintf)(
314
  /* translators: %s: Expands to "Yoast SEO". */
315
+ Object(o.__)("Would you like to be able to add these related keyphrases to the %s analysis so you can optimize your content even further?","wordpress-seo"),"Yoast SEO")+" ",Object(r.createElement)(T,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(o.sprintf)(
316
  /* translators: %s: Expands to "Yoast SEO Premium". */
317
+ Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),S=()=>Object(r.createElement)(u.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),I=()=>Object(r.createElement)(u.Alert,{type:"warning"},Object(o.sprintf)(
318
  /* translators: %s: Expands to "Yoast SEO". */
319
+ Object(o.__)("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")),C=a(17);function L(e){const{response:t,lastRequestKeyphrase:a,keyphrase:n,newRequest:s,setCountry:i,renderAction:c,countryCode:u,requestLimitReached:p,setRequestFailed:h,setNoResultsFound:b,relatedKeyphrases:g,setRequestSucceeded:f,setRequestLimitReached:y}=e,w=Object(C.a)().isPremium;return Object(r.createElement)(r.Fragment,null,!p&&Object(r.createElement)(r.Fragment,null,!w&&Object(r.createElement)(_,null),w&&function(e){return e&&e.length>=4}(g)&&Object(r.createElement)(I,null),Object(r.createElement)(O,{countryCode:u,setCountry:i,newRequest:s,keyphrase:n,setRequestFailed:h,setNoResultsFound:b,setRequestSucceeded:f,setRequestLimitReached:y,response:t,lastRequestKeyphrase:a})),function(e){const{isPending:t,requestLimitReached:a,isSuccess:n,response:s,requestHasData:i}=e;return t?Object(r.createElement)(d,null):a?Object(r.createElement)(m,null):!n&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(s)?Object(r.createElement)(S,null):i?void 0:Object(r.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(r.createElement)(x,{keyphrase:n,relatedKeyphrases:g,countryCode:u,renderAction:c,data:t}))}L.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},L.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:a,getSEMrushRequestLimitReached:n,getSEMrushRequestResponse:s,getSEMrushRequestIsSuccess:r,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:a(),requestLimitReached:n(),response:s(),isSuccess:r(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(n.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:a,setSEMrushRequestSucceeded:n,setSEMrushRequestFailed:s,setSEMrushSetRequestLimitReached:r,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{a(e,t)},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{s(e)},setRequestLimitReached:()=>{r()},setNoResultsFound:()=>{o()}}})])(L)},,,,,,,,,,function(e,t){e.exports=window.yoast.analysisReport},,,,,,,,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return m}));var n=a(0),s=a(1),r=a.n(s),o=a(11),i=a.n(o),c=a(7),l=a(9),u=a(40);const d=e=>{let{hiddenField:t,hiddenFieldImageId:a,hiddenFieldFallbackImageId:s,hasImageValidation:r,...o}=e;const[d,p]=Object(n.useState)(null!==document.getElementById(s)),h=Object(n.useMemo)(()=>document.getElementById(t)),m=Object(n.useMemo)(()=>document.getElementById(a));let b=null;b=s&&document.getElementById(s)?Object(n.useMemo)(()=>document.getElementById(s)):m;const[g,f]=Object(n.useState)({url:h?h.value:"",id:b?parseInt(b.value,10):"",alt:""}),[y,w]=Object(n.useState)([]),v=Object(n.useCallback)(e=>{h&&(h.value=e.url),b&&(b.value=e.id)}),O=Object(n.useCallback)(()=>Object(u.b)(e=>{b=m,f(e),v(e),r&&w(Object(l.validateFacebookImage)(e)),p(!1)}),[r,v]),j=Object(n.useCallback)(()=>{b=m;const e={url:"",id:"",alt:""};f(e),v(e),w([]),p(!0)},[v]);return Object(n.useEffect)(()=>{g.id&&!g.alt&&Object(u.a)(g.id).then(e=>f(e))},[g]),Object(n.createElement)(c.ImageSelect,i()({},o,{usingFallback:d,imageUrl:g.url,imageId:g.id,imageAltText:g.alt,onClick:O,onRemoveImageClick:j,warnings:y}))};d.propTypes={hiddenField:r.a.string.isRequired,hiddenFieldImageId:r.a.string,hiddenFieldFallbackImageId:r.a.string,hasImageValidation:r.a.bool},d.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",hasImageValidation:!1};var p=d,h=a(35);function m(e){let{target:t,label:a,hasPreview:s,hiddenField:r,hiddenFieldImageId:o,hiddenFieldFallbackImageId:i,selectImageButtonId:c,replaceImageButtonId:l,removeImageButtonId:u,hasNewBadge:d,isDisabled:m,hasPremiumBadge:b,hasImageValidation:g}=e;return Object(n.createElement)(h.a,{target:t},Object(n.createElement)(p,{label:a,hasPreview:s,hiddenField:r,hiddenFieldImageId:o,hiddenFieldFallbackImageId:i,selectImageButtonId:c,replaceImageButtonId:l,removeImageButtonId:u,hasNewBadge:d,isDisabled:m,hasPremiumBadge:b,hasImageValidation:g}))}m.propTypes={target:r.a.string.isRequired,label:r.a.string.isRequired,hasPreview:r.a.bool.isRequired,hiddenField:r.a.string.isRequired,hiddenFieldImageId:r.a.string,hiddenFieldFallbackImageId:r.a.string,selectImageButtonId:r.a.string,replaceImageButtonId:r.a.string,removeImageButtonId:r.a.string,hasNewBadge:r.a.bool,isDisabled:r.a.bool,hasPremiumBadge:r.a.bool,hasImageValidation:r.a.bool},m.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1}},,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var n=a(0),s=a(7),r=a(1),o=a.n(r),i=a(56),c=a(35);const l=e=>{let{target:t,scoreIndicator:a}=e;return Object(n.createElement)(c.a,{target:t},Object(n.createElement)(s.SvgIcon,Object(i.getIconForScore)(a)))};l.propTypes={target:o.a.string.isRequired,scoreIndicator:o.a.string.isRequired},t.a=l},function(e,t,a){"use strict";var n=a(6),s=a(14),r=a(0),o=a(2),i=a(1),c=a.n(i),l=a(137),u=a(12),d=a(56);class p extends r.Component{constructor(e){super(e);const t=this.props.results;this.state={mappedResults:{}},null!==t&&(this.state={mappedResults:Object(d.default)(t,this.props.keywordKey)}),this.handleMarkButtonClick=this.handleMarkButtonClick.bind(this),this.handleEditButtonClick=this.handleEditButtonClick.bind(this)}componentDidUpdate(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(d.default)(this.props.results,this.props.keywordKey)})}handleMarkButtonClick(e,t){const a=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;a===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(a),t())}focusOnKeyphraseField(e){const t=this.props.keywordKey,a=""===t?"focus-keyword-input-"+e:"yoast-keyword-input-"+t+"-"+e,n=document.getElementById(a);n.focus(),n.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}focusOnGooglePreviewField(e,t){let a;a="metaDescriptionKeyword"===e||"metaDescriptionLength"===e?"description":"titleWidth"===e||"keyphraseInSEOTitle"===e?"title":"slug";const n=document.getElementById("yoast-google-preview-"+a+"-"+t);n.focus(),n.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}handleEditButtonClick(e){let t=this.props.location;if("functionWordsInKeyphrase"!==e&&"keyphraseLength"!==e)if("sidebar"===t)t="modal",document.getElementById("yoast-google-preview-modal-open-button").click(),setTimeout(()=>this.focusOnGooglePreviewField(e,t),500);else{const a=document.getElementById("yoast-snippet-editor-metabox");a&&"false"===a.getAttribute("aria-expanded")?(a.click(),setTimeout(()=>this.focusOnGooglePreviewField(e,t),100)):this.focusOnGooglePreviewField(e,t)}else this.focusOnKeyphraseField(t)}removeMarkers(){window.YoastSEO.analysis.applyMarks(new u.Paper("",{}),[])}render(){const{mappedResults:e}=this.state,{errorsResults:t,improvementsResults:a,goodResults:n,considerationsResults:s,problemsResults:i}=e,{upsellResults:c,resultCategoryLabels:u}=this.props,d={errors:Object(o.__)("Errors","wordpress-seo"),problems:Object(o.__)("Problems","wordpress-seo"),improvements:Object(o.__)("Improvements","wordpress-seo"),considerations:Object(o.__)("Considerations","wordpress-seo"),goodResults:Object(o.__)("Good results","wordpress-seo")},p=Object.assign(d,u);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.ContentAnalysis,{errorsResults:t,problemsResults:i,upsellResults:c,improvementsResults:a,considerationsResults:s,goodResults:n,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,onEditButtonClick:this.handleEditButtonClick,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey,isPremium:this.props.isPremium,resultCategoryLabels:p}))}}p.propTypes={results:c.a.array,upsellResults:c.a.array,marksButtonClassName:c.a.string,editButtonClassName:c.a.string,marksButtonStatus:c.a.string,setActiveMarker:c.a.func.isRequired,setMarkerPauseStatus:c.a.func.isRequired,activeMarker:c.a.string,keywordKey:c.a.string,location:c.a.string,isPremium:c.a.bool,resultCategoryLabels:c.a.shape({errors:c.a.string,problems:c.a.string,improvements:c.a.string,considerations:c.a.string,goodResults:c.a.string})},p.defaultProps={results:null,upsellResults:[],marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:null,keywordKey:"",location:"",isPremium:!1,resultCategoryLabels:{}};var h=p;t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{getActiveMarker:t,getIsPremium:a}=e("yoast-seo/editor");return{activeMarker:t(),isPremium:a()}}),Object(n.withDispatch)(e=>{const{setActiveMarker:t,setMarkerPauseStatus:a}=e("yoast-seo/editor");return{setActiveMarker:t,setMarkerPauseStatus:a}})])(h)},,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t),a.d(t,"setTextdomainL10n",(function(){return r}));var n=a(2),s=a(4);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n";const a=Object(s.get)(window,[t,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===a?Object(n.setLocaleData)({"":{}},e):Object(n.setLocaleData)(a,e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var n={};a.r(n),a.d(n,"doAjaxRequest",(function(){return I}));var s=a(20),r=a(85),o=a(58),i=a(46),c=a(17),l=a(70),u=a(56),d=a(60),p=a(0),h=a(1),m=a.n(h),b=a(43),g=a(33),f=a(148),y=a(35),w=a(170),v=a(59),O=a(25),j=a(67),k=a(77),E=a(7),R=a(125),x=Object(R.a)(E.Alert),T=a(171),_=a(127),S=a(112);function I(e,t,a,n){return new Promise((s,r)=>{jQuery.ajax({type:e,url:t,beforeSend:a?e=>{e.setRequestHeader("X-WP-Nonce",a)}:null,data:n,dataType:"json",success:s,error:r})})}var C=a(105),L=a(86),P=a(186),q=a(81),M=a(61),F=a(92),A=a(115),D=a(98);window.yoast=window.yoast||{},window.yoast.editorModules={analysis:{getL10nObject:c.a,getContentLocale:o.a,getIndicatorForScore:i.a,constants:r,refreshAnalysis:l},components:{HelpLink:d.a,TopLevelProviders:j.a,higherorder:{withYoastSidebarPriority:e=>{const t=t=>{const{renderPriority:a,...n}=t;return Object(p.createElement)(e,n)};return t.propTypes={renderPriority:m.a.number},t}},contentAnalysis:{mapResults:u},contexts:{location:{LocationContext:s.LocationContext,LocationProvider:s.LocationProvider,LocationConsumer:s.LocationConsumer}},SidebarItem:O.a,SidebarCollapsible:v.a,MetaboxCollapsible:b.a,Modal:g.a,portals:{Portal:y.a,ImageSelectPortal:f.a,ScoreIconPortal:w.a}},containers:{EditorModal:k.a,PersistentDismissableAlert:x,Results:T.a,SEMrushRelatedKeyphrases:_.a,WincherSEOPerformance:S.a},helpers:{ajaxHelper:n,createInterpolateElement:L.a,createWatcher:C.b,isBlockEditor:q.a,i18n:P,replacementVariableHelpers:M,publishBox:{updateScore:A.updateScore,createScoresInPublishBox:A.createScoresInPublishBox,scrollToCollapsible:A.scrollToCollapsible},updateAdminBar:F.a,updateTrafficLight:D.a}}}]);
js/dist/elementor.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=261)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.helpers},,function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4);function r(){return Object(n.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.externals.redux},,function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return s}));var n=a(0);function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(n.createInterpolateElement)(e,{a:Object(n.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,a){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)&&n.length){var o=r.apply(null,n);o&&e.push(o)}else if("object"===s)for(var i in n)a.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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},r=i(a(3)),s=i(a(107)),o=i(a(110));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,a=e.components,i=e.throwErrors;if(c=t,!a)return t;if("object"!==(void 0===a?"undefined":n(a))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,a){var o,i,l,d,u,p,m,h,b=[],g={};for(p=0;p<t.length;p++)if("string"!==(u=t[p]).type){if(!a.hasOwnProperty(u.value)||void 0===a[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==n(a[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+c);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){o=a[u.value],l=p;break}b.push(a[u.value])}else b.push(u.value);return o&&(d=function(e,t){var a,n,r=t[e],s=0;for(n=e+1;n<t.length;n++)if((a=t[n]).value===r.value){if("componentOpen"===a.type){s++;continue}if("componentClose"===a.type){if(0===s)return n;s--}}throw new Error("Missing closing component token `"+r.value+"`")}(l,t),m=e(t.slice(l+1,d),a),i=r.default.cloneElement(o,{},m),b.push(i),d<t.length-1&&(h=e(t.slice(d+1),a),b=b.concat(h))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,s.default)(g))}(l,a)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,a){"use strict";var n=a(4),r={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},s=function(e,t,a){this.placeholder=e,this.replacement=t,this.options=Object(n.defaults)(a,r)};s.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},s.prototype.setSource=function(e){this.options.source=e},s.prototype.hasScope=function(){return!Object(n.isEmpty)(this.options.scope)},s.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},s.prototype.inScope=function(e){return!this.hasScope()||Object(n.indexOf)(this.options.scope,e)>-1},s.prototype.hasAlias=function(){return!Object(n.isEmpty)(this.options.aliases)},s.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},s.prototype.getAliases=function(){return this.options.aliases},t.a=s},,function(e,t,a){"use strict";var n=a(0),r=a(1),s=a.n(r);const o=e=>{let{children:t}=e;return Object(n.createElement)("div",null,t)};o.propTypes={renderPriority:s.a.number.isRequired,children:s.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o}));var n=a(26),r=a.n(n);async function s(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===n?t(r):a(r))}catch(e){console.error(e.message)}}async function o(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));const{get:n}=lodash,r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var n=a(11),r=a.n(n),s=a(0),o=a(1),i=a.n(o),c=a(13);const l="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:a,showYoastIcon:n,additionalClassName:o,...i}=e,l=n?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(c.Modal,r()({title:t,className:`${a} ${o}`,icon:l},i),e.children)};d.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},d.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return l}));var n=a(4),r=a(16);const s=e=>Object(n.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),o=()=>{const e=Object(r.a)();return 1===Object(n.get)(e,"wordproofIntegrationActive",0)},i=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},c=()=>{i("wordproof:open_authentication")},l=()=>{i("wordproof:open_settings")}},,,,function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var n=a(26),r=a.n(n),s=a(47);async function o(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===n?t(r):a(r))}catch(e){}}async function i(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await o(async()=>await Object(s.a)(),e=>e,()=>!1)},,function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return c})),a.d(t,"e",(function(){return l}));var n=a(4),r=a(27);async function s(){return await Object(r.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:a}=e;return await Object(r.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:a}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;return await Object(r.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:a})}async function c(e){return Object(n.isArray)(e)||(e=[e]),await Object(r.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(r.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},function(e,t,a){"use strict";a.d(t,"a",(function(){return ue})),a.d(t,"b",(function(){return pe})),a.d(t,"c",(function(){return me})),a.d(t,"d",(function(){return he}));var n=a(4),r=a(9),s=a(0),o=a(3),i=a.n(o),c=a(1),l=a.n(c),d=a(8),u=a.n(d);const p=u.a.p`
2
  color: #606770;
3
  flex-shrink: 0;
4
  font-size: 12px;
@@ -10,7 +10,7 @@
10
  white-space: nowrap;
11
  margin: 0;
12
  position: ${e=>"landscape"===e.mode?"relative":"static"};
13
- `,m=e=>{const{siteUrl:t}=e;return Object(s.createElement)(o.Fragment,null,Object(s.createElement)("span",{className:"screen-reader-text"},t),Object(s.createElement)(p,{"aria-hidden":"true"},Object(s.createElement)("span",null,t)))};m.propTypes={siteUrl:l.a.string.isRequired};var h=m,b=a(2),g=a(15);const f=u.a.img`
14
  && {
15
  max-width: ${e=>e.width}px;
16
  height: ${e=>e.height}px;
@@ -20,21 +20,21 @@
20
  transform: translate(-50%, -50%);
21
  max-width: none;
22
  }
23
- `,y=u.a.img`
24
  &&{
25
  height: 100%;
26
  position: absolute;
27
  width: 100%;
28
  object-fit: cover;
29
  }
30
- `,w=u.a.div`
31
  padding-bottom: ${e=>e.aspectRatio}%;
32
- `,O=e=>{const{imageProps:t,width:a,height:n,imageMode:r}=e;return"landscape"===r?Object(s.createElement)(w,{aspectRatio:t.aspectRatio},Object(s.createElement)(y,{src:t.src,alt:t.alt})):Object(s.createElement)(f,{src:t.src,alt:t.alt,width:a,height:n,imageProperties:t})};O.propTypes={imageProps:l.a.shape({src:l.a.string.isRequired,alt:l.a.string.isRequired,aspectRatio:l.a.number.isRequired}).isRequired,width:l.a.number.isRequired,height:l.a.number.isRequired,imageMode:l.a.string},O.defaultProps={imageMode:"landscape"};const j={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},E={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function v(e){const{largeThreshold:t}=E;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function _(e){return"Twitter"===e?j:E}function k(e){return new Promise((t,a)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=a,n.src=e})}function T(e,t,a){return"landscape"===a?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===a?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function x(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function S(e,t,a){return"square"===a&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:x(t,T(e,t,a))}async function R(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=await k(e);let r=a?"landscape":"square";"Facebook"===t&&(r=v(n));const s=_(t),o=S(s,n,r);return{mode:r,height:o.height,width:o.width}}async function C(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await R(e,t,a),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}const L=u.a.div`
33
  position: relative;
34
  ${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
35
  overflow: hidden;
36
  background-color: ${g.colors.$color_white};
37
- `,P=u.a.div`
38
  box-sizing: border-box;
39
  max-width: ${E.landscapeWidth}px;
40
  height: ${E.landscapeHeight}px;
@@ -51,7 +51,7 @@
51
  text-decoration: underline;
52
  font-size: 14px;
53
  cursor: pointer;
54
- `;class I extends o.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await C(this.props.src,this.socialMedi
1
+ !function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=262)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.helpers},,function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4);function r(){return Object(n.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return s}));var n=a(0);function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(n.createInterpolateElement)(e,{a:Object(n.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,a){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)&&n.length){var o=r.apply(null,n);o&&e.push(o)}else if("object"===s)for(var i in n)a.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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},r=i(a(3)),s=i(a(107)),o=i(a(110));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,a=e.components,i=e.throwErrors;if(c=t,!a)return t;if("object"!==(void 0===a?"undefined":n(a))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,a){var o,i,l,d,p,u,m,h,b=[],g={};for(u=0;u<t.length;u++)if("string"!==(p=t[u]).type){if(!a.hasOwnProperty(p.value)||void 0===a[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==n(a[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){o=a[p.value],l=u;break}b.push(a[p.value])}else b.push(p.value);return o&&(d=function(e,t){var a,n,r=t[e],s=0;for(n=e+1;n<t.length;n++)if((a=t[n]).value===r.value){if("componentOpen"===a.type){s++;continue}if("componentClose"===a.type){if(0===s)return n;s--}}throw new Error("Missing closing component token `"+r.value+"`")}(l,t),m=e(t.slice(l+1,d),a),i=r.default.cloneElement(o,{},m),b.push(i),d<t.length-1&&(h=e(t.slice(d+1),a),b=b.concat(h))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,s.default)(g))}(l,a)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,a){"use strict";var n=a(4),r={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},s=function(e,t,a){this.placeholder=e,this.replacement=t,this.options=Object(n.defaults)(a,r)};s.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},s.prototype.setSource=function(e){this.options.source=e},s.prototype.hasScope=function(){return!Object(n.isEmpty)(this.options.scope)},s.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},s.prototype.inScope=function(e){return!this.hasScope()||Object(n.indexOf)(this.options.scope,e)>-1},s.prototype.hasAlias=function(){return!Object(n.isEmpty)(this.options.aliases)},s.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},s.prototype.getAliases=function(){return this.options.aliases},t.a=s},,function(e,t,a){"use strict";var n=a(0),r=a(1),s=a.n(r);const o=e=>{let{children:t}=e;return Object(n.createElement)("div",null,t)};o.propTypes={renderPriority:s.a.number.isRequired,children:s.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o}));var n=a(26),r=a.n(n);async function s(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===n?t(r):a(r))}catch(e){console.error(e.message)}}async function o(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));const{get:n}=lodash,r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var n=a(11),r=a.n(n),s=a(0),o=a(1),i=a.n(o),c=a(13);const l="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:a,showYoastIcon:n,additionalClassName:o,...i}=e,l=n?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(c.Modal,r()({title:t,className:`${a} ${o}`,icon:l},i),e.children)};d.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},d.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return l}));var n=a(4),r=a(17);const s=e=>Object(n.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),o=()=>{const e=Object(r.a)();return 1===Object(n.get)(e,"wordproofIntegrationActive",0)},i=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},c=()=>{i("wordproof:open_authentication")},l=()=>{i("wordproof:open_settings")}},,,,function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var n=a(26),r=a.n(n),s=a(47);async function o(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===n?t(r):a(r))}catch(e){}}async function i(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await o(async()=>await Object(s.a)(),e=>e,()=>!1)},function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return c})),a.d(t,"e",(function(){return l}));var n=a(4),r=a(27);async function s(){return await Object(r.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(e){const{code:t,websiteId:a}=e;return await Object(r.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:a}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;return await Object(r.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:a})}async function c(e){return Object(n.isArray)(e)||(e=[e]),await Object(r.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(r.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},function(e,t,a){"use strict";a.d(t,"a",(function(){return pe})),a.d(t,"b",(function(){return ue})),a.d(t,"c",(function(){return me})),a.d(t,"d",(function(){return he}));var n=a(4),r=a(9),s=a(0),o=a(3),i=a.n(o),c=a(1),l=a.n(c),d=a(8),p=a.n(d);const u=p.a.p`
2
  color: #606770;
3
  flex-shrink: 0;
4
  font-size: 12px;
10
  white-space: nowrap;
11
  margin: 0;
12
  position: ${e=>"landscape"===e.mode?"relative":"static"};
13
+ `,m=e=>{const{siteUrl:t}=e;return Object(s.createElement)(o.Fragment,null,Object(s.createElement)("span",{className:"screen-reader-text"},t),Object(s.createElement)(u,{"aria-hidden":"true"},Object(s.createElement)("span",null,t)))};m.propTypes={siteUrl:l.a.string.isRequired};var h=m,b=a(2),g=a(15);const f=p.a.img`
14
  && {
15
  max-width: ${e=>e.width}px;
16
  height: ${e=>e.height}px;
20
  transform: translate(-50%, -50%);
21
  max-width: none;
22
  }
23
+ `,y=p.a.img`
24
  &&{
25
  height: 100%;
26
  position: absolute;
27
  width: 100%;
28
  object-fit: cover;
29
  }
30
+ `,w=p.a.div`
31
  padding-bottom: ${e=>e.aspectRatio}%;
32
+ `,O=e=>{const{imageProps:t,width:a,height:n,imageMode:r}=e;return"landscape"===r?Object(s.createElement)(w,{aspectRatio:t.aspectRatio},Object(s.createElement)(y,{src:t.src,alt:t.alt})):Object(s.createElement)(f,{src:t.src,alt:t.alt,width:a,height:n,imageProperties:t})};O.propTypes={imageProps:l.a.shape({src:l.a.string.isRequired,alt:l.a.string.isRequired,aspectRatio:l.a.number.isRequired}).isRequired,width:l.a.number.isRequired,height:l.a.number.isRequired,imageMode:l.a.string},O.defaultProps={imageMode:"landscape"};const j={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},E={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function v(e){const{largeThreshold:t}=E;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function _(e){return"Twitter"===e?j:E}function k(e){return new Promise((t,a)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=a,n.src=e})}function T(e,t,a){return"landscape"===a?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===a?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function x(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function S(e,t,a){return"square"===a&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:x(t,T(e,t,a))}async function R(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=await k(e);let r=a?"landscape":"square";"Facebook"===t&&(r=v(n));const s=_(t),o=S(s,n,r);return{mode:r,height:o.height,width:o.width}}async function C(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await R(e,t,a),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}const L=p.a.div`
33
  position: relative;
34
  ${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
35
  overflow: hidden;
36
  background-color: ${g.colors.$color_white};
37
+ `,P=p.a.div`
38
  box-sizing: border-box;
39
  max-width: ${E.landscapeWidth}px;
40
  height: ${E.landscapeHeight}px;
51
  text-decoration: underline;
52
  font-size: 14px;
53
  cursor: pointer;