Version Description
Release Date: September 21st, 2021
Yoast SEO 17.2 is out now! Yoast SEO comes with many powerful tools that will help you write SEO-proof and readable texts. And as of today, you can also work on your readability in the Farsi language. Readable content is awesome content! Read more about whats new in Yoast SEO 17.2 in our release post!
Enhancements:
- Completes the readability analysis for Farsi by adding the transition words, sentence beginnings and passive voice assessments, and by adjusting the sentence length assessment to make it more appropriate for the Farsi language.
- Improves keyword detection for Farsi by adding more categories to the list of function words. E.g., general adjectives and adverbs category, conjunctions, and articles.
- Cleans up indexables for posts with an
auto-draft
post-status, in order to speed-up your admin pages.
Bugfixes:
- Fixes a bug where indexables would be created for post auto-drafts when the SEO optimization is run.
Other:
- Loads our help beacon on the workouts page.
Download this release
Release Info
Developer | Yoast |
Plugin | Yoast SEO |
Version | 17.2 |
Comparing to | |
See all releases |
Code changes from version 17.1 to 17.2
- admin/class-expose-shortlinks.php +9 -0
- admin/class-gutenberg-compatibility.php +2 -2
- admin/class-premium-upsell-admin-block.php +1 -2
- admin/class-yoast-notification-center.php +23 -2
- admin/views/class-yoast-feature-toggles.php +1 -1
- admin/views/sidebar.php +2 -3
- css/dist/{admin-global-1710-rtl.css → admin-global-1720-rtl.css} +0 -0
- css/dist/{admin-global-1710.css → admin-global-1720.css} +0 -0
- css/dist/{adminbar-1710-rtl.css → adminbar-1720-rtl.css} +0 -0
- css/dist/{adminbar-1710.css → adminbar-1720.css} +0 -0
- css/dist/{alerts-1710-rtl.css → alerts-1720-rtl.css} +0 -0
- css/dist/{alerts-1710.css → alerts-1720.css} +0 -0
- css/dist/{dashboard-1710-rtl.css → dashboard-1720-rtl.css} +0 -0
- css/dist/{dashboard-1710.css → dashboard-1720.css} +0 -0
- css/dist/{edit-page-1710-rtl.css → edit-page-1720-rtl.css} +0 -0
- css/dist/{edit-page-1710.css → edit-page-1720.css} +0 -0
- css/dist/{elementor-1710-rtl.css → elementor-1720-rtl.css} +0 -0
- css/dist/{elementor-1710.css → elementor-1720.css} +0 -0
- css/dist/{featured-image-1710-rtl.css → featured-image-1720-rtl.css} +0 -0
- css/dist/{featured-image-1710.css → featured-image-1720.css} +0 -0
- css/dist/{filter-explanation-1710-rtl.css → filter-explanation-1720-rtl.css} +0 -0
- css/dist/{filter-explanation-1710.css → filter-explanation-1720.css} +0 -0
- css/dist/{icons-1710-rtl.css → icons-1720-rtl.css} +0 -0
- css/dist/{icons-1710.css → icons-1720.css} +0 -0
- css/dist/{inside-editor-1710-rtl.css → inside-editor-1720-rtl.css} +0 -0
- css/dist/{inside-editor-1710.css → inside-editor-1720.css} +0 -0
- css/dist/{metabox-1710-rtl.css → metabox-1720-rtl.css} +0 -0
- css/dist/{metabox-1710.css → metabox-1720.css} +0 -0
- css/dist/{metabox-primary-category-1710-rtl.css → metabox-primary-category-1720-rtl.css} +0 -0
- css/dist/{metabox-primary-category-1710.css → metabox-primary-category-1720.css} +0 -0
- css/dist/{modal-1710-rtl.css → modal-1720-rtl.css} +0 -0
- css/dist/{modal-1710.css → modal-1720.css} +0 -0
- css/dist/{monorepo-1710-rtl.css → monorepo-1720-rtl.css} +0 -0
- css/dist/{monorepo-1710.css → monorepo-1720.css} +0 -0
- css/dist/{notifications-1710-rtl.css → notifications-1720-rtl.css} +0 -0
- css/dist/{notifications-1710.css → notifications-1720.css} +0 -0
- css/dist/{schema-blocks-1710-rtl.css → schema-blocks-1720-rtl.css} +0 -0
- css/dist/{schema-blocks-1710.css → schema-blocks-1720.css} +0 -0
- css/dist/{score_icon-1710-rtl.css → score_icon-1720-rtl.css} +0 -0
- css/dist/{score_icon-1710.css → score_icon-1720.css} +0 -0
- css/dist/{search-appearance-1710-rtl.css → search-appearance-1720-rtl.css} +0 -0
- css/dist/{search-appearance-1710.css → search-appearance-1720.css} +0 -0
- css/dist/{structured-data-blocks-1710-rtl.css → structured-data-blocks-1720-rtl.css} +0 -0
- css/dist/{structured-data-blocks-1710.css → structured-data-blocks-1720.css} +0 -0
- css/dist/{toggle-switch-1710-rtl.css → toggle-switch-1720-rtl.css} +0 -0
- css/dist/{toggle-switch-1710.css → toggle-switch-1720.css} +0 -0
- css/dist/{workouts-1710-rtl.css → workouts-1720-rtl.css} +0 -0
- css/dist/{workouts-1710.css → workouts-1720.css} +0 -0
- css/dist/{wpseo-dismissible-1710-rtl.css → wpseo-dismissible-1720-rtl.css} +0 -0
- css/dist/{wpseo-dismissible-1710.css → wpseo-dismissible-1720.css} +0 -0
- css/dist/{yoast-components-1710-rtl.css → yoast-components-1720-rtl.css} +0 -0
- css/dist/{yoast-components-1710.css → yoast-components-1720.css} +0 -0
- css/dist/{yoast-extensions-1710-rtl.css → yoast-extensions-1720-rtl.css} +0 -0
- css/dist/{yoast-extensions-1710.css → yoast-extensions-1720.css} +0 -0
- css/dist/{yst_plugin_tools-1710-rtl.css → yst_plugin_tools-1720-rtl.css} +0 -0
- css/dist/{yst_plugin_tools-1710.css → yst_plugin_tools-1720.css} +0 -0
- css/dist/{yst_seo_score-1710-rtl.css → yst_seo_score-1720-rtl.css} +0 -0
- css/dist/{yst_seo_score-1710.css → yst_seo_score-1720.css} +0 -0
- inc/class-upgrade.php +7 -33
- inc/class-wpseo-shortlinker.php +9 -1
- js/dist/{addon-installation-1710.js → addon-installation-1720.js} +0 -0
- js/dist/{admin-global-1710.js → admin-global-1720.js} +0 -0
- js/dist/{analysis-worker-1710.js → analysis-worker-1720.js} +0 -0
- js/dist/{api-client-1710.js → api-client-1720.js} +0 -0
- js/dist/{block-editor-1710.js → block-editor-1720.js} +5 -5
- js/dist/{bulk-editor-1710.js → bulk-editor-1720.js} +0 -0
- js/dist/{classic-editor-1710.js → classic-editor-1720.js} +18 -18
- js/dist/{configuration-wizard-1710.js → configuration-wizard-1720.js} +0 -0
- js/dist/{dashboard-widget-1710.js → dashboard-widget-1720.js} +0 -0
- js/dist/{dynamic-blocks-1710.js → dynamic-blocks-1720.js} +0 -0
- js/dist/{edit-page-1710.js → edit-page-1720.js} +0 -0
- js/dist/{editor-modules-1710.js → editor-modules-1720.js} +0 -0
- js/dist/{elementor-1710.js → elementor-1720.js} +22 -22
- js/dist/externals/analysis-1710.js +0 -355
admin/class-expose-shortlinks.php
CHANGED
@@ -16,10 +16,19 @@ class WPSEO_Expose_Shortlinks implements WPSEO_WordPress_Integration {
|
|
16 |
* @var array
|
17 |
*/
|
18 |
private $shortlinks = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
'shortlinks.focus_keyword_info' => 'https://yoa.st/focus-keyword',
|
20 |
'shortlinks.nofollow_sponsored' => 'https://yoa.st/nofollow-sponsored',
|
21 |
'shortlinks.snippet_preview_info' => 'https://yoa.st/snippet-preview',
|
22 |
'shortlinks.cornerstone_content_info' => 'https://yoa.st/1i9',
|
|
|
23 |
'shortlinks.upsell.sidebar.focus_keyword_synonyms_link' => 'https://yoa.st/textlink-synonyms-popup-sidebar',
|
24 |
'shortlinks.upsell.sidebar.focus_keyword_synonyms_button' => 'https://yoa.st/keyword-synonyms-popup-sidebar',
|
25 |
'shortlinks.upsell.sidebar.focus_keyword_additional_link' => 'https://yoa.st/textlink-keywords-popup-sidebar',
|
16 |
* @var array
|
17 |
*/
|
18 |
private $shortlinks = [
|
19 |
+
'shortlinks.advanced.allow_search_engines' => 'https://yoa.st/allow-search-engines',
|
20 |
+
'shortlinks.advanced.follow_links' => 'https://yoa.st/follow-links',
|
21 |
+
'shortlinks.advanced.meta_robots' => 'https://yoa.st/meta-robots-advanced',
|
22 |
+
'shortlinks.advanced.breadcrumbs_title' => 'https://yoa.st/breadcrumbs-title',
|
23 |
+
'shortlinks.metabox.schema.explanation' => 'https://yoa.st/400',
|
24 |
+
'shortlinks.metabox.schema.page_type' => 'https://yoa.st/402',
|
25 |
+
'shortlinks.sidebar.schema.explanation' => 'https://yoa.st/401',
|
26 |
+
'shortlinks.sidebar.schema.page_type' => 'https://yoa.st/403',
|
27 |
'shortlinks.focus_keyword_info' => 'https://yoa.st/focus-keyword',
|
28 |
'shortlinks.nofollow_sponsored' => 'https://yoa.st/nofollow-sponsored',
|
29 |
'shortlinks.snippet_preview_info' => 'https://yoa.st/snippet-preview',
|
30 |
'shortlinks.cornerstone_content_info' => 'https://yoa.st/1i9',
|
31 |
+
'shortlinks.upsell.social_previews' => 'https://yoa.st/social-preview-cta',
|
32 |
'shortlinks.upsell.sidebar.focus_keyword_synonyms_link' => 'https://yoa.st/textlink-synonyms-popup-sidebar',
|
33 |
'shortlinks.upsell.sidebar.focus_keyword_synonyms_button' => 'https://yoa.st/keyword-synonyms-popup-sidebar',
|
34 |
'shortlinks.upsell.sidebar.focus_keyword_additional_link' => 'https://yoa.st/textlink-keywords-popup-sidebar',
|
admin/class-gutenberg-compatibility.php
CHANGED
@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
|
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
-
const CURRENT_RELEASE = '11.
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
-
const MINIMUM_SUPPORTED = '11.
|
26 |
|
27 |
/**
|
28 |
* Holds the current version.
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
+
const CURRENT_RELEASE = '11.5.0';
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
+
const MINIMUM_SUPPORTED = '11.5.0';
|
26 |
|
27 |
/**
|
28 |
* Holds the current version.
|
admin/class-premium-upsell-admin-block.php
CHANGED
@@ -48,8 +48,7 @@ class WPSEO_Premium_Upsell_Admin_Block {
|
|
48 |
* @return void
|
49 |
*/
|
50 |
public function render() {
|
51 |
-
$
|
52 |
-
$url = add_query_arg( [ 'screen' => $page ], WPSEO_Shortlinker::get( 'https://yoa.st/17h' ) );
|
53 |
|
54 |
$arguments = [
|
55 |
'<strong>' . esc_html__( 'Multiple keyphrases', 'wordpress-seo' ) . '</strong>: ' . esc_html__( 'Increase your SEO reach', 'wordpress-seo' ),
|
48 |
* @return void
|
49 |
*/
|
50 |
public function render() {
|
51 |
+
$url = WPSEO_Shortlinker::get( 'https://yoa.st/17h' );
|
|
|
52 |
|
53 |
$arguments = [
|
54 |
'<strong>' . esc_html__( 'Multiple keyphrases', 'wordpress-seo' ) . '</strong>: ' . esc_html__( 'Increase your SEO reach', 'wordpress-seo' ),
|
admin/class-yoast-notification-center.php
CHANGED
@@ -61,6 +61,13 @@ class Yoast_Notification_Center {
|
|
61 |
*/
|
62 |
private $notifications_retrieved = false;
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
/**
|
65 |
* Construct.
|
66 |
*/
|
@@ -321,6 +328,8 @@ class Yoast_Notification_Center {
|
|
321 |
|
322 |
// Add to list.
|
323 |
$this->notifications[ $user_id ][] = $notification;
|
|
|
|
|
324 |
}
|
325 |
|
326 |
/**
|
@@ -432,6 +441,8 @@ class Yoast_Notification_Center {
|
|
432 |
|
433 |
unset( $notifications[ $index ] );
|
434 |
$this->notifications[ $user_id ] = array_values( $notifications );
|
|
|
|
|
435 |
}
|
436 |
|
437 |
/**
|
@@ -450,6 +461,7 @@ class Yoast_Notification_Center {
|
|
450 |
}
|
451 |
|
452 |
$this->remove_notification( $notification, $resolve );
|
|
|
453 |
}
|
454 |
|
455 |
/**
|
@@ -582,7 +594,13 @@ class Yoast_Notification_Center {
|
|
582 |
*
|
583 |
* @api Yoast_Notification[] $notifications
|
584 |
*/
|
585 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
586 |
|
587 |
$notifications = $this->split_on_user_id( $merged_notifications );
|
588 |
|
@@ -593,7 +611,10 @@ class Yoast_Notification_Center {
|
|
593 |
return;
|
594 |
}
|
595 |
|
596 |
-
|
|
|
|
|
|
|
597 |
}
|
598 |
|
599 |
/**
|
61 |
*/
|
62 |
private $notifications_retrieved = false;
|
63 |
|
64 |
+
/**
|
65 |
+
* Internal flag for whether notifications need to be updated in storage.
|
66 |
+
*
|
67 |
+
* @var bool
|
68 |
+
*/
|
69 |
+
private $notifications_need_storage = false;
|
70 |
+
|
71 |
/**
|
72 |
* Construct.
|
73 |
*/
|
328 |
|
329 |
// Add to list.
|
330 |
$this->notifications[ $user_id ][] = $notification;
|
331 |
+
|
332 |
+
$this->notifications_need_storage = true;
|
333 |
}
|
334 |
|
335 |
/**
|
441 |
|
442 |
unset( $notifications[ $index ] );
|
443 |
$this->notifications[ $user_id ] = array_values( $notifications );
|
444 |
+
|
445 |
+
$this->notifications_need_storage = true;
|
446 |
}
|
447 |
|
448 |
/**
|
461 |
}
|
462 |
|
463 |
$this->remove_notification( $notification, $resolve );
|
464 |
+
$this->notifications_need_storage = true;
|
465 |
}
|
466 |
|
467 |
/**
|
594 |
*
|
595 |
* @api Yoast_Notification[] $notifications
|
596 |
*/
|
597 |
+
$filtered_merged_notifications = apply_filters( 'yoast_notifications_before_storage', $merged_notifications );
|
598 |
+
|
599 |
+
// The notifications were filtered and therefore need to be stored.
|
600 |
+
if ( $merged_notifications !== $filtered_merged_notifications ) {
|
601 |
+
$merged_notifications = $filtered_merged_notifications;
|
602 |
+
$this->notifications_need_storage = true;
|
603 |
+
}
|
604 |
|
605 |
$notifications = $this->split_on_user_id( $merged_notifications );
|
606 |
|
611 |
return;
|
612 |
}
|
613 |
|
614 |
+
// Only store notifications if changes are made.
|
615 |
+
if ( $this->notifications_need_storage ) {
|
616 |
+
array_walk( $notifications, [ $this, 'store_notifications_for_user' ] );
|
617 |
+
}
|
618 |
}
|
619 |
|
620 |
/**
|
admin/views/class-yoast-feature-toggles.php
CHANGED
@@ -160,7 +160,7 @@ class Yoast_Feature_Toggles {
|
|
160 |
__( 'Allow us to track some data about your site to improve our plugin.', 'wordpress-seo' ),
|
161 |
'Yoast SEO'
|
162 |
),
|
163 |
-
'read_more_url' => 'https://yoa.st/usage-tracking',
|
164 |
'order' => 95,
|
165 |
],
|
166 |
(object) [
|
160 |
__( 'Allow us to track some data about your site to improve our plugin.', 'wordpress-seo' ),
|
161 |
'Yoast SEO'
|
162 |
),
|
163 |
+
'read_more_url' => 'https://yoa.st/usage-tracking-2',
|
164 |
'order' => 95,
|
165 |
],
|
166 |
(object) [
|
admin/views/sidebar.php
CHANGED
@@ -7,7 +7,6 @@
|
|
7 |
|
8 |
$wpseo_plugin_dir_url = plugin_dir_url( WPSEO_FILE );
|
9 |
$new_tab_message = WPSEO_Admin_Utils::get_new_tab_message();
|
10 |
-
$wpseo_page = filter_input( INPUT_GET, 'page' );
|
11 |
?>
|
12 |
<div class="wpseo_content_cell" id="sidebar-container">
|
13 |
<div id="sidebar" class="yoast-sidebar">
|
@@ -40,7 +39,7 @@ $wpseo_page = filter_input( INPUT_GET, 'page' );
|
|
40 |
</ul>
|
41 |
|
42 |
<a id="wpseo-premium-button" class="yoast-button-upsell"
|
43 |
-
href="<?php
|
44 |
<?php
|
45 |
/* translators: %s expands to Yoast SEO Premium */
|
46 |
printf( esc_html__( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' );
|
@@ -58,7 +57,7 @@ $wpseo_page = filter_input( INPUT_GET, 'page' );
|
|
58 |
</h2>
|
59 |
<p>
|
60 |
<?php
|
61 |
-
$url =
|
62 |
|
63 |
/* translators: %1$s expands to Yoast SEO academy, which is a clickable link. */
|
64 |
printf( esc_html__( 'Want to learn SEO from Team Yoast? Check out our %1$s!', 'wordpress-seo' ), '<a href="' . esc_url( $url ) . '"><strong>Yoast SEO academy</strong></a>' );
|
7 |
|
8 |
$wpseo_plugin_dir_url = plugin_dir_url( WPSEO_FILE );
|
9 |
$new_tab_message = WPSEO_Admin_Utils::get_new_tab_message();
|
|
|
10 |
?>
|
11 |
<div class="wpseo_content_cell" id="sidebar-container">
|
12 |
<div id="sidebar" class="yoast-sidebar">
|
39 |
</ul>
|
40 |
|
41 |
<a id="wpseo-premium-button" class="yoast-button-upsell"
|
42 |
+
href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/jj' ); ?>" target="_blank">
|
43 |
<?php
|
44 |
/* translators: %s expands to Yoast SEO Premium */
|
45 |
printf( esc_html__( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' );
|
57 |
</h2>
|
58 |
<p>
|
59 |
<?php
|
60 |
+
$url = WPSEO_Shortlinker::get( 'https://yoa.st/3t6' );
|
61 |
|
62 |
/* translators: %1$s expands to Yoast SEO academy, which is a clickable link. */
|
63 |
printf( esc_html__( 'Want to learn SEO from Team Yoast? Check out our %1$s!', 'wordpress-seo' ), '<a href="' . esc_url( $url ) . '"><strong>Yoast SEO academy</strong></a>' );
|
css/dist/{admin-global-1710-rtl.css → admin-global-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{admin-global-1710.css → admin-global-1720.css}
RENAMED
File without changes
|
css/dist/{adminbar-1710-rtl.css → adminbar-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{adminbar-1710.css → adminbar-1720.css}
RENAMED
File without changes
|
css/dist/{alerts-1710-rtl.css → alerts-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{alerts-1710.css → alerts-1720.css}
RENAMED
File without changes
|
css/dist/{dashboard-1710-rtl.css → dashboard-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{dashboard-1710.css → dashboard-1720.css}
RENAMED
File without changes
|
css/dist/{edit-page-1710-rtl.css → edit-page-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{edit-page-1710.css → edit-page-1720.css}
RENAMED
File without changes
|
css/dist/{elementor-1710-rtl.css → elementor-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{elementor-1710.css → elementor-1720.css}
RENAMED
File without changes
|
css/dist/{featured-image-1710-rtl.css → featured-image-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{featured-image-1710.css → featured-image-1720.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1710-rtl.css → filter-explanation-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1710.css → filter-explanation-1720.css}
RENAMED
File without changes
|
css/dist/{icons-1710-rtl.css → icons-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{icons-1710.css → icons-1720.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1710-rtl.css → inside-editor-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1710.css → inside-editor-1720.css}
RENAMED
File without changes
|
css/dist/{metabox-1710-rtl.css → metabox-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-1710.css → metabox-1720.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1710-rtl.css → metabox-primary-category-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1710.css → metabox-primary-category-1720.css}
RENAMED
File without changes
|
css/dist/{modal-1710-rtl.css → modal-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{modal-1710.css → modal-1720.css}
RENAMED
File without changes
|
css/dist/{monorepo-1710-rtl.css → monorepo-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{monorepo-1710.css → monorepo-1720.css}
RENAMED
File without changes
|
css/dist/{notifications-1710-rtl.css → notifications-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{notifications-1710.css → notifications-1720.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1710-rtl.css → schema-blocks-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1710.css → schema-blocks-1720.css}
RENAMED
File without changes
|
css/dist/{score_icon-1710-rtl.css → score_icon-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{score_icon-1710.css → score_icon-1720.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1710-rtl.css → search-appearance-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1710.css → search-appearance-1720.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1710-rtl.css → structured-data-blocks-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1710.css → structured-data-blocks-1720.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1710-rtl.css → toggle-switch-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1710.css → toggle-switch-1720.css}
RENAMED
File without changes
|
css/dist/{workouts-1710-rtl.css → workouts-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{workouts-1710.css → workouts-1720.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1710-rtl.css → wpseo-dismissible-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1710.css → wpseo-dismissible-1720.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1710-rtl.css → yoast-components-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1710.css → yoast-components-1720.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1710-rtl.css → yoast-extensions-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1710.css → yoast-extensions-1720.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1710-rtl.css → yst_plugin_tools-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1710.css → yst_plugin_tools-1720.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1710-rtl.css → yst_seo_score-1720-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1710.css → yst_seo_score-1720.css}
RENAMED
File without changes
|
inc/class-upgrade.php
CHANGED
@@ -73,9 +73,8 @@ class WPSEO_Upgrade {
|
|
73 |
'15.9.1-RC0' => 'upgrade_1591',
|
74 |
'16.2-RC0' => 'upgrade_162',
|
75 |
'16.5-RC0' => 'upgrade_165',
|
76 |
-
'16.9-RC0' => 'upgrade_169',
|
77 |
-
'17.0-RC0' => 'upgrade_170',
|
78 |
'17.1-RC0' => 'upgrade_171',
|
|
|
79 |
];
|
80 |
|
81 |
array_walk( $routines, [ $this, 'run_upgrade_routine' ], $version );
|
@@ -833,41 +832,16 @@ class WPSEO_Upgrade {
|
|
833 |
}
|
834 |
|
835 |
/**
|
836 |
-
* Performs the
|
837 |
*
|
838 |
* @return void
|
839 |
*/
|
840 |
-
private function
|
841 |
-
|
842 |
-
|
843 |
|
844 |
-
if ( !
|
845 |
-
|
846 |
-
|
847 |
-
if ( ! wp_next_scheduled( 'wpseo_cleanup_indexables', $indexables_to_clean ) ) {
|
848 |
-
wp_schedule_event(
|
849 |
-
time(),
|
850 |
-
'hourly',
|
851 |
-
'wpseo_cleanup_indexables',
|
852 |
-
$indexables_to_clean
|
853 |
-
);
|
854 |
-
}
|
855 |
-
}
|
856 |
-
}
|
857 |
-
|
858 |
-
/**
|
859 |
-
* Performs the 17.0 upgrade. shop_order indexables were cleaned from the indexable table in 16.9, so we have to clean out the orphaned entries from the rest of the tables.
|
860 |
-
*
|
861 |
-
* @return void
|
862 |
-
*/
|
863 |
-
private function upgrade_170() {
|
864 |
-
// Sets a scheduled job to do the cleanup eventually and not in the upgrade process itself. When that cleanup is completed, the job will de-register itself.
|
865 |
-
if ( ! wp_next_scheduled( 'wpseo_cleanup_orphaned_indexables' ) ) {
|
866 |
-
wp_schedule_event(
|
867 |
-
time(),
|
868 |
-
'hourly',
|
869 |
-
'wpseo_cleanup_orphaned_indexables'
|
870 |
-
);
|
871 |
}
|
872 |
}
|
873 |
|
73 |
'15.9.1-RC0' => 'upgrade_1591',
|
74 |
'16.2-RC0' => 'upgrade_162',
|
75 |
'16.5-RC0' => 'upgrade_165',
|
|
|
|
|
76 |
'17.1-RC0' => 'upgrade_171',
|
77 |
+
'17.2-RC0' => 'upgrade_172',
|
78 |
];
|
79 |
|
80 |
array_walk( $routines, [ $this, 'run_upgrade_routine' ], $version );
|
832 |
}
|
833 |
|
834 |
/**
|
835 |
+
* Performs the 17.2 upgrade. Cleans out any unnecessary indexables. See $cleanup_integration->get_cleanup_tasks() to see what will be cleaned out.
|
836 |
*
|
837 |
* @return void
|
838 |
*/
|
839 |
+
private function upgrade_172() {
|
840 |
+
\wp_unschedule_hook( 'wpseo_cleanup_orphaned_indexables' );
|
841 |
+
\wp_unschedule_hook( 'wpseo_cleanup_indexables' );
|
842 |
|
843 |
+
if ( ! \wp_next_scheduled( \Yoast\WP\SEO\Integrations\Cleanup_Integration::START_HOOK ) ) {
|
844 |
+
\wp_schedule_single_event( ( time() + ( MINUTE_IN_SECONDS * 5 ) ), \Yoast\WP\SEO\Integrations\Cleanup_Integration::START_HOOK );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
845 |
}
|
846 |
}
|
847 |
|
inc/class-wpseo-shortlinker.php
CHANGED
@@ -16,7 +16,7 @@ class WPSEO_Shortlinker {
|
|
16 |
* @return array The shortlink data.
|
17 |
*/
|
18 |
protected function collect_additional_shortlink_data() {
|
19 |
-
|
20 |
'php_version' => $this->get_php_version(),
|
21 |
'platform' => 'wordpress',
|
22 |
'platform_version' => $this->get_platform_version(),
|
@@ -25,6 +25,13 @@ class WPSEO_Shortlinker {
|
|
25 |
'days_active' => $this->get_days_active(),
|
26 |
'user_language' => $this->get_user_language(),
|
27 |
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
|
30 |
/**
|
@@ -136,6 +143,7 @@ class WPSEO_Shortlinker {
|
|
136 |
default:
|
137 |
$cohort = '365plus';
|
138 |
}
|
|
|
139 |
return $cohort;
|
140 |
}
|
141 |
|
16 |
* @return array The shortlink data.
|
17 |
*/
|
18 |
protected function collect_additional_shortlink_data() {
|
19 |
+
$data = [
|
20 |
'php_version' => $this->get_php_version(),
|
21 |
'platform' => 'wordpress',
|
22 |
'platform_version' => $this->get_platform_version(),
|
25 |
'days_active' => $this->get_days_active(),
|
26 |
'user_language' => $this->get_user_language(),
|
27 |
];
|
28 |
+
|
29 |
+
$admin_page = filter_input( INPUT_GET, 'page' );
|
30 |
+
if ( ! empty( $admin_page ) ) {
|
31 |
+
$data['screen'] = $admin_page;
|
32 |
+
}
|
33 |
+
|
34 |
+
return $data;
|
35 |
}
|
36 |
|
37 |
/**
|
143 |
default:
|
144 |
$cohort = '365plus';
|
145 |
}
|
146 |
+
|
147 |
return $cohort;
|
148 |
}
|
149 |
|
js/dist/{addon-installation-1710.js → addon-installation-1720.js}
RENAMED
File without changes
|
js/dist/{admin-global-1710.js → admin-global-1720.js}
RENAMED
File without changes
|
js/dist/{analysis-worker-1710.js → analysis-worker-1720.js}
RENAMED
File without changes
|
js/dist/{api-client-1710.js → api-client-1720.js}
RENAMED
File without changes
|
js/dist/{block-editor-1710.js → block-editor-1720.js}
RENAMED
@@ -8,9 +8,9 @@ Object(o.sprintf)(Object(o.__)("Make sure to save your %s for changes to take ef
|
|
8 |
/* Translators: %s translates to the Post Label in singular form */
|
9 |
Object(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(u,{id:t+"-open-button",title:s,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};f.propTypes={id:s.a.string.isRequired,postTypeName:s.a.string.isRequired,children:s.a.oneOfType([s.a.node,s.a.arrayOf(s.a.node)]).isRequired,title:s.a.string.isRequired,isOpen:s.a.bool.isRequired,open:s.a.func.isRequired,close:s.a.func.isRequired},t.a=f},,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),o=n(6),a=n(1),i=n.n(a),s=n(35),c=n(36),l=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(o.SvgIcon,Object(s.getIconForScore)(n)))};l.propTypes={target:i.a.string.isRequired,scoreIndicator:i.a.string.isRequired},t.a=l},,function(e,t,n){"use strict";var r,o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=n(11),l=n.n(c),u=n(13),d=n.n(u),p=n(14),f=n.n(p),m=n(8),b=n.n(m),h=n(0),y=n(1),g=n.n(y),O=n(15),v=n.n(O),E=n(12),j=n.n(E),w=n(37),_=n.n(w),T=n(3),k=n(6),S=n(9),R=j()(k.Alert)(r||(r=v()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),P=Object(S.makeOutboundLink)(),A=function(e){var t=Object(T.sprintf)(
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
-
Object(T.__)("
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
-
Object(T.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(P,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};A.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=A,x=n(149),I=n(58);var D=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(C,{socialMediumName:a}),Object(h.createElement)(x.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:u,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),o}(h.Component);D.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},D.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=D},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=(n(179),n(66)),s=n(4);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",d=[],p={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},f={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=d.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),b())}function b(){Object(a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function h(){return Object(s.select)("core/block-editor")&&Object(a.isFunction)(Object(s.select)("core/block-editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(a.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=f[t]||p;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,o=t.attributes,s=o[r];if(e.filter&&!e.filter(o))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(a.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,a))>-1;)r.push(o),a=o+t.length;return r}(e,n);if(0===o.length)return[];var a=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return a.forEach((function(e){o.forEach((function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/block-editor").getBlocks();O(Object(a.flatMap)(n,(function(e){return Object(a.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),b()}}function E(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var o=r.marks;O(Object(a.flatMap)(y(e.name),(function(t){return g(t,e,o)}))),b()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),o||(o=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),l=n(12),u=n.n(l),d=n(6),p=n(9),f=u()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},,,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),l=n(2),u=n(6),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
@@ -60,15 +60,15 @@ Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["
|
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},S=function(e){return Object(l.sprintf)(
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
-
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},R=function(e){return Object(i.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};R.propTypes={helpTextTitle:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired};var P=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:d.a.string.isRequired,helpTextLink:d.a.string.isRequired};var A=function(e){var t,n=k(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=k(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),o=Object(_.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,o?Object(i.createElement)(P,e):Object(i.createElement)(R,e),o&&Object(i.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(i.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,v()({mixedString:S(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};A.propTypes={schemaPageTypeChange:d.a.func,schemaPageTypeSelected:d.a.string,pageTypeOptions:w.b.isRequired,schemaArticleTypeChange:d.a.func,schemaArticleTypeSelected:d.a.string,articleTypeOptions:w.b.isRequired,showArticleTypeInput:d.a.bool.isRequired,additionalHelpTextLink:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,defaultPageType:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,location:d.a.string.isRequired},A.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(A,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(A,e)};C.propTypes={showArticleTypeInput:d.a.bool,articleTypeLabel:d.a.string,additionalHelpTextLink:d.a.string,pageTypeLabel:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,isMetabox:d.a.bool.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,loadSchemaArticleData:d.a.func.isRequired,loadSchemaPageData:d.a.func.isRequired,location:d.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=C,I=n(33),D=n(57);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=function(e){var t=null!==I.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,o=n.articleTypeOptions,a={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:o},s=L(L(L({},e),a),"metabox"===e.location?{helpTextLink:"
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
67 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(a.Fragment,null,o&&Object(a.createElement)(s.Alert,{type:"warning"},Object(i.__)("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(a.createElement)(s.Select,{label:Object(i.sprintf)(
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
-
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
-
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,E=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:E},w={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},k={canonical:i,onCanonicalChange:d};return g?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,w),O.isPost&&Object(a.createElement)(m,_),!v&&Object(a.createElement)(b,T),Object(a.createElement)(h,k))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,d=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,f,m=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function g(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var u=h.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(a,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+l(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var b,h=m.call(t),y=0;!(b=h.next()).done;)d+=e(s=b.value,p+l(s,y++),r,a);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return d}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=h).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),o=n(6);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(o.Warning)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(27),i=n.n(a),s=n(0),c=n(19),l=n(4),u=n(3),d=n(147),p=n(28),f=n(112),m=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getFocusKeyphrase,a=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,d=t.getSnippetEditorPreviewImageUrl,p=t.getSnippetEditorWordsToHighlight,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:o(),mobileImageSrc:d(),mode:u(),recommendedReplacementVariables:a(),replacementVariables:f,shoppingData:s(),wordsToHighlight:p()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(o()({},e,t))}},onChangeAnalysisData:a}}))])((function(e){return Object(s.createElement)(p.LocationConsumer,null,(function(t){return Object(s.createElement)(f.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(d.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(148),c=n(20),l=n(57),u=n(90),d=function(e){Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,d=t.getSeoTitle,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,O=t.getSeoTitleTemplate,v=t.getSeoTitleTemplateNoFallback,E=t.getSocialTitleTemplate,j=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,_=t.getReplacedExcerpt,T=Object(a.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),k=Object(a.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
8 |
/* Translators: %s translates to the Post Label in singular form */
|
9 |
Object(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(u,{id:t+"-open-button",title:s,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};f.propTypes={id:s.a.string.isRequired,postTypeName:s.a.string.isRequired,children:s.a.oneOfType([s.a.node,s.a.arrayOf(s.a.node)]).isRequired,title:s.a.string.isRequired,isOpen:s.a.bool.isRequired,open:s.a.func.isRequired,close:s.a.func.isRequired},t.a=f},,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),o=n(6),a=n(1),i=n.n(a),s=n(35),c=n(36),l=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(o.SvgIcon,Object(s.getIconForScore)(n)))};l.propTypes={target:i.a.string.isRequired,scoreIndicator:i.a.string.isRequired},t.a=l},,function(e,t,n){"use strict";var r,o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=n(11),l=n.n(c),u=n(13),d=n.n(u),p=n(14),f=n.n(p),m=n(8),b=n.n(m),h=n(0),y=n(1),g=n.n(y),O=n(15),v=n.n(O),E=n(12),j=n.n(E),w=n(37),_=n.n(w),T=n(3),k=n(6),S=n(9),R=j()(k.Alert)(r||(r=v()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),P=Object(S.makeOutboundLink)(),A=function(e){var t=Object(T.sprintf)(
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
+
Object(T.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(T.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
+
Object(T.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(P,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(h.createElement)("p",null,n))))};A.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=A,x=n(149),I=n(58);var D=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(C,{socialMediumName:a}),Object(h.createElement)(x.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:u,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),o}(h.Component);D.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},D.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=D},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=(n(179),n(66)),s=n(4);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",d=[],p={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},f={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=d.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),b())}function b(){Object(a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function h(){return Object(s.select)("core/block-editor")&&Object(a.isFunction)(Object(s.select)("core/block-editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(a.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=f[t]||p;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,o=t.attributes,s=o[r];if(e.filter&&!e.filter(o))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(a.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,a))>-1;)r.push(o),a=o+t.length;return r}(e,n);if(0===o.length)return[];var a=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return a.forEach((function(e){o.forEach((function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/block-editor").getBlocks();O(Object(a.flatMap)(n,(function(e){return Object(a.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),b()}}function E(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var o=r.marks;O(Object(a.flatMap)(y(e.name),(function(t){return g(t,e,o)}))),b()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),o||(o=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),l=n(12),u=n.n(l),d=n(6),p=n(9),f=u()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},,,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),l=n(2),u=n(6),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},S=function(e){return Object(l.sprintf)(
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
+
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},R=function(e){return Object(i.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};R.propTypes={helpTextTitle:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired};var P=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:d.a.string.isRequired,helpTextLink:d.a.string.isRequired};var A=function(e){var t,n=k(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=k(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),o=Object(_.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,o?Object(i.createElement)(P,e):Object(i.createElement)(R,e),o&&Object(i.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(i.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,v()({mixedString:S(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};A.propTypes={schemaPageTypeChange:d.a.func,schemaPageTypeSelected:d.a.string,pageTypeOptions:w.b.isRequired,schemaArticleTypeChange:d.a.func,schemaArticleTypeSelected:d.a.string,articleTypeOptions:w.b.isRequired,showArticleTypeInput:d.a.bool.isRequired,additionalHelpTextLink:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,defaultPageType:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,location:d.a.string.isRequired},A.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(A,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(A,e)};C.propTypes={showArticleTypeInput:d.a.bool,articleTypeLabel:d.a.string,additionalHelpTextLink:d.a.string,pageTypeLabel:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,isMetabox:d.a.bool.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,loadSchemaArticleData:d.a.func.isRequired,loadSchemaPageData:d.a.func.isRequired,location:d.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=C,I=n(33),D=n(57);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=function(e){var t=null!==I.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,o=n.articleTypeOptions,a={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:o},s=L(L(L({},e),a),"metabox"===e.location?{helpTextLink: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});return Object(i.createElement)(x,s)};M.propTypes={displayFooter:d.a.bool.isRequired,schemaPageTypeSelected:d.a.string.isRequired,schemaArticleTypeSelected:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,defaultPageType:d.a.string.isRequired,loadSchemaPageData:d.a.func.isRequired,loadSchemaArticleData:d.a.func.isRequired,schemaPageTypeChange:d.a.func.isRequired,schemaArticleTypeChange:d.a.func.isRequired,location:d.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,o=t.getDefaultPageType,a=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:i(),defaultPageType:o()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(D.a)()])(M)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(0),i=n(3),s=n(6),c=n(9),l=n(1),u=n.n(l),d=n(28),p=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,o=e.isPrivateBlog,l=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
67 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(a.Fragment,null,o&&Object(a.createElement)(s.Alert,{type:"warning"},Object(i.__)("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(a.createElement)(s.Select,{label:Object(i.sprintf)(
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
+
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};p.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},p.defaultProps={isPrivateBlog:!1};var f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
+
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,E=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:E},w={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},k={canonical:i,onCanonicalChange:d};return g?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,w),O.isPost&&Object(a.createElement)(m,_),!v&&Object(a.createElement)(b,T),Object(a.createElement)(h,k))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,d=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,f,m=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function g(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var u=h.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(a,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+l(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var b,h=m.call(t),y=0;!(b=h.next()).done;)d+=e(s=b.value,p+l(s,y++),r,a);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return d}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=h).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),o=n(6);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(o.Warning)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(27),i=n.n(a),s=n(0),c=n(19),l=n(4),u=n(3),d=n(147),p=n(28),f=n(112),m=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getFocusKeyphrase,a=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,d=t.getSnippetEditorPreviewImageUrl,p=t.getSnippetEditorWordsToHighlight,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:o(),mobileImageSrc:d(),mode:u(),recommendedReplacementVariables:a(),replacementVariables:f,shoppingData:s(),wordsToHighlight:p()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(o()({},e,t))}},onChangeAnalysisData:a}}))])((function(e){return Object(s.createElement)(p.LocationConsumer,null,(function(t){return Object(s.createElement)(f.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(d.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(148),c=n(20),l=n(57),u=n(90),d=function(e){Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,d=t.getSeoTitle,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,O=t.getSeoTitleTemplate,v=t.getSeoTitleTemplateNoFallback,E=t.getSocialTitleTemplate,j=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,_=t.getReplacedExcerpt,T=Object(a.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),k=Object(a.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
js/dist/{bulk-editor-1710.js → bulk-editor-1720.js}
RENAMED
File without changes
|
js/dist/{classic-editor-1710.js → classic-editor-1720.js}
RENAMED
@@ -1,22 +1,22 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=354)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(70);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:a,mode:e}}function d(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:a,label:n}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return a})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var r=n(0),a=Object(r.createContext)("location"),o=a.Provider,s=a.Consumer},,function(e,t,n){var r=n(87),a=n(88),o=n(89);e.exports=function(e){return r(e)||a(e)||o()}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(23),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(16)),o=i(n(130)),s=i(n(133));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,m,f,b=[],h={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),m=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},m),b.push(i),u<t.length-1&&(f=e(t.slice(u+1),n),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,o.default)(h))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return h})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(2),o=n(93),s=n(123),i=n(45),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("disabled"))}function h(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(b(),p()&&tinyMCE.on("AddEditor",(function(){h()})))}function v(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],b);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,h),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(99),a=n(100),o=n(101);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),a=n.n(r),o=n(2),s=n(79),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.l)(a,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(i.l)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),a=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s}));var r="SET_SETTINGS",a="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},s=function(e){return{type:a,src:e}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="WPSEO_SET_MARKER_STATUS",a=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},,,function(e,t,n){"use strict";var r=n(39),a=n.n(r),o=n(0),s=n(6),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,a=n(27),o=n.n(a),s=n(15),i=n.n(s),c=n(0),l=n(6),u=n(12),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(24),i=n(9),c=n(12),l=n.n(c),u=Object(i.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=u},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),a=n.n(r),o=n(19),s=n(0),i=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(s.useContext)(i.LocationContext);return Object(s.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return T}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(10),c=n.n(i),l=n(5),u=n.n(l),p=n(7),d=n.n(p),m=n(11),f=n.n(m),b=n(13),h=n.n(b),y=n(14),g=n.n(y),v=n(8),O=n.n(v),j=n(0),w=n(1),E=n.n(w);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=i.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(f()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(_(_({},this.state),{},c()({},e,_(_({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=s()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),l}(j.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(15),s=n.n(o),i=n(12),c=n.n(i),l=n(6),u=n(9),p=c.a.div(r||(r=s()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(l.Icon)(a||(a=s()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,,,,,,,,function(e,t){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(1),v=n.n(g),O=n(95),j=n(23),w=n(35);var E=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function a(e){var t;s()(this,a);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(a,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),a}(y.Component);E.propTypes={results:v.a.array,marksButtonClassName:v.a.string,marksButtonStatus:v.a.string,setActiveMarker:v.a.func.isRequired,setMarkerPauseStatus:v.a.func.isRequired,activeMarker:v.a.string,keywordKey:v.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var k=E;t.a=Object(a.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(k)},,function(e,t){e.exports=window.yoast.featureFlag},,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(10),a=n.n(r),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(3),v=n(6),O=n(1),j=n.n(O),w=n(62);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
5 |
-
Object(g._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(y.createElement)(v.Select,{id:"schema-page-type-".concat(this.props.postType),name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(g.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(y.createElement)(v.Select,{id:"schema-article-type-".concat(this.props.postType),name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(g.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),o}(y.Component),
|
6 |
/* Translators: %s translates to the Post Label in singular form */
|
7 |
Object(a.sprintf)(Object(a.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:f},
|
8 |
/* Translators: %s translates to the Post Label in singular form */
|
9 |
-
Object(a.sprintf)(Object(a.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(u,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};m.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},t.a=m},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var r=n(23),a=n(2);function o(e,t,n){var o=e.dom,s=e.getContent();s=r.markers.removeMarks(s),Object(a.forEach)(n,(function(e){s=e.applyWithReplace(s)})),e.setContent(s),function(e){var t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);var i=o.select("yoastmark");Object(a.forEach)(i,(function(e){e.setAttribute("data-mce-bogus","1")}))}function s(e){return window.test=e,o.bind(null,e)}function i(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){s(e)(null,[])}},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),a=n(6),o=n(1),s=n.n(o),i=n(35),c=n(36),l=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(a.SvgIcon,Object(i.getIconForScore)(n)))};l.propTypes={target:s.a.string.isRequired,scoreIndicator:s.a.string.isRequired},t.a=l},,function(e,t,n){"use strict";var r,a=n(5),o=n.n(a),s=n(7),i=n.n(s),c=n(11),l=n.n(c),u=n(13),p=n.n(u),d=n(14),m=n.n(d),f=n(8),b=n.n(f),h=n(0),y=n(1),g=n.n(y),v=n(15),O=n.n(v),j=n(12),w=n.n(j),
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
-
Object(_.__)("
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
-
Object(_.__)("
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(9),m=Object(d.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
17 |
Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
|
18 |
/* translators: %s : Expands to "Semrush". */
|
19 |
-
Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},b=n(47),h=n.n(b),y=n(5),g=n.n(y),v=n(7),O=n.n(v),j=n(11),w=n.n(j),E=n(13),k=n.n(E),_=n(14),T=n.n(_),R=n(8),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(52);var N="yoast-semrush-country-selector",q=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],L=function(e){k()(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T()(this,e)});function c(e){var t;return g()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=h()(C.a.mark((function e(){var t,n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=h()(C.a.mark((function e(t,n){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:N},Object(o.createElement)(u.SingleSelect,{id:N+"-select",label:Object(s.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:q,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(u.NewButton,{id:N+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(s.__)("Select country","wordpress-seo")))}}]),c}(o.Component);L.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},L.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var D=L,M=n(30),F=n.n(M),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(s.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var K=B,U=function(e){var t=e.data,n=e.width,r=e.height,a=e.fillColor,s=e.strokeColor,i=e.strokeWidth,c=e.className,l=e.mapChartDataToTableData,u=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.y}))))),b=r-i,h=t.map((function(e){var t=e.x/m*n,r=b-e.y/f*b+i;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(b+i," ")+h+" ".concat(n,",").concat(b+i);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:a,points:y}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:h})),l&&Object(o.createElement)(K,{data:t,mapChartDataToTableData:l,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};U.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},U.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var H=U,Y=n(54);var V=Object(d.makeOutboundLink)(),z=function(e){k()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=S()(t);if(n){var a=S()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return T()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(l.isEmpty)(i.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(H,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(V,{href:u},Object(s.sprintf)(
|
20 |
/* translators: %s expands to Semrush */
|
21 |
Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);z.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},z.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var W=z,G=Object(d.makeOutboundLink)(),$=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(s.sprintf)(
|
22 |
/* translators: %s: Expands to "Yoast SEO". */
|
@@ -24,11 +24,11 @@ Object(s.__)("Would you like to be able to add these related keyphrases to the %
|
|
24 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
25 |
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Z=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(s.sprintf)(
|
26 |
/* translators: %s: Expands to "Yoast SEO". */
|
27 |
-
Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)($,null),v&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(D,{countryCode:u,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(f,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(Z,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(W,{keyphrase:r,relatedKeyphrases:h,countryCode:u,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(3),
|
28 |
/* translators: %s expands to Yoast SEO Premium */
|
29 |
-
Object(w.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(O.createElement)("div",null,Object(O.createElement)(
|
30 |
/* translators: %s expands to Premium */
|
31 |
-
Object(w.__)("Go %s!","wordpress-seo"),"Premium"),Object(O.createElement)(
|
32 |
/* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
|
33 |
Object(w.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=Y()({mixedString:t,components:{link:Object(O.createElement)(Z,{href:e.link})}}),r=["<strong>".concat(Object(w.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(w.sprintf)(
|
34 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
@@ -48,36 +48,36 @@ Object(w.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo")
|
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(w.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(O.createElement)($,{infoParagraphs:[r,a],benefits:n,upsellButtonText:Object(w.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
-
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(w.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:T.a.string.isRequired,buyLink:T.a.string.isRequired};var te,ne=ee,re=n(39),ae=n.n(re),oe=n(53),se=S.a.button(te||(te=v()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),ie={open:Object(w.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(w.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(O.useState)(!1),n=ae()(t,2),r=n[0],a=n[1],o=Object.assign({},ie,e.labels),s=Object(O.useCallback)((function(){return a(!1)}),[]),i=Object(O.useCallback)((function(){return a(!0)}),[]);return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(se,{type:"button",onClick:i,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(O.createElement)(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
55 |
-
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
-
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:E.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(O.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=K.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(O.createElement)(r,{prefixIcon:{icon:"plus",color:k.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:k.colors.$color_grey_medium_dark},title:Object(w.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(O.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(O.createElement)(F,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(O.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(w.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(O.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?K.a:pe.a;return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(r,{title:Object(w.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(O.createElement)(me,{location:n}),e.props.shouldUpsell&&Object(O.createElement)(O.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(O.createElement)(ge,null,Object(w.__)("Analysis results","wordpress-seo")),Object(O.createElement)(C.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),a}(O.Component);ve.propTypes={results:T.a.array,marksButtonStatus:T.a.string,keyword:T.a.string,shouldUpsell:T.a.bool,shouldUpsellWordFormRecognition:T.a.bool,overallScore:T.a.number},ve.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(j.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,a=n.getMarksButtonStatus,o=n.getResultsForKeyword,s=r();return ye(ye({},o(s)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":a(),keyword:s})}))(ve)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=n(2),c=function(){function e(){a()(this,e)}return s()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(i.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),l=function(){function e(){a()(this,e)}return s()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return s()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),l.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(i.defaults)(e,u),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(19),o=n(4),s=n(0),i=n(3),c=n(18),l=n(6),u=n(9),p=n(1),d=n.n(p),m=n(5),f=n.n(m),b=n(7),h=n.n(b),y=n(13),g=n.n(y),v=n(14),O=n.n(v),j=n(8),w=n.n(j),E=n(15),k=n.n(E),_=n(12);var T=n.n(_).a.div(r||(r=k()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),R=function(e){g()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=w()(t);if(n){var a=w()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return O()(this,e)});function a(){return f()(this,a),r.apply(this,arguments)}return h()(a,[{key:"render",value:function(){return Object(s.createElement)(T,null,Object(s.createElement)(l.Toggle,{id:this.props.id,labelText:Object(i.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),a}(s.Component);R.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},R.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var S=R,x=n(51),C=n(50),P=Object(u.makeOutboundLink)();function I(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,a=e.location,o="metabox"===a?x.a:C.a;return Object(s.createElement)(o,{id:Object(u.join)(["yoast-cornerstone-collapsible",a]),title:Object(i.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)(l.HelpText,null,Object(i.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(s.createElement)(P,{href:r},Object(i.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(s.createElement)(S,{id:Object(u.join)(["yoast-cornerstone",a]),isEnabled:t,onToggle:n}),Object(s.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}I.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},I.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var A=n(57);t.a=Object(a.compose)([Object(o.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(o.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(A.a)()])(I)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=n(11),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(15),h=n.n(b),y=n(0),g=n(18),v=n(19),O=n(4),j=n(3),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(22),R=n(47),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(6),N=n(68),q=n(53),L=n(111),D=n(92);var M=function(e){u()(l,e);var t,n,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f()(r);if(o){var n=f()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function l(e){var t;return a()(this,l),(t=i.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return s()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(D.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=S()(C.a.mark((function e(t){var n,r;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=S()(C.a.mark((function e(t){var n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,I()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(a=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(a.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,a=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(j.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(q.a,{title:Object(j.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(L.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(N.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(j.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);M.propTypes={keyphrase:E.a.string,location:E.a.string,whichModalOpen:E.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:E.a.bool,onOpen:E.a.func.isRequired,onOpenWithNoKeyphrase:E.a.func.isRequired,onClose:E.a.func.isRequired,onAuthentication:E.a.func.isRequired},M.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var F,B=M,K=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,a=t.setSEMrushDismissModal,o=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){a()},onAuthentication:function(e){o(e)}}}))])(B),U=n(28),H=n(54);var Y=_.a.div(F||(F=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),V=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return s()(o,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(j.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(j.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(j.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(U.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(T.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(j.__)("Focus keyphrase","wordpress-seo"),helpLink:o.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(K,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),o}(y.Component);V.propTypes={keyword:E.a.string,onFocusKeywordChange:E.a.func.isRequired,onFocusKeyword:E.a.func.isRequired,onBlurKeyword:E.a.func.isRequired,isSEMrushIntegrationActive:E.a.bool,displayNoKeyphraseMessage:E.a.bool},V.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(V)},function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(3),R=n(2),S=n(96),x=n(81),C=n(50),P=n(42),I=n(35),A=n(28),N=n(54),q=n(36);function L(e){var t=e.target,n=e.children;return Object(O.createElement)(q.a,{target:t},n)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}L.propTypes={target:E.a.string.isRequired,children:E.a.node.isRequired};var F=_.a.span(r||(r=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=_.a.div(a||(a=v()(["\n\tpadding: 16px;\n"]))),K=_()(N.a)(o||(o=v()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),U=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderResults",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(F,null,Object(T.__)("Analysis results","wordpress-seo"),Object(O.createElement)(K,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(O.createElement)("span",{className:"screen-reader-text"},Object(T.__)("Learn more about the readability analysis","wordpress-seo")))),Object(O.createElement)(x.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(O.createElement)(A.LocationConsumer,null,(function(n){return"sidebar"===n?Object(O.createElement)(C.a,{title:Object(T.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(I.getIconForScore)(t.className),prefixIconCollapsed:Object(I.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(O.createElement)(L,{target:"wpseo-metabox-readability-root"},Object(O.createElement)(B,null,Object(O.createElement)(S.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),a}(O.Component);U.propTypes={results:E.a.array.isRequired,marksButtonStatus:E.a.string.isRequired,overallScore:E.a.number},U.defaultProps={overallScore:null},t.a=Object(j.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return M(M({},n()),{},{marksButtonStatus:r()})}))(U)},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),s=n(0),i=n(19),c=n(4),l=n(3),u=n(1),p=n.n(u),d=n(30),m=n.n(d),f=n(15),b=n.n(f),h=n(6),y=n(18),g=n(9),v=n(37),O=n.n(v),j=n(12),w=n.n(j),E=n(85),k=n(83),_=w.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),T=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(m()(e))},R=function(e){return Object(l.sprintf)(
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
-
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},S=function(e){return Object(s.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};S.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var x=function(e){return Object(s.createElement)("p",null,e.helpTextDescription+" ",Object(s.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};x.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var C=function(e){var t,n=T(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=T(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
67 |
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(o.Fragment,null,a&&Object(o.createElement)(i.Alert,{type:"warning"},Object(s.__)("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(o.createElement)(i.Select,{label:Object(s.sprintf)(
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
-
Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
-
Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(s.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};m.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var f=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(s.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};f.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,s=e.canonical,i=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:i,editorContext:v,isPrivateBlog:j},E={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},k={advanced:r,onAdvancedChange:l},_={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},T={canonical:s,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),v.isPost&&Object(o.createElement)(m,E),v.isPost&&Object(o.createElement)(f,k),!O&&Object(o.createElement)(b,_),Object(o.createElement)(h,T))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,s=t.getCanonical,i=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(94),s=n(131),i=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function g(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=h.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(i=t[m],d+l(i,m),r,o);else{var f=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var b,h=f.call(t),y=0;!(b=h.next()).done;)p+=e(i=b.value,d+l(i,y++),r,o);else if("object"===u){var g=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=h).instancePool=[],m.getPooled=d||f,m.poolSize||(m.poolSize=10),m.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,s,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),a=n(6);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(10),a=n.n(r),o=n(27),s=n.n(o),i=n(0),c=n(19),l=n(4),u=n(3),p=n(147),d=n(28),m=n(112),f=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(f.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,s=t.getReplaceVars,i=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,m=s();return m.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:m,shoppingData:i(),wordsToHighlight:d()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,s=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),s&&s.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(i.createElement)(d.LocationConsumer,null,(function(t){return Object(i.createElement)(m.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(i.createElement)(p.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(148),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,s=t.getFacebookImageUrl,i=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,p=t.getSeoTitle,d=t.getTwitterWarnings,m=t.getTwitterImageType,f=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,v=t.getSeoTitleTemplate,O=t.getSeoTitleTemplateNoFallback,j=t.getSocialTitleTemplate,w=t.getSeoDescriptionTemplate,E=t.getSocialDescriptionTemplate,k=t.getReplacedExcerpt,_=Object(o.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),T=Object(o.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:a(),imageFallbackUrl:s()||f(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),w=Object(o.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:l(),recommendedReplacementVariables:p(),replacementVariables:d(),description:n(),descriptionPreviewFallback:v()||r()||g()||O()||w,title:a(),titlePreviewFallback:y()||s()||h()||b()||j,imageWarnings:u(),authorName:f(),siteUrl:m(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:j,descriptionInputPlaceholder:w,socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),s=n(18),i=n(120),c=n(103);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(s.Slot,{name:"YoastMetabox"},(function(e){return Object(i.a)(e)})))}var u=n(4),p=n(3),d=n(124),m=n(161),f=n(160),b=n(125),h=n(126),y=n(122),g=n(51),v=n(32),O=n(128),j=n(163),w=n(162),
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(j.a,null)),n&&Object(r.createElement)(g.a
|
83 |
-
/* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=354)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(70);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:a,mode:e}}function d(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:a,label:n}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return a})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var r=n(0),a=Object(r.createContext)("location"),o=a.Provider,s=a.Consumer},,function(e,t,n){var r=n(87),a=n(88),o=n(89);e.exports=function(e){return r(e)||a(e)||o()}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(23),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(16)),o=i(n(130)),s=i(n(133));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,m,f,b=[],h={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),m=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},m),b.push(i),u<t.length-1&&(f=e(t.slice(u+1),n),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,o.default)(h))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return h})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(2),o=n(93),s=n(123),i=n(45),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("disabled"))}function h(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(b(),p()&&tinyMCE.on("AddEditor",(function(){h()})))}function v(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],b);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,h),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(99),a=n(100),o=n(101);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return k}));var r=n(10),a=n.n(r),o=n(2),s=n(79),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.l)(a,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(i.l)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var k=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),a=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s}));var r="SET_SETTINGS",a="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},s=function(e){return{type:a,src:e}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="WPSEO_SET_MARKER_STATUS",a=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},,,function(e,t,n){"use strict";var r=n(39),a=n.n(r),o=n(0),s=n(6),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,a=n(27),o=n.n(a),s=n(15),i=n.n(s),c=n(0),l=n(6),u=n(12),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(24),i=n(9),c=n(12),l=n.n(c),u=Object(i.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=u},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),a=n.n(r),o=n(19),s=n(0),i=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(s.useContext)(i.LocationContext);return Object(s.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return T}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(10),c=n.n(i),l=n(5),u=n.n(l),p=n(7),d=n.n(p),m=n(11),f=n.n(m),b=n(13),h=n.n(b),y=n(14),g=n.n(y),v=n(8),O=n.n(v),j=n(0),w=n(1),k=n.n(w);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=k.a.shape({value:k.a.string.isRequired,onChange:k.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=i.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(f()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(_(_({},this.state),{},c()({},e,_(_({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=s()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:k.a.node}}}]),l}(j.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(15),s=n.n(o),i=n(12),c=n.n(i),l=n(6),u=n(9),p=c.a.div(r||(r=s()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(l.Icon)(a||(a=s()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,,,,,,,,function(e,t){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(1),v=n.n(g),O=n(95),j=n(23),w=n(35);var k=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function a(e){var t;s()(this,a);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(a,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),a}(y.Component);k.propTypes={results:v.a.array,marksButtonClassName:v.a.string,marksButtonStatus:v.a.string,setActiveMarker:v.a.func.isRequired,setMarkerPauseStatus:v.a.func.isRequired,activeMarker:v.a.string,keywordKey:v.a.string},k.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var E=k;t.a=Object(a.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(E)},,function(e,t){e.exports=window.yoast.featureFlag},,function(e,t,n){"use strict";n.d(t,"b",(function(){return E}));var r=n(10),a=n.n(r),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(3),v=n(6),O=n(1),j=n.n(O),w=n(62);var k=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
5 |
+
Object(g._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(y.createElement)(v.Select,{id:"schema-page-type-".concat(this.props.postType),name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(g.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(y.createElement)(v.Select,{id:"schema-article-type-".concat(this.props.postType),name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(g.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),o}(y.Component),E=j.a.arrayOf(j.a.shape({name:j.a.string,value:j.a.string}));k.propTypes={postType:j.a.string.isRequired,postTypeName:j.a.string.isRequired,pageType:w.b.isRequired,articleType:w.b,pageTypeOptions:E.isRequired,articleTypeOptions:E.isRequired},k.defaultProps={articleType:null},t.a=Object(w.a)((function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]}))(k)},,function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){"use strict";function r(e){return function(e){var t=null;return(t=window.wp.media()).on("select",(function(){var n=t.state().get("selection").first(),r={type:n.attributes.subtype,width:n.attributes.width,height:n.attributes.height,url:n.attributes.url,id:n.attributes.id};e(r)})),t}(e).open()}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(0),a=n(3),o=n(53),s=n(1),i=n.n(s),c=n(6),l=function(e){return 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"},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.suffixIcon&&Object(r.createElement)(c.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))},u=l;l.propTypes={onClick:i.a.func.isRequired,title:i.a.string.isRequired,id:i.a.string,subTitle:i.a.string,suffixIcon:i.a.object},l.defaultProps={id:"",suffixIcon:null,subTitle:""};var p=n(28),d=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},m=function(e){var t=e.id,n=e.postTypeName,s=e.children,i=e.title,c=e.isOpen,l=e.close,m=e.open,f=Object(r.useCallback)((function(e){d(e)&&l()}),[l]);return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(p.LocationProvider,{value:"modal"},Object(r.createElement)(o.a,{title:i,onRequestClose:f,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},Object(r.createElement)("div",{className:"yoast-content-container"},Object(r.createElement)("div",{className:"yoast-modal-content"},s)),Object(r.createElement)("div",{className:"yoast-notice-container"},Object(r.createElement)("hr",null),Object(r.createElement)("div",{className:"yoast-button-container"},Object(r.createElement)("p",null,
|
6 |
/* Translators: %s translates to the Post Label in singular form */
|
7 |
Object(a.sprintf)(Object(a.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:f},
|
8 |
/* Translators: %s translates to the Post Label in singular form */
|
9 |
+
Object(a.sprintf)(Object(a.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(u,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};m.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},t.a=m},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var r=n(23),a=n(2);function o(e,t,n){var o=e.dom,s=e.getContent();s=r.markers.removeMarks(s),Object(a.forEach)(n,(function(e){s=e.applyWithReplace(s)})),e.setContent(s),function(e){var t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);var i=o.select("yoastmark");Object(a.forEach)(i,(function(e){e.setAttribute("data-mce-bogus","1")}))}function s(e){return window.test=e,o.bind(null,e)}function i(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){s(e)(null,[])}},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),a=n(6),o=n(1),s=n.n(o),i=n(35),c=n(36),l=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(a.SvgIcon,Object(i.getIconForScore)(n)))};l.propTypes={target:s.a.string.isRequired,scoreIndicator:s.a.string.isRequired},t.a=l},,function(e,t,n){"use strict";var r,a=n(5),o=n.n(a),s=n(7),i=n.n(s),c=n(11),l=n.n(c),u=n(13),p=n.n(u),d=n(14),m=n.n(d),f=n(8),b=n.n(f),h=n(0),y=n(1),g=n.n(y),v=n(15),O=n.n(v),j=n(12),w=n.n(j),k=n(37),E=n.n(k),_=n(3),T=n(6),R=n(9),S=w()(T.Alert)(r||(r=O()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),x=Object(R.makeOutboundLink)(),C=function(e){var t=Object(_.sprintf)(
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
+
Object(_.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(_.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
+
Object(_.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(S,{type:"info"},E()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(x,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(h.createElement)("p",null,n))))};C.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var P=C,I=n(149),A=n(58);var L=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var a=b()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return i()(a,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,a=e.onRemoveImageClick,o=e.socialMediumName,s=e.imageWarnings,i=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,m=e.recommendedReplacementVariables,f=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(P,{socialMediumName:o}),Object(h.createElement)(I.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:u,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:i,descriptionInputPlaceholder:c,imageWarnings:s,replacementVariables:d,recommendedReplacementVariables:m,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:f,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),a}(h.Component);L.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:A.replacementVariablesShape,recommendedReplacementVariables:A.recommendedReplacementVariablesShape,location:g.a.string},L.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=L},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(_n=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==s.return||s.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=n(12),i=n(28),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(i.LocationProvider,{value:n},Object(r.createElement)(s.ThemeProvider,{theme:t},a))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r,a,o=n(16);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=o.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=o.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(0),i=n(1),c=n.n(i),l=n(12),u=n.n(l),p=n(6),d=n(9),m=u()(p.StyledSection)(r||(r=o()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),p.StyledSectionBase,p.StyledHeading,Object(d.getDirectionalStyle)("padding-left","padding-right"),Object(d.getDirectionalStyle)("0","20px")),f=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle,o=e.shoppingData;return Object(s.createElement)(m,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},t)};f.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},f.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=f},,,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(0),s=n(3),i=n(1),c=n.n(i),l=n(2),u=n(6),p=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(s.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(9),m=Object(d.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
17 |
Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
|
18 |
/* translators: %s : Expands to "Semrush". */
|
19 |
+
Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},b=n(47),h=n.n(b),y=n(5),g=n.n(y),v=n(7),O=n.n(v),j=n(11),w=n.n(j),k=n(13),E=n.n(k),_=n(14),T=n.n(_),R=n(8),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(52);var L="yoast-semrush-country-selector",N=[{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"}],q=function(e){E()(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T()(this,e)});function c(e){var t;return g()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=h()(C.a.mark((function e(){var t,n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=h()(C.a.mark((function e(t,n){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:L},Object(o.createElement)(u.SingleSelect,{id:L+"-select",label:Object(s.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:N,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(u.NewButton,{id:L+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(s.__)("Select country","wordpress-seo")))}}]),c}(o.Component);q.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},q.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var D=q,M=n(30),F=n.n(M),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(s.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var K=B,U=function(e){var t=e.data,n=e.width,r=e.height,a=e.fillColor,s=e.strokeColor,i=e.strokeWidth,c=e.className,l=e.mapChartDataToTableData,u=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.y}))))),b=r-i,h=t.map((function(e){var t=e.x/m*n,r=b-e.y/f*b+i;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(b+i," ")+h+" ".concat(n,",").concat(b+i);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:a,points:y}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:h})),l&&Object(o.createElement)(K,{data:t,mapChartDataToTableData:l,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};U.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},U.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var H=U,Y=n(54);var V=Object(d.makeOutboundLink)(),z=function(e){E()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=S()(t);if(n){var a=S()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return T()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(l.isEmpty)(i.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(H,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(V,{href:u},Object(s.sprintf)(
|
20 |
/* translators: %s expands to Semrush */
|
21 |
Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);z.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},z.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var W=z,G=Object(d.makeOutboundLink)(),$=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(s.sprintf)(
|
22 |
/* translators: %s: Expands to "Yoast SEO". */
|
24 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
25 |
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Z=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(s.sprintf)(
|
26 |
/* translators: %s: Expands to "Yoast SEO". */
|
27 |
+
Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)($,null),v&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(D,{countryCode:u,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(f,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(Z,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(W,{keyphrase:r,relatedKeyphrases:h,countryCode:u,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(3),k=n(6),E=n(24),_=n(1),T=n.n(_),R=n(12),S=n.n(R),x=n(42),C=n(81),P=n(9),I=S.a.p(r||(r=v()(["\n\tcolor: ",";\n\tmargin: 0;\n\tpadding-right: 8px;\n"])),E.colors.$color_upsell_text),A=S.a.div(a||(a=v()(["\n\tfont-size: 1em;\n\tdisplay: flex;\n\tflex-direction: ",";\n\t",": 4px solid ",";\n\tmargin: 16px 0;\n\tpadding: 0 0 0 8px;\n\tmax-width: 600px;\n\n\t> "," {\n\t\tmargin-bottom: ",";\n\t}\n"])),(function(e){return"horizontal"===e.alignment?"row":"column"}),Object(P.getDirectionalStyle)("border-left","border-right"),E.colors.$color_pink_dark,I,(function(e){return"vertical"===e.alignment&&"16px"})),L=S()(k.SvgIcon)(o||(o=v()(["\n\tmargin: ",";\n\ttransform: ",";\n"])),Object(P.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),Object(P.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),N=Object(P.makeOutboundLink)(k.UpsellLinkButton),q=function(e){var t=e.alignment,n=e.url;return Object(O.createElement)(A,{alignment:t},Object(O.createElement)(I,null,Object(w.sprintf)(
|
28 |
/* translators: %s expands to Yoast SEO Premium */
|
29 |
+
Object(w.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(O.createElement)("div",null,Object(O.createElement)(N,{href:n,className:"UpsellLinkButton"},Object(w.sprintf)(
|
30 |
/* translators: %s expands to Premium */
|
31 |
+
Object(w.__)("Go %s!","wordpress-seo"),"Premium"),Object(O.createElement)(L,{icon:"arrow-right",size:"8px",color:E.colors.$color_black}))))};q.propTypes={alignment:T.a.oneOf(["horizontal","vertical"]),url:T.a.string.isRequired},q.defaultProps={alignment:"vertical"};var D,M,F=q,B=n(28),K=n(51),U=n(68),H=n(37),Y=n.n(H);var V=S.a.ul(D||(D=v()(['\n\tlist-style: none;\n\tmargin: 0 0 16px;\n\tpadding: 0;\n\n\tli {\n\t\tmargin: 5px 0 0 0;\n\t\tpadding-left: 16px;\n\t}\n\n\tspan[aria-hidden="true"]:before {\n\t\tmargin: 0 8px 0 -16px;\n\t\tfont-weight: bold;\n\t\tcontent: "+";\n\t}\n']))),z=S.a.small(M||(M=v()(["\n\tdisplay: block;\n"]))),W=Object(P.makeOutboundLink)(),G=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(e){return l()(this,a),r.call(this,e)}return p()(a,[{key:"createBenefitsList",value:function(e){return e.length>0&&Object(O.createElement)(V,{role:"list"},e.map((function(e,t){return Object(O.createElement)("li",{key:t},Object(O.createElement)("span",{"aria-hidden":"true"}),Y()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(O.createElement)("strong",null)}}))})))}},{key:"createInfoParagraphs",value:function(e){return e.map((function(e,t){return Object(O.createElement)("p",{key:t},e)}))}},{key:"render",value:function(){return Object(O.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(O.createElement)(W,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(O.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(O.createElement)(z,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),a}(O.Component);G.propTypes={benefits:T.a.array,infoParagraphs:T.a.array,upsellButton:T.a.object,upsellButtonText:T.a.string.isRequired,upsellButtonLabel:T.a.string,upsellButtonHasCaret:T.a.bool},G.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};var $=G,Z=Object(P.makeOutboundLink)(),J=function(e){var t=Object(w.sprintf)(
|
32 |
/* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
|
33 |
Object(w.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=Y()({mixedString:t,components:{link:Object(O.createElement)(Z,{href:e.link})}}),r=["<strong>".concat(Object(w.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(w.sprintf)(
|
34 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(w.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(O.createElement)($,{infoParagraphs:[r,a],benefits:n,upsellButtonText:Object(w.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
+
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(w.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:T.a.string.isRequired,buyLink:T.a.string.isRequired};var te,ne=ee,re=n(39),ae=n.n(re),oe=n(53),se=S.a.button(te||(te=v()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),ie={open:Object(w.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(w.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(O.useState)(!1),n=ae()(t,2),r=n[0],a=n[1],o=Object.assign({},ie,e.labels),s=Object(O.useCallback)((function(){return a(!1)}),[]),i=Object(O.useCallback)((function(){return a(!0)}),[]);return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(se,{type:"button",onClick:i,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(O.createElement)(k.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),o.open),r&&Object(O.createElement)(oe.a,{onRequestClose:s,className:e.className,title:o.heading},e.children))};ce.propTypes={openButtonIcon:T.a.string,labels:T.a.shape({open:T.a.string,modalAriaLabel:T.a.string.isRequired,heading:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}).isRequired,classes:T.a.shape({openButton:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}),className:T.a.string,children:T.a.any.isRequired},ce.defaultProps={className:oe.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(96),pe=n(50),de=n(18);function me(e){var t=e.location;return Object(O.createElement)(de.Slot,{name:"yoast-synonyms-".concat(t)})}me.propTypes={location:T.a.string.isRequired};var fe,be=n(35);function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=S.a.span(fe||(fe=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 1.5em 0 1em;\n\tdisplay: block;\n"]))),ve=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+Object(w.__)("Add synonyms","wordpress-seo"),modalAriaLabel:Object(w.sprintf)(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
55 |
+
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:k.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add keyphrase synonyms?","wordpress-seo")),Object(O.createElement)(X,{link:n,buyLink:r})))}},{key:"renderMultipleKeywordsUpsell",value:function(e){var t={classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+Object(w.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:Object(w.sprintf)(
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
+
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:k.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(O.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=K.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(O.createElement)(r,{prefixIcon:{icon:"plus",color:E.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:E.colors.$color_grey_medium_dark},title:Object(w.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(O.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(O.createElement)(F,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(O.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(w.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(O.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?K.a:pe.a;return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(r,{title:Object(w.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(O.createElement)(me,{location:n}),e.props.shouldUpsell&&Object(O.createElement)(O.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(O.createElement)(ge,null,Object(w.__)("Analysis results","wordpress-seo")),Object(O.createElement)(C.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),a}(O.Component);ve.propTypes={results:T.a.array,marksButtonStatus:T.a.string,keyword:T.a.string,shouldUpsell:T.a.bool,shouldUpsellWordFormRecognition:T.a.bool,overallScore:T.a.number},ve.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(j.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,a=n.getMarksButtonStatus,o=n.getResultsForKeyword,s=r();return ye(ye({},o(s)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":a(),keyword:s})}))(ve)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=n(2),c=function(){function e(){a()(this,e)}return s()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(i.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),l=function(){function e(){a()(this,e)}return s()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return s()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),l.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(i.defaults)(e,u),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(19),o=n(4),s=n(0),i=n(3),c=n(18),l=n(6),u=n(9),p=n(1),d=n.n(p),m=n(5),f=n.n(m),b=n(7),h=n.n(b),y=n(13),g=n.n(y),v=n(14),O=n.n(v),j=n(8),w=n.n(j),k=n(15),E=n.n(k),_=n(12);var T=n.n(_).a.div(r||(r=E()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),R=function(e){g()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=w()(t);if(n){var a=w()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return O()(this,e)});function a(){return f()(this,a),r.apply(this,arguments)}return h()(a,[{key:"render",value:function(){return Object(s.createElement)(T,null,Object(s.createElement)(l.Toggle,{id:this.props.id,labelText:Object(i.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),a}(s.Component);R.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},R.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var S=R,x=n(51),C=n(50),P=Object(u.makeOutboundLink)();function I(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,a=e.location,o="metabox"===a?x.a:C.a;return Object(s.createElement)(o,{id:Object(u.join)(["yoast-cornerstone-collapsible",a]),title:Object(i.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)(l.HelpText,null,Object(i.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(s.createElement)(P,{href:r},Object(i.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(s.createElement)(S,{id:Object(u.join)(["yoast-cornerstone",a]),isEnabled:t,onToggle:n}),Object(s.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}I.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},I.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var A=n(57);t.a=Object(a.compose)([Object(o.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(o.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(A.a)()])(I)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=n(11),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(15),h=n.n(b),y=n(0),g=n(18),v=n(19),O=n(4),j=n(3),w=n(1),k=n.n(w),E=n(12),_=n.n(E),T=n(22),R=n(47),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(6),L=n(68),N=n(53),q=n(111),D=n(92);var M=function(e){u()(l,e);var t,n,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f()(r);if(o){var n=f()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function l(e){var t;return a()(this,l),(t=i.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return s()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(D.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=S()(C.a.mark((function e(t){var n,r;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=S()(C.a.mark((function e(t){var n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,I()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(a=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(a.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,a=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(j.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(N.a,{title:Object(j.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(q.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(L.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(j.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);M.propTypes={keyphrase:k.a.string,location:k.a.string,whichModalOpen:k.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:k.a.bool,onOpen:k.a.func.isRequired,onOpenWithNoKeyphrase:k.a.func.isRequired,onClose:k.a.func.isRequired,onAuthentication:k.a.func.isRequired},M.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var F,B=M,K=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,a=t.setSEMrushDismissModal,o=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){a()},onAuthentication:function(e){o(e)}}}))])(B),U=n(28),H=n(54);var Y=_.a.div(F||(F=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),V=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return s()(o,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(j.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(j.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(j.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(U.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(T.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(j.__)("Focus keyphrase","wordpress-seo"),helpLink:o.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(K,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),o}(y.Component);V.propTypes={keyword:k.a.string,onFocusKeywordChange:k.a.func.isRequired,onFocusKeyword:k.a.func.isRequired,onBlurKeyword:k.a.func.isRequired,isSEMrushIntegrationActive:k.a.bool,displayNoKeyphraseMessage:k.a.bool},V.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(V)},function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(1),k=n.n(w),E=n(12),_=n.n(E),T=n(3),R=n(2),S=n(96),x=n(81),C=n(50),P=n(42),I=n(35),A=n(28),L=n(54),N=n(36);function q(e){var t=e.target,n=e.children;return Object(O.createElement)(N.a,{target:t},n)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}q.propTypes={target:k.a.string.isRequired,children:k.a.node.isRequired};var F=_.a.span(r||(r=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=_.a.div(a||(a=v()(["\n\tpadding: 16px;\n"]))),K=_()(L.a)(o||(o=v()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),U=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderResults",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(F,null,Object(T.__)("Analysis results","wordpress-seo"),Object(O.createElement)(K,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(O.createElement)("span",{className:"screen-reader-text"},Object(T.__)("Learn more about the readability analysis","wordpress-seo")))),Object(O.createElement)(x.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(O.createElement)(A.LocationConsumer,null,(function(n){return"sidebar"===n?Object(O.createElement)(C.a,{title:Object(T.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(I.getIconForScore)(t.className),prefixIconCollapsed:Object(I.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(O.createElement)(q,{target:"wpseo-metabox-readability-root"},Object(O.createElement)(B,null,Object(O.createElement)(S.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),a}(O.Component);U.propTypes={results:k.a.array.isRequired,marksButtonStatus:k.a.string.isRequired,overallScore:k.a.number},U.defaultProps={overallScore:null},t.a=Object(j.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return M(M({},n()),{},{marksButtonStatus:r()})}))(U)},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),s=n(0),i=n(19),c=n(4),l=n(3),u=n(1),p=n.n(u),d=n(30),m=n.n(d),f=n(15),b=n.n(f),h=n(6),y=n(18),g=n(9),v=n(37),O=n.n(v),j=n(12),w=n.n(j),k=n(85),E=n(83),_=w.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),T=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(m()(e))},R=function(e){return Object(l.sprintf)(
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
+
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},S=function(e){return Object(s.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};S.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var x=function(e){return Object(s.createElement)("p",null,e.helpTextDescription+" ",Object(s.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};x.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var C=function(e){var t,n=T(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=T(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(E.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(s.createElement)(s.Fragment,null,a?Object(s.createElement)(x,e):Object(s.createElement)(S,e),a&&Object(s.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(s.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(s.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(s.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(s.createElement)("p",null,(t=e.postTypeName,O()({mixedString:R(t),components:{link:Object(s.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};C.propTypes={schemaPageTypeChange:p.a.func,schemaPageTypeSelected:p.a.string,pageTypeOptions:k.b.isRequired,schemaArticleTypeChange:p.a.func,schemaArticleTypeSelected:p.a.string,articleTypeOptions:k.b.isRequired,showArticleTypeInput:p.a.bool.isRequired,additionalHelpTextLink:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,defaultPageType:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,location:p.a.string.isRequired},C.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var P=function(e){return e.isMetabox?Object(s.createPortal)(Object(s.createElement)(_,null,Object(s.createElement)(C,e)),document.getElementById("wpseo-meta-section-schema")):Object(s.createElement)(C,e)};P.propTypes={showArticleTypeInput:p.a.bool,articleTypeLabel:p.a.string,additionalHelpTextLink:p.a.string,pageTypeLabel:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,isMetabox:p.a.bool.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,loadSchemaArticleData:p.a.func.isRequired,loadSchemaPageData:p.a.func.isRequired,location:p.a.string.isRequired},P.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var I=P,A=n(33),L=n(57);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t=null!==A.a.articleTypeInput;Object(s.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,a=n.articleTypeOptions,o={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:a},i=q(q(q({},e),o),"metabox"===e.location?{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});return Object(s.createElement)(I,i)};D.propTypes={displayFooter:p.a.bool.isRequired,schemaPageTypeSelected:p.a.string.isRequired,schemaArticleTypeSelected:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,defaultPageType:p.a.string.isRequired,loadSchemaPageData:p.a.func.isRequired,loadSchemaArticleData:p.a.func.isRequired,schemaPageTypeChange:p.a.func.isRequired,schemaArticleTypeChange:p.a.func.isRequired,location:p.a.string.isRequired},t.a=Object(i.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,s=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:s(),defaultPageType:a()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(L.a)()])(D)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(0),s=n(3),i=n(6),c=n(9),l=n(1),u=n.n(l),p=n(28),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,a=e.isPrivateBlog,l=function(e){var t=Object(s.__)("No","wordpress-seo"),n=Object(s.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(s.sprintf)(
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
67 |
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(o.Fragment,null,a&&Object(o.createElement)(i.Alert,{type:"warning"},Object(s.__)("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(o.createElement)(i.Select,{label:Object(s.sprintf)(
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
+
Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(s.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},d.defaultProps={isPrivateBlog:!1};var m=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(i.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(s.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
+
Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(s.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};m.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var f=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(s.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};f.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,s=e.canonical,i=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:i,editorContext:v,isPrivateBlog:j},k={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},E={advanced:r,onAdvancedChange:l},_={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},T={canonical:s,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),v.isPost&&Object(o.createElement)(m,k),v.isPost&&Object(o.createElement)(f,E),!O&&Object(o.createElement)(b,_),Object(o.createElement)(h,T))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,s=t.getCanonical,i=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(94),s=n(131),i=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function g(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=h.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(i=t[m],d+l(i,m),r,o);else{var f=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var b,h=f.call(t),y=0;!(b=h.next()).done;)p+=e(i=b.value,d+l(i,y++),r,o);else if("object"===u){var g=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=h).instancePool=[],m.getPooled=d||f,m.poolSize||(m.poolSize=10),m.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,s,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),a=n(6);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(10),a=n.n(r),o=n(27),s=n.n(o),i=n(0),c=n(19),l=n(4),u=n(3),p=n(147),d=n(28),m=n(112),f=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(f.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,s=t.getReplaceVars,i=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,m=s();return m.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:m,shoppingData:i(),wordsToHighlight:d()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,s=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),s&&s.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(i.createElement)(d.LocationConsumer,null,(function(t){return Object(i.createElement)(m.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(i.createElement)(p.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(148),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,s=t.getFacebookImageUrl,i=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,p=t.getSeoTitle,d=t.getTwitterWarnings,m=t.getTwitterImageType,f=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,v=t.getSeoTitleTemplate,O=t.getSeoTitleTemplateNoFallback,j=t.getSocialTitleTemplate,w=t.getSeoDescriptionTemplate,k=t.getSocialDescriptionTemplate,E=t.getReplacedExcerpt,_=Object(o.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),T=Object(o.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:a(),imageFallbackUrl:s()||f(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:k()||l()||u()||w()||E()||T,title:r(),titlePreviewFallback:j()||i()||p()||O()||v()||_,imageWarnings:d(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==m(),titleInputPlaceholder:_,descriptionInputPlaceholder:T,socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(150),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateFacebookImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,a=t.getFacebookTitle,s=t.getSeoTitle,i=t.getFacebookImageUrl,l=t.getImageFallback,u=t.getFacebookWarnings,p=t.getRecommendedReplaceVars,d=t.getReplaceVars,m=t.getSiteUrl,f=t.getAuthorName,b=t.getSeoTitleTemplate,h=t.getSeoTitleTemplateNoFallback,y=t.getSocialTitleTemplate,g=t.getSeoDescriptionTemplate,v=t.getSocialDescriptionTemplate,O=t.getReplacedExcerpt,j=Object(o.sprintf)(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),w=Object(o.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:l(),recommendedReplacementVariables:p(),replacementVariables:d(),description:n(),descriptionPreviewFallback:v()||r()||g()||O()||w,title:a(),titlePreviewFallback:y()||s()||h()||b()||j,imageWarnings:u(),authorName:f(),siteUrl:m(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:j,descriptionInputPlaceholder:w,socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),s=n(18),i=n(120),c=n(103);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(s.Slot,{name:"YoastMetabox"},(function(e){return Object(i.a)(e)})))}var u=n(4),p=n(3),d=n(124),m=n(161),f=n(160),b=n(125),h=n(126),y=n(122),g=n(51),v=n(32),O=n(128),j=n(163),w=n(162),k=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(g.a,{hasSeparator:!1
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(j.a,null)),n&&Object(r.createElement)(g.a
|
83 |
+
/* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};k.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var E=k,_=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(E),T=n(36);function R(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(_,null))}R.propTypes={target:o.a.string.isRequired};var S=n(127),x=n(115);function C(e){var t=e.settings;return Object(r.createElement)(s.Fill,{name:"YoastMetabox"},Object(r.createElement)(v.a,{key:"warning",renderPriority:1},Object(r.createElement)(f.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(v.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(b.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(s.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(x.a,null))),Object(r.createElement)(v.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(g.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(m.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(v.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(v.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(y.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(r.createElement)(v.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(d.a,null)),t.displayAdvancedTab&&Object(r.createElement)(v.a,{key:"advanced",renderPriority:40},Object(r.createElement)(g.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(r.createElement)(O.a,null))),t.displaySchemaSettings&&Object(r.createElement)(v.a,{key:"schema",renderPriority:50},Object(r.createElement)(S.a,null)),Object(r.createElement)(v.a,{key:"social",renderPriority:-1},Object(r.createElement)(R,{target:"wpseo-section-social"})))}C.propTypes={settings:o.a.object.isRequired};var P=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(C);function I(e){var t=e.target,n=e.store,a=e.theme;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(l,{store:n,theme:a}),Object(r.createElement)(P,{store:n,theme:a}))}I.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(30),a=n.n(r),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(0),h=n(18),y=n(192),g=n(20);var v=[],O=null,j=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return c()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(a()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(b.createElement)(t,{key:n})}))}}]),o}(b.Component);function w(e,t){null===O||null===O.current?v.push({key:e,Component:t}):O.current.registerComponent(e,t)}var k=n(10),E=n.n(k),_=n(23),T=n.n(_),R=n(2),S=n(17),x=n(43),C=n(40),P=n(38);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){E()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=T.a.markers.removeMarks,N=jQuery,q=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";s()(this,e),this._refresh=t,this._store=n,this._initialData={},this._previousData={},this._tinyMceId=r,this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){this._initialData=this.getInitialData(e),Object(C.fillReplacementVariables)(this._initialData,this._store),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!Object(R.isUndefined)(wp.media)&&!Object(R.isUndefined)(wp.media.featuredImage)){N("#postimagediv").on("click","#remove-post-thumbnail",(function(){e.featuredImageIsSet=!1,e.setImageInSnippetPreview(e.getContentImage())}));var t=wp.media.featuredImage.frame();t.on("select",(function(){var n=t.state().get("selection").first().attributes.url;n&&(e.featuredImageIsSet=!0,e.setImageInSnippetPreview(n))})),P.addEventHandler(this._tinyMceId,["init"],(function(){var t=e.getContentImage(),n=e.getFeaturedImage()||t||null;e._store.dispatch(Object(x.c)(t)),e.setImageInSnippetPreview(n)})),P.addEventHandler(this._tinyMceId,["change"],Object(R.debounce)((function(){if(!e.featuredImageIsSet){var t=e.getContentImage();e._store.dispatch(Object(x.c)(t)),e.setImageInSnippetPreview(t)}}),1e3))}}},{key:"getFeaturedImage",value:function(){var e=N("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}},{key:"setImageInSnippetPreview",value:function(e){this._store.dispatch(Object(S.k)({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=T.a.languageProcessing.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),a=(r=N(r)).prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}},{key:"getTitle",value:function(){var e=document.getElementById("title");return e&&e.value||""}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=document.getElementById("excerpt"),n=t&&t.value||"";return""!==n||!1===e?n:Object(C.excerptFromContent)(this.getContent())}},{key:"getSlug",value:function(){var e="",t=document.getElementById("new-post-slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}},{key:"getContent",value:function(){var e=this._tinyMceId;return L(P.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",(function(e){n.updateReplacementData(e,t)}))}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch(Object(S.l)(t,n))}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"refreshYoastSEO",value:function(){var e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}},{key:"handleEditorChange",value:function(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(Object(S.l)("excerpt",e.excerpt)),this._store.dispatch(Object(S.l)("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=Object(R.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=Object(C.mapCustomFields)(e,this._store),A(A({},e=Object(C.mapCustomTaxonomies)(e,this._store)),{},{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return A(A({},this._store.getState().snippetEditor.data),{},{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=w,function(e){var t=Object(g.a)();O=Object(b.createRef)();var n={isRtl:t.isRtl};Object(b.render)(Object(b.createElement)(h.SlotFillProvider,null,Object(b.createElement)(y.a,{target:"wpseo-metabox-root",store:e,theme:n}),Object(b.createElement)(j,{ref:O})),document.getElementById("wpseo-metabox-root")),v.forEach((function(e){O.current.registerComponent(e.key,e.Component)}))}(e)},window.yoast.EditorData=q}]);
|
js/dist/{configuration-wizard-1710.js → configuration-wizard-1720.js}
RENAMED
File without changes
|
js/dist/{dashboard-widget-1710.js → dashboard-widget-1720.js}
RENAMED
File without changes
|
js/dist/{dynamic-blocks-1710.js → dynamic-blocks-1720.js}
RENAMED
File without changes
|
js/dist/{edit-page-1710.js → edit-page-1720.js}
RENAMED
File without changes
|
js/dist/{editor-modules-1710.js → editor-modules-1720.js}
RENAMED
File without changes
|
js/dist/{elementor-1710.js → elementor-1720.js}
RENAMED
@@ -1,36 +1,36 @@
|
|
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=347)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(70);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return b}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",l="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:o,mode:e}}function d(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:u,wordsToHighlight:e}}function g(e){return{type:s,name:e}}function b(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return u})),n.d(t,"runAnalysis",(function(){return l})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return p.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return p.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return p.b})),n.d(t,"loadCornerstoneContent",(function(){return p.d})),n.d(t,"setCornerstoneContent",(function(){return p.e})),n.d(t,"toggleCornerstoneContent",(function(){return p.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return d})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return g})),n.d(t,"setEditorDataContent",(function(){return b})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return h})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return w})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return v})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return E})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return S.a})),n.d(t,"setMarkerStatus",(function(){return S.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return R.a})),n.d(t,"setMarkerPauseStatus",(function(){return R.b})),n.d(t,"DISMISS_ALERT",(function(){return k.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return k.b})),n.d(t,"dismissAlert",(function(){return k.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return D.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return D.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return D.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return D.a})),n.d(t,"setPageType",(function(){return D.h})),n.d(t,"setArticleType",(function(){return D.g})),n.d(t,"getSchemaPageData",(function(){return D.f})),n.d(t,"getSchemaArticleData",(function(){return D.e})),n.d(t,"MODAL_DISMISS",(function(){return x})),n.d(t,"MODAL_OPEN",(function(){return A})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return C})),n.d(t,"setSEMrushDismissModal",(function(){return I})),n.d(t,"setSEMrushOpenModal",(function(){return M})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return N})),n.d(t,"CHANGE_COUNTRY",(function(){return L.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return L.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return L.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return L.f})),n.d(t,"NEW_REQUEST",(function(){return L.b})),n.d(t,"NO_DATA_FOUND",(function(){return L.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return L.d})),n.d(t,"setSEMrushNewRequest",(function(){return L.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return L.m})),n.d(t,"setSEMrushRequestFailed",(function(){return L.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return L.n})),n.d(t,"setSEMrushChangeCountry",(function(){return L.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return L.k})),n.d(t,"setSEMrushLoginStatus",(function(){return L.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return V.a})),n.d(t,"setWarningMessage",(function(){return V.b})),n.d(t,"setOverallReadabilityScore",(function(){return Y})),n.d(t,"setOverallSeoScore",(function(){return H})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(74),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function u(e){return{type:s,data:e}}function l(){return{type:c,timestamp:Date.now()}}var p=n(59),d="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",g="SET_EDITOR_DATA_IMAGE_URL";function b(e){return{type:d,content:e}}function y(e){return{type:f,title:e}}function h(e){return{type:m,excerpt:e}}function O(e){return{type:g,imageUrl:e}}var w="OPEN_MODAL",v="CLOSE_MODAL";function j(e){return{type:w,modalKey:e}}function E(){return{type:v}}var _=n(67),T=n(60),S=n(45),R=n(75),k=n(69),P=n(76),D=n(56),x="MODAL_DISMISS",A="MODAL_OPEN",C="MODAL_OPEN_NO_KEYPHRASE";function I(){return{type:x}}function M(e){return{type:A,location:e}}function N(){return{type:C}}var L=n(41),F=n(43),q=n(77),B=n(17),U=n(48),K=n(49),V=n(78),Y=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},H=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(87),o=n(88),a=n(89);e.exports=function(e){return r(e)||o(e)||a()}},function(e,t,n){"use strict";var r=n(2),o={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},a=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(r.defaults)(n,o)};a.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},a.prototype.setSource=function(e){this.options.source=e},a.prototype.hasScope=function(){return!Object(r.isEmpty)(this.options.scope)},a.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},a.prototype.inScope=function(e){return!this.hasScope()||Object(r.indexOf)(this.options.scope,e)>-1},a.prototype.hasAlias=function(){return!Object(r.isEmpty)(this.options.aliases)},a.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},a.prototype.getAliases=function(){return this.options.aliases},t.a=a},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(130)),i=s(n(133));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,i.default)(t);try{return function e(t,n){var i,s,u,l,p,d,f,m,g=[],b={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){i=n[p.value],u=d;break}g.push(n[p.value])}else g.push(p.value);return i&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,t),f=e(t.slice(u+1,l),n),s=o.default.cloneElement(i,{},f),g.push(s),l<t.length-1&&(m=e(t.slice(l+1),n),g=g.concat(m))),1===g.length?g[0]:(g.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,a.default)(b))}(u,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(99),o=n(100),a=n(101);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return g})),n.d(t,"pushNewReplaceVar",(function(){return b})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return h})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return w})),n.d(t,"mapCustomFields",(function(){return v})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=n(79),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function g(e){return c(e=m(e))}function b(e,t){return e.push({name:t.name,label:t.label||g(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function h(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function w(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(l({},e),"custom_taxonomies")):e}function v(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=h(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(l({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"m",(function(){return p})),n.d(t,"l",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return b}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",u="SET_LOGIN_STATUS";function l(e,t){return{type:s,countryCode:e,keyphrase:t}}function p(e){return{type:o,response:e}}function d(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function g(){return{type:c}}function b(e){return{type:u,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return h})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",u="SET_NO_FOLLOW",l="SET_ADVANCED",p="SET_BREADCRUMBS_TITLE",d="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},g=function(e){return s.noFollow=e,{type:u,value:e}},b=function(e){return s.advanced=e.join(","),{type:l,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:p,value:e}},h=function(e){return s.canonical=e,{type:d,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_TWITTER_TITLE",l="SET_TWITTER_DESCRIPTION",p="SET_TWITTER_IMAGE",d="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:p,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:d}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_FACEBOOK_TITLE",l="SET_FACEBOOK_DESCRIPTION",p="SET_FACEBOOK_IMAGE",d="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:p,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:d}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(6),s=n(1),c=n.n(s),u=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),u=n(6),l=n(12),p=n.n(l)()(u.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),u=n.n(c),l=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),u=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(l.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:u},c),e.children)};d.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),u=n.n(c),l=Object(s.makeOutboundLink)(u.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"keywordAnalysisActive",0)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return p}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},u=function(e){return r.a.articleType=e,{type:a,articleType:e}},l=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},p=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,u(u({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return u}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},u=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return a})),n.d(t,"setYoastComponentsL10n",(function(){return i})),n.d(t,"setWordPressSeoL10n",(function(){return s}));var r=n(3),o=n(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function i(){a("yoast-components")}function s(){a("wordpress-seo")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return S}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),u=n(5),l=n.n(u),p=n(7),d=n.n(p),f=n(11),m=n.n(f),g=n(13),b=n.n(g),y=n(14),h=n.n(y),O=n(8),w=n.n(O),v=n(0),j=n(1),E=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){b()(u,n);var r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w()(r);if(a){var n=w()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)});function u(t){var n;l()(this,u),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return d()(u,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(v.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),u}(v.Component)}}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"contentAnalysisActive",0)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return p}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",u="LOAD_ESTIMATED_READING_TIME";function l(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function p(){return{type:u,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),u=n(6),l=n(9),p=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(u.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(l.getDirectionalStyle)("right","left"),Object(l.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";function r(e){var t,n=document.getElementById("yoast-measurement-element");return n||((t=document.createElement("div")).id="yoast-measurement-element",t.style.position="absolute",t.style.left="-9999em",t.style.top=0,t.style.height=0,t.style.overflow="hidden",t.style.fontFamily="arial, sans-serif",t.style.fontSize="18px",t.style.fontWeight="400",document.body.appendChild(t),n=t),n.innerHTML=e,n.offsetWidth}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getNoIndex",(function(){return o})),n.d(t,"getNoFollow",(function(){return a})),n.d(t,"getAdvanced",(function(){return i})),n.d(t,"getBreadcrumbsTitle",(function(){return s})),n.d(t,"getCanonical",(function(){return c})),n.d(t,"getIsLoading",(function(){return u})),n.d(t,"getSeoTitle",(function(){return Y})),n.d(t,"getDescription",(function(){return H})),n.d(t,"getPermalink",(function(){return W})),n.d(t,"getAnalysisTimestamp",(function(){return G})),n.d(t,"getAnalysisData",(function(){return z})),n.d(t,"isCornerstoneContent",(function(){return $})),n.d(t,"getEditorContext",(function(){return p})),n.d(t,"getPostOrPageString",(function(){return d})),n.d(t,"getIsBlockEditor",(function(){return f})),n.d(t,"getIsElementorEditor",(function(){return m})),n.d(t,"getEditorType",(function(){return g})),n.d(t,"getContentLocale",(function(){return b})),n.d(t,"getEditorDataContent",(function(){return O})),n.d(t,"getEditorDataTitle",(function(){return w})),n.d(t,"getEditorDataExcerpt",(function(){return v})),n.d(t,"getEditorDataExcerptWithFallback",(function(){return j})),n.d(t,"getEditorDataImageUrl",(function(){return E})),n.d(t,"getEditorDataImageFallback",(function(){return _})),n.d(t,"getIsModalOpen",(function(){return Q})),n.d(t,"getEstimatedReadingTime",(function(){return Z})),n.d(t,"getFacebookTitle",(function(){return X})),n.d(t,"getFacebookDescription",(function(){return J})),n.d(t,"getFacebookImageUrl",(function(){return ee})),n.d(t,"getFacebookImageSrc",(function(){return te})),n.d(t,"getFacebookWarnings",(function(){return ne})),n.d(t,"getContentImage",(function(){return re})),n.d(t,"getImageFallback",(function(){return oe})),n.d(t,"getSiteUrl",(function(){return ae})),n.d(t,"getSeoTitleTemplate",(function(){return ie})),n.d(t,"getSeoTitleTemplateNoFallback",(function(){return se})),n.d(t,"getSocialTitleTemplate",(function(){return ce})),n.d(t,"getSeoDescriptionTemplate",(function(){return ue})),n.d(t,"getSocialDescriptionTemplate",(function(){return le})),n.d(t,"getReplacedExcerpt",(function(){return pe})),n.d(t,"getFocusKeyphrase",(function(){return T})),n.d(t,"getActiveMarker",(function(){return de})),n.d(t,"getMarkerPauseStatus",(function(){return fe})),n.d(t,"isMarkingAvailable",(function(){return me})),n.d(t,"getMarksButtonStatus",(function(){return ge})),n.d(t,"isAlertDismissed",(function(){return be})),n.d(t,"getPreferences",(function(){return ye})),n.d(t,"getIsKeywordAnalysisActive",(function(){return he})),n.d(t,"getPrimaryTaxonomyId",(function(){return Oe})),n.d(t,"getSeoResults",(function(){return _e})),n.d(t,"getResultsForKeyword",(function(){return Te})),n.d(t,"getReadabilityResults",(function(){return Se})),n.d(t,"getResultsForFocusKeyword",(function(){return Re})),n.d(t,"getResultById",(function(){return ke})),n.d(t,"getMarkButtonStatus",(function(){return Pe})),n.d(t,"getDefaultPageType",(function(){return De})),n.d(t,"getPageType",(function(){return xe})),n.d(t,"getDefaultArticleType",(function(){return Ae})),n.d(t,"getArticleType",(function(){return Ce})),n.d(t,"getSEMrushModalOpen",(function(){return Ie})),n.d(t,"getSEMrushNoKeyphraseMessage",(function(){return Me})),n.d(t,"getSEMrushIsRequestPending",(function(){return Ne})),n.d(t,"getSEMrushRequestIsSuccess",(function(){return Le})),n.d(t,"getSEMrushRequestResponse",(function(){return Fe})),n.d(t,"getSEMrushRequestLimitReached",(function(){return qe})),n.d(t,"getSEMrushRequestKeyphrase",(function(){return Be})),n.d(t,"getSEMrushSelectedCountry",(function(){return Ue})),n.d(t,"getSEMrushRequestHasData",(function(){return Ke})),n.d(t,"getSEMrushLoginStatus",(function(){return Ve})),n.d(t,"getAuthorName",(function(){return S})),n.d(t,"getSiteName",(function(){return R})),n.d(t,"getBaseUrlFromSettings",(function(){return k})),n.d(t,"getDateFromSettings",(function(){return P})),n.d(t,"getRecommendedReplaceVars",(function(){return D})),n.d(t,"getSiteIconUrlFromSettings",(function(){return x})),n.d(t,"getShoppingData",(function(){return Ye})),n.d(t,"getReplaceVars",(function(){return A})),n.d(t,"getSnippetEditorTemplates",(function(){return C})),n.d(t,"getSnippetEditorMode",(function(){return I})),n.d(t,"getSnippetEditorTitle",(function(){return M})),n.d(t,"getSnippetEditorTitleWithTemplate",(function(){return N})),n.d(t,"getSnippetEditorDescription",(function(){return L})),n.d(t,"getSnippetEditorDescriptionWithTemplate",(function(){return F})),n.d(t,"getSnippetEditorSlug",(function(){return q})),n.d(t,"getSnippetEditorData",(function(){return B})),n.d(t,"getSnippetEditorWordsToHighlight",(function(){return U})),n.d(t,"getSnippetEditorIsLoading",(function(){return K})),n.d(t,"getSnippetEditorPreviewImageUrl",(function(){return V})),n.d(t,"getTwitterTitle",(function(){return He})),n.d(t,"getTwitterDescription",(function(){return We})),n.d(t,"getTwitterImageUrl",(function(){return Ge})),n.d(t,"getTwitterImageType",(function(){return ze})),n.d(t,"getTwitterImageSrc",(function(){return $e})),n.d(t,"getTwitterWarnings",(function(){return Qe})),n.d(t,"getWarningMessage",(function(){return Ze}));var r=n(2),o=function(e){return Object(r.get)(e,"advancedSettings.noIndex","")},a=function(e){return Object(r.get)(e,"advancedSettings.noFollow","")},i=function(e){return Object(r.get)(e,"advancedSettings.advanced","")},s=function(e){return Object(r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},c=function(e){return Object(r.get)(e,"advancedSettings.canonical","")},u=function(e){return Object(r.get)(e,"advancedSettings.isLoading",!0)},l=n(71);function p(e){return e.editorContext}function d(e){return"Page"===Object(r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function f(e){return Object(r.get)(e,"editorContext.isBlockEditor",!1)}function m(e){return Object(r.get)(e,"editorContext.isElementorEditor",!1)}function g(e){return m(e)?"elementorEditor":f(e)?"blockEditor":"classicEditor"}function b(e){return Object(r.get)(e,"editorContext.contentLocale","en_US")}var y=n(63),h=n(40),O=function(e){return Object(r.get)(e,"editorData.content","")},w=function(e){return Object(r.get)(e,"editorData.title","")},v=function(e){return Object(r.get)(e,"editorData.excerpt")},j=function(e){var t=Object(r.get)(e,"editorData.excerpt","");return""===t&&(t=Object(h.excerptFromContent)(Object(r.get)(e,"editorData.content",""))),t},E=function(e){return Object(r.get)(e,"editorData.imageUrl","")},_=function(e){var t=[{featuredOrFirstImage:Object(r.get)(e,"editorData.imageUrl","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""};function T(e){return e.focusKeyword}var S=function(e){return Object(r.get)(e,"settings.socialPreviews.authorName","")},R=function(e){return Object(r.get)(e,"settings.socialPreviews.siteName","")},k=function(e){return Object(r.get)(e,"settings.snippetEditor.baseUrl","")},P=function(e){return Object(r.get)(e,"settings.snippetEditor.date","")},D=function(e){return Object(r.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[])},x=function(e){return Object(r.get)(e,"settings.snippetEditor.siteIconUrl","")},A=function(e){return Object(r.get)(e,"snippetEditor.replacementVariables",[])},C=function(e){return Object(r.get)(e,"snippetEditor.templates",{title:"",description:""})},I=function(e){return Object(r.get)(e,"snippetEditor.mode","mobile")},M=function(e){return Object(r.get)(e,"snippetEditor.data.title","")},N=function(e){return Object(r.get)(e,"snippetEditor.data.title","")||C(e).title},L=function(e){return Object(r.get)(e,"snippetEditor.data.description","")},F=function(e){return L(e)||C(e).description},q=function(e){return Object(r.get)(e,"snippetEditor.data.slug","")},B=function(e){return Object(r.get)(e,"snippetEditor.data",{title:M(e),description:L(e),slug:q(e)})},U=function(e){return Object(r.get)(e,"snippetEditor.wordsToHighlight",[])},K=function(e){return Object(r.get)(e,"snippetEditor.isLoading",!0)},V=function(e){return Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},Y=function(e){return Object(r.get)(e,"analysisData.snippet.title","")},H=function(e){return Object(r.get)(e,"analysisData.snippet.description","")},W=function(e){return Object(r.get)(e,"analysisData.snippet.url","")},G=function(e){return parseInt(Object(r.get)(e,"analysisData.timestamp",0),10)},z=function(e){var t=Y(e)||M(e),n=q(e);return{text:O(e),title:t,keyword:T(e),description:H(e)||L(e),locale:b(e),titleWidth:Object(l.a)(t),url:n,permalink:k(e)+n}};function $(e){return e.isCornerstone}var Q=function(e,t){return Object(r.get)(e,"editorModals.openedModal","")===t};function Z(e){return Object(r.get)(e,"estimatedReadingTime.estimatedReadingTime",0)||0}var X=function(e){return Object(r.get)(e,"facebookEditor.title","")},J=function(e){return Object(r.get)(e,"facebookEditor.description","")},ee=function(e){return Object(r.get)(e,"facebookEditor.image.url")},te=function(e){return Object(r.get)(e,"facebookEditor.image.src","")},ne=function(e){return Object(r.get)(e,"facebookEditor.warnings",[])},re=function(e){return Object(r.get)(e,"socialPreviews.contentImage","")},oe=function(e){var t=[{featuredImage:Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:Object(r.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""},ae=function(){var e=Object(r.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e)).host},ie=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template","")},se=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template_no_fallback","")},ce=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_title_template","")},ue=function(){return Object(r.get)(window,"wpseoScriptData.metabox.metadesc_template","")},le=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_description_template","")},pe=function(e){var t="";return Object(r.get)(e,"snippetEditor.replacementVariables",[]).forEach((function(e){"excerpt"===e.name&&(t=e.value)})),t};function de(e){return e.activeMarker}function fe(e){return e.isMarkerPaused}function me(e){return"enabled"===e.marksButtonStatus}function ge(e){return e.marksButtonStatus}function be(e,t){return!0===e.dismissedAlerts[t]}function ye(e){return e.preferences}function he(e){return Object(r.get)(e,"preferences.isKeywordAnalysisActive",!1)}function Oe(e,t){return e.primaryTaxonomies[t]}var we=n(30),ve=n.n(we),je={},Ee=[];function _e(e){var t=Object(r.get)(e,"analysis.seo",je);return Object(r.isEmpty)(t)?{results:Ee,overallScore:null}:t}function Te(e,t){var n=_e(e);return Object(r.get)(n,t,je)}function Se(e){var t=Object(r.get)(e,"analysis.readability",{});return Object(r.isEmpty)(t)?{results:Ee,overallScore:null}:t}function Re(e){return Te(e,e.focusKeyword)}function ke(e,t){var n=Re(e).results||Ee,r=Se(e).results||Ee;return[].concat(ve()(n),ve()(r)).find((function(e){return e._identifier===t}))}function Pe(e){return e.marksButtonStatus}var De=function(e){return Object(r.get)(e,"schemaTab.defaultPageType","")},xe=function(e){return Object(r.get)(e,"schemaTab.pageType","")},Ae=function(e){return Object(r.get)(e,"schemaTab.defaultArticleType","")},Ce=function(e){return Object(r.get)(e,"schemaTab.articleType","")};function Ie(e){return e.SEMrushModal.whichModalOpen}function Me(e){return e.SEMrushModal.displayNoKeyphraseMessage}function Ne(e){return e.SEMrushRequest.isRequestPending}function Le(e){return e.SEMrushRequest.isSuccess}function Fe(e){return e.SEMrushRequest.response}function qe(e){return e.SEMrushRequest.limitReached}function Be(e){return e.SEMrushRequest.keyphrase}function Ue(e){return e.SEMrushRequest.countryCode}function Ke(e){return e.SEMrushRequest.hasData}function Ve(e){return e.SEMrushRequest.isLoggedIn}var Ye=function(e){return Object(r.get)(e,"shoppingData",{})},He=function(e){return Object(r.get)(e,"twitterEditor.title","")},We=function(e){return Object(r.get)(e,"twitterEditor.description","")},Ge=function(e){return Object(r.get)(e,"twitterEditor.image.url","")},ze=function(e){return Object(r.get)(e,"settings.socialPreviews.twitterCardType","summary")},$e=function(e){return Object(r.get)(e,"twitterEditor.image.src","")},Qe=function(e){return Object(r.get)(e,"twitterEditor.warnings",[])};function Ze(e){return Object(r.get)(e,"warning.message",[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(11),l=n.n(u),p=n(13),d=n.n(p),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(1),O=n.n(h),w=n(95),v=n(23),j=n(35);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new v.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);E.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=E;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(92);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(11),l=n.n(u),p=n(13),d=n.n(p),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(3),O=n(6),w=n(1),v=n.n(w),j=n(62);var E=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(l()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(h.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(h.__)("Learn more about the schema settings","wordpress-seo"),description:Object(h.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(h.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(O.Alert,{type:"warning"},Object(h.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
5 |
-
Object(h._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(y.createElement)(O.Select,{id:"schema-page-type-".concat(this.props.postType),name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(h.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(y.createElement)(O.Select,{id:"schema-article-type-".concat(this.props.postType),name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(h.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),a}(y.Component),_=v.a.arrayOf(v.a.shape({name:v.a.string,value:v.a.string}));E.propTypes={postType:v.a.string.isRequired,postTypeName:v.a.string.isRequired,pageType:j.b.isRequired,articleType:j.b,pageTypeOptions:_.isRequired,articleTypeOptions:_.isRequired},E.defaultProps={articleType:null},t.a=Object(j.a)((function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]}))(E)},function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return s})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return u}));var r=n(22),o=n(17),a=n(72),i=!1;function s(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,u){var l=t();i&&e.analyze(l).then((function(e){var t=e.result,a=t.seo,i=t.readability;if(a){var
|
6 |
/* Translators: %s translates to the Post Label in singular form */
|
7 |
Object(o.sprintf)(Object(o.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},
|
8 |
/* Translators: %s translates to the Post Label in singular form */
|
9 |
-
Object(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(l,{id:t+"-open-button",title:s,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};f.propTypes={id:s.a.string.isRequired,postTypeName:s.a.string.isRequired,children:s.a.oneOfType([s.a.node,s.a.arrayOf(s.a.node)]).isRequired,title:s.a.string.isRequired,isOpen:s.a.bool.isRequired,open:s.a.func.isRequired,close:s.a.func.isRequired},t.a=f},,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),o=n(6),a=n(1),i=n.n(a),s=n(35),c=n(36),u=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(o.SvgIcon,Object(s.getIconForScore)(n)))};u.propTypes={target:i.a.string.isRequired,scoreIndicator:i.a.string.isRequired},t.a=u},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=n(20);function a(){var e=Object(o.a)(),t=Object(r.get)(e,"translations",{domain:"js-text-analysis",locale_data:{"js-text-analysis":{"":{}}}});return"wordpress-seo"!==t.domain||Object(r.isUndefined)(t.locale_data["wordpress-seo"])||(t.domain="js-text-analysis",t.locale_data["js-text-analysis"]=t.locale_data["wordpress-seo"],t.locale_data["js-text-analysis"][""].domain="js-text-analysis",delete t.locale_data["wordpress-seo"]),t}},function(e,t,n){"use strict";var r,o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=n(11),u=n.n(c),l=n(13),
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
-
Object(T.__)("
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
-
Object(T.__)("
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
-
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},
|
16 |
/* translators: %s : Expands to "Semrush". */
|
17 |
Object(i.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(a.createElement)(f,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(i.sprintf)(
|
18 |
/* translators: %s : Expands to "Semrush". */
|
19 |
-
Object(i.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},g=n(47),b=n.n(g),y=n(5),h=n.n(y),O=n(7),w=n.n(O),v=n(11),j=n.n(v),E=n(13),_=n.n(E),T=n(14),S=n.n(T),R=n(8),k=n.n(R),P=n(26),D=n.n(P),x=n(64),A=n.n(x),C=n(52);var I="yoast-semrush-country-selector",M=[{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"}],N=function(e){_()(c,e);var t,n,r,o,s=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k()(r);if(o){var n=k()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S()(this,e)});function c(e){var t;return h()(this,c),(t=s.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(j()(t)),t.onChangeHandler=t.onChangeHandler.bind(j()(t)),t}return w()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){A()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=b()(D.a.mark((function e(){var t,n,r,o;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(o=e.sent).status){e.next=9;break}return this.handleSuccessResponse(o),e.abrupt("return");case 9:this.handleFailedResponse(o);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=b()(D.a.mark((function e(t,n){return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A()({path:Object(C.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(a.createElement)("div",{id:I},Object(a.createElement)(l.SingleSelect,{id:I+"-select",label:Object(i.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:M,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(a.createElement)(l.NewButton,{id:I+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(i.__)("Select country","wordpress-seo")))}}]),c}(a.Component);N.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},N.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var L=N,F=n(30),q=n.n(F),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,o=e.dataTableHeaderLabels,s=e.isDataTableVisuallyHidden;return t.length!==o.length?Object(a.createElement)("p",null,Object(i.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(a.createElement)("div",{className:s?"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,o.map((function(e,t){return Object(a.createElement)("th",{key:t},e)})))),Object(a.createElement)("tbody",null,Object(a.createElement)("tr",null,t.map((function(e,t){return Object(a.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var U=B,K=function(e){var t=e.data,n=e.width,r=e.height,o=e.fillColor,i=e.strokeColor,s=e.strokeWidth,c=e.className,u=e.mapChartDataToTableData,l=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,f=Math.max(1,Math.max.apply(Math,q()(t.map((function(e){return e.x}))))),m=Math.max(1,Math.max.apply(Math,q()(t.map((function(e){return e.y}))))),g=r-s,b=t.map((function(e){var t=e.x/f*n,r=g-e.y/m*g+s;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(g+s," ")+b+" ".concat(n,",").concat(g+s);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:o,points:y}),Object(a.createElement)("polyline",{fill:"none",stroke:i,strokeWidth:s,strokeLinejoin:"round",strokeLinecap:"round",points:b})),u&&Object(a.createElement)(U,{data:t,mapChartDataToTableData:u,dataTableCaption:l,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};K.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},K.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var V=K,Y=n(54);var H=Object(d.makeOutboundLink)(),W=function(e){_()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=k()(t);if(n){var o=k()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return S()(this,e)});function o(e){var t;return h()(this,o),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(j()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(j()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(j()(t)),t}return w()(o,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(i.__)("Twelve months ago","wordpress-seo"),Object(i.__)("Eleven months ago","wordpress-seo"),Object(i.__)("Ten months ago","wordpress-seo"),Object(i.__)("Nine months ago","wordpress-seo"),Object(i.__)("Eight months ago","wordpress-seo"),Object(i.__)("Seven months ago","wordpress-seo"),Object(i.__)("Six months ago","wordpress-seo"),Object(i.__)("Five months ago","wordpress-seo"),Object(i.__)("Four months ago","wordpress-seo"),Object(i.__)("Three months ago","wordpress-seo"),Object(i.__)("Two months ago","wordpress-seo"),Object(i.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,o=t.countryCode,s=t.data,c=t.renderAction,l="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(o);return s&&!Object(u.isEmpty)(s.results)&&Object(a.createElement)(a.Fragment,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",className:"yoast-table--primary"},Object(i.__)("Related keyphrase","wordpress-seo")),Object(a.createElement)("th",{scope:"col",abbr:Object(i.__)("Volume","wordpress-seo")},Object(i.__)("Volume","wordpress-seo"),Object(a.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(a.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(a.createElement)("th",{scope:"col",abbr:Object(i.__)("Trend","wordpress-seo")},Object(i.__)("Trend","wordpress-seo"),Object(a.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(a.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(a.createElement)("td",{className:"yoast-table--nobreak"}))),Object(a.createElement)("tbody",null,s.results.rows.map((function(t,n){var o=t[0],s=e.transformTrendDataToChartPoints(t[2]),u=e.getAreaChartDataTableHeaderLabels();return Object(a.createElement)("tr",{key:n},Object(a.createElement)("td",null,o),Object(a.createElement)("td",null,t[1]),Object(a.createElement)("td",{className:"yoast-table--nopadding"},Object(a.createElement)(V,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:u})),c&&Object(a.createElement)("td",{className:"yoast-table--nobreak"},c(o,r)))})))),Object(a.createElement)("p",{style:{marginBottom:0}},Object(a.createElement)(H,{href:l},Object(i.sprintf)(
|
20 |
/* translators: %s expands to Semrush */
|
21 |
-
Object(i.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),o}(a.Component);
|
22 |
/* translators: %s: Expands to "Yoast SEO". */
|
23 |
Object(i.__)("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(a.createElement)(z,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(i.sprintf)(
|
24 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
25 |
Object(i.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Q=function(){return Object(a.createElement)(l.Alert,{type:"error"},Object(i.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},Z=function(){return Object(a.createElement)(l.Alert,{type:"warning"},Object(i.sprintf)(
|
26 |
/* translators: %s: Expands to "Yoast SEO". */
|
27 |
-
Object(i.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function J(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,o=e.newRequest,s=e.setCountry,c=e.renderAction,l=e.countryCode,
|
28 |
/* translators: %s expands to Yoast SEO Premium */
|
29 |
Object(j.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(w.createElement)("div",null,Object(w.createElement)(M,{href:n,className:"UpsellLinkButton"},Object(j.sprintf)(
|
30 |
/* translators: %s expands to Premium */
|
31 |
-
Object(j.__)("Go %s!","wordpress-seo"),"Premium"),Object(w.createElement)(I,{icon:"arrow-right",size:"8px",color:_.colors.$color_black}))))};N.propTypes={alignment:S.a.oneOf(["horizontal","vertical"]),url:S.a.string.isRequired},N.defaultProps={alignment:"vertical"};var L,F,q=N,B=n(28),U=n(51),K=n(68),V=n(37),
|
32 |
/* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
|
33 |
-
Object(j.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=
|
34 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
35 |
Object(j.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("Superfast internal linking suggestions","wordpress-seo"),"</strong>"),Object(j.sprintf)(
|
36 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
@@ -44,11 +44,11 @@ Object(j.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO
|
|
44 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
45 |
Object(j.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("Superfast internal linking suggestions","wordpress-seo"),"</strong>"),Object(j.sprintf)(
|
46 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
47 |
-
Object(j.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("24/7 email support","wordpress-seo"),"</strong>"),"<strong>".concat(Object(j.__)("No ads!","wordpress-seo"),"</strong>")],r=
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(j.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(w.createElement)($,{infoParagraphs:[r,o],benefits:n,upsellButtonText:Object(j.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
-
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(j.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:S.a.string.isRequired,buyLink:S.a.string.isRequired};var te,ne=ee,re=n(39),oe=n.n(re),ae=n(53),ie=
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
@@ -56,28 +56,28 @@ Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["
|
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
-
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(w.createElement)(ue,t,Object(w.createElement)(K.a,null,Object(w.createElement)(K.b,{icon:E.YoastSeoIcon}),Object(w.createElement)("h2",null,Object(j.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(w.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=U.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(w.createElement)(r,{prefixIcon:{icon:"plus",color:_.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:_.colors.$color_grey_medium_dark},title:Object(j.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(w.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(w.createElement)(q,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(w.createElement)(le.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(j.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(w.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?U.a:pe.a;return Object(w.createElement)(w.Fragment,null,Object(w.createElement)(r,{title:Object(j.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(ge.getIconForScore)(t.className),prefixIconCollapsed:Object(ge.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(w.createElement)(fe,{location:n}),e.props.shouldUpsell&&Object(w.createElement)(w.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(w.createElement)(he,null,Object(j.__)("Analysis results","wordpress-seo")),Object(w.createElement)(D.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),o}(w.Component);Oe.propTypes={results:S.a.array,marksButtonStatus:S.a.string,keyword:S.a.string,shouldUpsell:S.a.bool,shouldUpsellWordFormRecognition:S.a.bool,overallScore:S.a.number},Oe.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(v.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,o=n.getMarksButtonStatus,a=n.getResultsForKeyword,i=r();return ye(ye({},a(i)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:i})}))(Oe)},,function(e,t,n){"use strict";var r,o=n(19),a=n(4),i=n(0),s=n(3),c=n(18),u=n(6),l=n(9),p=n(1),d=n.n(p),f=n(5),m=n.n(f),g=n(7),b=n.n(g),y=n(13),h=n.n(y),O=n(14),w=n.n(O),v=n(8),j=n.n(v),E=n(15),_=n.n(E),T=n(12);var S=n.n(T).a.div(r||(r=_()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),R=function(e){h()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=j()(t);if(n){var o=j()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return w()(this,e)});function o(){return m()(this,o),r.apply(this,arguments)}return b()(o,[{key:"render",value:function(){return Object(i.createElement)(S,null,Object(i.createElement)(u.Toggle,{id:this.props.id,labelText:Object(s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),o}(i.Component);R.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},R.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var k=R,P=n(51),D=n(50),x=Object(l.makeOutboundLink)();function A(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,o=e.location,a="metabox"===o?P.a:D.a;return Object(i.createElement)(a,{id:Object(l.join)(["yoast-cornerstone-collapsible",o]),title:Object(s.__)("Cornerstone content","wordpress-seo")},Object(i.createElement)(u.HelpText,null,Object(s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(i.createElement)(x,{href:r},Object(s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(i.createElement)(k,{id:Object(l.join)(["yoast-cornerstone",o]),isEnabled:t,onToggle:n}),Object(i.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}A.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},A.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var C=n(57);t.a=Object(o.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(C.a)()])(A)},function(e,t,n){"use strict";var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=n(11),c=n.n(s),u=n(13),l=n.n(u),p=n(14),d=n.n(p),f=n(8),m=n.n(f),g=n(15),b=n.n(g),y=n(0),h=n(18),O=n(19),w=n(4),v=n(3),j=n(1),E=n.n(j),_=n(12),T=n.n(_),S=n(22),R=n(47),k=n.n(R),P=n(26),D=n.n(P),x=n(64),A=n.n(x),C=n(6),I=n(68),M=n(53),N=n(111),L=n(92);var F=function(e){l()(u,e);var t,n,r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m()(r);if(a){var n=m()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function u(e){var t;return o()(this,u),(t=s.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return i()(u,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(L.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=k()(D.a.mark((function e(t){var n,r;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=k()(D.a.mark((function e(t){var n,r,o;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,A()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(o=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(o.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,o=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(C.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(v.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(M.a,{title:Object(v.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(N.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(I.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(h.Slot,{name:"YoastRelatedKeyphrases"}))),!o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(C.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(v.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(v.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),u}(y.Component);F.propTypes={keyphrase:E.a.string,location:E.a.string,whichModalOpen:E.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:E.a.bool,onOpen:E.a.func.isRequired,onOpenWithNoKeyphrase:E.a.func.isRequired,onClose:E.a.func.isRequired,onAuthentication:E.a.func.isRequired},F.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var q,B=F,U=Object(O.compose)([Object(w.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(w.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,o=t.setSEMrushDismissModal,a=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){o()},onAuthentication:function(e){a(e)}}}))])(B),K=n(28),V=n(54);var Y=T.a.div(q||(q=b()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),H=function(e){l()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return d()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return i()(a,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(v.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(v.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(v.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(K.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(S.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(v.__)("Focus keyphrase","wordpress-seo"),helpLink:a.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(U,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(h.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(V.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(v.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),a}(y.Component);H.propTypes={keyword:E.a.string,onFocusKeywordChange:E.a.func.isRequired,onFocusKeyword:E.a.func.isRequired,onBlurKeyword:E.a.func.isRequired,isSEMrushIntegrationActive:E.a.bool,displayNoKeyphraseMessage:E.a.bool},H.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(O.compose)([Object(w.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(w.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(H)},function(e,t,n){"use strict";var r,o,a,i=n(10),s=n.n(i),c=n(5),u=n.n(c),l=n(7),p=n.n(l),d=n(13),f=n.n(d),m=n(14),g=n.n(m),b=n(8),y=n.n(b),h=n(15),O=n.n(h),w=n(0),v=n(4),j=n(1),E=n.n(j),_=n(12),T=n.n(_),S=n(3),R=n(2),k=n(96),P=n(81),D=n(50),x=n(42),A=n(35),C=n(28),I=n(54),M=n(36);function N(e){var t=e.target,n=e.children;return Object(w.createElement)(M.a,{target:t},n)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}N.propTypes={target:E.a.string.isRequired,children:E.a.node.isRequired};var q=T.a.span(r||(r=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=T.a.div(o||(o=O()(["\n\tpadding: 16px;\n"]))),U=T()(I.a)(a||(a=O()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),K=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g()(this,e)});function o(){return u()(this,o),r.apply(this,arguments)}return p()(o,[{key:"renderResults",value:function(){return Object(w.createElement)(w.Fragment,null,Object(w.createElement)(q,null,Object(S.__)("Analysis results","wordpress-seo"),Object(w.createElement)(U,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(w.createElement)("span",{className:"screen-reader-text"},Object(S.__)("Learn more about the readability analysis","wordpress-seo")))),Object(w.createElement)(P.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(w.createElement)(C.LocationConsumer,null,(function(n){return"sidebar"===n?Object(w.createElement)(D.a,{title:Object(S.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(A.getIconForScore)(t.className),prefixIconCollapsed:Object(A.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(w.createElement)(N,{target:"wpseo-metabox-readability-root"},Object(w.createElement)(B,null,Object(w.createElement)(k.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),o}(w.Component);K.propTypes={results:E.a.array.isRequired,marksButtonStatus:E.a.string.isRequired,overallScore:E.a.number},K.defaultProps={overallScore:null},t.a=Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return F(F({},n()),{},{marksButtonStatus:r()})}))(K)},function(e,t,n){"use strict";var r,o=n(10),a=n.n(o),i=n(0),s=n(19),c=n(4),u=n(3),l=n(1),p=n.n(l),d=n(30),f=n.n(d),m=n(15),g=n.n(m),b=n(6),y=n(18),h=n(9),O=n(37),w=n.n(O),v=n(12),j=n.n(v),E=n(85),_=n(83),T=j.a.div(r||(r=g()(["\n\tpadding: 16px;\n"]))),S=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(u.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
-
Object(u.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
-
Object(u.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
67 |
-
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(a.createElement)(
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
-
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:u,selected:t,linkTo:"
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
-
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:l.a.string.isRequired,onNoFollowChange:l.a.func.isRequired,postTypeName:l.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:l.a.array.isRequired,onAdvancedChange:l.a.func.isRequired};var g=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(p.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};g.propTypes={breadcrumbsTitle:l.a.string.isRequired,onBreadcrumbsTitleChange:l.a.func.isRequired};var b=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(p.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};b.propTypes={canonical:l.a.string.isRequired,onCanonicalChange:l.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,u=e.onAdvancedChange,l=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,h=e.isLoading,O=e.editorContext,w=e.isBreadcrumbsDisabled,v=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){h&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:v},E={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:u},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:l},S={canonical:i,onCanonicalChange:p};return h?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(d,j),O.isPost&&Object(a.createElement)(f,E),O.isPost&&Object(a.createElement)(m,_),!w&&Object(a.createElement)(g,T),Object(a.createElement)(b,S))};y.propTypes={noIndex:l.a.string.isRequired,canonical:l.a.string.isRequired,onNoIndexChange:l.a.func.isRequired,onCanonicalChange:l.a.func.isRequired,onLoad:l.a.func.isRequired,isLoading:l.a.bool.isRequired,editorContext:l.a.object.isRequired,isBreadcrumbsDisabled:l.a.bool.isRequired,isPrivateBlog:l.a.bool,advanced:l.a.array,onAdvancedChange:l.a.func,noFollow:l.a.string,onNoFollowChange:l.a.func,breadcrumbsTitle:l.a.string,onBreadcrumbsTitleChange:l.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var h=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,u=(0,t.getPreferences)(),l=u.isBreadcrumbsDisabled,p=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:l,isPrivateBlog:p}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(h)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function p(e){return(""+e).replace(l,"$&/")}var d,f,m=g,g=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,u=e.func,l=e.context,d=u.call(l,t,e.count++);Array.isArray(d)?h(d,s,n,a.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(o=d,i=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(d))}function h(e,t,n,r,a){var s="";null!=n&&(s=p(n)+"/");var l=b.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===o)return r(a,t,""===n?"."+u(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)p+=e(s=t[f],d+u(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var g,b=m.call(t),y=0;!(g=b.next()).done;)p+=e(s=g.value,d+u(s,y++),r,a);else if("object"===l){var h=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===h?"object with keys {"+Object.keys(t).join(", ")+"}":h,"")}}return p}(e,"",t,n)}(e,y,l),b.release(l)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=b).instancePool=[],f.getPooled=d||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)h(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(34),o=n.n(r),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(2),l=function(){function e(t){i()(this,e),this.refresh=t,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}return c()(e,[{key:"_registerPlugin",value:function(e,t){return Object(u.isString)(e)?Object(u.isUndefined)(t)||Object(u.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}},{key:"_ready",value:function(e){return Object(u.isString)(e)?Object(u.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_reloaded",value:function(e){return Object(u.isString)(e)?Object(u.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_registerModification",value:function(e,t,n,r){if(!Object(u.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!Object(u.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!Object(u.isString)(n))return console.error("Failed to register modification for plugin "+n+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(n))return console.error("Failed to register modification for plugin "+n+". The integration has not finished loading yet."),!1;var o={callable:t,origin:n,priority:Object(u.isNumber)(r)?r:10};return Object(u.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(o),!0}},{key:"_registerAssessment",value:function(e,t,n,r){return Object(u.isString)(t)?Object(u.isObject)(n)?Object(u.isString)(r)?(t=r+"-"+t,e.addAssessment(t,n),!0):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+r+". Expected parameter `name` to be a string."),!1)}},{key:"_applyModifications",value:function(e,t,n){var r=this.modifications[e];return!Object(u.isArray)(r)||r.length<1||((r=this._stripIllegalModifications(r)).sort((function(e,t){return e.priority-t.priority})),Object(u.forEach)(r,(function(r){var a=r.callable(t,n);o()(a)===o()(t)?t=a:console.error("Modification with name "+e+" performed by plugin with name "+r.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}},{key:"_pollLoadingPlugins",value:function(e){e=Object(u.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}},{key:"_allReady",value:function(){return Object(u.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}},{key:"_pollTimeExceeded",value:function(){Object(u.forEach)(this.plugins,(function(e,t){Object(u.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}},{key:"_stripIllegalModifications",value:function(e){var t=this;return Object(u.forEach)(e,(function(n,r){!1===t._validateOrigin(n.origin)&&delete e[r]})),e}},{key:"_validateOrigin",value:function(e){return"ready"===this.plugins[e].status}},{key:"_validateUniqueness",value:function(e){return Object(u.isUndefined)(this.plugins[e])}}]),e}()},function(e,t,n){"use strict";n.r(t);var r=n(110);n.d(t,"DISMISS_ALERT",(function(){return r.DISMISS_ALERT}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=jQuery;function a(e,t,n,r){this._scriptUrl=r,this._options={usedKeywords:t.keyword_usage,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._postID=o("#post_ID, [name=tag_ID]").val(),this._taxonomy=o("[name=taxonomy]").val()||"",this._ajaxAction=e,this._refreshAnalysis=n,this._initialized=!1}a.prototype.init=function(){var e=this,t=window.YoastSEO.analysis.worker;this.requestKeywordUsage=Object(r.debounce)(this.requestKeywordUsage.bind(this),500),t.loadScript(this._scriptUrl).then((function(){t.sendMessage("initialize",e._options,"used-keywords-assessment")})).then((function(){e._initialized=!0,Object(r.isEqual)(e._options.usedKeywords,e._keywordUsage)?e._refreshAnalysis():t.sendMessage("updateKeywordUsage",e._keywordUsage,"used-keywords-assessment").then((function(){return e._refreshAnalysis()}))})).catch((function(e){return console.error(e)}))},a.prototype.setKeyword=function(e){Object(r.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},a.prototype.requestKeywordUsage=function(e){o.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy},this.updateKeywordUsage.bind(this,e),"json")},a.prototype.updateKeywordUsage=function(e,t){var n=this,o=window.YoastSEO.analysis.worker;t&&Object(r.isArray)(t)&&(this._keywordUsage[e]=t,this._initialized&&o.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((function(){return n._refreshAnalysis()})))}},,,function(e,t,n){"use strict";var r=n(74),o=n(10),a=n.n(o),i=n(44);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={noIndex:"",noFollow:"",advanced:[],breadcrumbsTitle:"",canonical:"",isLoading:!0},l=n(22),p=n(25);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m={snippet:{},timestamp:0},g=n(113),b=n(2);function y(){return{contentLocale:Object(b.get)(window,"wpseoScriptData.metabox.contentLocale",""),isBlockEditor:"1"===Object(b.get)(window,"wpseoScriptData.isBlockEditor","0"),isElementorEditor:"1"===Object(b.get)(window,"wpseoScriptData.isElementorEditor","0"),isPost:Object(b.get)(window,"wpseoScriptData",{}).hasOwnProperty("isPost"),isTerm:Object(b.get)(window,"wpseoScriptData",{}).hasOwnProperty("isTerm"),noIndex:"1"===Object(b.get)(window,"wpseoAdminL10n.noIndex","0"),postTypeNameSingular:Object(b.get)(window,"wpseoAdminL10n.postTypeNameSingular",""),postTypeNamePlural:Object(b.get)(window,"wpseoAdminL10n.postTypeNamePlural","")}}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w={content:"",excerpt:"",imageUrl:"",slug:"",title:""};function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E={openedModal:""},_=n(67);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R={estimatedReadingTime:0},k=n(49);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x={title:"",description:"",warnings:[],image:{url:"",id:""}},A=n(60),C=n(59),I=n(75);function M(e,t){return t.isMarkerPaused}var N=n(45),L=n(65),F=n(55),q=n(20),B=function(){var e=Object(q.a)();return Object(b.get)(e,"wordFormRecognitionActive",!1)};function U(){var e=Object(q.a)();return 1===Object(b.get)(e,"semrushIntegrationActive",0)}function K(){var e=Object(q.a)();return 1===Object(b.get)(e,"zapierIntegrationActive",0)}function V(){var e=Object(q.a)();return 1===Object(b.get)(e,"zapierConnectedStatus",0)}function Y(){var e,t=!!window.wpseoAdminL10n.displayAdvancedTab;return{isContentAnalysisActive:Object(L.a)(),isKeywordAnalysisActive:Object(F.a)(),isWordFormRecognitionActive:Object(b.isUndefined)(window.wpseoPremiumMetaboxData)&&B(),isCornerstoneActive:(e=Object(q.a)(),1===Object(b.get)(e,"cornerstoneActive",0)),isBreadcrumbsDisabled:!!window.wpseoAdminL10n.isBreadcrumbsDisabled,isPrivateBlog:!!window.wpseoAdminL10n.isPrivateBlog,isSEMrushIntegrationActive:U(),shouldUpsell:Object(b.isUndefined)(window.wpseoPremiumMetaboxData),displayAdvancedTab:t,displaySchemaSettings:t&&!!window.wpseoScriptData.isPost,displaySchemaSettingsFooter:window.wpseoScriptData.metabox.schema.displayFooter,displayFacebook:window.wpseoScriptData.metabox.showSocial.facebook,displayTwitter:window.wpseoScriptData.metabox.showSocial.twitter,isZapierIntegrationActive:K(),isZapierConnected:V()}}var H=n(76);function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z={},$=n(56);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X={pageType:"",defaultPageType:"",articleType:"",defaultArticleType:""},J={whichModalOpen:"none",displayNoKeyphraseMessage:!1},ee=n(41);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re={isRequestPending:!1,keyphrase:"",countryCode:"us",isSuccess:!1,response:null,limitReached:!1,hasData:!0,isLoggedIn:!1},oe=n(114),ae=n(77);function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ce={},ue=n(116),le=n(48);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fe={title:"",description:"",warnings:[],image:{url:"",id:""}},me=n(78);function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ye={message:[]};t.a={activeMarker:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.a:return t.activeMarker;default:return e}},advancedSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.a:return c(c({},e),t.settings);case i.f:return c(c({},e),{},{noIndex:t.value});case i.e:return c(c({},e),{},{noFollow:t.value});case i.b:return c(c({},e),{},{advanced:t.value});case i.d:return c(c({},e),{},{canonical:t.value});case i.c:return c(c({},e),{},{breadcrumbsTitle:t.value});default:return e}},analysis:l.analysis,analysisData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case p.UPDATE_SNIPPET_DATA:return f(f({},e),{},{snippet:t.data});case p.RUN_ANALYSIS:return f(f({},e),{},{timestamp:t.timestamp})}return e},dismissedAlerts:g.a,editorContext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y();return e},editorData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case p.SET_EDITOR_DATA_CONTENT:return O(O({},e),{},{content:t.content});case p.SET_EDITOR_DATA_EXCERPT:return O(O({},e),{},{excerpt:t.excerpt});case p.SET_EDITOR_DATA_IMAGE_URL:return O(O({},e),{},{imageUrl:t.imageUrl});case p.SET_EDITOR_DATA_SLUG:return O(O({},e),{},{slug:t.slug});case p.SET_EDITOR_DATA_TITLE:return O(O({},e),{},{title:t.title})}return e},editorModals:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case p.OPEN_EDITOR_MODAL:return j(j({},e),{},{openedModal:t.modalKey});case p.CLOSE_EDITOR_MODAL:return j(j({},e),{},{openedModal:""})}return e},estimatedReadingTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case _.a:case _.b:return S(S({},e),{},{estimatedReadingTime:t.estimatedReadingTime});default:return e}},facebookEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case k.b:return D(D({},e),{},{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case k.e:return D(D({},e),{},{title:t.title});case k.c:return D(D({},e),{},{description:t.description});case k.d:return D(D({},e),{},{warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url}});case k.a:return D(D({},e),{},{image:{url:"",id:""},warnings:[]});default:return e}},focusKeyword:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case A.a:case A.b:return t.keyword;default:return e}},isCornerstone:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case C.c:return!e;case C.b:return t.isCornerstone;default:return e}},isMarkerPaused:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case I.a:return M(0,t);default:return e}},marksButtonStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"disabled",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case N.a:return t.marksButtonStatus;default:return e}},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y();return e},primaryTaxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case H.a:return G(G({},e),{},a()({},t.taxonomy,t.termId));default:return e}},schemaTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $.d:return Z(Z({},e),{},{pageType:t.pageType});case $.c:return Z(Z({},e),{},{articleType:t.articleType});case $.b:return Z(Z({},e),{},{pageType:t.pageType,defaultPageType:t.defaultPageType});case $.a:return Z(Z({},e),{},{articleType:t.articleType,defaultArticleType:t.defaultArticleType});default:return e}},SEMrushModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case p.MODAL_OPEN_NO_KEYPHRASE:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case p.MODAL_OPEN:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case p.MODAL_DISMISS:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e},SEMrushRequest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ee.b:return ne(ne({},e),{},{isRequestPending:!0,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null});case ee.g:return ne(ne({},e),{},{isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0});case ee.e:return ne(ne({},e),{},{isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1});case ee.f:return ne(ne({},e),{},{isRequestPending:!1,limitReached:!0,hasData:!1});case ee.a:return ne(ne({},e),{},{countryCode:t.countryCode});case ee.c:return ne(ne({},e),{},{isSuccess:!0,isRequestPending:!1,hasData:!1,response:null});case ee.d:return ne(ne({},e),{},{isLoggedIn:t.loginStatus});default:return e}},settings:oe.a,shoppingData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ce,t=arguments.length>1?arguments[1]:void 0;if(t.type===ae.a){var n=Object(b.pick)(t.shoppingData,["rating","reviewCount","availability","price"]);return se(se({},e),n)}return e},snippetEditor:ue.a,twitterEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case le.b:return de(de({},e),{},{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case le.e:return de(de({},e),{},{title:t.title});case le.c:return de(de({},e),{},{description:t.description});case le.d:return de(de({},e),{},{image:{id:t.image.id,url:t.image.url},warnings:t.image.warnings});case le.a:return de(de({},e),{},{image:{url:"",id:""},warnings:[]});default:return e}},warning:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case me.a:return be(be({},e),{},{message:t.message});default:return e}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(4),o=n(2),a=n(23);function i(e){window.YoastSEO.analysis.worker.runResearch("readingTime",new a.Paper(e,{})).then((function(e){Object(r.dispatch)("yoast-seo/editor").setEstimatedReadingTime(e.result)}))}var s=Object(o.debounce)(i,1500,{maxWait:3e3}),c="",u=null;function l(){var e=Object(r.select)("core/editor").getCurrentPostId(),t=Object(r.select)("core/editor").getCurrentPostType(),n=Object(r.select)("core").getEditedEntityRecord("postType",t,e);if(u!==n){u=n;var o=Object(r.select)("core/editor").getEditedPostAttribute("content");c!==o&&(c=o,i(o))}}function p(){var e=Object(r.select)("yoast-seo/editor").getEditorDataContent();c!==e&&(c=e,i(e))}function d(){var e,t;!1!==Object(o.get)(window,"wpseoScriptData.analysis.estimatedReadingTimeEnabled",!1)&&(Object(r.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),"1"===window.wpseoScriptData.isElementorEditor?Object(r.subscribe)(Object(o.debounce)(p,1500,{maxWait:3e3})):"1"===window.wpseoScriptData.isBlockEditor?Object(r.subscribe)(Object(o.debounce)(l,1500,{maxWait:3e3})):(e=["input","change","cut","paste"],t="1"===Object(o.get)(window,"wpseoScriptData.isPost","0")?"content":"description",jQuery(document).on("tinymce-editor-init",(function(n,r){r.id===t&&e.forEach((function(e){r.on(e,(function(){s(r.getContent())}))}))}))))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"category",(function(){return Se})),n.d(r,"currentYear",(function(){return Re})),n.d(r,"date",(function(){return ke})),n.d(r,"excerpt",(function(){return Pe})),n.d(r,"focusKeyphrase",(function(){return De})),n.d(r,"id",(function(){return xe})),n.d(r,"modified",(function(){return Ae})),n.d(r,"name",(function(){return Ce})),n.d(r,"page",(function(){return Ie})),n.d(r,"pageNumber",(function(){return Me})),n.d(r,"pageTotal",(function(){return Ne})),n.d(r,"postTypeNamePlural",(function(){return Le})),n.d(r,"postTypeNameSingular",(function(){return Fe})),n.d(r,"primaryCategory",(function(){return qe})),n.d(r,"searchPhrase",(function(){return Be})),n.d(r,"separator",(function(){return Ue})),n.d(r,"siteDescription",(function(){return Ke})),n.d(r,"siteName",(function(){return Ve})),n.d(r,"tag",(function(){return Ye})),n.d(r,"term404",(function(){return He})),n.d(r,"termDescription",(function(){return We})),n.d(r,"termHierarchy",(function(){return Ge})),n.d(r,"termTitle",(function(){return ze})),n.d(r,"title",(function(){return Qe})),n.d(r,"userDescription",(function(){return Ze}));var o={};n.r(o),n.d(o,"getAnalysisData",(function(){return qt}));var a={};n.r(a),n.d(a,"updateData",(function(){return Kt})),n.d(a,"loadSnippetEditorData",(function(){return Vt}));var i=n(4),s=n(63),c=n(151),u=null,l=function(){if(null===u){var e=Object(i.dispatch)("yoast-seo/editor").runAnalysis;u=new c.a(e)}return u},p=function(e){return l()._ready(e)},d=function(e){return l()._reloaded(e)},f=function(e,t,n,r){return l()._registerModification(e,t,n,r)},m=function(e,t){return l()._registerPlugin(e,t)},g=function(e,t,n){return l().loaded?l()._applyModifications(e,t,n):t},b=n(61),y=n(46),h=n.n(y),O=n(47),w=n.n(O),v=n(26),j=n.n(v),E=n(2),_=n(23),T=n(104),S=n(72),R=n(86),k=n(118);function P(){return(P=w()(j.a.mark((function e(t,n){var r,o,a,s,c,u,l,p;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.text,o=h()(n,["text"]),a=new _.Paper(r,o),e.prev=2,e.next=5,t.analyze(a);case 5:s=e.sent,c=s.result,u=c.seo,l=c.readability,u&&((p=u[""]).results=Object(R.sortResultsByIdentifier)(p.results),Object(i.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(a.getKeyword(),p.results),Object(i.dispatch)("yoast-seo/editor").setOverallSeoScore(p.score,a.getKeyword())),l&&(l.results=Object(R.sortResultsByIdentifier)(l.results),Object(i.dispatch)("yoast-seo/editor").setReadabilityResults(l.results),Object(i.dispatch)("yoast-seo/editor").setOverallReadabilityScore(l.score)),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),Object(S.a)();case 14:case"end":return e.stop()}}),e,null,[[2,11]])})))).apply(this,arguments)}var D=Object(E.debounce)((function(_x,e){return P.apply(this,arguments)}),T.refreshDelay);function x(){var e=function(e){return e.title=g("data_page_title",e.title),e.title=g("title",e.title),e.description=g("data_meta_desc",e.description),e.text=g("content",e.text),e}((0,Object(i.select)("yoast-seo/editor").getAnalysisData)());return Object(s.applyFilters)("yoast.analysis.data",e)}var A=n(0),C=n(3),I=n(12),M=n(5),N=n.n(M),L=n(7),F=n.n(L),q=n(13),B=n.n(q),U=n(14),K=n.n(U),V=n(8),Y=n.n(V);function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y()(e);if(t){var o=Y()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return K()(this,n)}}var W=function(e){B()(n,e);var t=H(n);function n(e,r,o){var a;return N()(this,n),(a=t.call(this)).hook=e,a.id=r,a.callback=o,a}return F()(n,[{key:"getCommand",value:function(){return this.hook}},{key:"getId",value:function(){return this.id}},{key:"apply",value:function(){return this.callback()}}]),n}($e.modules.hookUI.Base),G=function(e){B()(n,e);var t=H(n);function n(e,r,o){var a;return N()(this,n),(a=t.call(this)).hook=e,a.id=r,a.callback=o,a}return F()(n,[{key:"getCommand",value:function(){return this.hook}},{key:"getId",value:function(){return this.id}},{key:"apply",value:function(){return this.callback()}}]),n}($e.modules.hookData.Base);function z(e,t,n){$e.hooks.registerUIAfter(new W(e,t,n))}var $=n(30),Q=n.n($),Z=n(18),X=n(20),J=n(103);var ee=[],te=null,ne=function(e){B()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Y()(t);if(n){var o=Y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return K()(this,e)});function o(e){var t;return N()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return F()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(Q()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(A.createElement)(t,{key:n})}))}}]),o}(A.Component);function re(e,t){null===te||null===te.current?ee.push({key:e,Component:t}):te.current.registerComponent(e,t)}var oe=n(120);function ae(){return Object(A.createElement)(Z.Slot,{name:"YoastElementor"},(function(e){return Object(oe.a)(e)}))}var ie=n(19),se=n(1),ce=n.n(se),ue=n(124),le=n(6);function pe(e){return 0===e.message.length?null:Object(A.createElement)(le.Alert,{type:e.type},e.message)}pe.propTypes={message:ce.a.oneOfType([ce.a.array,ce.a.string]).isRequired,type:ce.a.string.isRequired};var de=Object(i.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)(),type:"info"}}))(pe),fe=n(125),me=n(126),ge=n(122),be=n(32),ye=n(84),he=n(10),Oe=n.n(he),we=n(27),ve=n.n(we),je=n(147),Ee=n(112),_e=n(57),Te=n(9),Se={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},Re={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},ke={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},Pe={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},De={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},xe={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},Ae={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},Ce={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},Ie={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},Me={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},Ne={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},Le={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},Fe={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},qe={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},Be={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},Ue={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},Ke={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},Ve={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},Ye={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},He={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},We={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return Object(E.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},Ge={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},ze={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},Qe={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},Ze={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")},Xe=n(31),Je=null,et=null,tt=function(e){["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach((function(t){f(t,e,"replaceVariablePlugin",10)}))},nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(""===e&&(e=Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["category","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]},rt=function(e){return tt((function(t){return t.replace(new RegExp(e.placeholder,"g"),e.replacement)}))},ot=function(){return null===et&&(et=[],(null===Je&&(Je=nt().map((function(e){return r[e]}))),Je).forEach((function(e){et.push({name:e.name,label:e.label,value:e.placeholder}),e.aliases.forEach((function(e){et.push({name:e.name,label:e.label,value:e.placeholder})}))}))),et};var at=Te.strings.stripHTMLTags,it=function(e,t){var n=Object(i.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=n.title),""===e.description&&(e.description=n.description);var r=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(r=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[r]&&(e.url=e.url.slice(0,r)+e.url.slice(r+1)),{url:e.url,title:at(g("data_page_title",e.title)),description:at(g("data_meta_desc",e.description))}},st=function(e){var t=e.isLoading,n=e.onLoad,r=e.location,o=h()(e,["isLoading","onLoad","location"]);return Object(A.useEffect)((function(){setTimeout((function(){t&&n()}))})),t?null:Object(A.createElement)(Ee.a,{icon:"eye",hasPaperStyle:o.hasPaperStyle},Object(A.createElement)(je.SnippetEditor,ve()({},o,{descriptionPlaceholder:Object(C.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:it,showCloseButton:!1,idSuffix:r})))};st.propTypes={isLoading:ce.a.bool.isRequired,onLoad:ce.a.func.isRequired,hasPaperStyle:ce.a.bool.isRequired,location:ce.a.string.isRequired};var ct=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getEditorDataImageUrl,a=t.getFocusKeyphrase,i=t.getRecommendedReplaceVars,s=t.getSiteIconUrlFromSettings,c=t.getSnippetEditorData,u=t.getSnippetEditorIsLoading,l=t.getSnippetEditorMode,p=t.getSnippetEditorWordsToHighlight;return{baseUrl:n(),data:c(),date:r(),faviconSrc:s(),isLoading:u(),keyword:a(),mobileImageSrc:o(),mode:l(),recommendedReplacementVariables:i(),replacementVariables:ot(),wordsToHighlight:p()}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData;return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t});break;default:n(Oe()({},e,t))}},onChangeAnalysisData:function(e){o(e)},onLoad:t.loadSnippetEditorData}})),Object(_e.a)()])(st),ut=function(){return Object(A.createElement)(ye.a,{title:Object(C.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(A.createElement)(ct,{showCloseButton:!1,hasPaperStyle:!1}))},lt=n(148),pt=null,dt=function(){return(pt||(pt=window.wp.media()).on("select",(function(){var e=pt.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};Object(i.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:Object(Te.validateTwitterImage)(t)})})),pt).open()},ft=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,a=t.getFacebookImageUrl,i=t.getFacebookTitle,s=t.getFacebookDescription,c=t.getDescription,u=t.getSeoTitle,l=t.getTwitterWarnings,p=t.getTwitterImageType,d=t.getEditorDataImageFallback,f=t.getRecommendedReplaceVars,m=t.getSiteUrl,g=t.getAuthorName,b=t.getSeoTitleTemplate,y=t.getSeoTitleTemplateNoFallback,h=t.getSocialTitleTemplate,O=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,v=t.getEditorDataExcerptWithFallback,j=Object(C.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(C.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),E=Object(C.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(C.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:o(),imageFallbackUrl:a()||
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(C.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),O=Object(C.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(C.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:s(),recommendedReplacementVariables:u(),replacementVariables:ot(),description:n(),descriptionPreviewFallback:b()||r()||g()||y()||O,title:o(),titlePreviewFallback:m()||a()||f()||
|
82 |
/* Translators: %1$s translates to the Post Label in singular form */
|
83 |
-
e=Object(C.sprintf)(Object(C.__)("Unfortunately we cannot save changes to your SEO settings while you are working on a draft of an already-published %1$s. If you want to save your SEO changes, make sure to click 'Update', or wait to make your SEO changes until you are ready to update the %1$s.","wordpress-seo"),window.wpseoAdminL10n.postTypeNameSingular.toLowerCase())),"draft"===window.elementor.settings.page.model.get("post_status")&&(e=""),Object(i.dispatch)("yoast-seo/editor").setWarningMessage(e)}),500,{trailing:!0});function xt(e){"yoast_wpseo_linkdex"!==e.name&&"yoast_wpseo_content_score"!==e.name&&"yoast_wpseo_words_for_linking"!==e.name&&e.value!==e.oldValue&&(Rt=!0,Dt(),window.$e.internal("document/save/set-is-modified",{status:!0}),kt(e))}function At(e){Rt=!1;var t=jQuery(e).serializeArray().reduce((function(e,t){var n=t.name,r=t.value;return e[n]=r,e}),{});jQuery.post(e.getAttribute("action"),t,(function(e,n,r){var o=e.success,a=e.data;o?(Object(s.doAction)("yoast.elementor.save.success",r),a.slug&&a.slug!==t.slug&&Object(i.dispatch)("yoast-seo/editor").updateData({slug:a.slug}),Pt(),Dt()):Rt=!0}))}function Ct(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=re,window.$e.routes.on("run:after",(function(e,t){"panel/page-settings/yoast-tab"===t&&function(e,t){var n=Object(X.a)();te=Object(A.createRef)();var r={isRtl:n.isRtl};Object(A.render)(Object(A.createElement)(J.a,{theme:r,location:"sidebar"},Object(A.createElement)(Z.SlotFillProvider,null,Object(A.createElement)(A.Fragment,null,t,Object(A.createElement)(ne,{ref:te})))),document.getElementById("elementor-panel-page-settings-controls")),ee.forEach((function(e){te.current.registerComponent(e.key,e.Component)}))}(0,Object(A.createElement)(I.StyleSheetManager,{target:document.getElementById("elementor-panel-inner")},Object(A.createElement)("div",{className:"yoast yoast-elementor-panel__fills"},Object(A.createElement)(ae,null),Object(A.createElement)(St,null))))})),window.elementor.settings.page.model.on("change",(function(e){e.changed&&e.changed.post_status&&Dt()}));var e,t=At.bind(null,document.getElementById("yoast-form"));e=function(){window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&t()},$e.hooks.registerDataAfter(new G("document/save/save","yoast-seo-save",e)),window.elementor.modules.layouts.panel.pages.menu.Menu.addItem({name:"yoast",icon:"yoast yoast-element-menu-icon",title:"Yoast SEO",type:"page",callback:function(){try{window.$e.routes.run("panel/page-settings/yoast-tab")}catch(e){window.$e.routes.run("panel/page-settings/settings"),window.$e.routes.run("panel/page-settings/yoast-tab")}}},"more"),Tt=document.querySelectorAll("input[name^='yoast']"),Pt(),setInterval((function(){return Tt.forEach(xt)}),500)}var It=n(185),Mt=n(156),Nt=n(25),Lt=n(71),Ft=n(73),qt=function(e){var t=Object(Ft.getSnippetEditorTitleWithTemplate)(e),n=Object(Ft.getSnippetEditorDescriptionWithTemplate)(e),r=Object(Ft.getSnippetEditorSlug)(e),o=Object(Ft.getBaseUrlFromSettings)(e);return t=Te.strings.stripHTMLTags(g("data_page_title",t)),n=Te.strings.stripHTMLTags(g("data_meta_desc",n)),r=r.trim().replace(/\s+/g,"-"),{text:Object(Ft.getEditorDataContent)(e),title:t,keyword:Object(Ft.getFocusKeyphrase)(e),description:n,locale:Object(Ft.getContentLocale)(e),titleWidth:Object(Lt.a)(t),url:r,permalink:o+r}},Bt=n(152),Ut=function(){function e(){N()(this,e)}return F()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}},{key:"slugElement",get:function(){return document.getElementById("yoast_wpseo_slug")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"slug",get:function(){return e.slugElement.value},set:function(t){e.slugElement.value=t}}]),e}();function Kt(e){if(e.hasOwnProperty("title")){var t=e.title;e.title===Object(E.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),Ut.title=t}if(e.hasOwnProperty("description")){var n=e.description;e.description===Object(E.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(n=""),Ut.description=n}return e.hasOwnProperty("slug")&&(Ut.slug=e.slug),{type:Nt.UPDATE_DATA,data:e}}var Vt=function(){var e=Object(E.get)(window,"wpseoScriptData.metabox.title_template",""),t=Object(E.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:Nt.LOAD_SNIPPET_EDITOR_DATA,data:{title:Ut.title||e,description:Ut.description||t,slug:Ut.slug},templates:{title:e,description:t}}};function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(n),!0).forEach((function(t){Oe()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wt=n(153),Gt={content:"",title:"",excerpt:"",slug:"",imageUrl:""};function zt(e){var t=window.elementor.settings.page.model.get("post_featured_image"),n=Object(E.get)(t,"url","");return""===n?function(e){var t=_.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=jQuery(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}(e):n}var $t=Object(E.debounce)((function(){var e=window.elementor.documents.getCurrent();if(["wp-post","wp-page"].includes(e.config.type)){var t,n={content:t=function(e){var t=[];return e.$element.find(".elementor-widget-container").each((function(e,n){t.push(n.innerHTML.trim())})),t.join("")}(e),title:window.elementor.settings.page.model.get("post_title"),excerpt:window.elementor.settings.page.model.get("post_excerpt")||"",imageUrl:zt(t)};n.content!==Gt.content&&(Gt.content=n.content,Object(i.dispatch)("yoast-seo/editor").setEditorDataContent(Gt.content)),n.title!==Gt.title&&(Gt.title=n.title,Object(i.dispatch)("yoast-seo/editor").setEditorDataTitle(Gt.title)),n.excerpt!==Gt.excerpt&&(Gt.excerpt=n.excerpt,Object(i.dispatch)("yoast-seo/editor").setEditorDataExcerpt(Gt.excerpt)),n.imageUrl!==Gt.imageUrl&&(Gt.imageUrl=n.imageUrl,Object(i.dispatch)("yoast-seo/editor").setEditorDataImageUrl(Gt.imageUrl))}}),500);function Qt(e,t){var n=Object(i.dispatch)("yoast-seo/editor").updateWordsToHighlight;e("morphology",new _.Paper("",{keyword:t})).then((function(e){var t=e.result.keyphraseForms;n(Object(E.uniq)(Object(E.flatten)(t)))})).catch((function(){n([])}))}var Zt=Object(E.debounce)(Qt,500);function Xt(){var e,t,n,c;window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=(function(e){e.dispatch(Nt.loadCornerstoneContent()),e.dispatch(Nt.loadFocusKeyword()),e.dispatch(Nt.setMarkerStatus("hidden")),e.dispatch(Nt.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,authorName:window.wpseoScriptData.metabox.author_name,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}}));var t=window.wpseoScriptData.metabox.showSocial,n=t.facebook,r=t.twitter;n&&e.dispatch(Nt.loadFacebookPreviewData()),r&&e.dispatch(Nt.loadTwitterPreviewData()),e.dispatch(Nt.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(Nt.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus))}(c=Object(i.registerStore)("yoast-seo/editor",{reducer:Object(i.combineReducers)(Mt.a),selectors:Ht(Ht({},Ft),o),actions:Object(E.pickBy)(Ht(Ht({},Nt),a),(function(e){return"function"==typeof e})),controls:Bt})),c),z("editor/documents/attach-preview","yoast-seo-content-scraper-attach-preview",$t),z("document/save/set-is-modified","yoast-seo-content-scraper-on-modified",$t),window.YoastSEO.pluginReady=p,window.YoastSEO.pluginReloaded=d,window.YoastSEO.registerModification=f,window.YoastSEO.registerPlugin=m,window.YoastSEO.applyModifications=g,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=Object(i.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=function(){var e=Object(i.select)("yoast-seo/editor"),t=e.getAnalysisTimestamp,n=e.isCornerstoneContent,r=Object(k.a)();r.initialize(Object(k.b)({useCornerstone:n()})).catch(S.a);var o=x(),a=n(),s=t();return Object(i.subscribe)((function(){var e=n(),i=x(),c=t();if(e!==a)return a=e,o=i,void r.initialize({useCornerstone:e}).then((function(){return D(r,i)})).catch(S.a);c===s&&!1!==Object(E.isEqual)(i,o)||(o=i,s=c,D(r,i))})),r}(),window.YoastSEO.analysis.collectData=x,m("replaceVariablePlugin",{status:"ready"}),nt().forEach((function(e){var t,n,o,a=(n=(t=r[e]).getReplacement,o=t.regexp,function(e){return e.replace(o,n())});tt(a)})),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:rt,ReplaceVar:Xe.a},function(){var e=Object(X.a)(),t=Object(E.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),n=new Wt.a("get_focus_keyword_usage",e,Object(i.dispatch)("yoast-seo/editor").runAnalysis,t);n.init();var r="";Object(i.subscribe)((function(){var e=Object(i.select)("yoast-seo/editor").getFocusKeyphrase();e!==r&&(r=e,n.setKeyword(e))}))}(),Object(It.a)(),e=window.YoastSEO.analysis.worker.runResearch,t=Object(i.select)("yoast-seo/editor").getFocusKeyphrase,n=t(),Qt(e,n),Object(i.subscribe)((function(){var r=t();n!==r&&(n=r,Zt(e,r))})),function(){if(!0!==window.elementor.config.user.introduction["yoast-introduction"]){var e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction",headerMessage:Object(C.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:Object(C.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"left top",at:"right top",autoRefresh:!0},hide:{onOutsideClick:!1}},onDialogInitCallback:function(t){window.$e.routes.on("run:after",(function(e,n){"panel/menu"===n&&t.getElements("ok").click()})),t.addButton({name:"ok",text:Object(C.__)("Got it","wordpress-seo"),callback:function(){return e.setViewed()}}),t.getElements("ok").addClass("elementor-button elementor-button-success")}});setTimeout((function t(){try{e.show(window.elementor.getPanelView().header.currentView.ui.menuButton[0])}catch(e){setTimeout(t,100)}}),100)}}(),Ct(),Object(s.doAction)("yoast.elementor.loaded")}Object(b.setYoastComponentsL10n)(),Object(b.setWordPressSeoL10n)(),jQuery(window).on("elementor:init",(function(){window.elementor.on("panel:init",(function(){setTimeout(Xt)}))}))}]);
|
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=347)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(70);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return b}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",l="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:o,mode:e}}function p(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:u,wordsToHighlight:e}}function g(e){return{type:s,name:e}}function b(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return u})),n.d(t,"runAnalysis",(function(){return l})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return d.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return d.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return d.b})),n.d(t,"loadCornerstoneContent",(function(){return d.d})),n.d(t,"setCornerstoneContent",(function(){return d.e})),n.d(t,"toggleCornerstoneContent",(function(){return d.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return p})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return g})),n.d(t,"setEditorDataContent",(function(){return b})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return h})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return w})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return v})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return E})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return S.a})),n.d(t,"setMarkerStatus",(function(){return S.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return k.a})),n.d(t,"setMarkerPauseStatus",(function(){return k.b})),n.d(t,"DISMISS_ALERT",(function(){return R.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return R.b})),n.d(t,"dismissAlert",(function(){return R.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return D.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return D.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return D.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return D.a})),n.d(t,"setPageType",(function(){return D.h})),n.d(t,"setArticleType",(function(){return D.g})),n.d(t,"getSchemaPageData",(function(){return D.f})),n.d(t,"getSchemaArticleData",(function(){return D.e})),n.d(t,"MODAL_DISMISS",(function(){return x})),n.d(t,"MODAL_OPEN",(function(){return A})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return C})),n.d(t,"setSEMrushDismissModal",(function(){return I})),n.d(t,"setSEMrushOpenModal",(function(){return M})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return N})),n.d(t,"CHANGE_COUNTRY",(function(){return L.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return L.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return L.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return L.f})),n.d(t,"NEW_REQUEST",(function(){return L.b})),n.d(t,"NO_DATA_FOUND",(function(){return L.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return L.d})),n.d(t,"setSEMrushNewRequest",(function(){return L.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return L.m})),n.d(t,"setSEMrushRequestFailed",(function(){return L.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return L.n})),n.d(t,"setSEMrushChangeCountry",(function(){return L.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return L.k})),n.d(t,"setSEMrushLoginStatus",(function(){return L.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return V.a})),n.d(t,"setWarningMessage",(function(){return V.b})),n.d(t,"setOverallReadabilityScore",(function(){return W})),n.d(t,"setOverallSeoScore",(function(){return H})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(74),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function u(e){return{type:s,data:e}}function l(){return{type:c,timestamp:Date.now()}}var d=n(59),p="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",g="SET_EDITOR_DATA_IMAGE_URL";function b(e){return{type:p,content:e}}function y(e){return{type:f,title:e}}function h(e){return{type:m,excerpt:e}}function O(e){return{type:g,imageUrl:e}}var w="OPEN_MODAL",v="CLOSE_MODAL";function j(e){return{type:w,modalKey:e}}function E(){return{type:v}}var _=n(67),T=n(60),S=n(45),k=n(75),R=n(69),P=n(76),D=n(56),x="MODAL_DISMISS",A="MODAL_OPEN",C="MODAL_OPEN_NO_KEYPHRASE";function I(){return{type:x}}function M(e){return{type:A,location:e}}function N(){return{type:C}}var L=n(41),F=n(43),q=n(77),B=n(17),U=n(48),K=n(49),V=n(78),W=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},H=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(87),o=n(88),a=n(89);e.exports=function(e){return r(e)||o(e)||a()}},function(e,t,n){"use strict";var r=n(2),o={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},a=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(r.defaults)(n,o)};a.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},a.prototype.setSource=function(e){this.options.source=e},a.prototype.hasScope=function(){return!Object(r.isEmpty)(this.options.scope)},a.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},a.prototype.inScope=function(e){return!this.hasScope()||Object(r.indexOf)(this.options.scope,e)>-1},a.prototype.hasAlias=function(){return!Object(r.isEmpty)(this.options.aliases)},a.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},a.prototype.getAliases=function(){return this.options.aliases},t.a=a},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(130)),i=s(n(133));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,i.default)(t);try{return function e(t,n){var i,s,u,l,d,p,f,m,g=[],b={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!n.hasOwnProperty(d.value)||void 0===n[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(n[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+c);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){i=n[d.value],u=p;break}g.push(n[d.value])}else g.push(d.value);return i&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,t),f=e(t.slice(u+1,l),n),s=o.default.cloneElement(i,{},f),g.push(s),l<t.length-1&&(m=e(t.slice(l+1),n),g=g.concat(m))),1===g.length?g[0]:(g.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,a.default)(b))}(u,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(99),o=n(100),a=n(101);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return g})),n.d(t,"pushNewReplaceVar",(function(){return b})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return h})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return w})),n.d(t,"mapCustomFields",(function(){return v})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=n(79),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function g(e){return c(e=m(e))}function b(e,t){return e.push({name:t.name,label:t.label||g(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function h(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function w(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(l({},e),"custom_taxonomies")):e}function v(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=h(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(l({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"m",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return b}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",u="SET_LOGIN_STATUS";function l(e,t){return{type:s,countryCode:e,keyphrase:t}}function d(e){return{type:o,response:e}}function p(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function g(){return{type:c}}function b(e){return{type:u,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return h})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",u="SET_NO_FOLLOW",l="SET_ADVANCED",d="SET_BREADCRUMBS_TITLE",p="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},g=function(e){return s.noFollow=e,{type:u,value:e}},b=function(e){return s.advanced=e.join(","),{type:l,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:d,value:e}},h=function(e){return s.canonical=e,{type:p,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_TWITTER_TITLE",l="SET_TWITTER_DESCRIPTION",d="SET_TWITTER_IMAGE",p="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_FACEBOOK_TITLE",l="SET_FACEBOOK_DESCRIPTION",d="SET_FACEBOOK_IMAGE",p="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(6),s=n(1),c=n.n(s),u=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),u=n(6),l=n(12),d=n.n(l)()(u.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),u=n.n(c),l=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),u=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(l.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:u},c),e.children)};p.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),u=n.n(c),l=Object(s.makeOutboundLink)(u.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"keywordAnalysisActive",0)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return d}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},u=function(e){return r.a.articleType=e,{type:a,articleType:e}},l=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},d=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,u(u({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return u}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},u=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return a})),n.d(t,"setYoastComponentsL10n",(function(){return i})),n.d(t,"setWordPressSeoL10n",(function(){return s}));var r=n(3),o=n(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function i(){a("yoast-components")}function s(){a("wordpress-seo")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return S}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),u=n(5),l=n.n(u),d=n(7),p=n.n(d),f=n(11),m=n.n(f),g=n(13),b=n.n(g),y=n(14),h=n.n(y),O=n(8),w=n.n(O),v=n(0),j=n(1),E=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){b()(u,n);var r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w()(r);if(a){var n=w()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)});function u(t){var n;l()(this,u),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return p()(u,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(v.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),u}(v.Component)}}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"contentAnalysisActive",0)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return d}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",u="LOAD_ESTIMATED_READING_TIME";function l(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function d(){return{type:u,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),u=n(6),l=n(9),d=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),p=c()(u.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(l.getDirectionalStyle)("right","left"),Object(l.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";function r(e){var t,n=document.getElementById("yoast-measurement-element");return n||((t=document.createElement("div")).id="yoast-measurement-element",t.style.position="absolute",t.style.left="-9999em",t.style.top=0,t.style.height=0,t.style.overflow="hidden",t.style.fontFamily="arial, sans-serif",t.style.fontSize="18px",t.style.fontWeight="400",document.body.appendChild(t),n=t),n.innerHTML=e,n.offsetWidth}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getNoIndex",(function(){return o})),n.d(t,"getNoFollow",(function(){return a})),n.d(t,"getAdvanced",(function(){return i})),n.d(t,"getBreadcrumbsTitle",(function(){return s})),n.d(t,"getCanonical",(function(){return c})),n.d(t,"getIsLoading",(function(){return u})),n.d(t,"getSeoTitle",(function(){return W})),n.d(t,"getDescription",(function(){return H})),n.d(t,"getPermalink",(function(){return Y})),n.d(t,"getAnalysisTimestamp",(function(){return G})),n.d(t,"getAnalysisData",(function(){return z})),n.d(t,"isCornerstoneContent",(function(){return $})),n.d(t,"getEditorContext",(function(){return d})),n.d(t,"getPostOrPageString",(function(){return p})),n.d(t,"getIsBlockEditor",(function(){return f})),n.d(t,"getIsElementorEditor",(function(){return m})),n.d(t,"getEditorType",(function(){return g})),n.d(t,"getContentLocale",(function(){return b})),n.d(t,"getEditorDataContent",(function(){return O})),n.d(t,"getEditorDataTitle",(function(){return w})),n.d(t,"getEditorDataExcerpt",(function(){return v})),n.d(t,"getEditorDataExcerptWithFallback",(function(){return j})),n.d(t,"getEditorDataImageUrl",(function(){return E})),n.d(t,"getEditorDataImageFallback",(function(){return _})),n.d(t,"getIsModalOpen",(function(){return Q})),n.d(t,"getEstimatedReadingTime",(function(){return Z})),n.d(t,"getFacebookTitle",(function(){return X})),n.d(t,"getFacebookDescription",(function(){return J})),n.d(t,"getFacebookImageUrl",(function(){return ee})),n.d(t,"getFacebookImageSrc",(function(){return te})),n.d(t,"getFacebookWarnings",(function(){return ne})),n.d(t,"getContentImage",(function(){return re})),n.d(t,"getImageFallback",(function(){return oe})),n.d(t,"getSiteUrl",(function(){return ae})),n.d(t,"getSeoTitleTemplate",(function(){return ie})),n.d(t,"getSeoTitleTemplateNoFallback",(function(){return se})),n.d(t,"getSocialTitleTemplate",(function(){return ce})),n.d(t,"getSeoDescriptionTemplate",(function(){return ue})),n.d(t,"getSocialDescriptionTemplate",(function(){return le})),n.d(t,"getReplacedExcerpt",(function(){return de})),n.d(t,"getFocusKeyphrase",(function(){return T})),n.d(t,"getActiveMarker",(function(){return pe})),n.d(t,"getMarkerPauseStatus",(function(){return fe})),n.d(t,"isMarkingAvailable",(function(){return me})),n.d(t,"getMarksButtonStatus",(function(){return ge})),n.d(t,"isAlertDismissed",(function(){return be})),n.d(t,"getPreferences",(function(){return ye})),n.d(t,"getIsKeywordAnalysisActive",(function(){return he})),n.d(t,"getPrimaryTaxonomyId",(function(){return Oe})),n.d(t,"getSeoResults",(function(){return _e})),n.d(t,"getResultsForKeyword",(function(){return Te})),n.d(t,"getReadabilityResults",(function(){return Se})),n.d(t,"getResultsForFocusKeyword",(function(){return ke})),n.d(t,"getResultById",(function(){return Re})),n.d(t,"getMarkButtonStatus",(function(){return Pe})),n.d(t,"getDefaultPageType",(function(){return De})),n.d(t,"getPageType",(function(){return xe})),n.d(t,"getDefaultArticleType",(function(){return Ae})),n.d(t,"getArticleType",(function(){return Ce})),n.d(t,"getSEMrushModalOpen",(function(){return Ie})),n.d(t,"getSEMrushNoKeyphraseMessage",(function(){return Me})),n.d(t,"getSEMrushIsRequestPending",(function(){return Ne})),n.d(t,"getSEMrushRequestIsSuccess",(function(){return Le})),n.d(t,"getSEMrushRequestResponse",(function(){return Fe})),n.d(t,"getSEMrushRequestLimitReached",(function(){return qe})),n.d(t,"getSEMrushRequestKeyphrase",(function(){return Be})),n.d(t,"getSEMrushSelectedCountry",(function(){return Ue})),n.d(t,"getSEMrushRequestHasData",(function(){return Ke})),n.d(t,"getSEMrushLoginStatus",(function(){return Ve})),n.d(t,"getAuthorName",(function(){return S})),n.d(t,"getSiteName",(function(){return k})),n.d(t,"getBaseUrlFromSettings",(function(){return R})),n.d(t,"getDateFromSettings",(function(){return P})),n.d(t,"getRecommendedReplaceVars",(function(){return D})),n.d(t,"getSiteIconUrlFromSettings",(function(){return x})),n.d(t,"getShoppingData",(function(){return We})),n.d(t,"getReplaceVars",(function(){return A})),n.d(t,"getSnippetEditorTemplates",(function(){return C})),n.d(t,"getSnippetEditorMode",(function(){return I})),n.d(t,"getSnippetEditorTitle",(function(){return M})),n.d(t,"getSnippetEditorTitleWithTemplate",(function(){return N})),n.d(t,"getSnippetEditorDescription",(function(){return L})),n.d(t,"getSnippetEditorDescriptionWithTemplate",(function(){return F})),n.d(t,"getSnippetEditorSlug",(function(){return q})),n.d(t,"getSnippetEditorData",(function(){return B})),n.d(t,"getSnippetEditorWordsToHighlight",(function(){return U})),n.d(t,"getSnippetEditorIsLoading",(function(){return K})),n.d(t,"getSnippetEditorPreviewImageUrl",(function(){return V})),n.d(t,"getTwitterTitle",(function(){return He})),n.d(t,"getTwitterDescription",(function(){return Ye})),n.d(t,"getTwitterImageUrl",(function(){return Ge})),n.d(t,"getTwitterImageType",(function(){return ze})),n.d(t,"getTwitterImageSrc",(function(){return $e})),n.d(t,"getTwitterWarnings",(function(){return Qe})),n.d(t,"getWarningMessage",(function(){return Ze}));var r=n(2),o=function(e){return Object(r.get)(e,"advancedSettings.noIndex","")},a=function(e){return Object(r.get)(e,"advancedSettings.noFollow","")},i=function(e){return Object(r.get)(e,"advancedSettings.advanced","")},s=function(e){return Object(r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},c=function(e){return Object(r.get)(e,"advancedSettings.canonical","")},u=function(e){return Object(r.get)(e,"advancedSettings.isLoading",!0)},l=n(71);function d(e){return e.editorContext}function p(e){return"Page"===Object(r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function f(e){return Object(r.get)(e,"editorContext.isBlockEditor",!1)}function m(e){return Object(r.get)(e,"editorContext.isElementorEditor",!1)}function g(e){return m(e)?"elementorEditor":f(e)?"blockEditor":"classicEditor"}function b(e){return Object(r.get)(e,"editorContext.contentLocale","en_US")}var y=n(63),h=n(40),O=function(e){return Object(r.get)(e,"editorData.content","")},w=function(e){return Object(r.get)(e,"editorData.title","")},v=function(e){return Object(r.get)(e,"editorData.excerpt")},j=function(e){var t=Object(r.get)(e,"editorData.excerpt","");return""===t&&(t=Object(h.excerptFromContent)(Object(r.get)(e,"editorData.content",""))),t},E=function(e){return Object(r.get)(e,"editorData.imageUrl","")},_=function(e){var t=[{featuredOrFirstImage:Object(r.get)(e,"editorData.imageUrl","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""};function T(e){return e.focusKeyword}var S=function(e){return Object(r.get)(e,"settings.socialPreviews.authorName","")},k=function(e){return Object(r.get)(e,"settings.socialPreviews.siteName","")},R=function(e){return Object(r.get)(e,"settings.snippetEditor.baseUrl","")},P=function(e){return Object(r.get)(e,"settings.snippetEditor.date","")},D=function(e){return Object(r.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[])},x=function(e){return Object(r.get)(e,"settings.snippetEditor.siteIconUrl","")},A=function(e){return Object(r.get)(e,"snippetEditor.replacementVariables",[])},C=function(e){return Object(r.get)(e,"snippetEditor.templates",{title:"",description:""})},I=function(e){return Object(r.get)(e,"snippetEditor.mode","mobile")},M=function(e){return Object(r.get)(e,"snippetEditor.data.title","")},N=function(e){return Object(r.get)(e,"snippetEditor.data.title","")||C(e).title},L=function(e){return Object(r.get)(e,"snippetEditor.data.description","")},F=function(e){return L(e)||C(e).description},q=function(e){return Object(r.get)(e,"snippetEditor.data.slug","")},B=function(e){return Object(r.get)(e,"snippetEditor.data",{title:M(e),description:L(e),slug:q(e)})},U=function(e){return Object(r.get)(e,"snippetEditor.wordsToHighlight",[])},K=function(e){return Object(r.get)(e,"snippetEditor.isLoading",!0)},V=function(e){return Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},W=function(e){return Object(r.get)(e,"analysisData.snippet.title","")},H=function(e){return Object(r.get)(e,"analysisData.snippet.description","")},Y=function(e){return Object(r.get)(e,"analysisData.snippet.url","")},G=function(e){return parseInt(Object(r.get)(e,"analysisData.timestamp",0),10)},z=function(e){var t=W(e)||M(e),n=q(e);return{text:O(e),title:t,keyword:T(e),description:H(e)||L(e),locale:b(e),titleWidth:Object(l.a)(t),url:n,permalink:R(e)+n}};function $(e){return e.isCornerstone}var Q=function(e,t){return Object(r.get)(e,"editorModals.openedModal","")===t};function Z(e){return Object(r.get)(e,"estimatedReadingTime.estimatedReadingTime",0)||0}var X=function(e){return Object(r.get)(e,"facebookEditor.title","")},J=function(e){return Object(r.get)(e,"facebookEditor.description","")},ee=function(e){return Object(r.get)(e,"facebookEditor.image.url")},te=function(e){return Object(r.get)(e,"facebookEditor.image.src","")},ne=function(e){return Object(r.get)(e,"facebookEditor.warnings",[])},re=function(e){return Object(r.get)(e,"socialPreviews.contentImage","")},oe=function(e){var t=[{featuredImage:Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:Object(r.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""},ae=function(){var e=Object(r.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e)).host},ie=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template","")},se=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template_no_fallback","")},ce=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_title_template","")},ue=function(){return Object(r.get)(window,"wpseoScriptData.metabox.metadesc_template","")},le=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_description_template","")},de=function(e){var t="";return Object(r.get)(e,"snippetEditor.replacementVariables",[]).forEach((function(e){"excerpt"===e.name&&(t=e.value)})),t};function pe(e){return e.activeMarker}function fe(e){return e.isMarkerPaused}function me(e){return"enabled"===e.marksButtonStatus}function ge(e){return e.marksButtonStatus}function be(e,t){return!0===e.dismissedAlerts[t]}function ye(e){return e.preferences}function he(e){return Object(r.get)(e,"preferences.isKeywordAnalysisActive",!1)}function Oe(e,t){return e.primaryTaxonomies[t]}var we=n(30),ve=n.n(we),je={},Ee=[];function _e(e){var t=Object(r.get)(e,"analysis.seo",je);return Object(r.isEmpty)(t)?{results:Ee,overallScore:null}:t}function Te(e,t){var n=_e(e);return Object(r.get)(n,t,je)}function Se(e){var t=Object(r.get)(e,"analysis.readability",{});return Object(r.isEmpty)(t)?{results:Ee,overallScore:null}:t}function ke(e){return Te(e,e.focusKeyword)}function Re(e,t){var n=ke(e).results||Ee,r=Se(e).results||Ee;return[].concat(ve()(n),ve()(r)).find((function(e){return e._identifier===t}))}function Pe(e){return e.marksButtonStatus}var De=function(e){return Object(r.get)(e,"schemaTab.defaultPageType","")},xe=function(e){return Object(r.get)(e,"schemaTab.pageType","")},Ae=function(e){return Object(r.get)(e,"schemaTab.defaultArticleType","")},Ce=function(e){return Object(r.get)(e,"schemaTab.articleType","")};function Ie(e){return e.SEMrushModal.whichModalOpen}function Me(e){return e.SEMrushModal.displayNoKeyphraseMessage}function Ne(e){return e.SEMrushRequest.isRequestPending}function Le(e){return e.SEMrushRequest.isSuccess}function Fe(e){return e.SEMrushRequest.response}function qe(e){return e.SEMrushRequest.limitReached}function Be(e){return e.SEMrushRequest.keyphrase}function Ue(e){return e.SEMrushRequest.countryCode}function Ke(e){return e.SEMrushRequest.hasData}function Ve(e){return e.SEMrushRequest.isLoggedIn}var We=function(e){return Object(r.get)(e,"shoppingData",{})},He=function(e){return Object(r.get)(e,"twitterEditor.title","")},Ye=function(e){return Object(r.get)(e,"twitterEditor.description","")},Ge=function(e){return Object(r.get)(e,"twitterEditor.image.url","")},ze=function(e){return Object(r.get)(e,"settings.socialPreviews.twitterCardType","summary")},$e=function(e){return Object(r.get)(e,"twitterEditor.image.src","")},Qe=function(e){return Object(r.get)(e,"twitterEditor.warnings",[])};function Ze(e){return Object(r.get)(e,"warning.message",[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(11),l=n.n(u),d=n(13),p=n.n(d),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(1),O=n.n(h),w=n(95),v=n(23),j=n(35);var E=function(e){p()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new v.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);E.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=E;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(92);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(11),l=n.n(u),d=n(13),p=n.n(d),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(3),O=n(6),w=n(1),v=n.n(w),j=n(62);var E=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(l()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(h.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(h.__)("Learn more about the schema settings","wordpress-seo"),description:Object(h.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(h.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(O.Alert,{type:"warning"},Object(h.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
5 |
+
Object(h._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(y.createElement)(O.Select,{id:"schema-page-type-".concat(this.props.postType),name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(h.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(y.createElement)(O.Select,{id:"schema-article-type-".concat(this.props.postType),name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(h.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),a}(y.Component),_=v.a.arrayOf(v.a.shape({name:v.a.string,value:v.a.string}));E.propTypes={postType:v.a.string.isRequired,postTypeName:v.a.string.isRequired,pageType:j.b.isRequired,articleType:j.b,pageTypeOptions:_.isRequired,articleTypeOptions:_.isRequired},E.defaultProps={articleType:null},t.a=Object(j.a)((function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]}))(E)},function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return s})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return u}));var r=n(22),o=n(17),a=n(72),i=!1;function s(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,u){var l=t();i&&e.analyze(l).then((function(e){var t=e.result,a=t.seo,i=t.readability;if(a){var d=a[""];d.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),d.results=s(d.results),c.dispatch(Object(r.setSeoResultsForKeyword)(l.getKeyword(),d.results)),c.dispatch(Object(r.setOverallSeoScore)(d.score,l.getKeyword())),c.dispatch(Object(o.h)()),u.saveScores(d.score,l.getKeyword())}i&&(i.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),i.results=s(i.results),c.dispatch(Object(r.setReadabilityResults)(i.results)),c.dispatch(Object(r.setOverallReadabilityScore)(i.score)),c.dispatch(Object(o.h)()),u.saveContentScore(i.score))})).catch(a.a)}function u(){i=!0}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=n(20);function a(){var e=Object(o.a)();return Object(r.get)(e,"contentLocale","en_US")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(0),o=n(3),a=n(53),i=n(1),s=n.n(i),c=n(6),u=function(e){return 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"},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.suffixIcon&&Object(r.createElement)(c.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))},l=u;u.propTypes={onClick:s.a.func.isRequired,title:s.a.string.isRequired,id:s.a.string,subTitle:s.a.string,suffixIcon:s.a.object},u.defaultProps={id:"",suffixIcon:null,subTitle:""};var d=n(28),p=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},f=function(e){var t=e.id,n=e.postTypeName,i=e.children,s=e.title,c=e.isOpen,u=e.close,f=e.open,m=Object(r.useCallback)((function(e){p(e)&&u()}),[u]);return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(d.LocationProvider,{value:"modal"},Object(r.createElement)(a.a,{title:s,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},Object(r.createElement)("div",{className:"yoast-content-container"},Object(r.createElement)("div",{className:"yoast-modal-content"},i)),Object(r.createElement)("div",{className:"yoast-notice-container"},Object(r.createElement)("hr",null),Object(r.createElement)("div",{className:"yoast-button-container"},Object(r.createElement)("p",null,
|
6 |
/* Translators: %s translates to the Post Label in singular form */
|
7 |
Object(o.sprintf)(Object(o.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},
|
8 |
/* Translators: %s translates to the Post Label in singular form */
|
9 |
+
Object(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(l,{id:t+"-open-button",title:s,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};f.propTypes={id:s.a.string.isRequired,postTypeName:s.a.string.isRequired,children:s.a.oneOfType([s.a.node,s.a.arrayOf(s.a.node)]).isRequired,title:s.a.string.isRequired,isOpen:s.a.bool.isRequired,open:s.a.func.isRequired,close:s.a.func.isRequired},t.a=f},,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),o=n(6),a=n(1),i=n.n(a),s=n(35),c=n(36),u=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(o.SvgIcon,Object(s.getIconForScore)(n)))};u.propTypes={target:i.a.string.isRequired,scoreIndicator:i.a.string.isRequired},t.a=u},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=n(20);function a(){var e=Object(o.a)(),t=Object(r.get)(e,"translations",{domain:"js-text-analysis",locale_data:{"js-text-analysis":{"":{}}}});return"wordpress-seo"!==t.domain||Object(r.isUndefined)(t.locale_data["wordpress-seo"])||(t.domain="js-text-analysis",t.locale_data["js-text-analysis"]=t.locale_data["wordpress-seo"],t.locale_data["js-text-analysis"][""].domain="js-text-analysis",delete t.locale_data["wordpress-seo"]),t}},function(e,t,n){"use strict";var r,o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=n(11),u=n.n(c),l=n(13),d=n.n(l),p=n(14),f=n.n(p),m=n(8),g=n.n(m),b=n(0),y=n(1),h=n.n(y),O=n(15),w=n.n(O),v=n(12),j=n.n(v),E=n(37),_=n.n(E),T=n(3),S=n(6),k=n(9),R=j()(S.Alert)(r||(r=w()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),P=Object(k.makeOutboundLink)(),D=function(e){var t=Object(T.sprintf)(
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
+
Object(T.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(T.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
+
Object(T.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(b.createElement)("b",null)}}),Object(b.createElement)("br",null),Object(b.createElement)(P,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(b.createElement)("p",null,n))))};D.propTypes={socialMediumName:h.a.oneOf(["Twitter","Facebook"]).isRequired};var x=D,A=n(149),C=n(58);var I=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(u()(t)),t.setActiveField=t.setActiveField.bind(u()(t)),t.setEditorRef=t.setEditorRef.bind(u()(t)),t.setEditorFocus=t.setEditorFocus.bind(u()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,u=e.imageUrl,l=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,g=e.location;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(x,{socialMediumName:a}),Object(b.createElement)(A.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:l,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!u,imageUrl:u,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:g}))}}]),o}(b.Component);I.propTypes={title:h.a.string.isRequired,onTitleChange:h.a.func.isRequired,description:h.a.string.isRequired,onDescriptionChange:h.a.func.isRequired,imageUrl:h.a.string.isRequired,onSelectImageClick:h.a.func.isRequired,onRemoveImageClick:h.a.func.isRequired,socialMediumName:h.a.string.isRequired,isPremium:h.a.bool,imageWarnings:h.a.array,descriptionInputPlaceholder:h.a.string,titleInputPlaceholder:h.a.string,replacementVariables:C.replacementVariablesShape,recommendedReplacementVariables:C.recommendedReplacementVariablesShape,location:h.a.string},I.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=I},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},function(e,t,n){"use strict";n.r(t),n.d(t,"refreshDelay",(function(){return r}));var r=500},,,,,,function(e,t,n){"use strict";function r(e){var t=e.alertKey;return new Promise((function(e){return wpseoApi.post("alerts/dismiss",{key:t},(function(){return e()}))}))}n.r(t),n.d(t,"DISMISS_ALERT",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),o||(o=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),u=n(12),l=n.n(u),d=n(6),p=n(9),f=l()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(2),i=n(69);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=Object(a.get)(window,"wpseoScriptData.dismissedAlerts",{});t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;return t.type===i.b&&t.alertKey?c(c({},e),{},o()({},t.alertKey,!0)):e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(10),o=n.n(r),a=n(43);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.b:return s(s({},e),t.settings);case a.a:var n=Object.assign({},e.socialPreviews,{contentImage:t.src});return s(s({},e),{},{socialPreviews:s({},n)});default:return e}}},function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),u=n(2),l=n(6),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
+
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
17 |
Object(i.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(a.createElement)(f,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(i.sprintf)(
|
18 |
/* translators: %s : Expands to "Semrush". */
|
19 |
+
Object(i.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},g=n(47),b=n.n(g),y=n(5),h=n.n(y),O=n(7),w=n.n(O),v=n(11),j=n.n(v),E=n(13),_=n.n(E),T=n(14),S=n.n(T),k=n(8),R=n.n(k),P=n(26),D=n.n(P),x=n(64),A=n.n(x),C=n(52);var I="yoast-semrush-country-selector",M=[{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"}],N=function(e){_()(c,e);var t,n,r,o,s=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=R()(r);if(o){var n=R()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S()(this,e)});function c(e){var t;return h()(this,c),(t=s.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(j()(t)),t.onChangeHandler=t.onChangeHandler.bind(j()(t)),t}return w()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){A()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=b()(D.a.mark((function e(){var t,n,r,o;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(o=e.sent).status){e.next=9;break}return this.handleSuccessResponse(o),e.abrupt("return");case 9:this.handleFailedResponse(o);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=b()(D.a.mark((function e(t,n){return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A()({path:Object(C.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(a.createElement)("div",{id:I},Object(a.createElement)(l.SingleSelect,{id:I+"-select",label:Object(i.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:M,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(a.createElement)(l.NewButton,{id:I+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(i.__)("Select country","wordpress-seo")))}}]),c}(a.Component);N.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},N.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var L=N,F=n(30),q=n.n(F),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,o=e.dataTableHeaderLabels,s=e.isDataTableVisuallyHidden;return t.length!==o.length?Object(a.createElement)("p",null,Object(i.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(a.createElement)("div",{className:s?"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,o.map((function(e,t){return Object(a.createElement)("th",{key:t},e)})))),Object(a.createElement)("tbody",null,Object(a.createElement)("tr",null,t.map((function(e,t){return Object(a.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var U=B,K=function(e){var t=e.data,n=e.width,r=e.height,o=e.fillColor,i=e.strokeColor,s=e.strokeWidth,c=e.className,u=e.mapChartDataToTableData,l=e.dataTableCaption,d=e.dataTableHeaderLabels,p=e.isDataTableVisuallyHidden,f=Math.max(1,Math.max.apply(Math,q()(t.map((function(e){return e.x}))))),m=Math.max(1,Math.max.apply(Math,q()(t.map((function(e){return e.y}))))),g=r-s,b=t.map((function(e){var t=e.x/f*n,r=g-e.y/m*g+s;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(g+s," ")+b+" ".concat(n,",").concat(g+s);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:o,points:y}),Object(a.createElement)("polyline",{fill:"none",stroke:i,strokeWidth:s,strokeLinejoin:"round",strokeLinecap:"round",points:b})),u&&Object(a.createElement)(U,{data:t,mapChartDataToTableData:u,dataTableCaption:l,dataTableHeaderLabels:d,isDataTableVisuallyHidden:p}))};K.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},K.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var V=K,W=n(54);var H=Object(p.makeOutboundLink)(),Y=function(e){_()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=R()(t);if(n){var o=R()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return S()(this,e)});function o(e){var t;return h()(this,o),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(j()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(j()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(j()(t)),t}return w()(o,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(i.__)("Twelve months ago","wordpress-seo"),Object(i.__)("Eleven months ago","wordpress-seo"),Object(i.__)("Ten months ago","wordpress-seo"),Object(i.__)("Nine months ago","wordpress-seo"),Object(i.__)("Eight months ago","wordpress-seo"),Object(i.__)("Seven months ago","wordpress-seo"),Object(i.__)("Six months ago","wordpress-seo"),Object(i.__)("Five months ago","wordpress-seo"),Object(i.__)("Four months ago","wordpress-seo"),Object(i.__)("Three months ago","wordpress-seo"),Object(i.__)("Two months ago","wordpress-seo"),Object(i.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,o=t.countryCode,s=t.data,c=t.renderAction,l="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(o);return s&&!Object(u.isEmpty)(s.results)&&Object(a.createElement)(a.Fragment,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",className:"yoast-table--primary"},Object(i.__)("Related keyphrase","wordpress-seo")),Object(a.createElement)("th",{scope:"col",abbr:Object(i.__)("Volume","wordpress-seo")},Object(i.__)("Volume","wordpress-seo"),Object(a.createElement)(W.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(a.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(a.createElement)("th",{scope:"col",abbr:Object(i.__)("Trend","wordpress-seo")},Object(i.__)("Trend","wordpress-seo"),Object(a.createElement)(W.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(a.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(a.createElement)("td",{className:"yoast-table--nobreak"}))),Object(a.createElement)("tbody",null,s.results.rows.map((function(t,n){var o=t[0],s=e.transformTrendDataToChartPoints(t[2]),u=e.getAreaChartDataTableHeaderLabels();return Object(a.createElement)("tr",{key:n},Object(a.createElement)("td",null,o),Object(a.createElement)("td",null,t[1]),Object(a.createElement)("td",{className:"yoast-table--nopadding"},Object(a.createElement)(V,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:u})),c&&Object(a.createElement)("td",{className:"yoast-table--nobreak"},c(o,r)))})))),Object(a.createElement)("p",{style:{marginBottom:0}},Object(a.createElement)(H,{href:l},Object(i.sprintf)(
|
20 |
/* translators: %s expands to Semrush */
|
21 |
+
Object(i.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),o}(a.Component);Y.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},Y.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var G=Y,z=Object(p.makeOutboundLink)(),$=function(){return Object(a.createElement)(l.Alert,{type:"info"},Object(i.sprintf)(
|
22 |
/* translators: %s: Expands to "Yoast SEO". */
|
23 |
Object(i.__)("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(a.createElement)(z,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(i.sprintf)(
|
24 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
25 |
Object(i.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Q=function(){return Object(a.createElement)(l.Alert,{type:"error"},Object(i.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},Z=function(){return Object(a.createElement)(l.Alert,{type:"warning"},Object(i.sprintf)(
|
26 |
/* translators: %s: Expands to "Yoast SEO". */
|
27 |
+
Object(i.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function J(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,o=e.newRequest,s=e.setCountry,c=e.renderAction,l=e.countryCode,p=e.requestLimitReached,f=e.setRequestFailed,g=e.setNoResultsFound,b=e.relatedKeyphrases,y=e.setRequestSucceeded,h=e.setRequestLimitReached,O=Object(X.a)().isPremium;return Object(a.createElement)(a.Fragment,null,!p&&Object(a.createElement)(a.Fragment,null,!O&&Object(a.createElement)($,null),O&&function(e){return e&&e.length>=4}(b)&&Object(a.createElement)(Z,null),Object(a.createElement)(L,{countryCode:l,setCountry:s,newRequest:o,keyphrase:r,setRequestFailed:f,setNoResultsFound:g,setRequestSucceeded:y,setRequestLimitReached:h,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,o=e.response,s=e.requestHasData;return t?Object(a.createElement)(d,null):n?Object(a.createElement)(m,null):!r&&function(e){return!Object(u.isEmpty)(e)&&"error"in e}(o)?Object(a.createElement)(Q,null):s?void 0:Object(a.createElement)("p",null,Object(i.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(a.createElement)(G,{keyphrase:r,relatedKeyphrases:b,countryCode:l,renderAction:c,data:t}))}J.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},J.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(o.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,o=t.getSEMrushRequestLimitReached,a=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:o(),response:a(),isSuccess:i(),isPending:s(),requestHasData:c(),lastRequestKeyphrase:u()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,o=t.setSEMrushRequestSucceeded,a=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){o(e)},setRequestFailed:function(e){a(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}}))])(J)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(3),i=n(17),s=n(40);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return{mode:"mobile",data:{title:"",description:"",slug:""},wordsToHighlight:[],replacementVariables:[{name:"date",label:Object(a.__)("Date","wordpress-seo"),value:""},{name:"id",label:Object(a.__)("ID","wordpress-seo"),value:""},{name:"page",label:Object(a.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:Object(a.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:Object(a.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:Object(a.__)("Site title","wordpress-seo"),value:""},{name:"category",label:Object(a.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:Object(a.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:Object(a.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:Object(a.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:Object(a.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:Object(a.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:Object(a.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:Object(a.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:Object(a.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:Object(a.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:Object(a.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:Object(a.__)("Current year","wordpress-seo"),value:""}],uniqueRefreshValue:"",templates:{title:"",description:""},isLoading:!0}}t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l(),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.d:return u(u({},e),{},{mode:t.mode});case i.e:return u(u({},e),{},{data:u(u({},e.data),t.data)});case i.f:var n=!0,r=e.replacementVariables.map((function(e){return e.name===t.name?(n=!1,{name:t.name,label:t.label||e.label,value:t.value}):e}));return n&&(r=Object(s.pushNewReplaceVar)(r,t)),u(u({},e),{},{replacementVariables:r});case i.c:return u(u({},e),{},{replacementVariables:e.replacementVariables.filter((function(e){return e.name!==t.name}))});case i.b:return u(u({},e),{},{uniqueRefreshValue:t.time});case i.g:return u(u({},e),{},{wordsToHighlight:t.wordsToHighlight});case i.a:return u(u({},e),{},{data:u(u({},e.data),{},{title:t.data.title,description:t.data.description,slug:t.data.slug}),templates:u(u({},e.templates),{},{title:t.templates.title,description:t.templates.description}),isLoading:!1})}return e}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r=n(2),o=n(23),a=n(91);function i(){return Object(r.get)(window,["wpseoAdminL10n","default_query_params"],{})}var s=n(97),c=n(65),u=n(55),l=n(83);function d(){var e=Object(r.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=Object(o.createWorker)(e);return t.postMessage({dependencies:Object(r.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[])}),new o.AnalysisWorkerWrapper(t)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:Object(a.a)(),contentAnalysisActive:Object(c.a)(),keywordAnalysisActive:Object(u.a)(),defaultQueryParams:i(),logLevel:Object(r.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(l.enabledFeatures)()};t=Object(r.merge)(t,e);var n=Object(s.a)();return Object(r.isUndefined)(n)||Object(r.isUndefined)(n.domain)||(t.translations=n),t}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r,o,a,i=n(10),s=n.n(i),c=n(5),u=n.n(c),l=n(7),d=n.n(l),p=n(13),f=n.n(p),m=n(14),g=n.n(m),b=n(8),y=n.n(b),h=n(15),O=n.n(h),w=n(0),v=n(4),j=n(3),E=n(6),_=n(24),T=n(1),S=n.n(T),k=n(12),R=n.n(k),P=n(42),D=n(81),x=n(9),A=R.a.p(r||(r=O()(["\n\tcolor: ",";\n\tmargin: 0;\n\tpadding-right: 8px;\n"])),_.colors.$color_upsell_text),C=R.a.div(o||(o=O()(["\n\tfont-size: 1em;\n\tdisplay: flex;\n\tflex-direction: ",";\n\t",": 4px solid ",";\n\tmargin: 16px 0;\n\tpadding: 0 0 0 8px;\n\tmax-width: 600px;\n\n\t> "," {\n\t\tmargin-bottom: ",";\n\t}\n"])),(function(e){return"horizontal"===e.alignment?"row":"column"}),Object(x.getDirectionalStyle)("border-left","border-right"),_.colors.$color_pink_dark,A,(function(e){return"vertical"===e.alignment&&"16px"})),I=R()(E.SvgIcon)(a||(a=O()(["\n\tmargin: ",";\n\ttransform: ",";\n"])),Object(x.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),Object(x.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),M=Object(x.makeOutboundLink)(E.UpsellLinkButton),N=function(e){var t=e.alignment,n=e.url;return Object(w.createElement)(C,{alignment:t},Object(w.createElement)(A,null,Object(j.sprintf)(
|
28 |
/* translators: %s expands to Yoast SEO Premium */
|
29 |
Object(j.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(w.createElement)("div",null,Object(w.createElement)(M,{href:n,className:"UpsellLinkButton"},Object(j.sprintf)(
|
30 |
/* translators: %s expands to Premium */
|
31 |
+
Object(j.__)("Go %s!","wordpress-seo"),"Premium"),Object(w.createElement)(I,{icon:"arrow-right",size:"8px",color:_.colors.$color_black}))))};N.propTypes={alignment:S.a.oneOf(["horizontal","vertical"]),url:S.a.string.isRequired},N.defaultProps={alignment:"vertical"};var L,F,q=N,B=n(28),U=n(51),K=n(68),V=n(37),W=n.n(V);var H=R.a.ul(L||(L=O()(['\n\tlist-style: none;\n\tmargin: 0 0 16px;\n\tpadding: 0;\n\n\tli {\n\t\tmargin: 5px 0 0 0;\n\t\tpadding-left: 16px;\n\t}\n\n\tspan[aria-hidden="true"]:before {\n\t\tmargin: 0 8px 0 -16px;\n\t\tfont-weight: bold;\n\t\tcontent: "+";\n\t}\n']))),Y=R.a.small(F||(F=O()(["\n\tdisplay: block;\n"]))),G=Object(x.makeOutboundLink)(),z=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g()(this,e)});function o(e){return u()(this,o),r.call(this,e)}return d()(o,[{key:"createBenefitsList",value:function(e){return e.length>0&&Object(w.createElement)(H,{role:"list"},e.map((function(e,t){return Object(w.createElement)("li",{key:t},Object(w.createElement)("span",{"aria-hidden":"true"}),W()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(w.createElement)("strong",null)}}))})))}},{key:"createInfoParagraphs",value:function(e){return e.map((function(e,t){return Object(w.createElement)("p",{key:t},e)}))}},{key:"render",value:function(){return Object(w.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(w.createElement)(G,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(w.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(w.createElement)(Y,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),o}(w.Component);z.propTypes={benefits:S.a.array,infoParagraphs:S.a.array,upsellButton:S.a.object,upsellButtonText:S.a.string.isRequired,upsellButtonLabel:S.a.string,upsellButtonHasCaret:S.a.bool},z.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};var $=z,Q=Object(x.makeOutboundLink)(),Z=function(e){var t=Object(j.sprintf)(
|
32 |
/* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
|
33 |
+
Object(j.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=W()({mixedString:t,components:{link:Object(w.createElement)(Q,{href:e.link})}}),r=["<strong>".concat(Object(j.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(j.sprintf)(
|
34 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
35 |
Object(j.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("Superfast internal linking suggestions","wordpress-seo"),"</strong>"),Object(j.sprintf)(
|
36 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
44 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
45 |
Object(j.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("Superfast internal linking suggestions","wordpress-seo"),"</strong>"),Object(j.sprintf)(
|
46 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
47 |
+
Object(j.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("24/7 email support","wordpress-seo"),"</strong>"),"<strong>".concat(Object(j.__)("No ads!","wordpress-seo"),"</strong>")],r=W()({mixedString:t,components:{link:Object(w.createElement)(J,{href:e.link})}}),o=Object(j.sprintf)(
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(j.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(w.createElement)($,{infoParagraphs:[r,o],benefits:n,upsellButtonText:Object(j.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
+
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(j.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:S.a.string.isRequired,buyLink:S.a.string.isRequired};var te,ne=ee,re=n(39),oe=n.n(re),ae=n(53),ie=R.a.button(te||(te=O()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),se={open:Object(j.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(j.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(w.useState)(!1),n=oe()(t,2),r=n[0],o=n[1],a=Object.assign({},se,e.labels),i=Object(w.useCallback)((function(){return o(!1)}),[]),s=Object(w.useCallback)((function(){return o(!0)}),[]);return Object(w.createElement)(w.Fragment,null,Object(w.createElement)(ie,{type:"button",onClick:s,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(w.createElement)(E.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),a.open),r&&Object(w.createElement)(ae.a,{onRequestClose:i,className:e.className,title:a.heading},e.children))};ce.propTypes={openButtonIcon:S.a.string,labels:S.a.shape({open:S.a.string,modalAriaLabel:S.a.string.isRequired,heading:S.a.string,closeIconButton:S.a.string,closeButton:S.a.string}).isRequired,classes:S.a.shape({openButton:S.a.string,closeIconButton:S.a.string,closeButton:S.a.string}),className:S.a.string,children:S.a.any.isRequired},ce.defaultProps={className:ae.b,openButtonIcon:"",classes:{}};var ue=ce,le=n(96),de=n(50),pe=n(18);function fe(e){var t=e.location;return Object(w.createElement)(pe.Slot,{name:"yoast-synonyms-".concat(t)})}fe.propTypes={location:S.a.string.isRequired};var me,ge=n(35);function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var he=R.a.span(me||(me=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 1.5em 0 1em;\n\tdisplay: block;\n"]))),Oe=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g()(this,e)});function o(){return u()(this,o),r.apply(this,arguments)}return d()(o,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+Object(j.__)("Add synonyms","wordpress-seo"),modalAriaLabel:Object(j.sprintf)(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
+
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(w.createElement)(ue,t,Object(w.createElement)(K.a,null,Object(w.createElement)(K.b,{icon:E.YoastSeoIcon}),Object(w.createElement)("h2",null,Object(j.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(w.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=U.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=de.a),Object(w.createElement)(r,{prefixIcon:{icon:"plus",color:_.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:_.colors.$color_grey_medium_dark},title:Object(j.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(w.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(w.createElement)(q,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(w.createElement)(le.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(j.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(w.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?U.a:de.a;return Object(w.createElement)(w.Fragment,null,Object(w.createElement)(r,{title:Object(j.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(ge.getIconForScore)(t.className),prefixIconCollapsed:Object(ge.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(w.createElement)(fe,{location:n}),e.props.shouldUpsell&&Object(w.createElement)(w.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(w.createElement)(he,null,Object(j.__)("Analysis results","wordpress-seo")),Object(w.createElement)(D.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),o}(w.Component);Oe.propTypes={results:S.a.array,marksButtonStatus:S.a.string,keyword:S.a.string,shouldUpsell:S.a.bool,shouldUpsellWordFormRecognition:S.a.bool,overallScore:S.a.number},Oe.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(v.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,o=n.getMarksButtonStatus,a=n.getResultsForKeyword,i=r();return ye(ye({},a(i)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:i})}))(Oe)},,function(e,t,n){"use strict";var r,o=n(19),a=n(4),i=n(0),s=n(3),c=n(18),u=n(6),l=n(9),d=n(1),p=n.n(d),f=n(5),m=n.n(f),g=n(7),b=n.n(g),y=n(13),h=n.n(y),O=n(14),w=n.n(O),v=n(8),j=n.n(v),E=n(15),_=n.n(E),T=n(12);var S=n.n(T).a.div(r||(r=_()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),k=function(e){h()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=j()(t);if(n){var o=j()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return w()(this,e)});function o(){return m()(this,o),r.apply(this,arguments)}return b()(o,[{key:"render",value:function(){return Object(i.createElement)(S,null,Object(i.createElement)(u.Toggle,{id:this.props.id,labelText:Object(s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),o}(i.Component);k.propTypes={id:p.a.string,isEnabled:p.a.bool,onToggle:p.a.func,onToggleDisabled:p.a.func},k.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var R=k,P=n(51),D=n(50),x=Object(l.makeOutboundLink)();function A(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,o=e.location,a="metabox"===o?P.a:D.a;return Object(i.createElement)(a,{id:Object(l.join)(["yoast-cornerstone-collapsible",o]),title:Object(s.__)("Cornerstone content","wordpress-seo")},Object(i.createElement)(u.HelpText,null,Object(s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(i.createElement)(x,{href:r},Object(s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(i.createElement)(R,{id:Object(l.join)(["yoast-cornerstone",o]),isEnabled:t,onToggle:n}),Object(i.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}A.propTypes={isCornerstone:p.a.bool,onChange:p.a.func,learnMoreUrl:p.a.string.isRequired,location:p.a.string},A.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var C=n(57);t.a=Object(o.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(C.a)()])(A)},function(e,t,n){"use strict";var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=n(11),c=n.n(s),u=n(13),l=n.n(u),d=n(14),p=n.n(d),f=n(8),m=n.n(f),g=n(15),b=n.n(g),y=n(0),h=n(18),O=n(19),w=n(4),v=n(3),j=n(1),E=n.n(j),_=n(12),T=n.n(_),S=n(22),k=n(47),R=n.n(k),P=n(26),D=n.n(P),x=n(64),A=n.n(x),C=n(6),I=n(68),M=n(53),N=n(111),L=n(92);var F=function(e){l()(u,e);var t,n,r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m()(r);if(a){var n=m()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p()(this,e)});function u(e){var t;return o()(this,u),(t=s.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return i()(u,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(L.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=R()(D.a.mark((function e(t){var n,r;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=R()(D.a.mark((function e(t){var n,r,o;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,A()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(o=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(o.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,o=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(C.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(v.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(M.a,{title:Object(v.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(N.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(I.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(h.Slot,{name:"YoastRelatedKeyphrases"}))),!o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(C.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(v.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(v.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),u}(y.Component);F.propTypes={keyphrase:E.a.string,location:E.a.string,whichModalOpen:E.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:E.a.bool,onOpen:E.a.func.isRequired,onOpenWithNoKeyphrase:E.a.func.isRequired,onClose:E.a.func.isRequired,onAuthentication:E.a.func.isRequired},F.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var q,B=F,U=Object(O.compose)([Object(w.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(w.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,o=t.setSEMrushDismissModal,a=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){o()},onAuthentication:function(e){a(e)}}}))])(B),K=n(28),V=n(54);var W=T.a.div(q||(q=b()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),H=function(e){l()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return i()(a,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(v.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(v.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(v.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(K.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(W,{location:n},Object(y.createElement)(S.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(v.__)("Focus keyphrase","wordpress-seo"),helpLink:a.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(U,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(h.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(V.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(v.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),a}(y.Component);H.propTypes={keyword:E.a.string,onFocusKeywordChange:E.a.func.isRequired,onFocusKeyword:E.a.func.isRequired,onBlurKeyword:E.a.func.isRequired,isSEMrushIntegrationActive:E.a.bool,displayNoKeyphraseMessage:E.a.bool},H.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(O.compose)([Object(w.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(w.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(H)},function(e,t,n){"use strict";var r,o,a,i=n(10),s=n.n(i),c=n(5),u=n.n(c),l=n(7),d=n.n(l),p=n(13),f=n.n(p),m=n(14),g=n.n(m),b=n(8),y=n.n(b),h=n(15),O=n.n(h),w=n(0),v=n(4),j=n(1),E=n.n(j),_=n(12),T=n.n(_),S=n(3),k=n(2),R=n(96),P=n(81),D=n(50),x=n(42),A=n(35),C=n(28),I=n(54),M=n(36);function N(e){var t=e.target,n=e.children;return Object(w.createElement)(M.a,{target:t},n)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}N.propTypes={target:E.a.string.isRequired,children:E.a.node.isRequired};var q=T.a.span(r||(r=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=T.a.div(o||(o=O()(["\n\tpadding: 16px;\n"]))),U=T()(I.a)(a||(a=O()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),K=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g()(this,e)});function o(){return u()(this,o),r.apply(this,arguments)}return d()(o,[{key:"renderResults",value:function(){return Object(w.createElement)(w.Fragment,null,Object(w.createElement)(q,null,Object(S.__)("Analysis results","wordpress-seo"),Object(w.createElement)(U,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(w.createElement)("span",{className:"screen-reader-text"},Object(S.__)("Learn more about the readability analysis","wordpress-seo")))),Object(w.createElement)(P.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return Object(k.isNil)(this.props.overallScore)&&(t.className="loading"),Object(w.createElement)(C.LocationConsumer,null,(function(n){return"sidebar"===n?Object(w.createElement)(D.a,{title:Object(S.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(A.getIconForScore)(t.className),prefixIconCollapsed:Object(A.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(w.createElement)(N,{target:"wpseo-metabox-readability-root"},Object(w.createElement)(B,null,Object(w.createElement)(R.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),o}(w.Component);K.propTypes={results:E.a.array.isRequired,marksButtonStatus:E.a.string.isRequired,overallScore:E.a.number},K.defaultProps={overallScore:null},t.a=Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return F(F({},n()),{},{marksButtonStatus:r()})}))(K)},function(e,t,n){"use strict";var r,o=n(10),a=n.n(o),i=n(0),s=n(19),c=n(4),u=n(3),l=n(1),d=n.n(l),p=n(30),f=n.n(p),m=n(15),g=n.n(m),b=n(6),y=n(18),h=n(9),O=n(37),w=n.n(O),v=n(12),j=n.n(v),E=n(85),_=n(83),T=j.a.div(r||(r=g()(["\n\tpadding: 16px;\n"]))),S=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(u.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
+
Object(u.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},k=function(e){return Object(u.sprintf)(
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
+
Object(u.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},R=function(e){return Object(i.createElement)(b.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(u.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};R.propTypes={helpTextTitle:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired};var P=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(u.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:d.a.string.isRequired,helpTextLink:d.a.string.isRequired};var D=function(e){var t,n=S(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=S(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),o=Object(_.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,o?Object(i.createElement)(P,e):Object(i.createElement)(R,e),o&&Object(i.createElement)(y.Slot,{name:Object(h.join)(["yoast-schema-blocks-analysis",e.location])}),Object(i.createElement)(b.FieldGroup,{label:Object(u.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(u.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(b.Select,{id:Object(h.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(u.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(b.Select,{id:Object(h.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(u.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,w()({mixedString:k(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};D.propTypes={schemaPageTypeChange:d.a.func,schemaPageTypeSelected:d.a.string,pageTypeOptions:E.b.isRequired,schemaArticleTypeChange:d.a.func,schemaArticleTypeSelected:d.a.string,articleTypeOptions:E.b.isRequired,showArticleTypeInput:d.a.bool.isRequired,additionalHelpTextLink:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,defaultPageType:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,location:d.a.string.isRequired},D.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var x=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(D,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(D,e)};x.propTypes={showArticleTypeInput:d.a.bool,articleTypeLabel:d.a.string,additionalHelpTextLink:d.a.string,pageTypeLabel:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,isMetabox:d.a.bool.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,loadSchemaArticleData:d.a.func.isRequired,loadSchemaPageData:d.a.func.isRequired,location:d.a.string.isRequired},x.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var A=x,C=n(33),I=n(57);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=function(e){var t=null!==C.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,o=n.articleTypeOptions,a={articleTypeLabel:Object(u.__)("Article type","wordpress-seo"),pageTypeLabel:Object(u.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(u.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(u.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:o},s=N(N(N({},e),a),"metabox"===e.location?{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});return Object(i.createElement)(A,s)};L.propTypes={displayFooter:d.a.bool.isRequired,schemaPageTypeSelected:d.a.string.isRequired,schemaArticleTypeSelected:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,defaultPageType:d.a.string.isRequired,loadSchemaPageData:d.a.func.isRequired,loadSchemaArticleData:d.a.func.isRequired,schemaPageTypeChange:d.a.func.isRequired,schemaArticleTypeChange:d.a.func.isRequired,location:d.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,o=t.getDefaultPageType,a=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:i(),defaultPageType:o()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(I.a)()])(L)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(0),i=n(3),s=n(6),c=n(9),u=n(1),l=n.n(u),d=n(28),p=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,o=e.isPrivateBlog,u=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
67 |
+
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(a.Fragment,null,o&&Object(a.createElement)(s.Alert,{type:"warning"},Object(i.__)("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(a.createElement)(s.Select,{label:Object(i.sprintf)(
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
+
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:u,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};p.propTypes={noIndex:l.a.string.isRequired,onNoIndexChange:l.a.func.isRequired,editorContext:l.a.object.isRequired,isPrivateBlog:l.a.bool},p.defaultProps={isPrivateBlog:!1};var f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
+
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:l.a.string.isRequired,onNoFollowChange:l.a.func.isRequired,postTypeName:l.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:l.a.array.isRequired,onAdvancedChange:l.a.func.isRequired};var g=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};g.propTypes={breadcrumbsTitle:l.a.string.isRequired,onBreadcrumbsTitleChange:l.a.func.isRequired};var b=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};b.propTypes={canonical:l.a.string.isRequired,onCanonicalChange:l.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,u=e.onAdvancedChange,l=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,h=e.isLoading,O=e.editorContext,w=e.isBreadcrumbsDisabled,v=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){h&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:v},E={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:u},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:l},S={canonical:i,onCanonicalChange:d};return h?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,E),O.isPost&&Object(a.createElement)(m,_),!w&&Object(a.createElement)(g,T),Object(a.createElement)(b,S))};y.propTypes={noIndex:l.a.string.isRequired,canonical:l.a.string.isRequired,onNoIndexChange:l.a.func.isRequired,onCanonicalChange:l.a.func.isRequired,onLoad:l.a.func.isRequired,isLoading:l.a.bool.isRequired,editorContext:l.a.object.isRequired,isBreadcrumbsDisabled:l.a.bool.isRequired,isPrivateBlog:l.a.bool,advanced:l.a.array,onAdvancedChange:l.a.func,noFollow:l.a.string,onNoFollowChange:l.a.func,breadcrumbsTitle:l.a.string,onBreadcrumbsTitleChange:l.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var h=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,u=(0,t.getPreferences)(),l=u.isBreadcrumbsDisabled,d=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:l,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(h)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function d(e){return(""+e).replace(l,"$&/")}var p,f,m=g,g=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,u=e.func,l=e.context,p=u.call(l,t,e.count++);Array.isArray(p)?h(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function h(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var l=b.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===o)return r(a,t,""===n?"."+u(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+u(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var g,b=m.call(t),y=0;!(g=b.next()).done;)d+=e(s=g.value,p+u(s,y++),r,a);else if("object"===l){var h=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===h?"object with keys {"+Object.keys(t).join(", ")+"}":h,"")}}return d}(e,"",t,n)}(e,y,l),b.release(l)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=b).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)h(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(34),o=n.n(r),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(2),l=function(){function e(t){i()(this,e),this.refresh=t,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}return c()(e,[{key:"_registerPlugin",value:function(e,t){return Object(u.isString)(e)?Object(u.isUndefined)(t)||Object(u.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}},{key:"_ready",value:function(e){return Object(u.isString)(e)?Object(u.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_reloaded",value:function(e){return Object(u.isString)(e)?Object(u.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_registerModification",value:function(e,t,n,r){if(!Object(u.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!Object(u.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!Object(u.isString)(n))return console.error("Failed to register modification for plugin "+n+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(n))return console.error("Failed to register modification for plugin "+n+". The integration has not finished loading yet."),!1;var o={callable:t,origin:n,priority:Object(u.isNumber)(r)?r:10};return Object(u.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(o),!0}},{key:"_registerAssessment",value:function(e,t,n,r){return Object(u.isString)(t)?Object(u.isObject)(n)?Object(u.isString)(r)?(t=r+"-"+t,e.addAssessment(t,n),!0):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+r+". Expected parameter `name` to be a string."),!1)}},{key:"_applyModifications",value:function(e,t,n){var r=this.modifications[e];return!Object(u.isArray)(r)||r.length<1||((r=this._stripIllegalModifications(r)).sort((function(e,t){return e.priority-t.priority})),Object(u.forEach)(r,(function(r){var a=r.callable(t,n);o()(a)===o()(t)?t=a:console.error("Modification with name "+e+" performed by plugin with name "+r.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}},{key:"_pollLoadingPlugins",value:function(e){e=Object(u.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}},{key:"_allReady",value:function(){return Object(u.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}},{key:"_pollTimeExceeded",value:function(){Object(u.forEach)(this.plugins,(function(e,t){Object(u.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}},{key:"_stripIllegalModifications",value:function(e){var t=this;return Object(u.forEach)(e,(function(n,r){!1===t._validateOrigin(n.origin)&&delete e[r]})),e}},{key:"_validateOrigin",value:function(e){return"ready"===this.plugins[e].status}},{key:"_validateUniqueness",value:function(e){return Object(u.isUndefined)(this.plugins[e])}}]),e}()},function(e,t,n){"use strict";n.r(t);var r=n(110);n.d(t,"DISMISS_ALERT",(function(){return r.DISMISS_ALERT}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=jQuery;function a(e,t,n,r){this._scriptUrl=r,this._options={usedKeywords:t.keyword_usage,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._postID=o("#post_ID, [name=tag_ID]").val(),this._taxonomy=o("[name=taxonomy]").val()||"",this._ajaxAction=e,this._refreshAnalysis=n,this._initialized=!1}a.prototype.init=function(){var e=this,t=window.YoastSEO.analysis.worker;this.requestKeywordUsage=Object(r.debounce)(this.requestKeywordUsage.bind(this),500),t.loadScript(this._scriptUrl).then((function(){t.sendMessage("initialize",e._options,"used-keywords-assessment")})).then((function(){e._initialized=!0,Object(r.isEqual)(e._options.usedKeywords,e._keywordUsage)?e._refreshAnalysis():t.sendMessage("updateKeywordUsage",e._keywordUsage,"used-keywords-assessment").then((function(){return e._refreshAnalysis()}))})).catch((function(e){return console.error(e)}))},a.prototype.setKeyword=function(e){Object(r.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},a.prototype.requestKeywordUsage=function(e){o.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy},this.updateKeywordUsage.bind(this,e),"json")},a.prototype.updateKeywordUsage=function(e,t){var n=this,o=window.YoastSEO.analysis.worker;t&&Object(r.isArray)(t)&&(this._keywordUsage[e]=t,this._initialized&&o.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((function(){return n._refreshAnalysis()})))}},,,function(e,t,n){"use strict";var r=n(74),o=n(10),a=n.n(o),i=n(44);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={noIndex:"",noFollow:"",advanced:[],breadcrumbsTitle:"",canonical:"",isLoading:!0},l=n(22),d=n(25);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m={snippet:{},timestamp:0},g=n(113),b=n(2);function y(){return{contentLocale:Object(b.get)(window,"wpseoScriptData.metabox.contentLocale",""),isBlockEditor:"1"===Object(b.get)(window,"wpseoScriptData.isBlockEditor","0"),isElementorEditor:"1"===Object(b.get)(window,"wpseoScriptData.isElementorEditor","0"),isPost:Object(b.get)(window,"wpseoScriptData",{}).hasOwnProperty("isPost"),isTerm:Object(b.get)(window,"wpseoScriptData",{}).hasOwnProperty("isTerm"),noIndex:"1"===Object(b.get)(window,"wpseoAdminL10n.noIndex","0"),postTypeNameSingular:Object(b.get)(window,"wpseoAdminL10n.postTypeNameSingular",""),postTypeNamePlural:Object(b.get)(window,"wpseoAdminL10n.postTypeNamePlural","")}}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w={content:"",excerpt:"",imageUrl:"",slug:"",title:""};function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E={openedModal:""},_=n(67);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k={estimatedReadingTime:0},R=n(49);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x={title:"",description:"",warnings:[],image:{url:"",id:""}},A=n(60),C=n(59),I=n(75);function M(e,t){return t.isMarkerPaused}var N=n(45),L=n(65),F=n(55),q=n(20),B=function(){var e=Object(q.a)();return Object(b.get)(e,"wordFormRecognitionActive",!1)};function U(){var e=Object(q.a)();return 1===Object(b.get)(e,"semrushIntegrationActive",0)}function K(){var e=Object(q.a)();return 1===Object(b.get)(e,"zapierIntegrationActive",0)}function V(){var e=Object(q.a)();return 1===Object(b.get)(e,"zapierConnectedStatus",0)}function W(){var e,t=!!window.wpseoAdminL10n.displayAdvancedTab;return{isContentAnalysisActive:Object(L.a)(),isKeywordAnalysisActive:Object(F.a)(),isWordFormRecognitionActive:Object(b.isUndefined)(window.wpseoPremiumMetaboxData)&&B(),isCornerstoneActive:(e=Object(q.a)(),1===Object(b.get)(e,"cornerstoneActive",0)),isBreadcrumbsDisabled:!!window.wpseoAdminL10n.isBreadcrumbsDisabled,isPrivateBlog:!!window.wpseoAdminL10n.isPrivateBlog,isSEMrushIntegrationActive:U(),shouldUpsell:Object(b.isUndefined)(window.wpseoPremiumMetaboxData),displayAdvancedTab:t,displaySchemaSettings:t&&!!window.wpseoScriptData.isPost,displaySchemaSettingsFooter:window.wpseoScriptData.metabox.schema.displayFooter,displayFacebook:window.wpseoScriptData.metabox.showSocial.facebook,displayTwitter:window.wpseoScriptData.metabox.showSocial.twitter,isZapierIntegrationActive:K(),isZapierConnected:V()}}var H=n(76);function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z={},$=n(56);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X={pageType:"",defaultPageType:"",articleType:"",defaultArticleType:""},J={whichModalOpen:"none",displayNoKeyphraseMessage:!1},ee=n(41);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re={isRequestPending:!1,keyphrase:"",countryCode:"us",isSuccess:!1,response:null,limitReached:!1,hasData:!0,isLoggedIn:!1},oe=n(114),ae=n(77);function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ce={},ue=n(116),le=n(48);function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fe={title:"",description:"",warnings:[],image:{url:"",id:""}},me=n(78);function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ye={message:[]};t.a={activeMarker:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.a:return t.activeMarker;default:return e}},advancedSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.a:return c(c({},e),t.settings);case i.f:return c(c({},e),{},{noIndex:t.value});case i.e:return c(c({},e),{},{noFollow:t.value});case i.b:return c(c({},e),{},{advanced:t.value});case i.d:return c(c({},e),{},{canonical:t.value});case i.c:return c(c({},e),{},{breadcrumbsTitle:t.value});default:return e}},analysis:l.analysis,analysisData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case d.UPDATE_SNIPPET_DATA:return f(f({},e),{},{snippet:t.data});case d.RUN_ANALYSIS:return f(f({},e),{},{timestamp:t.timestamp})}return e},dismissedAlerts:g.a,editorContext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y();return e},editorData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case d.SET_EDITOR_DATA_CONTENT:return O(O({},e),{},{content:t.content});case d.SET_EDITOR_DATA_EXCERPT:return O(O({},e),{},{excerpt:t.excerpt});case d.SET_EDITOR_DATA_IMAGE_URL:return O(O({},e),{},{imageUrl:t.imageUrl});case d.SET_EDITOR_DATA_SLUG:return O(O({},e),{},{slug:t.slug});case d.SET_EDITOR_DATA_TITLE:return O(O({},e),{},{title:t.title})}return e},editorModals:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case d.OPEN_EDITOR_MODAL:return j(j({},e),{},{openedModal:t.modalKey});case d.CLOSE_EDITOR_MODAL:return j(j({},e),{},{openedModal:""})}return e},estimatedReadingTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case _.a:case _.b:return S(S({},e),{},{estimatedReadingTime:t.estimatedReadingTime});default:return e}},facebookEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case R.b:return D(D({},e),{},{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case R.e:return D(D({},e),{},{title:t.title});case R.c:return D(D({},e),{},{description:t.description});case R.d:return D(D({},e),{},{warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url}});case R.a:return D(D({},e),{},{image:{url:"",id:""},warnings:[]});default:return e}},focusKeyword:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case A.a:case A.b:return t.keyword;default:return e}},isCornerstone:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case C.c:return!e;case C.b:return t.isCornerstone;default:return e}},isMarkerPaused:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case I.a:return M(0,t);default:return e}},marksButtonStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"disabled",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case N.a:return t.marksButtonStatus;default:return e}},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W();return e},primaryTaxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case H.a:return G(G({},e),{},a()({},t.taxonomy,t.termId));default:return e}},schemaTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $.d:return Z(Z({},e),{},{pageType:t.pageType});case $.c:return Z(Z({},e),{},{articleType:t.articleType});case $.b:return Z(Z({},e),{},{pageType:t.pageType,defaultPageType:t.defaultPageType});case $.a:return Z(Z({},e),{},{articleType:t.articleType,defaultArticleType:t.defaultArticleType});default:return e}},SEMrushModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case d.MODAL_OPEN_NO_KEYPHRASE:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case d.MODAL_OPEN:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case d.MODAL_DISMISS:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e},SEMrushRequest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ee.b:return ne(ne({},e),{},{isRequestPending:!0,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null});case ee.g:return ne(ne({},e),{},{isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0});case ee.e:return ne(ne({},e),{},{isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1});case ee.f:return ne(ne({},e),{},{isRequestPending:!1,limitReached:!0,hasData:!1});case ee.a:return ne(ne({},e),{},{countryCode:t.countryCode});case ee.c:return ne(ne({},e),{},{isSuccess:!0,isRequestPending:!1,hasData:!1,response:null});case ee.d:return ne(ne({},e),{},{isLoggedIn:t.loginStatus});default:return e}},settings:oe.a,shoppingData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ce,t=arguments.length>1?arguments[1]:void 0;if(t.type===ae.a){var n=Object(b.pick)(t.shoppingData,["rating","reviewCount","availability","price"]);return se(se({},e),n)}return e},snippetEditor:ue.a,twitterEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case le.b:return pe(pe({},e),{},{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case le.e:return pe(pe({},e),{},{title:t.title});case le.c:return pe(pe({},e),{},{description:t.description});case le.d:return pe(pe({},e),{},{image:{id:t.image.id,url:t.image.url},warnings:t.image.warnings});case le.a:return pe(pe({},e),{},{image:{url:"",id:""},warnings:[]});default:return e}},warning:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case me.a:return be(be({},e),{},{message:t.message});default:return e}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(4),o=n(2),a=n(23);function i(e){window.YoastSEO.analysis.worker.runResearch("readingTime",new a.Paper(e,{})).then((function(e){Object(r.dispatch)("yoast-seo/editor").setEstimatedReadingTime(e.result)}))}var s=Object(o.debounce)(i,1500,{maxWait:3e3}),c="",u=null;function l(){var e=Object(r.select)("core/editor").getCurrentPostId(),t=Object(r.select)("core/editor").getCurrentPostType(),n=Object(r.select)("core").getEditedEntityRecord("postType",t,e);if(u!==n){u=n;var o=Object(r.select)("core/editor").getEditedPostAttribute("content");c!==o&&(c=o,i(o))}}function d(){var e=Object(r.select)("yoast-seo/editor").getEditorDataContent();c!==e&&(c=e,i(e))}function p(){var e,t;!1!==Object(o.get)(window,"wpseoScriptData.analysis.estimatedReadingTimeEnabled",!1)&&(Object(r.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),"1"===window.wpseoScriptData.isElementorEditor?Object(r.subscribe)(Object(o.debounce)(d,1500,{maxWait:3e3})):"1"===window.wpseoScriptData.isBlockEditor?Object(r.subscribe)(Object(o.debounce)(l,1500,{maxWait:3e3})):(e=["input","change","cut","paste"],t="1"===Object(o.get)(window,"wpseoScriptData.isPost","0")?"content":"description",jQuery(document).on("tinymce-editor-init",(function(n,r){r.id===t&&e.forEach((function(e){r.on(e,(function(){s(r.getContent())}))}))}))))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"category",(function(){return Se})),n.d(r,"currentYear",(function(){return ke})),n.d(r,"date",(function(){return Re})),n.d(r,"excerpt",(function(){return Pe})),n.d(r,"focusKeyphrase",(function(){return De})),n.d(r,"id",(function(){return xe})),n.d(r,"modified",(function(){return Ae})),n.d(r,"name",(function(){return Ce})),n.d(r,"page",(function(){return Ie})),n.d(r,"pageNumber",(function(){return Me})),n.d(r,"pageTotal",(function(){return Ne})),n.d(r,"postTypeNamePlural",(function(){return Le})),n.d(r,"postTypeNameSingular",(function(){return Fe})),n.d(r,"primaryCategory",(function(){return qe})),n.d(r,"searchPhrase",(function(){return Be})),n.d(r,"separator",(function(){return Ue})),n.d(r,"siteDescription",(function(){return Ke})),n.d(r,"siteName",(function(){return Ve})),n.d(r,"tag",(function(){return We})),n.d(r,"term404",(function(){return He})),n.d(r,"termDescription",(function(){return Ye})),n.d(r,"termHierarchy",(function(){return Ge})),n.d(r,"termTitle",(function(){return ze})),n.d(r,"title",(function(){return Qe})),n.d(r,"userDescription",(function(){return Ze}));var o={};n.r(o),n.d(o,"getAnalysisData",(function(){return qt}));var a={};n.r(a),n.d(a,"updateData",(function(){return Kt})),n.d(a,"loadSnippetEditorData",(function(){return Vt}));var i=n(4),s=n(63),c=n(151),u=null,l=function(){if(null===u){var e=Object(i.dispatch)("yoast-seo/editor").runAnalysis;u=new c.a(e)}return u},d=function(e){return l()._ready(e)},p=function(e){return l()._reloaded(e)},f=function(e,t,n,r){return l()._registerModification(e,t,n,r)},m=function(e,t){return l()._registerPlugin(e,t)},g=function(e,t,n){return l().loaded?l()._applyModifications(e,t,n):t},b=n(61),y=n(46),h=n.n(y),O=n(47),w=n.n(O),v=n(26),j=n.n(v),E=n(2),_=n(23),T=n(104),S=n(72),k=n(86),R=n(118);function P(){return(P=w()(j.a.mark((function e(t,n){var r,o,a,s,c,u,l,d;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.text,o=h()(n,["text"]),a=new _.Paper(r,o),e.prev=2,e.next=5,t.analyze(a);case 5:s=e.sent,c=s.result,u=c.seo,l=c.readability,u&&((d=u[""]).results=Object(k.sortResultsByIdentifier)(d.results),Object(i.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(a.getKeyword(),d.results),Object(i.dispatch)("yoast-seo/editor").setOverallSeoScore(d.score,a.getKeyword())),l&&(l.results=Object(k.sortResultsByIdentifier)(l.results),Object(i.dispatch)("yoast-seo/editor").setReadabilityResults(l.results),Object(i.dispatch)("yoast-seo/editor").setOverallReadabilityScore(l.score)),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),Object(S.a)();case 14:case"end":return e.stop()}}),e,null,[[2,11]])})))).apply(this,arguments)}var D=Object(E.debounce)((function(_x,e){return P.apply(this,arguments)}),T.refreshDelay);function x(){var e=function(e){return e.title=g("data_page_title",e.title),e.title=g("title",e.title),e.description=g("data_meta_desc",e.description),e.text=g("content",e.text),e}((0,Object(i.select)("yoast-seo/editor").getAnalysisData)());return Object(s.applyFilters)("yoast.analysis.data",e)}var A=n(0),C=n(3),I=n(12),M=n(5),N=n.n(M),L=n(7),F=n.n(L),q=n(13),B=n.n(q),U=n(14),K=n.n(U),V=n(8),W=n.n(V);function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=W()(e);if(t){var o=W()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return K()(this,n)}}var Y=function(e){B()(n,e);var t=H(n);function n(e,r,o){var a;return N()(this,n),(a=t.call(this)).hook=e,a.id=r,a.callback=o,a}return F()(n,[{key:"getCommand",value:function(){return this.hook}},{key:"getId",value:function(){return this.id}},{key:"apply",value:function(){return this.callback()}}]),n}($e.modules.hookUI.Base),G=function(e){B()(n,e);var t=H(n);function n(e,r,o){var a;return N()(this,n),(a=t.call(this)).hook=e,a.id=r,a.callback=o,a}return F()(n,[{key:"getCommand",value:function(){return this.hook}},{key:"getId",value:function(){return this.id}},{key:"apply",value:function(){return this.callback()}}]),n}($e.modules.hookData.Base);function z(e,t,n){$e.hooks.registerUIAfter(new Y(e,t,n))}var $=n(30),Q=n.n($),Z=n(18),X=n(20),J=n(103);var ee=[],te=null,ne=function(e){B()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=W()(t);if(n){var o=W()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return K()(this,e)});function o(e){var t;return N()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return F()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(Q()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(A.createElement)(t,{key:n})}))}}]),o}(A.Component);function re(e,t){null===te||null===te.current?ee.push({key:e,Component:t}):te.current.registerComponent(e,t)}var oe=n(120);function ae(){return Object(A.createElement)(Z.Slot,{name:"YoastElementor"},(function(e){return Object(oe.a)(e)}))}var ie=n(19),se=n(1),ce=n.n(se),ue=n(124),le=n(6);function de(e){return 0===e.message.length?null:Object(A.createElement)(le.Alert,{type:e.type},e.message)}de.propTypes={message:ce.a.oneOfType([ce.a.array,ce.a.string]).isRequired,type:ce.a.string.isRequired};var pe=Object(i.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)(),type:"info"}}))(de),fe=n(125),me=n(126),ge=n(122),be=n(32),ye=n(84),he=n(10),Oe=n.n(he),we=n(27),ve=n.n(we),je=n(147),Ee=n(112),_e=n(57),Te=n(9),Se={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},ke={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},Re={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},Pe={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},De={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},xe={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},Ae={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},Ce={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},Ie={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},Me={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},Ne={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},Le={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},Fe={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},qe={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},Be={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},Ue={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},Ke={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},Ve={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},We={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},He={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},Ye={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return Object(E.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},Ge={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},ze={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},Qe={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},Ze={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")},Xe=n(31),Je=null,et=null,tt=function(e){["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach((function(t){f(t,e,"replaceVariablePlugin",10)}))},nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(""===e&&(e=Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["category","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]},rt=function(e){return tt((function(t){return t.replace(new RegExp(e.placeholder,"g"),e.replacement)}))},ot=function(){return null===et&&(et=[],(null===Je&&(Je=nt().map((function(e){return r[e]}))),Je).forEach((function(e){et.push({name:e.name,label:e.label,value:e.placeholder}),e.aliases.forEach((function(e){et.push({name:e.name,label:e.label,value:e.placeholder})}))}))),et};var at=Te.strings.stripHTMLTags,it=function(e,t){var n=Object(i.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=n.title),""===e.description&&(e.description=n.description);var r=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(r=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[r]&&(e.url=e.url.slice(0,r)+e.url.slice(r+1)),{url:e.url,title:at(g("data_page_title",e.title)),description:at(g("data_meta_desc",e.description))}},st=function(e){var t=e.isLoading,n=e.onLoad,r=e.location,o=h()(e,["isLoading","onLoad","location"]);return Object(A.useEffect)((function(){setTimeout((function(){t&&n()}))})),t?null:Object(A.createElement)(Ee.a,{icon:"eye",hasPaperStyle:o.hasPaperStyle},Object(A.createElement)(je.SnippetEditor,ve()({},o,{descriptionPlaceholder:Object(C.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:it,showCloseButton:!1,idSuffix:r})))};st.propTypes={isLoading:ce.a.bool.isRequired,onLoad:ce.a.func.isRequired,hasPaperStyle:ce.a.bool.isRequired,location:ce.a.string.isRequired};var ct=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getEditorDataImageUrl,a=t.getFocusKeyphrase,i=t.getRecommendedReplaceVars,s=t.getSiteIconUrlFromSettings,c=t.getSnippetEditorData,u=t.getSnippetEditorIsLoading,l=t.getSnippetEditorMode,d=t.getSnippetEditorWordsToHighlight;return{baseUrl:n(),data:c(),date:r(),faviconSrc:s(),isLoading:u(),keyword:a(),mobileImageSrc:o(),mode:l(),recommendedReplacementVariables:i(),replacementVariables:ot(),wordsToHighlight:d()}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData;return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t});break;default:n(Oe()({},e,t))}},onChangeAnalysisData:function(e){o(e)},onLoad:t.loadSnippetEditorData}})),Object(_e.a)()])(st),ut=function(){return Object(A.createElement)(ye.a,{title:Object(C.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(A.createElement)(ct,{showCloseButton:!1,hasPaperStyle:!1}))},lt=n(148),dt=null,pt=function(){return(dt||(dt=window.wp.media()).on("select",(function(){var e=dt.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};Object(i.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:Object(Te.validateTwitterImage)(t)})})),dt).open()},ft=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,a=t.getFacebookImageUrl,i=t.getFacebookTitle,s=t.getFacebookDescription,c=t.getDescription,u=t.getSeoTitle,l=t.getTwitterWarnings,d=t.getTwitterImageType,p=t.getEditorDataImageFallback,f=t.getRecommendedReplaceVars,m=t.getSiteUrl,g=t.getAuthorName,b=t.getSeoTitleTemplate,y=t.getSeoTitleTemplateNoFallback,h=t.getSocialTitleTemplate,O=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,v=t.getEditorDataExcerptWithFallback,j=Object(C.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(C.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),E=Object(C.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(C.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:o(),imageFallbackUrl:a()||p(),recommendedReplacementVariables:f(),replacementVariables:ot(),description:n(),descriptionPreviewFallback:w()||s()||c()||O()||v()||E,title:r(),titlePreviewFallback:h()||i()||u()||y()||b()||j,imageWarnings:l(),authorName:g(),siteUrl:m(),isPremium:!!Object(X.a)().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:j,descriptionInputPlaceholder:E,socialMediumName:"Twitter"}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:pt,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(_e.a)()])(lt.a),mt=function(){return Object(A.createElement)(ye.a,{title:Object(C.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(A.createElement)(ft,null))},gt=n(150),bt=null,yt=function(){return(bt||(bt=window.wp.media()).on("select",(function(){var e=bt.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};Object(i.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:Object(Te.validateFacebookImage)(t)})})),bt).open()},ht=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,o=t.getFacebookTitle,a=t.getSeoTitle,i=t.getFacebookImageUrl,s=t.getEditorDataImageFallback,c=t.getFacebookWarnings,u=t.getRecommendedReplaceVars,l=t.getSiteUrl,d=t.getAuthorName,p=t.getSeoTitleTemplate,f=t.getSeoTitleTemplateNoFallback,m=t.getSocialTitleTemplate,g=t.getSeoDescriptionTemplate,b=t.getSocialDescriptionTemplate,y=t.getEditorDataExcerptWithFallback,h=Object(C.sprintf)(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(C.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),O=Object(C.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(C.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:s(),recommendedReplacementVariables:u(),replacementVariables:ot(),description:n(),descriptionPreviewFallback:b()||r()||g()||y()||O,title:o(),titlePreviewFallback:m()||a()||f()||p()||h,imageWarnings:c(),authorName:d(),siteUrl:l(),isPremium:!!Object(X.a)().isPremium,titleInputPlaceholder:h,descriptionInputPlaceholder:O,socialMediumName:"Facebook"}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:yt,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(_e.a)()])(gt.a),Ot=function(){return Object(A.createElement)(ye.a,{title:Object(C.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(A.createElement)(ht,null))},wt=n(50),vt=n(127),jt=n(128),Et=n(115);function _t(e){var t=e.isLoading,n=e.onLoad,r=e.settings;return Object(A.useEffect)((function(){setTimeout((function(){t&&n()}))})),t?null:Object(A.createElement)(Z.Fill,{name:"YoastElementor"},Object(A.createElement)(be.a,{renderPriority:1},Object(A.createElement)(pe,null)),r.isKeywordAnalysisActive&&Object(A.createElement)(be.a,{renderPriority:8},Object(A.createElement)(fe.a,{isSEMrushIntegrationActive:r.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(A.createElement)(Z.Fill,{name:"YoastRelatedKeyphrases"},Object(A.createElement)(Et.a,null))),Object(A.createElement)(be.a,{renderPriority:23},Object(A.createElement)(ut,null)),r.displayFacebook&&Object(A.createElement)(be.a,{renderPriority:24},Object(A.createElement)(Ot,null)),r.displayTwitter&&Object(A.createElement)(be.a,{renderPriority:25},Object(A.createElement)(mt,null)),r.displaySchemaSettings&&Object(A.createElement)(be.a,{renderPriority:26},Object(A.createElement)(wt.a,{title:Object(C.__)("Schema","wordpress-seo")},Object(A.createElement)(vt.a,null))),r.displayAdvancedTab&&Object(A.createElement)(be.a,{renderPriority:27},Object(A.createElement)(wt.a,{title:Object(C.__)("Advanced","wordpress-seo")},Object(A.createElement)(jt.a,{location:"sidebar"}))),r.isContentAnalysisActive&&Object(A.createElement)(be.a,{renderPriority:10},Object(A.createElement)(me.a,null)),r.isKeywordAnalysisActive&&Object(A.createElement)(be.a,{renderPriority:20},Object(A.createElement)(ge.a,{shouldUpsell:r.shouldUpsell,shouldUpsellWordFormRecognition:r.isWordFormRecognitionActive})),r.isCornerstoneActive&&Object(A.createElement)(be.a,{renderPriority:30},Object(A.createElement)(ue.a,null)))}_t.propTypes={isLoading:ce.a.bool.isRequired,onLoad:ce.a.func.isRequired,settings:ce.a.object.isRequired};var Tt,St=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getSnippetEditorIsLoading;return{settings:n(),isLoading:r()}})),Object(i.withDispatch)((function(e){return{onLoad:e("yoast-seo/editor").loadSnippetEditorData}}))])(_t),kt=!1;function Rt(e){e.oldValue=e.value}function Pt(){Tt.forEach((function(e){return Rt(e)}))}var Dt=Object(E.debounce)((function(){var e;kt&&(
|
82 |
/* Translators: %1$s translates to the Post Label in singular form */
|
83 |
+
e=Object(C.sprintf)(Object(C.__)("Unfortunately we cannot save changes to your SEO settings while you are working on a draft of an already-published %1$s. If you want to save your SEO changes, make sure to click 'Update', or wait to make your SEO changes until you are ready to update the %1$s.","wordpress-seo"),window.wpseoAdminL10n.postTypeNameSingular.toLowerCase())),"draft"===window.elementor.settings.page.model.get("post_status")&&(e=""),Object(i.dispatch)("yoast-seo/editor").setWarningMessage(e)}),500,{trailing:!0});function xt(e){"yoast_wpseo_linkdex"!==e.name&&"yoast_wpseo_content_score"!==e.name&&"yoast_wpseo_words_for_linking"!==e.name&&e.value!==e.oldValue&&(kt=!0,Dt(),window.$e.internal("document/save/set-is-modified",{status:!0}),Rt(e))}function At(e){kt=!1;var t=jQuery(e).serializeArray().reduce((function(e,t){var n=t.name,r=t.value;return e[n]=r,e}),{});jQuery.post(e.getAttribute("action"),t,(function(e,n,r){var o=e.success,a=e.data;o?(Object(s.doAction)("yoast.elementor.save.success",r),a.slug&&a.slug!==t.slug&&Object(i.dispatch)("yoast-seo/editor").updateData({slug:a.slug}),Pt(),Dt()):kt=!0}))}function Ct(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=re,window.$e.routes.on("run:after",(function(e,t){"panel/page-settings/yoast-tab"===t&&function(e,t){var n=Object(X.a)();te=Object(A.createRef)();var r={isRtl:n.isRtl};Object(A.render)(Object(A.createElement)(J.a,{theme:r,location:"sidebar"},Object(A.createElement)(Z.SlotFillProvider,null,Object(A.createElement)(A.Fragment,null,t,Object(A.createElement)(ne,{ref:te})))),document.getElementById("elementor-panel-page-settings-controls")),ee.forEach((function(e){te.current.registerComponent(e.key,e.Component)}))}(0,Object(A.createElement)(I.StyleSheetManager,{target:document.getElementById("elementor-panel-inner")},Object(A.createElement)("div",{className:"yoast yoast-elementor-panel__fills"},Object(A.createElement)(ae,null),Object(A.createElement)(St,null))))})),window.elementor.settings.page.model.on("change",(function(e){e.changed&&e.changed.post_status&&Dt()}));var e,t=At.bind(null,document.getElementById("yoast-form"));e=function(){window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&t()},$e.hooks.registerDataAfter(new G("document/save/save","yoast-seo-save",e)),window.elementor.modules.layouts.panel.pages.menu.Menu.addItem({name:"yoast",icon:"yoast yoast-element-menu-icon",title:"Yoast SEO",type:"page",callback:function(){try{window.$e.routes.run("panel/page-settings/yoast-tab")}catch(e){window.$e.routes.run("panel/page-settings/settings"),window.$e.routes.run("panel/page-settings/yoast-tab")}}},"more"),Tt=document.querySelectorAll("input[name^='yoast']"),Pt(),setInterval((function(){return Tt.forEach(xt)}),500)}var It=n(185),Mt=n(156),Nt=n(25),Lt=n(71),Ft=n(73),qt=function(e){var t=Object(Ft.getSnippetEditorTitleWithTemplate)(e),n=Object(Ft.getSnippetEditorDescriptionWithTemplate)(e),r=Object(Ft.getSnippetEditorSlug)(e),o=Object(Ft.getBaseUrlFromSettings)(e);return t=Te.strings.stripHTMLTags(g("data_page_title",t)),n=Te.strings.stripHTMLTags(g("data_meta_desc",n)),r=r.trim().replace(/\s+/g,"-"),{text:Object(Ft.getEditorDataContent)(e),title:t,keyword:Object(Ft.getFocusKeyphrase)(e),description:n,locale:Object(Ft.getContentLocale)(e),titleWidth:Object(Lt.a)(t),url:r,permalink:o+r}},Bt=n(152),Ut=function(){function e(){N()(this,e)}return F()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}},{key:"slugElement",get:function(){return document.getElementById("yoast_wpseo_slug")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"slug",get:function(){return e.slugElement.value},set:function(t){e.slugElement.value=t}}]),e}();function Kt(e){if(e.hasOwnProperty("title")){var t=e.title;e.title===Object(E.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),Ut.title=t}if(e.hasOwnProperty("description")){var n=e.description;e.description===Object(E.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(n=""),Ut.description=n}return e.hasOwnProperty("slug")&&(Ut.slug=e.slug),{type:Nt.UPDATE_DATA,data:e}}var Vt=function(){var e=Object(E.get)(window,"wpseoScriptData.metabox.title_template",""),t=Object(E.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:Nt.LOAD_SNIPPET_EDITOR_DATA,data:{title:Ut.title||e,description:Ut.description||t,slug:Ut.slug},templates:{title:e,description:t}}};function Wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(n),!0).forEach((function(t){Oe()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Yt=n(153),Gt={content:"",title:"",excerpt:"",slug:"",imageUrl:""};function zt(e){var t=window.elementor.settings.page.model.get("post_featured_image"),n=Object(E.get)(t,"url","");return""===n?function(e){var t=_.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=jQuery(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}(e):n}var $t=Object(E.debounce)((function(){var e=window.elementor.documents.getCurrent();if(["wp-post","wp-page"].includes(e.config.type)){var t,n={content:t=function(e){var t=[];return e.$element.find(".elementor-widget-container").each((function(e,n){t.push(n.innerHTML.trim())})),t.join("")}(e),title:window.elementor.settings.page.model.get("post_title"),excerpt:window.elementor.settings.page.model.get("post_excerpt")||"",imageUrl:zt(t)};n.content!==Gt.content&&(Gt.content=n.content,Object(i.dispatch)("yoast-seo/editor").setEditorDataContent(Gt.content)),n.title!==Gt.title&&(Gt.title=n.title,Object(i.dispatch)("yoast-seo/editor").setEditorDataTitle(Gt.title)),n.excerpt!==Gt.excerpt&&(Gt.excerpt=n.excerpt,Object(i.dispatch)("yoast-seo/editor").setEditorDataExcerpt(Gt.excerpt)),n.imageUrl!==Gt.imageUrl&&(Gt.imageUrl=n.imageUrl,Object(i.dispatch)("yoast-seo/editor").setEditorDataImageUrl(Gt.imageUrl))}}),500);function Qt(e,t){var n=Object(i.dispatch)("yoast-seo/editor").updateWordsToHighlight;e("morphology",new _.Paper("",{keyword:t})).then((function(e){var t=e.result.keyphraseForms;n(Object(E.uniq)(Object(E.flatten)(t)))})).catch((function(){n([])}))}var Zt=Object(E.debounce)(Qt,500);function Xt(){var e,t,n,c;window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=(function(e){e.dispatch(Nt.loadCornerstoneContent()),e.dispatch(Nt.loadFocusKeyword()),e.dispatch(Nt.setMarkerStatus("hidden")),e.dispatch(Nt.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,authorName:window.wpseoScriptData.metabox.author_name,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}}));var t=window.wpseoScriptData.metabox.showSocial,n=t.facebook,r=t.twitter;n&&e.dispatch(Nt.loadFacebookPreviewData()),r&&e.dispatch(Nt.loadTwitterPreviewData()),e.dispatch(Nt.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(Nt.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus))}(c=Object(i.registerStore)("yoast-seo/editor",{reducer:Object(i.combineReducers)(Mt.a),selectors:Ht(Ht({},Ft),o),actions:Object(E.pickBy)(Ht(Ht({},Nt),a),(function(e){return"function"==typeof e})),controls:Bt})),c),z("editor/documents/attach-preview","yoast-seo-content-scraper-attach-preview",$t),z("document/save/set-is-modified","yoast-seo-content-scraper-on-modified",$t),window.YoastSEO.pluginReady=d,window.YoastSEO.pluginReloaded=p,window.YoastSEO.registerModification=f,window.YoastSEO.registerPlugin=m,window.YoastSEO.applyModifications=g,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=Object(i.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=function(){var e=Object(i.select)("yoast-seo/editor"),t=e.getAnalysisTimestamp,n=e.isCornerstoneContent,r=Object(R.a)();r.initialize(Object(R.b)({useCornerstone:n()})).catch(S.a);var o=x(),a=n(),s=t();return Object(i.subscribe)((function(){var e=n(),i=x(),c=t();if(e!==a)return a=e,o=i,void r.initialize({useCornerstone:e}).then((function(){return D(r,i)})).catch(S.a);c===s&&!1!==Object(E.isEqual)(i,o)||(o=i,s=c,D(r,i))})),r}(),window.YoastSEO.analysis.collectData=x,m("replaceVariablePlugin",{status:"ready"}),nt().forEach((function(e){var t,n,o,a=(n=(t=r[e]).getReplacement,o=t.regexp,function(e){return e.replace(o,n())});tt(a)})),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:rt,ReplaceVar:Xe.a},function(){var e=Object(X.a)(),t=Object(E.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),n=new Yt.a("get_focus_keyword_usage",e,Object(i.dispatch)("yoast-seo/editor").runAnalysis,t);n.init();var r="";Object(i.subscribe)((function(){var e=Object(i.select)("yoast-seo/editor").getFocusKeyphrase();e!==r&&(r=e,n.setKeyword(e))}))}(),Object(It.a)(),e=window.YoastSEO.analysis.worker.runResearch,t=Object(i.select)("yoast-seo/editor").getFocusKeyphrase,n=t(),Qt(e,n),Object(i.subscribe)((function(){var r=t();n!==r&&(n=r,Zt(e,r))})),function(){if(!0!==window.elementor.config.user.introduction["yoast-introduction"]){var e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction",headerMessage:Object(C.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:Object(C.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"left top",at:"right top",autoRefresh:!0},hide:{onOutsideClick:!1}},onDialogInitCallback:function(t){window.$e.routes.on("run:after",(function(e,n){"panel/menu"===n&&t.getElements("ok").click()})),t.addButton({name:"ok",text:Object(C.__)("Got it","wordpress-seo"),callback:function(){return e.setViewed()}}),t.getElements("ok").addClass("elementor-button elementor-button-success")}});setTimeout((function t(){try{e.show(window.elementor.getPanelView().header.currentView.ui.menuButton[0])}catch(e){setTimeout(t,100)}}),100)}}(),Ct(),Object(s.doAction)("yoast.elementor.loaded")}Object(b.setYoastComponentsL10n)(),Object(b.setWordPressSeoL10n)(),jQuery(window).on("elementor:init",(function(){window.elementor.on("panel:init",(function(){setTimeout(Xt)}))}))}]);
|
js/dist/externals/analysis-1710.js
DELETED
@@ -1,355 +0,0 @@
|
|
1 |
-
window.yoast=window.yoast||{},window.yoast.analysis=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return 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 i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));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=737)}({101:function(e,t){e.exports=window.lodash.filter},102:function(e,t){e.exports=window.lodash.includes},103:function(e,t){function r(e,t,r,n,i,s,a){try{var o=e[s](a),l=o.value}catch(e){return void r(e)}o.done?t(l):Promise.resolve(l).then(n,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,s){var a=e.apply(t,n);function o(e){r(a,i,s,o,l,"next",e)}function l(e){r(a,i,s,o,l,"throw",e)}o(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},104:function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},e.exports.default=e.exports,e.exports.__esModule=!0},11:function(e,t,r){var n=r(37);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},116:function(e,t){var r,n,i=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(r===setTimeout)return setTimeout(e,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(e){r=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,u=[],c=!1,h=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&p())}function p(){if(!c){var e=o(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++h<t;)l&&l[h].run();h=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function g(e,t){this.fun=e,this.array=t}function d(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new g(e,t)),1!==u.length||c||o(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.prependListener=d,i.prependOnceListener=d,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},118:function(e,t,r){r(293),e.exports=r(698)},119:function(e,t,r){e.exports=r(701)},12:function(e,t,r){var n=r(23).default,i=r(14);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?i(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},120:function(e,t){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},128:function(e,t,r){(function(e,n){var i=r(23);(function(){var r="object"==(void 0===e?"undefined":i(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,a=r||s||Function("return this")(),o="object"==i(t)&&t&&!t.nodeType&&t,l=o&&"object"==i(n)&&n&&!n.nodeType&&n,u=/[&<>"']/g,c=RegExp(u.source);r="object"==(void 0===e?"undefined":i(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,a=r||s||Function("return this")();var h,f=(h={"&":"&","<":"<",">":">",'"':""","'":"'"},function(e){return null==h?void 0:h[e]}),p=Object.prototype,g=p.hasOwnProperty,d=p.toString,v=a.Symbol,m=v?v.toStringTag:void 0,y=v?v.prototype:void 0,b=y?y.toString:void 0;function _(e){if("string"==typeof e)return e;if(w(e))return function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}(e,_)+"";if(function(e){return"symbol"==i(e)||function(e){return null!=e&&"object"==i(e)}(e)&&"[object Symbol]"==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":m&&m in Object(e)?function(e){var t=g.call(e,m),r=e[m];try{e[m]=void 0;var n=!0}catch(e){}var i=d.call(e);return n&&(t?e[m]=r:delete e[m]),i}(e):function(e){return d.call(e)}(e)}(e)}(e))return b?b.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var w=Array.isArray,x=function(e){var t;return(e=null==(t=e)?"":_(t))&&c.test(e)?e.replace(u,f):e},E={assessmentPresenterResult:function(e){e||(e={});var t,r=e,n=r.scores,i=r.markerButtonsDisabled,s=r.i18n,a=r.activeMarker,o="",l=x;for(var u in Array.prototype.join,o+='<ul class="wpseoanalysis assessment-results">\n ',n)o+='\n <li class="score">\n <span class="assessment-results__mark-container">\n ',n[u].marker&&(o+='\n <button type="button" ',i&&(o+=' disabled="disabled" '),o+='\n aria-label="',i?o+=null==(t=s.disabledMarkText)?"":t:n[u].identifier===a?o+=null==(t=s.removeMarksInText)?"":t:o+=null==(t=s.markInText)?"":t,o+='"\n class="assessment-results__mark ',i?o+=" icon-eye-disabled ":n[u].identifier===a?o+="\n icon-eye-active\n ":o+="\n icon-eye-inactive\n ",o+="\n js-assessment-results__mark-"+(null==(t=n[u].identifier)?"":t)+' yoast-tooltip yoast-tooltip-s">\n <span class="screen-reader-text">',i?o+=null==(t=s.disabledMarkText)?"":t:n[u].identifier===a?o+=null==(t=s.removeMarksInText)?"":t:o+=null==(t=s.markInText)?"":t,o+="\n </span></button>\n "),o+='\n </span>\n <span class="wpseo-score-icon '+l(n[u].className)+'"></span>\n <span class="screen-reader-text">'+(null==(t=n[u].screenReaderText)?"":t)+'</span>\n <span class="wpseo-score-text">'+(null==(t=n[u].text)?"":t)+"</span>\n </li>\n ";return o+"\n</ul>\n"},hiddenSpan:function(e){e||(e={});var t=e,r=t.whiteSpace,n=t.width,i="",s=x;return Array.prototype.join,i+='<span aria-hidden="true" style="width: '+s(n)+"; height: auto; position: absolute; visibility: hidden; ",""!==r&&(i+="white-space: "+s(r)),i+'">\n\n</span>\n'},relevantWords:function(e){e||(e={});var t,r=e.words,n="";for(var i in Array.prototype.join,n+="<table>\n <tr>\n <th>Word</th>\n <th>Density</th>\n <th>Occurrences</th>\n <th>Length</th>\n <th>Relevant word percentage</th>\n <th>Length bonus</th>\n <th>Multiplier</th>\n <th>Relevance</th>\n </tr>\n ",r)n+="\n <tr>\n <td>"+(null==(t=r[i].word)?"":t)+"</td>\n <td>"+(null==(t=r[i].density)?"":t)+"</td>\n <td>"+(null==(t=r[i].occurrences)?"":t)+"</td>\n <td>"+(null==(t=r[i].length)?"":t)+"</td>\n <td>"+(null==(t=r[i].relevantWordPercentage)?"":t)+"</td>\n <td>"+(null==(t=r[i].lengthBonus)?"":t)+"</td>\n <td>"+(null==(t=r[i].multiplier)?"":t)+"</td>\n <td>"+(null==(t=r[i].relevance)?"":t)+"</td>\n </tr>\n ";return n+"\n</table>\n"},snippetEditor:function(e){e||(e={});var t=e,r=t.i18n,n=t.rendered,i=t.metaDescriptionDate,s=t.raw,a=t.placeholder,o="",l=x;return Array.prototype.join,o+='<div id="snippet_preview" class="yoast-section">\n\t<section class="snippet-editor__preview">\n\t\t<h3 class="snippet-editor__heading snippet-editor__heading-icon snippet-editor__heading-icon-eye">'+l(r.snippetPreview)+'</h3>\n\t<p class="screen-reader-text">'+l(r.snippetPreviewDescription)+'</p>\n\n\t\t<div id="snippet-preview-view" class="snippet-editor__view">\n\t\t\t<div class="snippet_container snippet_container__title snippet-editor__container" id="title_container">\n\t\t\t\t<span class="screen-reader-text">'+l(r.titleLabel)+'</span>\n\t\t\t\t<span class="title" id="render_title_container">\n\t\t\t\t\t<span id="snippet_title">\n\t\t\t\t\t\t'+l(n.title)+'\n\t\t\t\t\t</span>\n\t\t\t\t</span>\n\t\t\t\t<span class="title" id="snippet_sitename"></span>\n\t\t\t</div>\n\t\t\t<div class="snippet_container snippet_container__url snippet-editor__container" id="url_container">\n\t\t\t\t<span class="screen-reader-text">'+l(r.slugLabel)+'</span>\n\t\t\t\t<span class="urlFull">\n\t\t\t\t\t<cite class="url urlBase" id="snippet_citeBase">\n\t\t\t\t\t\t'+l(n.baseUrl)+'\n\t\t\t\t\t</cite><cite class="url" id="snippet_cite">\n\t\t\t\t\t\t'+l(n.snippetCite)+'\n\t\t\t\t\t</cite>\n\t\t\t\t</span><span class="down_arrow"></span>\n\t\t\t</div>\n\t\t\t<div class="snippet_container snippet_container__meta snippet-editor__container" id="meta_container">\n\t\t\t\t<span class="screen-reader-text">'+l(r.metaDescriptionLabel)+"</span>\n\t\t\t\t",""!==i&&(o+='\n\t\t\t\t\t<span class="snippet-editor__date">\n\t\t\t\t\t\t'+l(i)+" -\n\t\t\t\t\t</span>\n\t\t\t\t"),o+'\n\t\t\t\t<span class="desc" id="snippet_meta">\n\t\t\t\t\t'+l(n.meta)+"\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"snippet-editor__is-scrollable-hintwrapper\">\n\t\t\t<span class='snippet-editor__is-scrollable-hint' aria-hidden='true'>"+l(r.isScrollableHint)+'</span>\n\t\t</div>\n\n\t\t<div class="snippet-editor__view-toggle">\n\t\t\t<button class="snippet-editor__view-icon snippet-editor__view-icon-mobile yoast-tooltip yoast-tooltip-se" type="button" data-type="mobile" aria-label="'+l(r.mobilePreviewMode)+'" />\n\t\t\t<button class="snippet-editor__view-icon snippet-editor__view-icon-desktop yoast-tooltip yoast-tooltip-se" type="button" data-type="desktop" aria-label="'+l(r.desktopPreviewMode)+'" />\n\t\t</div>\n\t\t<button class="snippet-editor__button snippet-editor__edit-button" type="button" aria-expanded="false">\n\t\t\t'+l(r.edit)+'\n\t\t</button>\n\t</section>\n\n\t<div class="snippet-editor__form snippet-editor--hidden">\n\t\t<label for="snippet-editor-title" class="snippet-editor__label">\n\t\t\t'+l(r.title)+'\n\t\t\t<input type="text" class="snippet-editor__input snippet-editor__title js-snippet-editor-title" id="snippet-editor-title" value="'+l(s.title)+'" placeholder="'+l(a.title)+'" />\n\t\t</label>\n\t\t<progress value="0.0" class="snippet-editor__progress snippet-editor__progress-title" aria-hidden="true">\n\t\t\t<div class="snippet-editor__progress-bar"></div>\n\t\t</progress>\n\t\t<label for="snippet-editor-slug" class="snippet-editor__label">\n\t\t\t'+l(r.slug)+'\n\t\t\t<input type="text" class="snippet-editor__input snippet-editor__slug js-snippet-editor-slug" id="snippet-editor-slug" value="'+l(s.snippetCite)+'" placeholder="'+l(a.urlPath)+'" />\n\t\t</label>\n\t\t<label for="snippet-editor-meta-description" class="snippet-editor__label">\n\t\t\t'+l(r.metaDescription)+'\n\t\t\t<textarea class="snippet-editor__input snippet-editor__meta-description js-snippet-editor-meta-description" id="snippet-editor-meta-description" placeholder="'+l(a.metaDesc)+'">'+l(s.meta)+'</textarea>\n\t\t</label>\n\t\t<progress value="0.0" class="snippet-editor__progress snippet-editor__progress-meta-description" aria-hidden="true">\n\t\t\t<div class="snippet-editor__progress-bar"></div>\n\t\t</progress>\n\n\t\t<button class="snippet-editor__submit snippet-editor__button" type="button">'+l(r.save)+"</button>\n\t</div>\n</div>\n"}};l?((l.exports=E).templates=E,o.templates=E):a.templates=E}).call(this)}).call(this,r(25),r(97)(e))},14:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},145:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},151:function(e,t){e.exports=window.lodash.isEqual},16:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},179:function(e,t,r){(function(e,n){var i;!function(s){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var o,l=2147483647,u=/^xn--/,c=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,g=String.fromCharCode;function d(e){throw new RangeError(f[e])}function v(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function m(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+v((e=e.replace(h,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],i=0,s=e.length;i<s;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<s?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function b(e){return v(e,(function(e){var t="";return e>65535&&(t+=g((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+g(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>455;n+=36)e=p(e/35);return p(n+36*e/(e+38))}function x(e){var t,r,n,i,s,a,o,u,c,h,f,g=[],v=e.length,m=0,y=128,_=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&d("not-basic"),g.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<v;){for(s=m,a=1,o=36;i>=v&&d("invalid-input"),((u=(f=e.charCodeAt(i++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||u>p((l-m)/a))&&d("overflow"),m+=u*a,!(u<(c=o<=_?1:o>=_+26?26:o-_));o+=36)a>p(l/(h=36-c))&&d("overflow"),a*=h;_=w(m-s,t=g.length+1,0==s),p(m/t)>l-y&&d("overflow"),y+=p(m/t),m%=t,g.splice(m++,0,y)}return b(g)}function E(e){var t,r,n,i,s,a,o,u,c,h,f,v,m,b,x,E=[];for(v=(e=y(e)).length,t=128,r=0,s=72,a=0;a<v;++a)(f=e[a])<128&&E.push(g(f));for(n=i=E.length,i&&E.push("-");n<v;){for(o=l,a=0;a<v;++a)(f=e[a])>=t&&f<o&&(o=f);for(o-t>p((l-r)/(m=n+1))&&d("overflow"),r+=(o-t)*m,t=o,a=0;a<v;++a)if((f=e[a])<t&&++r>l&&d("overflow"),f==t){for(u=r,c=36;!(u<(h=c<=s?1:c>=s+26?26:c-s));c+=36)x=u-h,b=36-h,E.push(g(_(h+x%b,0))),u=p(x/b);E.push(g(_(u,0))),s=w(r,m,n==i),r=0,++n}++r,++t}return E.join("")}o={version:"1.4.1",ucs2:{decode:y,encode:b},decode:x,encode:E,toASCII:function(e){return m(e,(function(e){return c.test(e)?"xn--"+E(e):e}))},toUnicode:function(e){return m(e,(function(e){return u.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return o}.call(t,r,t,e))||(e.exports=i)}()}).call(this,r(97)(e),r(25))},180:function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},181:function(e,t,r){"use strict";t.decode=t.parse=r(182),t.encode=t.stringify=r(183)},182:function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,s){t=t||"&",r=r||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(t);var l=1e3;s&&"number"==typeof s.maxKeys&&(l=s.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var c=0;c<u;++c){var h,f,p,g,d=e[c].replace(o,"%20"),v=d.indexOf(r);v>=0?(h=d.substr(0,v),f=d.substr(v+1)):(h=d,f=""),p=decodeURIComponent(h),g=decodeURIComponent(f),n(a,p)?i(a[p])?a[p].push(g):a[p]=[a[p],g]:a[p]=g}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},183:function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,o){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?s(a(e),(function(a){var o=encodeURIComponent(n(a))+r;return i(e[a])?s(e[a],(function(e){return o+encodeURIComponent(n(e))})).join(t):o+encodeURIComponent(n(e[a]))})).join(t):o?encodeURIComponent(n(o))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function s(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},196:function(e,t,r){r(693),e.exports=r(294)},197:function(e,t){e.exports=function(e,t,r){var n="";if(n+=e.name||"Error",n+=": "+(e.message||""),r instanceof Array)for(var i in r)n+="\n # "+r[i];for(var s in t)n+="\n at "+t[s].toString();return n}},2:function(e,t){e.exports=window.lodash},21:function(e,t,r){var n=r(75),i=r(76),s=r(63),a=r(77);e.exports=function(e){return n(e)||i(e)||s(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},23:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},25:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},291:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var n,i=r(328);function s(){return null===n.yoast.shortlinker&&(n.yoast.shortlinker=new i.a),n.yoast.shortlinker}function a(e){s().configure(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s().createAnchorOpeningTag(e,t)}(n="undefined"==typeof window?"undefined"==typeof self?e:self:window).yoast=n.yoast||{},n.yoast.shortlinker=null}).call(this,r(25))},292:function(e,t,r){e.exports=r(692)},293:function(e,t,r){r(196).check("es5")},294:function(e,t,r){var n=new(r(694)),i=function(e){return n.test(e)};i.define=function(e,t){n.define(e,t)},i.check=function(e){n.check(e)},i.test=i,e.exports=i},295:function(e,t,r){var n=r(296),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},s={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function c(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(145)(c,r(712).EventEmitter),c.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},c.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},c.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in s)for(var t;(t=this._stack[this._stack.length-1])in s[e];this.onclosetag(t));!this._options.xmlMode&&e in a||(this._stack.push(e),e in o?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},c.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},c.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in o||e in l)&&this._foreignContext.pop(),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},c.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},c.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},c.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},c.prototype.onattribdata=function(e){this._attribvalue+=e},c.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},c.prototype._getInstructionName=function(e){var t=e.search(u),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},c.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},c.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},c.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},c.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},c.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},c.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},c.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},c.prototype.parseComplete=function(e){this.reset(),this.end(e)},c.prototype.write=function(e){this._tokenizer.write(e)},c.prototype.end=function(e){this._tokenizer.end(e)},c.prototype.pause=function(){this._tokenizer.pause()},c.prototype.resume=function(){this._tokenizer.resume()},c.prototype.parseChunk=c.prototype.write,c.prototype.done=c.prototype.end,e.exports=c},296:function(e,t,r){e.exports=ve;var n=r(707),i=r(709),s=r(710),a=r(711),o=0,l=o++,u=o++,c=o++,h=o++,f=o++,p=o++,g=o++,d=o++,v=o++,m=o++,y=o++,b=o++,_=o++,w=o++,x=o++,E=o++,T=o++,A=o++,k=o++,O=o++,C=o++,S=o++,j=o++,R=o++,D=o++,L=o++,M=o++,P=o++,F=o++,$=o++,B=o++,q=o++,U=o++,N=o++,I=o++,K=o++,z=o++,H=o++,W=o++,V=o++,G=o++,Y=o++,Z=o++,J=o++,X=o++,Q=o++,ee=o++,te=o++,re=o++,ne=o++,ie=o++,se=o++,ae=o++,oe=o++,le=o++,ue=0,ce=ue++,he=ue++,fe=ue++;function pe(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function ge(e,t,r){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=t:(this._state=r,this._index--)}:function(i){i===n||i===e?this._state=t:(this._state=r,this._index--)}}function de(e,t){var r=e.toLowerCase();return function(n){n===r||n===e?this._state=t:(this._state=c,this._index--)}}function ve(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ce,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ve.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===ce&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ie,this._sectionStart=this._index)},ve.prototype._stateBeforeTagName=function(e){"/"===e?this._state=f:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ce||pe(e)?this._state=l:"!"===e?(this._state=x,this._sectionStart=this._index+1):"?"===e?(this._state=T,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?c:B,this._sectionStart=this._index)},ve.prototype._stateInTagName=function(e){("/"===e||">"===e||pe(e))&&(this._emitToken("onopentagname"),this._state=d,this._index--)},ve.prototype._stateBeforeCloseingTagName=function(e){pe(e)||(">"===e?this._state=l:this._special!==ce?"s"===e||"S"===e?this._state=q:(this._state=l,this._index--):(this._state=p,this._sectionStart=this._index))},ve.prototype._stateInCloseingTagName=function(e){(">"===e||pe(e))&&(this._emitToken("onclosetag"),this._state=g,this._index--)},ve.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=h:pe(e)||(this._state=v,this._sectionStart=this._index)},ve.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):pe(e)||(this._state=d,this._index--)},ve.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||pe(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=m,this._index--)},ve.prototype._stateAfterAttributeName=function(e){"="===e?this._state=y:"/"===e||">"===e?(this._cbs.onattribend(),this._state=d,this._index--):pe(e)||(this._cbs.onattribend(),this._state=v,this._sectionStart=this._index)},ve.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=b,this._sectionStart=this._index+1):"'"===e?(this._state=_,this._sectionStart=this._index+1):pe(e)||(this._state=w,this._sectionStart=this._index,this._index--)},ve.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=d):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ve.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=d):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ve.prototype._stateInAttributeValueNoQuotes=function(e){pe(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=d,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ve.prototype._stateBeforeDeclaration=function(e){this._state="["===e?S:"-"===e?A:E},ve.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ve.prototype._stateBeforeComment=function(e){"-"===e?(this._state=k,this._sectionStart=this._index+1):this._state=E},ve.prototype._stateInComment=function(e){"-"===e&&(this._state=O)},ve.prototype._stateAfterComment1=function(e){this._state="-"===e?C:k},ve.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=k)},ve.prototype._stateBeforeCdata1=ge("C",j,E),ve.prototype._stateBeforeCdata2=ge("D",R,E),ve.prototype._stateBeforeCdata3=ge("A",D,E),ve.prototype._stateBeforeCdata4=ge("T",L,E),ve.prototype._stateBeforeCdata5=ge("A",M,E),ve.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=P,this._sectionStart=this._index+1):(this._state=E,this._index--)},ve.prototype._stateInCdata=function(e){"]"===e&&(this._state=F)},ve.prototype._stateAfterCdata1=function(e){this._state="]"===e?$:P},ve.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=P)},ve.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=U:"t"===e||"T"===e?this._state=Z:(this._state=c,this._index--)},ve.prototype._stateBeforeSpecialEnd=function(e){this._special!==he||"c"!==e&&"C"!==e?this._special!==fe||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=H},ve.prototype._stateBeforeScript1=de("R",N),ve.prototype._stateBeforeScript2=de("I",I),ve.prototype._stateBeforeScript3=de("P",K),ve.prototype._stateBeforeScript4=de("T",z),ve.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||pe(e))&&(this._special=he),this._state=c,this._index--},ve.prototype._stateAfterScript1=ge("R",W,l),ve.prototype._stateAfterScript2=ge("I",V,l),ve.prototype._stateAfterScript3=ge("P",G,l),ve.prototype._stateAfterScript4=ge("T",Y,l),ve.prototype._stateAfterScript5=function(e){">"===e||pe(e)?(this._special=ce,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=l},ve.prototype._stateBeforeStyle1=de("Y",J),ve.prototype._stateBeforeStyle2=de("L",X),ve.prototype._stateBeforeStyle3=de("E",Q),ve.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||pe(e))&&(this._special=fe),this._state=c,this._index--},ve.prototype._stateAfterStyle1=ge("Y",te,l),ve.prototype._stateAfterStyle2=ge("L",re,l),ve.prototype._stateAfterStyle3=ge("E",ne,l),ve.prototype._stateAfterStyle4=function(e){">"===e||pe(e)?(this._special=ce,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=l},ve.prototype._stateBeforeEntity=ge("#",se,ae),ve.prototype._stateBeforeNumericEntity=ge("X",le,oe),ve.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?a:i;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ve.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var r=this._buffer.substr(e,t);if(s.hasOwnProperty(r))return this._emitPartial(s[r]),void(this._sectionStart+=t+1);t--}},ve.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},ve.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var i=this._buffer.substring(r,this._index),s=parseInt(i,t);this._emitPartial(n(s)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},ve.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},ve.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},ve.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},ve.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ve.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===u?this._stateBeforeTagName(e):this._state===c?this._stateInTagName(e):this._state===f?this._stateBeforeCloseingTagName(e):this._state===p?this._stateInCloseingTagName(e):this._state===g?this._stateAfterCloseingTagName(e):this._state===h?this._stateInSelfClosingTag(e):this._state===d?this._stateBeforeAttributeName(e):this._state===v?this._stateInAttributeName(e):this._state===m?this._stateAfterAttributeName(e):this._state===y?this._stateBeforeAttributeValue(e):this._state===b?this._stateInAttributeValueDoubleQuotes(e):this._state===_?this._stateInAttributeValueSingleQuotes(e):this._state===w?this._stateInAttributeValueNoQuotes(e):this._state===x?this._stateBeforeDeclaration(e):this._state===E?this._stateInDeclaration(e):this._state===T?this._stateInProcessingInstruction(e):this._state===A?this._stateBeforeComment(e):this._state===k?this._stateInComment(e):this._state===O?this._stateAfterComment1(e):this._state===C?this._stateAfterComment2(e):this._state===S?this._stateBeforeCdata1(e):this._state===j?this._stateBeforeCdata2(e):this._state===R?this._stateBeforeCdata3(e):this._state===D?this._stateBeforeCdata4(e):this._state===L?this._stateBeforeCdata5(e):this._state===M?this._stateBeforeCdata6(e):this._state===P?this._stateInCdata(e):this._state===F?this._stateAfterCdata1(e):this._state===$?this._stateAfterCdata2(e):this._state===B?this._stateBeforeSpecial(e):this._state===q?this._stateBeforeSpecialEnd(e):this._state===U?this._stateBeforeScript1(e):this._state===N?this._stateBeforeScript2(e):this._state===I?this._stateBeforeScript3(e):this._state===K?this._stateBeforeScript4(e):this._state===z?this._stateBeforeScript5(e):this._state===H?this._stateAfterScript1(e):this._state===W?this._stateAfterScript2(e):this._state===V?this._stateAfterScript3(e):this._state===G?this._stateAfterScript4(e):this._state===Y?this._stateAfterScript5(e):this._state===Z?this._stateBeforeStyle1(e):this._state===J?this._stateBeforeStyle2(e):this._state===X?this._stateBeforeStyle3(e):this._state===Q?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===re?this._stateAfterStyle3(e):this._state===ne?this._stateAfterStyle4(e):this._state===ie?this._stateBeforeEntity(e):this._state===se?this._stateBeforeNumericEntity(e):this._state===ae?this._stateInNamedEntity(e):this._state===oe?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ve.prototype.pause=function(){this._running=!1},ve.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ve.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ve.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ve.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===P||this._state===F||this._state===$?this._cbs.oncdata(e):this._state===k||this._state===O||this._state===C?this._cbs.oncomment(e):this._state!==ae||this._xmlMode?this._state!==oe||this._xmlMode?this._state!==le||this._xmlMode?this._state!==c&&this._state!==d&&this._state!==y&&this._state!==m&&this._state!==v&&this._state!==_&&this._state!==b&&this._state!==w&&this._state!==p&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ve.prototype.reset=function(){ve.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ve.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ve.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ve.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ve.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},297:function(e,t,r){var n=r(120),i=/\s+/g,s=r(298),a=r(713);function o(e,t,r){"object"==typeof e?(r=t,t=e,e=null):"function"==typeof t&&(r=t,t=l),this._callback=e,this._options=t||l,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};o.prototype.onparserinit=function(e){this._parser=e},o.prototype.onreset=function(){o.call(this,this._callback,this._options,this._elementCB)},o.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},o.prototype._handleCallback=o.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},o.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},o.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(a):Object.create(s),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},o.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,n=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),n?(e.prev=n,n.next=e):e.prev=null,r.push(e),e.parent=t||null},o.prototype.onopentag=function(e,t){var r={type:"script"===e?n.Script:"style"===e?n.Style:n.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)},o.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===n.Text)r?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===n.Text)r?t.data=(t.data+e).replace(i," "):t.data+=e;else{r&&(e=e.replace(i," "));var s=this._createDomElement({data:e,type:n.Text});this._addDomElement(s)}},o.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===n.Comment)t.data+=e;else{var r={data:e,type:n.Comment},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)}},o.prototype.oncdatastart=function(){var e={children:[{data:"",type:n.Text}],type:n.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},o.prototype.oncommentend=o.prototype.oncdataend=function(){this._tagStack.pop()},o.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:n.Directive});this._addDomElement(r)},e.exports=o},298:function(e,t){var r=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return i[this.type]||i.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(e){var t=n[e];Object.defineProperty(r,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},299:function(e,t,r){var n=e.exports;[r(715),r(723),r(724),r(725),r(726),r(727)].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t].bind(n)}))}))},300:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(301)),s=n(r(719)),a=n(r(302)),o=n(r(720)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(e){var t=h(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(i.default);var c=function(e,t){return e<t?1:-1};function h(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?o.default(parseInt(t.substr(3),16)):o.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(s.default).sort(c),t=Object.keys(i.default).sort(c),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),o=h(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),o(e)}return function(e){return String(e).replace(a,l)}}()},301:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},302:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},303:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=c(n(r(302)).default),s=h(i);t.encodeXML=v(i);var a,o,l=c(n(r(301)).default),u=h(l);function c(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function h(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var s=i[n];1===s.length?t.push("\\"+s):r.push(s)}t.sort();for(var a=0;a<t.length-1;a++){for(var o=a;o<t.length-1&&t[o].charCodeAt(1)+1===t[o+1].charCodeAt(1);)o+=1;var l=1+o-a;l<3||t.splice(a,l,t[a]+"-"+t[o])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(a=l,o=u,function(e){return e.replace(o,(function(e){return a[e]})).replace(f,g)}),t.encodeNonAsciiHTML=v(l);var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function g(e){return"&#x"+(e.length>1?p(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var d=new RegExp(s.source+"|"+f.source,"g");function v(e){return function(t){return t.replace(d,(function(t){return e[t]||g(t)}))}}t.escape=function(e){return e.replace(d,g)},t.escapeUTF8=function(e){return e.replace(s,g)}},304:function(e,t,r){e.exports=o;var n=r(295),i=r(729).Writable,s=r(730).StringDecoder,a=r(305).Buffer;function o(e,t){var r=this._parser=new n(e,t),a=this._decoder=new s;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(145)(o,i),o.prototype._write=function(e,t,r){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),r()}},305:function(e,t,r){"use strict";(function(e){var n=r(732),i=r(733),s=r(734);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=f(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|g(t,r),i=(e=o(e,n)).write(t,r);return i!==n&&(e=e.slice(0,i)),e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r=0|p(t.length);return 0===(e=o(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?o(e,0):f(e,t);if("Buffer"===t.type&&s(t.data))return f(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t){if(c(t),e=o(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t){var r=t.length<0?0:0|p(t.length);e=o(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(n)return q(e).length;t=(""+t).toLowerCase(),n=!0}}function d(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return S(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return O(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var s,a=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(s=r;s<o;s++)if(u(e,s)===u(t,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===l)return c*a}else-1!==c&&(s-=s-c),c=-1}else for(r+l>o&&(r=o-l),s=r;s>=0;s--){for(var h=!0,f=0;f<l;f++)if(u(e,s+f)!==u(t,f)){h=!1;break}if(h)return s}return-1}function b(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var a=0;a<n;++a){var o=parseInt(t.substr(2*a,2),16);if(isNaN(o))return a;e[r+a]=o}return a}function _(e,t,r,n){return N(q(t,e.length-r),e,r,n)}function w(e,t,r,n){return N(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function x(e,t,r,n){return w(e,t,r,n)}function E(e,t,r,n){return N(U(t),e,r,n)}function T(e,t,r,n){return N(function(e,t){for(var r,n,i,s=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,s.push(i),s.push(n);return s}(t,e.length-r),e,r,n)}function A(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function k(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var s,a,o,l,u=e[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=r)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(s=e[i+1]))&&(l=(31&u)<<6|63&s)>127&&(c=l);break;case 3:s=e[i+1],a=e[i+2],128==(192&s)&&128==(192&a)&&(l=(15&u)<<12|(63&s)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:s=e[i+1],a=e[i+2],o=e[i+3],128==(192&s)&&128==(192&a)&&128==(192&o)&&(l=(15&u)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function O(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function C(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function S(e,t,r){var n,i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var s="",a=t;a<r;++a)s+=(n=e[a])<16?"0"+n.toString(16):n.toString(16);return s}function j(e,t,r){for(var n=e.slice(t,r),i="",s=0;s<n.length;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}function R(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,r,n,i,s){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function L(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i<s;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function M(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i<s;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function P(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function F(e,t,r,n,s){return s||P(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function $(e,t,r,n,s){return s||P(e,0,r,8),i.write(e,t,r,n,52,8),r+8}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return u(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return function(e,t,r,n){return c(t),t<=0?o(null,t):void 0!==r?"string"==typeof n?o(null,t).fill(r,n):o(null,t).fill(r):o(null,t)}(0,e,t,r)},l.allocUnsafe=function(e){return h(null,e)},l.allocUnsafeSlow=function(e){return h(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!s(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):d.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,r,n,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),o=Math.min(s,a),u=this.slice(n,i),c=e.slice(t,r),h=0;h<o;++h)if(u[h]!==c[h]){s=u[h],a=c[h];break}return s<a?-1:a<s?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":return w(this,e,t,r);case"latin1":case"binary":return x(this,e,t,r);case"base64":return E(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=l.prototype;else{var i=t-e;r=new l(i,void 0);for(var s=0;s<i;++s)r[s]=this[s+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=t,i=1,s=this[e+--n];n>0&&(i*=256);)s+=this[e+--n]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},l.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t|=0,r|=0,n||D(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t|=0,r|=0,n||D(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):M(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var s=0,a=1,o=0;for(this[t]=255&e;++s<r&&(a*=256);)e<0&&0===o&&0!==this[t+s-1]&&(o=1),this[t+s]=(e/a>>0)-o&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var s=r-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a>>0)-o&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):M(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return F(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return F(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return $(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return $(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,s=n-r;if(this===e&&r<t&&t<n)for(i=s-1;i>=0;--i)e[i+t]=this[i+r];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+s),t);return s},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var s;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(s=t;s<r;++s)this[s]=e;else{var a=l.isBuffer(e)?e:q(new l(e,n).toString()),o=a.length;for(s=0;s<r-t;++s)this[s+t]=a[s%o]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function q(e,t){var r;t=t||1/0;for(var n=e.length,i=null,s=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function U(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(25))},326:function(e,t){e.exports=window.wp.autop},327:function(e,t,r){var n,i;!function(s,a){"use strict";void 0===(i="function"==typeof(n=function(){var e=function(){},t="undefined"!=typeof window&&void 0!==window.navigator&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"];function n(e,t){var r=e[t];if("function"==typeof r.bind)return r.bind(e);try{return Function.prototype.bind.call(r,e)}catch(t){return function(){return Function.prototype.apply.apply(r,[e,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function s(r){return"debug"===r&&(r="log"),"undefined"!=typeof console&&("trace"===r&&t?i:void 0!==console[r]?n(console,r):void 0!==console.log?n(console,"log"):e)}function a(t,n){for(var i=0;i<r.length;i++){var s=r[i];this[s]=i<t?e:this.methodFactory(s,t,n)}this.log=this.debug}function o(e,t,r){return function(){"undefined"!=typeof console&&(a.call(this,t,r),this[e].apply(this,arguments))}}function l(e,t,r){return s(e)||o.apply(this,arguments)}function u(e,t,n){var i,s=this,o="loglevel";function u(){var e;if("undefined"!=typeof window&&o){try{e=window.localStorage[o]}catch(e){}if(void 0===e)try{var t=window.document.cookie,r=t.indexOf(encodeURIComponent(o)+"=");-1!==r&&(e=/^([^;]+)/.exec(t.slice(r))[1])}catch(e){}return void 0===s.levels[e]&&(e=void 0),e}}"string"==typeof e?o+=":"+e:"symbol"==typeof e&&(o=void 0),s.name=e,s.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},s.methodFactory=n||l,s.getLevel=function(){return i},s.setLevel=function(t,n){if("string"==typeof t&&void 0!==s.levels[t.toUpperCase()]&&(t=s.levels[t.toUpperCase()]),!("number"==typeof t&&t>=0&&t<=s.levels.SILENT))throw"log.setLevel() called with invalid level: "+t;if(i=t,!1!==n&&function(e){var t=(r[e]||"silent").toUpperCase();if("undefined"!=typeof window&&o){try{return void(window.localStorage[o]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(o)+"="+t+";"}catch(e){}}}(t),a.call(s,t,e),"undefined"==typeof console&&t<s.levels.SILENT)return"No console available for logging"},s.setDefaultLevel=function(e){u()||s.setLevel(e,!1)},s.enableAll=function(e){s.setLevel(s.levels.TRACE,e)},s.disableAll=function(e){s.setLevel(s.levels.SILENT,e)};var c=u();null==c&&(c=null==t?"WARN":t),s.setLevel(c,!1)}var c=new u,h={};c.getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=h[e];return t||(t=h[e]=new u(e,c.getLevel(),c.methodFactory)),t};var f="undefined"!=typeof window?window.log:void 0;return c.noConflict=function(){return"undefined"!=typeof window&&window.log===c&&(window.log=f),c},c.getLoggers=function(){return h},c.default=c,c})?n.call(t,r,t,e):n)||(e.exports=i)}()},328:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(16),i=r.n(n),s=r(8),a=r.n(s),o=r(9),l=r.n(o);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a()(this,e),this.configure(t)}return l()(e,[{key:"configure",value:function(e){this._config=c({params:{}},e)}},{key:"append",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=encodeURI(t),i=e.createQueryString(c(c({},this._config.params),r));return""!==i&&(n+="?"+i),n}},{key:"createAnchorOpeningTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"<a href='".concat(this.append(e,t),"' target='_blank'>")}}],[{key:"createQueryString",value:function(e){return Object.keys(e).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")}}]),e}()},329:function(e,t){e.exports=window.lodash.memoize},35:function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!m(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(o(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,s=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=s)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),l=n[r];r<s;l=n[++r])d(l)||!_(l)?a+=" "+l:a+=" "+o(l);return a},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}};var s,a={};function o(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,e,n.depth)}function l(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function u(e,t){return e}function c(e,r,n){if(e.customInspect&&r&&E(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return m(i)||(i=c(e,i,n)),i}var s=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(m(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):d(t)?e.stylize("null","null"):void 0}(e,r);if(s)return s;var a=Object.keys(r),o=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),x(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(E(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(x(r))return h(r)}var u,_="",T=!1,A=["{","}"];return p(r)&&(T=!0,A=["[","]"]),E(r)&&(_=" [Function"+(r.name?": "+r.name:"")+"]"),b(r)&&(_=" "+RegExp.prototype.toString.call(r)),w(r)&&(_=" "+Date.prototype.toUTCString.call(r)),x(r)&&(_=" "+h(r)),0!==a.length||T&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=T?function(e,t,r,n,i){for(var s=[],a=0,o=t.length;a<o;++a)C(t,String(a))?s.push(f(e,t,r,n,String(a),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(f(e,t,r,n,i,!0))})),s}(e,r,n,o,a):a.map((function(t){return f(e,r,n,o,t,T)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,_,A)):A[0]+_+A[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,s){var a,o,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?o=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(o=e.stylize("[Setter]","special")),C(n,i)||(a="["+i+"]"),o||(e.seen.indexOf(l.value)<0?(o=d(r)?c(e,l.value,null):c(e,l.value,r-1)).indexOf("\n")>-1&&(o=s?o.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+o.split("\n").map((function(e){return" "+e})).join("\n")):o=e.stylize("[Circular]","special")),y(a)){if(s&&i.match(/^\d+$/))return o;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function p(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function d(e){return null===e}function v(e){return"number"==typeof e}function m(e){return"string"==typeof e}function y(e){return void 0===e}function b(e){return _(e)&&"[object RegExp]"===T(e)}function _(e){return"object"==typeof e&&null!==e}function w(e){return _(e)&&"[object Date]"===T(e)}function x(e){return _(e)&&("[object Error]"===T(e)||e instanceof Error)}function E(e){return"function"==typeof e}function T(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(y(s)&&(s=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(s)){var n=e.pid;a[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else a[r]=function(){};return a[r]},t.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=g,t.isNull=d,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=_,t.isDate=w,t.isError=x,t.isFunction=E,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(690);var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":");return[e.getDate(),k[e.getMonth()],t].join(" ")}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=r(691),t._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var S="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(S&&e[S]){var t;if("function"!=typeof(t=e[S]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,S,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),S&&Object.defineProperty(t,S,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=S,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,a=function(){return i.apply(s,arguments)};t.apply(this,r).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(j,t,a)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(116))},36:function(e,t,r){var n=r(104);e.exports=function(e,t){if(null==e)return{};var r,i,s=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s},e.exports.default=e.exports,e.exports.__esModule=!0},37:function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,r(t,n)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},51:function(e,t){e.exports=window.yoast.featureFlag},52:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},58:function(e,t){e.exports=window.regeneratorRuntime},63:function(e,t,r){var n=r(52);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},690:function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},691:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},692:function(e,t,r){r(293);var n,i=r(196);n=i("Error.captureStackTrace")?r(695):i("Error.prototype.stack")?r(696):r(706),e.exports=n()},693:function(e,t,r){var n=r(294),i=n.define,s=n.test;i("strict mode",(function(){return void 0===this})),i("arguments.callee.caller",(function(){try{return function(){return arguments.callee.caller}()===arguments.callee}catch(e){return!1}})),i("es5",(function(){return s("Array.prototype.forEach")&&s("Array.prototype.map")&&s("Function.prototype.bind")&&s("Object.create")&&s("Object.defineProperties")&&s("Object.defineProperty")&&s("Object.prototype.hasOwnProperty")})),i("Array.prototype.forEach",(function(){return Array.prototype.forEach})),i("Array.prototype.map",(function(){return Array.prototype.map})),i("Function.prototype.bind",(function(){return Function.prototype.bind})),i("Object.create",(function(){return Object.create})),i("Object.defineProperties",(function(){return Object.defineProperties})),i("Object.defineProperty",(function(){return Object.defineProperty})),i("Object.prototype.hasOwnProperty",(function(){return Object.prototype.hasOwnProperty})),i("Error.captureStackTrace",(function(){return Error.captureStackTrace})),i("Error.prototype.stack",(function(){try{throw new Error}catch(e){return e.stack||e.stacktrace}}))},694:function(e,t){var r=function(){this.tests={},this.cache={}};r.prototype={constructor:r,define:function(e,t){if("string"!=typeof e||!(t instanceof Function))throw new Error("Invalid capability definition.");if(this.tests[e])throw new Error('Duplicated capability definition by "'+e+'".');this.tests[e]=t},check:function(e){if(!this.test(e))throw new Error('The current environment does not support "'+e+'", therefore we cannot continue.')},test:function(e){if(void 0!==this.cache[e])return this.cache[e];if(!this.tests[e])throw new Error('Unknown capability with name "'+e+'".');var t=this.tests[e];return this.cache[e]=!!t(),this.cache[e]}},e.exports=r},695:function(e,t,r){var n=r(197);e.exports=function(){return Error.getStackTrace=function(e){return e.stack},{prepareStackTrace:n}}},696:function(e,t,r){var n=r(697),i=r(704),s=r(119).cache,a=r(197);e.exports=function(){return Error.captureStackTrace=function e(t,r){var o=[e];r&&o.push(r);var l=n.getInstance().captureFrameStrings(o);Object.defineProperties(t,{stack:{configurable:!0,get:s((function(){var e=i.getInstance().getFrames(l.frameStrings,l.functionValues);return(Error.prepareStackTrace||a)(t,e,void 0)}))},cachedStack:{configurable:!0,writable:!0,enumerable:!1,value:!0}})},Error.getStackTrace=function(e){if(e.cachedStack)return e.stack;var t,r=n.getInstance().getFrameStrings(e),s=[];r?s=i.getInstance().getFrames(r,[]):t=["The stack is not readable by unthrown errors in this environment."];var o=(Error.prepareStackTrace||a)(e,s,t);if(r)try{Object.defineProperties(e,{stack:{configurable:!0,writable:!0,enumerable:!1,value:o},cachedStack:{configurable:!0,writable:!0,enumerable:!1,value:!0}})}catch(e){}return o},{prepareStackTrace:a}}},697:function(e,t,r){var n=r(118).Class,i=r(118).abstractMethod,s=r(119).eachCombination,a=r(119).cache,o=r(196),l=n(Object,{prototype:{captureFrameStrings:function(e){var t=this.createError();e.unshift(this.captureFrameStrings),e.unshift(this.createError);var r=this.getFrameStrings(t),n=r.slice(e.length),i=[];if(o("arguments.callee.caller")){var s=[this.createError,this.captureFrameStrings];try{for(var a=arguments.callee;a=a.caller;)s.push(a)}catch(e){}i=s.slice(e.length)}return{frameStrings:n,functionValues:i}},getFrameStrings:function(e){var t=e.message||"",r=e.name||"",n=this.getStackString(e);if(void 0!==n){var i=n.split("\n"),s=0,a=i.length;return this.hasHeader&&(s+=r.split("\n").length+t.split("\n").length-1),this.hasFooter&&(a-=1),i.slice(s,a)}},createError:i,getStackString:i,hasHeader:void 0,hasFooter:void 0}}),u=n(Object,{prototype:{calibrateClass:function(e){return this.calibrateMethods(e)&&this.calibrateEnvelope(e)},calibrateMethods:function(e){try{s([[function(e){return new Error(e)},function(e){try{throw new Error(e)}catch(e){return e}}],[function(e){return e.stack},function(e){return e.stacktrace}]],(function(e,t){if(t(e()))throw{getStackString:t,createError:e}}))}catch(t){return n.merge.call(e,{prototype:t}),!0}return!1},calibrateEnvelope:function(e){var t=(0,e.prototype.getStackString)((0,e.prototype.createError)("marker")).split("\n");return n.merge.call(e,{prototype:{hasHeader:/marker/.test(t[0]),hasFooter:""===t[t.length-1]}}),!0}}});e.exports={getClass:a((function(){var e;if(e)return e;if(e=n(l,{}),!(new u).calibrateClass(e))throw new Error("Cannot read Error.prototype.stack in this environment.");return e})),getInstance:a((function(){return new(this.getClass())}))}},698:function(e,t,r){e.exports={Class:r(699),abstractMethod:r(700)}},699:function(e,t){var r=function(){var e=Object.create({Source:Object,config:{},buildArgs:[]});function t(t){var r="config";if(t instanceof Function)r="Source";else if(t instanceof Array)r="buildArgs";else{if(!(t instanceof Object))throw new Error("Invalid configuration option.");r="config"}if(e.hasOwnProperty(r))throw new Error("Duplicated configuration option: "+r+".");e[r]=t}for(var n=0,i=arguments.length;n<i;++n)t(arguments[n]);var s=e.Source,a=e.config,o=e.buildArgs;return(s.extend||r.extend).call(s,a,o)};r.factory=function(){return function(){var e=this;e.build instanceof Function&&e.build.apply(e,arguments),e.init instanceof Function&&e.init.apply(e,arguments)}},r.extend=function(e,t){var n;return e||(e={}),e.prototype instanceof Object&&e.prototype.constructor!==Object?n=e.prototype.constructor:e.factory instanceof Function&&(n=e.factory.call(this)),((n=(this.clone||r.clone).call(this,n,t)).merge||r.merge).call(n,e),n},r.prototype.extend=function(e,t){var n=(this.clone||r.prototype.clone).apply(this,t);return(n.merge||r.prototype.merge).call(n,e),n},r.clone=function(e,t){for(var n in e instanceof Function||(e=(this.factory||r.factory).call(this)),e.prototype=(this.prototype.clone||r.prototype.clone).apply(this.prototype,t||[]),e.prototype.constructor=e,this)"prototype"!==n&&(e[n]=this[n]);return e},r.prototype.clone=function(){var e=this,t=Object.create(e);return t.build instanceof Function&&t.build.apply(t,arguments),t},r.merge=function(e){for(var t in e)"prototype"!==t&&(this[t]=e[t]);return e.prototype instanceof Object&&(this.prototype.merge||r.prototype.merge).call(this.prototype,e.prototype),this},r.prototype.merge=function(e){for(var t in e)"constructor"!==t&&(this[t]=e[t]);return this},r.absorb=function(e){for(var t in e)"prototype"===t||void 0!==this[t]&&this[t]!==Function.prototype[t]||(this[t]=e[t]);return e.prototype instanceof Object&&(this.prototype.absorb||r.prototype.absorb).call(this.prototype,e.prototype),this},r.prototype.absorb=function(e){for(var t in e)"constructor"===t||void 0!==this[t]&&this[t]!==Object.prototype[t]||(this[t]=e[t]);return this},r.getAncestor=function(){if(this!==this.prototype.constructor)return this.prototype.constructor},r.newInstance=function(){var e=this,t=Object.create(this.prototype);return e.apply(t,arguments),t},e.exports=r},7:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},70:function(e,t){e.exports=window.yoast.jed},700:function(e,t){e.exports=function(){throw new Error("Not implemented.")}},701:function(e,t,r){e.exports={cache:r(702),eachCombination:r(703)}},702:function(e,t){e.exports=function(e){var t,r=!1;return e instanceof Function||(r=!0,t=e,delete e),function(){return r||(r=!0,t=e.apply(this,arguments),delete e),t}}},703:function(e,t){e.exports=function e(t,r,n){if(n||(n=[]),n.length<t.length){var i=t[n.length];for(var s in i)n[n.length]=i[s],e(t,r,n),--n.length}else r.apply(null,n)}},704:function(e,t,r){var n=r(118).Class,i=r(705),s=r(119).cache,a=n(Object,{prototype:{stackParser:null,frameParser:null,locationParsers:null,constructor:function(e){n.prototype.merge.call(this,e)},getFrames:function(e,t){for(var r=[],n=0,i=e.length;n<i;++n)r[n]=this.getFrame(e[n],t[n]);return r},getFrame:function(e,t){return new i({frameString:e,functionValue:t})}}});e.exports={getClass:s((function(){return a})),getInstance:s((function(){return new(this.getClass())}))}},705:function(e,t,r){var n=r(118).Class,i=r(118).abstractMethod,s=n(Object,{prototype:{init:n.prototype.merge,frameString:void 0,toString:function(){return this.frameString},functionValue:void 0,getThis:i,getTypeName:i,getFunction:function(){return this.functionValue},getFunctionName:i,getMethodName:i,getFileName:i,getLineNumber:i,getColumnNumber:i,getEvalOrigin:i,isTopLevel:i,isEval:i,isNative:i,isConstructor:i}});e.exports=s},706:function(e,t,r){var n=r(119).cache,i=r(197);e.exports=function(){return Error.captureStackTrace=function(e,t){Object.defineProperties(e,{stack:{configurable:!0,get:n((function(){return(Error.prepareStackTrace||i)(e,[])}))},cachedStack:{configurable:!0,writable:!0,enumerable:!1,value:!0}})},Error.getStackTrace=function(e){if(e.cachedStack)return e.stack;var t=(Error.prepareStackTrace||i)(e,[]);try{Object.defineProperties(e,{stack:{configurable:!0,writable:!0,enumerable:!1,value:t},cachedStack:{configurable:!0,writable:!0,enumerable:!1,value:!0}})}catch(e){}return t},{prepareStackTrace:i}}},707:function(e,t,r){var n=r(708);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in n&&(e=n[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},708:function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},709:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},710:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},711:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},712:function(e,t,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,s=i&&"function"==typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,s),n(r)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}m(e,t,s,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var l=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function h(e,t,r,n){var i,s,a,o;if(u(r),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),a=s[t]),void 0===a)a=s[t]=r,++e._eventsCount;else if("function"==typeof a?a=s[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,o=l,console&&console.warn&&console.warn(o)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=f.bind(n);return i.listener=r,n.wrapFn=i,i}function g(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):v(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function v(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(s){n.once&&e.removeEventListener(t,i),r(s)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return c(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)s(l,this,t);else{var u=l.length,c=v(l,u);for(r=0;r<u;++r)s(c[r],this,t)}return!0},o.prototype.addListener=function(e,t){return h(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return h(this,e,t,!0)},o.prototype.once=function(e,t){return u(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,s,a;if(u(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,s=r.length-1;s>=0;s--)if(r[s]===t||r[s].listener===t){a=r[s].listener,i=s;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,s=Object.keys(r);for(n=0;n<s.length;++n)"removeListener"!==(i=s[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return g(this,e,!0)},o.prototype.rawListeners=function(e){return g(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},713:function(e,t,r){var n=r(298),i=e.exports=Object.create(n),s={tagName:"name"};Object.keys(s).forEach((function(e){var t=s[e];Object.defineProperty(i,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},714:function(e,t,r){var n=r(297),i=r(299);function s(e,t){this.init(e,t)}function a(e,t){return i.getElementsByTagName(e,t,!0)}function o(e,t){return i.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,r){return i.getText(i.getElementsByTagName(e,t,r,1)).trim()}function u(e,t,r,n,i){var s=l(r,n,i);s&&(e[t]=s)}r(145)(s,n),s.prototype.init=n;var c=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};s.prototype.onend=function(){var e,t,r={},i=o(c,this.dom);i&&("feed"===i.name?(t=i.children,r.type="atom",u(r,"id","id",t),u(r,"title","title",t),(e=o("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),u(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),u(r,"author","email",t,!0),r.items=a("entry",t).map((function(e){var t,r={};return u(r,"id","id",e=e.children),u(r,"title","title",e),(t=o("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=l("summary",e)||l("content",e))&&(r.description=t),(t=l("updated",e))&&(r.pubDate=new Date(t)),r}))):(t=o("channel",i.children).children,r.type=i.name.substr(0,3),r.id="",u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),u(r,"author","managingEditor",t,!0),r.items=a("item",i.children).map((function(e){var t,r={};return u(r,"id","guid",e=e.children),u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=l("pubDate",e))&&(r.pubDate=new Date(t)),r})))),this.dom=r,n.prototype._handleCallback.call(this,i?null:Error("couldn't find root of feed"))},e.exports=s},715:function(e,t,r){var n=r(120),i=r(716),s=n.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return i(e,t)})).join(""):""},getOuterHTML:i,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):s(t)?"br"===t.name?"\n":e(t.children):t.type===n.CDATA?e(t.children):t.type===n.Text?t.data:""}}},716:function(e,t,r){var n=r(717),i=r(718),s=r(722);s.elementNames.__proto__=null,s.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},o={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",i=0;i<e.length;i++){var s=e[i];"root"===s.type?r+=l(s.children,t):n.isTag(s)?r+=c(s,t):s.type===n.Directive?r+=h(s):s.type===n.Comment?r+=g(s):s.type===n.CDATA?r+=p(s):r+=f(s,t)}return r},u=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function c(e,t){"foreign"===t.xmlMode&&(e.name=s.elementNames[e.name]||e.name,e.parent&&u.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,n=function(e,t){if(e){var r,n="";for(var a in e)r=e[a],n&&(n+=" "),"foreign"===t.xmlMode&&(a=s.attributeNames[a]||a),n+=a,(null!==r&&""!==r||t.xmlMode)&&(n+='="'+(t.decodeEntities?i.encodeXML(r):r.replace(/\"/g,"""))+'"');return n}}(e.attribs,t);return n&&(r+=" "+n),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=l(e.children,t)),o[e.name]&&!t.xmlMode||(r+="</"+e.name+">")):r+="/>",r}function h(e){return"<"+e.data+">"}function f(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(r=i.encodeXML(r)),r}function p(e){return"<![CDATA["+e.children[0].data+"]]>"}function g(e){return"\x3c!--"+e.data+"--\x3e"}},717:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=void 0,t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},718:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(300),i=r(303);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var s=r(303);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var a=r(300);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},719:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},720:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(721)),s=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in i.default&&(e=i.default[e]),s(e))}},721:function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},722:function(e){e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},723:function(e,t){var r=t.getChildren=function(e){return e.children},n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},724:function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(n),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},725:function(e,t,r){var n=r(120).isTag;function i(e,t,r,n){for(var s,a=[],o=0,l=t.length;o<l&&!(e(t[o])&&(a.push(t[o]),--n<=0))&&(s=t[o].children,!(r&&s&&s.length>0&&(s=i(e,s,r,n),a=a.concat(s),(n-=s.length)<=0)));o++);return a}e.exports={filter:function(e,t,r,n){return Array.isArray(t)||(t=[t]),"number"==typeof n&&isFinite(n)||(n=1/0),i(e,t,!1!==r,n)},find:i,findOneChild:function(e,t){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return t[r];return null},findOne:function e(t,r){for(var i=null,s=0,a=r.length;s<a&&!i;s++)n(r[s])&&(t(r[s])?i=r[s]:r[s].children.length>0&&(i=e(t,r[s].children)));return i},existsOne:function e(t,r){for(var i=0,s=r.length;i<s;i++)if(n(r[i])&&(t(r[i])||r[i].children.length>0&&e(t,r[i].children)))return!0;return!1},findAll:function(e,t){for(var r=[],i=t.slice();i.length;){var s=i.shift();n(s)&&(s.children&&s.children.length>0&&i.unshift.apply(i,s.children),e(s)&&r.push(s))}return r}}},726:function(e,t,r){var n=r(120),i=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r))if("tag_name"===r){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1;return!0};var s={tag_name:function(e){return"function"==typeof e?function(t){return i(t)&&e(t.name)}:"*"===e?i:function(t){return i(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!i(t)&&e(t.data)}:function(t){return!i(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var i=Object.keys(e).map((function(t){var r=e[t];return t in s?s[t](r):a(t,r)}));return 0===i.length?[]:this.filter(i.reduce(o),t,r,n)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,n){return this.filter(s.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return this.filter(s.tag_type(e),t,r,n)}},727:function(e,t){t.removeSubsets=function(e){for(var t,r,n,i=e.length;--i>-1;){for(t=r=e[i],e[i]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(i,1);break}r=r.parent}n&&(e[i]=t)}return e};var r=t.compareDocumentPosition=function(e,t){var r,n,i,s,a,o,l=[],u=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)u.unshift(r),r=r.parent;for(o=0;l[o]===u[o];)o++;return 0===o?1:(i=(n=l[o-1]).children,s=l[o],a=u[o],i.indexOf(s)>i.indexOf(a)?n===t?20:4:n===e?10:2)};t.uniqueSort=function(e){var t,n,i=e.length;for(e=e.slice();--i>-1;)t=e[i],(n=e.indexOf(t))>-1&&n<i&&e.splice(i,1);return e.sort((function(e,t){var n=r(e,t);return 2&n?-1:4&n?1:0})),e}},728:function(e,t,r){e.exports=i;var n=r(304);function i(e){n.call(this,new s(this),e)}function s(e){this.scope=e}r(145)(i,n),i.prototype.readable=!0;var a=r(86).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])s.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])s.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");s.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}}))},729:function(e,t){},730:function(e,t,r){"use strict";var n=r(731).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=h,t=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},731:function(e,t,r){var n=r(305),i=n.Buffer;function s(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),s(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},732:function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=u(e),a=n[0],o=n[1],l=new s(function(e,t,r){return 3*(t+r)/4-r}(0,a,o)),c=0,h=o>0?a-4:a;for(r=0;r<h;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===o&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===o&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,s=[],a=0,o=r-i;a<o;a+=16383)s.push(c(e,a,a+16383>o?o:a+16383));return 1===i?(t=e[r-1],s.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],s.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),s.join("")};for(var n=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,l=a.length;o<l;++o)n[o]=a[o],i[a.charCodeAt(o)]=o;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var i,s,a=[],o=t;o<r;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(n[(s=i)>>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},733:function(e,t){t.read=function(e,t,r,n,i){var s,a,o=8*i-n-1,l=(1<<o)-1,u=l>>1,c=-7,h=r?i-1:0,f=r?-1:1,p=e[t+h];for(h+=f,s=p&(1<<-c)-1,p>>=-c,c+=o;c>0;s=256*s+e[t+h],h+=f,c-=8);for(a=s&(1<<-c)-1,s>>=-c,c+=n;c>0;a=256*a+e[t+h],h+=f,c-=8);if(0===s)s=1-u;else{if(s===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),s-=u}return(p?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var a,o,l,u=8*s-i-1,c=(1<<u)-1,h=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:s-1,g=n?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(o=0,a=c):a+h>=1?(o=(t*l-1)*Math.pow(2,i),a+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&o,p+=g,o/=256,i-=8);for(a=a<<i|o,u+=i;u>0;e[r+p]=255&a,p+=g,a/=256,u-=8);e[r+p-g]|=128*d}},734:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},735:function(e,t,r){function n(e){this._cbs=e||{}}e.exports=n;var i=r(86).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,n.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}}))},736:function(e,t,r){function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var i=r(86).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,n.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var r=this.events[e].length;1===r?this._cbs[this.events[e][0]]():2===r?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},737:function(e,t,r){"use strict";r.r(t),r.d(t,"App",(function(){return Ho})),r.d(t,"Assessor",(function(){return jt})),r.d(t,"ContentAssessor",(function(){return Pt})),r.d(t,"SeoAssessor",(function(){return Dt})),r.d(t,"TaxonomyAssessor",(function(){return $t})),r.d(t,"Pluggable",(function(){return qo})),r.d(t,"SnippetPreview",(function(){return Lo})),r.d(t,"Paper",(function(){return Kt})),r.d(t,"AssessmentResult",(function(){return q})),r.d(t,"Assessment",(function(){return V})),r.d(t,"AnalysisWebWorker",(function(){return Mr})),r.d(t,"AnalysisWorkerWrapper",(function(){return $r})),r.d(t,"createWorker",(function(){return qr})),r.d(t,"assessments",(function(){return n})),r.d(t,"bundledPlugins",(function(){return s})),r.d(t,"config",(function(){return l})),r.d(t,"helpers",(function(){return a})),r.d(t,"markers",(function(){return o})),r.d(t,"interpreters",(function(){return i})),r.d(t,"languageProcessing",(function(){return p})),r.d(t,"values",(function(){return g}));var n={};r.r(n),r.d(n,"readability",(function(){return xt})),r.d(n,"seo",(function(){return Et}));var i={};r.r(i),r.d(i,"scoreToRating",(function(){return Lt}));var s={};r.r(s),r.d(s,"usedKeywords",(function(){return Nr}));var a={};r.r(a),r.d(a,"measureTextWidth",(function(){return Ir})),r.d(a,"getLanguagesWithWordFormSupport",(function(){return Kr})),r.d(a,"formatNumber",(function(){return we}));var o={};r.r(o),r.d(o,"removeMarks",(function(){return zr}));var l={};r.r(l),r.d(l,"presenter",(function(){return Hr}));var u={};r.r(u),r.d(u,"doesWordMatchRegex",(function(){return Za})),r.d(u,"searchAndReplaceWithRegex",(function(){return Ja})),r.d(u,"applyAllReplacements",(function(){return Xa}));var c={};r.r(c),r.d(c,"checkIfWordEndingIsOnExceptionList",(function(){return eo})),r.d(c,"checkIfWordIsOnListThatCanHavePrefix",(function(){return to})),r.d(c,"checkExceptionListWithTwoStems",(function(){return ro}));var h={};r.r(h),r.d(h,"removeSuffixesFromFullForm",(function(){return no})),r.d(h,"removeSuffixFromFullForm",(function(){return io}));var f={};r.r(f),r.d(f,"Clause",(function(){return gr})),r.d(f,"ProminentWord",(function(){return vr})),r.d(f,"Sentence",(function(){return pr}));var p={};r.r(p),r.d(p,"AbstractResearcher",(function(){return Ma})),r.d(p,"transliterate",(function(){return gi})),r.d(p,"replaceDiacritics",(function(){return Wr})),r.d(p,"createRegexFromArray",(function(){return mi})),r.d(p,"imageInText",(function(){return bi})),r.d(p,"stripSpaces",(function(){return Z})),r.d(p,"baseStemmer",(function(){return lt})),r.d(p,"getWords",(function(){return Re})),r.d(p,"flattenSortLength",(function(){return Pa})),r.d(p,"indices",(function(){return qa})),r.d(p,"buildFormRule",(function(){return Ua})),r.d(p,"createRulesFromArrays",(function(){return Ia})),r.d(p,"createSingleRuleFromArray",(function(){return Na})),r.d(p,"matchRegularParticiples",(function(){return Ka})),r.d(p,"directPrecedenceException",(function(){return za})),r.d(p,"precedenceException",(function(){return Ha})),r.d(p,"nonDirectPrecedenceException",(function(){return Va})),r.d(p,"findMatchingEndingInArray",(function(){return Ga})),r.d(p,"regexHelpers",(function(){return u})),r.d(p,"exceptionListHelpers",(function(){return c})),r.d(p,"stemHelpers",(function(){return h})),r.d(p,"areWordsInSentence",(function(){return so})),r.d(p,"values",(function(){return f})),r.d(p,"getClauses",(function(){return fo})),r.d(p,"getClausesSplitOnStopWords",(function(){return po})),r.d(p,"stripHTMLTags",(function(){return de}));var g={};r.r(g),r.d(g,"AssessmentResult",(function(){return q})),r.d(g,"Mark",(function(){return F})),r.d(g,"Paper",(function(){return Kt}));var d=r(16),v=r.n(d),m=r(21),y=r.n(m),b=r(103),_=r.n(b),w=r(8),x=r.n(w),E=r(9),T=r.n(E),A=r(58),k=r.n(A),O=r(326),C=r(51),S=r(70),j=r.n(S),R=r(2),D=r(327),L=r(291);function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){Object(R.defaults)(e,{original:"",marked:""}),this._properties=e}P.prototype.getOriginal=function(){return this._properties.original},P.prototype.getMarked=function(){return this._properties.marked},P.prototype.applyWithReplace=function(e){return e.split(this._properties.original).join(this._properties.marked)},P.prototype.serialize=function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({_parseClass:"Mark"},this._properties)},P.parse=function(e){return delete e._parseClass,new P(e)};var F=P,$=function(){return[]},B=function(e){this._hasScore=!1,this._identifier="",this._hasMarks=!1,this._marker=$,this.score=0,this.text="",this.marks=[],Object(R.isUndefined)(e)&&(e={}),Object(R.isUndefined)(e.score)||this.setScore(e.score),Object(R.isUndefined)(e.text)||this.setText(e.text),Object(R.isUndefined)(e.marks)||this.setMarks(e.marks)};B.prototype.hasScore=function(){return this._hasScore},B.prototype.getScore=function(){return this.score},B.prototype.setScore=function(e){Object(R.isNumber)(e)&&(this.score=e,this._hasScore=!0)},B.prototype.hasText=function(){return""!==this.text},B.prototype.getText=function(){return this.text},B.prototype.setText=function(e){Object(R.isUndefined)(e)&&(e=""),this.text=e},B.prototype.getMarks=function(){return this.marks},B.prototype.setMarks=function(e){Object(R.isArray)(e)&&(this.marks=e,this._hasMarks=e.length>0)},B.prototype.setIdentifier=function(e){this._identifier=e},B.prototype.getIdentifier=function(){return this._identifier},B.prototype.setMarker=function(e){this._marker=e},B.prototype.hasMarker=function(){return this._hasMarks&&this._marker!==this.emptyMarker},B.prototype.getMarker=function(){return this._marker},B.prototype.setHasMarks=function(e){this._hasMarks=e},B.prototype.hasMarks=function(){return this._hasMarks},B.prototype.serialize=function(){return{_parseClass:"AssessmentResult",identifier:this._identifier,score:this.score,text:this.text,marks:this.marks.map((function(e){return e.serialize()}))}},B.parse=function(e){var t=new B({text:e.text,score:e.score,marks:e.marks.map((function(e){return F.parse(e)}))});return t.setIdentifier(e.identifier),t};var q=B,U={identifier:"fleschReadingEase",getResult:function(e,t,r){var n=function(e,t,r){var n;e<0&&(e=0),e>100&&(e=100);var i="",s=r.dgettext("js-text-analysis","Good job!"),a=Object(L.b)("https://yoa.st/34r"),o=Object(L.b)("https://yoa.st/34s");return e>=t.borders.veryEasy?(n=t.scores.veryEasy,i=r.dgettext("js-text-analysis","very easy")):Object(R.inRange)(e,t.borders.easy,t.borders.veryEasy)?(n=t.scores.easy,i=r.dgettext("js-text-analysis","easy")):Object(R.inRange)(e,t.borders.fairlyEasy,t.borders.easy)?(n=t.scores.fairlyEasy,i=r.dgettext("js-text-analysis","fairly easy")):Object(R.inRange)(e,t.borders.okay,t.borders.fairlyEasy)?(n=t.scores.okay,i=r.dgettext("js-text-analysis","ok")):Object(R.inRange)(e,t.borders.fairlyDifficult,t.borders.okay)?(n=t.scores.fairlyDifficult,i=r.dgettext("js-text-analysis","fairly difficult"),s=r.dgettext("js-text-analysis","Try to make shorter sentences to improve readability")):Object(R.inRange)(e,t.borders.difficult,t.borders.fairlyDifficult)?(n=t.scores.difficult,i=r.dgettext("js-text-analysis","difficult"),s=r.dgettext("js-text-analysis","Try to make shorter sentences, using less difficult words to improve readability")):(n=t.scores.veryDifficult,i=r.dgettext("js-text-analysis","very difficult"),s=r.dgettext("js-text-analysis","Try to make shorter sentences, using less difficult words to improve readability")),n>=t.scores.okay?{score:n,resultText:r.sprintf(
|
2 |
-
/* Translators: %1$s expands to a link on yoast.com,
|
3 |
-
%2$s to the anchor end tag,
|
4 |
-
%3$s expands to the numeric Flesch reading ease score,
|
5 |
-
%4$s to the easiness of reading,
|
6 |
-
%5$s expands to a call to action based on the score */
|
7 |
-
r.dgettext("js-text-analysis","%1$sFlesch Reading Ease%2$s: The copy scores %3$s in the test, which is considered %4$s to read. %5$s"),a,"</a>",e,i,s)}:{score:n,resultText:r.sprintf(
|
8 |
-
/* Translators: %1$s and %5$s expand to a link on yoast.com,
|
9 |
-
%2$s to the anchor end tag,
|
10 |
-
%7$s expands to the anchor end tag and a full stop,
|
11 |
-
%3$s expands to the numeric Flesch reading ease score,
|
12 |
-
%4$s to the easiness of reading,
|
13 |
-
%6$s expands to a call to action based on the score */
|
14 |
-
r.dgettext("js-text-analysis","%1$sFlesch Reading Ease%2$s: The copy scores %3$s in the test, which is considered %4$s to read. %5$s%6$s%7$s"),a,"</a>",e,i,o,s,"</a>.")}}(t.getResearch("getFleschReadingScore"),t.getConfig("fleschReadingEaseScores")||{borders:{veryEasy:90,easy:80,fairlyEasy:70,okay:60,fairlyDifficult:50,difficult:30,veryDifficult:0},scores:{veryEasy:9,easy:9,fairlyEasy:9,okay:9,fairlyDifficult:6,difficult:3,veryDifficult:3}},r),i=new q;return i.setScore(n.score),i.setText(n.resultText),i},isApplicable:function(e,t){return e.hasText()&&t.hasResearch("getFleschReadingScore")}},N=r(11),I=r.n(N),K=r(12),z=r.n(K),H=r(7),W=r.n(H),V=function(){function e(){x()(this,e)}return T()(e,[{key:"getResult",value:function(e,t,r){throw"The method getResult is not implemented"}},{key:"isApplicable",value:function(e,t){return!0}}]),e}();var G,Y=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={urlTitle:Object(L.b)("https://yoa.st/shopify38"),urlCallToAction:Object(L.b)("https://yoa.st/shopify39"),scores:{bad:3,good:9}};return e._config=Object(R.merge)(r,t),e.identifier="listsPresence",e}return T()(i,[{key:"getResult",value:function(e,t,r){this.textContainsList=t.getResearch("findList");var n=this.calculateResult(r),i=new q;return i.setScore(n.score),i.setText(n.resultText),i}},{key:"isApplicable",value:function(e){return e.hasText()}},{key:"calculateResult",value:function(e){return this.textContainsList?{score:this._config.scores.good,resultText:e.sprintf(
|
15 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
16 |
-
e.dgettext("js-text-analysis","%1$sLists%2$s: There is at least one list on this page. Great!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.bad,resultText:e.sprintf(
|
17 |
-
/* Translators: %1$s expands to a link on yoast.com,
|
18 |
-
* %2$s expands to the anchor end tag. */
|
19 |
-
e.dgettext("js-text-analysis","%1$sLists%3$s: No lists appear on this page. %2$sAdd at least one ordered or unordered list%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),i}(V),Z=function(e){return(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\./g,".")).replace(/^\s+|\s+$/g,"")},J=r(87),X=r.n(J),Q=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],ee=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],te=(new RegExp("^("+Q.join("|")+")$","i"),new RegExp("^("+ee.join("|")+")$","i"),new RegExp("^<("+Q.join("|")+")[^>]*?>$","i")),re=new RegExp("^</("+Q.join("|")+")[^>]*?>$","i"),ne=new RegExp("^<("+ee.join("|")+")[^>]*>$","i"),ie=new RegExp("^</("+ee.join("|")+")[^>]*>$","i"),se=/^<([^>\s/]+)[^>]*>$/,ae=/^<\/([^>\s]+)[^>]*>$/,oe=/^[^<]+$/,le=/^<[^><]*$/,ue=/<!--(.|[\r\n])*?-->/g,ce=[],he=Object(R.memoize)((function(e){var t=[],r=0,n="",i="",s="";return e=e.replace(ue,""),ce=[],(G=X()((function(e){ce.push(e)}))).addRule(oe,"content"),G.addRule(le,"greater-than-sign-content"),G.addRule(te,"block-start"),G.addRule(re,"block-end"),G.addRule(ne,"inline-start"),G.addRule(ie,"inline-end"),G.addRule(se,"other-element-start"),G.addRule(ae,"other-element-end"),G.onText(e),G.end(),Object(R.forEach)(ce,(function(e,a){var o=ce[a+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":o&&(0!==r||"block-start"!==o.type&&"block-end"!==o.type)?i+=e.src:(i+=e.src,t.push(i),n="",i="",s="");break;case"block-start":0!==r&&(""!==i.trim()&&t.push(i),i="",s=""),r++,n=e.src;break;case"block-end":r--,s=e.src,""!==n&&""!==s?t.push(n+i+s):""!==i.trim()&&t.push(i),n="",i="",s=""}r<0&&(r=0)})),t})),fe=new RegExp("^<("+Q.join("|")+")[^>]*?>","i"),pe=new RegExp("</("+Q.join("|")+")[^>]*?>$","i"),ge=function(e){return(e=e.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")},de=function(e){return e=e.replace(/(<([^>]+)>)/gi," "),Z(e)},ve=function(e){return"<yoastmark class='yoast-text-mark'>"+e+"</yoastmark>"};function me(e,t,r){return e>t&&e<=r}function ye(e,t,r){return e>=t&&e<r}function be(e,t,r){return e>=t&&e<=r}var _e=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={urlTitle:Object(L.b)("https://yoa.st/35d"),urlCallToAction:Object(L.b)("https://yoa.st/35e"),parameters:{recommendedLength:150,maximumRecommendedLength:200}};return e.identifier="textParagraphTooLong",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getTooLongParagraphs",value:function(e){var t=this._config.parameters.recommendedLength;return Object(R.filter)(e,(function(e){return e.wordCount>t}))}},{key:"calculateResult",value:function(e,t,r){var n;if(0===e.length)return{};var i=e[0].wordCount;return i<=this._config.parameters.recommendedLength&&(n=9),me(i,this._config.parameters.recommendedLength,this._config.parameters.maximumRecommendedLength)&&(n=6),i>this._config.parameters.maximumRecommendedLength&&(n=3),n>=7?{score:n,hasMarks:!1,text:r.sprintf(
|
20 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
21 |
-
r.dgettext("js-text-analysis","%1$sParagraph length%2$s: None of the paragraphs are too long. Great job!"),this._config.urlTitle,"</a>")}:{score:n,hasMarks:!0,text:r.sprintf(
|
22 |
-
/* Translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the
|
23 |
-
number of paragraphs over the recommended word limit, %4$d expands to the word limit */
|
24 |
-
r.dngettext("js-text-analysis","%1$sParagraph length%2$s: %3$d of the paragraphs contains more than the recommended maximum of %4$d words. %5$sShorten your paragraphs%2$s!","%1$sParagraph length%2$s: %3$d of the paragraphs contain more than the recommended maximum of %4$d words. %5$sShorten your paragraphs%2$s!",t.length),this._config.urlTitle,"</a>",t.length,this._config.parameters.recommendedLength,this._config.urlCallToAction)}}},{key:"sortParagraphs",value:function(e){return e.sort((function(e,t){return t.wordCount-e.wordCount}))}},{key:"getMarks",value:function(e,t){var r=t.getResearch("getParagraphLength"),n=this.getTooLongParagraphs(r);return Object(R.map)(n,(function(e){var t=e.text.replace(fe,"").replace(pe,""),r=ve(t);return new F({original:t,marked:r})}))}},{key:"getResult",value:function(e,t,r){var n=t.getResearch("getParagraphLength");n=this.sortParagraphs(n);var i=this.getTooLongParagraphs(n),s=this.calculateResult(n,i,r),a=new q;return a.setScore(s.score),a.setText(s.text),a.setHasMarks(s.hasMarks),a}},{key:"isApplicable",value:function(e){return e.hasText()}}]),i}(V),we=function(e){return Math.round(e)===e?Math.round(e):Math.round(10*e)/10};var xe=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={urlTitle:Object(L.b)("https://yoa.st/34t"),urlCallToAction:Object(L.b)("https://yoa.st/34u")};return e.identifier="passiveVoice",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"calculatePassiveVoiceResult",value:function(e,t){var r,n=0;0!==e.total&&(n=we(e.passives.length/e.total*100));var i=n>0;return n<=10&&(r=9),me(n,10,15)&&(r=6),n>15&&(r=3),r>=7?{score:r,hasMarks:i,text:t.sprintf(
|
25 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
|
26 |
-
t.dgettext("js-text-analysis","%1$sPassive voice%2$s: You're using enough active voice. That's great!"),this._config.urlTitle,"</a>")}:{score:r,hasMarks:i,text:t.sprintf(
|
27 |
-
/* Translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
|
28 |
-
%3$s expands to the percentage of sentences in passive voice, %4$s expands to the recommended value. */
|
29 |
-
t.dgettext("js-text-analysis","%1$sPassive voice%2$s: %3$s of the sentences contain passive voice, which is more than the recommended maximum of %4$s. %5$sTry to use their active counterparts%2$s."),this._config.urlTitle,"</a>",n+"%","10%",this._config.urlCallToAction)}}},{key:"getMarks",value:function(e,t){var r=t.getResearch("getPassiveVoiceResult");return Object(R.map)(r.passives,(function(e){e=ge(e);var t=ve(e);return new F({original:e,marked:t})}))}},{key:"getResult",value:function(e,t,r){if("fa"===t.getConfig("language")&&!Object(C.isFeatureEnabled)("FARSI_SUPPORT"))return new q;var n=t.getResearch("getPassiveVoiceResult"),i=this.calculatePassiveVoiceResult(n,r),s=new q;return s.setScore(i.score),s.setText(i.text),s.setHasMarks(i.hasMarks),s}},{key:"isApplicable",value:function(e,t){return e.hasText()&&t.hasResearch("getPassiveVoiceResult")}}]),i}(V);var Ee=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={urlTitle:Object(L.b)("https://yoa.st/35f"),urlCallToAction:Object(L.b)("https://yoa.st/35g")};return e.identifier="sentenceBeginnings",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"groupSentenceBeginnings",value:function(e){var t=Object(R.partition)(e,(function(e){return e.count>2}));if(0===t[0].length)return{total:0};var r=Object(R.sortBy)(t[0],(function(e){return e.count}));return{total:t[0].length,lowestCount:r[0].count}}},{key:"calculateSentenceBeginningsResult",value:function(e,t){return e.total>0?{score:3,hasMarks:!0,text:t.sprintf(
|
30 |
-
/* Translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
|
31 |
-
%3$d expands to the number of consecutive sentences starting with the same word,
|
32 |
-
%4$d expands to the number of instances where 3 or more consecutive sentences start with the same word. */
|
33 |
-
t.dngettext("js-text-analysis","%1$sConsecutive sentences%2$s: The text contains %3$d consecutive sentences starting with the same word. %5$sTry to mix things up%2$s!","%1$sConsecutive sentences%2$s: The text contains %4$d instances where %3$d or more consecutive sentences start with the same word. %5$sTry to mix things up%2$s!",e.total),this._config.urlTitle,"</a>",e.lowestCount,e.total,this._config.urlCallToAction)}:{score:9,hasMarks:!1,text:t.sprintf(
|
34 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
35 |
-
t.dgettext("js-text-analysis","%1$sConsecutive sentences%2$s: There is enough variety in your sentences. That's great!"),this._config.urlTitle,"</a>")}}},{key:"getMarks",value:function(e,t){var r=t.getResearch("getSentenceBeginnings");r=Object(R.filter)(r,(function(e){return e.count>2}));var n=Object(R.map)(r,(function(e){return e.sentences}));return Object(R.map)(Object(R.flatten)(n),(function(e){e=ge(e);var t=ve(e);return new F({original:e,marked:t})}))}},{key:"getResult",value:function(e,t,r){if("fa"===t.getConfig("language")&&!Object(C.isFeatureEnabled)("FARSI_SUPPORT"))return new q;var n=t.getResearch("getSentenceBeginnings"),i=this.groupSentenceBeginnings(n),s=this.calculateSentenceBeginningsResult(i,r),a=new q;return a.setScore(s.score),a.setText(s.text),a.setHasMarks(s.hasMarks),a}},{key:"isApplicable",value:function(e,t){return e.hasText()&&t.hasResearch("getSentenceBeginnings")}}]),i}(V);var Te=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];x()(this,i),e=n.call(this);var a={recommendedWordCount:20,slightlyTooMany:25,farTooMany:30,urlTitle:Object(L.b)("https://yoa.st/34v"),urlCallToAction:Object(L.b)("https://yoa.st/34w")};return e._config=Object(R.merge)(a,t),e._isCornerstone=r,e._isProduct=s,e.identifier="textSentenceLength",e}return T()(i,[{key:"getResult",value:function(e,t,r){var n=t.getResearch("countSentencesFromText");(Object(C.isFeatureEnabled)("FARSI_SUPPORT")&&"fa"===t.getConfig("language")||t.getConfig("sentenceLength")&&"fa"!==t.getConfig("language"))&&(this._config=this.getLanguageSpecificConfig(t));var i=this.calculatePercentage(n),s=this.calculateScore(i),a=new q;return a.setScore(s),a.setText(this.translateScore(s,i,r)),a.setHasMarks(i>0),a}},{key:"isApplicable",value:function(e){return e.hasText()}},{key:"getMarks",value:function(e,t){var r=t.getResearch("countSentencesFromText");t.getConfig("sentenceLength")&&(this._config=this.getLanguageSpecificConfig(t));var n=this.getTooLongSentences(r);return Object(R.map)(n,(function(e){var t=ge(e.sentence);return new F({original:t,marked:ve(t)})}))}},{key:"getLanguageSpecificConfig",value:function(e){var t=this._config,r=e.getConfig("sentenceLength");return r.hasOwnProperty("recommendedWordCount")&&(t.recommendedWordCount=r.recommendedWordCount),!0===this._isCornerstone&&!1===this._isProduct&&r.hasOwnProperty("cornerstonePercentages")?Object(R.merge)(t,r.cornerstonePercentages):!1===this._isCornerstone&&!1===this._isProduct&&r.hasOwnProperty("percentages")?Object(R.merge)(t,r.percentages):t}},{key:"translateScore",value:function(e,t,r){return e>=7?r.sprintf(
|
36 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
37 |
-
r.dgettext("js-text-analysis","%1$sSentence length%2$s: Great!"),this._config.urlTitle,"</a>"):r.sprintf(
|
38 |
-
/* Translators: %1$s and %6$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
|
39 |
-
%3$d expands to percentage of sentences, %4$s expands to the recommended maximum sentence length,
|
40 |
-
%5$s expands to the recommended maximum percentage. */
|
41 |
-
r.dgettext("js-text-analysis","%1$sSentence length%2$s: %3$s of the sentences contain more than %4$s words, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s."),this._config.urlTitle,"</a>",t+"%",this._config.recommendedWordCount,this._config.slightlyTooMany+"%",this._config.urlCallToAction)}},{key:"calculatePercentage",value:function(e){var t=0;if(0!==e.length){var r=this.countTooLongSentences(e);t=we(r/e.length*100)}return t}},{key:"calculateScore",value:function(e){var t;return e<=this._config.slightlyTooMany&&(t=9),me(e,this._config.slightlyTooMany,this._config.farTooMany)&&(t=6),e>this._config.farTooMany&&(t=3),t}},{key:"getTooLongSentences",value:function(e){return function(e,t){return Object(R.filter)(e,(function(e){return e.sentenceLength>t}))}(e,this._config.recommendedWordCount)}},{key:"countTooLongSentences",value:function(e){return this.getTooLongSentences(e).length}}]),i}(V);function Ae(e){for(var t,r=[],n=/<h([2-3])(?:[^>]+)?>(.*?)<\/h\1>/gi;null!==(t=n.exec(e));)r.push(t);return r}var ke=new RegExp("(<div class='wp-block-yoast-seo-table-of-contents yoast-table-of-contents'>).*?(</div>)","igs");function Oe(e){return e.replace(ke,"")}var Ce=new RegExp("^[\\–\\-\\(\\)_\\[\\]’“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛\\<>]+"),Se=new RegExp("[\\–\\-\\(\\)_\\[\\]’“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛\\<>]+$"),je=function(e){return(e=e.replace(Ce,"")).replace(Se,"")},Re=function(e){if(e=Oe(e),""===(e=Z(de(e))))return[];var t=e.split(/\s/g);return t=Object(R.map)(t,(function(e){return je(e)})),Object(R.filter)(t,(function(e){return""!==e.trim()}))};var De=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{recommendedMaximumWordCount:300,slightlyTooMany:300,farTooMany:350},urlTitle:Object(L.b)("https://yoa.st/34x"),urlCallToAction:Object(L.b)("https://yoa.st/34y"),scores:{goodShortTextNoSubheadings:9,goodSubheadings:9,okSubheadings:6,badSubheadings:3,badLongTextNoSubheadings:2},shouldNotAppearInShortText:!1};return e.identifier="subheadingsTooLong",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this._subheadingTextsLength=t.getResearch("getSubheadingTextLengths"),this._subheadingTextsLength=this._subheadingTextsLength.sort((function(e,t){return t.wordCount-e.wordCount})),this._tooLongTextsNumber=this.getTooLongSubheadingTexts().length;var n=new q;n.setIdentifier(this.identifier),this._hasSubheadings=this.hasSubheadings(e),this._textLength=Re(e.getText()).length;var i=this.calculateResult(r);return i.resultTextPlural=i.resultTextPlural||"",n.setScore(i.score),n.setText(i.resultText),n}},{key:"isApplicable",value:function(e){var t=Re(e.getText()).length;return this._config.shouldNotAppearInShortText?e.hasText()&&t>300:e.hasText()}},{key:"hasSubheadings",value:function(e){return function(e){for(var t,r=[],n=/<h([1-6])(?:[^>]+)?>(.*?)<\/h\1>/gi;null!==(t=n.exec(e));)r.push(t);return r}(e.getText()).length>0}},{key:"getTooLongSubheadingTexts",value:function(){return Object(R.filter)(this._subheadingTextsLength,function(e){return e.wordCount>this._config.parameters.recommendedMaximumWordCount}.bind(this))}},{key:"calculateResult",value:function(e){if(this._textLength>300){if(this._hasSubheadings){var t=this._subheadingTextsLength[0].wordCount;return t<=this._config.parameters.slightlyTooMany?{score:this._config.scores.goodSubheadings,resultText:e.sprintf(// Translators: %1$s expands to a link to https://yoa.st/headings, %2$s expands to the link closing tag.
|
42 |
-
e.dgettext("js-text-analysis","%1$sSubheading distribution%2$s: Great job!"),this._config.urlTitle,"</a>")}:me(t,this._config.parameters.slightlyTooMany,this._config.parameters.farTooMany)?{score:this._config.scores.okSubheadings,resultText:e.sprintf(
|
43 |
-
/*
|
44 |
-
* Translators: %1$s and %5$s expand to a link on yoast.com, %3$d to the number of text sections
|
45 |
-
* not separated by subheadings, %4$d expands to the recommended number of words following a
|
46 |
-
* subheading, %2$s expands to the link closing tag.
|
47 |
-
*/
|
48 |
-
e.dngettext("js-text-analysis","%1$sSubheading distribution%2$s: %3$d section of your text is longer than %4$d words and is not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.","%1$sSubheading distribution%2$s: %3$d sections of your text are longer than %4$d words and are not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.",this._tooLongTextsNumber),this._config.urlTitle,"</a>",this._tooLongTextsNumber,this._config.parameters.recommendedMaximumWordCount,this._config.urlCallToAction)}:{score:this._config.scores.badSubheadings,resultText:e.sprintf(
|
49 |
-
/* Translators: %1$s and %5$s expand to a link on yoast.com, %3$d to the number of text sections
|
50 |
-
not separated by subheadings, %4$d expands to the recommended number of words following a
|
51 |
-
subheading, %2$s expands to the link closing tag. */
|
52 |
-
e.dngettext("js-text-analysis","%1$sSubheading distribution%2$s: %3$d section of your text is longer than %4$d words and is not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.","%1$sSubheading distribution%2$s: %3$d sections of your text are longer than %4$d words and are not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.",this._tooLongTextsNumber),this._config.urlTitle,"</a>",this._tooLongTextsNumber,this._config.parameters.recommendedMaximumWordCount,this._config.urlCallToAction)}}return{score:this._config.scores.badLongTextNoSubheadings,resultText:e.sprintf(
|
53 |
-
/* Translators: %1$s and %3$s expand to a link to https://yoa.st/headings, %2$s expands to the link closing tag. */
|
54 |
-
e.dgettext("js-text-analysis","%1$sSubheading distribution%2$s: You are not using any subheadings, although your text is rather long. %3$sTry and add some subheadings%2$s."),this._config.urlTitle,"</a>",this._config.urlCallToAction)}}return this._hasSubheadings?{score:this._config.scores.goodSubheadings,resultText:e.sprintf(
|
55 |
-
/* Translators: %1$s expands to a link to https://yoa.st/headings, %2$s expands to the link closing tag. */
|
56 |
-
e.dgettext("js-text-analysis","%1$sSubheading distribution%2$s: Great job!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.goodShortTextNoSubheadings,resultText:e.sprintf(
|
57 |
-
/* Translators: %1$s expands to a link to https://yoa.st/headings, %2$s expands to the link closing tag. */
|
58 |
-
e.dgettext("js-text-analysis","%1$sSubheading distribution%2$s: You are not using any subheadings, but your text is short enough and probably doesn't need them."),this._config.urlTitle,"</a>")}}}]),i}(V);var Le=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={urlTitle:Object(L.b)("https://yoa.st/35h"),urlCallToAction:Object(L.b)("https://yoa.st/35i")};return e.identifier="textPresence",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){if(de(Oe(e.getText())).length<50){var n=new q;return n.setText(r.sprintf(
|
59 |
-
/* Translators: %1$s and %3$s expand to links to articles on Yoast.com,
|
60 |
-
%2$s expands to the anchor end tag*/
|
61 |
-
r.dgettext("js-text-analysis","%1$sNot enough content%2$s: %3$sPlease add some content to enable a good analysis%2$s."),this._config.urlTitle,"</a>",this._config.urlCallToAction)),n.setScore(3),n}return new q}}]),i}(V);var Me=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={urlTitle:Object(L.b)("https://yoa.st/34z"),urlCallToAction:Object(L.b)("https://yoa.st/35a")};return e.identifier="textTransitionWords",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"calculateTransitionWordPercentage",value:function(e){return 0===e.transitionWordSentences||0===e.totalSentences?0:we(e.transitionWordSentences/e.totalSentences*100)}},{key:"calculateScoreFromPercentage",value:function(e){return e<20?3:ye(e,20,30)?6:9}},{key:"calculateTransitionWordResult",value:function(e,t){var r=this.calculateTransitionWordPercentage(e),n=this.calculateScoreFromPercentage(r),i=r>0;return n<7&&0===r?{score:we(n),hasMarks:i,text:t.sprintf(
|
62 |
-
/* Translators: %1$s and %3$s expand to a link to yoast.com, %2$s expands to the anchor end tag */
|
63 |
-
t.dgettext("js-text-analysis","%1$sTransition words%2$s: None of the sentences contain transition words. %3$sUse some%2$s."),this._config.urlTitle,"</a>",this._config.urlCallToAction)}:n<7?{score:we(n),hasMarks:i,text:t.sprintf(
|
64 |
-
/* Translators: %1$s and %4$s expand to a link to yoast.com, %2$s expands to the anchor end tag,
|
65 |
-
%3$s expands to the percentage of sentences containing transition words */
|
66 |
-
t.dgettext("js-text-analysis","%1$sTransition words%2$s: Only %3$s of the sentences contain transition words, which is not enough. %4$sUse more of them%2$s."),this._config.urlTitle,"</a>",r+"%",this._config.urlCallToAction)}:{score:we(n),hasMarks:i,text:t.sprintf(
|
67 |
-
/* Translators: %1$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
|
68 |
-
t.dgettext("js-text-analysis","%1$sTransition words%2$s: Well done!"),this._config.urlTitle,"</a>")}}},{key:"getResult",value:function(e,t,r){if("fa"===t.getConfig("language")&&!Object(C.isFeatureEnabled)("FARSI_SUPPORT"))return new q;var n=t.getResearch("findTransitionWords"),i=this.calculateTransitionWordResult(n,r),s=new q;return s.setScore(i.score),s.setText(i.text),s.setHasMarks(i.hasMarks),s}},{key:"getMarks",value:function(e,t){var r=t.getResearch("findTransitionWords");return Object(R.map)(r.sentenceResults,(function(e){var t=e.sentence;return t=ge(t),new F({original:t,marked:ve(t)})}))}},{key:"isApplicable",value:function(e,t){var r=t.getResearch("wordCountInText");return e.hasText()&&r>=200&&t.hasResearch("findTransitionWords")}}]),i}(V),Pe=/[.?!:;,]/g,Fe=function(e){return Object(R.filter)(e,(function(e){return e.complexity>3}))},$e={identifier:"wordComplexity",getResult:function(e,t,r){var n=t.getResearch("wordComplexity"),i=function(e,t,r){var n=0,i=Fe(t).length;0!==e&&(n=i/e*100);var s=(n=we(n))>0,a=Object(L.b)("https://yoa.st/difficult-words"),o=9-Math.max(Math.min(.6*(n-1.7),6),0);return(o=we(o))>=7?{score:o,hasMarks:s,text:r.sprintf(r.dgettext("js-text-analysis",// Translators: %1$s expands to the percentage of complex words, %2$s expands to a link on yoast.com,
|
69 |
-
"%1$s of the words contain %2$sover %3$s syllables%4$s, which is less than or equal to the recommended maximum of %5$s."),n+"%",a,3,"</a>","5%")}:{score:o,hasMarks:s,text:r.sprintf(r.dgettext("js-text-analysis",// Translators: %1$s expands to the percentage of complex words, %2$s expands to a link on yoast.com,
|
70 |
-
"%1$s of the words contain %2$sover %3$s syllables%4$s, which is more than the recommended maximum of %5$s."),n+"%",a,3,"</a>","5%")}}((n=Object(R.flatMap)(n,(function(e){return e.words}))).length,n,r),s=new q;return s.setScore(i.score),s.setText(i.text),s.setHasMarks(i.hasMarks),s},isApplicable:function(e,t){return e.hasText()&&t.hasResearch("wordComplexity")},getMarks:function(e,t){var r=t.getResearch("wordComplexity");return Object(R.flatMap)(r,(function(e){var t=e.words,r=e.sentence,n=Fe(t);if(0===n.length)return[];var i=function(e,t){var r=e.split(/\s+/);return Object(R.forEach)(t,(function(e){var t=e.wordIndex;e.word!==r[t]&&e.word!==r[t].replace(Pe,"")||(r[t]=r[t].replace(e.word,ve(e.word)))})),r}(r,n),s=function(e){var t=e.split(/\S+/);return t.pop(),t.shift(),t}(r),a=Object(R.zip)(i,s);return a=(a=Object(R.flatten)(a)).join(""),new F({original:r,marked:a})}))}};var Be=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={scores:{onlyFunctionWords:0},urlTitle:Object(L.b)("https://yoa.st/functionwordskeyphrase-1"),urlCallToAction:Object(L.b)("https://yoa.st/functionwordskeyphrase-2")};return e.identifier="functionWordsInKeyphrase",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this._functionWordsInKeyphrase=t.getResearch("functionWordsInKeyphrase"),this._keyword=Object(R.escape)(e.getKeyword());var n=new q;return this._functionWordsInKeyphrase&&(n.setScore(this._config.scores.onlyFunctionWords),n.setText(r.sprintf(
|
71 |
-
/**
|
72 |
-
* Translators:
|
73 |
-
* %1$s and %2$s expand to links on yoast.com,
|
74 |
-
* %3$s expands to the anchor end tag,
|
75 |
-
* %4$s expands to the focus keyphrase of the article.
|
76 |
-
*/
|
77 |
-
r.dgettext("js-text-analysis",'%1$sFunction words in keyphrase%3$s: Your keyphrase "%4$s" contains function words only. %2$sLearn more about what makes a good keyphrase.%3$s'),this._config.urlTitle,this._config.urlCallToAction,"</a>",this._keyword))),n}},{key:"isApplicable",value:function(e,t){return e.hasKeyword()&&t.hasResearch("functionWordsInKeyphrase")}}]),i}(V);var qe=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{recommendedMinimum:1},scores:{allInternalFollow:9,someInternalFollow:8,noneInternalFollow:7,noInternal:3},urlTitle:Object(L.b)("https://yoa.st/33z"),urlCallToAction:Object(L.b)("https://yoa.st/34a")};return e.identifier="internalLinks",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this.linkStatistics=t.getResearch("getLinkStatistics");var n=new q,i=this.calculateResult(r);return n.setScore(i.score),n.setText(i.resultText),n}},{key:"isApplicable",value:function(e){return e.hasText()}},{key:"calculateResult",value:function(e){return 0===this.linkStatistics.internalTotal?{score:this._config.scores.noInternal,resultText:e.sprintf(
|
78 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
79 |
-
e.dgettext("js-text-analysis","%1$sInternal links%3$s: No internal links appear in this page, %2$smake sure to add some%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.linkStatistics.internalNofollow===this.linkStatistics.internalTotal?{score:this._config.scores.noneInternalFollow,resultText:e.sprintf(
|
80 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
81 |
-
e.dgettext("js-text-analysis","%1$sInternal links%3$s: The internal links in this page are all nofollowed. %2$sAdd some good internal links%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.linkStatistics.internalDofollow===this.linkStatistics.internalTotal?{score:this._config.scores.allInternalFollow,resultText:e.sprintf(
|
82 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
83 |
-
e.dgettext("js-text-analysis","%1$sInternal links%2$s: You have enough internal links. Good job!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.someInternalFollow,resultText:e.sprintf(
|
84 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
85 |
-
e.dgettext("js-text-analysis","%1$sInternal links%2$s: There are both nofollowed and normal internal links on this page. Good job!"),this._config.urlTitle,"</a>")}}}]),i}(V);var Ue=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={scores:{good:9,okay:6,bad:3},urlTitle:Object(L.b)("https://yoa.st/33e"),urlCallToAction:Object(L.b)("https://yoa.st/33f")};return e.identifier="introductionKeyword",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){var n=new q;this._firstParagraphMatches=t.getResearch("findKeywordInFirstParagraph");var i=this.calculateResult(r);return n.setScore(i.score),n.setText(i.resultText),n}},{key:"isApplicable",value:function(e){return e.hasKeyword()&&e.hasText()}},{key:"calculateResult",value:function(e){return this._firstParagraphMatches.foundInOneSentence?{score:this._config.scores.good,resultText:e.sprintf(
|
86 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
|
87 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in introduction%2$s: Well done!"),this._config.urlTitle,"</a>")}:this._firstParagraphMatches.foundInParagraph?{score:this._config.scores.okay,resultText:e.sprintf(
|
88 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */
|
89 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms appear in the first paragraph of the copy, but not within one sentence. %2$sFix that%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:e.sprintf(
|
90 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */
|
91 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms do not appear in the first paragraph. %2$sMake sure the topic is clear immediately%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),i}(V),Ne=function(e){return e.replace(/ /g," ")};function Ie(e){return e.replace(/[‘’‛`]/g,"'")}function Ke(e){return function(e){return e.replace(/[“”〝〞〟‟„]/g,'"')}(Ie(e))}var ze=new RegExp("^[.]$"),He=new RegExp("^[?!;…۔؟]$"),We=new RegExp("^[^.?!;…۔؟<\\(\\)\\[\\]]+$"),Ve=/^<[^><]*$/,Ge=/^<([^>\s/]+)[^>]*>$/im,Ye=/^<\/([^>\s]+)[^>]*>$/im,Ze=/^\s*[[({]\s*$/,Je=/^\s*[\])}]\s*$/,Xe=new RegExp("[.?!;…۔؟]$"),Qe=function(){function e(){x()(this,e)}return T()(e,[{key:"isNumber",value:function(e){return!Object(R.isNaN)(parseInt(e,10))}},{key:"isBreakTag",value:function(e){return/<br/.test(e)}},{key:"isQuotation",value:function(e){return"'"===(e=Ke(e))||'"'===e}},{key:"isPunctuation",value:function(e){return"¿"===e||"¡"===e}},{key:"removeDuplicateWhitespace",value:function(e){return e.replace(/\s+/," ")}},{key:"isCapitalLetter",value:function(e){return e!==e.toLocaleLowerCase()}},{key:"isSmallerThanSign",value:function(e){return"<"===e}},{key:"getNextTwoCharacters",value:function(e){var t="";return Object(R.isUndefined)(e[0])||(t+=e[0].src),Object(R.isUndefined)(e[1])||(t+=e[1].src),this.removeDuplicateWhitespace(t)}},{key:"isLetterFromRTLLanguage",value:function(e){return[/^[\u0590-\u05fe]+$/i,/^[\u0600-\u06FF]+$/i,/^[\uFB8A\u067E\u0686\u06AF]+$/i].some((function(t){return t.test(e)}))}},{key:"isValidSentenceBeginning",value:function(e){return this.isCapitalLetter(e)||this.isLetterFromRTLLanguage(e)||this.isNumber(e)||this.isQuotation(e)||this.isPunctuation(e)||this.isSmallerThanSign(e)}},{key:"isSentenceStart",value:function(e){return!Object(R.isUndefined)(e)&&("html-start"===e.type||"html-end"===e.type||"block-start"===e.type)}},{key:"isSentenceEnding",value:function(e){return!Object(R.isUndefined)(e)&&("full-stop"===e.type||"sentence-delimiter"===e.type)}},{key:"tokenizeSmallerThanContent",value:function(e,t,r){var n=e.src.substring(1),i=this.createTokenizer();this.tokenize(i.tokenizer,n);var s=this.getSentencesFromTokens(i.tokens,!1);if(s[0]=Object(R.isUndefined)(s[0])?"<":"<"+s[0],this.isValidSentenceBeginning(s[0])&&(t.push(r),r=""),r+=s[0],s.length>1){t.push(r),r="",s.shift();var a=s.pop();s.forEach((function(e){t.push(e)})),a.match(Xe)?t.push(a):r=a}return{tokenSentences:t,currentSentence:r}}},{key:"createTokenizer",value:function(){var e=[],t=X()((function(t){e.push(t)}));return t.addRule(ze,"full-stop"),t.addRule(Ve,"smaller-than-sign-content"),t.addRule(Ge,"html-start"),t.addRule(Ye,"html-end"),t.addRule(Ze,"block-start"),t.addRule(Je,"block-end"),t.addRule(He,"sentence-delimiter"),t.addRule(We,"sentence"),{tokenizer:t,tokens:e}}},{key:"tokenize",value:function(e,t){e.onText(t);try{e.end()}catch(e){console.error("Tokenizer end error:",e,e.tokenizer2)}}},{key:"getSentencesFromTokens",value:function(e){var t,r,n=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=[],a="";do{r=!1;var o=e[0],l=e[e.length-1];o&&l&&"html-start"===o.type&&"html-end"===l.type&&(e=e.slice(1,e.length-1),r=!0)}while(r&&e.length>1);return e.forEach((function(r,i){var o,l,u,c=e[i+1],h=e[i-1],f=e[i+2];switch(r.type){case"html-start":case"html-end":n.isBreakTag(r.src)?(s.push(a),a=""):a+=r.src;break;case"smaller-than-sign-content":u=n.tokenizeSmallerThanContent(r,s,a),s=u.tokenSentences,a=u.currentSentence;break;case"sentence":a+=r.src;break;case"sentence-delimiter":a+=r.src,Object(R.isUndefined)(c)||"block-end"===c.type||"sentence-delimiter"===c.type||(s.push(a),a="");break;case"full-stop":if(a+=r.src,o=(l=n.getNextTwoCharacters([c,f])).length>=2,t=o?l[1]:"",o&&n.isNumber(l[0]))break;(o&&n.isValidSentenceBeginning(t)||n.isSentenceStart(c))&&(s.push(a),a="");break;case"block-start":a+=r.src;break;case"block-end":if(a+=r.src,o=(l=n.getNextTwoCharacters([c,f])).length>=2,t=o?l[0]:"",o&&n.isNumber(l[0])||n.isSentenceEnding(h)&&!n.isValidSentenceBeginning(t)&&!n.isSentenceStart(c))break;n.isSentenceEnding(h)&&(n.isSentenceStart(c)||n.isValidSentenceBeginning(t))&&(s.push(a),a="")}})),""!==a&&s.push(a),i&&(s=Object(R.map)(s,(function(e){return e.trim()}))),s}}]),e}(),et=new RegExp("\n\r|\n|\r"),tt=Object(R.memoize)((function(e){var t=new Qe,r=t.createTokenizer(),n=r.tokenizer,i=r.tokens;return t.tokenize(n,e),0===i.length?[]:t.getSentencesFromTokens(i)})),rt=function(e){e=Oe(e),e=Ne(e);var t=he(e);t=Object(R.flatMap)(t,(function(e){return e.split(et)}));var r=Object(R.flatMap)(t,tt);return Object(R.filter)(r,Object(R.negate)(R.isEmpty))};var nt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{goodDistributionScore:30,acceptableDistributionScore:50},scores:{good:9,okay:6,bad:1,consideration:0},urlTitle:Object(L.b)("https://yoa.st/33q"),urlCallToAction:Object(L.b)("https://yoa.st/33u")};return e.identifier="keyphraseDistribution",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this._keyphraseDistribution=t.getResearch("keyphraseDistribution");var n=new q,i=this.calculateResult(r);return n.setScore(i.score),n.setText(i.resultText),n.setHasMarks(this._keyphraseDistribution.sentencesToHighlight.length>0),n}},{key:"calculateResult",value:function(e){var t=this._keyphraseDistribution.keyphraseDistributionScore;return 100===t?{score:this._config.scores.consideration,resultText:e.sprintf(
|
92 |
-
/* Translators: %1$s and %2$s expand to links to Yoast.com articles,
|
93 |
-
%3$s expands to the anchor end tag */
|
94 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:t>this._config.parameters.acceptableDistributionScore?{score:this._config.scores.bad,resultText:e.sprintf(
|
95 |
-
/* Translators: %1$s and %2$s expand to links to Yoast.com articles,
|
96 |
-
%3$s expands to the anchor end tag */
|
97 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:t>this._config.parameters.goodDistributionScore&&t<=this._config.parameters.acceptableDistributionScore?{score:this._config.scores.okay,resultText:e.sprintf(
|
98 |
-
/* Translators: %1$s and %2$s expand to links to Yoast.com articles,
|
99 |
-
%3$s expands to the anchor end tag */
|
100 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.good,resultText:e.sprintf(
|
101 |
-
/* Translators: %1$s expands to links to Yoast.com articles, %2$s expands to the anchor end tag */
|
102 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase distribution%2$s: Good job!"),this._config.urlTitle,"</a>")}}},{key:"getMarks",value:function(){return this._keyphraseDistribution.sentencesToHighlight}},{key:"isApplicable",value:function(e){return e.hasText()&&e.hasKeyword()&&rt(e.getText()).length>=15}}]),i}(V);var it=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return x()(this,i),(t=n.call(this)).defaultConfig={parameters:{recommendedMinimum:1,recommendedMaximum:4,acceptableMaximum:8},parametersNoFunctionWordSupport:{recommendedMaximum:6,acceptableMaximum:9},scores:{veryBad:-999,bad:3,okay:6,good:9},urlTitle:Object(L.b)("https://yoa.st/33i"),urlCallToAction:Object(L.b)("https://yoa.st/33j"),isRelatedKeyphrase:!1},t.identifier="keyphraseLength",t._config=Object(R.merge)(t.defaultConfig,e),t._useCustomConfig=r,t}return T()(i,[{key:"getResult",value:function(e,t,r){this._keyphraseLengthData=t.getResearch("keyphraseLength"),this._configToUse=this.getConfig(t);var n=new q;this._boundaries=this._configToUse.parameters,0===this._keyphraseLengthData.functionWords.length&&(this._boundaries=Object(R.merge)({},this._configToUse.parameters,this._configToUse.parametersNoFunctionWordSupport));var i=this.calculateResult(r);return n.setScore(i.score),n.setText(i.resultText),n}},{key:"getConfig",value:function(e){var t=this._config,r=e.getConfig("keyphraseLength");return this._useCustomConfig&&r&&(t=Object(R.merge)(this.defaultConfig,r)),t}},{key:"calculateResult",value:function(e){if(this._useCustomConfig){if(0===this._keyphraseLengthData.keyphraseLength)return this._configToUse.isRelatedKeyphrase?{score:this._configToUse.scores.veryBad,resultText:e.sprintf(
|
103 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
104 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase length%3$s: %2$sSet a keyphrase in order to calculate your SEO score%3$s."),this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")}:{score:this._configToUse.scores.veryBad,resultText:e.sprintf(
|
105 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
106 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase length%3$s: No focus keyphrase was set for this page. %2$sSet a keyphrase in order to calculate your SEO score%3$s."),this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")};if(this._keyphraseLengthData.keyphraseLength<=this._boundaries.acceptableMinimum)return{score:this._configToUse.scores.bad,resultText:e.sprintf(
|
107 |
-
/* Translators:
|
108 |
-
%1$d expands to the number of words in the keyphrase,
|
109 |
-
%2$d expands to the recommended maximum of words in the keyphrase,
|
110 |
-
%3$s and %4$s expand to links on yoast.com,
|
111 |
-
%5$s expands to the anchor end tag. */
|
112 |
-
e.dngettext("js-text-analysis","%3$sKeyphrase length%5$s: The keyphrase is %1$d word long. That's shorter than the recommended minimum of %2$d words. %4$sMake it longer%5$s!","%3$sKeyphrase length%5$s: The keyphrase is %1$d words long. That's shorter than the recommended minimum of %2$d words. %4$sMake it longer%5$s!",this._keyphraseLengthData.keyphraseLength),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")};if(this._keyphraseLengthData.keyphraseLength>this._boundaries.acceptableMaximum)return{score:this._configToUse.scores.bad,resultText:e.sprintf(
|
113 |
-
/* Translators:
|
114 |
-
%1$d expands to the number of words in the keyphrase,
|
115 |
-
%2$d expands to the recommended maximum of words in the keyphrase,
|
116 |
-
%3$s and %4$s expand to links on yoast.com,
|
117 |
-
%5$s expands to the anchor end tag. */
|
118 |
-
e.dgettext("js-text-analysis","%3$sKeyphrase length%5$s: The keyphrase is %1$d words long. That's longer than the recommended maximum of %2$d words. %4$sMake it shorter%5$s!"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")};if(Object(R.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.acceptableMinimum,this._boundaries.recommendedMinimum))return{score:this._configToUse.scores.okay,resultText:e.sprintf(
|
119 |
-
/* Translators:
|
120 |
-
%1$d expands to the number of words in the keyphrase,
|
121 |
-
%2$d expands to the recommended maximum of words in the keyphrase,
|
122 |
-
%3$s and %4$s expand to links on yoast.com,
|
123 |
-
%5$s expands to the anchor end tag. */
|
124 |
-
e.dgettext("js-text-analysis","%3$sKeyphrase length%5$s: The keyphrase is %1$d words long. That's slightly shorter than the recommended minimum of %2$d words. %4$sMake it longer%5$s!"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")};if(me(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._boundaries.acceptableMaximum))return{score:this._configToUse.scores.okay,resultText:e.sprintf(
|
125 |
-
/* Translators:
|
126 |
-
%1$d expands to the number of words in the keyphrase,
|
127 |
-
%2$d expands to the recommended maximum of words in the keyphrase,
|
128 |
-
%3$s and %4$s expand to links on yoast.com,
|
129 |
-
%5$s expands to the anchor end tag. */
|
130 |
-
e.dgettext("js-text-analysis","%3$sKeyphrase length%5$s: The keyphrase is %1$d words long. That's longer than the recommended maximum of %2$d words. %4$sMake it shorter%5$s!"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")};if(be(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum))return{score:this._configToUse.scores.good,resultText:e.sprintf(
|
131 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
|
132 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase length%2$s: Good job!"),this._configToUse.urlTitle,"</a>")}}return this._keyphraseLengthData.keyphraseLength<this._boundaries.recommendedMinimum?this._configToUse.isRelatedKeyphrase?{score:this._configToUse.scores.veryBad,resultText:e.sprintf(
|
133 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
134 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase length%3$s: %2$sSet a keyphrase in order to calculate your SEO score%3$s."),this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")}:{score:this._configToUse.scores.veryBad,resultText:e.sprintf(
|
135 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
136 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase length%3$s: No focus keyphrase was set for this page. %2$sSet a keyphrase in order to calculate your SEO score%3$s."),this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")}:Object(R.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum+1)?{score:this._configToUse.scores.good,resultText:e.sprintf(
|
137 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
|
138 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase length%2$s: Good job!"),this._configToUse.urlTitle,"</a>")}:Object(R.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum+1,this._boundaries.acceptableMaximum+1)?{score:this._configToUse.scores.okay,resultText:e.sprintf(
|
139 |
-
/* Translators:
|
140 |
-
%1$d expands to the number of words in the keyphrase,
|
141 |
-
%2$d expands to the recommended maximum of words in the keyphrase,
|
142 |
-
%3$s and %4$s expand to links on yoast.com,
|
143 |
-
%5$s expands to the anchor end tag. */
|
144 |
-
e.dgettext("js-text-analysis","%3$sKeyphrase length%5$s: The keyphrase is %1$d words long. That's more than the recommended maximum of %2$d words. %4$sMake it shorter%5$s!"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")}:{score:this._configToUse.scores.bad,resultText:e.sprintf(
|
145 |
-
/* Translators:
|
146 |
-
%1$d expands to the number of words in the keyphrase,
|
147 |
-
%2$d expands to the recommended maximum of words in the keyphrase,
|
148 |
-
%3$s and %4$s expand to links on yoast.com,
|
149 |
-
%5$s expands to the anchor end tag. */
|
150 |
-
e.dgettext("js-text-analysis","%3$sKeyphrase length%5$s: The keyphrase is %1$d words long. That's way more than the recommended maximum of %2$d words. %4$sMake it shorter%5$s!"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._configToUse.urlTitle,this._configToUse.urlCallToAction,"</a>")}}}]),i}(V),st=function(e){return Re(e).length},at=function(e){return.7+e/3},ot=function(e,t,r,n){var i=st(e);if(0===i)return 0;var s=r*i/(100*at(t));if(s<2)return 2;switch(n){case"min":return Math.ceil(s);default:case"max":return Math.floor(s)}};function lt(e){return e}var ut=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{noWordForms:{overMaximum:4,maximum:3,minimum:.5},multipleWordForms:{overMaximum:4,maximum:3.5,minimum:.5}},scores:{wayOverMaximum:-50,overMaximum:-10,correctDensity:9,underMinimum:4},urlTitle:Object(L.b)("https://yoa.st/33v"),urlCallToAction:Object(L.b)("https://yoa.st/33w")};return e.identifier="keywordDensity",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"setBoundaries",value:function(e,t){this._hasMorphologicalForms?this._boundaries=this._config.parameters.multipleWordForms:this._boundaries=this._config.parameters.noWordForms,this._minRecommendedKeywordCount=ot(e,t,this._boundaries.minimum,"min"),this._maxRecommendedKeywordCount=ot(e,t,this._boundaries.maximum,"max")}},{key:"getResult",value:function(e,t,r){this._keywordCount=t.getResearch("keywordCount");var n=this._keywordCount.length,i=new q;this._keywordDensityData=t.getResearch("getKeywordDensity"),this._hasMorphologicalForms=!1!==t.getData("morphology")&&this._keywordDensityData.stemmer!==lt,this.setBoundaries(e.getText(),n),this._keywordDensity=this._keywordDensityData.keywordDensity*at(n);var s=this.calculateResult(r);return i.setScore(s.score),i.setText(s.resultText),i.setHasMarks(this._keywordCount.count>0),i}},{key:"hasNoMatches",value:function(){return 0===this._keywordCount.count}},{key:"hasTooFewMatches",value:function(){return ye(this._keywordDensity,0,this._boundaries.minimum)||1===this._keywordCount.count}},{key:"hasGoodNumberOfMatches",value:function(){return be(this._keywordDensity,this._boundaries.minimum,this._boundaries.maximum)||2===this._keywordCount.count&&this._minRecommendedKeywordCount<=2}},{key:"hasTooManyMatches",value:function(){return me(this._keywordDensity,this._boundaries.maximum,this._boundaries.overMaximum)}},{key:"calculateResult",value:function(e){return this.hasNoMatches()?{score:this._config.scores.underMinimum,resultText:e.sprintf(
|
151 |
-
/* Translators:
|
152 |
-
%1$s and %4$s expand to links to Yoast.com,
|
153 |
-
%2$s expands to the anchor end tag,
|
154 |
-
%3$d expands to the recommended minimal number of times the keyphrase should occur in the text. */
|
155 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found 0 times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!"),this._config.urlTitle,"</a>",this._minRecommendedKeywordCount,this._config.urlCallToAction)}:this.hasTooFewMatches()?{score:this._config.scores.underMinimum,resultText:e.sprintf(
|
156 |
-
/* Translators:
|
157 |
-
%1$s and %4$s expand to links to Yoast.com,
|
158 |
-
%2$s expands to the anchor end tag,
|
159 |
-
%3$d expands to the recommended minimal number of times the keyphrase should occur in the text,
|
160 |
-
%5$d expands to the number of times the keyphrase occurred in the text. */
|
161 |
-
e.dngettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!",this._keywordCount.count),this._config.urlTitle,"</a>",this._minRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}:this.hasGoodNumberOfMatches()?{score:this._config.scores.correctDensity,resultText:e.sprintf(
|
162 |
-
/* Translators:
|
163 |
-
%1$s expands to a link to Yoast.com,
|
164 |
-
%2$s expands to the anchor end tag,
|
165 |
-
%3$d expands to the number of times the keyphrase occurred in the text. */
|
166 |
-
e.dngettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found %3$d time. This is great!","%1$sKeyphrase density%2$s: The focus keyphrase was found %3$d times. This is great!",this._keywordCount.count),this._config.urlTitle,"</a>",this._keywordCount.count)}:this.hasTooManyMatches()?{score:this._config.scores.overMaximum,resultText:e.sprintf(
|
167 |
-
/* Translators:
|
168 |
-
%1$s and %4$s expand to links to Yoast.com,
|
169 |
-
%2$s expands to the anchor end tag,
|
170 |
-
%3$d expands to the recommended maximal number of times the keyphrase should occur in the text,
|
171 |
-
%5$d expands to the number of times the keyphrase occurred in the text. */
|
172 |
-
e.dngettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!",this._keywordCount.count),this._config.urlTitle,"</a>",this._maxRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}:{score:this._config.scores.wayOverMaximum,resultText:e.sprintf(
|
173 |
-
/* Translators:
|
174 |
-
%1$s and %4$s expand to links to Yoast.com,
|
175 |
-
%2$s expands to the anchor end tag,
|
176 |
-
%3$d expands to the recommended maximal number of times the keyphrase should occur in the text,
|
177 |
-
%5$d expands to the number of times the keyphrase occurred in the text. */
|
178 |
-
e.dngettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's way more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's way more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!",this._keywordCount.count),this._config.urlTitle,"</a>",this._maxRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}}},{key:"getMarks",value:function(){return this._keywordCount.markings}},{key:"isApplicable",value:function(e){return e.hasText()&&e.hasKeyword()&&st(e.getText())>=100}}]),i}(V);var ct=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{recommendedMinimum:1},scores:{good:9,ok:6,bad:3},urlTitle:Object(L.b)("https://yoa.st/33k"),urlCallToAction:Object(L.b)("https://yoa.st/33l")};return e.identifier="metaDescriptionKeyword",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this._keyphraseCounts=t.getResearch("metaDescriptionKeyword");var n=new q,i=this.calculateResult(r);return n.setScore(i.score),n.setText(i.resultText),n}},{key:"calculateResult",value:function(e){return 1===this._keyphraseCounts||2===this._keyphraseCounts?{score:this._config.scores.good,resultText:e.sprintf(
|
179 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
|
180 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in meta description%2$s: Keyphrase or synonym appear in the meta description. Well done!"),this._config.urlTitle,"</a>")}:this._keyphraseCounts>=3?{score:this._config.scores.bad,resultText:e.sprintf(
|
181 |
-
/**
|
182 |
-
* Translators:
|
183 |
-
* %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
|
184 |
-
* %3$s expands to the number of sentences containing the keyphrase,
|
185 |
-
* %4$s expands to a link on yoast.com, %5$s expands to the anchor end tag.
|
186 |
-
*/
|
187 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in meta description%2$s: The meta description contains the keyphrase %3$s times, which is over the advised maximum of 2 times. %4$sLimit that%5$s!"),this._config.urlTitle,"</a>",this._keyphraseCounts,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:e.sprintf(
|
188 |
-
/**
|
189 |
-
* Translators:
|
190 |
-
* %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag.
|
191 |
-
* %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag.
|
192 |
-
*/
|
193 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in meta description%2$s: The meta description has been specified, but it does not contain the keyphrase. %3$sFix that%4$s!"),this._config.urlTitle,"</a>",this._config.urlCallToAction,"</a>")}}},{key:"isApplicable",value:function(e){return e.hasKeyword()&&e.hasDescription()}}]),i}(V);var ht=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={recommendedMaximumLength:120,maximumLength:156,scores:{noMetaDescription:1,tooLong:6,tooShort:6,correctLength:9},urlTitle:Object(L.b)("https://yoa.st/34d"),urlCallToAction:Object(L.b)("https://yoa.st/34e")};return e.identifier="metaDescriptionLength",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getMaximumLength",value:function(){return this._config.maximumLength}},{key:"getResult",value:function(e,t,r){var n=t.getResearch("metaDescriptionLength"),i=new q;return i.setScore(this.calculateScore(n)),i.setText(this.translateScore(n,r)),i.max=this._config.maximumLength,i.actual=n,i}},{key:"calculateScore",value:function(e){return 0===e?this._config.scores.noMetaDescription:e<=this._config.recommendedMaximumLength?this._config.scores.tooShort:e>this._config.maximumLength?this._config.scores.tooLong:this._config.scores.correctLength}},{key:"translateScore",value:function(e,t){return 0===e?t.sprintf(
|
194 |
-
/* Translators: %1$s and %2$s expand to a links on yoast.com, %3$s expands to the anchor end tag */
|
195 |
-
t.dgettext("js-text-analysis","%1$sMeta description length%3$s: No meta description has been specified. Search engines will display copy from the page instead. %2$sMake sure to write one%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e<=this._config.recommendedMaximumLength?t.sprintf(
|
196 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag,
|
197 |
-
%4$d expands to the number of characters in the meta description, %5$d expands to
|
198 |
-
the total available number of characters in the meta description */
|
199 |
-
t.dgettext("js-text-analysis","%1$sMeta description length%3$s: The meta description is too short (under %4$d characters). Up to %5$d characters are available. %2$sUse the space%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMaximumLength,this._config.maximumLength):e>this._config.maximumLength?t.sprintf(
|
200 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag,
|
201 |
-
%4$d expands to the total available number of characters in the meta description */
|
202 |
-
t.dgettext("js-text-analysis","%1$sMeta description length%3$s: The meta description is over %4$d characters. To ensure the entire description will be visible, %2$syou should reduce the length%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.maximumLength):t.sprintf(
|
203 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
204 |
-
t.dgettext("js-text-analysis","%1$sMeta description length%2$s: Well done!"),this._config.urlTitle,"</a>")}}]),i}(V);var ft=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={scores:{noLinks:3,allNofollowed:7,someNoFollowed:8,allFollowed:9},urlTitle:Object(L.b)("https://yoa.st/34f"),urlCallToAction:Object(L.b)("https://yoa.st/34g")};return e.identifier="externalLinks",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){var n=t.getResearch("getLinkStatistics"),i=new q;return Object(R.isEmpty)(n)||(i.setScore(this.calculateScore(n)),i.setText(this.translateScore(n,r))),i}},{key:"isApplicable",value:function(e){return e.hasText()}},{key:"calculateScore",value:function(e){return 0===e.externalTotal?this._config.scores.noLinks:e.externalNofollow===e.externalTotal?this._config.scores.allNofollowed:e.externalDofollow<e.externalTotal?this._config.scores.someNoFollowed:e.externalDofollow===e.externalTotal?this._config.scores.allFollowed:null}},{key:"translateScore",value:function(e,t){return 0===e.externalTotal?t.sprintf(
|
205 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
206 |
-
t.dgettext("js-text-analysis","%1$sOutbound links%3$s: No outbound links appear in this page. %2$sAdd some%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e.externalNofollow===e.externalTotal?t.sprintf(
|
207 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
208 |
-
t.dgettext("js-text-analysis","%1$sOutbound links%3$s: All outbound links on this page are nofollowed. %2$sAdd some normal links%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e.externalDofollow===e.externalTotal?t.sprintf(
|
209 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
210 |
-
t.dgettext("js-text-analysis","%1$sOutbound links%2$s: Good job!"),this._config.urlTitle,"</a>"):e.externalDofollow<e.externalTotal?t.sprintf(
|
211 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
212 |
-
t.dgettext("js-text-analysis","%1$sOutbound links%2$s: There are both nofollowed and normal outbound links on this page. Good job!"),this._config.urlTitle,"</a>"):""}}]),i}(V);var pt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];x()(this,i),e=n.call(this);var s={minLength:400,maxLength:600,scores:{noTitle:1,widthTooShort:6,widthTooLong:3,widthCorrect:9},urlTitle:Object(L.b)("https://yoa.st/34h"),urlCallToAction:Object(L.b)("https://yoa.st/34i")};return e._allowShortTitle=r,e.identifier="titleWidth",e._config=Object(R.merge)(s,t),e}return T()(i,[{key:"getMaximumLength",value:function(){return 600}},{key:"getResult",value:function(e,t,r){var n=t.getResearch("pageTitleWidth"),i=new q;return i.setScore(this.calculateScore(n)),i.setText(this.translateScore(n,r)),i.max=this._config.maxLength,i.actual=n,i}},{key:"calculateScore",value:function(e){return me(e,1,400)?this._config.scores.widthTooShort:me(e,this._config.minLength,this._config.maxLength)?this._config.scores.widthCorrect:e>this._config.maxLength?this._config.scores.widthTooLong:this._config.scores.noTitle}},{key:"translateScore",value:function(e,t){return me(e,1,400)?this._allowShortTitle?t.sprintf(
|
213 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
214 |
-
t.dgettext("js-text-analysis","%1$sSEO title width%2$s: Good job!"),this._config.urlTitle,"</a>"):t.sprintf(
|
215 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
216 |
-
t.dgettext("js-text-analysis","%1$sSEO title width%3$s: The SEO title is too short. %2$sUse the space to add keyphrase variations or create compelling call-to-action copy%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>"):me(e,this._config.minLength,this._config.maxLength)?t.sprintf(
|
217 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
218 |
-
t.dgettext("js-text-analysis","%1$sSEO title width%2$s: Good job!"),this._config.urlTitle,"</a>"):e>this._config.maxLength?t.sprintf(
|
219 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
220 |
-
t.dgettext("js-text-analysis","%1$sSEO title width%3$s: The SEO title is wider than the viewable limit. %2$sTry to make it shorter%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>"):t.sprintf(
|
221 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
222 |
-
t.dgettext("js-text-analysis","%1$sSEO title width%3$s: %2$sPlease create an SEO title%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}]),i}(V);var gt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={scores:{textContainsSuperfluousH1:1},urlTitle:Object(L.b)("https://yoa.st/3a6"),urlCallToAction:Object(L.b)("https://yoa.st/3a7")};return e.identifier="singleH1",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this._h1s=t.getResearch("h1s");var n=new q,i=this.calculateResult(r);return Object(R.isUndefined)(i)||(n.setScore(i.score),n.setText(i.resultText),n.setHasMarks(!0)),n}},{key:"firstH1AtBeginning",value:function(){return 0===this._h1s[0].position}},{key:"calculateResult",value:function(e){if(0!==this._h1s.length&&(1!==this._h1s.length||!this.firstH1AtBeginning()))return{score:this._config.scores.textContainsSuperfluousH1,resultText:e.sprintf(
|
223 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
224 |
-
e.dgettext("js-text-analysis","%1$sSingle title%3$s: H1s should only be used as your main title. Find all H1s in your text that aren't your main title and %2$schange them to a lower heading level%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}},{key:"getMarks",value:function(){var e=this._h1s;return this.firstH1AtBeginning()&&e.shift(),Object(R.map)(e,(function(e){return new F({original:"<h1>"+e.content+"</h1>",marked:"<h1>"+ve(e.content)+"</h1>"})}))}},{key:"isApplicable",value:function(e){return e.hasText()}}]),i}(V);var dt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{lowerBoundary:.3,upperBoundary:.75},scores:{noMatches:3,tooFewMatches:3,goodNumberOfMatches:9,tooManyMatches:3},urlTitle:Object(L.b)("https://yoa.st/33m"),urlCallToAction:Object(L.b)("https://yoa.st/33n")};return e.identifier="subheadingsKeyword",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this._subHeadings=t.getResearch("matchKeywordInSubheadings");var n=new q;this._minNumberOfSubheadings=Math.ceil(this._subHeadings.count*this._config.parameters.lowerBoundary),this._maxNumberOfSubheadings=Math.floor(this._subHeadings.count*this._config.parameters.upperBoundary);var i=this.calculateResult(r);return n.setScore(i.score),n.setText(i.resultText),n}},{key:"hasSubheadings",value:function(e){return Ae(e.getText()).length>0}},{key:"isApplicable",value:function(e){return e.hasText()&&e.hasKeyword()&&this.hasSubheadings(e)}},{key:"hasTooFewMatches",value:function(){return this._subHeadings.matches>0&&this._subHeadings.matches<this._minNumberOfSubheadings}},{key:"hasTooManyMatches",value:function(){return this._subHeadings.count>1&&this._subHeadings.matches>this._maxNumberOfSubheadings}},{key:"isOneOfOne",value:function(){return 1===this._subHeadings.count&&1===this._subHeadings.matches}},{key:"hasGoodNumberOfMatches",value:function(){return be(this._subHeadings.matches,this._minNumberOfSubheadings,this._maxNumberOfSubheadings)}},{key:"calculateResult",value:function(e){return this.hasTooFewMatches()?{score:this._config.scores.tooFewMatches,resultText:e.sprintf(
|
225 |
-
/* Translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
|
226 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in subheading%3$s: %2$sUse more keyphrases or synonyms in your H2 and H3 subheadings%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.tooManyMatches,resultText:e.sprintf(
|
227 |
-
/* Translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
|
228 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in subheading%3$s: More than 75%% of your H2 and H3 subheadings reflect the topic of your copy. That's too much. %2$sDon't over-optimize%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.isOneOfOne()?{score:this._config.scores.goodNumberOfMatches,resultText:e.sprintf(
|
229 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
|
230 |
-
%3$d expands to the number of subheadings containing the keyphrase. */
|
231 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in subheading%2$s: Your H2 or H3 subheading reflects the topic of your copy. Good job!",this._subHeadings.matches),this._config.urlTitle,"</a>")}:this.hasGoodNumberOfMatches()?{score:this._config.scores.goodNumberOfMatches,resultText:e.sprintf(
|
232 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
|
233 |
-
%3$d expands to the number of subheadings containing the keyphrase. */
|
234 |
-
e.dngettext("js-text-analysis","%1$sKeyphrase in subheading%2$s: %3$s of your H2 and H3 subheadings reflects the topic of your copy. Good job!","%1$sKeyphrase in subheading%2$s: %3$s of your H2 and H3 subheadings reflect the topic of your copy. Good job!",this._subHeadings.matches),this._config.urlTitle,"</a>",this._subHeadings.matches)}:{score:this._config.scores.noMatches,resultText:e.sprintf(
|
235 |
-
/* Translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
|
236 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in subheading%3$s: %2$sUse more keyphrases or synonyms in your H2 and H3 subheadings%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),i}(V);var vt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{recommendedMaximum:0},scores:{bad:2},urlTitle:Object(L.b)("https://yoa.st/34l"),urlCallToAction:Object(L.b)("https://yoa.st/34m")};return e.identifier="textCompetingLinks",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){var n=new q;this.linkCount=t.getResearch("getLinkStatistics");var i=this.calculateResult(r);return Object(R.isUndefined)(i)||(n.setScore(i.score),n.setText(i.resultText),n.setHasMarks(!1)),n}},{key:"isApplicable",value:function(e){return e.hasText()&&e.hasKeyword()}},{key:"calculateResult",value:function(e){if(this.linkCount.keyword.totalKeyword>this._config.parameters.recommendedMaximum)return{score:this._config.scores.bad,resultText:e.sprintf(
|
237 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
238 |
-
e.dgettext("js-text-analysis","%1$sLink keyphrase%3$s: You're linking to another page with the words you want this page to rank for. %2$sDon't do that%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),i}(V);var mt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={recommendedMinimum:300,slightlyBelowMinimum:250,belowMinimum:200,veryFarBelowMinimum:100,scores:{recommendedMinimum:9,slightlyBelowMinimum:6,belowMinimum:3,farBelowMinimum:-10,veryFarBelowMinimum:-20},urlTitle:Object(L.b)("https://yoa.st/34n"),urlCallToAction:Object(L.b)("https://yoa.st/34o"),cornerstoneContent:!1};return e.identifier="textLength",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){var n=t.getResearch("wordCountInText"),i=new q,s=this.calculateResult(n,r);return i.setScore(s.score),i.setText(s.resultText),i}},{key:"calculateResult",value:function(e,t){if(e>=this._config.recommendedMinimum)return{score:this._config.scores.recommendedMinimum,resultText:t.sprintf(t.dngettext("js-text-analysis",
|
239 |
-
/* Translators: %1$d expands to the number of words in the text,
|
240 |
-
%2$s expands to a link on yoast.com, %3$s expands to the anchor end tag */
|
241 |
-
"%2$sText length%3$s: The text contains %1$d word. Good job!","%2$sText length%3$s: The text contains %1$d words. Good job!",e),e,this._config.urlTitle,"</a>")};if(Object(R.inRange)(e,0,this._config.belowMinimum)){var r=this._config.scores.farBelowMinimum;return Object(R.inRange)(e,0,this._config.veryFarBelowMinimum)&&(r=this._config.scores.veryFarBelowMinimum),{score:r,resultText:t.sprintf(t.dngettext("js-text-analysis",
|
242 |
-
/* Translators: %1$d expands to the number of words in the text,
|
243 |
-
%2$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
|
244 |
-
"%2$sText length%4$s: The text contains %1$d word.","%2$sText length%4$s: The text contains %1$d words.",e)+" "+t.dngettext("js-text-analysis",
|
245 |
-
/* Translators: The preceding sentence is "Text length: The text contains x words.",
|
246 |
-
%3$s expands to a link on yoast.com,
|
247 |
-
%4$s expands to the anchor end tag,
|
248 |
-
%5$d expands to the recommended minimum of words. */
|
249 |
-
"This is far below the recommended minimum of %5$d word. %3$sAdd more content%4$s.","This is far below the recommended minimum of %5$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum),e,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum)}}return Object(R.inRange)(e,this._config.slightlyBelowMinimum,this._config.recommendedMinimum)?!1===this._config.cornerstoneContent?{score:this._config.scores.slightlyBelowMinimum,resultText:t.sprintf(t.dngettext("js-text-analysis",
|
250 |
-
/* Translators: %1$d expands to the number of words in the text,
|
251 |
-
%2$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
|
252 |
-
"%2$sText length%4$s: The text contains %1$d word.","%2$sText length%4$s: The text contains %1$d words.",e)+" "+t.dngettext("js-text-analysis",
|
253 |
-
/* Translators: The preceding sentence is "Text length: The text contains x words.",
|
254 |
-
%3$s expands to a link on yoast.com,
|
255 |
-
%4$s expands to the anchor end tag,
|
256 |
-
%5$d expands to the recommended minimum of words. */
|
257 |
-
"This is slightly below the recommended minimum of %5$d word. %3$sAdd a bit more copy%4$s.","This is slightly below the recommended minimum of %5$d words. %3$sAdd a bit more copy%4$s.",this._config.recommendedMinimum),e,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum)}:{score:this._config.scores.slightlyBelowMinimum,resultText:t.sprintf(t.dngettext("js-text-analysis",
|
258 |
-
/* Translators: %1$d expands to the number of words in the text,
|
259 |
-
%2$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
|
260 |
-
"%2$sText length%4$s: The text contains %1$d word.","%2$sText length%4$s: The text contains %1$d words.",e)+" "+t.dngettext("js-text-analysis",
|
261 |
-
/* Translators: The preceding sentence is "Text length: The text contains x words.",
|
262 |
-
%3$s expands to a link on yoast.com,
|
263 |
-
%4$s expands to the anchor end tag,
|
264 |
-
%5$d expands to the recommended minimum of words. */
|
265 |
-
"This is below the recommended minimum of %5$d word. %3$sAdd more content%4$s.","This is below the recommended minimum of %5$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum),e,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum)}:{score:this._config.scores.belowMinimum,resultText:t.sprintf(t.dngettext("js-text-analysis",
|
266 |
-
/* Translators: %1$d expands to the number of words in the text,
|
267 |
-
%2$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
|
268 |
-
"%2$sText length%4$s: The text contains %1$d word.","%2$sText length%4$s: The text contains %1$d words.",e)+" "+t.dngettext("js-text-analysis",
|
269 |
-
/* Translators: The preceding sentence is "Text length: The text contains x words.",
|
270 |
-
%3$s expands to a link on yoast.com,
|
271 |
-
%4$s expands to the anchor end tag,
|
272 |
-
%5$d expands to the recommended minimum of words. */
|
273 |
-
"This is below the recommended minimum of %5$d word. %3$sAdd more content%4$s.","This is below the recommended minimum of %5$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum),e,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum)}}}]),i}(V);var yt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{recommendedPosition:0},scores:{good:9,okay:6,bad:2},urlTitle:Object(L.b)("https://yoa.st/33g"),urlCallToAction:Object(L.b)("https://yoa.st/33h")};return e.identifier="titleKeyword",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this._keywordMatches=t.getResearch("findKeywordInPageTitle"),this._keyword=Object(R.escape)(e.getKeyword());var n=new q,i=this.calculateResult(r,this._keyword);return n.setScore(i.score),n.setText(i.resultText),n}},{key:"isApplicable",value:function(e){return e.hasKeyword()&&e.hasTitle()}},{key:"calculateResult",value:function(e,t){var r=this._keywordMatches.exactMatchFound,n=this._keywordMatches.position,i=this._keywordMatches.allWordsFound,s=this._keywordMatches.exactMatchKeyphrase;return!0===r?0===n?{score:this._config.scores.good,resultText:e.sprintf(
|
274 |
-
/* Translators: %1$s expands to a link on yoast.com,
|
275 |
-
%2$s expands to the anchor end tag. */
|
276 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in title%2$s: The exact match of the focus keyphrase appears at the beginning of the SEO title. Good job!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:e.sprintf(
|
277 |
-
/* Translators: %1$s and %2$s expand to a link on yoast.com,
|
278 |
-
%3$s expands to the anchor end tag. */
|
279 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in title%3$s: The exact match of the focus keyphrase appears in the SEO title, but not at the beginning. %2$sMove it to the beginning for the best results%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:i?{score:this._config.scores.okay,resultText:e.sprintf(
|
280 |
-
/* Translators: %1$s and %2$s expand to a link on yoast.com,
|
281 |
-
%3$s expands to the anchor end tag. */
|
282 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in title%3$s: Does not contain the exact match. %2$sTry to write the exact match of your keyphrase in the SEO title and put it at the beginning of the title%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:s?{score:this._config.scores.bad,resultText:e.sprintf(
|
283 |
-
/* Translators: %1$s and %2$s expand to a link on yoast.com,
|
284 |
-
%3$s expands to the anchor end tag. */
|
285 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in title%3$s: Does not contain the exact match. %2$sTry to write the exact match of your keyphrase in the SEO title and put it at the beginning of the title%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>",t)}:{score:this._config.scores.bad,resultText:e.sprintf(
|
286 |
-
/* Translators: %1$s and %2$s expand to a link on yoast.com,
|
287 |
-
%3$s expands to the anchor end tag, %4$s expands to the keyword of the article. */
|
288 |
-
e.dgettext("js-text-analysis",'%1$sKeyphrase in title%3$s: Not all the words from your keyphrase "%4$s" appear in the SEO title. %2$sFor the best SEO results write the exact match of your keyphrase in the SEO title, and put the keyphrase at the beginning of the title%3$s.'),this._config.urlTitle,this._config.urlCallToAction,"</a>",t)}}}]),i}(V);var bt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={scores:{okay:6,good:9},urlTitle:Object(L.b)("https://yoa.st/33o"),urlCallToAction:Object(L.b)("https://yoa.st/33p")};return e.identifier="urlKeyword",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this._keywordInURL=t.getResearch("keywordCountInUrl");var n=new q,i=this.calculateResult(r);return n.setScore(i.score),n.setText(i.resultText),n}},{key:"isApplicable",value:function(e){return e.hasKeyword()&&e.hasUrl()}},{key:"calculateResult",value:function(e){return this._keywordInURL.keyphraseLength<3?100===this._keywordInURL.percentWordMatches?{score:this._config.scores.good,resultText:e.sprintf(
|
289 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
290 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in slug%2$s: Great work!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:e.sprintf(
|
291 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
292 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this._keywordInURL.percentWordMatches>50?{score:this._config.scores.good,resultText:e.sprintf(
|
293 |
-
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
|
294 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in slug%2$s: More than half of your keyphrase appears in the slug. That's great!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:e.sprintf(
|
295 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
296 |
-
e.dgettext("js-text-analysis","%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),i}(V);var _t=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={parameters:{lowerBoundary:.3,upperBoundary:.75},scores:{withAltGoodNumberOfKeywordMatches:9,withAltTooFewKeywordMatches:6,withAltTooManyKeywordMatches:6,withAltNonKeyword:6,withAlt:6,noAlt:6},urlTitle:Object(L.b)("https://yoa.st/4f7"),urlCallToAction:Object(L.b)("https://yoa.st/4f6")};return e.identifier="imageKeyphrase",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this.imageCount=t.getResearch("imageCount"),this.altProperties=t.getResearch("altTagCount"),this._minNumberOfKeywordMatches=Math.ceil(this.imageCount*this._config.parameters.lowerBoundary),this._maxNumberOfKeywordMatches=Math.floor(this.imageCount*this._config.parameters.upperBoundary);var n=this.calculateResult(r),i=new q;return i.setScore(n.score),i.setText(n.resultText),i}},{key:"isApplicable",value:function(e,t){return this.imageCount=t.getResearch("imageCount"),e.hasText()&&this.imageCount>0}},{key:"hasTooFewMatches",value:function(){return this.imageCount>4&&this.altProperties.withAltKeyword>0&&this.altProperties.withAltKeyword<this._minNumberOfKeywordMatches}},{key:"hasGoodNumberOfMatches",value:function(){return this.imageCount<5&&this.altProperties.withAltKeyword>0||5===this.imageCount&&be(this.altProperties.withAltKeyword,2,4)||this.imageCount>4&&be(this.altProperties.withAltKeyword,this._minNumberOfKeywordMatches,this._maxNumberOfKeywordMatches)}},{key:"hasTooManyMatches",value:function(){return this.imageCount>4&&this.altProperties.withAltKeyword>this._maxNumberOfKeywordMatches}},{key:"calculateResult",value:function(e){return this.altProperties.withAlt>0?{score:this._config.scores.withAlt,resultText:e.sprintf(
|
297 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
298 |
-
e.dgettext("js-text-analysis","%1$sImage Keyphrase%3$s: Images on this page have alt attributes, but you have not set your keyphrase. %2$sFix that%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.altProperties.withAltNonKeyword>0&&0===this.altProperties.withAltKeyword?{score:this._config.scores.withAltNonKeyword,resultText:e.sprintf(
|
299 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
300 |
-
e.dgettext("js-text-analysis","%1$sImage Keyphrase%3$s: Images on this page do not have alt attributes with at least half of the words from your keyphrase. %2$sFix that%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasTooFewMatches()?{score:this._config.scores.withAltTooFewKeywordMatches,resultText:e.sprintf(
|
301 |
-
/* Translators: %1$d expands to the number of images containing an alt attribute with the keyword,
|
302 |
-
* %2$d expands to the total number of images, %3$s and %4$s expand to links on yoast.com,
|
303 |
-
* %5$s expands to the anchor end tag. */
|
304 |
-
e.dngettext("js-text-analysis","%3$sImage Keyphrase%5$s: Out of %2$d images on this page, only %1$d has an alt attribute that reflects the topic of your text. %4$sAdd your keyphrase or synonyms to the alt tags of more relevant images%5$s!","%3$sImage Keyphrase%5$s: Out of %2$d images on this page, only %1$d have alt attributes that reflect the topic of your text. %4$sAdd your keyphrase or synonyms to the alt tags of more relevant images%5$s!",this.altProperties.withAltKeyword),this.altProperties.withAltKeyword,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasGoodNumberOfMatches()?{score:this._config.scores.withAltGoodNumberOfKeywordMatches,resultText:e.sprintf(
|
305 |
-
/* Translators: %1$s expands to a link on yoast.com,
|
306 |
-
* %2$s expands to the anchor end tag. */
|
307 |
-
e.dgettext("js-text-analysis","%1$sImage Keyphrase%2$s: Good job!"),this._config.urlTitle,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.withAltTooManyKeywordMatches,resultText:e.sprintf(
|
308 |
-
/* Translators: %1$d expands to the number of images containing an alt attribute with the keyword,
|
309 |
-
* %2$d expands to the total number of images, %3$s and %4$s expand to a link on yoast.com,
|
310 |
-
* %5$s expands to the anchor end tag. */
|
311 |
-
e.dgettext("js-text-analysis","%3$sImage Keyphrase%5$s: Out of %2$d images on this page, %1$d have alt attributes with words from your keyphrase or synonyms. That's a bit much. %4$sOnly include the keyphrase or its synonyms when it really fits the image%5$s."),this.altProperties.withAltKeyword,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.noAlt,resultText:e.sprintf(
|
312 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
313 |
-
e.dgettext("js-text-analysis","%1$sImage Keyphrase%3$s: Images on this page do not have alt attributes that reflect the topic of your text. %2$sAdd your keyphrase or synonyms to the alt tags of relevant images%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),i}(V);var wt=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];x()(this,i),e=n.call(this);var s={scores:{bad:3,good:9},recommendedCount:1,urlTitle:Object(L.b)("https://yoa.st/4f4"),urlCallToAction:Object(L.b)("https://yoa.st/4f5")};return e.identifier="images",e._config=Object(R.merge)(s,t),e._countVideos=r,e}return T()(i,[{key:"getResult",value:function(e,t,r){this.imageCount=t.getResearch("imageCount"),this.videoCount=t.getResearch("videoCount");var n=this.calculateResult(r),i=new q;return i.setScore(n.score),i.setText(n.resultText),i}},{key:"isApplicable",value:function(e){return e.hasText()}},{key:"calculateResult",value:function(e){var t=this._countVideos?this.imageCount+this.videoCount:this.imageCount;if(0===t)return this._countVideos?{score:this._config.scores.bad,resultText:e.sprintf(
|
314 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
315 |
-
e.dgettext("js-text-analysis","%1$sImages and videos%3$s: No images or videos appear on this page. %2$sAdd some%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:e.sprintf(
|
316 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
317 |
-
e.dgettext("js-text-analysis","%1$sImages%3$s: No images appear on this page. %2$sAdd some%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(this._config.scores.okay){if(be(t,1,3)&&!this._countVideos)return{score:this._config.scores.okay,resultText:e.sprintf(
|
318 |
-
/* Translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
|
319 |
-
* %1$d expands to the number of images found in the text,
|
320 |
-
* %2$d expands to the recommended number of images in the text, */
|
321 |
-
e.dngettext("js-text-analysis","%3$sImages%5$s: Only %1$d image appears on this page. We recommend at least %2$d. %4$sAdd more relevant images%5$s!","%3$sImages%5$s: Only %1$d images appear on this page. We recommend at least %2$d. %4$sAdd more relevant images%5$s!",t),t,this._config.recommendedCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(be(t,1,3)&&this._countVideos)return{score:this._config.scores.okay,resultText:e.sprintf(
|
322 |
-
/* Translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
|
323 |
-
* %1$d expands to the number of images found in the text,
|
324 |
-
* %2$d expands to the recommended number of images in the text, */
|
325 |
-
e.dngettext("js-text-analysis","%3$sImages and videos%5$s: Only %1$d image or video appears on this page. We recommend at least %2$d. %4$sAdd more relevant images or videos%5$s!","%3$sImages and videos%5$s: Only %1$d images or videos appear on this page. We recommend at least %2$d. %4$sAdd more relevant images or videos%5$s!",t),t,this._config.recommendedCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}}return this._countVideos?{score:this._config.scores.good,resultText:e.sprintf(
|
326 |
-
/* Translators: %1$s expands to a link on yoast.com,
|
327 |
-
* %2$s expands to the anchor end tag. */
|
328 |
-
e.dgettext("js-text-analysis","%1$sImages and videos%2$s: Good job!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.good,resultText:e.sprintf(
|
329 |
-
/* Translators: %1$s expands to a link on yoast.com,
|
330 |
-
* %2$s expands to the anchor end tag. */
|
331 |
-
e.dgettext("js-text-analysis","%1$sImages%2$s: Good job!"),this._config.urlTitle,"</a>")}}}]),i}(V);var xt={FleschReadingEaseAssessment:U,ListAssessment:Y,ParagraphTooLongAssessment:_e,PassiveVoiceAssessment:xe,SentenceBeginningsAssessment:Ee,SentenceLengthInTextAssessment:Te,SubheadingDistributionTooLongAssessment:De,TextPresenceAssessment:Le,TransitionWordsAssessment:Me,WordComplexityAssessment:$e},Et={FunctionWordsInKeyphraseAssessment:Be,InternalLinksAssessment:qe,IntroductionKeywordAssessment:Ue,KeyphraseLengthAssessment:it,KeywordDensityAssessment:ut,KeyphraseDistributionAssessment:nt,MetaDescriptionKeywordAssessment:ct,MetaDescriptionLengthAssessment:ht,OutboundLinksAssessment:ft,PageTitleWidthAssessment:pt,SingleH1Assessment:gt,SubheadingsKeywordAssessment:dt,TextCompetingLinksAssessment:vt,TextLengthAssessment:mt,TitleKeywordAssessment:yt,UrlKeywordAssessment:bt,ImageKeyphraseAssessment:_t,ImageCountAssessment:wt,ImageAltTagsAssessment:function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,i),e=n.call(this);var r={scores:{bad:3,good:9},urlTitle:Object(L.b)(""),urlCallToAction:Object(L.b)("")};return e.identifier="imageAltTags",e._config=Object(R.merge)(r,t),e}return T()(i,[{key:"getResult",value:function(e,t,r){this.altTagsProperties=t.getResearch("altTagCount"),this.imageCount=t.getResearch("imageCount");var n=this.calculateResult(r),i=new q;return i.setScore(n.score),i.setText(n.resultText),i}},{key:"isApplicable",value:function(e,t){return this.imageCount=t.getResearch("imageCount"),e.hasText()&&this.imageCount>0}},{key:"calculateResult",value:function(e){var t=this.altTagsProperties.noAlt;return t===this.imageCount?{score:this._config.scores.bad,resultText:e.sprintf(
|
332 |
-
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
|
333 |
-
e.dgettext("js-text-analysis","%1$sImage alt tags%3$s: None of the images has alt attributes. %2$sAdd alt attributes to your images%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:t>0?{score:this._config.scores.bad,resultText:e.sprintf(
|
334 |
-
/* Translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
|
335 |
-
* %1$d expands to the number of images without alt tags,
|
336 |
-
* %2$d expands to the number of images found in the text, */
|
337 |
-
e.dngettext("js-text-analysis","%3$sImage alt tags%5$s: %1$d image out of %2$d doesn't have alt attributes. %4$sAdd alt attributes to your images%5$s!","%3$sImage alt tags%5$s: %1$d images out of %2$d don't have alt attributes. %4$sAdd alt attributes to your images%5$s!",t),t,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.good,resultText:e.sprintf(
|
338 |
-
/* Translators: %1$s expands to a link on yoast.com,
|
339 |
-
* %2$s expands to the anchor end tag. */
|
340 |
-
e.dgettext("js-text-analysis","%1$sImage alt tags%2$s: All images have alt attributes. Good job!"),this._config.urlTitle,"</a>")}}}]),i}(V)},Tt=r(35),At=r.n(Tt);function kt(e){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e}r(292),At.a.inherits(kt,Error);var Ot=kt,Ct=function(e){return Object(R.uniqBy)(e,(function(e){return e.getOriginal()}))};var St=function(e,t,r){this.type="Assessor",this.setI18n(e),this.setResearcher(t),this._assessments=[],this._options=r||{}};St.prototype.setI18n=function(e){if(Object(R.isUndefined)(e))throw new Ot("The assessor requires an i18n object.");this.i18n=e},St.prototype.setResearcher=function(e){if(Object(R.isUndefined)(e))throw new Ot("The assessor requires a researcher.");this._researcher=e},St.prototype.getAvailableAssessments=function(){return this._assessments},St.prototype.isApplicable=function(e,t,r){return!e.hasOwnProperty("isApplicable")&&"function"!=typeof e.isApplicable||e.isApplicable(t,r)},St.prototype.hasMarker=function(e){return Object(R.isFunction)(this._options.marker)&&(e.hasOwnProperty("getMarks")||"function"==typeof e.getMarks)},St.prototype.getSpecificMarker=function(){return this._options.marker},St.prototype.getPaper=function(){return this._lastPaper},St.prototype.getMarker=function(e,t,r){var n=this._options.marker;return function(){var i=e.getMarks(t,r);i=Ct(i),n(t,i)}},St.prototype.assess=function(e){this._researcher.setPaper(e);var t=this.getAvailableAssessments();this.results=[],t=Object(R.filter)(t,function(t){return this.isApplicable(t,e,this._researcher)}.bind(this)),this.setHasMarkers(!1),this.results=Object(R.map)(t,this.executeAssessment.bind(this,e,this._researcher)),this._lastPaper=e},St.prototype.setHasMarkers=function(e){this._hasMarkers=e},St.prototype.hasMarkers=function(){return this._hasMarkers},St.prototype.executeAssessment=function(e,t,r){var n,i;try{(n=r.getResult(e,t,this.i18n)).setIdentifier(r.identifier),n.hasMarks()&&(n.marks=r.getMarks(e,t),n.marks=Ct(n.marks)),n.hasMarks()&&this.hasMarker(r)&&(this.setHasMarkers(!0),n.setMarker(this.getMarker(r,e,t)))}catch(e){i=e,Object(R.isUndefined)(i)&&(i=""),Object(R.isUndefined)(console)||Object(R.isUndefined)(console.trace)||console.trace(i),(n=new q).setScore(-1),n.setText(this.i18n.sprintf(
|
341 |
-
/* Translators: %1$s expands to the name of the assessment. */
|
342 |
-
this.i18n.dgettext("js-text-analysis","An error occurred in the '%1$s' assessment"),r.identifier,e))}return n},St.prototype.getValidResults=function(){return Object(R.filter)(this.results,function(e){return this.isValidResult(e)}.bind(this))},St.prototype.isValidResult=function(e){return e.hasScore()&&e.hasText()},St.prototype.calculateOverallScore=function(){var e=this.getValidResults(),t=0;return Object(R.forEach)(e,(function(e){t+=e.getScore()})),Math.round(t/(9*e.length)*100)||0},St.prototype.addAssessment=function(e,t){return t.hasOwnProperty("identifier")||(t.identifier=e),this._assessments.push(t),!0},St.prototype.removeAssessment=function(e){var t=Object(R.findIndex)(this._assessments,(function(t){return t.hasOwnProperty("identifier")&&e===t.identifier}));-1!==t&&this._assessments.splice(t,1)},St.prototype.getAssessment=function(e){return Object(R.find)(this._assessments,(function(t){return t.hasOwnProperty("identifier")&&e===t.identifier}))},St.prototype.getApplicableAssessments=function(){var e=this.getAvailableAssessments();return Object(R.filter)(e,function(e){return this.isApplicable(e,this.getPaper(),this._researcher)}.bind(this))};var jt=St,Rt=function(e,t,r){jt.call(this,e,t,r),this.type="SEOAssessor",this._assessments=[new Ue,new it,new ut,new ct,new ht,new dt,new vt,new _t,new wt,new mt,new ft,new yt,new qe,new pt({scores:{widthTooShort:9}},!0),new bt,new Be,new gt]};Object(Tt.inherits)(Rt,jt);var Dt=Rt,Lt=function(e){return-1===e?"error":0===e?"feedback":e<=4?"bad":e>4&&e<=7?"ok":e>7?"good":""},Mt=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};jt.call(this,e,t,r),this.type="ContentAssessor",this._assessments=[U,new De,new _e,new Te,new Me,new xe,new Le,new Ee]};r(35).inherits(Mt,jt),Mt.prototype.calculatePenaltyPointsFullSupport=function(e){switch(e){case"bad":return 3;case"ok":return 2;default:case"good":return 0}},Mt.prototype.calculatePenaltyPointsPartialSupport=function(e){switch(e){case"bad":return 4;case"ok":return 2;default:case"good":return 0}},Mt.prototype._allAssessmentsSupported=function(){return 8===this.getApplicableAssessments().length},Mt.prototype.calculatePenaltyPoints=function(){var e=this.getValidResults(),t=Object(R.map)(e,function(e){var t=Lt(e.getScore());return this._allAssessmentsSupported()?this.calculatePenaltyPointsFullSupport(t):this.calculatePenaltyPointsPartialSupport(t)}.bind(this));return Object(R.sum)(t)},Mt.prototype._ratePenaltyPoints=function(e){if(1===this.getValidResults().length)return 30;if(this._allAssessmentsSupported()){if(e>6)return 30;if(e>4)return 60}else{if(e>4)return 30;if(e>2)return 60}return 90},Mt.prototype.calculateOverallScore=function(){if(0===this.getValidResults().length)return 30;var e=this.calculatePenaltyPoints();return this._ratePenaltyPoints(e)};var Pt=Mt,Ft=function(e,t,r){jt.call(this,e,t,r),this.type="TaxonomyAssessor",this._assessments=[new Ue,new it,new ut,new ct,new ht,new mt({recommendedMinimum:250,slightlyBelowMinimum:200,belowMinimum:100,veryFarBelowMinimum:50,urlTitle:Object(L.b)("https://yoa.st/34j"),urlCallToAction:Object(L.b)("https://yoa.st/34k")}),new yt,new pt({scores:{widthTooShort:9}},!0),new bt,new Be,new gt]};Object(Tt.inherits)(Ft,jt);var $t=Ft,Bt=r(36),qt=r.n(Bt);function Ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Nt={keyword:"",synonyms:"",description:"",title:"",titleWidth:0,url:"",locale:"en_US",permalink:""},It=function(e,t){this._text=e||"",t=t||{},Object(R.defaults)(t,Nt),""===t.locale&&(t.locale=Nt.locale);var r=t.keyword.replace(/[‘’“”"'.?!:;,¿¡«»&*@#±^%|~`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\u002b\u0026\s]/g,"");Object(R.isEmpty)(r)&&(t.keyword=Nt.keyword),this._attributes=t};It.prototype.hasKeyword=function(){return""!==this._attributes.keyword},It.prototype.getKeyword=function(){return this._attributes.keyword},It.prototype.hasSynonyms=function(){return""!==this._attributes.synonyms},It.prototype.getSynonyms=function(){return this._attributes.synonyms},It.prototype.hasText=function(){return""!==this._text},It.prototype.getText=function(){return this._text},It.prototype.hasDescription=function(){return""!==this._attributes.description},It.prototype.getDescription=function(){return this._attributes.description},It.prototype.hasTitle=function(){return""!==this._attributes.title},It.prototype.getTitle=function(){return this._attributes.title},It.prototype.hasTitleWidth=function(){return 0!==this._attributes.titleWidth},It.prototype.getTitleWidth=function(){return this._attributes.titleWidth},It.prototype.hasUrl=function(){return""!==this._attributes.url},It.prototype.getUrl=function(){return this._attributes.url},It.prototype.hasLocale=function(){return""!==this._attributes.locale},It.prototype.getLocale=function(){return this._attributes.locale},It.prototype.hasPermalink=function(){return""!==this._attributes.permalink},It.prototype.getPermalink=function(){return this._attributes.permalink},It.prototype.serialize=function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({_parseClass:"Paper",text:this._text},this._attributes)},It.prototype.equals=function(e){return this._text===e.getText()&&Object(R.isEqual)(this._attributes,e._attributes)},It.parse=function(e){var t=e.text,r=(e._parseClass,qt()(e,["text","_parseClass"]));return new It(t,r)};var Kt=It,zt=function(e,t,r){jt.call(this,e,t,r),this.type="relatedKeywordAssessor",this._assessments=[new Ue,new it({isRelatedKeyphrase:!0}),new ut,new ct,new vt,new Be,new _t]};Object(Tt.inherits)(zt,jt);var Ht,Wt=zt,Vt=r(86),Gt=r.n(Vt),Yt=!1,Zt=["script","style","code","pre"],Jt=new Gt.a.Parser({onopentag:function(e,t){if(Object(R.includes)(Zt,e))Yt=!0;else{var r=Object.keys(t),n="";r.forEach((function(e){n+=" "+e+"='"+t[e]+"'"})),Ht.push("<"+e+n+">")}},ontext:function(e){Yt||Ht.push(e)},onclosetag:function(e){Object(R.includes)(Zt,e)?Yt=!1:Ht.push("</"+e+">")}},{decodeEntities:!0}),Xt=function(e){return Ht=[],Jt.write(e),Ht.join("")},Qt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};jt.call(this,e,t),this.type="CornerstoneContentAssessor",this._assessments=[U,new De({parameters:{slightlyTooMany:250,farTooMany:300,recommendedMaximumWordCount:250}}),new _e,new Te({slightlyTooMany:20,farTooMany:25},!0),new Me,new xe,new Le,new Ee]};r(35).inherits(Qt,Pt);var er=Qt,tr=function(e,t){jt.call(this,e,t),this.type="cornerstoneRelatedKeywordAssessor",this._assessments=[new Ue,new it({isRelatedKeyphrase:!0}),new ut,new ct,new vt,new Be,new _t({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}})]};Object(Tt.inherits)(tr,jt);var rr=tr,nr=function(e,t){jt.call(this,e,t),this.type="CornerstoneSEOAssessor",this._assessments=[new Ue,new it,new ut,new ct,new ht({scores:{tooLong:3,tooShort:3}}),new dt,new vt,new _t({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}}),new wt,new mt({recommendedMinimum:900,slightlyBelowMinimum:400,belowMinimum:300,scores:{belowMinimum:-20,farBelowMinimum:-20},cornerstoneContent:!0}),new ft({scores:{noLinks:3}}),new yt,new qe,new pt({scores:{widthTooShort:9}},!0),new bt({scores:{okay:3}}),new Be,new gt]};Object(Tt.inherits)(nr,Dt);var ir=nr;function sr(e){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e}At.a.inherits(sr,Error);var ar=sr;function or(e,t){for(var r=0;r<t.length;r++)if(Object(R.includes)(e,t[r]))return!0;return!1}var lr=function(e,t,r){jt.call(this,e,t,r),this.type="RelatedKeywordsTaxonomyAssessor",this._assessments=[new Ue,new it({isRelatedKeyphrase:!0}),new ut,new ct,new Be]};Object(Tt.inherits)(lr,jt);var ur=lr,cr=function e(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"analyze";if(x()(this,e),!Object(R.isNumber)(t))throw new Error("Task.id should be a number.");if(!Object(R.isFunction)(r))throw new Error("Task.execute should be a function.");if(!Object(R.isFunction)(n))throw new Error("Task.done should be a function.");if(!Object(R.isObject)(i))throw new Error("Task.data should be an object.");this.id=t,this.execute=r,this.done=n,this.data=i,this.type=s},hr={pollTime:50},fr=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x()(this,e),this._configuration=Object(R.merge)(hr,t),this._tasks={standard:[],extensions:[],analyze:[],analyzeRelatedKeywords:[]},this._pollHandle=null,this._started=!1,this.startPolling=this.startPolling.bind(this),this.stopPolling=this.stopPolling.bind(this),this.tick=this.tick.bind(this)}return T()(e,[{key:"startPolling",value:function(){this._started||(this._started=!0,this.tick())}},{key:"tick",value:function(){var e=this;this.executeNextTask().then((function(){e._pollHandle=setTimeout(e.tick,e._configuration.pollTime)}))}},{key:"stopPolling",value:function(){clearTimeout(this._pollHandle),this._pollHandle=null,this._started=!1}},{key:"schedule",value:function(e){var t=e.id,r=e.execute,n=e.done,i=e.data,s=e.type,a=new cr(t,r,n,i,s);switch(s){case"customMessage":case"loadScript":this._tasks.extensions.push(a);break;case"analyze":this._tasks.analyze=[a];break;case"analyzeRelatedKeywords":this._tasks.analyzeRelatedKeywords=[a];break;default:this._tasks.standard.push(a)}}},{key:"getNextTask",value:function(){return this._tasks.extensions.length>0?this._tasks.extensions.shift():this._tasks.analyze.length>0?this._tasks.analyze.shift():this._tasks.analyzeRelatedKeywords.length>0?this._tasks.analyzeRelatedKeywords.shift():this._tasks.standard.length>0?this._tasks.standard.shift():null}},{key:"executeNextTask",value:function(){var e=this.getNextTask();return null===e?Promise.resolve(null):Promise.resolve().then((function(){return e.execute(e.id,e.data)})).then((function(t){return e.done(e.id,t),t}))}}]),e}(),pr=function(){function e(t){x()(this,e),this._sentenceText=t||"",this._isPassive=!1,this._clauses=[]}return T()(e,[{key:"getSentenceText",value:function(){return this._sentenceText}},{key:"isPassive",value:function(){return this._isPassive}},{key:"setPassive",value:function(e){this._isPassive=e}},{key:"getClauses",value:function(){return this._clauses}},{key:"setClauses",value:function(e){this._clauses=e,this.setSentencePassiveness()}},{key:"setSentencePassiveness",value:function(){var e=this.getClauses().filter((function(e){return!0===e.isPassive()}));this.setPassive(e.length>0)}},{key:"serialize",value:function(){return{_parseClass:"Sentence",sentenceText:this._sentenceText,isPassive:this._isPassive,clauses:this._clauses}}},{key:"parse",value:function(t){var r=new e(t.sentenceText);return r.setClauses(t.clauses),r.setPassive(t.isPassive),r}}]),e}(),gr=function(){function e(t,r){x()(this,e),this._clauseText=t,this._auxiliaries=r,this._isPassive=!1,this._participles=[]}return T()(e,[{key:"getClauseText",value:function(){return this._clauseText}},{key:"isPassive",value:function(){return this._isPassive}},{key:"getAuxiliaries",value:function(){return this._auxiliaries}},{key:"setPassive",value:function(e){this._isPassive=e}},{key:"setParticiples",value:function(e){this._participles=e}},{key:"getParticiples",value:function(){return this._participles}},{key:"serialize",value:function(){return{_parseClass:"Clause",clauseText:this._clauseText,auxiliaries:this._auxiliaries,isPassive:this._isPassive,participles:this._participles}}},{key:"parse",value:function(t){var r=new e(t.clauseText,t.auxiliaries);return r.setPassive(t.isPassive),r}}]),e}();function dr(e,t,r){this._word=e,this._stem=t||e,this._occurrences=r||0}dr.prototype.setWord=function(e){this._word=e},dr.prototype.getWord=function(){return this._word},dr.prototype.getStem=function(){return this._stem},dr.prototype.setOccurrences=function(e){this._occurrences=e},dr.prototype.getOccurrences=function(){return this._occurrences},dr.prototype.serialize=function(){return{_parseClass:"ProminentWord",word:this._word,stem:this._stem,occurrences:this._occurrences}},dr.parse=function(e){return new dr(e.word,e.stem,e.occurrences)};var vr=dr,mr={AssessmentResult:q,Mark:F,Paper:Kt,Sentence:pr,Clause:gr,ProminentWord:vr},yr=function e(t){if(Object(R.isArray)(t))return t.map(e);var r=Object(R.isObject)(t);return r&&t._parseClass&&mr[t._parseClass]?"Sentence"===t._parseClass||"Clause"===t._parseClass?mr[t._parseClass].prototype.parse(t):mr[t._parseClass].parse(t):r?Object(R.mapValues)(t,(function(t){return e(t)})):t},br=function e(t){if(Object(R.isArray)(t))return t.map(e);var r=Object(R.isObject)(t);return r&&t.serialize?t.serialize():r?Object(R.mapValues)(t,(function(t){return e(t)})):t},_r=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"%%";r=Object(R.escapeRegExp)(r);for(var n,i=new RegExp("".concat(r,"(.+?)").concat(r),"g"),s=e;null!==(n=i.exec(e));){var a=n[1],o=new RegExp("".concat(r).concat(Object(R.escapeRegExp)(a)).concat(r),"g");a in t&&(s=s.replace(o,t[a]))}return s},wr=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";r&&(n=_r(n,r));var i=n?[n]:[];return t.name&&t.message&&(t.stack&&e.debug(t.stack),i.push("".concat(t.name,": ").concat(t.message))),i=i.join("\n\t"),e.error(i),i};function xr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _()(k.a.mark((function n(){var i,s=arguments;return k.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.apply(void 0,s);case 3:return n.abrupt("return",n.sent);case 6:return n.prev=6,n.t0=n.catch(0),i=wr(e,n.t0,s.length<=1?void 0:s[1],r),n.abrupt("return",{error:i});case 10:case"end":return n.stop()}}),n,null,[[0,6]])})))}var Er=function(e){return e.split("_")[0]},Tr=function(){function e(){x()(this,e)}return T()(e,[{key:"aggregate",value:function(e){console.warn("'aggregate' must be implemented by a child class of 'ScoreAggregator'")}}]),e}();var Ar={bad:3,ok:2,good:0},kr={bad:4,ok:2,good:0},Or=["en","nl","de","it","ru","fr","es"],Cr=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){return x()(this,i),n.apply(this,arguments)}return T()(i,[{key:"isFullySupported",value:function(e){if(e&&e.includes("_")){var t=Er(e);return Or.includes(t)}return!1}},{key:"calculateScore",value:function(e,t){if(e){if(t>6)return 30;if(t>4)return 60}else{if(t>4)return 30;if(t>2)return 60}return 90}},{key:"calculatePenalty",value:function(e){var t=this;return e.reduce((function(e,r){var n=Lt(r.getScore()),i=t.isFullySupported(t.locale)?Ar[n]:kr[n];return i?e+i:e}),0)}},{key:"getValidResults",value:function(e){return e.filter((function(e){return e.hasScore()&&e.hasText()}))}},{key:"setLocale",value:function(e){this.locale=e}},{key:"aggregate",value:function(e){var t=this.getValidResults(e);if(t.length<=1)return 0;var r=this.calculatePenalty(t),n=this.isFullySupported(this.locale);return this.calculateScore(n,r)}}]),i}(Tr);var Sr=function(e){I()(i,e);var t,r,n=(t=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=W()(t);if(r){var i=W()(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return z()(this,e)});function i(){return x()(this,i),n.apply(this,arguments)}return T()(i,[{key:"aggregate",value:function(e){var t=e.reduce((function(e,t){return e+t.getScore()}),0);return Math.round(100*t/(9*e.length))||0}}]),i}(Tr);function jr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jr(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Dr=new Et.KeyphraseDistributionAssessment,Lr=Object(D.getLogger)("yoast-analysis-worker");Lr.setDefaultLevel("error");var Mr=function(){function e(t,r){x()(this,e),this._scope=t,this._configuration={contentAnalysisActive:!0,keywordAnalysisActive:!0,useCornerstone:!1,useTaxonomy:!1,useKeywordDistribution:!1,locale:"en_US",customAnalysisType:""},this._scheduler=new fr,this._paper=null,this._relatedKeywords={},this._i18n=e.createI18n(),this._researcher=r,this._contentAssessor=null,this._seoAssessor=null,this._relatedKeywordAssessor=null,this._results={readability:{results:[],score:0},seo:{"":{results:[],score:0}}},this._registeredAssessments=[],this._registeredMessageHandlers={},this._registeredParsers=[],this.setupTreeAnalysis(),this.bindActions(),this.assessRelatedKeywords=this.assessRelatedKeywords.bind(this),this.registerAssessment=this.registerAssessment.bind(this),this.registerMessageHandler=this.registerMessageHandler.bind(this),this.refreshAssessment=this.refreshAssessment.bind(this),this.setCustomContentAssessorClass=this.setCustomContentAssessorClass.bind(this),this.setCustomCornerstoneContentAssessorClass=this.setCustomCornerstoneContentAssessorClass.bind(this),this.setCustomSEOAssessorClass=this.setCustomSEOAssessorClass.bind(this),this.setCustomCornerstoneSEOAssessorClass=this.setCustomCornerstoneSEOAssessorClass.bind(this),this.setCustomRelatedKeywordAssessorClass=this.setCustomRelatedKeywordAssessorClass.bind(this),this.setCustomCornerstoneRelatedKeywordAssessorClass=this.setCustomCornerstoneRelatedKeywordAssessorClass.bind(this),this.handleMessage=this.handleMessage.bind(this),this.analyzeRelatedKeywords=xr(Lr,this.analyze,"An error occurred while running the related keywords analysis."),this.analyze=xr(Lr,this.analyze,"An error occurred while running the analysis."),this.runResearch=xr(Lr,this.runResearch,"An error occurred after running the '%%name%%' research.")}var t,r,n;return T()(e,[{key:"bindActions",value:function(){this.analyze=this.analyze.bind(this),this.analyzeDone=this.analyzeDone.bind(this),this.analyzeRelatedKeywordsDone=this.analyzeRelatedKeywordsDone.bind(this),this.loadScript=this.loadScript.bind(this),this.loadScriptDone=this.loadScriptDone.bind(this),this.customMessage=this.customMessage.bind(this),this.customMessageDone=this.customMessageDone.bind(this),this.clearCache=this.clearCache.bind(this),this.runResearch=this.runResearch.bind(this),this.runResearchDone=this.runResearchDone.bind(this)}},{key:"setCustomContentAssessorClass",value:function(e,t,r){this._CustomContentAssessorClasses[t]=e,this._CustomContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}},{key:"setCustomCornerstoneContentAssessorClass",value:function(e,t,r){this._CustomCornerstoneContentAssessorClasses[t]=e,this._CustomCornerstoneContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}},{key:"setCustomSEOAssessorClass",value:function(e,t,r){this._CustomSEOAssessorClasses[t]=e,this._CustomSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}},{key:"setCustomCornerstoneSEOAssessorClass",value:function(e,t,r){this._CustomCornerstoneSEOAssessorClasses[t]=e,this._CustomCornerstoneSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}},{key:"setCustomRelatedKeywordAssessorClass",value:function(e,t,r){this._CustomRelatedKeywordAssessorClasses[t]=e,this._CustomRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}},{key:"setCustomCornerstoneRelatedKeywordAssessorClass",value:function(e,t,r){this._CustomCornerstoneRelatedKeywordAssessorClasses[t]=e,this._CustomCornerstoneRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}},{key:"setupTreeAnalysis",value:function(){this._treeResearcher=null,this._contentTreeAssessor=null,this._seoTreeAssessor=null,this._relatedKeywordTreeAssessor=null,this._CustomSEOAssessorClasses={},this._CustomCornerstoneSEOAssessorClasses={},this._CustomContentAssessorClasses={},this._CustomCornerstoneContentAssessorClasses={},this._CustomRelatedKeywordAssessorClasses={},this._CustomCornerstoneRelatedKeywordAssessorClasses={},this._CustomSEOAssessorOptions={},this._CustomCornerstoneSEOAssessorOptions={},this._CustomContentAssessorOptions={},this._CustomCornerstoneContentAssessorOptions={},this._CustomRelatedKeywordAssessorOptions={},this._CustomCornerstoneRelatedKeywordAssessorOptions={},this._registeredTreeAssessments=[],this._seoScoreAggregator=new Sr,this._contentScoreAggregator=new Cr,this._tree=null,this._treeBuilder=null}},{key:"register",value:function(){this._scope.onmessage=this.handleMessage,this._scope.analysisWorker=this}},{key:"handleMessage",value:function(e){var t=e.data,r=t.type,n=t.id,i=t.payload;switch(i=yr(i),Lr.debug("AnalysisWebWorker incoming:",r,n,i),r){case"initialize":this.initialize(n,i),this._scheduler.startPolling();break;case"analyze":this._scheduler.schedule({id:n,execute:this.analyze,done:this.analyzeDone,data:i,type:r});break;case"analyzeRelatedKeywords":this._scheduler.schedule({id:n,execute:this.analyzeRelatedKeywords,done:this.analyzeRelatedKeywordsDone,data:i,type:r});break;case"loadScript":this._scheduler.schedule({id:n,execute:this.loadScript,done:this.loadScriptDone,data:i,type:r});break;case"runResearch":this._scheduler.schedule({id:n,execute:this.runResearch,done:this.runResearchDone,data:i});break;case"customMessage":var s=i.name;if(s&&this._registeredMessageHandlers[s]){this._scheduler.schedule({id:n,execute:this.customMessage,done:this.customMessageDone,data:i,type:r});break}this.customMessageDone(n,{error:new Error("No message handler registered for messages with name: "+s)});break;default:console.warn("AnalysisWebWorker unrecognized action:",r)}}},{key:"createContentAssessor",value:function(){var e=this._configuration,t=e.contentAnalysisActive,r=e.useCornerstone,n=e.customAnalysisType;return!1===t?null:!0===r?this._CustomCornerstoneContentAssessorClasses[n]?new this._CustomCornerstoneContentAssessorClasses[n](this._i18n,this._researcher,this._CustomCornerstoneContentAssessorOptions[n]):new er(this._i18n,this._researcher):this._CustomContentAssessorClasses[n]?new this._CustomContentAssessorClasses[n](this._i18n,this._researcher,this._CustomContentAssessorOptions[n]):new Pt(this._i18n,this._researcher)}},{key:"createSEOAssessor",value:function(){var e,t=this._configuration,r=t.keywordAnalysisActive,n=t.useCornerstone,i=t.useKeywordDistribution,s=t.useTaxonomy,a=t.customAnalysisType;return!1===r?null:(e=!0===s?new $t(this._i18n,this._researcher):!0===n?this._CustomCornerstoneSEOAssessorClasses[a]?new this._CustomCornerstoneSEOAssessorClasses[a](this._i18n,this._researcher,this._CustomCornerstoneSEOAssessorOptions[a]):new ir(this._i18n,this._researcher):this._CustomSEOAssessorClasses[a]?new this._CustomSEOAssessorClasses[a](this._i18n,this._researcher,this._CustomSEOAssessorOptions[a]):new Dt(this._i18n,this._researcher),i&&Object(R.isUndefined)(e.getAssessment("keyphraseDistribution"))&&e.addAssessment("keyphraseDistribution",Dr),this._registeredAssessments.forEach((function(t){var r=t.name,n=t.assessment;Object(R.isUndefined)(e.getAssessment(r))&&e.addAssessment(r,n)})),e)}},{key:"createRelatedKeywordsAssessor",value:function(){var e,t=this._configuration,r=t.keywordAnalysisActive,n=t.useCornerstone,i=t.useTaxonomy,s=t.customAnalysisType;return!1===r?null:(e=!0===i?new ur(this._i18n,this._researcher):!0===n?this._CustomCornerstoneRelatedKeywordAssessorClasses[s]?new this._CustomCornerstoneRelatedKeywordAssessorClasses[s](this._i18n,this._researcher,this._CustomCornerstoneRelatedKeywordAssessorOptions[s]):new rr(this._i18n,this._researcher):this._CustomRelatedKeywordAssessorClasses[s]?new this._CustomRelatedKeywordAssessorClasses[s](this._i18n,this._researcher,this._CustomRelatedKeywordAssessorOptions[s]):new Wt(this._i18n,this._researcher),this._registeredAssessments.forEach((function(t){var r=t.name,n=t.assessment;Object(R.isUndefined)(e.getAssessment(r))&&e.addAssessment(r,n)})),e)}},{key:"send",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Lr.debug("AnalysisWebWorker outgoing:",e,t,r),r=br(r),this._scope.postMessage({type:e,id:t,payload:r})}},{key:"initialize",value:function(t,r){var n=this,i=e.shouldAssessorsUpdate(r,this._contentAssessor,this._seoAssessor);Object(R.has)(r,"translations")&&(this._i18n=e.createI18n(r.translations),delete r.translations),Object(R.has)(r,"researchData")&&(Object(R.forEach)(r.researchData,(function(e,t){n._researcher.addResearchData(t,e)})),delete r.researchData),Object(R.has)(r,"defaultQueryParams")&&(Object(L.a)({params:r.defaultQueryParams}),delete r.defaultQueryParams),Object(R.has)(r,"logLevel")&&(Lr.setLevel(r.logLevel,!1),delete r.logLevel),Object(R.has)(r,"enabledFeatures")&&(Object(C.enableFeatures)(r.enabledFeatures),delete r.enabledFeatures),this._configuration=Object(R.merge)(this._configuration,r),i.readability&&(this._contentAssessor=this.createContentAssessor(),this._contentTreeAssessor=null),i.seo&&(this._seoAssessor=this.createSEOAssessor(),this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()),this.clearCache(),this.send("initialize:done",t)}},{key:"registerAssessment",value:function(e,t,r){if(!Object(R.isString)(e))throw new ar("Failed to register assessment for plugin "+r+". Expected parameter `name` to be a string.");if(!Object(R.isObject)(t))throw new ar("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function.");if(!Object(R.isString)(r))throw new ar("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string.");var n=r+"-"+e;return null!==this._seoAssessor&&this._seoAssessor.addAssessment(n,t),this._registeredAssessments.push({combinedName:n,assessment:t}),this.refreshAssessment(e,r),!0}},{key:"registerMessageHandler",value:function(e,t,r){if(!Object(R.isString)(e))throw new ar("Failed to register handler for plugin "+r+". Expected parameter `name` to be a string.");if(!Object(R.isObject)(t))throw new ar("Failed to register handler for plugin "+r+". Expected parameter `handler` to be a function.");if(!Object(R.isString)(r))throw new ar("Failed to register handler for plugin "+r+". Expected parameter `pluginName` to be a string.");e=r+"-"+e,this._registeredMessageHandlers[e]=t}},{key:"refreshAssessment",value:function(e,t){if(!Object(R.isString)(e))throw new ar("Failed to refresh assessment for plugin "+t+". Expected parameter `name` to be a string.");if(!Object(R.isString)(t))throw new ar("Failed to refresh assessment for plugin "+t+". Expected parameter `pluginName` to be a string.");this.clearCache()}},{key:"registerParser",value:function(e){if("function"!=typeof e.isApplicable)throw new ar("Failed to register the custom parser. Expected parameter 'parser' to have a method 'isApplicable'.");if("function"!=typeof e.parse)throw new ar("Failed to register the custom parser. Expected parameter 'parser' to have a method 'parse'.");this._registeredParsers.push(e)}},{key:"clearCache",value:function(){this._paper=null}},{key:"setLocale",value:function(e){this._configuration.locale!==e&&(this._configuration.locale=e,this._contentAssessor=this.createContentAssessor())}},{key:"shouldReadabilityUpdate",value:function(e){return null===this._paper||this._paper.getText()!==e.getText()||this._paper.getLocale()!==e.getLocale()}},{key:"shouldSeoUpdate",value:function(e,t){var r=t.keyword,n=t.synonyms;return!!Object(R.isUndefined)(this._relatedKeywords[e])||this._relatedKeywords[e].keyword!==r||this._relatedKeywords[e].synonyms!==n}},{key:"analyze",value:(n=_()(k.a.mark((function e(t,r){var n,i,s,a,o,l,u,c=this;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.paper,i=r.relatedKeywords,s=void 0===i?{}:i,n._text=Object(O.autop)(n._text),n._text=Xt(n._text),a=null===this._paper||!this._paper.equals(n),o=this.shouldReadabilityUpdate(n),a&&(this._paper=n,this._researcher.setPaper(this._paper),this.setLocale(this._paper.getLocale())),!this._configuration.keywordAnalysisActive||!this._seoAssessor){e.next=18;break}if(!a){e.next=11;break}return e.next=10,this.assess(this._paper,this._tree,{oldAssessor:this._seoAssessor,treeAssessor:this._seoTreeAssessor,scoreAggregator:this._seoScoreAggregator});case 10:this._results.seo[""]=e.sent;case 11:if(Object(R.isEmpty)(s)){e.next=18;break}return l=Object.keys(s),e.next=15,this.assessRelatedKeywords(n,this._tree,s);case 15:e.sent.forEach((function(e){c._results.seo[e.key]=e.results})),l.length>1&&(this._results.seo=Object(R.pickBy)(this._results.seo,(function(e,t){return Object(R.includes)(l,t)})));case 18:if(!(this._configuration.contentAnalysisActive&&this._contentAssessor&&o)){e.next=24;break}return(u={oldAssessor:this._contentAssessor,treeAssessor:this._contentTreeAssessor,scoreAggregator:this._contentScoreAggregator}).scoreAggregator.setLocale(this._configuration.locale),e.next=23,this.assess(this._paper,this._tree,u);case 23:this._results.readability=e.sent;case 24:return e.abrupt("return",this._results);case 25:case"end":return e.stop()}}),e,this)}))),function(_x,e){return n.apply(this,arguments)})},{key:"assess",value:(r=_()(k.a.mark((function e(t,r,n){var i,s,a,o,l;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.oldAssessor,s=n.scoreAggregator,i.assess(t),a=i.results,o=[].concat([],y()(a)),l=s.aggregate(o),e.abrupt("return",{results:o,score:l});case 7:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"generateAssessmentError",value:function(e){var t=new q;return t.setScore(-1),t.setText(this._i18n.sprintf(
|
343 |
-
/* Translators: %1$s expands to the name of the assessment. */
|
344 |
-
this._i18n.dgettext("js-text-analysis","An error occurred in the '%1$s' assessment"),e.name)),t}},{key:"assessRelatedKeywords",value:(t=_()(k.a.mark((function e(t,r,n){var i,s=this;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=Object.keys(n),e.next=3,Promise.all(i.map((function(e){s._relatedKeywords[e]=n[e];var i=Kt.parse(Rr(Rr({},t.serialize()),{},{keyword:s._relatedKeywords[e].keyword,synonyms:s._relatedKeywords[e].synonyms})),a={oldAssessor:s._relatedKeywordAssessor,treeAssessor:s._relatedKeywordTreeAssessor,scoreAggregator:s._seoScoreAggregator};return s.assess(i,r,a).then((function(t){return{key:e,results:t}}))})));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"loadScript",value:function(e,t){var r=t.url;if(Object(R.isUndefined)(r))return{loaded:!1,url:r,message:"Load Script was called without an URL."};try{this._scope.importScripts(r)}catch(e){return{loaded:!1,url:r,message:e.message}}return{loaded:!0,url:r}}},{key:"loadScriptDone",value:function(e,t){t.loaded?this.send("loadScript:done",e,t):this.send("loadScript:failed",e,t)}},{key:"analyzeDone",value:function(e,t){t.error?this.send("analyze:failed",e,t):this.send("analyze:done",e,t)}},{key:"analyzeRelatedKeywordsDone",value:function(e,t){t.error?this.send("analyzeRelatedKeywords:failed",e,t):this.send("analyzeRelatedKeywords:done",e,t)}},{key:"customMessage",value:function(e,t){var r=t.name,n=t.data;try{return{success:!0,data:this._registeredMessageHandlers[r](n)}}catch(e){return{error:e}}}},{key:"customMessageDone",value:function(e,t){t.success?this.send("customMessage:done",e,t.data):this.send("customMessage:failed",t.error)}},{key:"runResearch",value:function(e,t){var r=t.name,n=t.paper,i=void 0===n?null:n,s=this._researcher.getData("morphology"),a=this._researcher;return null!==i&&(a.setPaper(i),a.addResearchData("morphology",s)),a.getResearch(r)}},{key:"runResearchDone",value:function(e,t){t.error?this.send("runResearch:failed",e,t):this.send("runResearch:done",e,t)}}],[{key:"createI18n",value:function(e){return e=e||{domain:"js-text-analysis",locale_data:{"js-text-analysis":{"":{}}}},new j.a(e)}},{key:"shouldAssessorsUpdate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=["contentAnalysisActive","useCornerstone","locale","translations","customAnalysisType"],i=["keywordAnalysisActive","useCornerstone","useTaxonomy","useKeywordDistribution","locale","translations","researchData","customAnalysisType"],s=Object.keys(e);return{readability:Object(R.isNull)(t)||or(s,n),seo:Object(R.isNull)(r)||or(s,i)}}}]),e}(),Pr=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x()(this,e),this.result=t,this.data=r},Fr=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x()(this,e),this._resolve=t,this._reject=r,this._data=n}return T()(e,[{key:"resolve",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Pr(e,this._data);this._resolve(t)}},{key:"reject",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Pr(e,this._data);this._reject(t)}}]),e}(),$r=function(){function e(t){x()(this,e),this._worker=t,this._requests={},this._autoIncrementedRequestId=-1,this.initialize=this.initialize.bind(this),this.analyze=this.analyze.bind(this),this.analyzeRelatedKeywords=this.analyzeRelatedKeywords.bind(this),this.loadScript=this.loadScript.bind(this),this.sendMessage=this.sendMessage.bind(this),this.runResearch=this.runResearch.bind(this),this.handleMessage=this.handleMessage.bind(this),this.handleMessageError=this.handleMessageError.bind(this),this.handleError=this.handleError.bind(this),this._worker.onmessage=this.handleMessage,this._worker.onmessageerror=this.handleMessageError,this._worker.onerror=this.handleError}return T()(e,[{key:"handleMessage",value:function(e){var t=e.data,r=t.type,n=t.id,i=t.payload,s=this._requests[n];if(s){switch(i=yr(i),r){case"initialize:done":case"loadScript:done":case"customMessage:done":case"runResearch:done":case"analyzeRelatedKeywords:done":case"analyze:done":s.resolve(i);break;case"analyze:failed":case"loadScript:failed":case"customMessage:failed":case"runResearch:failed":case"analyzeRelatedKeywords:failed":s.reject(i);break;default:console.warn("AnalysisWebWorker unrecognized action:",r)}delete this._requests[n]}else console.warn("AnalysisWebWorker unmatched response:",i)}},{key:"handleMessageError",value:function(e){console.warn("AnalysisWebWorker message error:",e)}},{key:"handleError",value:function(e){var t=Object.keys(this._requests),r=t[t.length-1],n=this._requests[r];n?n.reject(e):console.error("AnalysisWebWorker error:",e)}},{key:"createRequestId",value:function(){return this._autoIncrementedRequestId++,this._autoIncrementedRequestId}},{key:"createRequestPromise",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,i){t._requests[e]=new Fr(n,i,r)}))}},{key:"sendRequest",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.createRequestId(),i=this.createRequestPromise(n,r);return this.send(e,n,t),i}},{key:"send",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r=br(r),this._worker.postMessage({type:e,id:t,payload:r})}},{key:"initialize",value:function(e){return this.sendRequest("initialize",e)}},{key:"analyzeRelatedKeywords",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.sendRequest("analyzeRelatedKeywords",{paper:e,relatedKeywords:t})}},{key:"analyze",value:function(e){return this.sendRequest("analyze",{paper:e})}},{key:"loadScript",value:function(e){return this.sendRequest("loadScript",{url:e})}},{key:"sendMessage",value:function(e,t,r){return e=r+"-"+e,this.sendRequest("customMessage",{name:e,data:t},t)}},{key:"runResearch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.sendRequest("runResearch",{name:e,paper:t})}}]),e}();function Br(e){var t=function(e){var t,r,n=window.URL||window.webkitURL,i=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,s=(t=function(e){return"\n\t\tself.yoastOriginalUrl = '".concat(e,"';\n\t\timportScripts('").concat(e,"');\n\t")}(e),"\n\t\ttry {\n\t\t\t".concat(t,'\n\t\t} catch ( error ) {\n\t\t\tconsole.log( "Error occured during worker initialization:" );\n\t\t\tconsole.log( error );\n\t\t}\n\t'));try{r=new Blob([s],{type:"application/javascript"})}catch(e){var a=new i;a.append(s),r=a.getBlob("application/javascript")}return n.createObjectURL(r)}(e);return new Worker(t)}var qr=function(e){if(t=window.location,r=e,t=new URL(t,window.location.origin),r=new URL(r,window.location.origin),t.hostname!==r.hostname||t.port!==r.port||t.protocol!==r.protocol)return Br(e);var t,r,n=null;try{n=new Worker(e)}catch(t){try{n=Br(e)}catch(e){throw e}}return n},Ur=function(e,t){if(Object(R.isUndefined)(e))throw new Ot("The previously keyword plugin requires the YoastSEO app");Object(R.isUndefined)(t)&&(t={usedKeywords:{},searchUrl:"",postUrl:""}),this.app=e,this.usedKeywords=t.usedKeywords,this.searchUrl=t.searchUrl,this.postUrl=t.postUrl,this.urlTitle=Object(L.b)("https://yoa.st/33x"),this.urlCallToAction=Object(L.b)("https://yoa.st/33y")};Ur.prototype.registerPlugin=function(){this.app.registerAssessment("usedKeywords",{getResult:this.assess.bind(this),isApplicable:function(e){return e.hasKeyword()}},"previouslyUsedKeywords")},Ur.prototype.updateKeywordUsage=function(e){this.usedKeywords=e},Ur.prototype.scoreAssessment=function(e,t,r){var n=e.count,i=e.id;if(0===n)return{text:r.sprintf(
|
345 |
-
/* Translators:
|
346 |
-
%1$s expands to a link to an article on yoast.com,
|
347 |
-
%2$s expands to an anchor tag. */
|
348 |
-
r.dgettext("js-text-analysis","%1$sPreviously used keyphrase%2$s: You've not used this keyphrase before, very good."),this.urlTitle,"</a>"),score:9};if(1===n){var s="<a href='"+this.postUrl.replace("{id}",i)+"' target='_blank'>";return{
|
349 |
-
/* Translators: %1$s and %2$s expand to an admin link where the keyword is already used. %3$s and %4$s
|
350 |
-
expand to links on yoast.com, %4$s expands to the anchor end tag. */
|
351 |
-
text:r.sprintf(r.dgettext("js-text-analysis","%3$sPreviously used keyphrase%5$s: You've used this keyphrase %1$sonce before%2$s. %4$sDo not use your keyphrase more than once%5$s."),s,"</a>",this.urlTitle,this.urlCallToAction,"</a>"),score:6}}return n>1?(s="<a href='"+this.searchUrl.replace("{keyword}",encodeURIComponent(t.getKeyword()))+"' target='_blank'>",{
|
352 |
-
/* Translators: %1$s and $3$s expand to the admin search page for the keyword, %2$d expands to the number
|
353 |
-
of times this keyword has been used before, %4$s and %5$s expand to links to yoast.com, %6$s expands to
|
354 |
-
the anchor end tag */
|
355 |
-
text:r.sprintf(r.dgettext("js-text-analysis","%4$sPreviously used keyphrase%6$s: You've used this keyphrase %1$s%2$d times before%3$s. %5$sDo not use your keyphrase more than once%6$s."),s,n,"</a>",this.urlTitle,this.urlCallToAction,"</a>"),score:1}):void 0},Ur.prototype.researchPreviouslyUsedKeywords=function(e){var t=e.getKeyword(),r=0,n=0;return Object(R.isUndefined)(this.usedKeywords[t])||(r=this.usedKeywords[t].length,n=this.usedKeywords[t][0]),{id:n,count:r}},Ur.prototype.assess=function(e,t,r){var n=this.researchPreviouslyUsedKeywords(e),i=this.scoreAssessment(n,e,r),s=new q;return s.setScore(i.score),s.setText(i.text),s};var Nr=Ur,Ir=function(e){var t=document.getElementById("yoast-measurement-element");return t||(t=function(){var e=document.createElement("div");return e.id="yoast-measurement-element",e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="Arial",e.style.fontSize="18px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerHTML=e,t.offsetWidth};function Kr(){var e=["en","de","es","fr","it","nl","ru","id","pt","pl","ar","sv","he","hu","nb","tr","cs","sk"];return Object(C.isFeatureEnabled)("FARSI_SUPPORT")&&e.push("fa"),e}var zr=function(e){return e.replace(new RegExp("<yoastmark[^>]*>","g"),"").replace(new RegExp("</yoastmark>","g"),"")},Hr=function(e){var t=e.dgettext("js-text-analysis","Content optimization:");return{feedback:{className:"na",screenReaderText:e.dgettext("js-text-analysis","Feedback"),fullText:"".concat(t," ").concat(e.dgettext("js-text-analysis","Has feedback")),screenReaderReadabilityText:""},bad:{className:"bad",screenReaderText:e.dgettext("js-text-analys
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|