Version Description
Download this release
Release Info
Developer | Yoast |
Plugin | Yoast SEO |
Version | 11.4 |
Comparing to | |
See all releases |
Code changes from version 11.3 to 11.4
- admin/class-gutenberg-compatibility.php +2 -2
- admin/formatter/class-metabox-formatter.php +33 -17
- admin/views/tabs/tool/import-seo.php +1 -1
- css/dist/{admin-global-1130-rtl.min.css → admin-global-1140-rtl.min.css} +0 -0
- css/dist/{admin-global-1130.min.css → admin-global-1140.min.css} +0 -0
- css/dist/{adminbar-1130-rtl.min.css → adminbar-1140-rtl.min.css} +0 -0
- css/dist/{adminbar-1130.min.css → adminbar-1140.min.css} +0 -0
- css/dist/{alerts-1130-rtl.min.css → alerts-1140-rtl.min.css} +0 -0
- css/dist/{alerts-1130.min.css → alerts-1140.min.css} +0 -0
- css/dist/{dashboard-1130-rtl.min.css → dashboard-1140-rtl.min.css} +0 -0
- css/dist/{dashboard-1130.min.css → dashboard-1140.min.css} +0 -0
- css/dist/{edit-page-1130-rtl.min.css → edit-page-1140-rtl.min.css} +0 -0
- css/dist/{edit-page-1130.min.css → edit-page-1140.min.css} +0 -0
- css/dist/{featured-image-1130-rtl.min.css → featured-image-1140-rtl.min.css} +0 -0
- css/dist/{featured-image-1130.min.css → featured-image-1140.min.css} +0 -0
- css/dist/{filter-explanation-1130-rtl.min.css → filter-explanation-1140-rtl.min.css} +0 -0
- css/dist/{filter-explanation-1130.min.css → filter-explanation-1140.min.css} +0 -0
- css/dist/{inside-editor-1130-rtl.min.css → inside-editor-1140-rtl.min.css} +0 -0
- css/dist/{inside-editor-1130.min.css → inside-editor-1140.min.css} +0 -0
- css/dist/{metabox-1130-rtl.min.css → metabox-1140-rtl.min.css} +0 -0
- css/dist/{metabox-1130.min.css → metabox-1140.min.css} +0 -0
- css/dist/{metabox-primary-category-1130-rtl.min.css → metabox-primary-category-1140-rtl.min.css} +0 -0
- css/dist/{metabox-primary-category-1130.min.css → metabox-primary-category-1140.min.css} +0 -0
- css/dist/{search-appearance-1130-rtl.min.css → search-appearance-1140-rtl.min.css} +0 -0
- css/dist/{search-appearance-1130.min.css → search-appearance-1140.min.css} +0 -0
- css/dist/{structured-data-blocks-1130-rtl.min.css → structured-data-blocks-1140-rtl.min.css} +0 -0
- css/dist/{structured-data-blocks-1130.min.css → structured-data-blocks-1140.min.css} +0 -0
- css/dist/{toggle-switch-1130-rtl.min.css → toggle-switch-1140-rtl.min.css} +0 -0
- css/dist/{toggle-switch-1130.min.css → toggle-switch-1140.min.css} +0 -0
- css/dist/{wpseo-dismissible-1130-rtl.min.css → wpseo-dismissible-1140-rtl.min.css} +0 -0
- css/dist/{wpseo-dismissible-1130.min.css → wpseo-dismissible-1140.min.css} +0 -0
- css/dist/{yoast-components-1130-rtl.min.css → yoast-components-1140-rtl.min.css} +0 -0
- css/dist/{yoast-components-1130.min.css → yoast-components-1140.min.css} +0 -0
- css/dist/{yoast-extensions-1130-rtl.min.css → yoast-extensions-1140-rtl.min.css} +0 -0
- css/dist/{yoast-extensions-1130.min.css → yoast-extensions-1140.min.css} +0 -0
- css/dist/{yst_plugin_tools-1130-rtl.min.css → yst_plugin_tools-1140-rtl.min.css} +0 -0
- css/dist/{yst_plugin_tools-1130.min.css → yst_plugin_tools-1140.min.css} +0 -0
- css/dist/{yst_seo_score-1130-rtl.min.css → yst_seo_score-1140-rtl.min.css} +0 -0
- css/dist/{yst_seo_score-1130.min.css → yst_seo_score-1140.min.css} +0 -0
- frontend/schema/class-schema-article.php +20 -3
- frontend/schema/class-schema-author.php +1 -1
- frontend/schema/class-schema-context.php +12 -1
- frontend/schema/class-schema-faq-question-list.php +111 -0
- frontend/schema/class-schema-faq-questions.php +88 -0
- frontend/schema/class-schema-faq.php +110 -0
- frontend/schema/class-schema-image.php +1 -1
- frontend/schema/class-schema-organization.php +1 -1
- frontend/schema/class-schema-webpage.php +1 -1
- frontend/schema/class-schema-website.php +1 -1
- frontend/schema/class-schema.php +89 -11
- inc/class-structured-data-blocks.php +0 -1
- inc/class-wpseo-image-utils.php +5 -0
- inc/class-wpseo-statistics.php +1 -1
- inc/class-wpseo-utils.php +3 -3
- inc/options/class-wpseo-option-titles.php +11 -6
- inc/structured-data-blocks/class-faq-block.php +0 -127
- js/dist/analysis-1130.min.js +0 -21
admin/class-gutenberg-compatibility.php
CHANGED
@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
|
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
-
const CURRENT_RELEASE = '5.
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
-
const MINIMUM_SUPPORTED = '5.
|
26 |
|
27 |
/**
|
28 |
* @var string
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
+
const CURRENT_RELEASE = '5.8.0';
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
+
const MINIMUM_SUPPORTED = '5.8.0';
|
26 |
|
27 |
/**
|
28 |
* @var string
|
admin/formatter/class-metabox-formatter.php
CHANGED
@@ -81,45 +81,61 @@ class WPSEO_Metabox_Formatter {
|
|
81 |
'labels' => array(
|
82 |
'content' => array(
|
83 |
'na' => sprintf(
|
84 |
-
/* translators: %s expands to readability. */
|
85 |
-
__( '
|
|
|
|
|
86 |
'<strong>' . __( 'Not available', 'wordpress-seo' ) . '</strong>'
|
87 |
),
|
88 |
'bad' => sprintf(
|
89 |
-
/* translators: %s expands to readability. */
|
90 |
-
__( '
|
|
|
|
|
91 |
'<strong>' . __( 'Needs improvement', 'wordpress-seo' ) . '</strong>'
|
92 |
),
|
93 |
'ok' => sprintf(
|
94 |
-
/* translators: %s expands to readability. */
|
95 |
-
__( '
|
|
|
|
|
96 |
'<strong>' . __( 'OK', 'wordpress-seo' ) . '</strong>'
|
97 |
),
|
98 |
'good' => sprintf(
|
99 |
-
/* translators: %s expands to readability. */
|
100 |
-
__( '
|
|
|
|
|
101 |
'<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
|
102 |
),
|
103 |
),
|
104 |
'keyword' => array(
|
105 |
'na' => sprintf(
|
106 |
-
/* translators: %s expands to SEO. */
|
107 |
-
__( '
|
|
|
|
|
108 |
'<strong>' . __( 'Not available', 'wordpress-seo' ) . '</strong>'
|
109 |
),
|
110 |
'bad' => sprintf(
|
111 |
-
|
112 |
-
__( '
|
|
|
|
|
113 |
'<strong>' . __( 'Needs improvement', 'wordpress-seo' ) . '</strong>'
|
114 |
),
|
115 |
'ok' => sprintf(
|
116 |
-
|
117 |
-
__( '
|
|
|
|
|
118 |
'<strong>' . __( 'OK', 'wordpress-seo' ) . '</strong>'
|
119 |
),
|
120 |
'good' => sprintf(
|
121 |
-
|
122 |
-
__( '
|
|
|
|
|
123 |
'<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
|
124 |
),
|
125 |
),
|
@@ -233,7 +249,7 @@ class WPSEO_Metabox_Formatter {
|
|
233 |
$active_modules = Jetpack::get_active_modules();
|
234 |
|
235 |
// First at all, check if Jetpack's markdown module is active.
|
236 |
-
$is_markdown
|
237 |
}
|
238 |
|
239 |
/**
|
81 |
'labels' => array(
|
82 |
'content' => array(
|
83 |
'na' => sprintf(
|
84 |
+
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the readability score. */
|
85 |
+
__( '%1$sReadability%2$s: %3$s', 'wordpress-seo' ),
|
86 |
+
'<a href="#yoast-readability-analysis-collapsible-metabox">',
|
87 |
+
'</a>',
|
88 |
'<strong>' . __( 'Not available', 'wordpress-seo' ) . '</strong>'
|
89 |
),
|
90 |
'bad' => sprintf(
|
91 |
+
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the readability score. */
|
92 |
+
__( '%1$sReadability%2$s: %3$s', 'wordpress-seo' ),
|
93 |
+
'<a href="#yoast-readability-analysis-collapsible-metabox">',
|
94 |
+
'</a>',
|
95 |
'<strong>' . __( 'Needs improvement', 'wordpress-seo' ) . '</strong>'
|
96 |
),
|
97 |
'ok' => sprintf(
|
98 |
+
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the readability score. */
|
99 |
+
__( '%1$sReadability%2$s: %3$s', 'wordpress-seo' ),
|
100 |
+
'<a href="#yoast-readability-analysis-collapsible-metabox">',
|
101 |
+
'</a>',
|
102 |
'<strong>' . __( 'OK', 'wordpress-seo' ) . '</strong>'
|
103 |
),
|
104 |
'good' => sprintf(
|
105 |
+
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the readability score. */
|
106 |
+
__( '%1$sReadability%2$s: %3$s', 'wordpress-seo' ),
|
107 |
+
'<a href="#yoast-readability-analysis-collapsible-metabox">',
|
108 |
+
'</a>',
|
109 |
'<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
|
110 |
),
|
111 |
),
|
112 |
'keyword' => array(
|
113 |
'na' => sprintf(
|
114 |
+
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the SEO score. */
|
115 |
+
__( '%1$sSEO%2$s: %3$s', 'wordpress-seo' ),
|
116 |
+
'<a href="#yoast-seo-analysis-collapsible-metabox">',
|
117 |
+
'</a>',
|
118 |
'<strong>' . __( 'Not available', 'wordpress-seo' ) . '</strong>'
|
119 |
),
|
120 |
'bad' => sprintf(
|
121 |
+
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the SEO score. */
|
122 |
+
__( '%1$sSEO%2$s: %3$s', 'wordpress-seo' ),
|
123 |
+
'<a href="#yoast-seo-analysis-collapsible-metabox">',
|
124 |
+
'</a>',
|
125 |
'<strong>' . __( 'Needs improvement', 'wordpress-seo' ) . '</strong>'
|
126 |
),
|
127 |
'ok' => sprintf(
|
128 |
+
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the SEO score. */
|
129 |
+
__( '%1$sSEO%2$s: %3$s', 'wordpress-seo' ),
|
130 |
+
'<a href="#yoast-seo-analysis-collapsible-metabox">',
|
131 |
+
'</a>',
|
132 |
'<strong>' . __( 'OK', 'wordpress-seo' ) . '</strong>'
|
133 |
),
|
134 |
'good' => sprintf(
|
135 |
+
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the SEO score. */
|
136 |
+
__( '%1$sSEO%2$s: %3$s', 'wordpress-seo' ),
|
137 |
+
'<a href="#yoast-seo-analysis-collapsible-metabox">',
|
138 |
+
'</a>',
|
139 |
'<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
|
140 |
),
|
141 |
),
|
249 |
$active_modules = Jetpack::get_active_modules();
|
250 |
|
251 |
// First at all, check if Jetpack's markdown module is active.
|
252 |
+
$is_markdown = in_array( 'markdown', $active_modules, true );
|
253 |
}
|
254 |
|
255 |
/**
|
admin/views/tabs/tool/import-seo.php
CHANGED
@@ -62,8 +62,8 @@ function wpseo_import_external_select( $name, $plugins ) {
|
|
62 |
<h3><?php esc_html_e( 'Step 2: Import', 'wordpress-seo' ); ?></h3>
|
63 |
<p>
|
64 |
<?php
|
65 |
-
/* translators: %1$s expands to Yoast SEO */
|
66 |
printf(
|
|
|
67 |
esc_html__( 'This will import the post metadata like SEO titles and descriptions into your %1$s metadata. It will only do this when there is no existing %1$s metadata yet. The original data will remain in place.', 'wordpress-seo' ),
|
68 |
'Yoast SEO'
|
69 |
);
|
62 |
<h3><?php esc_html_e( 'Step 2: Import', 'wordpress-seo' ); ?></h3>
|
63 |
<p>
|
64 |
<?php
|
|
|
65 |
printf(
|
66 |
+
/* translators: 1: expands to Yoast SEO */
|
67 |
esc_html__( 'This will import the post metadata like SEO titles and descriptions into your %1$s metadata. It will only do this when there is no existing %1$s metadata yet. The original data will remain in place.', 'wordpress-seo' ),
|
68 |
'Yoast SEO'
|
69 |
);
|
css/dist/{admin-global-1130-rtl.min.css → admin-global-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{admin-global-1130.min.css → admin-global-1140.min.css}
RENAMED
File without changes
|
css/dist/{adminbar-1130-rtl.min.css → adminbar-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{adminbar-1130.min.css → adminbar-1140.min.css}
RENAMED
File without changes
|
css/dist/{alerts-1130-rtl.min.css → alerts-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{alerts-1130.min.css → alerts-1140.min.css}
RENAMED
File without changes
|
css/dist/{dashboard-1130-rtl.min.css → dashboard-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{dashboard-1130.min.css → dashboard-1140.min.css}
RENAMED
File without changes
|
css/dist/{edit-page-1130-rtl.min.css → edit-page-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{edit-page-1130.min.css → edit-page-1140.min.css}
RENAMED
File without changes
|
css/dist/{featured-image-1130-rtl.min.css → featured-image-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{featured-image-1130.min.css → featured-image-1140.min.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1130-rtl.min.css → filter-explanation-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1130.min.css → filter-explanation-1140.min.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1130-rtl.min.css → inside-editor-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1130.min.css → inside-editor-1140.min.css}
RENAMED
File without changes
|
css/dist/{metabox-1130-rtl.min.css → metabox-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{metabox-1130.min.css → metabox-1140.min.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1130-rtl.min.css → metabox-primary-category-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1130.min.css → metabox-primary-category-1140.min.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1130-rtl.min.css → search-appearance-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1130.min.css → search-appearance-1140.min.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1130-rtl.min.css → structured-data-blocks-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1130.min.css → structured-data-blocks-1140.min.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1130-rtl.min.css → toggle-switch-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1130.min.css → toggle-switch-1140.min.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1130-rtl.min.css → wpseo-dismissible-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1130.min.css → wpseo-dismissible-1140.min.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1130-rtl.min.css → yoast-components-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1130.min.css → yoast-components-1140.min.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1130-rtl.min.css → yoast-extensions-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1130.min.css → yoast-extensions-1140.min.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1130-rtl.min.css → yst_plugin_tools-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1130.min.css → yst_plugin_tools-1140.min.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1130-rtl.min.css → yst_seo_score-1140-rtl.min.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1130.min.css → yst_seo_score-1140.min.css}
RENAMED
File without changes
|
frontend/schema/class-schema-article.php
CHANGED
@@ -19,7 +19,7 @@ class WPSEO_Schema_Article implements WPSEO_Graph_Piece {
|
|
19 |
private $context;
|
20 |
|
21 |
/**
|
22 |
-
*
|
23 |
*
|
24 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
25 |
*/
|
@@ -57,7 +57,7 @@ class WPSEO_Schema_Article implements WPSEO_Graph_Piece {
|
|
57 |
'datePublished' => mysql2date( DATE_W3C, $post->post_date_gmt, false ),
|
58 |
'dateModified' => mysql2date( DATE_W3C, $post->post_modified_gmt, false ),
|
59 |
'commentCount' => $comment_count['approved'],
|
60 |
-
'mainEntityOfPage' => $this->context->canonical . WPSEO_Schema_IDs::WEBPAGE_HASH,
|
61 |
);
|
62 |
|
63 |
if ( $this->context->site_represents_reference ) {
|
@@ -105,7 +105,24 @@ class WPSEO_Schema_Article implements WPSEO_Graph_Piece {
|
|
105 |
return $this->context->site_url . WPSEO_Schema_IDs::PERSON_HASH;
|
106 |
}
|
107 |
|
108 |
-
return get_author_posts_url( $post->post_author ) . WPSEO_Schema_IDs::AUTHOR_HASH;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
}
|
110 |
|
111 |
/**
|
19 |
private $context;
|
20 |
|
21 |
/**
|
22 |
+
* WPSEO_Schema_Article constructor.
|
23 |
*
|
24 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
25 |
*/
|
57 |
'datePublished' => mysql2date( DATE_W3C, $post->post_date_gmt, false ),
|
58 |
'dateModified' => mysql2date( DATE_W3C, $post->post_modified_gmt, false ),
|
59 |
'commentCount' => $comment_count['approved'],
|
60 |
+
'mainEntityOfPage' => array( '@id' => $this->context->canonical . WPSEO_Schema_IDs::WEBPAGE_HASH ),
|
61 |
);
|
62 |
|
63 |
if ( $this->context->site_represents_reference ) {
|
105 |
return $this->context->site_url . WPSEO_Schema_IDs::PERSON_HASH;
|
106 |
}
|
107 |
|
108 |
+
return $this->get_author_posts_url( $post->post_author ) . WPSEO_Schema_IDs::AUTHOR_HASH;
|
109 |
+
}
|
110 |
+
|
111 |
+
/**
|
112 |
+
* Retrieves the author post URL based on our author archives settings.
|
113 |
+
*
|
114 |
+
* @param int $user_id The author's user ID.
|
115 |
+
*
|
116 |
+
* @return string unsigned Author posts URL.
|
117 |
+
*/
|
118 |
+
private function get_author_posts_url( $user_id ) {
|
119 |
+
if ( WPSEO_Options::get( 'disable-author', false ) === false ) {
|
120 |
+
return get_author_posts_url( $user_id );
|
121 |
+
}
|
122 |
+
$user = get_userdata( $user_id );
|
123 |
+
$slug = sanitize_title( $user->display_name );
|
124 |
+
|
125 |
+
return $this->context->site_url . 'schema/person/' . $slug . '/';
|
126 |
}
|
127 |
|
128 |
/**
|
frontend/schema/class-schema-author.php
CHANGED
@@ -28,7 +28,7 @@ class WPSEO_Schema_Author extends WPSEO_Schema_Person implements WPSEO_Graph_Pie
|
|
28 |
protected $type = array( 'Person' );
|
29 |
|
30 |
/**
|
31 |
-
*
|
32 |
*
|
33 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
34 |
*/
|
28 |
protected $type = array( 'Person' );
|
29 |
|
30 |
/**
|
31 |
+
* WPSEO_Schema_Author constructor.
|
32 |
*
|
33 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
34 |
*/
|
frontend/schema/class-schema-context.php
CHANGED
@@ -23,66 +23,77 @@
|
|
23 |
* @since 10.2
|
24 |
*/
|
25 |
class WPSEO_Schema_Context {
|
|
|
26 |
/**
|
27 |
* The current page's canonical.
|
28 |
*
|
29 |
* @var string
|
30 |
*/
|
31 |
public $canonical;
|
|
|
32 |
/**
|
33 |
* Holds the company name, if the site represents a company.
|
34 |
*
|
35 |
* @var string
|
36 |
*/
|
37 |
public $company_name;
|
|
|
38 |
/**
|
39 |
* The queried object ID, if there is one.
|
40 |
*
|
41 |
* @var int
|
42 |
*/
|
43 |
public $id;
|
|
|
44 |
/**
|
45 |
* Whether this site represents a `company` or a `person`.
|
46 |
*
|
47 |
* @var string
|
48 |
*/
|
49 |
public $site_represents;
|
|
|
50 |
/**
|
51 |
* The site's Name.
|
52 |
*
|
53 |
* @var string
|
54 |
*/
|
55 |
public $site_name;
|
|
|
56 |
/**
|
57 |
* The site's URL.
|
58 |
*
|
59 |
* @var string
|
60 |
*/
|
61 |
public $site_url;
|
|
|
62 |
/**
|
63 |
* Page title.
|
64 |
*
|
65 |
* @var string
|
66 |
*/
|
67 |
public $title;
|
|
|
68 |
/**
|
69 |
* User ID when the site represents a Person.
|
70 |
*
|
71 |
* @var int
|
72 |
*/
|
73 |
public $site_user_id;
|
|
|
74 |
/**
|
75 |
* Page description.
|
76 |
*
|
77 |
* @var string
|
78 |
*/
|
79 |
public $description;
|
|
|
80 |
/**
|
81 |
* Whether or not this site has breadcrumbs enabled.
|
82 |
*
|
83 |
* @var bool
|
84 |
*/
|
85 |
public $breadcrumbs_enabled;
|
|
|
86 |
/**
|
87 |
* A schema @id reference to the piece the site represents.
|
88 |
*
|
@@ -103,7 +114,7 @@ class WPSEO_Schema_Context {
|
|
103 |
private function build_data() {
|
104 |
// Page level variables.
|
105 |
$front = WPSEO_Frontend::get_instance();
|
106 |
-
$this->canonical = $front->canonical( false );
|
107 |
$this->title = $front->title( '' );
|
108 |
$this->description = $front->metadesc( false );
|
109 |
$this->id = get_queried_object_id();
|
23 |
* @since 10.2
|
24 |
*/
|
25 |
class WPSEO_Schema_Context {
|
26 |
+
|
27 |
/**
|
28 |
* The current page's canonical.
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
public $canonical;
|
33 |
+
|
34 |
/**
|
35 |
* Holds the company name, if the site represents a company.
|
36 |
*
|
37 |
* @var string
|
38 |
*/
|
39 |
public $company_name;
|
40 |
+
|
41 |
/**
|
42 |
* The queried object ID, if there is one.
|
43 |
*
|
44 |
* @var int
|
45 |
*/
|
46 |
public $id;
|
47 |
+
|
48 |
/**
|
49 |
* Whether this site represents a `company` or a `person`.
|
50 |
*
|
51 |
* @var string
|
52 |
*/
|
53 |
public $site_represents;
|
54 |
+
|
55 |
/**
|
56 |
* The site's Name.
|
57 |
*
|
58 |
* @var string
|
59 |
*/
|
60 |
public $site_name;
|
61 |
+
|
62 |
/**
|
63 |
* The site's URL.
|
64 |
*
|
65 |
* @var string
|
66 |
*/
|
67 |
public $site_url;
|
68 |
+
|
69 |
/**
|
70 |
* Page title.
|
71 |
*
|
72 |
* @var string
|
73 |
*/
|
74 |
public $title;
|
75 |
+
|
76 |
/**
|
77 |
* User ID when the site represents a Person.
|
78 |
*
|
79 |
* @var int
|
80 |
*/
|
81 |
public $site_user_id;
|
82 |
+
|
83 |
/**
|
84 |
* Page description.
|
85 |
*
|
86 |
* @var string
|
87 |
*/
|
88 |
public $description;
|
89 |
+
|
90 |
/**
|
91 |
* Whether or not this site has breadcrumbs enabled.
|
92 |
*
|
93 |
* @var bool
|
94 |
*/
|
95 |
public $breadcrumbs_enabled;
|
96 |
+
|
97 |
/**
|
98 |
* A schema @id reference to the piece the site represents.
|
99 |
*
|
114 |
private function build_data() {
|
115 |
// Page level variables.
|
116 |
$front = WPSEO_Frontend::get_instance();
|
117 |
+
$this->canonical = $front->canonical( false, false, true );
|
118 |
$this->title = $front->title( '' );
|
119 |
$this->description = $front->metadesc( false );
|
120 |
$this->id = get_queried_object_id();
|
frontend/schema/class-schema-faq-question-list.php
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WPSEO plugin file.
|
4 |
+
*
|
5 |
+
* @package WPSEO\Frontend\Schema
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Returns a question object for each question in an FAQ block.
|
10 |
+
*
|
11 |
+
* @since 11.1
|
12 |
+
*
|
13 |
+
* @property array $data The Schema array.
|
14 |
+
* @property WP_Block_Parser_Block[] $blocks The block we're taking the questions out of.
|
15 |
+
* @property WPSEO_Schema_Context context A value object with context variables.
|
16 |
+
* @property array ids
|
17 |
+
* @property int count
|
18 |
+
*/
|
19 |
+
class WPSEO_Schema_FAQ_Question_List {
|
20 |
+
/**
|
21 |
+
* The Schema array.
|
22 |
+
*
|
23 |
+
* @var array
|
24 |
+
*/
|
25 |
+
private $data = array();
|
26 |
+
/**
|
27 |
+
* All the blocks of this block-type.
|
28 |
+
*
|
29 |
+
* @var WP_Block_Parser_Block
|
30 |
+
*/
|
31 |
+
private $blocks;
|
32 |
+
/**
|
33 |
+
* Number of questions on the page.
|
34 |
+
*
|
35 |
+
* @var int
|
36 |
+
*/
|
37 |
+
private $count;
|
38 |
+
/**
|
39 |
+
* IDs of the questions on the page.
|
40 |
+
*
|
41 |
+
* @var array
|
42 |
+
*/
|
43 |
+
private $ids;
|
44 |
+
|
45 |
+
/**
|
46 |
+
* WPSEO_Schema_FAQ_Question_List constructor.
|
47 |
+
*
|
48 |
+
* @param WP_Block_Parser_Block[] $blocks An array of the FAQ blocks on this page.
|
49 |
+
* @param WPSEO_Schema_Context $context A value object with context variables.
|
50 |
+
*/
|
51 |
+
public function __construct( $blocks, $context ) {
|
52 |
+
$this->blocks = $blocks;
|
53 |
+
$this->context = $context;
|
54 |
+
$this->count = 1;
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Find an image based on its URL and generate a Schema object for it.
|
59 |
+
*
|
60 |
+
* @return array The Schema with a question list added.
|
61 |
+
*/
|
62 |
+
public function generate() {
|
63 |
+
$this->prepare_blocks();
|
64 |
+
|
65 |
+
$this->data[] = array(
|
66 |
+
'@type' => 'ItemList',
|
67 |
+
'mainEntityOfPage' => array( '@id' => $this->get_schema_id() ),
|
68 |
+
'numberOfItems' => $this->count,
|
69 |
+
'itemListElement' => $this->ids,
|
70 |
+
);
|
71 |
+
|
72 |
+
return $this->data;
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Determine whether we're part of an article or a webpage.
|
77 |
+
*
|
78 |
+
* @return string A reference URL.
|
79 |
+
*/
|
80 |
+
private function get_schema_id() {
|
81 |
+
if ( WPSEO_Schema_Article::is_article_post_type() ) {
|
82 |
+
return $this->context->canonical . WPSEO_Schema_IDs::ARTICLE_HASH;
|
83 |
+
}
|
84 |
+
|
85 |
+
return $this->context->canonical . WPSEO_Schema_IDs::WEBPAGE_HASH;
|
86 |
+
}
|
87 |
+
|
88 |
+
/**
|
89 |
+
* Loop through the blocks of our type.
|
90 |
+
*/
|
91 |
+
private function prepare_blocks() {
|
92 |
+
foreach ( $this->blocks as $block ) {
|
93 |
+
$this->prepare_questions( $block );
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Prepare our data.
|
99 |
+
*
|
100 |
+
* @param WP_Block_Parser_Block[] $block The block to prepare the questions for.
|
101 |
+
*/
|
102 |
+
private function prepare_questions( $block ) {
|
103 |
+
foreach ( $block['attrs']['questions'] as $question ) {
|
104 |
+
if ( ! isset( $question['jsonAnswer'] ) || empty( $question['jsonAnswer'] ) ) {
|
105 |
+
continue;
|
106 |
+
}
|
107 |
+
$this->count ++;
|
108 |
+
$this->ids[] = array( '@id' => $this->context->canonical . '#' . $question['id'] );
|
109 |
+
}
|
110 |
+
}
|
111 |
+
}
|
frontend/schema/class-schema-faq-questions.php
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WPSEO plugin file.
|
4 |
+
*
|
5 |
+
* @package WPSEO\Frontend\Schema
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Returns a question object for each question in an FAQ block.
|
10 |
+
*
|
11 |
+
* @since 11.1
|
12 |
+
*
|
13 |
+
* @property array $data The Schema array.
|
14 |
+
* @property WP_Block_Parser_Block $block The block we're taking the questions out of.
|
15 |
+
* @property WPSEO_Schema_Context $context A value object with context variables.
|
16 |
+
* @property int $position The position in the list.
|
17 |
+
*/
|
18 |
+
class WPSEO_Schema_FAQ_Questions {
|
19 |
+
/**
|
20 |
+
* The Schema array.
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $data;
|
25 |
+
/**
|
26 |
+
* All the blocks of this block-type.
|
27 |
+
*
|
28 |
+
* @var WP_Block_Parser_Block
|
29 |
+
*/
|
30 |
+
private $block;
|
31 |
+
/**
|
32 |
+
* Position in the list.
|
33 |
+
*
|
34 |
+
* @var int
|
35 |
+
*/
|
36 |
+
private $position;
|
37 |
+
|
38 |
+
/**
|
39 |
+
* WPSEO_Schema_FAQ_Questions constructor.
|
40 |
+
*
|
41 |
+
* @param array $data Our schema graph.
|
42 |
+
* @param WP_Block_Parser_Block $block The FAQ block of this type.
|
43 |
+
* @param WPSEO_Schema_Context $context A value object with context variables.
|
44 |
+
*/
|
45 |
+
public function __construct( $data, $block, $context ) {
|
46 |
+
$this->data = $data;
|
47 |
+
$this->block = $block;
|
48 |
+
$this->context = $context;
|
49 |
+
$this->position = 0;
|
50 |
+
}
|
51 |
+
|
52 |
+
/**
|
53 |
+
* Find an image based on its URL and generate a Schema object for it.
|
54 |
+
*
|
55 |
+
* @return array The Schema with Questions added.
|
56 |
+
*/
|
57 |
+
public function generate() {
|
58 |
+
foreach ( $this->block['attrs']['questions'] as $question ) {
|
59 |
+
if ( ! isset( $question['jsonAnswer'] ) || empty( $question['jsonAnswer'] ) ) {
|
60 |
+
continue;
|
61 |
+
}
|
62 |
+
$this->data[] = $this->generate_question_block( $question );
|
63 |
+
}
|
64 |
+
return $this->data;
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Generate a Question piece.
|
69 |
+
*
|
70 |
+
* @param array $question The question to generate schema for.
|
71 |
+
*
|
72 |
+
* @return array unsigned Schema.org Question piece.
|
73 |
+
*/
|
74 |
+
private function generate_question_block( $question ) {
|
75 |
+
return array(
|
76 |
+
'@type' => 'Question',
|
77 |
+
'@id' => $this->context->canonical . '#' . $question['id'],
|
78 |
+
'position' => $this->position ++,
|
79 |
+
'url' => $this->context->canonical . '#' . $question['id'],
|
80 |
+
'name' => $question['jsonQuestion'],
|
81 |
+
'answerCount' => 1,
|
82 |
+
'acceptedAnswer' => array(
|
83 |
+
'@type' => 'Answer',
|
84 |
+
'text' => $question['jsonAnswer'],
|
85 |
+
),
|
86 |
+
);
|
87 |
+
}
|
88 |
+
}
|
frontend/schema/class-schema-faq.php
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WPSEO plugin file.
|
4 |
+
*
|
5 |
+
* @package WPSEO\Frontend\Schema
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Returns schema FAQ data.
|
10 |
+
*
|
11 |
+
* @since 11.3
|
12 |
+
*/
|
13 |
+
class WPSEO_Schema_FAQ implements WPSEO_Graph_Piece {
|
14 |
+
/**
|
15 |
+
* Determine whether this graph piece is needed or not.
|
16 |
+
*
|
17 |
+
* @var bool
|
18 |
+
*/
|
19 |
+
private $is_needed = false;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* The FAQ blocks on the current page.
|
23 |
+
*
|
24 |
+
* @var array
|
25 |
+
*/
|
26 |
+
private $blocks;
|
27 |
+
|
28 |
+
/**
|
29 |
+
* A value object with context variables.
|
30 |
+
*
|
31 |
+
* @var WPSEO_Schema_Context
|
32 |
+
*/
|
33 |
+
private $context;
|
34 |
+
|
35 |
+
/**
|
36 |
+
* WPSEO_Schema_FAQ constructor.
|
37 |
+
*
|
38 |
+
* @param WPSEO_Schema_Context $context A value object with context variables.
|
39 |
+
*/
|
40 |
+
public function __construct( WPSEO_Schema_Context $context ) {
|
41 |
+
$this->context = $context;
|
42 |
+
|
43 |
+
add_action( 'wpseo_pre_schema_block_type_yoast/faq-block', array( $this, 'prepare_schema' ), 10, 1 );
|
44 |
+
add_filter( 'wpseo_schema_block_yoast/faq-block', array( $this, 'render_schema_questions' ), 10, 3 );
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* If this fires, we know there's an FAQ block ont he page, so filter the page type.
|
49 |
+
*
|
50 |
+
* @param array $blocks The blocks of this type on the current page.
|
51 |
+
*/
|
52 |
+
public function prepare_schema( $blocks ) {
|
53 |
+
$this->blocks = $blocks;
|
54 |
+
$this->is_needed = true;
|
55 |
+
add_filter( 'wpseo_schema_webpage_type', array( $this, 'change_schema_page_type' ) );
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Change the page type to an array if it isn't one, include FAQPage.
|
60 |
+
*
|
61 |
+
* @param array|string $page_type The page type.
|
62 |
+
*
|
63 |
+
* @return array $page_type The page type that's now an array.
|
64 |
+
*/
|
65 |
+
public function change_schema_page_type( $page_type ) {
|
66 |
+
if ( ! is_array( $page_type ) ) {
|
67 |
+
$page_type = array( $page_type );
|
68 |
+
}
|
69 |
+
$page_type[] = 'FAQPage';
|
70 |
+
|
71 |
+
return $page_type;
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Render a list of questions, referencing them by ID.
|
76 |
+
*
|
77 |
+
* @return array $data Our Schema graph.
|
78 |
+
*/
|
79 |
+
public function generate() {
|
80 |
+
$question_list = new WPSEO_Schema_FAQ_Question_List( $this->blocks, $this->context );
|
81 |
+
$graph = $question_list->generate();
|
82 |
+
|
83 |
+
return $graph;
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Add the Questions in our FAQ blocks as separate pieces to the graph.
|
88 |
+
*
|
89 |
+
* @param array $graph Schema data for the current page.
|
90 |
+
* @param WP_Block_Parser_Block $block The block data array.
|
91 |
+
* @param WPSEO_Schema_Context $context A value object with context variables.
|
92 |
+
*
|
93 |
+
* @return array $data Our Schema graph.
|
94 |
+
*/
|
95 |
+
public function render_schema_questions( $graph, $block, $context ) {
|
96 |
+
$questions = new WPSEO_Schema_FAQ_Questions( $graph, $block, $context );
|
97 |
+
$graph = $questions->generate();
|
98 |
+
|
99 |
+
return $graph;
|
100 |
+
}
|
101 |
+
|
102 |
+
/**
|
103 |
+
* Determines whether or not a piece should be added to the graph.
|
104 |
+
*
|
105 |
+
* @return bool
|
106 |
+
*/
|
107 |
+
public function is_needed() {
|
108 |
+
return $this->is_needed;
|
109 |
+
}
|
110 |
+
}
|
frontend/schema/class-schema-image.php
CHANGED
@@ -38,7 +38,7 @@ class WPSEO_Schema_Image {
|
|
38 |
private $attachment_id;
|
39 |
|
40 |
/**
|
41 |
-
*
|
42 |
*
|
43 |
* @param string $schema_id The string to use in an image's `@id`.
|
44 |
*/
|
38 |
private $attachment_id;
|
39 |
|
40 |
/**
|
41 |
+
* WPSEO_Schema_Image constructor.
|
42 |
*
|
43 |
* @param string $schema_id The string to use in an image's `@id`.
|
44 |
*/
|
frontend/schema/class-schema-organization.php
CHANGED
@@ -19,7 +19,7 @@ class WPSEO_Schema_Organization implements WPSEO_Graph_Piece {
|
|
19 |
private $context;
|
20 |
|
21 |
/**
|
22 |
-
*
|
23 |
*
|
24 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
25 |
*/
|
19 |
private $context;
|
20 |
|
21 |
/**
|
22 |
+
* WPSEO_Schema_Organization constructor.
|
23 |
*
|
24 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
25 |
*/
|
frontend/schema/class-schema-webpage.php
CHANGED
@@ -20,7 +20,7 @@ class WPSEO_Schema_WebPage implements WPSEO_Graph_Piece {
|
|
20 |
private $context;
|
21 |
|
22 |
/**
|
23 |
-
*
|
24 |
*
|
25 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
26 |
*/
|
20 |
private $context;
|
21 |
|
22 |
/**
|
23 |
+
* WPSEO_Schema_WebPage constructor.
|
24 |
*
|
25 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
26 |
*/
|
frontend/schema/class-schema-website.php
CHANGED
@@ -19,7 +19,7 @@ class WPSEO_Schema_Website implements WPSEO_Graph_Piece {
|
|
19 |
private $context;
|
20 |
|
21 |
/**
|
22 |
-
*
|
23 |
*
|
24 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
25 |
*/
|
19 |
private $context;
|
20 |
|
21 |
/**
|
22 |
+
* WPSEO_Schema_Website constructor.
|
23 |
*
|
24 |
* @param WPSEO_Schema_Context $context A value object with context variables.
|
25 |
*/
|
frontend/schema/class-schema.php
CHANGED
@@ -13,6 +13,19 @@
|
|
13 |
* @since 1.8
|
14 |
*/
|
15 |
class WPSEO_Schema implements WPSEO_WordPress_Integration {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
/**
|
18 |
* Registers the hooks.
|
@@ -20,6 +33,9 @@ class WPSEO_Schema implements WPSEO_WordPress_Integration {
|
|
20 |
public function register_hooks() {
|
21 |
add_action( 'wpseo_head', array( $this, 'json_ld' ), 91 );
|
22 |
add_action( 'wpseo_json_ld', array( $this, 'generate' ), 1 );
|
|
|
|
|
|
|
23 |
}
|
24 |
|
25 |
/**
|
@@ -42,6 +58,8 @@ class WPSEO_Schema implements WPSEO_WordPress_Integration {
|
|
42 |
return;
|
43 |
}
|
44 |
|
|
|
|
|
45 |
do_action( 'wpseo_json_ld' );
|
46 |
}
|
47 |
|
@@ -55,7 +73,13 @@ class WPSEO_Schema implements WPSEO_WordPress_Integration {
|
|
55 |
public function generate() {
|
56 |
$graph = array();
|
57 |
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
$class = str_replace( 'wpseo_schema_', '', strtolower( get_class( $piece ) ) );
|
60 |
|
61 |
/**
|
@@ -81,6 +105,21 @@ class WPSEO_Schema implements WPSEO_WordPress_Integration {
|
|
81 |
}
|
82 |
}
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
WPSEO_Utils::schema_output( $graph, 'yoast-schema-graph yoast-schema-graph--main' );
|
85 |
}
|
86 |
|
@@ -90,16 +129,15 @@ class WPSEO_Schema implements WPSEO_WordPress_Integration {
|
|
90 |
* @return array A filtered array of graph pieces.
|
91 |
*/
|
92 |
private function get_graph_pieces() {
|
93 |
-
$context = new WPSEO_Schema_Context();
|
94 |
-
|
95 |
$pieces = array(
|
96 |
-
new WPSEO_Schema_Organization( $context ),
|
97 |
-
new WPSEO_Schema_Person( $context ),
|
98 |
-
new WPSEO_Schema_Website( $context ),
|
99 |
-
new WPSEO_Schema_WebPage( $context ),
|
100 |
-
new WPSEO_Schema_Breadcrumb( $context ),
|
101 |
-
new WPSEO_Schema_Article( $context ),
|
102 |
-
new WPSEO_Schema_Author( $context ),
|
|
|
103 |
);
|
104 |
|
105 |
/**
|
@@ -109,6 +147,46 @@ class WPSEO_Schema implements WPSEO_WordPress_Integration {
|
|
109 |
*
|
110 |
* @api array $pieces The schema pieces.
|
111 |
*/
|
112 |
-
return apply_filters( 'wpseo_schema_graph_pieces', $pieces, $context );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
}
|
114 |
}
|
13 |
* @since 1.8
|
14 |
*/
|
15 |
class WPSEO_Schema implements WPSEO_WordPress_Integration {
|
16 |
+
/**
|
17 |
+
* Holds the parsed blocks for the current page.
|
18 |
+
*
|
19 |
+
* @var array
|
20 |
+
*/
|
21 |
+
private $parsed_blocks = array();
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Holds context variables about the current page and site.
|
25 |
+
*
|
26 |
+
* @var WPSEO_Schema_Context
|
27 |
+
*/
|
28 |
+
private $context;
|
29 |
|
30 |
/**
|
31 |
* Registers the hooks.
|
33 |
public function register_hooks() {
|
34 |
add_action( 'wpseo_head', array( $this, 'json_ld' ), 91 );
|
35 |
add_action( 'wpseo_json_ld', array( $this, 'generate' ), 1 );
|
36 |
+
|
37 |
+
// This AMP hook is only used in Reader (formerly Classic) mode.
|
38 |
+
add_action( 'amp_post_template_head', array( $this, 'json_ld' ), 9 );
|
39 |
}
|
40 |
|
41 |
/**
|
58 |
return;
|
59 |
}
|
60 |
|
61 |
+
// Remove the AMP hook that also outputs Schema metadata on AMP pages.
|
62 |
+
remove_action( 'amp_post_template_head', 'amp_print_schemaorg_metadata' );
|
63 |
do_action( 'wpseo_json_ld' );
|
64 |
}
|
65 |
|
73 |
public function generate() {
|
74 |
$graph = array();
|
75 |
|
76 |
+
$this->context = new WPSEO_Schema_Context();
|
77 |
+
$pieces = $this->get_graph_pieces();
|
78 |
+
|
79 |
+
// Parse the Gutenberg blocks so we know whether to show pieces for those.
|
80 |
+
$this->parse_blocks();
|
81 |
+
|
82 |
+
foreach ( $pieces as $piece ) {
|
83 |
$class = str_replace( 'wpseo_schema_', '', strtolower( get_class( $piece ) ) );
|
84 |
|
85 |
/**
|
105 |
}
|
106 |
}
|
107 |
|
108 |
+
foreach ( $this->parsed_blocks as $block_type => $blocks ) {
|
109 |
+
foreach ( $blocks as $block ) {
|
110 |
+
/**
|
111 |
+
* Filter: 'wpseo_schema_block_<block-type>' - Allows filtering graph output per block.
|
112 |
+
*
|
113 |
+
* @param WP_Block_Parser_Block $block The block.
|
114 |
+
* @param WPSEO_Schema_Context $context A value object with context variables.
|
115 |
+
*
|
116 |
+
* @api array $graph Our Schema output.
|
117 |
+
*/
|
118 |
+
$block_type = strtolower( $block['blockName'] );
|
119 |
+
$graph = apply_filters( 'wpseo_schema_block_' . $block_type, $graph, $block, $this->context );
|
120 |
+
}
|
121 |
+
}
|
122 |
+
|
123 |
WPSEO_Utils::schema_output( $graph, 'yoast-schema-graph yoast-schema-graph--main' );
|
124 |
}
|
125 |
|
129 |
* @return array A filtered array of graph pieces.
|
130 |
*/
|
131 |
private function get_graph_pieces() {
|
|
|
|
|
132 |
$pieces = array(
|
133 |
+
new WPSEO_Schema_Organization( $this->context ),
|
134 |
+
new WPSEO_Schema_Person( $this->context ),
|
135 |
+
new WPSEO_Schema_Website( $this->context ),
|
136 |
+
new WPSEO_Schema_WebPage( $this->context ),
|
137 |
+
new WPSEO_Schema_Breadcrumb( $this->context ),
|
138 |
+
new WPSEO_Schema_Article( $this->context ),
|
139 |
+
new WPSEO_Schema_Author( $this->context ),
|
140 |
+
new WPSEO_Schema_FAQ( $this->context ),
|
141 |
);
|
142 |
|
143 |
/**
|
147 |
*
|
148 |
* @api array $pieces The schema pieces.
|
149 |
*/
|
150 |
+
return apply_filters( 'wpseo_schema_graph_pieces', $pieces, $this->context );
|
151 |
+
}
|
152 |
+
|
153 |
+
/**
|
154 |
+
* Parse the blocks and pass them on to our head.
|
155 |
+
*/
|
156 |
+
private function parse_blocks() {
|
157 |
+
if ( ! function_exists( 'parse_blocks' ) ) {
|
158 |
+
return;
|
159 |
+
}
|
160 |
+
|
161 |
+
if ( ! is_singular() ) {
|
162 |
+
return;
|
163 |
+
}
|
164 |
+
|
165 |
+
$this->get_parsed_blocks();
|
166 |
+
foreach ( array_keys( $this->parsed_blocks ) as $block_type ) {
|
167 |
+
/**
|
168 |
+
* Filter: 'wpseo_pre_schema_block_type_<block-type>' - Allows hooking things to change graph output based on the blocks on the page.
|
169 |
+
*
|
170 |
+
* @param string $block_type The block type.
|
171 |
+
* @param array $blocks All the blocks of this block type.
|
172 |
+
* @param WPSEO_Schema_Context $context A value object with context variables.
|
173 |
+
*/
|
174 |
+
do_action( 'wpseo_pre_schema_block_type_' . $block_type, $this->parsed_blocks[ $block_type ], $this->context );
|
175 |
+
}
|
176 |
+
}
|
177 |
+
|
178 |
+
/**
|
179 |
+
* Parse the blocks and loop through them.
|
180 |
+
*/
|
181 |
+
private function get_parsed_blocks() {
|
182 |
+
$post = get_post();
|
183 |
+
$parsed_blocks = parse_blocks( $post->post_content );
|
184 |
+
|
185 |
+
foreach ( $parsed_blocks as $block ) {
|
186 |
+
if ( ! isset( $this->parsed_blocks[ $block['blockName'] ] ) || ! is_array( $this->parsed_blocks[ $block['blockName'] ] ) ) {
|
187 |
+
$this->parsed_blocks[ $block['blockName'] ] = array();
|
188 |
+
}
|
189 |
+
$this->parsed_blocks[ $block['blockName'] ][] = $block;
|
190 |
+
}
|
191 |
}
|
192 |
}
|
inc/class-structured-data-blocks.php
CHANGED
@@ -31,7 +31,6 @@ class WPSEO_Structured_Data_Blocks implements WPSEO_WordPress_Integration {
|
|
31 |
|
32 |
$block_integrations = array(
|
33 |
new WPSEO_How_To_Block(),
|
34 |
-
new WPSEO_FAQ_Block(),
|
35 |
);
|
36 |
|
37 |
foreach ( $block_integrations as $block_integration ) {
|
31 |
|
32 |
$block_integrations = array(
|
33 |
new WPSEO_How_To_Block(),
|
|
|
34 |
);
|
35 |
|
36 |
foreach ( $block_integrations as $block_integration ) {
|
inc/class-wpseo-image-utils.php
CHANGED
@@ -24,6 +24,11 @@ class WPSEO_Image_Utils {
|
|
24 |
*/
|
25 |
$url = preg_replace( '/(.*)-\d+x\d+\.(jpg|png|gif)$/', '$1.$2', $url );
|
26 |
|
|
|
|
|
|
|
|
|
|
|
27 |
if ( function_exists( 'wpcom_vip_attachment_url_to_postid' ) ) {
|
28 |
// @codeCoverageIgnoreStart -- We can't test this properly.
|
29 |
return (int) wpcom_vip_attachment_url_to_postid( $url );
|
24 |
*/
|
25 |
$url = preg_replace( '/(.*)-\d+x\d+\.(jpg|png|gif)$/', '$1.$2', $url );
|
26 |
|
27 |
+
// Don't try to do this for external URLs.
|
28 |
+
if ( strpos( $url, get_site_url() ) !== 0 ) {
|
29 |
+
return 0;
|
30 |
+
}
|
31 |
+
|
32 |
if ( function_exists( 'wpcom_vip_attachment_url_to_postid' ) ) {
|
33 |
// @codeCoverageIgnoreStart -- We can't test this properly.
|
34 |
return (int) wpcom_vip_attachment_url_to_postid( $url );
|
inc/class-wpseo-statistics.php
CHANGED
@@ -57,6 +57,6 @@ class WPSEO_Statistics {
|
|
57 |
|
58 |
$posts = new WP_Query( $posts );
|
59 |
|
60 |
-
return $posts->found_posts;
|
61 |
}
|
62 |
}
|
57 |
|
58 |
$posts = new WP_Query( $posts );
|
59 |
|
60 |
+
return (int) $posts->found_posts;
|
61 |
}
|
62 |
}
|
inc/class-wpseo-utils.php
CHANGED
@@ -946,9 +946,9 @@ class WPSEO_Utils {
|
|
946 |
<ellipse fill="#C8C8C8" cx="15" cy="36.1" rx="5.7" ry="5.6"/>
|
947 |
</g>
|
948 |
<g class="traffic-light-color traffic-light-init">
|
949 |
-
<ellipse fill="#
|
950 |
-
<ellipse fill="#
|
951 |
-
<ellipse fill="#
|
952 |
</g>
|
953 |
</g>
|
954 |
</g>
|
946 |
<ellipse fill="#C8C8C8" cx="15" cy="36.1" rx="5.7" ry="5.6"/>
|
947 |
</g>
|
948 |
<g class="traffic-light-color traffic-light-init">
|
949 |
+
<ellipse fill="#C8C8C8" cx="15" cy="23.5" rx="5.7" ry="5.6"/>
|
950 |
+
<ellipse fill="#C8C8C8" cx="15" cy="10.9" rx="5.7" ry="5.6"/>
|
951 |
+
<ellipse fill="#C8C8C8" cx="15" cy="36.1" rx="5.7" ry="5.6"/>
|
952 |
</g>
|
953 |
</g>
|
954 |
</g>
|
inc/options/class-wpseo-option-titles.php
CHANGED
@@ -97,6 +97,13 @@ class WPSEO_Option_Titles extends WPSEO_Option {
|
|
97 |
*/
|
98 |
);
|
99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
/**
|
101 |
* Array of variable option name patterns for the option.
|
102 |
*
|
@@ -233,10 +240,8 @@ class WPSEO_Option_Titles extends WPSEO_Option {
|
|
233 |
* @return void
|
234 |
*/
|
235 |
public function enrich_defaults() {
|
236 |
-
$
|
237 |
-
|
238 |
-
$enriched_defaults = wp_cache_get( $cache_key );
|
239 |
-
if ( false !== $enriched_defaults ) {
|
240 |
$this->defaults += $enriched_defaults;
|
241 |
return;
|
242 |
}
|
@@ -291,7 +296,7 @@ class WPSEO_Option_Titles extends WPSEO_Option {
|
|
291 |
}
|
292 |
}
|
293 |
|
294 |
-
|
295 |
$this->defaults += $enriched_defaults;
|
296 |
}
|
297 |
|
@@ -305,7 +310,7 @@ class WPSEO_Option_Titles extends WPSEO_Option {
|
|
305 |
* @return void
|
306 |
*/
|
307 |
public function invalidate_enrich_defaults_cache() {
|
308 |
-
|
309 |
}
|
310 |
|
311 |
/**
|
97 |
*/
|
98 |
);
|
99 |
|
100 |
+
/**
|
101 |
+
* Used for "caching" during pageload.
|
102 |
+
*
|
103 |
+
* @var array
|
104 |
+
*/
|
105 |
+
protected $enriched_defaults = null;
|
106 |
+
|
107 |
/**
|
108 |
* Array of variable option name patterns for the option.
|
109 |
*
|
240 |
* @return void
|
241 |
*/
|
242 |
public function enrich_defaults() {
|
243 |
+
$enriched_defaults = $this->enriched_defaults;
|
244 |
+
if ( null !== $enriched_defaults ) {
|
|
|
|
|
245 |
$this->defaults += $enriched_defaults;
|
246 |
return;
|
247 |
}
|
296 |
}
|
297 |
}
|
298 |
|
299 |
+
$this->enriched_defaults = $enriched_defaults;
|
300 |
$this->defaults += $enriched_defaults;
|
301 |
}
|
302 |
|
310 |
* @return void
|
311 |
*/
|
312 |
public function invalidate_enrich_defaults_cache() {
|
313 |
+
$this->enriched_defaults = null;
|
314 |
}
|
315 |
|
316 |
/**
|
inc/structured-data-blocks/class-faq-block.php
DELETED
@@ -1,127 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* WPSEO plugin file.
|
4 |
-
*
|
5 |
-
* @package WPSEO\Structured_Data_Blocks
|
6 |
-
*/
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Class WPSEO_FAQ_Block.
|
10 |
-
*/
|
11 |
-
class WPSEO_FAQ_Block implements WPSEO_WordPress_Integration {
|
12 |
-
|
13 |
-
/**
|
14 |
-
* Registers the how-to block as a server-side rendered block.
|
15 |
-
*
|
16 |
-
* @return void
|
17 |
-
*/
|
18 |
-
public function register_hooks() {
|
19 |
-
if ( ! function_exists( 'register_block_type' ) ) {
|
20 |
-
return;
|
21 |
-
}
|
22 |
-
|
23 |
-
register_block_type(
|
24 |
-
'yoast/faq-block',
|
25 |
-
array( 'render_callback' => array( $this, 'render' ) )
|
26 |
-
);
|
27 |
-
}
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Renders the block.
|
31 |
-
*
|
32 |
-
* Because we can't save script tags in Gutenberg without sufficient user permissions,
|
33 |
-
* we render these server-side.
|
34 |
-
*
|
35 |
-
* @param array $attributes The attributes of the block.
|
36 |
-
* @param string $content The HTML content of the block.
|
37 |
-
*
|
38 |
-
* @return string The block preceded by its JSON-LD script.
|
39 |
-
*/
|
40 |
-
public function render( $attributes, $content ) {
|
41 |
-
if ( ! is_array( $attributes ) || ! is_singular() ) {
|
42 |
-
return $content;
|
43 |
-
}
|
44 |
-
|
45 |
-
$json_ld = $this->get_json_ld( $attributes );
|
46 |
-
|
47 |
-
$schema = array(
|
48 |
-
'@context' => 'https://schema.org',
|
49 |
-
'@graph' => array( $json_ld ),
|
50 |
-
);
|
51 |
-
|
52 |
-
return WPSEO_Utils::schema_tag( $schema ) . $content;
|
53 |
-
}
|
54 |
-
|
55 |
-
/**
|
56 |
-
* Returns the JSON-LD for a FAQ block in array form.
|
57 |
-
*
|
58 |
-
* @param array $attributes The attributes of the FAQ block.
|
59 |
-
*
|
60 |
-
* @return array The JSON-LD representation of the FAQ block in array form.
|
61 |
-
*/
|
62 |
-
protected function get_json_ld( array $attributes ) {
|
63 |
-
$hash = WPSEO_Schema_IDs::WEBPAGE_HASH;
|
64 |
-
if ( WPSEO_Schema_Article::is_article_post_type() ) {
|
65 |
-
$hash = WPSEO_Schema_IDs::ARTICLE_HASH;
|
66 |
-
}
|
67 |
-
|
68 |
-
$json_ld = array(
|
69 |
-
'@type' => 'FAQPage',
|
70 |
-
'mainEntityOfPage' => array( '@id' => WPSEO_Frontend::get_instance()->canonical( false ) . $hash ),
|
71 |
-
);
|
72 |
-
|
73 |
-
$post_title = get_the_title();
|
74 |
-
if ( ! empty( $post_title ) ) {
|
75 |
-
$json_ld['name'] = $post_title;
|
76 |
-
}
|
77 |
-
|
78 |
-
if ( ! array_key_exists( 'questions', $attributes ) || ! is_array( $attributes['questions'] ) ) {
|
79 |
-
return $json_ld;
|
80 |
-
}
|
81 |
-
|
82 |
-
$main_entity = array();
|
83 |
-
|
84 |
-
$questions = array_filter( $attributes['questions'], 'is_array' );
|
85 |
-
foreach ( $questions as $question ) {
|
86 |
-
$main_entity[] = $this->get_question_json_ld( $question );
|
87 |
-
}
|
88 |
-
|
89 |
-
$json_ld['mainEntity'] = $main_entity;
|
90 |
-
|
91 |
-
return $json_ld;
|
92 |
-
}
|
93 |
-
|
94 |
-
/**
|
95 |
-
* Returns the JSON-LD for a question in a FAQ block in array form.
|
96 |
-
*
|
97 |
-
* @param array $question The attributes of a question in the FAQ block.
|
98 |
-
*
|
99 |
-
* @return array The JSON-LD representation of the question in a FAQ block in array form.
|
100 |
-
*/
|
101 |
-
protected function get_question_json_ld( array $question ) {
|
102 |
-
$json_ld = array(
|
103 |
-
'@type' => 'Question',
|
104 |
-
);
|
105 |
-
|
106 |
-
if ( ! empty( $question['jsonQuestion'] ) ) {
|
107 |
-
$json_ld['name'] = $question['jsonQuestion'];
|
108 |
-
}
|
109 |
-
|
110 |
-
if ( ! empty( $question['jsonAnswer'] ) ) {
|
111 |
-
$json_ld['answerCount'] = 1;
|
112 |
-
$json_ld['acceptedAnswer'] = array(
|
113 |
-
'@type' => 'Answer',
|
114 |
-
'text' => $question['jsonAnswer'],
|
115 |
-
);
|
116 |
-
|
117 |
-
if ( ! empty( $question['jsonImageSrc'] ) ) {
|
118 |
-
$json_ld['acceptedAnswer']['image'] = array(
|
119 |
-
'@type' => 'ImageObject',
|
120 |
-
'contentUrl' => $question['jsonImageSrc'],
|
121 |
-
);
|
122 |
-
}
|
123 |
-
}
|
124 |
-
|
125 |
-
return $json_ld;
|
126 |
-
}
|
127 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/dist/analysis-1130.min.js
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[28],[,function(a,e,t){"use strict";t.r(e);var i=t(28),n=i.a.Symbol,r=Object.prototype,o=r.hasOwnProperty,s=r.toString,d=n?n.toStringTag:void 0;var l=function(a){var e=o.call(a,d),t=a[d];try{a[d]=void 0;var i=!0}catch(a){}var n=s.call(a);return i&&(e?a[d]=t:delete a[d]),n},c=Object.prototype.toString;var u=function(a){return c.call(a)},p="[object Null]",z="[object Undefined]",m=n?n.toStringTag:void 0;var g=function(a){return null==a?void 0===a?z:p:m&&m in Object(a)?l(a):u(a)};var f=function(a){return null!=a&&"object"==typeof a},y="[object Symbol]";var w=function(a){return"symbol"==typeof a||f(a)&&g(a)==y},b=NaN;var h=function(a){return"number"==typeof a?a:w(a)?b:+a};var v=function(a,e){for(var t=-1,i=null==a?0:a.length,n=Array(i);++t<i;)n[t]=e(a[t],t,a);return n},k=Array.isArray,_=1/0,j=n?n.prototype:void 0,T=j?j.toString:void 0;var E=function a(e){if("string"==typeof e)return e;if(k(e))return v(e,a)+"";if(w(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-_?"-0":t};var A=function(a,e){return function(t,i){var n;if(void 0===t&&void 0===i)return e;if(void 0!==t&&(n=t),void 0!==i){if(void 0===n)return i;"string"==typeof t||"string"==typeof i?(t=E(t),i=E(i)):(t=h(t),i=h(i)),n=a(t,i)}return n}},x=A(function(a,e){return a+e},0);var S=function(a){var e=typeof a;return null!=a&&("object"==e||"function"==e)},O=NaN,C=/^\s+|\s+$/g,R=/^[-+]0x[0-9a-f]+$/i,P=/^0b[01]+$/i,M=/^0o[0-7]+$/i,N=parseInt;var q=function(a){if("number"==typeof a)return a;if(w(a))return O;if(S(a)){var e="function"==typeof a.valueOf?a.valueOf():a;a=S(e)?e+"":e}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(C,"");var t=P.test(a);return t||M.test(a)?N(a.slice(2),t?2:8):R.test(a)?O:+a},I=1/0,D=1.7976931348623157e308;var L=function(a){return a?(a=q(a))===I||a===-I?(a<0?-1:1)*D:a==a?a:0:0===a?a:0};var F=function(a){var e=L(a),t=e%1;return e==e?t?e-t:e:0},B="Expected a function";var U=function(a,e){if("function"!=typeof e)throw new TypeError(B);return a=F(a),function(){if(--a<1)return e.apply(this,arguments)}};var H=function(a){return a},$="[object AsyncFunction]",W="[object Function]",K="[object GeneratorFunction]",G="[object Proxy]";var Y=function(a){if(!S(a))return!1;var e=g(a);return e==W||e==K||e==$||e==G},V=i.a["__core-js_shared__"],Q=function(){var a=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();var X=function(a){return!!Q&&Q in a},Z=Function.prototype.toString;var J=function(a){if(null!=a){try{return Z.call(a)}catch(a){}try{return a+""}catch(a){}}return""},aa=/^\[object .+?Constructor\]$/,ea=Function.prototype,ta=Object.prototype,ia=ea.toString,na=ta.hasOwnProperty,ra=RegExp("^"+ia.call(na).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var oa=function(a){return!(!S(a)||X(a))&&(Y(a)?ra:aa).test(J(a))};var sa=function(a,e){return null==a?void 0:a[e]};var da=function(a,e){var t=sa(a,e);return oa(t)?t:void 0},la=da(i.a,"WeakMap"),ca=la&&new la,ua=ca?function(a,e){return ca.set(a,e),a}:H,pa=Object.create,za=function(){function a(){}return function(e){if(!S(e))return{};if(pa)return pa(e);a.prototype=e;var t=new a;return a.prototype=void 0,t}}();var ma=function(a){return function(){var e=arguments;switch(e.length){case 0:return new a;case 1:return new a(e[0]);case 2:return new a(e[0],e[1]);case 3:return new a(e[0],e[1],e[2]);case 4:return new a(e[0],e[1],e[2],e[3]);case 5:return new a(e[0],e[1],e[2],e[3],e[4]);case 6:return new a(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new a(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=za(a.prototype),i=a.apply(t,e);return S(i)?i:t}},ga=1;var fa=function(a,e,t){var n=e&ga,r=ma(a);return function e(){return(this&&this!==i.a&&this instanceof e?r:a).apply(n?t:this,arguments)}};var ya=function(a,e,t){switch(t.length){case 0:return a.call(e);case 1:return a.call(e,t[0]);case 2:return a.call(e,t[0],t[1]);case 3:return a.call(e,t[0],t[1],t[2])}return a.apply(e,t)},wa=Math.max;var ba=function(a,e,t,i){for(var n=-1,r=a.length,o=t.length,s=-1,d=e.length,l=wa(r-o,0),c=Array(d+l),u=!i;++s<d;)c[s]=e[s];for(;++n<o;)(u||n<r)&&(c[t[n]]=a[n]);for(;l--;)c[s++]=a[n++];return c},ha=Math.max;var va=function(a,e,t,i){for(var n=-1,r=a.length,o=-1,s=t.length,d=-1,l=e.length,c=ha(r-s,0),u=Array(c+l),p=!i;++n<c;)u[n]=a[n];for(var z=n;++d<l;)u[z+d]=e[d];for(;++o<s;)(p||n<r)&&(u[z+t[o]]=a[n++]);return u};var ka=function(a,e){for(var t=a.length,i=0;t--;)a[t]===e&&++i;return i};var _a=function(){},ja=4294967295;function Ta(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ja,this.__views__=[]}Ta.prototype=za(_a.prototype),Ta.prototype.constructor=Ta;var Ea=Ta;var Aa=function(){},xa=ca?function(a){return ca.get(a)}:Aa,Sa={},Oa=Object.prototype.hasOwnProperty;var Ca=function(a){for(var e=a.name+"",t=Sa[e],i=Oa.call(Sa,e)?t.length:0;i--;){var n=t[i],r=n.func;if(null==r||r==a)return n.name}return e};function Ra(a,e){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}Ra.prototype=za(_a.prototype),Ra.prototype.constructor=Ra;var Pa=Ra;var Ma=function(a,e){var t=-1,i=a.length;for(e||(e=Array(i));++t<i;)e[t]=a[t];return e};var Na=function(a){if(a instanceof Ea)return a.clone();var e=new Pa(a.__wrapped__,a.__chain__);return e.__actions__=Ma(a.__actions__),e.__index__=a.__index__,e.__values__=a.__values__,e},qa=Object.prototype.hasOwnProperty;function Ia(a){if(f(a)&&!k(a)&&!(a instanceof Ea)){if(a instanceof Pa)return a;if(qa.call(a,"__wrapped__"))return Na(a)}return new Pa(a)}Ia.prototype=_a.prototype,Ia.prototype.constructor=Ia;var Da=Ia;var La=function(a){var e=Ca(a),t=Da[e];if("function"!=typeof t||!(e in Ea.prototype))return!1;if(a===t)return!0;var i=xa(t);return!!i&&a===i[0]},Fa=800,Ba=16,Ua=Date.now;var Ha=function(a){var e=0,t=0;return function(){var i=Ua(),n=Ba-(i-t);if(t=i,n>0){if(++e>=Fa)return arguments[0]}else e=0;return a.apply(void 0,arguments)}},$a=Ha(ua),Wa=/\{\n\/\* \[wrapped with (.+)\] \*/,Ka=/,? & /;var Ga=function(a){var e=a.match(Wa);return e?e[1].split(Ka):[]},Ya=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;var Va=function(a,e){var t=e.length;if(!t)return a;var i=t-1;return e[i]=(t>1?"& ":"")+e[i],e=e.join(t>2?", ":" "),a.replace(Ya,"{\n/* [wrapped with "+e+"] */\n")};var Qa=function(a){return function(){return a}},Xa=function(){try{var a=da(Object,"defineProperty");return a({},"",{}),a}catch(a){}}(),Za=Ha(Xa?function(a,e){return Xa(a,"toString",{configurable:!0,enumerable:!1,value:Qa(e),writable:!0})}:H);var Ja=function(a,e){for(var t=-1,i=null==a?0:a.length;++t<i&&!1!==e(a[t],t,a););return a};var ae=function(a,e,t,i){for(var n=a.length,r=t+(i?1:-1);i?r--:++r<n;)if(e(a[r],r,a))return r;return-1};var ee=function(a){return a!=a};var te=function(a,e,t){for(var i=t-1,n=a.length;++i<n;)if(a[i]===e)return i;return-1};var ie=function(a,e,t){return e==e?te(a,e,t):ae(a,ee,t)};var ne=function(a,e){return!(null==a||!a.length)&&ie(a,e,0)>-1},re=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];var oe=function(a,e){return Ja(re,function(t){var i="_."+t[0];e&t[1]&&!ne(a,i)&&a.push(i)}),a.sort()};var se=function(a,e,t){var i=e+"";return Za(a,Va(i,oe(Ga(i),t)))},de=1,le=2,ce=4,ue=8,pe=32,ze=64;var me=function(a,e,t,i,n,r,o,s,d,l){var c=e&ue;e|=c?pe:ze,(e&=~(c?ze:pe))&ce||(e&=~(de|le));var u=[a,e,n,c?r:void 0,c?o:void 0,c?void 0:r,c?void 0:o,s,d,l],p=t.apply(void 0,u);return La(a)&&$a(p,u),p.placeholder=i,se(p,a,e)};var ge=function(a){return a.placeholder},fe=9007199254740991,ye=/^(?:0|[1-9]\d*)$/;var we=function(a,e){var t=typeof a;return!!(e=null==e?fe:e)&&("number"==t||"symbol"!=t&&ye.test(a))&&a>-1&&a%1==0&&a<e},be=Math.min;var he=function(a,e){for(var t=a.length,i=be(e.length,t),n=Ma(a);i--;){var r=e[i];a[i]=we(r,t)?n[r]:void 0}return a},ve="__lodash_placeholder__";var ke=function(a,e){for(var t=-1,i=a.length,n=0,r=[];++t<i;){var o=a[t];o!==e&&o!==ve||(a[t]=ve,r[n++]=t)}return r},_e=1,je=2,Te=8,Ee=16,Ae=128,xe=512;var Se=function a(e,t,n,r,o,s,d,l,c,u){var p=t&Ae,z=t&_e,m=t&je,g=t&(Te|Ee),f=t&xe,y=m?void 0:ma(e);return function w(){for(var b=arguments.length,h=Array(b),v=b;v--;)h[v]=arguments[v];if(g)var k=ge(w),_=ka(h,k);if(r&&(h=ba(h,r,o,g)),s&&(h=va(h,s,d,g)),b-=_,g&&b<u){var j=ke(h,k);return me(e,t,a,w.placeholder,n,h,j,l,c,u-b)}var T=z?n:this,E=m?T[e]:e;return b=h.length,l?h=he(h,l):f&&b>1&&h.reverse(),p&&c<b&&(h.length=c),this&&this!==i.a&&this instanceof w&&(E=y||ma(E)),E.apply(T,h)}};var Oe=function(a,e,t){var n=ma(a);return function r(){for(var o=arguments.length,s=Array(o),d=o,l=ge(r);d--;)s[d]=arguments[d];var c=o<3&&s[0]!==l&&s[o-1]!==l?[]:ke(s,l);if((o-=c.length)<t)return me(a,e,Se,r.placeholder,void 0,s,c,void 0,void 0,t-o);var u=this&&this!==i.a&&this instanceof r?n:a;return ya(u,this,s)}},Ce=1;var Re=function(a,e,t,n){var r=e&Ce,o=ma(a);return function e(){for(var s=-1,d=arguments.length,l=-1,c=n.length,u=Array(c+d),p=this&&this!==i.a&&this instanceof e?o:a;++l<c;)u[l]=n[l];for(;d--;)u[l++]=arguments[++s];return ya(p,r?t:this,u)}},Pe="__lodash_placeholder__",Me=1,Ne=2,qe=4,Ie=8,De=128,Le=256,Fe=Math.min;var Be=function(a,e){var t=a[1],i=e[1],n=t|i,r=n<(Me|Ne|De),o=i==De&&t==Ie||i==De&&t==Le&&a[7].length<=e[8]||i==(De|Le)&&e[7].length<=e[8]&&t==Ie;if(!r&&!o)return a;i&Me&&(a[2]=e[2],n|=t&Me?0:qe);var s=e[3];if(s){var d=a[3];a[3]=d?ba(d,s,e[4]):s,a[4]=d?ke(a[3],Pe):e[4]}return(s=e[5])&&(d=a[5],a[5]=d?va(d,s,e[6]):s,a[6]=d?ke(a[5],Pe):e[6]),(s=e[7])&&(a[7]=s),i&De&&(a[8]=null==a[8]?e[8]:Fe(a[8],e[8])),null==a[9]&&(a[9]=e[9]),a[0]=e[0],a[1]=n,a},Ue="Expected a function",He=1,$e=2,We=8,Ke=16,Ge=32,Ye=64,Ve=Math.max;var Qe=function(a,e,t,i,n,r,o,s){var d=e&$e;if(!d&&"function"!=typeof a)throw new TypeError(Ue);var l=i?i.length:0;if(l||(e&=~(Ge|Ye),i=n=void 0),o=void 0===o?o:Ve(F(o),0),s=void 0===s?s:F(s),l-=n?n.length:0,e&Ye){var c=i,u=n;i=n=void 0}var p=d?void 0:xa(a),z=[a,e,t,i,n,c,u,r,o,s];if(p&&Be(z,p),a=z[0],e=z[1],t=z[2],i=z[3],n=z[4],!(s=z[9]=void 0===z[9]?d?0:a.length:Ve(z[9]-l,0))&&e&(We|Ke)&&(e&=~(We|Ke)),e&&e!=He)m=e==We||e==Ke?Oe(a,e,s):e!=Ge&&e!=(He|Ge)||n.length?Se.apply(void 0,z):Re(a,e,t,i);else var m=fa(a,e,t);return se((p?ua:$a)(m,z),a,e)},Xe=128;var Ze=function(a,e,t){return e=t?void 0:e,e=a&&null==e?a.length:e,Qe(a,Xe,void 0,void 0,void 0,void 0,e)};var Je=function(a,e,t){"__proto__"==e&&Xa?Xa(a,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):a[e]=t};var at=function(a,e){return a===e||a!=a&&e!=e},et=Object.prototype.hasOwnProperty;var tt=function(a,e,t){var i=a[e];et.call(a,e)&&at(i,t)&&(void 0!==t||e in a)||Je(a,e,t)};var it=function(a,e,t,i){var n=!t;t||(t={});for(var r=-1,o=e.length;++r<o;){var s=e[r],d=i?i(t[s],a[s],s,t,a):void 0;void 0===d&&(d=a[s]),n?Je(t,s,d):tt(t,s,d)}return t},nt=Math.max;var rt=function(a,e,t){return e=nt(void 0===e?a.length-1:e,0),function(){for(var i=arguments,n=-1,r=nt(i.length-e,0),o=Array(r);++n<r;)o[n]=i[e+n];n=-1;for(var s=Array(e+1);++n<e;)s[n]=i[n];return s[e]=t(o),ya(a,this,s)}};var ot=function(a,e){return Za(rt(a,e,H),a+"")},st=9007199254740991;var dt=function(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=st};var lt=function(a){return null!=a&&dt(a.length)&&!Y(a)};var ct=function(a,e,t){if(!S(t))return!1;var i=typeof e;return!!("number"==i?lt(t)&&we(e,t.length):"string"==i&&e in t)&&at(t[e],a)};var ut=function(a){return ot(function(e,t){var i=-1,n=t.length,r=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(r=a.length>3&&"function"==typeof r?(n--,r):void 0,o&&ct(t[0],t[1],o)&&(r=n<3?void 0:r,n=1),e=Object(e);++i<n;){var s=t[i];s&&a(e,s,i,r)}return e})},pt=Object.prototype;var zt=function(a){var e=a&&a.constructor;return a===("function"==typeof e&&e.prototype||pt)};var mt=function(a,e){for(var t=-1,i=Array(a);++t<a;)i[t]=e(t);return i},gt="[object Arguments]";var ft=function(a){return f(a)&&g(a)==gt},yt=Object.prototype,wt=yt.hasOwnProperty,bt=yt.propertyIsEnumerable,ht=ft(function(){return arguments}())?ft:function(a){return f(a)&&wt.call(a,"callee")&&!bt.call(a,"callee")},vt=t(98),kt={};kt["[object Float32Array]"]=kt["[object Float64Array]"]=kt["[object Int8Array]"]=kt["[object Int16Array]"]=kt["[object Int32Array]"]=kt["[object Uint8Array]"]=kt["[object Uint8ClampedArray]"]=kt["[object Uint16Array]"]=kt["[object Uint32Array]"]=!0,kt["[object Arguments]"]=kt["[object Array]"]=kt["[object ArrayBuffer]"]=kt["[object Boolean]"]=kt["[object DataView]"]=kt["[object Date]"]=kt["[object Error]"]=kt["[object Function]"]=kt["[object Map]"]=kt["[object Number]"]=kt["[object Object]"]=kt["[object RegExp]"]=kt["[object Set]"]=kt["[object String]"]=kt["[object WeakMap]"]=!1;var _t=function(a){return f(a)&&dt(a.length)&&!!kt[g(a)]};var jt=function(a){return function(e){return a(e)}},Tt=t(90),Et=Tt.a&&Tt.a.isTypedArray,At=Et?jt(Et):_t,xt=Object.prototype.hasOwnProperty;var St=function(a,e){var t=k(a),i=!t&&ht(a),n=!t&&!i&&Object(vt.a)(a),r=!t&&!i&&!n&&At(a),o=t||i||n||r,s=o?mt(a.length,String):[],d=s.length;for(var l in a)!e&&!xt.call(a,l)||o&&("length"==l||n&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||we(l,d))||s.push(l);return s};var Ot=function(a,e){return function(t){return a(e(t))}},Ct=Ot(Object.keys,Object),Rt=Object.prototype.hasOwnProperty;var Pt=function(a){if(!zt(a))return Ct(a);var e=[];for(var t in Object(a))Rt.call(a,t)&&"constructor"!=t&&e.push(t);return e};var Mt=function(a){return lt(a)?St(a):Pt(a)},Nt=Object.prototype.hasOwnProperty,qt=ut(function(a,e){if(zt(e)||lt(e))it(e,Mt(e),a);else for(var t in e)Nt.call(e,t)&&tt(a,t,e[t])});var It=function(a){var e=[];if(null!=a)for(var t in Object(a))e.push(t);return e},Dt=Object.prototype.hasOwnProperty;var Lt=function(a){if(!S(a))return It(a);var e=zt(a),t=[];for(var i in a)("constructor"!=i||!e&&Dt.call(a,i))&&t.push(i);return t};var Ft=function(a){return lt(a)?St(a,!0):Lt(a)},Bt=ut(function(a,e){it(e,Ft(e),a)}),Ut=ut(function(a,e,t,i){it(e,Ft(e),a,i)}),Ht=ut(function(a,e,t,i){it(e,Mt(e),a,i)}),$t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wt=/^\w*$/;var Kt=function(a,e){if(k(a))return!1;var t=typeof a;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=a&&!w(a))||Wt.test(a)||!$t.test(a)||null!=e&&a in Object(e)},Gt=da(Object,"create");var Yt=function(){this.__data__=Gt?Gt(null):{},this.size=0};var Vt=function(a){var e=this.has(a)&&delete this.__data__[a];return this.size-=e?1:0,e},Qt="__lodash_hash_undefined__",Xt=Object.prototype.hasOwnProperty;var Zt=function(a){var e=this.__data__;if(Gt){var t=e[a];return t===Qt?void 0:t}return Xt.call(e,a)?e[a]:void 0},Jt=Object.prototype.hasOwnProperty;var ai=function(a){var e=this.__data__;return Gt?void 0!==e[a]:Jt.call(e,a)},ei="__lodash_hash_undefined__";var ti=function(a,e){var t=this.__data__;return this.size+=this.has(a)?0:1,t[a]=Gt&&void 0===e?ei:e,this};function ii(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}ii.prototype.clear=Yt,ii.prototype.delete=Vt,ii.prototype.get=Zt,ii.prototype.has=ai,ii.prototype.set=ti;var ni=ii;var ri=function(){this.__data__=[],this.size=0};var oi=function(a,e){for(var t=a.length;t--;)if(at(a[t][0],e))return t;return-1},si=Array.prototype.splice;var di=function(a){var e=this.__data__,t=oi(e,a);return!(t<0||(t==e.length-1?e.pop():si.call(e,t,1),--this.size,0))};var li=function(a){var e=this.__data__,t=oi(e,a);return t<0?void 0:e[t][1]};var ci=function(a){return oi(this.__data__,a)>-1};var ui=function(a,e){var t=this.__data__,i=oi(t,a);return i<0?(++this.size,t.push([a,e])):t[i][1]=e,this};function pi(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}pi.prototype.clear=ri,pi.prototype.delete=di,pi.prototype.get=li,pi.prototype.has=ci,pi.prototype.set=ui;var zi=pi,mi=da(i.a,"Map");var gi=function(){this.size=0,this.__data__={hash:new ni,map:new(mi||zi),string:new ni}};var fi=function(a){var e=typeof a;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==a:null===a};var yi=function(a,e){var t=a.__data__;return fi(e)?t["string"==typeof e?"string":"hash"]:t.map};var wi=function(a){var e=yi(this,a).delete(a);return this.size-=e?1:0,e};var bi=function(a){return yi(this,a).get(a)};var hi=function(a){return yi(this,a).has(a)};var vi=function(a,e){var t=yi(this,a),i=t.size;return t.set(a,e),this.size+=t.size==i?0:1,this};function ki(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}ki.prototype.clear=gi,ki.prototype.delete=wi,ki.prototype.get=bi,ki.prototype.has=hi,ki.prototype.set=vi;var _i=ki,ji="Expected a function";function Ti(a,e){if("function"!=typeof a||null!=e&&"function"!=typeof e)throw new TypeError(ji);var t=function(){var i=arguments,n=e?e.apply(this,i):i[0],r=t.cache;if(r.has(n))return r.get(n);var o=a.apply(this,i);return t.cache=r.set(n,o)||r,o};return t.cache=new(Ti.Cache||_i),t}Ti.Cache=_i;var Ei=Ti,Ai=500;var xi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(a){var e=Ei(a,function(a){return t.size===Ai&&t.clear(),a}),t=e.cache;return e}(function(a){var e=[];return 46===a.charCodeAt(0)&&e.push(""),a.replace(xi,function(a,t,i,n){e.push(i?n.replace(Si,"$1"):t||a)}),e});var Ci=function(a){return null==a?"":E(a)};var Ri=function(a,e){return k(a)?a:Kt(a,e)?[a]:Oi(Ci(a))},Pi=1/0;var Mi=function(a){if("string"==typeof a||w(a))return a;var e=a+"";return"0"==e&&1/a==-Pi?"-0":e};var Ni=function(a,e){for(var t=0,i=(e=Ri(e,a)).length;null!=a&&t<i;)a=a[Mi(e[t++])];return t&&t==i?a:void 0};var qi=function(a,e,t){var i=null==a?void 0:Ni(a,e);return void 0===i?t:i};var Ii=function(a,e){for(var t=-1,i=e.length,n=Array(i),r=null==a;++t<i;)n[t]=r?void 0:qi(a,e[t]);return n};var Di=function(a,e){for(var t=-1,i=e.length,n=a.length;++t<i;)a[n+t]=e[t];return a},Li=n?n.isConcatSpreadable:void 0;var Fi=function(a){return k(a)||ht(a)||!!(Li&&a&&a[Li])};var Bi=function a(e,t,i,n,r){var o=-1,s=e.length;for(i||(i=Fi),r||(r=[]);++o<s;){var d=e[o];t>0&&i(d)?t>1?a(d,t-1,i,n,r):Di(r,d):n||(r[r.length]=d)}return r};var Ui=function(a){return null!=a&&a.length?Bi(a,1):[]};var Hi=function(a){return Za(rt(a,void 0,Ui),a+"")},$i=Hi(Ii),Wi=Ot(Object.getPrototypeOf,Object),Ki="[object Object]",Gi=Function.prototype,Yi=Object.prototype,Vi=Gi.toString,Qi=Yi.hasOwnProperty,Xi=Vi.call(Object);var Zi=function(a){if(!f(a)||g(a)!=Ki)return!1;var e=Wi(a);if(null===e)return!0;var t=Qi.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&Vi.call(t)==Xi},Ji="[object DOMException]",an="[object Error]";var en=function(a){if(!f(a))return!1;var e=g(a);return e==an||e==Ji||"string"==typeof a.message&&"string"==typeof a.name&&!Zi(a)},tn=ot(function(a,e){try{return ya(a,void 0,e)}catch(a){return en(a)?a:new Error(a)}}),nn="Expected a function";var rn=function(a,e){var t;if("function"!=typeof e)throw new TypeError(nn);return a=F(a),function(){return--a>0&&(t=e.apply(this,arguments)),a<=1&&(e=void 0),t}},on=ot(function(a,e,t){var i=1;if(t.length){var n=ke(t,ge(on));i|=32}return Qe(a,i,e,t,n)});on.placeholder={};var sn=on,dn=Hi(function(a,e){return Ja(e,function(e){e=Mi(e),Je(a,e,sn(a[e],a))}),a}),ln=ot(function(a,e,t){var i=3;if(t.length){var n=ke(t,ge(ln));i|=32}return Qe(e,i,a,t,n)});ln.placeholder={};var cn=ln;var un=function(a,e,t){var i=-1,n=a.length;e<0&&(e=-e>n?0:n+e),(t=t>n?n:t)<0&&(t+=n),n=e>t?0:t-e>>>0,e>>>=0;for(var r=Array(n);++i<n;)r[i]=a[i+e];return r};var pn=function(a,e,t){var i=a.length;return t=void 0===t?i:t,!e&&t>=i?a:un(a,e,t)},zn=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var mn=function(a){return zn.test(a)};var gn=function(a){return a.split("")},fn="[\\ud800-\\udfff]",yn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",wn="\\ud83c[\\udffb-\\udfff]",bn="[^\\ud800-\\udfff]",hn="(?:\\ud83c[\\udde6-\\uddff]){2}",vn="[\\ud800-\\udbff][\\udc00-\\udfff]",kn="(?:"+yn+"|"+wn+")"+"?",_n="[\\ufe0e\\ufe0f]?"+kn+("(?:\\u200d(?:"+[bn,hn,vn].join("|")+")[\\ufe0e\\ufe0f]?"+kn+")*"),jn="(?:"+[bn+yn+"?",yn,hn,vn,fn].join("|")+")",Tn=RegExp(wn+"(?="+wn+")|"+jn+_n,"g");var En=function(a){return a.match(Tn)||[]};var An=function(a){return mn(a)?En(a):gn(a)};var xn=function(a){return function(e){e=Ci(e);var t=mn(e)?An(e):void 0,i=t?t[0]:e.charAt(0),n=t?pn(t,1).join(""):e.slice(1);return i[a]()+n}},Sn=xn("toUpperCase");var On=function(a){return Sn(Ci(a).toLowerCase())};var Cn=function(a,e,t,i){var n=-1,r=null==a?0:a.length;for(i&&r&&(t=a[++n]);++n<r;)t=e(t,a[n],n,a);return t};var Rn=function(a){return function(e){return null==a?void 0:a[e]}},Pn=Rn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Mn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Nn=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var qn=function(a){return(a=Ci(a))&&a.replace(Mn,Pn).replace(Nn,"")},In=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Dn=function(a){return a.match(In)||[]},Ln=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Fn=function(a){return Ln.test(a)},Bn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Un="["+Bn+"]",Hn="\\d+",$n="[\\u2700-\\u27bf]",Wn="[a-z\\xdf-\\xf6\\xf8-\\xff]",Kn="[^\\ud800-\\udfff"+Bn+Hn+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Gn="(?:\\ud83c[\\udde6-\\uddff]){2}",Yn="[\\ud800-\\udbff][\\udc00-\\udfff]",Vn="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Qn="(?:"+Wn+"|"+Kn+")",Xn="(?:"+Vn+"|"+Kn+")",Zn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Jn="[\\ufe0e\\ufe0f]?"+Zn+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Gn,Yn].join("|")+")[\\ufe0e\\ufe0f]?"+Zn+")*"),ar="(?:"+[$n,Gn,Yn].join("|")+")"+Jn,er=RegExp([Vn+"?"+Wn+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Un,Vn,"$"].join("|")+")",Xn+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Un,Vn+Qn,"$"].join("|")+")",Vn+"?"+Qn+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Vn+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hn,ar].join("|"),"g");var tr=function(a){return a.match(er)||[]};var ir=function(a,e,t){return a=Ci(a),void 0===(e=t?void 0:e)?Fn(a)?tr(a):Dn(a):a.match(e)||[]},nr=RegExp("['’]","g");var rr=function(a){return function(e){return Cn(ir(qn(e).replace(nr,"")),a,"")}},or=rr(function(a,e,t){return e=e.toLowerCase(),a+(t?On(e):e)});var sr=function(){if(!arguments.length)return[];var a=arguments[0];return k(a)?a:[a]},dr=Math.min;var lr=function(a){var e=Math[a];return function(a,t){if(a=q(a),t=null==t?0:dr(F(t),292)){var i=(Ci(a)+"e").split("e"),n=e(i[0]+"e"+(+i[1]+t));return+((i=(Ci(n)+"e").split("e"))[0]+"e"+(+i[1]-t))}return e(a)}},cr=lr("ceil");var ur=function(a){var e=Da(a);return e.__chain__=!0,e},pr=Math.ceil,zr=Math.max;var mr=function(a,e,t){e=(t?ct(a,e,t):void 0===e)?1:zr(F(e),0);var i=null==a?0:a.length;if(!i||e<1)return[];for(var n=0,r=0,o=Array(pr(i/e));n<i;)o[r++]=un(a,n,n+=e);return o};var gr=function(a,e,t){return a==a&&(void 0!==t&&(a=a<=t?a:t),void 0!==e&&(a=a>=e?a:e)),a};var fr=function(a,e,t){return void 0===t&&(t=e,e=void 0),void 0!==t&&(t=(t=q(t))==t?t:0),void 0!==e&&(e=(e=q(e))==e?e:0),gr(q(a),e,t)};var yr=function(){this.__data__=new zi,this.size=0};var wr=function(a){var e=this.__data__,t=e.delete(a);return this.size=e.size,t};var br=function(a){return this.__data__.get(a)};var hr=function(a){return this.__data__.has(a)},vr=200;var kr=function(a,e){var t=this.__data__;if(t instanceof zi){var i=t.__data__;if(!mi||i.length<vr-1)return i.push([a,e]),this.size=++t.size,this;t=this.__data__=new _i(i)}return t.set(a,e),this.size=t.size,this};function _r(a){var e=this.__data__=new zi(a);this.size=e.size}_r.prototype.clear=yr,_r.prototype.delete=wr,_r.prototype.get=br,_r.prototype.has=hr,_r.prototype.set=kr;var jr=_r;var Tr=function(a,e){return a&&it(e,Mt(e),a)};var Er=function(a,e){return a&&it(e,Ft(e),a)},Ar=t(402);var xr=function(a,e){for(var t=-1,i=null==a?0:a.length,n=0,r=[];++t<i;){var o=a[t];e(o,t,a)&&(r[n++]=o)}return r};var Sr=function(){return[]},Or=Object.prototype.propertyIsEnumerable,Cr=Object.getOwnPropertySymbols,Rr=Cr?function(a){return null==a?[]:(a=Object(a),xr(Cr(a),function(e){return Or.call(a,e)}))}:Sr;var Pr=function(a,e){return it(a,Rr(a),e)},Mr=Object.getOwnPropertySymbols?function(a){for(var e=[];a;)Di(e,Rr(a)),a=Wi(a);return e}:Sr;var Nr=function(a,e){return it(a,Mr(a),e)};var qr=function(a,e,t){var i=e(a);return k(a)?i:Di(i,t(a))};var Ir=function(a){return qr(a,Mt,Rr)};var Dr=function(a){return qr(a,Ft,Mr)},Lr=da(i.a,"DataView"),Fr=da(i.a,"Promise"),Br=da(i.a,"Set"),Ur=J(Lr),Hr=J(mi),$r=J(Fr),Wr=J(Br),Kr=J(la),Gr=g;(Lr&&"[object DataView]"!=Gr(new Lr(new ArrayBuffer(1)))||mi&&"[object Map]"!=Gr(new mi)||Fr&&"[object Promise]"!=Gr(Fr.resolve())||Br&&"[object Set]"!=Gr(new Br)||la&&"[object WeakMap]"!=Gr(new la))&&(Gr=function(a){var e=g(a),t="[object Object]"==e?a.constructor:void 0,i=t?J(t):"";if(i)switch(i){case Ur:return"[object DataView]";case Hr:return"[object Map]";case $r:return"[object Promise]";case Wr:return"[object Set]";case Kr:return"[object WeakMap]"}return e});var Yr=Gr,Vr=Object.prototype.hasOwnProperty;var Qr=function(a){var e=a.length,t=new a.constructor(e);return e&&"string"==typeof a[0]&&Vr.call(a,"index")&&(t.index=a.index,t.input=a.input),t},Xr=i.a.Uint8Array;var Zr=function(a){var e=new a.constructor(a.byteLength);return new Xr(e).set(new Xr(a)),e};var Jr=function(a,e){var t=e?Zr(a.buffer):a.buffer;return new a.constructor(t,a.byteOffset,a.byteLength)},ao=/\w*$/;var eo=function(a){var e=new a.constructor(a.source,ao.exec(a));return e.lastIndex=a.lastIndex,e},to=n?n.prototype:void 0,io=to?to.valueOf:void 0;var no=function(a){return io?Object(io.call(a)):{}};var ro=function(a,e){var t=e?Zr(a.buffer):a.buffer;return new a.constructor(t,a.byteOffset,a.length)},oo="[object Boolean]",so="[object Date]",lo="[object Map]",co="[object Number]",uo="[object RegExp]",po="[object Set]",zo="[object String]",mo="[object Symbol]",go="[object ArrayBuffer]",fo="[object DataView]",yo="[object Float32Array]",wo="[object Float64Array]",bo="[object Int8Array]",ho="[object Int16Array]",vo="[object Int32Array]",ko="[object Uint8Array]",_o="[object Uint8ClampedArray]",jo="[object Uint16Array]",To="[object Uint32Array]";var Eo=function(a,e,t){var i=a.constructor;switch(e){case go:return Zr(a);case oo:case so:return new i(+a);case fo:return Jr(a,t);case yo:case wo:case bo:case ho:case vo:case ko:case _o:case jo:case To:return ro(a,t);case lo:return new i;case co:case zo:return new i(a);case uo:return eo(a);case po:return new i;case mo:return no(a)}};var Ao=function(a){return"function"!=typeof a.constructor||zt(a)?{}:za(Wi(a))},xo="[object Map]";var So=function(a){return f(a)&&Yr(a)==xo},Oo=Tt.a&&Tt.a.isMap,Co=Oo?jt(Oo):So,Ro="[object Set]";var Po=function(a){return f(a)&&Yr(a)==Ro},Mo=Tt.a&&Tt.a.isSet,No=Mo?jt(Mo):Po,qo=1,Io=2,Do=4,Lo="[object Arguments]",Fo="[object Function]",Bo="[object GeneratorFunction]",Uo="[object Object]",Ho={};Ho[Lo]=Ho["[object Array]"]=Ho["[object ArrayBuffer]"]=Ho["[object DataView]"]=Ho["[object Boolean]"]=Ho["[object Date]"]=Ho["[object Float32Array]"]=Ho["[object Float64Array]"]=Ho["[object Int8Array]"]=Ho["[object Int16Array]"]=Ho["[object Int32Array]"]=Ho["[object Map]"]=Ho["[object Number]"]=Ho[Uo]=Ho["[object RegExp]"]=Ho["[object Set]"]=Ho["[object String]"]=Ho["[object Symbol]"]=Ho["[object Uint8Array]"]=Ho["[object Uint8ClampedArray]"]=Ho["[object Uint16Array]"]=Ho["[object Uint32Array]"]=!0,Ho["[object Error]"]=Ho[Fo]=Ho["[object WeakMap]"]=!1;var $o=function a(e,t,i,n,r,o){var s,d=t&qo,l=t&Io,c=t&Do;if(i&&(s=r?i(e,n,r,o):i(e)),void 0!==s)return s;if(!S(e))return e;var u=k(e);if(u){if(s=Qr(e),!d)return Ma(e,s)}else{var p=Yr(e),z=p==Fo||p==Bo;if(Object(vt.a)(e))return Object(Ar.a)(e,d);if(p==Uo||p==Lo||z&&!r){if(s=l||z?{}:Ao(e),!d)return l?Nr(e,Er(s,e)):Pr(e,Tr(s,e))}else{if(!Ho[p])return r?e:{};s=Eo(e,p,d)}}o||(o=new jr);var m=o.get(e);if(m)return m;if(o.set(e,s),No(e))return e.forEach(function(n){s.add(a(n,t,i,n,e,o))}),s;if(Co(e))return e.forEach(function(n,r){s.set(r,a(n,t,i,r,e,o))}),s;var g=c?l?Dr:Ir:l?keysIn:Mt,f=u?void 0:g(e);return Ja(f||e,function(n,r){f&&(n=e[r=n]),tt(s,r,a(n,t,i,r,e,o))}),s},Wo=4;var Ko=function(a){return $o(a,Wo)},Go=1,Yo=4;var Vo=function(a){return $o(a,Go|Yo)},Qo=1,Xo=4;var Zo=function(a,e){return $o(a,Qo|Xo,e="function"==typeof e?e:void 0)},Jo=4;var as=function(a,e){return $o(a,Jo,e="function"==typeof e?e:void 0)};var es=function(){return new Pa(this.value(),this.__chain__)};var ts=function(a){for(var e=-1,t=null==a?0:a.length,i=0,n=[];++e<t;){var r=a[e];r&&(n[i++]=r)}return n};var is=function(){var a=arguments.length;if(!a)return[];for(var e=Array(a-1),t=arguments[0],i=a;i--;)e[i-1]=arguments[i];return Di(k(t)?Ma(t):[t],Bi(e,1))},ns="__lodash_hash_undefined__";var rs=function(a){return this.__data__.set(a,ns),this};var os=function(a){return this.__data__.has(a)};function ss(a){var e=-1,t=null==a?0:a.length;for(this.__data__=new _i;++e<t;)this.add(a[e])}ss.prototype.add=ss.prototype.push=rs,ss.prototype.has=os;var ds=ss;var ls=function(a,e){for(var t=-1,i=null==a?0:a.length;++t<i;)if(e(a[t],t,a))return!0;return!1};var cs=function(a,e){return a.has(e)},us=1,ps=2;var zs=function(a,e,t,i,n,r){var o=t&us,s=a.length,d=e.length;if(s!=d&&!(o&&d>s))return!1;var l=r.get(a);if(l&&r.get(e))return l==e;var c=-1,u=!0,p=t&ps?new ds:void 0;for(r.set(a,e),r.set(e,a);++c<s;){var z=a[c],m=e[c];if(i)var g=o?i(m,z,c,e,a,r):i(z,m,c,a,e,r);if(void 0!==g){if(g)continue;u=!1;break}if(p){if(!ls(e,function(a,e){if(!cs(p,e)&&(z===a||n(z,a,t,i,r)))return p.push(e)})){u=!1;break}}else if(z!==m&&!n(z,m,t,i,r)){u=!1;break}}return r.delete(a),r.delete(e),u};var ms=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a,i){t[++e]=[i,a]}),t};var gs=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a){t[++e]=a}),t},fs=1,ys=2,ws="[object Boolean]",bs="[object Date]",hs="[object Error]",vs="[object Map]",ks="[object Number]",_s="[object RegExp]",js="[object Set]",Ts="[object String]",Es="[object Symbol]",As="[object ArrayBuffer]",xs="[object DataView]",Ss=n?n.prototype:void 0,Os=Ss?Ss.valueOf:void 0;var Cs=function(a,e,t,i,n,r,o){switch(t){case xs:if(a.byteLength!=e.byteLength||a.byteOffset!=e.byteOffset)return!1;a=a.buffer,e=e.buffer;case As:return!(a.byteLength!=e.byteLength||!r(new Xr(a),new Xr(e)));case ws:case bs:case ks:return at(+a,+e);case hs:return a.name==e.name&&a.message==e.message;case _s:case Ts:return a==e+"";case vs:var s=ms;case js:var d=i&fs;if(s||(s=gs),a.size!=e.size&&!d)return!1;var l=o.get(a);if(l)return l==e;i|=ys,o.set(a,e);var c=zs(s(a),s(e),i,n,r,o);return o.delete(a),c;case Es:if(Os)return Os.call(a)==Os.call(e)}return!1},Rs=1,Ps=Object.prototype.hasOwnProperty;var Ms=function(a,e,t,i,n,r){var o=t&Rs,s=Ir(a),d=s.length;if(d!=Ir(e).length&&!o)return!1;for(var l=d;l--;){var c=s[l];if(!(o?c in e:Ps.call(e,c)))return!1}var u=r.get(a);if(u&&r.get(e))return u==e;var p=!0;r.set(a,e),r.set(e,a);for(var z=o;++l<d;){var m=a[c=s[l]],g=e[c];if(i)var f=o?i(g,m,c,e,a,r):i(m,g,c,a,e,r);if(!(void 0===f?m===g||n(m,g,t,i,r):f)){p=!1;break}z||(z="constructor"==c)}if(p&&!z){var y=a.constructor,w=e.constructor;y!=w&&"constructor"in a&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w)&&(p=!1)}return r.delete(a),r.delete(e),p},Ns=1,qs="[object Arguments]",Is="[object Array]",Ds="[object Object]",Ls=Object.prototype.hasOwnProperty;var Fs=function(a,e,t,i,n,r){var o=k(a),s=k(e),d=o?Is:Yr(a),l=s?Is:Yr(e),c=(d=d==qs?Ds:d)==Ds,u=(l=l==qs?Ds:l)==Ds,p=d==l;if(p&&Object(vt.a)(a)){if(!Object(vt.a)(e))return!1;o=!0,c=!1}if(p&&!c)return r||(r=new jr),o||At(a)?zs(a,e,t,i,n,r):Cs(a,e,d,t,i,n,r);if(!(t&Ns)){var z=c&&Ls.call(a,"__wrapped__"),m=u&&Ls.call(e,"__wrapped__");if(z||m){var g=z?a.value():a,f=m?e.value():e;return r||(r=new jr),n(g,f,t,i,r)}}return!!p&&(r||(r=new jr),Ms(a,e,t,i,n,r))};var Bs=function a(e,t,i,n,r){return e===t||(null==e||null==t||!f(e)&&!f(t)?e!=e&&t!=t:Fs(e,t,i,n,a,r))},Us=1,Hs=2;var $s=function(a,e,t,i){var n=t.length,r=n,o=!i;if(null==a)return!r;for(a=Object(a);n--;){var s=t[n];if(o&&s[2]?s[1]!==a[s[0]]:!(s[0]in a))return!1}for(;++n<r;){var d=(s=t[n])[0],l=a[d],c=s[1];if(o&&s[2]){if(void 0===l&&!(d in a))return!1}else{var u=new jr;if(i)var p=i(l,c,d,a,e,u);if(!(void 0===p?Bs(c,l,Us|Hs,i,u):p))return!1}}return!0};var Ws=function(a){return a==a&&!S(a)};var Ks=function(a){for(var e=Mt(a),t=e.length;t--;){var i=e[t],n=a[i];e[t]=[i,n,Ws(n)]}return e};var Gs=function(a,e){return function(t){return null!=t&&t[a]===e&&(void 0!==e||a in Object(t))}};var Ys=function(a){var e=Ks(a);return 1==e.length&&e[0][2]?Gs(e[0][0],e[0][1]):function(t){return t===a||$s(t,a,e)}};var Vs=function(a,e){return null!=a&&e in Object(a)};var Qs=function(a,e,t){for(var i=-1,n=(e=Ri(e,a)).length,r=!1;++i<n;){var o=Mi(e[i]);if(!(r=null!=a&&t(a,o)))break;a=a[o]}return r||++i!=n?r:!!(n=null==a?0:a.length)&&dt(n)&&we(o,n)&&(k(a)||ht(a))};var Xs=function(a,e){return null!=a&&Qs(a,e,Vs)},Zs=1,Js=2;var ad=function(a,e){return Kt(a)&&Ws(e)?Gs(Mi(a),e):function(t){var i=qi(t,a);return void 0===i&&i===e?Xs(t,a):Bs(e,i,Zs|Js)}};var ed=function(a){return function(e){return null==e?void 0:e[a]}};var td=function(a){return function(e){return Ni(e,a)}};var id=function(a){return Kt(a)?ed(Mi(a)):td(a)};var nd=function(a){return"function"==typeof a?a:null==a?H:"object"==typeof a?k(a)?ad(a[0],a[1]):Ys(a):id(a)},rd="Expected a function";var od=function(a){var e=null==a?0:a.length,t=nd;return a=e?v(a,function(a){if("function"!=typeof a[1])throw new TypeError(rd);return[t(a[0]),a[1]]}):[],ot(function(t){for(var i=-1;++i<e;){var n=a[i];if(ya(n[0],this,t))return ya(n[1],this,t)}})};var sd=function(a,e,t){var i=t.length;if(null==a)return!i;for(a=Object(a);i--;){var n=t[i],r=e[n],o=a[n];if(void 0===o&&!(n in a)||!r(o))return!1}return!0};var dd=function(a){var e=Mt(a);return function(t){return sd(t,a,e)}},ld=1;var cd=function(a){return dd($o(a,ld))};var ud=function(a,e){return null==e||sd(a,e,Mt(e))};var pd=function(a,e,t,i){for(var n=-1,r=null==a?0:a.length;++n<r;){var o=a[n];e(i,o,t(o),a)}return i};var zd=function(a){return function(e,t,i){for(var n=-1,r=Object(e),o=i(e),s=o.length;s--;){var d=o[a?s:++n];if(!1===t(r[d],d,r))break}return e}},md=zd();var gd=function(a,e){return a&&md(a,e,Mt)};var fd=function(a,e){return function(t,i){if(null==t)return t;if(!lt(t))return a(t,i);for(var n=t.length,r=e?n:-1,o=Object(t);(e?r--:++r<n)&&!1!==i(o[r],r,o););return t}},yd=fd(gd);var wd=function(a,e,t,i){return yd(a,function(a,n,r){e(i,a,t(a),r)}),i};var bd=function(a,e){return function(t,i){var n=k(t)?pd:wd,r=e?e():{};return n(t,a,nd(i,2),r)}},hd=Object.prototype.hasOwnProperty,vd=bd(function(a,e,t){hd.call(a,t)?++a[t]:Je(a,t,1)});var kd=function(a,e){var t=za(a);return null==e?t:Tr(t,e)},_d=8;function jd(a,e,t){var i=Qe(a,_d,void 0,void 0,void 0,void 0,void 0,e=t?void 0:e);return i.placeholder=jd.placeholder,i}jd.placeholder={};var Td=jd,Ed=16;function Ad(a,e,t){var i=Qe(a,Ed,void 0,void 0,void 0,void 0,void 0,e=t?void 0:e);return i.placeholder=Ad.placeholder,i}Ad.placeholder={};var xd=Ad,Sd=function(){return i.a.Date.now()},Od="Expected a function",Cd=Math.max,Rd=Math.min;var Pd=function(a,e,t){var i,n,r,o,s,d,l=0,c=!1,u=!1,p=!0;if("function"!=typeof a)throw new TypeError(Od);function z(e){var t=i,r=n;return i=n=void 0,l=e,o=a.apply(r,t)}function m(a){var t=a-d;return void 0===d||t>=e||t<0||u&&a-l>=r}function g(){var a=Sd();if(m(a))return f(a);s=setTimeout(g,function(a){var t=e-(a-d);return u?Rd(t,r-(a-l)):t}(a))}function f(a){return s=void 0,p&&i?z(a):(i=n=void 0,o)}function y(){var a=Sd(),t=m(a);if(i=arguments,n=this,d=a,t){if(void 0===s)return function(a){return l=a,s=setTimeout(g,e),c?z(a):o}(d);if(u)return s=setTimeout(g,e),z(d)}return void 0===s&&(s=setTimeout(g,e)),o}return e=q(e)||0,S(t)&&(c=!!t.leading,r=(u="maxWait"in t)?Cd(q(t.maxWait)||0,e):r,p="trailing"in t?!!t.trailing:p),y.cancel=function(){void 0!==s&&clearTimeout(s),l=0,i=d=n=s=void 0},y.flush=function(){return void 0===s?o:f(Sd())},y};var Md=function(a,e){return null==a||a!=a?e:a},Nd=Object.prototype,qd=Nd.hasOwnProperty,Id=ot(function(a,e){a=Object(a);var t=-1,i=e.length,n=i>2?e[2]:void 0;for(n&&ct(e[0],e[1],n)&&(i=1);++t<i;)for(var r=e[t],o=Ft(r),s=-1,d=o.length;++s<d;){var l=o[s],c=a[l];(void 0===c||at(c,Nd[l])&&!qd.call(a,l))&&(a[l]=r[l])}return a});var Dd=function(a,e,t){(void 0===t||at(a[e],t))&&(void 0!==t||e in a)||Je(a,e,t)};var Ld=function(a){return f(a)&<(a)};var Fd=function(a,e){if("__proto__"!=e)return a[e]};var Bd=function(a){return it(a,Ft(a))};var Ud=function(a,e,t,i,n,r,o){var s=Fd(a,t),d=Fd(e,t),l=o.get(d);if(l)Dd(a,t,l);else{var c=r?r(s,d,t+"",a,e,o):void 0,u=void 0===c;if(u){var p=k(d),z=!p&&Object(vt.a)(d),m=!p&&!z&&At(d);c=d,p||z||m?k(s)?c=s:Ld(s)?c=Ma(s):z?(u=!1,c=Object(Ar.a)(d,!0)):m?(u=!1,c=ro(d,!0)):c=[]:Zi(d)||ht(d)?(c=s,ht(s)?c=Bd(s):S(s)&&!Y(s)||(c=Ao(d))):u=!1}u&&(o.set(d,c),n(c,d,i,r,o),o.delete(d)),Dd(a,t,c)}};var Hd=function a(e,t,i,n,r){e!==t&&md(t,function(o,s){if(S(o))r||(r=new jr),Ud(e,t,s,i,a,n,r);else{var d=n?n(Fd(e,s),o,s+"",e,t,r):void 0;void 0===d&&(d=o),Dd(e,s,d)}},Ft)};var $d=function a(e,t,i,n,r,o){return S(e)&&S(t)&&(o.set(t,e),Hd(e,t,void 0,a,o),o.delete(t)),e},Wd=ut(function(a,e,t,i){Hd(a,e,t,i)}),Kd=ot(function(a){return a.push(void 0,$d),ya(Wd,void 0,a)}),Gd="Expected a function";var Yd=function(a,e,t){if("function"!=typeof a)throw new TypeError(Gd);return setTimeout(function(){a.apply(void 0,t)},e)},Vd=ot(function(a,e){return Yd(a,1,e)}),Qd=ot(function(a,e,t){return Yd(a,q(e)||0,t)});var Xd=function(a,e,t){for(var i=-1,n=null==a?0:a.length;++i<n;)if(t(e,a[i]))return!0;return!1},Zd=200;var Jd=function(a,e,t,i){var n=-1,r=ne,o=!0,s=a.length,d=[],l=e.length;if(!s)return d;t&&(e=v(e,jt(t))),i?(r=Xd,o=!1):e.length>=Zd&&(r=cs,o=!1,e=new ds(e));a:for(;++n<s;){var c=a[n],u=null==t?c:t(c);if(c=i||0!==c?c:0,o&&u==u){for(var p=l;p--;)if(e[p]===u)continue a;d.push(c)}else r(e,u,i)||d.push(c)}return d},al=ot(function(a,e){return Ld(a)?Jd(a,Bi(e,1,Ld,!0)):[]});var el=function(a){var e=null==a?0:a.length;return e?a[e-1]:void 0},tl=ot(function(a,e){var t=el(e);return Ld(t)&&(t=void 0),Ld(a)?Jd(a,Bi(e,1,Ld,!0),nd(t,2)):[]}),il=ot(function(a,e){var t=el(e);return Ld(t)&&(t=void 0),Ld(a)?Jd(a,Bi(e,1,Ld,!0),void 0,t):[]}),nl=A(function(a,e){return a/e},1);var rl=function(a,e,t){var i=null==a?0:a.length;return i?(e=t||void 0===e?1:F(e),un(a,e<0?0:e,i)):[]};var ol=function(a,e,t){var i=null==a?0:a.length;return i?(e=t||void 0===e?1:F(e),un(a,0,(e=i-e)<0?0:e)):[]};var sl=function(a,e,t,i){for(var n=a.length,r=i?n:-1;(i?r--:++r<n)&&e(a[r],r,a););return t?un(a,i?0:r,i?r+1:n):un(a,i?r+1:0,i?n:r)};var dl=function(a,e){return a&&a.length?sl(a,nd(e,3),!0,!0):[]};var ll=function(a,e){return a&&a.length?sl(a,nd(e,3),!0):[]};var cl=function(a){return"function"==typeof a?a:H};var ul=function(a,e){return(k(a)?Ja:yd)(a,cl(e))};var pl=function(a,e){for(var t=null==a?0:a.length;t--&&!1!==e(a[t],t,a););return a},zl=zd(!0);var ml=function(a,e){return a&&zl(a,e,Mt)},gl=fd(ml,!0);var fl=function(a,e){return(k(a)?pl:gl)(a,cl(e))};var yl=function(a,e,t){a=Ci(a),e=E(e);var i=a.length,n=t=void 0===t?i:gr(F(t),0,i);return(t-=e.length)>=0&&a.slice(t,n)==e};var wl=function(a,e){return v(e,function(e){return[e,a[e]]})};var bl=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a){t[++e]=[a,a]}),t},hl="[object Map]",vl="[object Set]";var kl=function(a){return function(e){var t=Yr(e);return t==hl?ms(e):t==vl?bl(e):wl(e,a(e))}},_l=kl(Mt),jl=kl(Ft),Tl=Rn({"&":"&","<":"<",">":">",'"':""","'":"'"}),El=/[&<>"']/g,Al=RegExp(El.source);var xl=function(a){return(a=Ci(a))&&Al.test(a)?a.replace(El,Tl):a},Sl=/[\\^$.*+?()[\]{}|]/g,Ol=RegExp(Sl.source);var Cl=function(a){return(a=Ci(a))&&Ol.test(a)?a.replace(Sl,"\\$&"):a};var Rl=function(a,e){for(var t=-1,i=null==a?0:a.length;++t<i;)if(!e(a[t],t,a))return!1;return!0};var Pl=function(a,e){var t=!0;return yd(a,function(a,i,n){return t=!!e(a,i,n)}),t};var Ml=function(a,e,t){var i=k(a)?Rl:Pl;return t&&ct(a,e,t)&&(e=void 0),i(a,nd(e,3))},Nl=4294967295;var ql=function(a){return a?gr(F(a),0,Nl):0};var Il=function(a,e,t,i){var n=a.length;for((t=F(t))<0&&(t=-t>n?0:n+t),(i=void 0===i||i>n?n:F(i))<0&&(i+=n),i=t>i?0:ql(i);t<i;)a[t++]=e;return a};var Dl=function(a,e,t,i){var n=null==a?0:a.length;return n?(t&&"number"!=typeof t&&ct(a,e,t)&&(t=0,i=n),Il(a,e,t,i)):[]};var Ll=function(a,e){var t=[];return yd(a,function(a,i,n){e(a,i,n)&&t.push(a)}),t};var Fl=function(a,e){return(k(a)?xr:Ll)(a,nd(e,3))};var Bl=function(a){return function(e,t,i){var n=Object(e);if(!lt(e)){var r=nd(t,3);e=Mt(e),t=function(a){return r(n[a],a,n)}}var o=a(e,t,i);return o>-1?n[r?e[o]:o]:void 0}},Ul=Math.max;var Hl=function(a,e,t){var i=null==a?0:a.length;if(!i)return-1;var n=null==t?0:F(t);return n<0&&(n=Ul(i+n,0)),ae(a,nd(e,3),n)},$l=Bl(Hl);var Wl=function(a,e,t){var i;return t(a,function(a,t,n){if(e(a,t,n))return i=t,!1}),i};var Kl=function(a,e){return Wl(a,nd(e,3),gd)},Gl=Math.max,Yl=Math.min;var Vl=function(a,e,t){var i=null==a?0:a.length;if(!i)return-1;var n=i-1;return void 0!==t&&(n=F(t),n=t<0?Gl(i+n,0):Yl(n,i-1)),ae(a,nd(e,3),n,!0)},Ql=Bl(Vl);var Xl=function(a,e){return Wl(a,nd(e,3),ml)};var Zl=function(a){return a&&a.length?a[0]:void 0};var Jl=function(a,e){var t=-1,i=lt(a)?Array(a.length):[];return yd(a,function(a,n,r){i[++t]=e(a,n,r)}),i};var ac=function(a,e){return(k(a)?v:Jl)(a,nd(e,3))};var ec=function(a,e){return Bi(ac(a,e),1)},tc=1/0;var ic=function(a,e){return Bi(ac(a,e),tc)};var nc=function(a,e,t){return t=void 0===t?1:F(t),Bi(ac(a,e),t)},rc=1/0;var oc=function(a){return null!=a&&a.length?Bi(a,rc):[]};var sc=function(a,e){return null!=a&&a.length?(e=void 0===e?1:F(e),Bi(a,e)):[]},dc=512;var lc=function(a){return Qe(a,dc)},cc=lr("floor"),uc="Expected a function",pc=8,zc=32,mc=128,gc=256;var fc=function(a){return Hi(function(e){var t=e.length,i=t,n=Pa.prototype.thru;for(a&&e.reverse();i--;){var r=e[i];if("function"!=typeof r)throw new TypeError(uc);if(n&&!o&&"wrapper"==Ca(r))var o=new Pa([],!0)}for(i=o?i:t;++i<t;){r=e[i];var s=Ca(r),d="wrapper"==s?xa(r):void 0;o=d&&La(d[0])&&d[1]==(mc|pc|zc|gc)&&!d[4].length&&1==d[9]?o[Ca(d[0])].apply(o,d[3]):1==r.length&&La(r)?o[s]():o.thru(r)}return function(){var a=arguments,i=a[0];if(o&&1==a.length&&k(i))return o.plant(i).value();for(var n=0,r=t?e[n].apply(this,a):i;++n<t;)r=e[n].call(this,r);return r}})},yc=fc(),wc=fc(!0);var bc=function(a,e){return null==a?a:md(a,cl(e),Ft)};var hc=function(a,e){return null==a?a:zl(a,cl(e),Ft)};var vc=function(a,e){return a&&gd(a,cl(e))};var kc=function(a,e){return a&&ml(a,cl(e))};var _c=function(a){for(var e=-1,t=null==a?0:a.length,i={};++e<t;){var n=a[e];i[n[0]]=n[1]}return i};var jc=function(a,e){return xr(e,function(e){return Y(a[e])})};var Tc=function(a){return null==a?[]:jc(a,Mt(a))};var Ec=function(a){return null==a?[]:jc(a,Ft(a))},Ac=Object.prototype.hasOwnProperty,xc=bd(function(a,e,t){Ac.call(a,t)?a[t].push(e):Je(a,t,[e])});var Sc=function(a,e){return a>e};var Oc=function(a){return function(e,t){return"string"==typeof e&&"string"==typeof t||(e=q(e),t=q(t)),a(e,t)}},Cc=Oc(Sc),Rc=Oc(function(a,e){return a>=e}),Pc=Object.prototype.hasOwnProperty;var Mc=function(a,e){return null!=a&&Pc.call(a,e)};var Nc=function(a,e){return null!=a&&Qs(a,e,Mc)},qc=Math.max,Ic=Math.min;var Dc=function(a,e,t){return a>=Ic(e,t)&&a<qc(e,t)};var Lc=function(a,e,t){return e=L(e),void 0===t?(t=e,e=0):t=L(t),a=q(a),Dc(a,e,t)},Fc="[object String]";var Bc=function(a){return"string"==typeof a||!k(a)&&f(a)&&g(a)==Fc};var Uc=function(a,e){return v(e,function(e){return a[e]})};var Hc=function(a){return null==a?[]:Uc(a,Mt(a))},$c=Math.max;var Wc=function(a,e,t,i){a=lt(a)?a:Hc(a),t=t&&!i?F(t):0;var n=a.length;return t<0&&(t=$c(n+t,0)),Bc(a)?t<=n&&a.indexOf(e,t)>-1:!!n&&ie(a,e,t)>-1},Kc=Math.max;var Gc=function(a,e,t){var i=null==a?0:a.length;if(!i)return-1;var n=null==t?0:F(t);return n<0&&(n=Kc(i+n,0)),ie(a,e,n)};var Yc=function(a){return null!=a&&a.length?un(a,0,-1):[]},Vc=Math.min;var Qc=function(a,e,t){for(var i=t?Xd:ne,n=a[0].length,r=a.length,o=r,s=Array(r),d=1/0,l=[];o--;){var c=a[o];o&&e&&(c=v(c,jt(e))),d=Vc(c.length,d),s[o]=!t&&(e||n>=120&&c.length>=120)?new ds(o&&c):void 0}c=a[0];var u=-1,p=s[0];a:for(;++u<n&&l.length<d;){var z=c[u],m=e?e(z):z;if(z=t||0!==z?z:0,!(p?cs(p,m):i(l,m,t))){for(o=r;--o;){var g=s[o];if(!(g?cs(g,m):i(a[o],m,t)))continue a}p&&p.push(m),l.push(z)}}return l};var Xc=function(a){return Ld(a)?a:[]},Zc=ot(function(a){var e=v(a,Xc);return e.length&&e[0]===a[0]?Qc(e):[]}),Jc=ot(function(a){var e=el(a),t=v(a,Xc);return e===el(t)?e=void 0:t.pop(),t.length&&t[0]===a[0]?Qc(t,nd(e,2)):[]}),au=ot(function(a){var e=el(a),t=v(a,Xc);return(e="function"==typeof e?e:void 0)&&t.pop(),t.length&&t[0]===a[0]?Qc(t,void 0,e):[]});var eu=function(a,e,t,i){return gd(a,function(a,n,r){e(i,t(a),n,r)}),i};var tu=function(a,e){return function(t,i){return eu(t,a,e(i),{})}},iu=Object.prototype.toString,nu=tu(function(a,e,t){null!=e&&"function"!=typeof e.toString&&(e=iu.call(e)),a[e]=t},Qa(H)),ru=Object.prototype,ou=ru.hasOwnProperty,su=ru.toString,du=tu(function(a,e,t){null!=e&&"function"!=typeof e.toString&&(e=su.call(e)),ou.call(a,e)?a[e].push(t):a[e]=[t]},nd);var lu=function(a,e){return e.length<2?a:Ni(a,un(e,0,-1))};var cu=function(a,e,t){e=Ri(e,a);var i=null==(a=lu(a,e))?a:a[Mi(el(e))];return null==i?void 0:ya(i,a,t)},uu=ot(cu),pu=ot(function(a,e,t){var i=-1,n="function"==typeof e,r=lt(a)?Array(a.length):[];return yd(a,function(a){r[++i]=n?ya(e,a,t):cu(a,e,t)}),r}),zu="[object ArrayBuffer]";var mu=function(a){return f(a)&&g(a)==zu},gu=Tt.a&&Tt.a.isArrayBuffer,fu=gu?jt(gu):mu,yu="[object Boolean]";var wu=function(a){return!0===a||!1===a||f(a)&&g(a)==yu},bu="[object Date]";var hu=function(a){return f(a)&&g(a)==bu},vu=Tt.a&&Tt.a.isDate,ku=vu?jt(vu):hu;var _u=function(a){return f(a)&&1===a.nodeType&&!Zi(a)},ju="[object Map]",Tu="[object Set]",Eu=Object.prototype.hasOwnProperty;var Au=function(a){if(null==a)return!0;if(lt(a)&&(k(a)||"string"==typeof a||"function"==typeof a.splice||Object(vt.a)(a)||At(a)||ht(a)))return!a.length;var e=Yr(a);if(e==ju||e==Tu)return!a.size;if(zt(a))return!Pt(a).length;for(var t in a)if(Eu.call(a,t))return!1;return!0};var xu=function(a,e){return Bs(a,e)};var Su=function(a,e,t){var i=(t="function"==typeof t?t:void 0)?t(a,e):void 0;return void 0===i?Bs(a,e,void 0,t):!!i},Ou=i.a.isFinite;var Cu=function(a){return"number"==typeof a&&Ou(a)};var Ru=function(a){return"number"==typeof a&&a==F(a)};var Pu=function(a,e){return a===e||$s(a,e,Ks(e))};var Mu=function(a,e,t){return t="function"==typeof t?t:void 0,$s(a,e,Ks(e),t)},Nu="[object Number]";var qu=function(a){return"number"==typeof a||f(a)&&g(a)==Nu};var Iu=function(a){return qu(a)&&a!=+a},Du=t(224),Lu=V?Y:Du.a,Fu="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";var Bu=function(a){if(Lu(a))throw new Error(Fu);return oa(a)};var Uu=function(a){return null==a};var Hu=function(a){return null===a},$u="[object RegExp]";var Wu=function(a){return f(a)&&g(a)==$u},Ku=Tt.a&&Tt.a.isRegExp,Gu=Ku?jt(Ku):Wu,Yu=9007199254740991;var Vu=function(a){return Ru(a)&&a>=-Yu&&a<=Yu};var Qu=function(a){return void 0===a},Xu="[object WeakMap]";var Zu=function(a){return f(a)&&Yr(a)==Xu},Ju="[object WeakSet]";var ap=function(a){return f(a)&&g(a)==Ju},ep=1;var tp=function(a){return nd("function"==typeof a?a:$o(a,ep))},ip=Array.prototype.join;var np=function(a,e){return null==a?"":ip.call(a,e)},rp=rr(function(a,e,t){return a+(t?"-":"")+e.toLowerCase()}),op=bd(function(a,e,t){Je(a,t,e)});var sp=function(a,e,t){for(var i=t+1;i--;)if(a[i]===e)return i;return i},dp=Math.max,lp=Math.min;var cp=function(a,e,t){var i=null==a?0:a.length;if(!i)return-1;var n=i;return void 0!==t&&(n=(n=F(t))<0?dp(i+n,0):lp(n,i-1)),e==e?sp(a,e,n):ae(a,ee,n,!0)},up=rr(function(a,e,t){return a+(t?" ":"")+e.toLowerCase()}),pp=xn("toLowerCase");var zp=function(a,e){return a<e},mp=Oc(zp),gp=Oc(function(a,e){return a<=e});var fp=function(a,e){var t={};return e=nd(e,3),gd(a,function(a,i,n){Je(t,e(a,i,n),a)}),t};var yp=function(a,e){var t={};return e=nd(e,3),gd(a,function(a,i,n){Je(t,i,e(a,i,n))}),t},wp=1;var bp=function(a){return Ys($o(a,wp))},hp=1;var vp=function(a,e){return ad(a,$o(e,hp))};var kp=function(a,e,t){for(var i=-1,n=a.length;++i<n;){var r=a[i],o=e(r);if(null!=o&&(void 0===s?o==o&&!w(o):t(o,s)))var s=o,d=r}return d};var _p=function(a){return a&&a.length?kp(a,H,Sc):void 0};var jp=function(a,e){return a&&a.length?kp(a,nd(e,2),Sc):void 0};var Tp=function(a,e){for(var t,i=-1,n=a.length;++i<n;){var r=e(a[i]);void 0!==r&&(t=void 0===t?r:t+r)}return t},Ep=NaN;var Ap=function(a,e){var t=null==a?0:a.length;return t?Tp(a,e)/t:Ep};var xp=function(a){return Ap(a,H)};var Sp=function(a,e){return Ap(a,nd(e,2))},Op=ut(function(a,e,t){Hd(a,e,t)}),Cp=ot(function(a,e){return function(t){return cu(t,a,e)}}),Rp=ot(function(a,e){return function(t){return cu(a,t,e)}});var Pp=function(a){return a&&a.length?kp(a,H,zp):void 0};var Mp=function(a,e){return a&&a.length?kp(a,nd(e,2),zp):void 0};var Np=function(a,e,t){var i=Mt(e),n=jc(e,i),r=!(S(t)&&"chain"in t&&!t.chain),o=Y(a);return Ja(n,function(t){var i=e[t];a[t]=i,o&&(a.prototype[t]=function(){var e=this.__chain__;if(r||e){var t=a(this.__wrapped__);return(t.__actions__=Ma(this.__actions__)).push({func:i,args:arguments,thisArg:a}),t.__chain__=e,t}return i.apply(a,Di([this.value()],arguments))})}),a},qp=A(function(a,e){return a*e},1),Ip="Expected a function";var Dp=function(a){if("function"!=typeof a)throw new TypeError(Ip);return function(){var e=arguments;switch(e.length){case 0:return!a.call(this);case 1:return!a.call(this,e[0]);case 2:return!a.call(this,e[0],e[1]);case 3:return!a.call(this,e[0],e[1],e[2])}return!a.apply(this,e)}};var Lp=function(a){for(var e,t=[];!(e=a.next()).done;)t.push(e.value);return t},Fp="[object Map]",Bp="[object Set]",Up=n?n.iterator:void 0;var Hp=function(a){if(!a)return[];if(lt(a))return Bc(a)?An(a):Ma(a);if(Up&&a[Up])return Lp(a[Up]());var e=Yr(a);return(e==Fp?ms:e==Bp?gs:Hc)(a)};var $p=function(){void 0===this.__values__&&(this.__values__=Hp(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?void 0:this.__values__[this.__index__++]}};var Wp=function(a,e){var t=a.length;if(t)return we(e+=e<0?t:0,t)?a[e]:void 0};var Kp=function(a,e){return a&&a.length?Wp(a,F(e)):void 0};var Gp=function(a){return a=F(a),ot(function(e){return Wp(e,a)})};var Yp=function(a,e){return e=Ri(e,a),null==(a=lu(a,e))||delete a[Mi(el(e))]};var Vp=function(a){return Zi(a)?void 0:a},Qp=Hi(function(a,e){var t={};if(null==a)return t;var i=!1;e=v(e,function(e){return e=Ri(e,a),i||(i=e.length>1),e}),it(a,Dr(a),t),i&&(t=$o(t,7,Vp));for(var n=e.length;n--;)Yp(t,e[n]);return t});var Xp=function(a,e,t,i){if(!S(a))return a;for(var n=-1,r=(e=Ri(e,a)).length,o=r-1,s=a;null!=s&&++n<r;){var d=Mi(e[n]),l=t;if(n!=o){var c=s[d];void 0===(l=i?i(c,d,s):void 0)&&(l=S(c)?c:we(e[n+1])?[]:{})}tt(s,d,l),s=s[d]}return a};var Zp=function(a,e,t){for(var i=-1,n=e.length,r={};++i<n;){var o=e[i],s=Ni(a,o);t(s,o)&&Xp(r,Ri(o,a),s)}return r};var Jp=function(a,e){if(null==a)return{};var t=v(Dr(a),function(a){return[a]});return e=nd(e),Zp(a,t,function(a,t){return e(a,t[0])})};var az=function(a,e){return Jp(a,Dp(nd(e)))};var ez=function(a){return rn(2,a)};var tz=function(a,e){var t=a.length;for(a.sort(e);t--;)a[t]=a[t].value;return a};var iz=function(a,e){if(a!==e){var t=void 0!==a,i=null===a,n=a==a,r=w(a),o=void 0!==e,s=null===e,d=e==e,l=w(e);if(!s&&!l&&!r&&a>e||r&&o&&d&&!s&&!l||i&&o&&d||!t&&d||!n)return 1;if(!i&&!r&&!l&&a<e||l&&t&&n&&!i&&!r||s&&t&&n||!o&&n||!d)return-1}return 0};var nz=function(a,e,t){for(var i=-1,n=a.criteria,r=e.criteria,o=n.length,s=t.length;++i<o;){var d=iz(n[i],r[i]);if(d)return i>=s?d:d*("desc"==t[i]?-1:1)}return a.index-e.index};var rz=function(a,e,t){var i=-1;e=v(e.length?e:[H],jt(nd));var n=Jl(a,function(a,t,n){return{criteria:v(e,function(e){return e(a)}),index:++i,value:a}});return tz(n,function(a,e){return nz(a,e,t)})};var oz=function(a,e,t,i){return null==a?[]:(k(e)||(e=null==e?[]:[e]),k(t=i?void 0:t)||(t=null==t?[]:[t]),rz(a,e,t))};var sz=function(a){return Hi(function(e){return e=v(e,jt(nd)),ot(function(t){var i=this;return a(e,function(a){return ya(a,i,t)})})})},dz=sz(v),lz=ot,cz=Math.min,uz=lz(function(a,e){var t=(e=1==e.length&&k(e[0])?v(e[0],jt(nd)):v(Bi(e,1),jt(nd))).length;return ot(function(i){for(var n=-1,r=cz(i.length,t);++n<r;)i[n]=e[n].call(this,i[n]);return ya(a,this,i)})}),pz=sz(Rl),zz=sz(ls),mz=9007199254740991,gz=Math.floor;var fz=function(a,e){var t="";if(!a||e<1||e>mz)return t;do{e%2&&(t+=a),(e=gz(e/2))&&(a+=a)}while(e);return t},yz=ed("length"),wz="[\\ud800-\\udfff]",bz="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",hz="[^\\ud800-\\udfff]",vz="(?:\\ud83c[\\udde6-\\uddff]){2}",kz="[\\ud800-\\udbff][\\udc00-\\udfff]",_z="(?:"+bz+"|\\ud83c[\\udffb-\\udfff])"+"?",jz="[\\ufe0e\\ufe0f]?"+_z+("(?:\\u200d(?:"+[hz,vz,kz].join("|")+")[\\ufe0e\\ufe0f]?"+_z+")*"),Tz="(?:"+[hz+bz+"?",bz,vz,kz,wz].join("|")+")",Ez=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+Tz+jz,"g");var Az=function(a){for(var e=Ez.lastIndex=0;Ez.test(a);)++e;return e};var xz=function(a){return mn(a)?Az(a):yz(a)},Sz=Math.ceil;var Oz=function(a,e){var t=(e=void 0===e?" ":E(e)).length;if(t<2)return t?fz(e,a):e;var i=fz(e,Sz(a/xz(e)));return mn(e)?pn(An(i),0,a).join(""):i.slice(0,a)},Cz=Math.ceil,Rz=Math.floor;var Pz=function(a,e,t){a=Ci(a);var i=(e=F(e))?xz(a):0;if(!e||i>=e)return a;var n=(e-i)/2;return Oz(Rz(n),t)+a+Oz(Cz(n),t)};var Mz=function(a,e,t){a=Ci(a);var i=(e=F(e))?xz(a):0;return e&&i<e?a+Oz(e-i,t):a};var Nz=function(a,e,t){a=Ci(a);var i=(e=F(e))?xz(a):0;return e&&i<e?Oz(e-i,t)+a:a},qz=/^\s+/,Iz=i.a.parseInt;var Dz=function(a,e,t){return t||null==e?e=0:e&&(e=+e),Iz(Ci(a).replace(qz,""),e||0)},Lz=ot(function(a,e){var t=ke(e,ge(Lz));return Qe(a,32,void 0,e,t)});Lz.placeholder={};var Fz=Lz,Bz=ot(function(a,e){var t=ke(e,ge(Bz));return Qe(a,64,void 0,e,t)});Bz.placeholder={};var Uz=Bz,Hz=bd(function(a,e,t){a[t?0:1].push(e)},function(){return[[],[]]});var $z=function(a,e){return Zp(a,e,function(e,t){return Xs(a,t)})},Wz=Hi(function(a,e){return null==a?{}:$z(a,e)});var Kz=function(a){for(var e,t=this;t instanceof _a;){var i=Na(t);i.__index__=0,i.__values__=void 0,e?n.__wrapped__=i:e=i;var n=i;t=t.__wrapped__}return n.__wrapped__=a,e};var Gz=function(a){return function(e){return null==a?void 0:Ni(a,e)}};var Yz=function(a,e,t,i){for(var n=t-1,r=a.length;++n<r;)if(i(a[n],e))return n;return-1},Vz=Array.prototype.splice;var Qz=function(a,e,t,i){var n=i?Yz:ie,r=-1,o=e.length,s=a;for(a===e&&(e=Ma(e)),t&&(s=v(a,jt(t)));++r<o;)for(var d=0,l=e[r],c=t?t(l):l;(d=n(s,c,d,i))>-1;)s!==a&&Vz.call(s,d,1),Vz.call(a,d,1);return a};var Xz=function(a,e){return a&&a.length&&e&&e.length?Qz(a,e):a},Zz=ot(Xz);var Jz=function(a,e,t){return a&&a.length&&e&&e.length?Qz(a,e,nd(t,2)):a};var am=function(a,e,t){return a&&a.length&&e&&e.length?Qz(a,e,void 0,t):a},em=Array.prototype.splice;var tm=function(a,e){for(var t=a?e.length:0,i=t-1;t--;){var n=e[t];if(t==i||n!==r){var r=n;we(n)?em.call(a,n,1):Yp(a,n)}}return a},im=Hi(function(a,e){var t=null==a?0:a.length,i=Ii(a,e);return tm(a,v(e,function(a){return we(a,t)?+a:a}).sort(iz)),i}),nm=Math.floor,rm=Math.random;var om=function(a,e){return a+nm(rm()*(e-a+1))},sm=parseFloat,dm=Math.min,lm=Math.random;var cm=function(a,e,t){if(t&&"boolean"!=typeof t&&ct(a,e,t)&&(e=t=void 0),void 0===t&&("boolean"==typeof e?(t=e,e=void 0):"boolean"==typeof a&&(t=a,a=void 0)),void 0===a&&void 0===e?(a=0,e=1):(a=L(a),void 0===e?(e=a,a=0):e=L(e)),a>e){var i=a;a=e,e=i}if(t||a%1||e%1){var n=lm();return dm(a+n*(e-a+sm("1e-"+((n+"").length-1))),e)}return om(a,e)},um=Math.ceil,pm=Math.max;var zm=function(a,e,t,i){for(var n=-1,r=pm(um((e-a)/(t||1)),0),o=Array(r);r--;)o[i?r:++n]=a,a+=t;return o};var mm=function(a){return function(e,t,i){return i&&"number"!=typeof i&&ct(e,t,i)&&(t=i=void 0),e=L(e),void 0===t?(t=e,e=0):t=L(t),i=void 0===i?e<t?1:-1:L(i),zm(e,t,i,a)}},gm=mm(),fm=mm(!0),ym=Hi(function(a,e){return Qe(a,256,void 0,void 0,void 0,e)});var wm=function(a,e,t,i,n){return n(a,function(a,n,r){t=i?(i=!1,a):e(t,a,n,r)}),t};var bm=function(a,e,t){var i=k(a)?Cn:wm,n=arguments.length<3;return i(a,nd(e,4),t,n,yd)};var hm=function(a,e,t,i){var n=null==a?0:a.length;for(i&&n&&(t=a[--n]);n--;)t=e(t,a[n],n,a);return t};var vm=function(a,e,t){var i=k(a)?hm:wm,n=arguments.length<3;return i(a,nd(e,4),t,n,gl)};var km=function(a,e){return(k(a)?xr:Ll)(a,Dp(nd(e,3)))};var _m=function(a,e){var t=[];if(!a||!a.length)return t;var i=-1,n=[],r=a.length;for(e=nd(e,3);++i<r;){var o=a[i];e(o,i,a)&&(t.push(o),n.push(i))}return tm(a,n),t};var jm=function(a,e,t){return e=(t?ct(a,e,t):void 0===e)?1:F(e),fz(Ci(a),e)};var Tm=function(){var a=arguments,e=Ci(a[0]);return a.length<3?e:e.replace(a[1],a[2])},Em="Expected a function";var Am=function(a,e){if("function"!=typeof a)throw new TypeError(Em);return e=void 0===e?e:F(e),ot(a,e)};var xm=function(a,e,t){var i=-1,n=(e=Ri(e,a)).length;for(n||(n=1,a=void 0);++i<n;){var r=null==a?void 0:a[Mi(e[i])];void 0===r&&(i=n,r=t),a=Y(r)?r.call(a):r}return a},Sm=Array.prototype.reverse;var Om=function(a){return null==a?a:Sm.call(a)},Cm=lr("round");var Rm=function(a){var e=a.length;return e?a[om(0,e-1)]:void 0};var Pm=function(a){return Rm(Hc(a))};var Mm=function(a){return(k(a)?Rm:Pm)(a)};var Nm=function(a,e){var t=-1,i=a.length,n=i-1;for(e=void 0===e?i:e;++t<e;){var r=om(t,n),o=a[r];a[r]=a[t],a[t]=o}return a.length=e,a};var qm=function(a,e){return Nm(Ma(a),gr(e,0,a.length))};var Im=function(a,e){var t=Hc(a);return Nm(t,gr(e,0,t.length))};var Dm=function(a,e,t){return e=(t?ct(a,e,t):void 0===e)?1:F(e),(k(a)?qm:Im)(a,e)};var Lm=function(a,e,t){return null==a?a:Xp(a,e,t)};var Fm=function(a,e,t,i){return i="function"==typeof i?i:void 0,null==a?a:Xp(a,e,t,i)};var Bm=function(a){return Nm(Ma(a))};var Um=function(a){return Nm(Hc(a))};var Hm=function(a){return(k(a)?Bm:Um)(a)},$m="[object Map]",Wm="[object Set]";var Km=function(a){if(null==a)return 0;if(lt(a))return Bc(a)?xz(a):a.length;var e=Yr(a);return e==$m||e==Wm?a.size:Pt(a).length};var Gm=function(a,e,t){var i=null==a?0:a.length;return i?(t&&"number"!=typeof t&&ct(a,e,t)?(e=0,t=i):(e=null==e?0:F(e),t=void 0===t?i:F(t)),un(a,e,t)):[]},Ym=rr(function(a,e,t){return a+(t?"_":"")+e.toLowerCase()});var Vm=function(a,e){var t;return yd(a,function(a,i,n){return!(t=e(a,i,n))}),!!t};var Qm=function(a,e,t){var i=k(a)?ls:Vm;return t&&ct(a,e,t)&&(e=void 0),i(a,nd(e,3))},Xm=ot(function(a,e){if(null==a)return[];var t=e.length;return t>1&&ct(a,e[0],e[1])?e=[]:t>2&&ct(e[0],e[1],e[2])&&(e=[e[0]]),rz(a,Bi(e,1),[])}),Zm=4294967294,Jm=Math.floor,ag=Math.min;var eg=function(a,e,t,i){e=t(e);for(var n=0,r=null==a?0:a.length,o=e!=e,s=null===e,d=w(e),l=void 0===e;n<r;){var c=Jm((n+r)/2),u=t(a[c]),p=void 0!==u,z=null===u,m=u==u,g=w(u);if(o)var f=i||m;else f=l?m&&(i||p):s?m&&p&&(i||!z):d?m&&p&&!z&&(i||!g):!z&&!g&&(i?u<=e:u<e);f?n=c+1:r=c}return ag(r,Zm)},tg=2147483647;var ig=function(a,e,t){var i=0,n=null==a?i:a.length;if("number"==typeof e&&e==e&&n<=tg){for(;i<n;){var r=i+n>>>1,o=a[r];null!==o&&!w(o)&&(t?o<=e:o<e)?i=r+1:n=r}return n}return eg(a,e,H,t)};var ng=function(a,e){return ig(a,e)};var rg=function(a,e,t){return eg(a,e,nd(t,2))};var og=function(a,e){var t=null==a?0:a.length;if(t){var i=ig(a,e);if(i<t&&at(a[i],e))return i}return-1};var sg=function(a,e){return ig(a,e,!0)};var dg=function(a,e,t){return eg(a,e,nd(t,2),!0)};var lg=function(a,e){if(null!=a&&a.length){var t=ig(a,e,!0)-1;if(at(a[t],e))return t}return-1};var cg=function(a,e){for(var t=-1,i=a.length,n=0,r=[];++t<i;){var o=a[t],s=e?e(o):o;if(!t||!at(s,d)){var d=s;r[n++]=0===o?0:o}}return r};var ug=function(a){return a&&a.length?cg(a):[]};var pg=function(a,e){return a&&a.length?cg(a,nd(e,2)):[]},zg=4294967295;var mg=function(a,e,t){return t&&"number"!=typeof t&&ct(a,e,t)&&(e=t=void 0),(t=void 0===t?zg:t>>>0)?(a=Ci(a))&&("string"==typeof e||null!=e&&!Gu(e))&&!(e=E(e))&&mn(a)?pn(An(a),0,t):a.split(e,t):[]},gg="Expected a function",fg=Math.max;var yg=function(a,e){if("function"!=typeof a)throw new TypeError(gg);return e=null==e?0:fg(F(e),0),ot(function(t){var i=t[e],n=pn(t,0,e);return i&&Di(n,i),ya(a,this,n)})},wg=rr(function(a,e,t){return a+(t?" ":"")+Sn(e)});var bg=function(a,e,t){return a=Ci(a),t=null==t?0:gr(F(t),0,a.length),e=E(e),a.slice(t,t+e.length)==e};var hg=function(){return{}};var vg=function(){return""};var kg=function(){return!0},_g=A(function(a,e){return a-e},0);var jg=function(a){return a&&a.length?Tp(a,H):0};var Tg=function(a,e){return a&&a.length?Tp(a,nd(e,2)):0};var Eg=function(a){var e=null==a?0:a.length;return e?un(a,1,e):[]};var Ag=function(a,e,t){return a&&a.length?(e=t||void 0===e?1:F(e),un(a,0,e<0?0:e)):[]};var xg=function(a,e,t){var i=null==a?0:a.length;return i?(e=t||void 0===e?1:F(e),un(a,(e=i-e)<0?0:e,i)):[]};var Sg=function(a,e){return a&&a.length?sl(a,nd(e,3),!1,!0):[]};var Og=function(a,e){return a&&a.length?sl(a,nd(e,3)):[]};var Cg=function(a,e){return e(a),a},Rg=Object.prototype,Pg=Rg.hasOwnProperty;var Mg=function(a,e,t,i){return void 0===a||at(a,Rg[t])&&!Pg.call(i,t)?e:a},Ng={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var qg=function(a){return"\\"+Ng[a]},Ig=/<%=([\s\S]+?)%>/g,Dg={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:Ig,variable:"",imports:{_:{escape:xl}}},Lg=/\b__p \+= '';/g,Fg=/\b(__p \+=) '' \+/g,Bg=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ug=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Hg=/($^)/,$g=/['\n\r\u2028\u2029\\]/g;var Wg=function(a,e,t){var i=Dg.imports._.templateSettings||Dg;t&&ct(a,e,t)&&(e=void 0),a=Ci(a),e=Ut({},e,i,Mg);var n,r,o=Ut({},e.imports,i.imports,Mg),s=Mt(o),d=Uc(o,s),l=0,c=e.interpolate||Hg,u="__p += '",p=RegExp((e.escape||Hg).source+"|"+c.source+"|"+(c===Ig?Ug:Hg).source+"|"+(e.evaluate||Hg).source+"|$","g"),z="sourceURL"in e?"//# sourceURL="+e.sourceURL+"\n":"";a.replace(p,function(e,t,i,o,s,d){return i||(i=o),u+=a.slice(l,d).replace($g,qg),t&&(n=!0,u+="' +\n__e("+t+") +\n'"),s&&(r=!0,u+="';\n"+s+";\n__p += '"),i&&(u+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),l=d+e.length,e}),u+="';\n";var m=e.variable;m||(u="with (obj) {\n"+u+"\n}\n"),u=(r?u.replace(Lg,""):u).replace(Fg,"$1").replace(Bg,"$1;"),u="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(n?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+u+"return __p\n}";var g=tn(function(){return Function(s,z+"return "+u).apply(void 0,d)});if(g.source=u,en(g))throw g;return g},Kg="Expected a function";var Gg=function(a,e,t){var i=!0,n=!0;if("function"!=typeof a)throw new TypeError(Kg);return S(t)&&(i="leading"in t?!!t.leading:i,n="trailing"in t?!!t.trailing:n),Pd(a,e,{leading:i,maxWait:e,trailing:n})};var Yg=function(a,e){return e(a)},Vg=9007199254740991,Qg=4294967295,Xg=Math.min;var Zg=function(a,e){if((a=F(a))<1||a>Vg)return[];var t=Qg,i=Xg(a,Qg);e=cl(e),a-=Qg;for(var n=mt(i,e);++t<a;)e(t);return n};var Jg=function(){return this};var af=function(a,e){var t=a;return t instanceof Ea&&(t=t.value()),Cn(e,function(a,e){return e.func.apply(e.thisArg,Di([a],e.args))},t)};var ef=function(){return af(this.__wrapped__,this.__actions__)};var tf=function(a){return Ci(a).toLowerCase()};var nf=function(a){return k(a)?v(a,Mi):w(a)?[a]:Ma(Oi(Ci(a)))},rf=9007199254740991;var of=function(a){return a?gr(F(a),-rf,rf):0===a?a:0};var sf=function(a){return Ci(a).toUpperCase()};var df=function(a,e,t){var i=k(a),n=i||Object(vt.a)(a)||At(a);if(e=nd(e,4),null==t){var r=a&&a.constructor;t=n?i?new r:[]:S(a)&&Y(r)?za(Wi(a)):{}}return(n?Ja:gd)(a,function(a,i,n){return e(t,a,i,n)}),t};var lf=function(a,e){for(var t=a.length;t--&&ie(e,a[t],0)>-1;);return t};var cf=function(a,e){for(var t=-1,i=a.length;++t<i&&ie(e,a[t],0)>-1;);return t},uf=/^\s+|\s+$/g;var pf=function(a,e,t){if((a=Ci(a))&&(t||void 0===e))return a.replace(uf,"");if(!a||!(e=E(e)))return a;var i=An(a),n=An(e),r=cf(i,n),o=lf(i,n)+1;return pn(i,r,o).join("")},zf=/\s+$/;var mf=function(a,e,t){if((a=Ci(a))&&(t||void 0===e))return a.replace(zf,"");if(!a||!(e=E(e)))return a;var i=An(a),n=lf(i,An(e))+1;return pn(i,0,n).join("")},gf=/^\s+/;var ff=function(a,e,t){if((a=Ci(a))&&(t||void 0===e))return a.replace(gf,"");if(!a||!(e=E(e)))return a;var i=An(a),n=cf(i,An(e));return pn(i,n).join("")},yf=30,wf="...",bf=/\w*$/;var hf=function(a,e){var t=yf,i=wf;if(S(e)){var n="separator"in e?e.separator:n;t="length"in e?F(e.length):t,i="omission"in e?E(e.omission):i}var r=(a=Ci(a)).length;if(mn(a)){var o=An(a);r=o.length}if(t>=r)return a;var s=t-xz(i);if(s<1)return i;var d=o?pn(o,0,s).join(""):a.slice(0,s);if(void 0===n)return d+i;if(o&&(s+=d.length-s),Gu(n)){if(a.slice(s).search(n)){var l,c=d;for(n.global||(n=RegExp(n.source,Ci(bf.exec(n))+"g")),n.lastIndex=0;l=n.exec(c);)var u=l.index;d=d.slice(0,void 0===u?s:u)}}else if(a.indexOf(E(n),s)!=s){var p=d.lastIndexOf(n);p>-1&&(d=d.slice(0,p))}return d+i};var vf=function(a){return Ze(a,1)},kf=Rn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),_f=/&(?:amp|lt|gt|quot|#39);/g,jf=RegExp(_f.source);var Tf=function(a){return(a=Ci(a))&&jf.test(a)?a.replace(_f,kf):a},Ef=Br&&1/gs(new Br([,-0]))[1]==1/0?function(a){return new Br(a)}:Aa,Af=200;var xf=function(a,e,t){var i=-1,n=ne,r=a.length,o=!0,s=[],d=s;if(t)o=!1,n=Xd;else if(r>=Af){var l=e?null:Ef(a);if(l)return gs(l);o=!1,n=cs,d=new ds}else d=e?[]:s;a:for(;++i<r;){var c=a[i],u=e?e(c):c;if(c=t||0!==c?c:0,o&&u==u){for(var p=d.length;p--;)if(d[p]===u)continue a;e&&d.push(u),s.push(c)}else n(d,u,t)||(d!==s&&d.push(u),s.push(c))}return s},Sf=ot(function(a){return xf(Bi(a,1,Ld,!0))}),Of=ot(function(a){var e=el(a);return Ld(e)&&(e=void 0),xf(Bi(a,1,Ld,!0),nd(e,2))}),Cf=ot(function(a){var e=el(a);return e="function"==typeof e?e:void 0,xf(Bi(a,1,Ld,!0),void 0,e)});var Rf=function(a){return a&&a.length?xf(a):[]};var Pf=function(a,e){return a&&a.length?xf(a,nd(e,2)):[]};var Mf=function(a,e){return e="function"==typeof e?e:void 0,a&&a.length?xf(a,void 0,e):[]},Nf=0;var qf=function(a){var e=++Nf;return Ci(a)+e};var If=function(a,e){return null==a||Yp(a,e)},Df=Math.max;var Lf=function(a){if(!a||!a.length)return[];var e=0;return a=xr(a,function(a){if(Ld(a))return e=Df(a.length,e),!0}),mt(e,function(e){return v(a,ed(e))})};var Ff=function(a,e){if(!a||!a.length)return[];var t=Lf(a);return null==e?t:v(t,function(a){return ya(e,void 0,a)})};var Bf=function(a,e,t,i){return Xp(a,e,t(Ni(a,e)),i)};var Uf=function(a,e,t){return null==a?a:Bf(a,e,cl(t))};var Hf=function(a,e,t,i){return i="function"==typeof i?i:void 0,null==a?a:Bf(a,e,cl(t),i)},$f=rr(function(a,e,t){return a+(t?" ":"")+e.toUpperCase()});var Wf=function(a){return null==a?[]:Uc(a,Ft(a))},Kf=ot(function(a,e){return Ld(a)?Jd(a,e):[]});var Gf=function(a,e){return Fz(cl(e),a)},Yf=Hi(function(a){var e=a.length,t=e?a[0]:0,i=this.__wrapped__,n=function(e){return Ii(e,a)};return!(e>1||this.__actions__.length)&&i instanceof Ea&&we(t)?((i=i.slice(t,+t+(e?1:0))).__actions__.push({func:Yg,args:[n],thisArg:void 0}),new Pa(i,this.__chain__).thru(function(a){return e&&!a.length&&a.push(void 0),a})):this.thru(n)});var Vf=function(){return ur(this)};var Qf=function(){var a=this.__wrapped__;if(a instanceof Ea){var e=a;return this.__actions__.length&&(e=new Ea(this)),(e=e.reverse()).__actions__.push({func:Yg,args:[Om],thisArg:void 0}),new Pa(e,this.__chain__)}return this.thru(Om)};var Xf=function(a,e,t){var i=a.length;if(i<2)return i?xf(a[0]):[];for(var n=-1,r=Array(i);++n<i;)for(var o=a[n],s=-1;++s<i;)s!=n&&(r[n]=Jd(r[n]||o,a[s],e,t));return xf(Bi(r,1),e,t)},Zf=ot(function(a){return Xf(xr(a,Ld))}),Jf=ot(function(a){var e=el(a);return Ld(e)&&(e=void 0),Xf(xr(a,Ld),nd(e,2))}),ay=ot(function(a){var e=el(a);return e="function"==typeof e?e:void 0,Xf(xr(a,Ld),void 0,e)}),ey=ot(Lf);var ty=function(a,e,t){for(var i=-1,n=a.length,r=e.length,o={};++i<n;){var s=i<r?e[i]:void 0;t(o,a[i],s)}return o};var iy=function(a,e){return ty(a||[],e||[],tt)};var ny=function(a,e){return ty(a||[],e||[],Xp)},ry=ot(function(a){var e=a.length,t=e>1?a[e-1]:void 0;return t="function"==typeof t?(a.pop(),t):void 0,Ff(a,t)}),oy={chunk:mr,compact:ts,concat:is,difference:al,differenceBy:tl,differenceWith:il,drop:rl,dropRight:ol,dropRightWhile:dl,dropWhile:ll,fill:Dl,findIndex:Hl,findLastIndex:Vl,first:Zl,flatten:Ui,flattenDeep:oc,flattenDepth:sc,fromPairs:_c,head:Zl,indexOf:Gc,initial:Yc,intersection:Zc,intersectionBy:Jc,intersectionWith:au,join:np,last:el,lastIndexOf:cp,nth:Kp,pull:Zz,pullAll:Xz,pullAllBy:Jz,pullAllWith:am,pullAt:im,remove:_m,reverse:Om,slice:Gm,sortedIndex:ng,sortedIndexBy:rg,sortedIndexOf:og,sortedLastIndex:sg,sortedLastIndexBy:dg,sortedLastIndexOf:lg,sortedUniq:ug,sortedUniqBy:pg,tail:Eg,take:Ag,takeRight:xg,takeRightWhile:Sg,takeWhile:Og,union:Sf,unionBy:Of,unionWith:Cf,uniq:Rf,uniqBy:Pf,uniqWith:Mf,unzip:Lf,unzipWith:Ff,without:Kf,xor:Zf,xorBy:Jf,xorWith:ay,zip:ey,zipObject:iy,zipObjectDeep:ny,zipWith:ry},sy={countBy:vd,each:ul,eachRight:fl,every:Ml,filter:Fl,find:$l,findLast:Ql,flatMap:ec,flatMapDeep:ic,flatMapDepth:nc,forEach:ul,forEachRight:fl,groupBy:xc,includes:Wc,invokeMap:pu,keyBy:op,map:ac,orderBy:oz,partition:Hz,reduce:bm,reduceRight:vm,reject:km,sample:Mm,sampleSize:Dm,shuffle:Hm,size:Km,some:Qm,sortBy:Xm},dy={now:Sd},ly={after:U,ary:Ze,before:rn,bind:sn,bindKey:cn,curry:Td,curryRight:xd,debounce:Pd,defer:Vd,delay:Qd,flip:lc,memoize:Ei,negate:Dp,once:ez,overArgs:uz,partial:Fz,partialRight:Uz,rearg:ym,rest:Am,spread:yg,throttle:Gg,unary:vf,wrap:Gf},cy={castArray:sr,clone:Ko,cloneDeep:Vo,cloneDeepWith:Zo,cloneWith:as,conformsTo:ud,eq:at,gt:Cc,gte:Rc,isArguments:ht,isArray:k,isArrayBuffer:fu,isArrayLike:lt,isArrayLikeObject:Ld,isBoolean:wu,isBuffer:vt.a,isDate:ku,isElement:_u,isEmpty:Au,isEqual:xu,isEqualWith:Su,isError:en,isFinite:Cu,isFunction:Y,isInteger:Ru,isLength:dt,isMap:Co,isMatch:Pu,isMatchWith:Mu,isNaN:Iu,isNative:Bu,isNil:Uu,isNull:Hu,isNumber:qu,isObject:S,isObjectLike:f,isPlainObject:Zi,isRegExp:Gu,isSafeInteger:Vu,isSet:No,isString:Bc,isSymbol:w,isTypedArray:At,isUndefined:Qu,isWeakMap:Zu,isWeakSet:ap,lt:mp,lte:gp,toArray:Hp,toFinite:L,toInteger:F,toLength:ql,toNumber:q,toPlainObject:Bd,toSafeInteger:of,toString:Ci},uy={add:x,ceil:cr,divide:nl,floor:cc,max:_p,maxBy:jp,mean:xp,meanBy:Sp,min:Pp,minBy:Mp,multiply:qp,round:Cm,subtract:_g,sum:jg,sumBy:Tg},py={clamp:fr,inRange:Lc,random:cm},zy={assign:qt,assignIn:Bt,assignInWith:Ut,assignWith:Ht,at:$i,create:kd,defaults:Id,defaultsDeep:Kd,entries:_l,entriesIn:jl,extend:Bt,extendWith:Ut,findKey:Kl,findLastKey:Xl,forIn:bc,forInRight:hc,forOwn:vc,forOwnRight:kc,functions:Tc,functionsIn:Ec,get:qi,has:Nc,hasIn:Xs,invert:nu,invertBy:du,invoke:uu,keys:Mt,keysIn:Ft,mapKeys:fp,mapValues:yp,merge:Op,mergeWith:Wd,omit:Qp,omitBy:az,pick:Wz,pickBy:Jp,result:xm,set:Lm,setWith:Fm,toPairs:_l,toPairsIn:jl,transform:df,unset:If,update:Uf,updateWith:Hf,values:Hc,valuesIn:Wf},my={at:Yf,chain:ur,commit:es,lodash:Da,next:$p,plant:Kz,reverse:Qf,tap:Cg,thru:Yg,toIterator:Jg,toJSON:ef,value:ef,valueOf:ef,wrapperChain:Vf},gy={camelCase:or,capitalize:On,deburr:qn,endsWith:yl,escape:xl,escapeRegExp:Cl,kebabCase:rp,lowerCase:up,lowerFirst:pp,pad:Pz,padEnd:Mz,padStart:Nz,parseInt:Dz,repeat:jm,replace:Tm,snakeCase:Ym,split:mg,startCase:wg,startsWith:bg,template:Wg,templateSettings:Dg,toLower:tf,toUpper:sf,trim:pf,trimEnd:mf,trimStart:ff,truncate:hf,unescape:Tf,upperCase:$f,upperFirst:Sn,words:ir},fy={attempt:tn,bindAll:dn,cond:od,conforms:cd,constant:Qa,defaultTo:Md,flow:yc,flowRight:wc,identity:H,iteratee:tp,matches:bp,matchesProperty:vp,method:Cp,methodOf:Rp,mixin:Np,noop:Aa,nthArg:Gp,over:dz,overEvery:pz,overSome:zz,property:id,propertyOf:Gz,range:gm,rangeRight:fm,stubArray:Sr,stubFalse:Du.a,stubObject:hg,stubString:vg,stubTrue:kg,times:Zg,toPath:nf,uniqueId:qf};var yy=function(){var a=new Ea(this.__wrapped__);return a.__actions__=Ma(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Ma(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Ma(this.__views__),a};var wy=function(){if(this.__filtered__){var a=new Ea(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},by=Math.max,hy=Math.min;var vy=function(a,e,t){for(var i=-1,n=t.length;++i<n;){var r=t[i],o=r.size;switch(r.type){case"drop":a+=o;break;case"dropRight":e-=o;break;case"take":e=hy(e,a+o);break;case"takeRight":a=by(a,e-o)}}return{start:a,end:e}},ky=1,_y=2,jy=Math.min;var Ty=function(){var a=this.__wrapped__.value(),e=this.__dir__,t=k(a),i=e<0,n=t?a.length:0,r=vy(0,n,this.__views__),o=r.start,s=r.end,d=s-o,l=i?s:o-1,c=this.__iteratees__,u=c.length,p=0,z=jy(d,this.__takeCount__);if(!t||!i&&n==d&&z==d)return af(a,this.__actions__);var m=[];a:for(;d--&&p<z;){for(var g=-1,f=a[l+=e];++g<u;){var y=c[g],w=y.iteratee,b=y.type,h=w(f);if(b==_y)f=h;else if(!h){if(b==ky)continue a;break a}}m[p++]=f}return m},Ey=Array.prototype,Ay=Object.prototype.hasOwnProperty,xy=n?n.iterator:void 0,Sy=Math.max,Oy=Math.min,Cy=function(a){return function(e,t,i){if(null==i){var n=S(t),r=n&&Mt(t),o=r&&r.length&&jc(t,r);(o?o.length:n)||(i=t,t=e,e=this)}return a(e,t,i)}}(Np);
|
2 |
-
/**
|
3 |
-
* @license
|
4 |
-
* Lodash (Custom Build) <https://lodash.com/>
|
5 |
-
* Build: `lodash modularize exports="es" -o ./`
|
6 |
-
* Copyright JS Foundation and other contributors <https://js.foundation/>
|
7 |
-
* Released under MIT license <https://lodash.com/license>
|
8 |
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
9 |
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
10 |
-
*/Da.after=ly.after,Da.ary=ly.ary,Da.assign=zy.assign,Da.assignIn=zy.assignIn,Da.assignInWith=zy.assignInWith,Da.assignWith=zy.assignWith,Da.at=zy.at,Da.before=ly.before,Da.bind=ly.bind,Da.bindAll=fy.bindAll,Da.bindKey=ly.bindKey,Da.castArray=cy.castArray,Da.chain=my.chain,Da.chunk=oy.chunk,Da.compact=oy.compact,Da.concat=oy.concat,Da.cond=fy.cond,Da.conforms=fy.conforms,Da.constant=fy.constant,Da.countBy=sy.countBy,Da.create=zy.create,Da.curry=ly.curry,Da.curryRight=ly.curryRight,Da.debounce=ly.debounce,Da.defaults=zy.defaults,Da.defaultsDeep=zy.defaultsDeep,Da.defer=ly.defer,Da.delay=ly.delay,Da.difference=oy.difference,Da.differenceBy=oy.differenceBy,Da.differenceWith=oy.differenceWith,Da.drop=oy.drop,Da.dropRight=oy.dropRight,Da.dropRightWhile=oy.dropRightWhile,Da.dropWhile=oy.dropWhile,Da.fill=oy.fill,Da.filter=sy.filter,Da.flatMap=sy.flatMap,Da.flatMapDeep=sy.flatMapDeep,Da.flatMapDepth=sy.flatMapDepth,Da.flatten=oy.flatten,Da.flattenDeep=oy.flattenDeep,Da.flattenDepth=oy.flattenDepth,Da.flip=ly.flip,Da.flow=fy.flow,Da.flowRight=fy.flowRight,Da.fromPairs=oy.fromPairs,Da.functions=zy.functions,Da.functionsIn=zy.functionsIn,Da.groupBy=sy.groupBy,Da.initial=oy.initial,Da.intersection=oy.intersection,Da.intersectionBy=oy.intersectionBy,Da.intersectionWith=oy.intersectionWith,Da.invert=zy.invert,Da.invertBy=zy.invertBy,Da.invokeMap=sy.invokeMap,Da.iteratee=fy.iteratee,Da.keyBy=sy.keyBy,Da.keys=Mt,Da.keysIn=zy.keysIn,Da.map=sy.map,Da.mapKeys=zy.mapKeys,Da.mapValues=zy.mapValues,Da.matches=fy.matches,Da.matchesProperty=fy.matchesProperty,Da.memoize=ly.memoize,Da.merge=zy.merge,Da.mergeWith=zy.mergeWith,Da.method=fy.method,Da.methodOf=fy.methodOf,Da.mixin=Cy,Da.negate=Dp,Da.nthArg=fy.nthArg,Da.omit=zy.omit,Da.omitBy=zy.omitBy,Da.once=ly.once,Da.orderBy=sy.orderBy,Da.over=fy.over,Da.overArgs=ly.overArgs,Da.overEvery=fy.overEvery,Da.overSome=fy.overSome,Da.partial=ly.partial,Da.partialRight=ly.partialRight,Da.partition=sy.partition,Da.pick=zy.pick,Da.pickBy=zy.pickBy,Da.property=fy.property,Da.propertyOf=fy.propertyOf,Da.pull=oy.pull,Da.pullAll=oy.pullAll,Da.pullAllBy=oy.pullAllBy,Da.pullAllWith=oy.pullAllWith,Da.pullAt=oy.pullAt,Da.range=fy.range,Da.rangeRight=fy.rangeRight,Da.rearg=ly.rearg,Da.reject=sy.reject,Da.remove=oy.remove,Da.rest=ly.rest,Da.reverse=oy.reverse,Da.sampleSize=sy.sampleSize,Da.set=zy.set,Da.setWith=zy.setWith,Da.shuffle=sy.shuffle,Da.slice=oy.slice,Da.sortBy=sy.sortBy,Da.sortedUniq=oy.sortedUniq,Da.sortedUniqBy=oy.sortedUniqBy,Da.split=gy.split,Da.spread=ly.spread,Da.tail=oy.tail,Da.take=oy.take,Da.takeRight=oy.takeRight,Da.takeRightWhile=oy.takeRightWhile,Da.takeWhile=oy.takeWhile,Da.tap=my.tap,Da.throttle=ly.throttle,Da.thru=Yg,Da.toArray=cy.toArray,Da.toPairs=zy.toPairs,Da.toPairsIn=zy.toPairsIn,Da.toPath=fy.toPath,Da.toPlainObject=cy.toPlainObject,Da.transform=zy.transform,Da.unary=ly.unary,Da.union=oy.union,Da.unionBy=oy.unionBy,Da.unionWith=oy.unionWith,Da.uniq=oy.uniq,Da.uniqBy=oy.uniqBy,Da.uniqWith=oy.uniqWith,Da.unset=zy.unset,Da.unzip=oy.unzip,Da.unzipWith=oy.unzipWith,Da.update=zy.update,Da.updateWith=zy.updateWith,Da.values=zy.values,Da.valuesIn=zy.valuesIn,Da.without=oy.without,Da.words=gy.words,Da.wrap=ly.wrap,Da.xor=oy.xor,Da.xorBy=oy.xorBy,Da.xorWith=oy.xorWith,Da.zip=oy.zip,Da.zipObject=oy.zipObject,Da.zipObjectDeep=oy.zipObjectDeep,Da.zipWith=oy.zipWith,Da.entries=zy.toPairs,Da.entriesIn=zy.toPairsIn,Da.extend=zy.assignIn,Da.extendWith=zy.assignInWith,Cy(Da,Da),Da.add=uy.add,Da.attempt=fy.attempt,Da.camelCase=gy.camelCase,Da.capitalize=gy.capitalize,Da.ceil=uy.ceil,Da.clamp=py.clamp,Da.clone=cy.clone,Da.cloneDeep=cy.cloneDeep,Da.cloneDeepWith=cy.cloneDeepWith,Da.cloneWith=cy.cloneWith,Da.conformsTo=cy.conformsTo,Da.deburr=gy.deburr,Da.defaultTo=fy.defaultTo,Da.divide=uy.divide,Da.endsWith=gy.endsWith,Da.eq=cy.eq,Da.escape=gy.escape,Da.escapeRegExp=gy.escapeRegExp,Da.every=sy.every,Da.find=sy.find,Da.findIndex=oy.findIndex,Da.findKey=zy.findKey,Da.findLast=sy.findLast,Da.findLastIndex=oy.findLastIndex,Da.findLastKey=zy.findLastKey,Da.floor=uy.floor,Da.forEach=sy.forEach,Da.forEachRight=sy.forEachRight,Da.forIn=zy.forIn,Da.forInRight=zy.forInRight,Da.forOwn=zy.forOwn,Da.forOwnRight=zy.forOwnRight,Da.get=zy.get,Da.gt=cy.gt,Da.gte=cy.gte,Da.has=zy.has,Da.hasIn=zy.hasIn,Da.head=oy.head,Da.identity=H,Da.includes=sy.includes,Da.indexOf=oy.indexOf,Da.inRange=py.inRange,Da.invoke=zy.invoke,Da.isArguments=cy.isArguments,Da.isArray=k,Da.isArrayBuffer=cy.isArrayBuffer,Da.isArrayLike=cy.isArrayLike,Da.isArrayLikeObject=cy.isArrayLikeObject,Da.isBoolean=cy.isBoolean,Da.isBuffer=cy.isBuffer,Da.isDate=cy.isDate,Da.isElement=cy.isElement,Da.isEmpty=cy.isEmpty,Da.isEqual=cy.isEqual,Da.isEqualWith=cy.isEqualWith,Da.isError=cy.isError,Da.isFinite=cy.isFinite,Da.isFunction=cy.isFunction,Da.isInteger=cy.isInteger,Da.isLength=cy.isLength,Da.isMap=cy.isMap,Da.isMatch=cy.isMatch,Da.isMatchWith=cy.isMatchWith,Da.isNaN=cy.isNaN,Da.isNative=cy.isNative,Da.isNil=cy.isNil,Da.isNull=cy.isNull,Da.isNumber=cy.isNumber,Da.isObject=S,Da.isObjectLike=cy.isObjectLike,Da.isPlainObject=cy.isPlainObject,Da.isRegExp=cy.isRegExp,Da.isSafeInteger=cy.isSafeInteger,Da.isSet=cy.isSet,Da.isString=cy.isString,Da.isSymbol=cy.isSymbol,Da.isTypedArray=cy.isTypedArray,Da.isUndefined=cy.isUndefined,Da.isWeakMap=cy.isWeakMap,Da.isWeakSet=cy.isWeakSet,Da.join=oy.join,Da.kebabCase=gy.kebabCase,Da.last=el,Da.lastIndexOf=oy.lastIndexOf,Da.lowerCase=gy.lowerCase,Da.lowerFirst=gy.lowerFirst,Da.lt=cy.lt,Da.lte=cy.lte,Da.max=uy.max,Da.maxBy=uy.maxBy,Da.mean=uy.mean,Da.meanBy=uy.meanBy,Da.min=uy.min,Da.minBy=uy.minBy,Da.stubArray=fy.stubArray,Da.stubFalse=fy.stubFalse,Da.stubObject=fy.stubObject,Da.stubString=fy.stubString,Da.stubTrue=fy.stubTrue,Da.multiply=uy.multiply,Da.nth=oy.nth,Da.noop=fy.noop,Da.now=dy.now,Da.pad=gy.pad,Da.padEnd=gy.padEnd,Da.padStart=gy.padStart,Da.parseInt=gy.parseInt,Da.random=py.random,Da.reduce=sy.reduce,Da.reduceRight=sy.reduceRight,Da.repeat=gy.repeat,Da.replace=gy.replace,Da.result=zy.result,Da.round=uy.round,Da.sample=sy.sample,Da.size=sy.size,Da.snakeCase=gy.snakeCase,Da.some=sy.some,Da.sortedIndex=oy.sortedIndex,Da.sortedIndexBy=oy.sortedIndexBy,Da.sortedIndexOf=oy.sortedIndexOf,Da.sortedLastIndex=oy.sortedLastIndex,Da.sortedLastIndexBy=oy.sortedLastIndexBy,Da.sortedLastIndexOf=oy.sortedLastIndexOf,Da.startCase=gy.startCase,Da.startsWith=gy.startsWith,Da.subtract=uy.subtract,Da.sum=uy.sum,Da.sumBy=uy.sumBy,Da.template=gy.template,Da.times=fy.times,Da.toFinite=cy.toFinite,Da.toInteger=F,Da.toLength=cy.toLength,Da.toLower=gy.toLower,Da.toNumber=cy.toNumber,Da.toSafeInteger=cy.toSafeInteger,Da.toString=cy.toString,Da.toUpper=gy.toUpper,Da.trim=gy.trim,Da.trimEnd=gy.trimEnd,Da.trimStart=gy.trimStart,Da.truncate=gy.truncate,Da.unescape=gy.unescape,Da.uniqueId=fy.uniqueId,Da.upperCase=gy.upperCase,Da.upperFirst=gy.upperFirst,Da.each=sy.forEach,Da.eachRight=sy.forEachRight,Da.first=oy.head,Cy(Da,function(){var a={};return gd(Da,function(e,t){Ay.call(Da.prototype,t)||(a[t]=e)}),a}(),{chain:!1}),Da.VERSION="4.17.11",(Da.templateSettings=gy.templateSettings).imports._=Da,Ja(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){Da[a].placeholder=Da}),Ja(["drop","take"],function(a,e){Ea.prototype[a]=function(t){t=void 0===t?1:Sy(F(t),0);var i=this.__filtered__&&!e?new Ea(this):this.clone();return i.__filtered__?i.__takeCount__=Oy(t,i.__takeCount__):i.__views__.push({size:Oy(t,4294967295),type:a+(i.__dir__<0?"Right":"")}),i},Ea.prototype[a+"Right"]=function(e){return this.reverse()[a](e).reverse()}}),Ja(["filter","map","takeWhile"],function(a,e){var t=e+1,i=1==t||3==t;Ea.prototype[a]=function(a){var e=this.clone();return e.__iteratees__.push({iteratee:nd(a,3),type:t}),e.__filtered__=e.__filtered__||i,e}}),Ja(["head","last"],function(a,e){var t="take"+(e?"Right":"");Ea.prototype[a]=function(){return this[t](1).value()[0]}}),Ja(["initial","tail"],function(a,e){var t="drop"+(e?"":"Right");Ea.prototype[a]=function(){return this.__filtered__?new Ea(this):this[t](1)}}),Ea.prototype.compact=function(){return this.filter(H)},Ea.prototype.find=function(a){return this.filter(a).head()},Ea.prototype.findLast=function(a){return this.reverse().find(a)},Ea.prototype.invokeMap=ot(function(a,e){return"function"==typeof a?new Ea(this):this.map(function(t){return cu(t,a,e)})}),Ea.prototype.reject=function(a){return this.filter(Dp(nd(a)))},Ea.prototype.slice=function(a,e){a=F(a);var t=this;return t.__filtered__&&(a>0||e<0)?new Ea(t):(a<0?t=t.takeRight(-a):a&&(t=t.drop(a)),void 0!==e&&(t=(e=F(e))<0?t.dropRight(-e):t.take(e-a)),t)},Ea.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Ea.prototype.toArray=function(){return this.take(4294967295)},gd(Ea.prototype,function(a,e){var t=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),n=Da[i?"take"+("last"==e?"Right":""):e],r=i||/^find/.test(e);n&&(Da.prototype[e]=function(){var e=this.__wrapped__,o=i?[1]:arguments,s=e instanceof Ea,d=o[0],l=s||k(e),c=function(a){var e=n.apply(Da,Di([a],o));return i&&u?e[0]:e};l&&t&&"function"==typeof d&&1!=d.length&&(s=l=!1);var u=this.__chain__,p=!!this.__actions__.length,z=r&&!u,m=s&&!p;if(!r&&l){e=m?e:new Ea(this);var g=a.apply(e,o);return g.__actions__.push({func:Yg,args:[c],thisArg:void 0}),new Pa(g,u)}return z&&m?a.apply(this,o):(g=this.thru(c),z?i?g.value()[0]:g.value():g)})}),Ja(["pop","push","shift","sort","splice","unshift"],function(a){var e=Ey[a],t=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",i=/^(?:pop|shift)$/.test(a);Da.prototype[a]=function(){var a=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(k(n)?n:[],a)}return this[t](function(t){return e.apply(k(t)?t:[],a)})}}),gd(Ea.prototype,function(a,e){var t=Da[e];if(t){var i=t.name+"";(Sa[i]||(Sa[i]=[])).push({name:e,func:t})}}),Sa[Se(void 0,2).name]=[{name:"wrapper",func:void 0}],Ea.prototype.clone=yy,Ea.prototype.reverse=wy,Ea.prototype.value=Ty,Da.prototype.at=my.at,Da.prototype.chain=my.wrapperChain,Da.prototype.commit=my.commit,Da.prototype.next=my.next,Da.prototype.plant=my.plant,Da.prototype.reverse=my.reverse,Da.prototype.toJSON=Da.prototype.valueOf=Da.prototype.value=my.value,Da.prototype.first=Da.prototype.head,xy&&(Da.prototype[xy]=my.toIterator);var Ry=Da;t.d(e,"add",function(){return x}),t.d(e,"after",function(){return U}),t.d(e,"ary",function(){return Ze}),t.d(e,"assign",function(){return qt}),t.d(e,"assignIn",function(){return Bt}),t.d(e,"assignInWith",function(){return Ut}),t.d(e,"assignWith",function(){return Ht}),t.d(e,"at",function(){return $i}),t.d(e,"attempt",function(){return tn}),t.d(e,"before",function(){return rn}),t.d(e,"bind",function(){return sn}),t.d(e,"bindAll",function(){return dn}),t.d(e,"bindKey",function(){return cn}),t.d(e,"camelCase",function(){return or}),t.d(e,"capitalize",function(){return On}),t.d(e,"castArray",function(){return sr}),t.d(e,"ceil",function(){return cr}),t.d(e,"chain",function(){return ur}),t.d(e,"chunk",function(){return mr}),t.d(e,"clamp",function(){return fr}),t.d(e,"clone",function(){return Ko}),t.d(e,"cloneDeep",function(){return Vo}),t.d(e,"cloneDeepWith",function(){return Zo}),t.d(e,"cloneWith",function(){return as}),t.d(e,"commit",function(){return es}),t.d(e,"compact",function(){return ts}),t.d(e,"concat",function(){return is}),t.d(e,"cond",function(){return od}),t.d(e,"conforms",function(){return cd}),t.d(e,"conformsTo",function(){return ud}),t.d(e,"constant",function(){return Qa}),t.d(e,"countBy",function(){return vd}),t.d(e,"create",function(){return kd}),t.d(e,"curry",function(){return Td}),t.d(e,"curryRight",function(){return xd}),t.d(e,"debounce",function(){return Pd}),t.d(e,"deburr",function(){return qn}),t.d(e,"defaultTo",function(){return Md}),t.d(e,"defaults",function(){return Id}),t.d(e,"defaultsDeep",function(){return Kd}),t.d(e,"defer",function(){return Vd}),t.d(e,"delay",function(){return Qd}),t.d(e,"difference",function(){return al}),t.d(e,"differenceBy",function(){return tl}),t.d(e,"differenceWith",function(){return il}),t.d(e,"divide",function(){return nl}),t.d(e,"drop",function(){return rl}),t.d(e,"dropRight",function(){return ol}),t.d(e,"dropRightWhile",function(){return dl}),t.d(e,"dropWhile",function(){return ll}),t.d(e,"each",function(){return ul}),t.d(e,"eachRight",function(){return fl}),t.d(e,"endsWith",function(){return yl}),t.d(e,"entries",function(){return _l}),t.d(e,"entriesIn",function(){return jl}),t.d(e,"eq",function(){return at}),t.d(e,"escape",function(){return xl}),t.d(e,"escapeRegExp",function(){return Cl}),t.d(e,"every",function(){return Ml}),t.d(e,"extend",function(){return Bt}),t.d(e,"extendWith",function(){return Ut}),t.d(e,"fill",function(){return Dl}),t.d(e,"filter",function(){return Fl}),t.d(e,"find",function(){return $l}),t.d(e,"findIndex",function(){return Hl}),t.d(e,"findKey",function(){return Kl}),t.d(e,"findLast",function(){return Ql}),t.d(e,"findLastIndex",function(){return Vl}),t.d(e,"findLastKey",function(){return Xl}),t.d(e,"first",function(){return Zl}),t.d(e,"flatMap",function(){return ec}),t.d(e,"flatMapDeep",function(){return ic}),t.d(e,"flatMapDepth",function(){return nc}),t.d(e,"flatten",function(){return Ui}),t.d(e,"flattenDeep",function(){return oc}),t.d(e,"flattenDepth",function(){return sc}),t.d(e,"flip",function(){return lc}),t.d(e,"floor",function(){return cc}),t.d(e,"flow",function(){return yc}),t.d(e,"flowRight",function(){return wc}),t.d(e,"forEach",function(){return ul}),t.d(e,"forEachRight",function(){return fl}),t.d(e,"forIn",function(){return bc}),t.d(e,"forInRight",function(){return hc}),t.d(e,"forOwn",function(){return vc}),t.d(e,"forOwnRight",function(){return kc}),t.d(e,"fromPairs",function(){return _c}),t.d(e,"functions",function(){return Tc}),t.d(e,"functionsIn",function(){return Ec}),t.d(e,"get",function(){return qi}),t.d(e,"groupBy",function(){return xc}),t.d(e,"gt",function(){return Cc}),t.d(e,"gte",function(){return Rc}),t.d(e,"has",function(){return Nc}),t.d(e,"hasIn",function(){return Xs}),t.d(e,"head",function(){return Zl}),t.d(e,"identity",function(){return H}),t.d(e,"inRange",function(){return Lc}),t.d(e,"includes",function(){return Wc}),t.d(e,"indexOf",function(){return Gc}),t.d(e,"initial",function(){return Yc}),t.d(e,"intersection",function(){return Zc}),t.d(e,"intersectionBy",function(){return Jc}),t.d(e,"intersectionWith",function(){return au}),t.d(e,"invert",function(){return nu}),t.d(e,"invertBy",function(){return du}),t.d(e,"invoke",function(){return uu}),t.d(e,"invokeMap",function(){return pu}),t.d(e,"isArguments",function(){return ht}),t.d(e,"isArray",function(){return k}),t.d(e,"isArrayBuffer",function(){return fu}),t.d(e,"isArrayLike",function(){return lt}),t.d(e,"isArrayLikeObject",function(){return Ld}),t.d(e,"isBoolean",function(){return wu}),t.d(e,"isBuffer",function(){return vt.a}),t.d(e,"isDate",function(){return ku}),t.d(e,"isElement",function(){return _u}),t.d(e,"isEmpty",function(){return Au}),t.d(e,"isEqual",function(){return xu}),t.d(e,"isEqualWith",function(){return Su}),t.d(e,"isError",function(){return en}),t.d(e,"isFinite",function(){return Cu}),t.d(e,"isFunction",function(){return Y}),t.d(e,"isInteger",function(){return Ru}),t.d(e,"isLength",function(){return dt}),t.d(e,"isMap",function(){return Co}),t.d(e,"isMatch",function(){return Pu}),t.d(e,"isMatchWith",function(){return Mu}),t.d(e,"isNaN",function(){return Iu}),t.d(e,"isNative",function(){return Bu}),t.d(e,"isNil",function(){return Uu}),t.d(e,"isNull",function(){return Hu}),t.d(e,"isNumber",function(){return qu}),t.d(e,"isObject",function(){return S}),t.d(e,"isObjectLike",function(){return f}),t.d(e,"isPlainObject",function(){return Zi}),t.d(e,"isRegExp",function(){return Gu}),t.d(e,"isSafeInteger",function(){return Vu}),t.d(e,"isSet",function(){return No}),t.d(e,"isString",function(){return Bc}),t.d(e,"isSymbol",function(){return w}),t.d(e,"isTypedArray",function(){return At}),t.d(e,"isUndefined",function(){return Qu}),t.d(e,"isWeakMap",function(){return Zu}),t.d(e,"isWeakSet",function(){return ap}),t.d(e,"iteratee",function(){return tp}),t.d(e,"join",function(){return np}),t.d(e,"kebabCase",function(){return rp}),t.d(e,"keyBy",function(){return op}),t.d(e,"keys",function(){return Mt}),t.d(e,"keysIn",function(){return Ft}),t.d(e,"last",function(){return el}),t.d(e,"lastIndexOf",function(){return cp}),t.d(e,"lodash",function(){return Da}),t.d(e,"lowerCase",function(){return up}),t.d(e,"lowerFirst",function(){return pp}),t.d(e,"lt",function(){return mp}),t.d(e,"lte",function(){return gp}),t.d(e,"map",function(){return ac}),t.d(e,"mapKeys",function(){return fp}),t.d(e,"mapValues",function(){return yp}),t.d(e,"matches",function(){return bp}),t.d(e,"matchesProperty",function(){return vp}),t.d(e,"max",function(){return _p}),t.d(e,"maxBy",function(){return jp}),t.d(e,"mean",function(){return xp}),t.d(e,"meanBy",function(){return Sp}),t.d(e,"memoize",function(){return Ei}),t.d(e,"merge",function(){return Op}),t.d(e,"mergeWith",function(){return Wd}),t.d(e,"method",function(){return Cp}),t.d(e,"methodOf",function(){return Rp}),t.d(e,"min",function(){return Pp}),t.d(e,"minBy",function(){return Mp}),t.d(e,"mixin",function(){return Np}),t.d(e,"multiply",function(){return qp}),t.d(e,"negate",function(){return Dp}),t.d(e,"next",function(){return $p}),t.d(e,"noop",function(){return Aa}),t.d(e,"now",function(){return Sd}),t.d(e,"nth",function(){return Kp}),t.d(e,"nthArg",function(){return Gp}),t.d(e,"omit",function(){return Qp}),t.d(e,"omitBy",function(){return az}),t.d(e,"once",function(){return ez}),t.d(e,"orderBy",function(){return oz}),t.d(e,"over",function(){return dz}),t.d(e,"overArgs",function(){return uz}),t.d(e,"overEvery",function(){return pz}),t.d(e,"overSome",function(){return zz}),t.d(e,"pad",function(){return Pz}),t.d(e,"padEnd",function(){return Mz}),t.d(e,"padStart",function(){return Nz}),t.d(e,"parseInt",function(){return Dz}),t.d(e,"partial",function(){return Fz}),t.d(e,"partialRight",function(){return Uz}),t.d(e,"partition",function(){return Hz}),t.d(e,"pick",function(){return Wz}),t.d(e,"pickBy",function(){return Jp}),t.d(e,"plant",function(){return Kz}),t.d(e,"property",function(){return id}),t.d(e,"propertyOf",function(){return Gz}),t.d(e,"pull",function(){return Zz}),t.d(e,"pullAll",function(){return Xz}),t.d(e,"pullAllBy",function(){return Jz}),t.d(e,"pullAllWith",function(){return am}),t.d(e,"pullAt",function(){return im}),t.d(e,"random",function(){return cm}),t.d(e,"range",function(){return gm}),t.d(e,"rangeRight",function(){return fm}),t.d(e,"rearg",function(){return ym}),t.d(e,"reduce",function(){return bm}),t.d(e,"reduceRight",function(){return vm}),t.d(e,"reject",function(){return km}),t.d(e,"remove",function(){return _m}),t.d(e,"repeat",function(){return jm}),t.d(e,"replace",function(){return Tm}),t.d(e,"rest",function(){return Am}),t.d(e,"result",function(){return xm}),t.d(e,"reverse",function(){return Om}),t.d(e,"round",function(){return Cm}),t.d(e,"sample",function(){return Mm}),t.d(e,"sampleSize",function(){return Dm}),t.d(e,"set",function(){return Lm}),t.d(e,"setWith",function(){return Fm}),t.d(e,"shuffle",function(){return Hm}),t.d(e,"size",function(){return Km}),t.d(e,"slice",function(){return Gm}),t.d(e,"snakeCase",function(){return Ym}),t.d(e,"some",function(){return Qm}),t.d(e,"sortBy",function(){return Xm}),t.d(e,"sortedIndex",function(){return ng}),t.d(e,"sortedIndexBy",function(){return rg}),t.d(e,"sortedIndexOf",function(){return og}),t.d(e,"sortedLastIndex",function(){return sg}),t.d(e,"sortedLastIndexBy",function(){return dg}),t.d(e,"sortedLastIndexOf",function(){return lg}),t.d(e,"sortedUniq",function(){return ug}),t.d(e,"sortedUniqBy",function(){return pg}),t.d(e,"split",function(){return mg}),t.d(e,"spread",function(){return yg}),t.d(e,"startCase",function(){return wg}),t.d(e,"startsWith",function(){return bg}),t.d(e,"stubArray",function(){return Sr}),t.d(e,"stubFalse",function(){return Du.a}),t.d(e,"stubObject",function(){return hg}),t.d(e,"stubString",function(){return vg}),t.d(e,"stubTrue",function(){return kg}),t.d(e,"subtract",function(){return _g}),t.d(e,"sum",function(){return jg}),t.d(e,"sumBy",function(){return Tg}),t.d(e,"tail",function(){return Eg}),t.d(e,"take",function(){return Ag}),t.d(e,"takeRight",function(){return xg}),t.d(e,"takeRightWhile",function(){return Sg}),t.d(e,"takeWhile",function(){return Og}),t.d(e,"tap",function(){return Cg}),t.d(e,"template",function(){return Wg}),t.d(e,"templateSettings",function(){return Dg}),t.d(e,"throttle",function(){return Gg}),t.d(e,"thru",function(){return Yg}),t.d(e,"times",function(){return Zg}),t.d(e,"toArray",function(){return Hp}),t.d(e,"toFinite",function(){return L}),t.d(e,"toInteger",function(){return F}),t.d(e,"toIterator",function(){return Jg}),t.d(e,"toJSON",function(){return ef}),t.d(e,"toLength",function(){return ql}),t.d(e,"toLower",function(){return tf}),t.d(e,"toNumber",function(){return q}),t.d(e,"toPairs",function(){return _l}),t.d(e,"toPairsIn",function(){return jl}),t.d(e,"toPath",function(){return nf}),t.d(e,"toPlainObject",function(){return Bd}),t.d(e,"toSafeInteger",function(){return of}),t.d(e,"toString",function(){return Ci}),t.d(e,"toUpper",function(){return sf}),t.d(e,"transform",function(){return df}),t.d(e,"trim",function(){return pf}),t.d(e,"trimEnd",function(){return mf}),t.d(e,"trimStart",function(){return ff}),t.d(e,"truncate",function(){return hf}),t.d(e,"unary",function(){return vf}),t.d(e,"unescape",function(){return Tf}),t.d(e,"union",function(){return Sf}),t.d(e,"unionBy",function(){return Of}),t.d(e,"unionWith",function(){return Cf}),t.d(e,"uniq",function(){return Rf}),t.d(e,"uniqBy",function(){return Pf}),t.d(e,"uniqWith",function(){return Mf}),t.d(e,"uniqueId",function(){return qf}),t.d(e,"unset",function(){return If}),t.d(e,"unzip",function(){return Lf}),t.d(e,"unzipWith",function(){return Ff}),t.d(e,"update",function(){return Uf}),t.d(e,"updateWith",function(){return Hf}),t.d(e,"upperCase",function(){return $f}),t.d(e,"upperFirst",function(){return Sn}),t.d(e,"value",function(){return ef}),t.d(e,"valueOf",function(){return ef}),t.d(e,"values",function(){return Hc}),t.d(e,"valuesIn",function(){return Wf}),t.d(e,"without",function(){return Kf}),t.d(e,"words",function(){return ir}),t.d(e,"wrap",function(){return Gf}),t.d(e,"wrapperAt",function(){return Yf}),t.d(e,"wrapperChain",function(){return Vf}),t.d(e,"wrapperCommit",function(){return es}),t.d(e,"wrapperLodash",function(){return Da}),t.d(e,"wrapperNext",function(){return $p}),t.d(e,"wrapperPlant",function(){return Kz}),t.d(e,"wrapperReverse",function(){return Qf}),t.d(e,"wrapperToIterator",function(){return Jg}),t.d(e,"wrapperValue",function(){return ef}),t.d(e,"xor",function(){return Zf}),t.d(e,"xorBy",function(){return Jf}),t.d(e,"xorWith",function(){return ay}),t.d(e,"zip",function(){return ey}),t.d(e,"zipObject",function(){return iy}),t.d(e,"zipObjectDeep",function(){return ny}),t.d(e,"zipWith",function(){return ry}),t.d(e,"default",function(){return Ry})},,function(a,e){var t=Array.isArray;a.exports=t},function(a,e,t){var i=t(38),n="object"==typeof self&&self&&self.Object===Object&&self,r=i||n||Function("return this")();a.exports=r},function(a,e){a.exports=function(a){var e=typeof a;return null!=a&&("object"==e||"function"==e)}},,function(a,e){a.exports=function(a){return null!=a&&"object"==typeof a}},function(a,e,t){var i=t(9),n=t(51),r=t(52),o="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;a.exports=function(a){return null==a?void 0===a?s:o:d&&d in Object(a)?n(a):r(a)}},function(a,e,t){var i=t(4).Symbol;a.exports=i},function(a,e,t){var i=t(67),n=t(70);a.exports=function(a,e){var t=n(a,e);return i(t)?t:void 0}},function(a,e,t){var i=t(10)(Object,"create");a.exports=i},function(a,e,t){var i=t(23);a.exports=function(a,e){for(var t=a.length;t--;)if(i(a[t][0],e))return t;return-1}},function(a,e,t){var i=t(81);a.exports=function(a,e){var t=a.__data__;return i(e)?t["string"==typeof e?"string":"hash"]:t.map}},,function(a,e,t){var i=t(8),n=t(7),r="[object Symbol]";a.exports=function(a){return"symbol"==typeof a||n(a)&&i(a)==r}},function(a,e,t){var i=t(32);a.exports=function(a,e,t){var n=null==a?void 0:i(a,e);return void 0===n?t:n}},function(a,e,t){var i=t(8),n=t(5),r="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",d="[object Proxy]";a.exports=function(a){if(!n(a))return!1;var e=i(a);return e==o||e==s||e==r||e==d}},function(a,e,t){var i=t(15),n=1/0;a.exports=function(a){if("string"==typeof a||i(a))return a;var e=a+"";return"0"==e&&1/a==-n?"-0":e}},function(a,e){var t;t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(a){"object"==typeof window&&(t=window)}a.exports=t},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(1),n=function(a){return a&&a.__esModule?a:{default:a}}(t(151));var r=function(){return[]},o=function(a){this._hasScore=!1,this._identifier="",this._hasMarks=!1,this._marker=r,this.score=0,this.text="",this.marks=[],(0,i.isUndefined)(a)&&(a={}),(0,i.isUndefined)(a.score)||this.setScore(a.score),(0,i.isUndefined)(a.text)||this.setText(a.text),(0,i.isUndefined)(a.marks)||this.setMarks(a.marks)};o.prototype.hasScore=function(){return this._hasScore},o.prototype.getScore=function(){return this.score},o.prototype.setScore=function(a){(0,i.isNumber)(a)&&(this.score=a,this._hasScore=!0)},o.prototype.hasText=function(){return""!==this.text},o.prototype.getText=function(){return this.text},o.prototype.setText=function(a){(0,i.isUndefined)(a)&&(a=""),this.text=a},o.prototype.getMarks=function(){return this.marks},o.prototype.setMarks=function(a){(0,i.isArray)(a)&&(this.marks=a,this._hasMarks=a.length>0)},o.prototype.setIdentifier=function(a){this._identifier=a},o.prototype.getIdentifier=function(){return this._identifier},o.prototype.setMarker=function(a){this._marker=a},o.prototype.hasMarker=function(){return this._hasMarks&&this._marker!==this.emptyMarker},o.prototype.getMarker=function(){return this._marker},o.prototype.setHasMarks=function(a){this._hasMarks=a},o.prototype.hasMarks=function(){return this._hasMarks},o.prototype.serialize=function(){return{_parseClass:"AssessmentResult",identifier:this._identifier,score:this.score,text:this.text,marks:this.marks.map(function(a){return a.serialize()})}},o.parse=function(a){var e=new o({text:a.text,score:a.score,marks:a.marks.map(function(a){return n.default.parse(a)})});return e.setIdentifier(a.identifier),e},e.default=o},,,function(a,e){a.exports=function(a,e){return a===e||a!=a&&e!=e}},function(a,e,t){var i=t(3),n=t(33),r=t(62),o=t(53);a.exports=function(a,e){return i(a)?a:n(a,e)?[a]:r(o(a))}},function(a,e,t){var i=t(75),n=t(76),r=t(77),o=t(78),s=t(79);function d(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}d.prototype.clear=i,d.prototype.delete=n,d.prototype.get=r,d.prototype.has=o,d.prototype.set=s,a.exports=d},function(a,e,t){var i=t(17),n=t(49);a.exports=function(a){return null!=a&&n(a.length)&&!i(a)}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(905);Object.keys(i).forEach(function(a){"default"!==a&&"__esModule"!==a&&Object.defineProperty(e,a,{enumerable:!0,get:function(){return i[a]}})})},function(a,e,t){"use strict";var i=t(401),n="object"==typeof self&&self&&self.Object===Object&&self,r=i.a||n||Function("return this")();e.a=r},,function(a,e){a.exports=function(a,e){for(var t=-1,i=null==a?0:a.length,n=Array(i);++t<i;)n[t]=e(a[t],t,a);return n}},function(a,e,t){var i=t(64),n=t(80),r=t(82),o=t(83),s=t(84);function d(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}d.prototype.clear=i,d.prototype.delete=n,d.prototype.get=r,d.prototype.has=o,d.prototype.set=s,a.exports=d},function(a,e,t){var i=t(24),n=t(18);a.exports=function(a,e){for(var t=0,r=(e=i(e,a)).length;null!=a&&t<r;)a=a[n(e[t++])];return t&&t==r?a:void 0}},function(a,e,t){var i=t(3),n=t(15),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;a.exports=function(a,e){if(i(a))return!1;var t=typeof a;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=a&&!n(a))||o.test(a)||!r.test(a)||null!=e&&a in Object(e)}},function(a,e,t){var i=t(10)(t(4),"Map");a.exports=i},function(a,e,t){var i=t(103),n=t(108),r=t(26);a.exports=function(a){return r(a)?i(a):n(a)}},,,function(a,e,t){(function(e){var t="object"==typeof e&&e&&e.Object===Object&&e;a.exports=t}).call(this,t(19))},,function(a,e,t){var i=t(132),n=t(7),r=Object.prototype,o=r.hasOwnProperty,s=r.propertyIsEnumerable,d=i(function(){return arguments}())?i:function(a){return n(a)&&o.call(a,"callee")&&!s.call(a,"callee")};a.exports=d},function(a,e){a.exports=function(a){return a.webpackPolyfill||(a.deprecate=function(){},a.paths=[],a.children||(a.children=[]),Object.defineProperty(a,"loaded",{enumerable:!0,get:function(){return a.l}}),Object.defineProperty(a,"id",{enumerable:!0,get:function(){return a.i}}),a.webpackPolyfill=1),a}},function(a,e){a.exports=function(a){return a}},function(a,e){var t=Function.prototype.toString;a.exports=function(a){if(null!=a){try{return t.call(a)}catch(a){}try{return a+""}catch(a){}}return""}},function(a,e,t){(function(a){var i=t(4),n=t(133),r="object"==typeof e&&e&&!e.nodeType&&e,o=r&&"object"==typeof a&&a&&!a.nodeType&&a,s=o&&o.exports===r?i.Buffer:void 0,d=(s?s.isBuffer:void 0)||n;a.exports=d}).call(this,t(41)(a))},,function(a,e,t){(function(a,i){var n=/%[sdj%]/g;e.format=function(a){if(!y(a)){for(var e=[],t=0;t<arguments.length;t++)e.push(s(arguments[t]));return e.join(" ")}t=1;for(var i=arguments,r=i.length,o=String(a).replace(n,function(a){if("%%"===a)return"%";if(t>=r)return a;switch(a){case"%s":return String(i[t++]);case"%d":return Number(i[t++]);case"%j":try{return JSON.stringify(i[t++])}catch(a){return"[Circular]"}default:return a}}),d=i[t];t<r;d=i[++t])g(d)||!h(d)?o+=" "+d:o+=" "+s(d);return o},e.deprecate=function(t,n){if(w(a.process))return function(){return e.deprecate(t,n).apply(this,arguments)};if(!0===i.noDeprecation)return t;var r=!1;return function(){if(!r){if(i.throwDeprecation)throw new Error(n);i.traceDeprecation?console.trace(n):console.error(n),r=!0}return t.apply(this,arguments)}};var r,o={};function s(a,t){var i={seen:[],stylize:l};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),m(t)?i.showHidden=t:t&&e._extend(i,t),w(i.showHidden)&&(i.showHidden=!1),w(i.depth)&&(i.depth=2),w(i.colors)&&(i.colors=!1),w(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=d),c(i,a,i.depth)}function d(a,e){var t=s.styles[e];return t?"["+s.colors[t][0]+"m"+a+"["+s.colors[t][1]+"m":a}function l(a,e){return a}function c(a,t,i){if(a.customInspect&&t&&_(t.inspect)&&t.inspect!==e.inspect&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(i,a);return y(n)||(n=c(a,n,i)),n}var r=function(a,e){if(w(e))return a.stylize("undefined","undefined");if(y(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(t,"string")}if(f(e))return a.stylize(""+e,"number");if(m(e))return a.stylize(""+e,"boolean");if(g(e))return a.stylize("null","null")}(a,t);if(r)return r;var o=Object.keys(t),s=function(a){var e={};return a.forEach(function(a,t){e[a]=!0}),e}(o);if(a.showHidden&&(o=Object.getOwnPropertyNames(t)),k(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return u(t);if(0===o.length){if(_(t)){var d=t.name?": "+t.name:"";return a.stylize("[Function"+d+"]","special")}if(b(t))return a.stylize(RegExp.prototype.toString.call(t),"regexp");if(v(t))return a.stylize(Date.prototype.toString.call(t),"date");if(k(t))return u(t)}var l,h="",j=!1,T=["{","}"];(z(t)&&(j=!0,T=["[","]"]),_(t))&&(h=" [Function"+(t.name?": "+t.name:"")+"]");return b(t)&&(h=" "+RegExp.prototype.toString.call(t)),v(t)&&(h=" "+Date.prototype.toUTCString.call(t)),k(t)&&(h=" "+u(t)),0!==o.length||j&&0!=t.length?i<0?b(t)?a.stylize(RegExp.prototype.toString.call(t),"regexp"):a.stylize("[Object]","special"):(a.seen.push(t),l=j?function(a,e,t,i,n){for(var r=[],o=0,s=e.length;o<s;++o)A(e,String(o))?r.push(p(a,e,t,i,String(o),!0)):r.push("");return n.forEach(function(n){n.match(/^\d+$/)||r.push(p(a,e,t,i,n,!0))}),r}(a,t,i,s,o):o.map(function(e){return p(a,t,i,s,e,j)}),a.seen.pop(),function(a,e,t){if(a.reduce(function(a,e){return 0,e.indexOf("\n")>=0&&0,a+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return t[0]+(""===e?"":e+"\n ")+" "+a.join(",\n ")+" "+t[1];return t[0]+e+" "+a.join(", ")+" "+t[1]}(l,h,T)):T[0]+h+T[1]}function u(a){return"["+Error.prototype.toString.call(a)+"]"}function p(a,e,t,i,n,r){var o,s,d;if((d=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]}).get?s=d.set?a.stylize("[Getter/Setter]","special"):a.stylize("[Getter]","special"):d.set&&(s=a.stylize("[Setter]","special")),A(i,n)||(o="["+n+"]"),s||(a.seen.indexOf(d.value)<0?(s=g(t)?c(a,d.value,null):c(a,d.value,t-1)).indexOf("\n")>-1&&(s=r?s.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+s.split("\n").map(function(a){return" "+a}).join("\n")):s=a.stylize("[Circular]","special")),w(o)){if(r&&n.match(/^\d+$/))return s;(o=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=a.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=a.stylize(o,"string"))}return o+": "+s}function z(a){return Array.isArray(a)}function m(a){return"boolean"==typeof a}function g(a){return null===a}function f(a){return"number"==typeof a}function y(a){return"string"==typeof a}function w(a){return void 0===a}function b(a){return h(a)&&"[object RegExp]"===j(a)}function h(a){return"object"==typeof a&&null!==a}function v(a){return h(a)&&"[object Date]"===j(a)}function k(a){return h(a)&&("[object Error]"===j(a)||a instanceof Error)}function _(a){return"function"==typeof a}function j(a){return Object.prototype.toString.call(a)}function T(a){return a<10?"0"+a.toString(10):a.toString(10)}e.debuglog=function(a){if(w(r)&&(r=i.env.NODE_DEBUG||""),a=a.toUpperCase(),!o[a])if(new RegExp("\\b"+a+"\\b","i").test(r)){var t=i.pid;o[a]=function(){var i=e.format.apply(e,arguments);console.error("%s %d: %s",a,t,i)}}else o[a]=function(){};return o[a]},e.inspect=s,s.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]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=z,e.isBoolean=m,e.isNull=g,e.isNullOrUndefined=function(a){return null==a},e.isNumber=f,e.isString=y,e.isSymbol=function(a){return"symbol"==typeof a},e.isUndefined=w,e.isRegExp=b,e.isObject=h,e.isDate=v,e.isError=k,e.isFunction=_,e.isPrimitive=function(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||void 0===a},e.isBuffer=t(946);var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(a,e){return Object.prototype.hasOwnProperty.call(a,e)}e.log=function(){console.log("%s - %s",function(){var a=new Date,e=[T(a.getHours()),T(a.getMinutes()),T(a.getSeconds())].join(":");return[a.getDate(),E[a.getMonth()],e].join(" ")}(),e.format.apply(e,arguments))},e.inherits=t(367),e._extend=function(a,e){if(!e||!h(e))return a;for(var t=Object.keys(e),i=t.length;i--;)a[t[i]]=e[t[i]];return a}}).call(this,t(19),t(231))},,,function(a,e){var t=9007199254740991;a.exports=function(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=t}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}();var n=function(){function a(){!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a)}return i(a,[{key:"getResult",value:function(a,e,t){throw"The method getResult is not implemented"}},{key:"isApplicable",value:function(a){return!0}}]),a}();e.default=n},function(a,e,t){var i=t(9),n=Object.prototype,r=n.hasOwnProperty,o=n.toString,s=i?i.toStringTag:void 0;a.exports=function(a){var e=r.call(a,s),t=a[s];try{a[s]=void 0;var i=!0}catch(a){}var n=o.call(a);return i&&(e?a[s]=t:delete a[s]),n}},function(a,e){var t=Object.prototype.toString;a.exports=function(a){return t.call(a)}},function(a,e,t){var i=t(59);a.exports=function(a){return null==a?"":i(a)}},function(a,e){var t=9007199254740991,i=/^(?:0|[1-9]\d*)$/;a.exports=function(a,e){var n=typeof a;return!!(e=null==e?t:e)&&("number"==n||"symbol"!=n&&i.test(a))&&a>-1&&a%1==0&&a<e}},function(a,e,t){var i=t(134),n=t(89),r=t(95),o=r&&r.isTypedArray,s=o?n(o):i;a.exports=s},function(a,e){var t=Object.prototype;a.exports=function(a){var e=a&&a.constructor;return a===("function"==typeof e&&e.prototype||t)}},function(a,e,t){var i=t(184),n=t(34),r=t(185),o=t(142),s=t(156),d=t(8),l=t(43),c=l(i),u=l(n),p=l(r),z=l(o),m=l(s),g=d;(i&&"[object DataView]"!=g(new i(new ArrayBuffer(1)))||n&&"[object Map]"!=g(new n)||r&&"[object Promise]"!=g(r.resolve())||o&&"[object Set]"!=g(new o)||s&&"[object WeakMap]"!=g(new s))&&(g=function(a){var e=d(a),t="[object Object]"==e?a.constructor:void 0,i=t?l(t):"";if(i)switch(i){case c:return"[object DataView]";case u:return"[object Map]";case p:return"[object Promise]";case z:return"[object Set]";case m:return"[object WeakMap]"}return e}),a.exports=g},function(a,e,t){var i=t(31),n="Expected a function";function r(a,e){if("function"!=typeof a||null!=e&&"function"!=typeof e)throw new TypeError(n);var t=function(){var i=arguments,n=e?e.apply(this,i):i[0],r=t.cache;if(r.has(n))return r.get(n);var o=a.apply(this,i);return t.cache=r.set(n,o)||r,o};return t.cache=new(r.Cache||i),t}r.Cache=i,a.exports=r},function(a,e,t){var i=t(9),n=t(30),r=t(3),o=t(15),s=1/0,d=i?i.prototype:void 0,l=d?d.toString:void 0;a.exports=function a(e){if("string"==typeof e)return e;if(r(e))return n(e,a)+"";if(o(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}},,,function(a,e,t){var i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=t(63)(function(a){var e=[];return 46===a.charCodeAt(0)&&e.push(""),a.replace(i,function(a,t,i,r){e.push(i?r.replace(n,"$1"):t||a)}),e});a.exports=r},function(a,e,t){var i=t(58),n=500;a.exports=function(a){var e=i(a,function(a){return t.size===n&&t.clear(),a}),t=e.cache;return e}},function(a,e,t){var i=t(65),n=t(25),r=t(34);a.exports=function(){this.size=0,this.__data__={hash:new i,map:new(r||n),string:new i}}},function(a,e,t){var i=t(66),n=t(71),r=t(72),o=t(73),s=t(74);function d(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}d.prototype.clear=i,d.prototype.delete=n,d.prototype.get=r,d.prototype.has=o,d.prototype.set=s,a.exports=d},function(a,e,t){var i=t(11);a.exports=function(){this.__data__=i?i(null):{},this.size=0}},function(a,e,t){var i=t(17),n=t(68),r=t(5),o=t(43),s=/^\[object .+?Constructor\]$/,d=Function.prototype,l=Object.prototype,c=d.toString,u=l.hasOwnProperty,p=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");a.exports=function(a){return!(!r(a)||n(a))&&(i(a)?p:s).test(o(a))}},function(a,e,t){var i=t(69),n=function(){var a=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();a.exports=function(a){return!!n&&n in a}},function(a,e,t){var i=t(4)["__core-js_shared__"];a.exports=i},function(a,e){a.exports=function(a,e){return null==a?void 0:a[e]}},function(a,e){a.exports=function(a){var e=this.has(a)&&delete this.__data__[a];return this.size-=e?1:0,e}},function(a,e,t){var i=t(11),n="__lodash_hash_undefined__",r=Object.prototype.hasOwnProperty;a.exports=function(a){var e=this.__data__;if(i){var t=e[a];return t===n?void 0:t}return r.call(e,a)?e[a]:void 0}},function(a,e,t){var i=t(11),n=Object.prototype.hasOwnProperty;a.exports=function(a){var e=this.__data__;return i?void 0!==e[a]:n.call(e,a)}},function(a,e,t){var i=t(11),n="__lodash_hash_undefined__";a.exports=function(a,e){var t=this.__data__;return this.size+=this.has(a)?0:1,t[a]=i&&void 0===e?n:e,this}},function(a,e){a.exports=function(){this.__data__=[],this.size=0}},function(a,e,t){var i=t(12),n=Array.prototype.splice;a.exports=function(a){var e=this.__data__,t=i(e,a);return!(t<0||(t==e.length-1?e.pop():n.call(e,t,1),--this.size,0))}},function(a,e,t){var i=t(12);a.exports=function(a){var e=this.__data__,t=i(e,a);return t<0?void 0:e[t][1]}},function(a,e,t){var i=t(12);a.exports=function(a){return i(this.__data__,a)>-1}},function(a,e,t){var i=t(12);a.exports=function(a,e){var t=this.__data__,n=i(t,a);return n<0?(++this.size,t.push([a,e])):t[n][1]=e,this}},function(a,e,t){var i=t(13);a.exports=function(a){var e=i(this,a).delete(a);return this.size-=e?1:0,e}},function(a,e){a.exports=function(a){var e=typeof a;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==a:null===a}},function(a,e,t){var i=t(13);a.exports=function(a){return i(this,a).get(a)}},function(a,e,t){var i=t(13);a.exports=function(a){return i(this,a).has(a)}},function(a,e,t){var i=t(13);a.exports=function(a,e){var t=i(this,a),n=t.size;return t.set(a,e),this.size+=t.size==n?0:1,this}},function(a,e,t){var i=t(25),n=t(174),r=t(175),o=t(176),s=t(177),d=t(178);function l(a){var e=this.__data__=new i(a);this.size=e.size}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=d,a.exports=l},,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return a.split("_")[0]}},,function(a,e){a.exports=function(a){return function(e){return a(e)}}},function(a,e,t){"use strict";(function(a){var i=t(401),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof a&&a&&!a.nodeType&&a,o=r&&r.exports===n&&i.a.process,s=function(){try{var a=r&&r.require&&r.require("util").types;return a||o&&o.binding&&o.binding("util")}catch(a){}}();e.a=s}).call(this,t(362)(a))},,,,,function(a,e,t){(function(a){var i=t(38),n="object"==typeof e&&e&&!e.nodeType&&e,r=n&&"object"==typeof a&&a&&!a.nodeType&&a,o=r&&r.exports===n&&i.process,s=function(){try{var a=r&&r.require&&r.require("util").types;return a||o&&o.binding&&o.binding("util")}catch(a){}}();a.exports=s}).call(this,t(41)(a))},function(a,e){a.exports=function(a,e){for(var t=-1,i=e.length,n=a.length;++t<i;)a[n+t]=e[t];return a}},,function(a,e,t){"use strict";(function(a){var i=t(28),n=t(224),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=r&&"object"==typeof a&&a&&!a.nodeType&&a,s=o&&o.exports===r?i.a.Buffer:void 0,d=(s?s.isBuffer:void 0)||n.a;e.a=d}).call(this,t(362)(a))},function(a,e,t){var i=t(179),n=t(7);a.exports=function a(e,t,r,o,s){return e===t||(null==e||null==t||!n(e)&&!n(t)?e!=e&&t!=t:i(e,t,r,o,a,s))}},,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return a=(a=(a=a.replace(/\s{2,}/g," ")).replace(/\s\./g,".")).replace(/^\s+|\s+$/g,"")}},function(a,e,t){var i=t(168),n=t(170)(i);a.exports=n},function(a,e,t){var i=t(131),n=t(40),r=t(3),o=t(44),s=t(54),d=t(55),l=Object.prototype.hasOwnProperty;a.exports=function(a,e){var t=r(a),c=!t&&n(a),u=!t&&!c&&o(a),p=!t&&!c&&!u&&d(a),z=t||c||u||p,m=z?i(a.length,String):[],g=m.length;for(var f in a)!e&&!l.call(a,f)||z&&("length"==f||u&&("offset"==f||"parent"==f)||p&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||s(f,g))||m.push(f);return m}},function(a,e,t){var i=t(141),n=t(127),r=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,s=o?function(a){return null==a?[]:(a=Object(a),i(o(a),function(e){return r.call(a,e)}))}:n;a.exports=s},,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){if(""===(a=(0,n.default)((0,i.stripFullTags)(a))))return[];var e=a.split(/\s/g);return e=(0,o.map)(e,function(a){return(0,r.default)(a)}),(0,o.filter)(e,function(a){return""!==a.trim()})};var i=t(122),n=s(t(101)),r=s(t(539)),o=t(1);function s(a){return a&&a.__esModule?a:{default:a}}},function(a,e,t){var i=t(56),n=t(135),r=Object.prototype.hasOwnProperty;a.exports=function(a){if(!i(a))return n(a);var e=[];for(var t in Object(a))r.call(a,t)&&"constructor"!=t&&e.push(t);return e}},function(a,e){a.exports=function(a,e){return function(t){return a(e(t))}}},function(a,e,t){var i=t(117),n=t(180),r=t(118),o=1,s=2;a.exports=function(a,e,t,d,l,c){var u=t&o,p=a.length,z=e.length;if(p!=z&&!(u&&z>p))return!1;var m=c.get(a);if(m&&c.get(e))return m==e;var g=-1,f=!0,y=t&s?new i:void 0;for(c.set(a,e),c.set(e,a);++g<p;){var w=a[g],b=e[g];if(d)var h=u?d(b,w,g,e,a,c):d(w,b,g,a,e,c);if(void 0!==h){if(h)continue;f=!1;break}if(y){if(!n(e,function(a,e){if(!r(y,e)&&(w===a||l(w,a,t,d,c)))return y.push(e)})){f=!1;break}}else if(w!==b&&!l(w,b,t,d,c)){f=!1;break}}return c.delete(a),c.delete(e),f}},function(a,e,t){var i=t(5);a.exports=function(a){return a==a&&!i(a)}},function(a,e){a.exports=function(a,e){return function(t){return null!=t&&t[a]===e&&(void 0!==e||a in Object(t))}}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){a=(0,r.unifyNonBreakingSpace)(a);var e=(0,n.getBlocks)(a);e=(0,i.flatMap)(e,function(a){return a.split(s)});var t=(0,i.flatMap)(e,d);return(0,i.filter)(t,(0,i.negate)(i.isEmpty))};var i=t(1),n=t(381),r=t(606),o=function(a){return a&&a.__esModule?a:{default:a}}(t(910));var s=new RegExp("\n\r|\n|\r");var d=(0,i.memoize)(function(a){var e=new o.default,t=e.createTokenizer(),i=t.tokenizer,n=t.tokens;return e.tokenize(i,a),0===n.length?[]:e.getSentencesFromTokens(n)})},,function(a,e,t){var i=t(136),n=t(137),r=t(138);a.exports=function(a,e,t){return e==e?r(a,e,t):i(a,n,t)}},function(a,e,t){var i=t(172),n=t(187),r=t(42),o=t(3),s=t(190);a.exports=function(a){return"function"==typeof a?a:null==a?r:"object"==typeof a?o(a)?n(a[0],a[1]):i(a):s(a)}},function(a,e,t){var i=t(31),n=t(139),r=t(140);function o(a){var e=-1,t=null==a?0:a.length;for(this.__data__=new i;++e<t;)this.add(a[e])}o.prototype.add=o.prototype.push=n,o.prototype.has=r,a.exports=o},function(a,e){a.exports=function(a,e){return a.has(e)}},function(a,e){a.exports=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a){t[++e]=a}),t}},,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stripBlockTagsAtStartEnd=e.stripIncompleteTags=e.stripFullTags=void 0;var i=function(a){return a&&a.__esModule?a:{default:a}}(t(101)),n=t(381);var r=new RegExp("^<("+n.blockElements.join("|")+")[^>]*?>","i"),o=new RegExp("</("+n.blockElements.join("|")+")[^>]*?>$","i"),s=function(a){return a=(a=a.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")},d=function(a){return a=(a=a.replace(r,"")).replace(o,"")},l=function(a){return a=a.replace(/(<([^>]+)>)/gi," "),a=(0,i.default)(a)};e.stripFullTags=l,e.stripIncompleteTags=s,e.stripBlockTagsAtStartEnd=d,e.default={stripFullTags:l,stripIncompleteTags:s,stripBlockTagsAtStartEnd:d}},,function(a,e,t){var i=t(4).Uint8Array;a.exports=i},function(a,e,t){var i=t(126),n=t(104),r=t(35);a.exports=function(a){return i(a,r,n)}},function(a,e,t){var i=t(96),n=t(3);a.exports=function(a,e,t){var r=e(a);return n(a)?r:i(r,t(a))}},function(a,e){a.exports=function(){return[]}},,,function(a,e,t){var i=t(169)();a.exports=i},function(a,e){a.exports=function(a,e){for(var t=-1,i=Array(a);++t<a;)i[t]=e(t);return i}},function(a,e,t){var i=t(8),n=t(7),r="[object Arguments]";a.exports=function(a){return n(a)&&i(a)==r}},function(a,e){a.exports=function(){return!1}},function(a,e,t){var i=t(8),n=t(49),r=t(7),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,a.exports=function(a){return r(a)&&n(a.length)&&!!o[i(a)]}},function(a,e,t){var i=t(109)(Object.keys,Object);a.exports=i},function(a,e){a.exports=function(a,e,t,i){for(var n=a.length,r=t+(i?1:-1);i?r--:++r<n;)if(e(a[r],r,a))return r;return-1}},function(a,e){a.exports=function(a){return a!=a}},function(a,e){a.exports=function(a,e,t){for(var i=t-1,n=a.length;++i<n;)if(a[i]===e)return i;return-1}},function(a,e){var t="__lodash_hash_undefined__";a.exports=function(a){return this.__data__.set(a,t),this}},function(a,e){a.exports=function(a){return this.__data__.has(a)}},function(a,e){a.exports=function(a,e){for(var t=-1,i=null==a?0:a.length,n=0,r=[];++t<i;){var o=a[t];e(o,t,a)&&(r[n++]=o)}return r}},function(a,e,t){var i=t(10)(t(4),"Set");a.exports=i},function(a,e,t){var i=t(24),n=t(40),r=t(3),o=t(54),s=t(49),d=t(18);a.exports=function(a,e,t){for(var l=-1,c=(e=i(e,a)).length,u=!1;++l<c;){var p=d(e[l]);if(!(u=null!=a&&t(a,p)))break;a=a[p]}return u||++l!=c?u:!!(c=null==a?0:a.length)&&s(c)&&o(p,c)&&(r(a)||n(a))}},,,,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(a[i]=t[i])}return a},n=t(1);function r(a){(0,n.defaults)(a,{original:"",marked:""}),this._properties=a}r.prototype.getOriginal=function(){return this._properties.original},r.prototype.getMarked=function(){return this._properties.marked},r.prototype.applyWithReplace=function(a){return a.split(this._properties.original).join(this._properties.marked)},r.prototype.serialize=function(){return i({_parseClass:"Mark"},this._properties)},r.parse=function(a){return delete a._parseClass,new r(a)},e.default=r},function(a,e,t){"use strict";function i(a,e,t){return a>e&&a<=t}function n(a,e,t){return a>=e&&a<t}function r(a,e,t){return a>=e&&a<=t}Object.defineProperty(e,"__esModule",{value:!0}),e.inRange=i,e.inRangeStartInclusive=n,e.inRangeEndInclusive=i,e.inRangeStartEndInclusive=r,e.default={inRange:i,inRangeStartInclusive:n,inRangeEndInclusive:i,inRangeStartEndInclusive:r}},,,,function(a,e,t){var i=t(10)(t(4),"WeakMap");a.exports=i},,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=l(t(394)),n=l(t(391)),r=l(t(1096)),o=l(t(20)),s=t(1097),d=t(1);function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a,e){this.type="Assessor",this.setI18n(a),this._assessments=[],this._options=e||{},(0,d.isUndefined)(this._options.researcher)||(this._researcher=this._options.researcher)};c.prototype.setI18n=function(a){if((0,d.isUndefined)(a))throw new n.default("The assessor requires an i18n object.");this.i18n=a},c.prototype.getAvailableAssessments=function(){return this._assessments},c.prototype.isApplicable=function(a,e,t){return!a.hasOwnProperty("isApplicable")&&"function"!=typeof a.isApplicable||a.isApplicable(e,t)},c.prototype.hasMarker=function(a){return(0,d.isFunction)(this._options.marker)&&(a.hasOwnProperty("getMarks")||"function"==typeof a.getMarks)},c.prototype.getSpecificMarker=function(){return this._options.marker},c.prototype.getPaper=function(){return this._lastPaper},c.prototype.getMarker=function(a,e,t){var i=this._options.marker;return function(){var n=a.getMarks(e,t);n=(0,r.default)(n),i(e,n)}},c.prototype.assess=function(a){(0,d.isUndefined)(this._researcher)?this._researcher=new i.default(a):this._researcher.setPaper(a);var e=this.getAvailableAssessments();this.results=[],e=(0,d.filter)(e,function(e){return this.isApplicable(e,a,this._researcher)}.bind(this)),this.setHasMarkers(!1),this.results=(0,d.map)(e,this.executeAssessment.bind(this,a,this._researcher)),this._lastPaper=a},c.prototype.setHasMarkers=function(a){this._hasMarkers=a},c.prototype.hasMarkers=function(){return this._hasMarkers},c.prototype.executeAssessment=function(a,e,t){var i;try{(i=t.getResult(a,e,this.i18n)).setIdentifier(t.identifier),i.hasMarks()&&(i.marks=t.getMarks(a,e),i.marks=(0,r.default)(i.marks)),i.hasMarks()&&this.hasMarker(t)&&(this.setHasMarkers(!0),i.setMarker(this.getMarker(t,a,e)))}catch(a){(0,s.showTrace)(a),(i=new o.default).setScore(-1),i.setText(this.i18n.sprintf(this.i18n.dgettext("js-text-analysis","An error occurred in the '%1$s' assessment"),t.identifier,a))}return i},c.prototype.getValidResults=function(){return(0,d.filter)(this.results,function(a){return this.isValidResult(a)}.bind(this))},c.prototype.isValidResult=function(a){return a.hasScore()&&a.hasText()},c.prototype.calculateOverallScore=function(){var a=this.getValidResults(),e=0;return(0,d.forEach)(a,function(a){e+=a.getScore()}),Math.round(e/(9*a.length)*100)||0},c.prototype.addAssessment=function(a,e){return e.hasOwnProperty("identifier")||(e.identifier=a),this._assessments.push(e),!0},c.prototype.removeAssessment=function(a){var e=(0,d.findIndex)(this._assessments,function(e){return e.hasOwnProperty("identifier")&&a===e.identifier});-1!==e&&this._assessments.splice(e,1)},c.prototype.getAssessment=function(a){return(0,d.find)(this._assessments,function(e){return e.hasOwnProperty("identifier")&&a===e.identifier})},c.prototype.getApplicableAssessments=function(){var a=this.getAvailableAssessments();return(0,d.filter)(a,function(a){return this.isApplicable(a,this.getPaper())}.bind(this))},e.default=c},,,,,,,,function(a,e,t){var i=t(130),n=t(35);a.exports=function(a,e){return a&&i(a,e,n)}},function(a,e){a.exports=function(a){return function(e,t,i){for(var n=-1,r=Object(e),o=i(e),s=o.length;s--;){var d=o[a?s:++n];if(!1===t(r[d],d,r))break}return e}}},function(a,e,t){var i=t(26);a.exports=function(a,e){return function(t,n){if(null==t)return t;if(!i(t))return a(t,n);for(var r=t.length,o=e?r:-1,s=Object(t);(e?o--:++o<r)&&!1!==n(s[o],o,s););return t}}},function(a,e,t){var i=t(5),n=t(15),r=NaN,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;a.exports=function(a){if("number"==typeof a)return a;if(n(a))return r;if(i(a)){var e="function"==typeof a.valueOf?a.valueOf():a;a=i(e)?e+"":e}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(o,"");var t=d.test(a);return t||l.test(a)?c(a.slice(2),t?2:8):s.test(a)?r:+a}},function(a,e,t){var i=t(173),n=t(186),r=t(112);a.exports=function(a){var e=n(a);return 1==e.length&&e[0][2]?r(e[0][0],e[0][1]):function(t){return t===a||i(t,a,e)}}},function(a,e,t){var i=t(85),n=t(99),r=1,o=2;a.exports=function(a,e,t,s){var d=t.length,l=d,c=!s;if(null==a)return!l;for(a=Object(a);d--;){var u=t[d];if(c&&u[2]?u[1]!==a[u[0]]:!(u[0]in a))return!1}for(;++d<l;){var p=(u=t[d])[0],z=a[p],m=u[1];if(c&&u[2]){if(void 0===z&&!(p in a))return!1}else{var g=new i;if(s)var f=s(z,m,p,a,e,g);if(!(void 0===f?n(m,z,r|o,s,g):f))return!1}}return!0}},function(a,e,t){var i=t(25);a.exports=function(){this.__data__=new i,this.size=0}},function(a,e){a.exports=function(a){var e=this.__data__,t=e.delete(a);return this.size=e.size,t}},function(a,e){a.exports=function(a){return this.__data__.get(a)}},function(a,e){a.exports=function(a){return this.__data__.has(a)}},function(a,e,t){var i=t(25),n=t(34),r=t(31),o=200;a.exports=function(a,e){var t=this.__data__;if(t instanceof i){var s=t.__data__;if(!n||s.length<o-1)return s.push([a,e]),this.size=++t.size,this;t=this.__data__=new r(s)}return t.set(a,e),this.size=t.size,this}},function(a,e,t){var i=t(85),n=t(110),r=t(181),o=t(183),s=t(57),d=t(3),l=t(44),c=t(55),u=1,p="[object Arguments]",z="[object Array]",m="[object Object]",g=Object.prototype.hasOwnProperty;a.exports=function(a,e,t,f,y,w){var b=d(a),h=d(e),v=b?z:s(a),k=h?z:s(e),_=(v=v==p?m:v)==m,j=(k=k==p?m:k)==m,T=v==k;if(T&&l(a)){if(!l(e))return!1;b=!0,_=!1}if(T&&!_)return w||(w=new i),b||c(a)?n(a,e,t,f,y,w):r(a,e,v,t,f,y,w);if(!(t&u)){var E=_&&g.call(a,"__wrapped__"),A=j&&g.call(e,"__wrapped__");if(E||A){var x=E?a.value():a,S=A?e.value():e;return w||(w=new i),y(x,S,t,f,w)}}return!!T&&(w||(w=new i),o(a,e,t,f,y,w))}},function(a,e){a.exports=function(a,e){for(var t=-1,i=null==a?0:a.length;++t<i;)if(e(a[t],t,a))return!0;return!1}},function(a,e,t){var i=t(9),n=t(124),r=t(23),o=t(110),s=t(182),d=t(119),l=1,c=2,u="[object Boolean]",p="[object Date]",z="[object Error]",m="[object Map]",g="[object Number]",f="[object RegExp]",y="[object Set]",w="[object String]",b="[object Symbol]",h="[object ArrayBuffer]",v="[object DataView]",k=i?i.prototype:void 0,_=k?k.valueOf:void 0;a.exports=function(a,e,t,i,k,j,T){switch(t){case v:if(a.byteLength!=e.byteLength||a.byteOffset!=e.byteOffset)return!1;a=a.buffer,e=e.buffer;case h:return!(a.byteLength!=e.byteLength||!j(new n(a),new n(e)));case u:case p:case g:return r(+a,+e);case z:return a.name==e.name&&a.message==e.message;case f:case w:return a==e+"";case m:var E=s;case y:var A=i&l;if(E||(E=d),a.size!=e.size&&!A)return!1;var x=T.get(a);if(x)return x==e;i|=c,T.set(a,e);var S=o(E(a),E(e),i,k,j,T);return T.delete(a),S;case b:if(_)return _.call(a)==_.call(e)}return!1}},function(a,e){a.exports=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a,i){t[++e]=[i,a]}),t}},function(a,e,t){var i=t(125),n=1,r=Object.prototype.hasOwnProperty;a.exports=function(a,e,t,o,s,d){var l=t&n,c=i(a),u=c.length;if(u!=i(e).length&&!l)return!1;for(var p=u;p--;){var z=c[p];if(!(l?z in e:r.call(e,z)))return!1}var m=d.get(a);if(m&&d.get(e))return m==e;var g=!0;d.set(a,e),d.set(e,a);for(var f=l;++p<u;){var y=a[z=c[p]],w=e[z];if(o)var b=l?o(w,y,z,e,a,d):o(y,w,z,a,e,d);if(!(void 0===b?y===w||s(y,w,t,o,d):b)){g=!1;break}f||(f="constructor"==z)}if(g&&!f){var h=a.constructor,v=e.constructor;h!=v&&"constructor"in a&&"constructor"in e&&!("function"==typeof h&&h instanceof h&&"function"==typeof v&&v instanceof v)&&(g=!1)}return d.delete(a),d.delete(e),g}},function(a,e,t){var i=t(10)(t(4),"DataView");a.exports=i},function(a,e,t){var i=t(10)(t(4),"Promise");a.exports=i},function(a,e,t){var i=t(111),n=t(35);a.exports=function(a){for(var e=n(a),t=e.length;t--;){var r=e[t],o=a[r];e[t]=[r,o,i(o)]}return e}},function(a,e,t){var i=t(99),n=t(16),r=t(188),o=t(33),s=t(111),d=t(112),l=t(18),c=1,u=2;a.exports=function(a,e){return o(a)&&s(e)?d(l(a),e):function(t){var o=n(t,a);return void 0===o&&o===e?r(t,a):i(e,o,c|u)}}},function(a,e,t){var i=t(189),n=t(143);a.exports=function(a,e){return null!=a&&n(a,e,i)}},function(a,e){a.exports=function(a,e){return null!=a&&e in Object(a)}},function(a,e,t){var i=t(191),n=t(192),r=t(33),o=t(18);a.exports=function(a){return r(a)?i(o(a)):n(a)}},function(a,e){a.exports=function(a){return function(e){return null==e?void 0:e[a]}}},function(a,e,t){var i=t(32);a.exports=function(a){return function(e){return i(e,a)}}},,,,,,,,,,,,,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return(0,i.default)(a).length};var i=function(a){return a&&a.__esModule?a:{default:a}}(t(107))},function(a,e,t){"use strict";var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}();var n=function(){function a(e){!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var t={},i=this._getOverriddenMethods(this,t),n=!0,r=!1,o=void 0;try{for(var s,d=Object.keys(i)[Symbol.iterator]();!(n=(s=d.next()).done);n=!0){var l=s.value;"function"==typeof i[l]&&(t[l]=e[l],e[l]=i[l])}}catch(a){r=!0,o=a}finally{try{!n&&d.return&&d.return()}finally{if(r)throw o}}}return i(a,[{key:"_getOverriddenMethods",value:function(){throw new Error("Not implemented")}}]),a}();n.install=function(a,e,t){a.__mixins||(a.__mixins=[]);for(var i=0;i<a.__mixins.length;i++)if(a.__mixins[i].constructor===e)return a.__mixins[i];var n=new e(a,t);return a.__mixins.push(n),n},a.exports=n},,,,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findTopicFormsInString=e.findWordFormsInString=void 0;var i=function(a){return a&&a.__esModule?a:{default:a}}(t(369)),n=t(1);var r=function(a,e,t){for(var r=a.length,o=Array(r),s=0;s<r;s++){var d=(0,i.default)(e,a[s],t).count>0;o[s]=d?1:0}var l=(0,n.sum)(o),c={countWordMatches:l,percentWordMatches:0};return r>0&&(c.percentWordMatches=Math.round(l/r*100)),c};e.findWordFormsInString=r,e.findTopicFormsInString=function(a,e,t,i){var o=r(a.keyphraseForms,e,i);if(o.keyphraseOrSynonym="keyphrase",100===o.percentWordMatches||!1===t||(0,n.isEmpty)(a.synonymsForms))return o;for(var s=[],d=0;d<a.synonymsForms.length;d++){var l=a.synonymsForms[d];s[d]=r(l,e,i)}var c=s.map(function(a){return a.percentWordMatches}),u=c.indexOf(Math.max.apply(Math,function(a){if(Array.isArray(a)){for(var e=0,t=Array(a.length);e<a.length;e++)t[e]=a[e];return t}return Array.from(a)}(c)));return o.percentWordMatches>=s[u].percentWordMatches?o:((o=s[u]).keyphraseOrSynonym="synonym",o)}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(1),n=t(1043),r={auxiliaries:[],type:"",language:""},o=function(a,e,t){this.setParticiple(a),this.setSentencePart(e),this._determinesSentencePartIsPassive=!1,t=t||{},(0,i.defaults)(t,r),function(a){(0,i.forEach)(a,function(a,e){var t=(0,n.getType)(r[e]);if(!1===(0,n.isSameType)(a,t))throw Error("Attribute "+e+" has invalid type. Expected "+t+", got "+(0,n.getType)(a)+".")})}(t),this._attributes=t};o.prototype.setParticiple=function(a){if(""===a)throw Error("The participle should not be empty.");if(!(0,i.isString)(a))throw Error("The participle should be a string.");this._participle=a},o.prototype.getParticiple=function(){return this._participle},o.prototype.setSentencePart=function(a){if(""===a)throw Error("The sentence part should not be empty.");this._sentencePart=a},o.prototype.getSentencePart=function(){return this._sentencePart},o.prototype.getType=function(){return this._attributes.type},o.prototype.getAuxiliaries=function(){return this._attributes.auxiliaries},o.prototype.getLanguage=function(){return this._attributes.language},o.prototype.determinesSentencePartIsPassive=function(){return this._determinesSentencePartIsPassive},o.prototype.setSentencePartPassiveness=function(a){if(!(0,n.isSameType)(a,"boolean"))throw Error("Passiveness had invalid type. Expected boolean, got "+(0,n.getType)(a)+".");this._determinesSentencePartIsPassive=a},o.prototype.serialize=function(){return{_parseClass:"Participle",attributes:this._attributes,participle:this._participle,sentencePart:this._sentencePart,determinesSentencePartIsPassive:this._determinesSentencePartIsPassive}},o.parse=function(a){var e=new o(a.participle,a.sentencePart,a.attributes);return e.setSentencePartPassiveness(a.determinesSentencePartIsPassive),e},e.default=o},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(a,e,t){this._sentencePartText=a,this._auxiliaries=e,this._locale=t,this._isPassive=!1};i.prototype.getSentencePartText=function(){return this._sentencePartText},i.prototype.isPassive=function(){return this._isPassive},i.prototype.getAuxiliaries=function(){return this._auxiliaries},i.prototype.getLocale=function(){return this._locale},i.prototype.setPassive=function(a){this._isPassive=a},i.prototype.serialize=function(){return{_parseClass:"SentencePart",sentencePartText:this._sentencePartText,auxiliaries:this._auxiliaries,locale:this._locale,isPassive:this._isPassive}},i.parse=function(a){var e=new i(a.sentencePartText,a.auxiliaries,a.locale);return e.setPassive(a.isPassive),e},e.default=i},,,,function(a,e,t){"use strict";e.a=function(){return!1}},,,,,,,function(a,e){var t,i,n=a.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(a){if(t===setTimeout)return setTimeout(a,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(a,0);try{return t(a,0)}catch(e){try{return t.call(null,a,0)}catch(e){return t.call(this,a,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(a){t=r}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(a){i=o}}();var d,l=[],c=!1,u=-1;function p(){c&&d&&(c=!1,d.length?l=d.concat(l):u=-1,l.length&&z())}function z(){if(!c){var a=s(p);c=!0;for(var e=l.length;e;){for(d=l,l=[];++u<e;)d&&d[u].run();u=-1,e=l.length}d=null,c=!1,function(a){if(i===clearTimeout)return clearTimeout(a);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(a);try{i(a)}catch(e){try{return i.call(null,a)}catch(e){return i.call(this,a)}}}(a)}}function m(a,e){this.fun=a,this.array=e}function g(){}n.nextTick=function(a){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];l.push(new m(a,e)),1!==l.length||c||s(z)},m.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(a){return[]},n.binding=function(a){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(a){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},,,,function(a,e,t){var i=t(8),n=t(3),r=t(7),o="[object String]";a.exports=function(a){return"string"==typeof a||!n(a)&&r(a)&&i(a)==o}},,,,,,,,,,,,,,,,,,,,,,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return"<yoastmark class='yoast-text-mark'>"+a+"</yoastmark>"}},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=l(t(50)),s=t(27),d=l(t(20));function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={scores:{onlyFunctionWords:0},urlTitle:(0,s.createAnchorOpeningTag)("https://yoa.st/functionwordskeyphrase-1"),urlCallToAction:(0,s.createAnchorOpeningTag)("https://yoa.st/functionwordskeyphrase-2")};return t.identifier="functionWordsInKeyphrase",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){this._functionWordsInKeyphrase=e.getResearch("functionWordsInKeyphrase"),this._keyword=(0,r.escape)(a.getKeyword());var i=new d.default;return this._functionWordsInKeyphrase&&(i.setScore(this._config.scores.onlyFunctionWords),i.setText(t.sprintf(t.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))),i}},{key:"isApplicable",value:function(a){return a.hasKeyword()}}]),e}();e.default=c},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=l(t(50)),s=t(27),d=l(t(20));function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={scores:{good:9,okay:6,bad:3},urlTitle:(0,s.createAnchorOpeningTag)("https://yoa.st/33e"),urlCallToAction:(0,s.createAnchorOpeningTag)("https://yoa.st/33f")};return t.identifier="introductionKeyword",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){var i=new d.default;this._firstParagraphMatches=e.getResearch("firstParagraph");var n=this.calculateResult(t);return i.setScore(n.score),i.setText(n.resultText),i}},{key:"isApplicable",value:function(a){return a.hasKeyword()&&a.hasText()}},{key:"calculateResult",value:function(a){return this._firstParagraphMatches.foundInOneSentence?{score:this._config.scores.good,resultText:a.sprintf(a.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:a.sprintf(a.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:a.sprintf(a.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>")}}}]),e}();e.default=c},function(a,e,t){"use strict";function i(a){return a.replace(/[‘’‛`]/g,"'")}function n(a){return a.replace(/[“”〝〞〟‟„]/g,'"')}function r(a){return n(i(a))}Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeSingle=i,e.normalizeDouble=n,e.normalize=r,e.default={normalizeSingle:i,normalizeDouble:n,normalize:r}},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=u(t(50)),s=u(t(607)),d=u(t(87)),l=t(27),c=u(t(20));function u(a){return a&&a.__esModule?a:{default:a}}var p=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={parameters:{recommendedMinimum:1,recommendedMaximum:4,acceptableMaximum:8},parametersNoFunctionWordSupport:{recommendedMaximum:6,acceptableMaximum:9},scores:{veryBad:-999,bad:3,okay:6,good:9},urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/33i"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/33j"),isRelatedKeyphrase:!1};return t.identifier="keyphraseLength",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){this._keyphraseLength=e.getResearch("keyphraseLength");var i=new c.default;this._boundaries=this._config.parameters,!1===(0,s.default)().includes((0,d.default)(a.getLocale()))&&(this._boundaries=(0,r.merge)({},this._config.parameters,this._config.parametersNoFunctionWordSupport));var n=this.calculateResult(t);return(0,r.isUndefined)(n)||(i.setScore(n.score),i.setText(n.resultText)),i}},{key:"calculateResult",value:function(a){return this._keyphraseLength<this._boundaries.recommendedMinimum?this._config.isRelatedKeyphrase?{score:this._config.scores.veryBad,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase length%3$s: %2$sSet a keyphrase in order to calculate your SEO score%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.veryBad,resultText:a.sprintf(a.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._config.urlTitle,this._config.urlCallToAction,"</a>")}:(0,r.inRange)(this._keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum+1)?{score:this._config.scores.good,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase length%2$s: Good job!"),this._config.urlTitle,"</a>")}:(0,r.inRange)(this._keyphraseLength,this._boundaries.recommendedMaximum+1,this._boundaries.acceptableMaximum+1)?{score:this._config.scores.okay,resultText:a.sprintf(a.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._keyphraseLength,this._boundaries.recommendedMaximum,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:a.sprintf(a.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._keyphraseLength,this._boundaries.recommendedMaximum,this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),e}();e.default=p},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=g(t(915)),s=g(t(50)),d=g(t(87)),l=g(t(621)),c=g(t(20)),u=t(152),p=t(27),z=g(t(620)),m=g(t(209));function g(a){return a&&a.__esModule?a:{default:a}}var f=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={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:(0,p.createAnchorOpeningTag)("https://yoa.st/33v"),urlCallToAction:(0,p.createAnchorOpeningTag)("https://yoa.st/33w")};return t.identifier="keywordDensity",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,s.default),n(e,[{key:"setBoundaries",value:function(a,e){this._hasMorphologicalForms?this._boundaries=this._config.parameters.multipleWordForms:this._boundaries=this._config.parameters.noWordForms,this._minRecommendedKeywordCount=(0,o.default)(a,e,this._boundaries.minimum,"min"),this._maxRecommendedKeywordCount=(0,o.default)(a,e,this._boundaries.maximum,"max")}},{key:"getResult",value:function(a,e,t){this._hasMorphologicalForms=!1!==e.getData("morphology")&&(0,l.default)().includes((0,d.default)(a.getLocale())),this._keywordCount=e.getResearch("keywordCount");var i=this._keywordCount.length;this.setBoundaries(a.getText(),i);var n=new c.default;this._keywordDensity=e.getResearch("getKeywordDensity"),this._keywordDensity=this._keywordDensity*(0,z.default)(i);var r=this.calculateResult(t);return n.setScore(r.score),n.setText(r.resultText),n.setHasMarks(this._keywordCount.count>0),n}},{key:"hasNoMatches",value:function(){return 0===this._keywordCount.count}},{key:"hasTooFewMatches",value:function(){return(0,u.inRangeStartInclusive)(this._keywordDensity,0,this._boundaries.minimum)||1===this._keywordCount.count}},{key:"hasGoodNumberOfMatches",value:function(){return(0,u.inRangeStartEndInclusive)(this._keywordDensity,this._boundaries.minimum,this._boundaries.maximum)||2===this._keywordCount.count&&this._minRecommendedKeywordCount<=2}},{key:"hasTooManyMatches",value:function(){return(0,u.inRangeEndInclusive)(this._keywordDensity,this._boundaries.maximum,this._boundaries.overMaximum)}},{key:"calculateResult",value:function(a){return this.hasNoMatches()?{score:this._config.scores.underMinimum,resultText:a.sprintf(a.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:a.sprintf(a.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:a.sprintf(a.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:a.sprintf(a.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:a.sprintf(a.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(a){return a.hasText()&&a.hasKeyword()&&(0,m.default)(a.getText())>=100}}]),e}();e.default=f},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],d="("+(a=(0,i.map)(a,function(a){return s&&(a=(0,r.default)(a)),a=(0,o.default)(a),e?a:(0,n.default)(a,!0,t)})).join(")|(")+")";return new RegExp(d,"ig")};var i=t(1),n=s(t(364)),r=s(t(384)),o=s(t(623));function s(a){return a&&a.__esModule?a:{default:a}}},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=l(t(50)),s=t(27),d=l(t(20));function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={parameters:{recommendedMinimum:1},scores:{good:9,ok:6,bad:3},urlTitle:(0,s.createAnchorOpeningTag)("https://yoa.st/33k"),urlCallToAction:(0,s.createAnchorOpeningTag)("https://yoa.st/33l")};return t.identifier="metaDescriptionKeyword",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){this._keyphraseCounts=e.getResearch("metaDescriptionKeyword");var i=new d.default,n=this.calculateResult(t);return i.setScore(n.score),i.setText(n.resultText),i}},{key:"calculateResult",value:function(a){return 1===this._keyphraseCounts||2===this._keyphraseCounts?{score:this._config.scores.good,resultText:a.sprintf(a.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:a.sprintf(a.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:a.sprintf(a.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(a){return a.hasKeyword()&&a.hasDescription()}}]),e}();e.default=c},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,e,t){var r=(0,n.default)(a),p=[];return(0,i.forEach)(r,function(i){var n="";if(0!==m(i,t).length&&(n="regular"),0!==g(i,t).length&&(n="irregular"),""!==n)switch(t){case"fr":p.push(new s.default(i,a,{auxiliaries:e,type:n,language:t}));break;case"es":p.push(new d.default(i,a,{auxiliaries:e,type:n,language:t}));break;case"it":p.push(new l.default(i,a,{auxiliaries:e,type:n,language:t}));break;case"nl":p.push(new c.default(i,a,{auxiliaries:e,type:n,language:t}));break;case"pl":p.push(new u.default(i,a,{auxiliaries:e,type:n,language:t}));break;case"en":default:p.push(new o.default(i,a,{auxiliaries:e,type:n,language:t}))}}),p};var i=t(1),n=p(t(107)),r=p(t(1035)),o=p(t(1042)),s=p(t(1045)),d=p(t(1047)),l=p(t(1048)),c=p(t(1049)),u=p(t(1051));function p(a){return a&&a.__esModule?a:{default:a}}var z=(0,r.default)(),m=z.regularParticiples,g=z.irregularParticiples},function(a,e,t){"use strict";var i,n,r,o;function s(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var d=e.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};e.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},e.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};var l=e.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};e.SPECIAL_ELEMENTS=(s(o={},d.HTML,(s(i={},l.ADDRESS,!0),s(i,l.APPLET,!0),s(i,l.AREA,!0),s(i,l.ARTICLE,!0),s(i,l.ASIDE,!0),s(i,l.BASE,!0),s(i,l.BASEFONT,!0),s(i,l.BGSOUND,!0),s(i,l.BLOCKQUOTE,!0),s(i,l.BODY,!0),s(i,l.BR,!0),s(i,l.BUTTON,!0),s(i,l.CAPTION,!0),s(i,l.CENTER,!0),s(i,l.COL,!0),s(i,l.COLGROUP,!0),s(i,l.DD,!0),s(i,l.DETAILS,!0),s(i,l.DIR,!0),s(i,l.DIV,!0),s(i,l.DL,!0),s(i,l.DT,!0),s(i,l.EMBED,!0),s(i,l.FIELDSET,!0),s(i,l.FIGCAPTION,!0),s(i,l.FIGURE,!0),s(i,l.FOOTER,!0),s(i,l.FORM,!0),s(i,l.FRAME,!0),s(i,l.FRAMESET,!0),s(i,l.H1,!0),s(i,l.H2,!0),s(i,l.H3,!0),s(i,l.H4,!0),s(i,l.H5,!0),s(i,l.H6,!0),s(i,l.HEAD,!0),s(i,l.HEADER,!0),s(i,l.HGROUP,!0),s(i,l.HR,!0),s(i,l.HTML,!0),s(i,l.IFRAME,!0),s(i,l.IMG,!0),s(i,l.INPUT,!0),s(i,l.LI,!0),s(i,l.LINK,!0),s(i,l.LISTING,!0),s(i,l.MAIN,!0),s(i,l.MARQUEE,!0),s(i,l.MENU,!0),s(i,l.META,!0),s(i,l.NAV,!0),s(i,l.NOEMBED,!0),s(i,l.NOFRAMES,!0),s(i,l.NOSCRIPT,!0),s(i,l.OBJECT,!0),s(i,l.OL,!0),s(i,l.P,!0),s(i,l.PARAM,!0),s(i,l.PLAINTEXT,!0),s(i,l.PRE,!0),s(i,l.SCRIPT,!0),s(i,l.SECTION,!0),s(i,l.SELECT,!0),s(i,l.SOURCE,!0),s(i,l.STYLE,!0),s(i,l.SUMMARY,!0),s(i,l.TABLE,!0),s(i,l.TBODY,!0),s(i,l.TD,!0),s(i,l.TEMPLATE,!0),s(i,l.TEXTAREA,!0),s(i,l.TFOOT,!0),s(i,l.TH,!0),s(i,l.THEAD,!0),s(i,l.TITLE,!0),s(i,l.TR,!0),s(i,l.TRACK,!0),s(i,l.UL,!0),s(i,l.WBR,!0),s(i,l.XMP,!0),i)),s(o,d.MATHML,(s(n={},l.MI,!0),s(n,l.MO,!0),s(n,l.MN,!0),s(n,l.MS,!0),s(n,l.MTEXT,!0),s(n,l.ANNOTATION_XML,!0),n)),s(o,d.SVG,(s(r={},l.TITLE,!0),s(r,l.FOREIGN_OBJECT,!0),s(r,l.DESC,!0),r)),o)},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),n=t(1);var r=function(){function a(e){!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),this.type=e,this.sourceStartIndex=0,this.sourceEndIndex=0,this._researchResult={}}return i(a,[{key:"setResearchResult",value:function(a,e){this._researchResult[a]=e}},{key:"getResearchResult",value:function(a){return(0,n.get)(this._researchResult,a,null)}},{key:"hasResearchResult",value:function(a){return(0,n.has)(this._researchResult,a)}},{key:"map",value:function(a){var e=a(this);return e.children&&e.children.length>0&&(e.children=e.children.map(function(e){return e.map(a)})),e}},{key:"forEach",value:function(a){a(this),this.children&&this.children.length>0&&this.children.forEach(a)}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;return JSON.stringify(this,a._removeParent,e)}}],[{key:"_removeParent",value:function(a,e){if("parent"!==a)return e}}]),a}();e.default=r},,,,,,,,,,,,,function(a,e,t){
|
11 |
-
/**
|
12 |
-
* @preserve jed.js https://github.com/SlexAxton/Jed
|
13 |
-
*/
|
14 |
-
!function(t,i){var n=Array.prototype,r=Object.prototype,o=n.slice,s=r.hasOwnProperty,d=n.forEach,l={},c={forEach:function(a,e,t){var i,n,r;if(null!==a)if(d&&a.forEach===d)a.forEach(e,t);else if(a.length===+a.length){for(i=0,n=a.length;i<n;i++)if(i in a&&e.call(t,a[i],i,a)===l)return}else for(r in a)if(s.call(a,r)&&e.call(t,a[r],r,a)===l)return},extend:function(a){return this.forEach(o.call(arguments,1),function(e){for(var t in e)a[t]=e[t]}),a}},u=function(a){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=c.extend({},this.defaults,a),this.textdomain(this.options.domain),a.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+a.domain+"`")};function p(a){return u.PF.compile(a||"nplurals=2; plural=(n != 1);")}function z(a,e){this._key=a,this._i18n=e}u.context_delimiter=String.fromCharCode(4),c.extend(z.prototype,{onDomain:function(a){return this._domain=a,this},withContext:function(a){return this._context=a,this},ifPlural:function(a,e){return this._val=a,this._pkey=e,this},fetch:function(a){return"[object Array]"!={}.toString.call(a)&&(a=[].slice.call(arguments,0)),(a&&a.length?u.sprintf:function(a){return a})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),a)}}),c.extend(u.prototype,{translate:function(a){return new z(a,this)},textdomain:function(a){if(!a)return this._textdomain;this._textdomain=a},gettext:function(a){return this.dcnpgettext.call(this,void 0,void 0,a)},dgettext:function(a,e){return this.dcnpgettext.call(this,a,void 0,e)},dcgettext:function(a,e){return this.dcnpgettext.call(this,a,void 0,e)},ngettext:function(a,e,t){return this.dcnpgettext.call(this,void 0,void 0,a,e,t)},dngettext:function(a,e,t,i){return this.dcnpgettext.call(this,a,void 0,e,t,i)},dcngettext:function(a,e,t,i){return this.dcnpgettext.call(this,a,void 0,e,t,i)},pgettext:function(a,e){return this.dcnpgettext.call(this,void 0,a,e)},dpgettext:function(a,e,t){return this.dcnpgettext.call(this,a,e,t)},dcpgettext:function(a,e,t){return this.dcnpgettext.call(this,a,e,t)},npgettext:function(a,e,t,i){return this.dcnpgettext.call(this,void 0,a,e,t,i)},dnpgettext:function(a,e,t,i,n){return this.dcnpgettext.call(this,a,e,t,i,n)},dcnpgettext:function(a,e,t,i,n){var r;if(i=i||t,a=a||this._textdomain,!this.options)return(r=new u).dcnpgettext.call(r,void 0,void 0,t,i,n);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[a])throw new Error("Domain `"+a+"` was not found.");if(!this.options.locale_data[a][""])throw new Error("No locale meta information provided.");if(!t)throw new Error("No translation key found.");var o,s,d,l=e?e+u.context_delimiter+t:t,c=this.options.locale_data,z=c[a],m=(c.messages||this.defaults.locale_data.messages)[""],g=z[""].plural_forms||z[""]["Plural-Forms"]||z[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void 0===n)d=0;else{if("number"!=typeof n&&(n=parseInt(n,10),isNaN(n)))throw new Error("The number that was passed in is not a number.");d=p(g)(n)}if(!z)throw new Error("No domain named `"+a+"` could be found.");return!(o=z[l])||d>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,a),s=[t,i],!0===this.options.debug&&console.log(s[p(g)(n)]),s[p()(n)]):(s=o[d])||(s=[t,i])[p()(n)]}});var m=function(){function a(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function e(a,e){for(var t=[];e>0;t[--e]=a);return t.join("")}var t=function(){return t.cache.hasOwnProperty(arguments[0])||(t.cache[arguments[0]]=t.parse(arguments[0])),t.format.call(null,t.cache[arguments[0]],arguments)};return t.format=function(t,i){var n,r,o,s,d,l,c,u=1,p=t.length,z="",g=[];for(r=0;r<p;r++)if("string"===(z=a(t[r])))g.push(t[r]);else if("array"===z){if((s=t[r])[2])for(n=i[u],o=0;o<s[2].length;o++){if(!n.hasOwnProperty(s[2][o]))throw m('[sprintf] property "%s" does not exist',s[2][o]);n=n[s[2][o]]}else n=s[1]?i[s[1]]:i[u++];if(/[^s]/.test(s[8])&&"number"!=a(n))throw m("[sprintf] expecting number but found %s",a(n));switch(void 0!==n&&null!==n||(n=""),s[8]){case"b":n=n.toString(2);break;case"c":n=String.fromCharCode(n);break;case"d":n=parseInt(n,10);break;case"e":n=s[7]?n.toExponential(s[7]):n.toExponential();break;case"f":n=s[7]?parseFloat(n).toFixed(s[7]):parseFloat(n);break;case"o":n=n.toString(8);break;case"s":n=(n=String(n))&&s[7]?n.substring(0,s[7]):n;break;case"u":n=Math.abs(n);break;case"x":n=n.toString(16);break;case"X":n=n.toString(16).toUpperCase()}n=/[def]/.test(s[8])&&s[3]&&n>=0?"+"+n:n,l=s[4]?"0"==s[4]?"0":s[4].charAt(1):" ",c=s[6]-String(n).length,d=s[6]?e(l,c):"",g.push(s[5]?n+d:d+n)}return g.join("")},t.cache={},t.parse=function(a){for(var e=a,t=[],i=[],n=0;e;){if(null!==(t=/^[^\x25]+/.exec(e)))i.push(t[0]);else if(null!==(t=/^\x25{2}/.exec(e)))i.push("%");else{if(null===(t=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(e)))throw"[sprintf] huh?";if(t[2]){n|=1;var r=[],o=t[2],s=[];if(null===(s=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(r.push(s[1]);""!==(o=o.substring(s[0].length));)if(null!==(s=/^\.([a-z_][a-z_\d]*)/i.exec(o)))r.push(s[1]);else{if(null===(s=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";r.push(s[1])}t[2]=r}else n|=2;if(3===n)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";i.push(t)}e=e.substring(t[0].length)}return i},t}();u.parse_plural=function(a,e){return a=a.replace(/n/g,e),u.parse_expression(a)},u.sprintf=function(a,e){return"[object Array]"=={}.toString.call(e)?function(a,e){return e.unshift(a),m.apply(null,e)}(a,[].slice.call(e)):m.apply(this,[].slice.call(arguments))},u.prototype.sprintf=function(){return u.sprintf.apply(this,arguments)},u.PF={},u.PF.parse=function(a){var e=u.PF.extractPluralExpr(a);return u.PF.parser.parse.call(u.PF.parser,e)},u.PF.compile=function(a){var e=u.PF.parse(a);return function(a){return function(a){return!0===a?1:a||0}(u.PF.interpreter(e)(a))}},u.PF.interpreter=function(a){return function(e){switch(a.type){case"GROUP":return u.PF.interpreter(a.expr)(e);case"TERNARY":return u.PF.interpreter(a.expr)(e)?u.PF.interpreter(a.truthy)(e):u.PF.interpreter(a.falsey)(e);case"OR":return u.PF.interpreter(a.left)(e)||u.PF.interpreter(a.right)(e);case"AND":return u.PF.interpreter(a.left)(e)&&u.PF.interpreter(a.right)(e);case"LT":return u.PF.interpreter(a.left)(e)<u.PF.interpreter(a.right)(e);case"GT":return u.PF.interpreter(a.left)(e)>u.PF.interpreter(a.right)(e);case"LTE":return u.PF.interpreter(a.left)(e)<=u.PF.interpreter(a.right)(e);case"GTE":return u.PF.interpreter(a.left)(e)>=u.PF.interpreter(a.right)(e);case"EQ":return u.PF.interpreter(a.left)(e)==u.PF.interpreter(a.right)(e);case"NEQ":return u.PF.interpreter(a.left)(e)!=u.PF.interpreter(a.right)(e);case"MOD":return u.PF.interpreter(a.left)(e)%u.PF.interpreter(a.right)(e);case"VAR":return e;case"NUM":return a.val;default:throw new Error("Invalid Token found.")}}},u.PF.extractPluralExpr=function(a){a=a.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(a)||(a=a.concat(";"));var e,t=/nplurals\=(\d+);/,i=a.match(t);if(!(i.length>1))throw new Error("nplurals not found in plural_forms string: "+a);if(i[1],!((e=(a=a.replace(t,"")).match(/plural\=(.*);/))&&e.length>1))throw new Error("`plural` expression not found: "+a);return e[1]},u.PF.parser=function(){var a={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(a,e,t,i,n,r,o){var s=r.length-1;switch(n){case 1:return{type:"GROUP",expr:r[s-1]};case 2:this.$={type:"TERNARY",expr:r[s-4],truthy:r[s-2],falsey:r[s]};break;case 3:this.$={type:"OR",left:r[s-2],right:r[s]};break;case 4:this.$={type:"AND",left:r[s-2],right:r[s]};break;case 5:this.$={type:"LT",left:r[s-2],right:r[s]};break;case 6:this.$={type:"LTE",left:r[s-2],right:r[s]};break;case 7:this.$={type:"GT",left:r[s-2],right:r[s]};break;case 8:this.$={type:"GTE",left:r[s-2],right:r[s]};break;case 9:this.$={type:"NEQ",left:r[s-2],right:r[s]};break;case 10:this.$={type:"EQ",left:r[s-2],right:r[s]};break;case 11:this.$={type:"MOD",left:r[s-2],right:r[s]};break;case 12:this.$={type:"GROUP",expr:r[s-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(a)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(a,e){throw new Error(a)},parse:function(a){var e=this,t=[0],i=[null],n=[],r=this.table,o="",s=0,d=0,l=0;this.lexer.setInput(a),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;function u(a){t.length=t.length-2*a,i.length=i.length-a,n.length=n.length-a}function p(){var a;return"number"!=typeof(a=e.lexer.lex()||1)&&(a=e.symbols_[a]||a),a}n.push(c),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var z,m,g,f,y,w,b,h,v,k={};;){if(g=t[t.length-1],this.defaultActions[g]?f=this.defaultActions[g]:(null==z&&(z=p()),f=r[g]&&r[g][z]),void 0===f||!f.length||!f[0]){if(!l){for(w in v=[],r[g])this.terminals_[w]&&w>2&&v.push("'"+this.terminals_[w]+"'");var _="";_=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+v.join(", ")+", got '"+this.terminals_[z]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==z?"end of input":"'"+(this.terminals_[z]||z)+"'"),this.parseError(_,{text:this.lexer.match,token:this.terminals_[z]||z,line:this.lexer.yylineno,loc:c,expected:v})}if(3==l){if(1==z)throw new Error(_||"Parsing halted.");d=this.lexer.yyleng,o=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,z=p()}for(;!(2..toString()in r[g]);){if(0==g)throw new Error(_||"Parsing halted.");u(1),g=t[t.length-1]}m=z,z=2,f=r[g=t[t.length-1]]&&r[g][2],l=3}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+z);switch(f[0]){case 1:t.push(z),i.push(this.lexer.yytext),n.push(this.lexer.yylloc),t.push(f[1]),z=null,m?(z=m,m=null):(d=this.lexer.yyleng,o=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(b=this.productions_[f[1]][1],k.$=i[i.length-b],k._$={first_line:n[n.length-(b||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(b||1)].first_column,last_column:n[n.length-1].last_column},void 0!==(y=this.performAction.call(k,o,d,s,this.yy,f[1],i,n)))return y;b&&(t=t.slice(0,-1*b*2),i=i.slice(0,-1*b),n=n.slice(0,-1*b)),t.push(this.productions_[f[1]][0]),i.push(k.$),n.push(k._$),h=r[t[t.length-2]][t[t.length-1]],t.push(h);break;case 3:return!0}}return!0}},e=function(){var a={EOF:1,parseError:function(a,e){if(!this.yy.parseError)throw new Error(a);this.yy.parseError(a,e)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.match+=a,this.matched+=a,a.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),a},unput:function(a){return this._input=a+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),e=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var a,e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t=this._currentRules(),i=0;i<t.length;i++)if(a=this._input.match(this.rules[t[i]]))return(e=a[0].match(/\n.*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-1:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],this.performAction.call(this,this.yy,this,t[i],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return void 0!==a?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)},performAction:function(a,e,t,i){switch(t){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return a}();return a.lexer=e,a}(),void 0!==a&&a.exports&&(e=a.exports=u),e.Jed=u}()},,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,e){var t=(0,n.default)(a);return(0,i.indexOf)(e,t)>-1};var i=t(1),n=function(a){return a&&a.__esModule?a:{default:a}}(t(87))},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return Math.round(a)===a?Math.round(a):Math.round(10*a)/10}},function(a,e){a.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(a){return"tag"===a.type||"script"===a.type||"style"===a.type}}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){(0,i.isEmpty)(this.getParticiple())?this.setSentencePartPassiveness(!1):this.setSentencePartPassiveness(this.isPassive())};var i=t(1)},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,e,t){var n=(0,c.default)(a).map(function(a){return a.toLowerCase()}),r=n.indexOf(e.toLowerCase());if(r<1)return!1;var o=n[r-1],s=(0,i.get)(p,t,[]);return(0,i.includes)(s,o)};var i=t(1),n=u(t(611)),r=u(t(543)),o=u(t(546)),s=u(t(545)),d=u(t(547)),l=u(t(544)),c=u(t(107));function u(a){return a&&a.__esModule?a:{default:a}}var p={nl:(0,n.default)().cannotDirectlyPrecedePassiveParticiple,en:(0,r.default)().cannotDirectlyPrecedePassiveParticiple,fr:(0,o.default)().cannotDirectlyPrecedePassiveParticiple,it:(0,s.default)().cannotDirectlyPrecedePassiveParticiple,pl:(0,d.default)().cannotDirectlyPrecedePassiveParticiple,es:(0,l.default)().cannotDirectlyPrecedePassiveParticiple}},,,,,,,,,,,,,,,function(a,e,t){var i=t(306);a.exports=function(a){var e=i(a),t=e%1;return e==e?t?e-t:e:0}},function(a,e,t){var i=t(171),n=1/0,r=1.7976931348623157e308;a.exports=function(a){return a?(a=i(a))===n||a===-n?(a<0?-1:1)*r:a==a?a:0:0===a?a:0}},function(a,e,t){var i=t(308),n=t(35);a.exports=function(a){return null==a?[]:i(a,n(a))}},function(a,e,t){var i=t(30);a.exports=function(a,e){return i(e,function(e){return a[e]})}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(a,e){a.exports=function(a){if(!a.webpackPolyfill){var e=Object.create(a);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return{en:g,de:m,nl:f,fr:b,es:y,it:w,pt:h,ru:v,pl:k,sv:_}};var i=z(t(911)),n=z(t(543)),r=z(t(611)),o=z(t(544)),s=z(t(545)),d=z(t(546)),l=z(t(912)),c=z(t(913)),u=z(t(547)),p=z(t(914));function z(a){return a&&a.__esModule?a:{default:a}}var m=(0,i.default)(),g=(0,n.default)(),f=(0,r.default)(),y=(0,o.default)(),w=(0,s.default)(),b=(0,d.default)(),h=(0,l.default)(),v=(0,c.default)(),k=(0,u.default)(),_=(0,p.default)()},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){var e,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"(^|"+(e='[ \\u00a0 \\n\\r\\t.,()”“〝〞〟‟„"+\\-;!¡?¿:/»«‹›'+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"")+"<>")+"'‘’‛`])"+a+(t?"($|((?="+e+"]))|((['‘’‛`])("+e+"])))":"($|("+e+"])|((['‘’‛`])("+e+"])))")}},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=l(t(50)),s=t(27),d=l(t(20));function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={parameters:{recommendedMaximum:0},scores:{bad:2},urlTitle:(0,s.createAnchorOpeningTag)("https://yoa.st/34l"),urlCallToAction:(0,s.createAnchorOpeningTag)("https://yoa.st/34m")};return t.identifier="textCompetingLinks",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){var i=new d.default;this.linkCount=e.getResearch("getLinkStatistics");var n=this.calculateResult(t);return(0,r.isUndefined)(n)?i:(i.setScore(n.score),i.setText(n.resultText),i.setHasMarks(!1),i)}},{key:"isApplicable",value:function(a){return a.hasText()&&a.hasKeyword()}},{key:"calculateResult",value:function(a){if(this.linkCount.keyword.totalKeyword>this._config.parameters.recommendedMaximum)return{score:this._config.scores.bad,resultText:a.sprintf(a.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>")}}}]),e}();e.default=c},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=c(t(50)),s=t(152),d=t(27),l=c(t(20));function c(a){return a&&a.__esModule?a:{default:a}}var u=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={parameters:{lowerBoundary:.3,upperBoundary:.75},scores:{noImages:3,withAltGoodNumberOfKeywordMatches:9,withAltTooFewKeywordMatches:6,withAltTooManyKeywordMatches:6,withAltNonKeyword:6,withAlt:6,noAlt:6},urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/33c"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/33d")};return t.identifier="textImages",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){this.imageCount=e.getResearch("imageCount"),this.altProperties=e.getResearch("altTagCount"),this._minNumberOfKeywordMatches=Math.ceil(this.imageCount*this._config.parameters.lowerBoundary),this._maxNumberOfKeywordMatches=Math.floor(this.imageCount*this._config.parameters.upperBoundary);var i=this.calculateResult(t),n=new l.default;return n.setScore(i.score),n.setText(i.resultText),n}},{key:"isApplicable",value:function(a){return a.hasText()}},{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&&(0,s.inRangeStartEndInclusive)(this.altProperties.withAltKeyword,2,4)||this.imageCount>4&&(0,s.inRangeStartEndInclusive)(this.altProperties.withAltKeyword,this._minNumberOfKeywordMatches,this._maxNumberOfKeywordMatches)}},{key:"hasTooManyMatches",value:function(){return this.imageCount>4&&this.altProperties.withAltKeyword>this._maxNumberOfKeywordMatches}},{key:"calculateResult",value:function(a){return 0===this.imageCount?{score:this._config.scores.noImages,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sImage alt attributes%3$s: No images appear on this page. %2$sAdd some%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.altProperties.withAlt>0?{score:this._config.scores.withAlt,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sImage alt attributes%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:a.sprintf(a.dgettext("js-text-analysis","%1$sImage alt attributes%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>")}:this.hasTooFewMatches()?{score:this._config.scores.withAltTooFewKeywordMatches,resultText:a.sprintf(a.dngettext("js-text-analysis","%3$sImage alt attributes%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 alt attributes%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:a.sprintf(a.dgettext("js-text-analysis","%1$sImage alt attributes%2$s: Good job!"),this._config.urlTitle,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.withAltTooManyKeywordMatches,resultText:a.sprintf(a.dgettext("js-text-analysis","%3$sImage alt attributes%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:a.sprintf(a.dgettext("js-text-analysis","%1$sImage alt attributes%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>")}}}]),e}();e.default=u},function(a,e){"function"==typeof Object.create?a.exports=function(a,e){a.super_=e,a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:a.exports=function(a,e){a.super_=e;var t=function(){};t.prototype=e.prototype,a.prototype=new t,a.prototype.constructor=a}},function(a,e,t){var i=t(639),n=t(643);function r(e,t){return delete a.exports[e],a.exports[e]=t,t}a.exports={Parser:i,Tokenizer:t(640),ElementType:t(288),DomHandler:n,get FeedHandler(){return r("FeedHandler",t(952))},get Stream(){return r("Stream",t(963))},get WritableStream(){return r("WritableStream",t(646))},get ProxyHandler(){return r("ProxyHandler",t(970))},get DomUtils(){return r("DomUtils",t(645))},get CollectingHandler(){return r("CollectingHandler",t(971))},DefaultHandler:n,get RssHandler(){return r("RssHandler",this.FeedHandler)},parseDOM:function(a,e){var t=new n(e);return new i(t,e).end(a),t.dom},parseFeed:function(e,t){var n=new a.exports.FeedHandler(t);return new i(n,t).end(e),n.dom},createDomStream:function(a,e,t){var r=new n(a,e,t);return new i(r,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en_EN",d=0,l=[];return e=e.map(o.normalize),(0,s.uniq)(e).forEach(function(e){var i=(0,r.default)(a,e,t);d+=i.count,l=l.concat(i.matches)}),null===l&&(l=[]),l=l.map(function(a){return(0,i.default)((0,n.default)(a))}),{count:d,matches:l}};var i=d(t(101)),n=d(t(539)),r=d(t(652)),o=t(264),s=t(1);function d(a){return a&&a.__esModule?a:{default:a}}},,,,,,,,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBlocks=e.isInlineElement=e.isBlockElement=e.inlineElements=e.blockElements=void 0;var i=function(a){return a&&a.__esModule?a:{default:a}}(t(603)),n=t(1);var r,o=["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"],s=["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"],d=new RegExp("^("+o.join("|")+")$","i"),l=new RegExp("^("+s.join("|")+")$","i"),c=new RegExp("^<("+o.join("|")+")[^>]*?>$","i"),u=new RegExp("^</("+o.join("|")+")[^>]*?>$","i"),p=new RegExp("^<("+s.join("|")+")[^>]*>$","i"),z=new RegExp("^</("+s.join("|")+")[^>]*>$","i"),m=/^<([^>\s/]+)[^>]*>$/,g=/^<\/([^>\s]+)[^>]*>$/,f=/^[^<]+$/,y=/^<[^><]*$/,w=/<!--(.|[\r\n])*?-->/g,b=[];function h(a){return d.test(a)}function v(a){return l.test(a)}var k=(0,n.memoize)(function(a){var e=[],t=0,o="",s="",d="";return a=a.replace(w,""),b=[],(r=(0,i.default)(function(a){b.push(a)})).addRule(f,"content"),r.addRule(y,"greater-than-sign-content"),r.addRule(c,"block-start"),r.addRule(u,"block-end"),r.addRule(p,"inline-start"),r.addRule(z,"inline-end"),r.addRule(m,"other-element-start"),r.addRule(g,"other-element-end"),r.onText(a),r.end(),(0,n.forEach)(b,function(a,i){var n=b[i+1];switch(a.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":n&&(0!==t||"block-start"!==n.type&&"block-end"!==n.type)?s+=a.src:(s+=a.src,e.push(s),o="",s="",d="");break;case"block-start":0!==t&&(""!==s.trim()&&e.push(s),s="",d=""),t++,o=a.src;break;case"block-end":t--,d=a.src,""!==o&&""!==d?e.push(o+s+d):""!==s.trim()&&e.push(s),o="",s="",d=""}t<0&&(t=0)}),e});e.blockElements=o,e.inlineElements=s,e.isBlockElement=h,e.isInlineElement=v,e.getBlocks=k,e.default={blockElements:o,inlineElements:s,isBlockElement:h,isInlineElement:v,getBlocks:k}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return{participleLike:i,otherAuxiliaries:n.concat(r),filteredAuxiliaries:i.concat(n),infinitiveAuxiliaries:r,allAuxiliaries:i.concat(n,r)}};var i=["bekommst","bekommt","bekamst","bekommest","bekommet","bekämest","bekämst","bekämet","bekämt","gekriegt","gehörst","gehört","gehörtest","gehörtet","gehörest","gehöret","erhältst","erhält","erhaltet","erhielt","erhieltest","erhieltst","erhieltet","erhaltest"],n=["werde","wirst","wird","werden","werdet","wurde","ward","wurdest","wardst","wurden","wurdet","worden","werdest","würde","würdest","würden","würdet","bekomme","bekommen","bekam","bekamen","bekäme","bekämen","kriege","kriegst","kriegt","kriegen","kriegte","kriegtest","kriegten","kriegtet","kriegest","krieget","gehöre","gehören","gehörte","gehörten","erhalte","erhalten","erhielten","erhielte"],r=["werden","bekommen","kriegen","gehören","erhalten"]},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return a.map(function(a){return 2===a.length?{reg:new RegExp(a[0],"i"),repl:a[1]}:3===a.length?{reg:new RegExp(a[0],"i"),repl1:a[1],repl2:a[2]}:void 0})}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){for(var e=(0,i.default)(),t=0;t<e.length;t++)a=a.replace(e[t].letters,e[t].base);return a};var i=function(a){return a&&a.__esModule?a:{default:a}}(t(930))},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=c(t(50)),s=c(t(550)),d=t(27),l=c(t(20));function c(a){return a&&a.__esModule?a:{default:a}}var u=s.default.maxMeta,p=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={recommendedMaximumLength:120,maximumLength:u,scores:{noMetaDescription:1,tooLong:6,tooShort:6,correctLength:9},urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/34d"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/34e")};return t.identifier="metaDescriptionLength",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getMaximumLength",value:function(){return this._config.maximumLength}},{key:"getResult",value:function(a,e,t){var i=e.getResearch("metaDescriptionLength"),n=new l.default;return n.setScore(this.calculateScore(i)),n.setText(this.translateScore(i,t)),n.max=this._config.maximumLength,n.actual=i,n}},{key:"calculateScore",value:function(a){return 0===a?this._config.scores.noMetaDescription:a<=this._config.recommendedMaximumLength?this._config.scores.tooShort:a>this._config.maximumLength?this._config.scores.tooLong:a>=this._config.recommendedMaximumLength&&a<=this._config.maximumLength?this._config.scores.correctLength:0}},{key:"translateScore",value:function(a,e){return 0===a?e.sprintf(e.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>"):a<=this._config.recommendedMaximumLength?e.sprintf(e.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):a>this._config.maximumLength?e.sprintf(e.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):a>=this._config.recommendedMaximumLength&&a<=this._config.maximumLength?e.sprintf(e.dgettext("js-text-analysis","%1$sMeta description length%2$s: Well done!"),this._config.urlTitle,"</a>"):void 0}}]),e}();e.default=p},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=c(t(50)),s=t(152),d=t(27),l=c(t(20));function c(a){return a&&a.__esModule?a:{default:a}}var u=600,p=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={minLength:400,maxLength:u,scores:{noTitle:1,widthTooShort:6,widthTooLong:3,widthCorrect:9},urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/34h"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/34i")};return t.identifier="titleWidth",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getMaximumLength",value:function(){return u}},{key:"getResult",value:function(a,e,t){var i=e.getResearch("pageTitleWidth"),n=new l.default;return n.setScore(this.calculateScore(i)),n.setText(this.translateScore(i,t)),n.max=this._config.maxLength,n.actual=i,n}},{key:"calculateScore",value:function(a){return(0,s.inRangeEndInclusive)(a,1,400)?this._config.scores.widthTooShort:(0,s.inRangeEndInclusive)(a,this._config.minLength,this._config.maxLength)?this._config.scores.widthCorrect:a>this._config.maxLength?this._config.scores.widthTooLong:this._config.scores.noTitle}},{key:"translateScore",value:function(a,e){return(0,s.inRangeEndInclusive)(a,1,400)?e.sprintf(e.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>"):(0,s.inRangeEndInclusive)(a,this._config.minLength,this._config.maxLength)?e.sprintf(e.dgettext("js-text-analysis","%1$sSEO title width%2$s: Good job!"),this._config.urlTitle,"</a>"):a>this._config.maxLength?e.sprintf(e.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>"):e.sprintf(e.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>")}}]),e}();e.default=p},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=u(t(50)),s=t(27),d=u(t(261)),l=u(t(20)),c=u(t(151));function u(a){return a&&a.__esModule?a:{default:a}}var p=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={scores:{textContainsSuperfluousH1:1},urlTitle:(0,s.createAnchorOpeningTag)("https://yoa.st/3a6"),urlCallToAction:(0,s.createAnchorOpeningTag)("https://yoa.st/3a7")};return t.identifier="singleH1",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){this._h1s=e.getResearch("h1s");var i=new l.default,n=this.calculateResult(t);return(0,r.isUndefined)(n)||(i.setScore(n.score),i.setText(n.resultText),i.setHasMarks(!0)),i}},{key:"firstH1AtBeginning",value:function(){return 0===this._h1s[0].position}},{key:"calculateResult",value:function(a){if(0!==this._h1s.length&&(1!==this._h1s.length||!this.firstH1AtBeginning()))return{score:this._config.scores.textContainsSuperfluousH1,resultText:a.sprintf(a.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 a=this._h1s;return this.firstH1AtBeginning()&&a.shift(),(0,r.map)(a,function(a){return new c.default({original:"<h1>"+a.content+"</h1>",marked:"<h1>"+(0,d.default)(a.content)+"</h1>"})})}},{key:"isApplicable",value:function(a){return a.hasText()}}]),e}();e.default=p},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=l(t(50)),s=t(27),d=l(t(20));function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={recommendedMinimum:300,slightlyBelowMinimum:250,belowMinimum:200,veryFarBelowMinimum:100,scores:{recommendedMinimum:9,slightlyBelowMinimum:6,belowMinimum:3,farBelowMinimum:-10,veryFarBelowMinimum:-20},urlTitle:(0,s.createAnchorOpeningTag)("https://yoa.st/34n"),urlCallToAction:(0,s.createAnchorOpeningTag)("https://yoa.st/34o"),cornerstoneContent:!1};return t.identifier="textLength",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){var i=e.getResearch("wordCountInText"),n=new d.default,r=this.calculateResult(i,t);return n.setScore(r.score),n.setText(r.resultText),n}},{key:"calculateResult",value:function(a,e){if(a>=this._config.recommendedMinimum)return{score:this._config.scores.recommendedMinimum,resultText:e.sprintf(e.dngettext("js-text-analysis","%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!",a),a,this._config.urlTitle,"</a>")};if((0,r.inRange)(a,0,this._config.belowMinimum)){var t=this._config.scores.farBelowMinimum;return(0,r.inRange)(a,0,this._config.veryFarBelowMinimum)&&(t=this._config.scores.veryFarBelowMinimum),{score:t,resultText:e.sprintf(e.dngettext("js-text-analysis","%2$sText length%4$s: The text contains %1$d word.","%2$sText length%4$s: The text contains %1$d words.",a)+" "+e.dngettext("js-text-analysis","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),a,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum)}}return(0,r.inRange)(a,this._config.slightlyBelowMinimum,this._config.recommendedMinimum)?!1===this._config.cornerstoneContent?{score:this._config.scores.slightlyBelowMinimum,resultText:e.sprintf(e.dngettext("js-text-analysis","%2$sText length%4$s: The text contains %1$d word.","%2$sText length%4$s: The text contains %1$d words.",a)+" "+e.dngettext("js-text-analysis","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),a,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum)}:{score:this._config.scores.slightlyBelowMinimum,resultText:e.sprintf(e.dngettext("js-text-analysis","%2$sText length%4$s: The text contains %1$d word.","%2$sText length%4$s: The text contains %1$d words.",a)+" "+e.dngettext("js-text-analysis","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),a,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum)}:{score:this._config.scores.belowMinimum,resultText:e.sprintf(e.dngettext("js-text-analysis","%2$sText length%4$s: The text contains %1$d word.","%2$sText length%4$s: The text contains %1$d words.",a)+" "+e.dngettext("js-text-analysis","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),a,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum)}}}]),e}();e.default=c},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=l(t(50)),s=t(27),d=l(t(20));function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={parameters:{recommendedPosition:0},scores:{good:9,okay:6,bad:2},urlTitle:(0,s.createAnchorOpeningTag)("https://yoa.st/33g"),urlCallToAction:(0,s.createAnchorOpeningTag)("https://yoa.st/33h")};return t.identifier="titleKeyword",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){this._keywordMatches=e.getResearch("findKeywordInPageTitle"),this._keyword=(0,r.escape)(a.getKeyword());var i=new d.default,n=this.calculateResult(t,this._keyword);return i.setScore(n.score),i.setText(n.resultText),i}},{key:"isApplicable",value:function(a){return a.hasKeyword()&&a.hasTitle()}},{key:"calculateResult",value:function(a,e){var t=this._keywordMatches.exactMatchFound,i=this._keywordMatches.position,n=this._keywordMatches.allWordsFound,r=this._keywordMatches.exactMatchKeyphrase;return!0===t?0===i?{score:this._config.scores.good,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase in title%2$s: The exact match of the keyphrase appears at the beginning of the SEO title. Good job!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase in title%3$s: The exact match of the keyphrase appears in the SEO title, but not at the beginning. %2$sTry to move it to the beginning%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:n?{score:this._config.scores.okay,resultText:a.sprintf(a.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%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:r?{score:this._config.scores.bad,resultText:a.sprintf(a.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%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>",e)}:{score:this._config.scores.bad,resultText:a.sprintf(a.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$sTry to use the exact match of your keyphrase in the SEO title%3$s.'),this._config.urlTitle,this._config.urlCallToAction,"</a>",e)}}}]),e}();e.default=c},function(a,e,t){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),r=t(1),o=l(t(50)),s=t(27),d=l(t(20));function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":i(e))&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),n={scores:{okay:6,good:9},urlTitle:(0,s.createAnchorOpeningTag)("https://yoa.st/33o"),urlCallToAction:(0,s.createAnchorOpeningTag)("https://yoa.st/33p")};return t.identifier="urlKeyword",t._config=(0,r.merge)(n,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":i(e)));a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),n(e,[{key:"getResult",value:function(a,e,t){this._keywordInURL=e.getResearch("keywordCountInUrl");var i=new d.default,n=this.calculateResult(t);return i.setScore(n.score),i.setText(n.resultText),i}},{key:"isApplicable",value:function(a){return a.hasKeyword()&&a.hasUrl()}},{key:"calculateResult",value:function(a){return this._keywordInURL.keyphraseLength<3?100===this._keywordInURL.percentWordMatches?{score:this._config.scores.good,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase in slug%2$s: Great work!"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:a.sprintf(a.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:a.sprintf(a.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:a.sprintf(a.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>")}}}]),e}();e.default=c},function(a,e,t){"use strict";function i(a){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=a}Object.defineProperty(e,"__esModule",{value:!0}),function(a){return a&&a.__esModule?a:{default:a}}(t(46)).default.inherits(i,Error),e.default=i},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(a){return-1===a?"error":0===a?"feedback":a<=4?"bad":a>4&&a<=7?"ok":a>7?"good":""}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return(0,i.default)(a,"<img(?:[^>]+)?>")};var i=function(a){return a&&a.__esModule?a:{default:a}}(t(554))},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=H(t(972)),n=t(1),r=H(t(559)),o=H(t(391)),s=H(t(651)),d=H(t(973)),l=H(t(989)),c=H(t(655)),u=H(t(990)),p=H(t(991)),z=H(t(992)),m=H(t(993)),g=H(t(994)),f=H(t(996)),y=H(t(998)),w=H(t(999)),b=H(t(1002)),h=H(t(659)),v=H(t(1003)),k=H(t(1005)),_=H(t(1006)),j=H(t(1007)),T=H(t(1008)),E=H(t(1010)),A=H(t(1011)),x=H(t(1012)),S=H(t(1013)),O=H(t(1014)),C=H(t(1015)),R=H(t(1017)),P=H(t(1032)),M=H(t(1079)),N=H(t(1090)),q=H(t(1091)),I=H(t(1092)),D=H(t(668)),L=t(1093),F=t(654),B=H(t(1094)),U=H(t(1095));function H(a){return a&&a.__esModule?a:{default:a}}var $=L.keyphraseDistributionResearcher,W=function(a){this.setPaper(a),this.defaultResearches={urlLength:u.default,wordCountInText:s.default,findKeywordInPageTitle:p.default,calculateFleschReading:w.default,getLinkStatistics:d.default,getLinks:c.default,linkCount:l.default,imageCount:h.default,altTagCount:v.default,matchKeywordInSubheadings:z.default,keywordCount:g.default,getKeywordDensity:m.default,stopWordsInKeyword:f.default,stopWordsInUrl:y.default,metaDescriptionLength:b.default,keyphraseLength:k.default,keywordCountInUrl:j.default,firstParagraph:T.default,metaDescriptionKeyword:_.default,pageTitleWidth:E.default,wordComplexity:A.default,getParagraphLength:x.default,countSentencesFromText:S.default,countSentencesFromDescription:O.default,getSubheadingTextLengths:C.default,findTransitionWords:R.default,passiveVoice:P.default,getSentenceBeginnings:M.default,relevantWords:N.default,readingTime:q.default,getTopicDensity:I.default,topicCount:D.default,sentences:i.default,keyphraseDistribution:$,morphology:F.research,functionWordsInKeyphrase:B.default,h1s:U.default},this._data={},this.customResearches={}};W.prototype.setPaper=function(a){this.paper=a},W.prototype.addResearch=function(a,e){if((0,n.isUndefined)(a)||(0,n.isEmpty)(a))throw new o.default("Research name cannot be empty");if(!(e instanceof Function))throw new r.default("The research requires a Function callback.");this.customResearches[a]=e},W.prototype.hasResearch=function(a){return Object.keys(this.getAvailableResearches()).filter(function(e){return e===a}).length>0},W.prototype.getAvailableResearches=function(){return(0,n.merge)(this.defaultResearches,this.customResearches)},W.prototype.getResearch=function(a){if((0,n.isUndefined)(a)||(0,n.isEmpty)(a))throw new o.default("Research name cannot be empty");return!!this.hasResearch(a)&&this.getAvailableResearches()[a](this.paper,this)},W.prototype.addResearchData=function(a,e){this._data[a]=e},W.prototype.getData=function(a){return!!this._data.hasOwnProperty(a)&&this._data[a]},e.default=W},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,e,t){var n=(0,d.default)(a).map(function(a){return a.toLowerCase()}),r=n.indexOf(e.toLowerCase());if(r<1)return!1;for(var o=(0,i.get)(c,t,[]),s=0;s<r;s++)if((0,i.includes)(o,n[s]))return!0;return!1};var i=t(1),n=l(t(543)),r=l(t(546)),o=l(t(545)),s=l(t(544)),d=l(t(107));function l(a){return a&&a.__esModule?a:{default:a}}var c={en:(0,n.default)().cannotBeBetweenPassiveAuxiliaryAndParticiple,fr:(0,r.default)().cannotBeBetweenPassiveAuxiliaryAndParticiple,it:(0,o.default)().cannotBeBetweenPassiveAuxiliaryAndParticiple,es:(0,s.default)().cannotBeBetweenPassiveAuxiliaryAndParticiple}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(46),n=v(t(263)),r=v(t(265)),o=v(t(266)),s=v(t(268)),d=v(t(365)),l=v(t(542)),c=v(t(389)),u=v(t(390)),p=v(t(160)),z=v(t(385)),m=v(t(552)),g=v(t(366)),f=v(t(388)),y=v(t(551)),w=v(t(386)),b=v(t(262)),h=v(t(387));function v(a){return a&&a.__esModule?a:{default:a}}var k=function(a,e){p.default.call(this,a,e),this.type="SEOAssessor",this._assessments=[new n.default,new r.default,new o.default,new s.default,new z.default,new m.default,new d.default,new g.default,new f.default,new y.default,new c.default,new l.default,new w.default,new u.default,new b.default,new h.default]};(0,i.inherits)(k,p.default),e.default=k},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=g(t(160)),n=g(t(531)),r=g(t(532)),o=g(t(536)),s=g(t(537)),d=g(t(541)),l=g(t(534)),c=g(t(535)),u=g(t(540)),p=g(t(669)),z=g(t(392)),m=t(1);function g(a){return a&&a.__esModule?a:{default:a}}var f=function(a){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i.default.call(this,a,e),this.type="ContentAssessor";var t=e.hasOwnProperty("locale")?e.locale:"en_US";this._assessments=[new n.default((0,p.default)(t).fleschReading),new s.default,r.default,new o.default((0,p.default)(t).sentenceLength),d.default,l.default,u.default,c.default]};t(46).inherits(f,i.default),f.prototype.calculatePenaltyPointsFullSupport=function(a){switch(a){case"bad":return 3;case"ok":return 2;default:case"good":return 0}},f.prototype.calculatePenaltyPointsPartialSupport=function(a){switch(a){case"bad":return 4;case"ok":return 2;default:case"good":return 0}},f.prototype._allAssessmentsSupported=function(){return 8===this.getApplicableAssessments().length},f.prototype.calculatePenaltyPoints=function(){var a=this.getValidResults(),e=(0,m.map)(a,function(a){var e=(0,z.default)(a.getScore());return this._allAssessmentsSupported()?this.calculatePenaltyPointsFullSupport(e):this.calculatePenaltyPointsPartialSupport(e)}.bind(this));return(0,m.sum)(e)},f.prototype._ratePenaltyPoints=function(a){if(1===this.getValidResults().length)return 30;if(this._allAssessmentsSupported()){if(a>6)return 30;if(a>4)return 60}else{if(a>4)return 30;if(a>2)return 60}return 90},f.prototype.calculateOverallScore=function(){if(0===this.getValidResults().length)return 30;var a=this.calculatePenaltyPoints();return this._ratePenaltyPoints(a)},e.default=f},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(a[i]=t[i])}return a},n=t(1);var r={keyword:"",synonyms:"",description:"",title:"",titleWidth:0,url:"",locale:"en_US",permalink:""},o=function(a,e){this._text=a||"",e=e||{},(0,n.defaults)(e,r),""===e.locale&&(e.locale=r.locale);var t=e.keyword.replace(/[‘’“”"'.?!:;,¿¡«»&*@#±^%|~`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\u002b\u0026\s]/g,"");(0,n.isEmpty)(t)&&(e.keyword=r.keyword),this._attributes=e};o.prototype.hasKeyword=function(){return""!==this._attributes.keyword},o.prototype.getKeyword=function(){return this._attributes.keyword},o.prototype.hasSynonyms=function(){return""!==this._attributes.synonyms},o.prototype.getSynonyms=function(){return this._attributes.synonyms},o.prototype.hasText=function(){return""!==this._text},o.prototype.getText=function(){return this._text},o.prototype.hasDescription=function(){return""!==this._attributes.description},o.prototype.getDescription=function(){return this._attributes.description},o.prototype.hasTitle=function(){return""!==this._attributes.title},o.prototype.getTitle=function(){return this._attributes.title},o.prototype.hasTitleWidth=function(){return 0!==this._attributes.titleWidth},o.prototype.getTitleWidth=function(){return this._attributes.titleWidth},o.prototype.hasUrl=function(){return""!==this._attributes.url},o.prototype.getUrl=function(){return this._attributes.url},o.prototype.hasLocale=function(){return""!==this._attributes.locale},o.prototype.getLocale=function(){return this._attributes.locale},o.prototype.hasPermalink=function(){return""!==this._attributes.permalink},o.prototype.getPermalink=function(){return this._attributes.permalink},o.prototype.serialize=function(){return i({_parseClass:"Paper",text:this._text},this._attributes)},o.prototype.equals=function(a){return this._text===a.getText()&&(0,n.isEqual)(this._attributes,a._attributes)},o.parse=function(a){var e=a.text,t=(a._parseClass,function(a,e){var t={};for(var i in a)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(a,i)&&(t[i]=a[i]);return t}(a,["text","_parseClass"]));return new o(e,t)},e.default=o},function(a,e,t){"use strict";var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}();var n=t(1121),r=t(566),o=t(1122),s=t(567),d=r.CODE_POINTS,l=r.CODE_POINT_SEQUENCES,c={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},u="DATA_STATE";function p(a){return a===d.SPACE||a===d.LINE_FEED||a===d.TABULATION||a===d.FORM_FEED}function z(a){return a>=d.DIGIT_0&&a<=d.DIGIT_9}function m(a){return a>=d.LATIN_CAPITAL_A&&a<=d.LATIN_CAPITAL_Z}function g(a){return a>=d.LATIN_SMALL_A&&a<=d.LATIN_SMALL_Z}function f(a){return g(a)||m(a)}function y(a){return f(a)||z(a)}function w(a){return a>=d.LATIN_CAPITAL_A&&a<=d.LATIN_CAPITAL_F}function b(a){return a>=d.LATIN_SMALL_A&&a<=d.LATIN_SMALL_F}function h(a){return a+32}function v(a){return a<=65535?String.fromCharCode(a):(a-=65536,String.fromCharCode(a>>>10&1023|55296)+String.fromCharCode(56320|1023&a))}function k(a){return String.fromCharCode(h(a))}function _(a,e){for(var t=o[++a],i=++a,n=i+t-1;i<=n;){var r=i+n>>>1,s=o[r];if(s<e)i=r+1;else{if(!(s>e))return o[r+t];n=r-1}}return-1}var j=function(){function a(){!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),this.preprocessor=new n,this.tokenQueue=[],this.allowCDATA=!1,this.state=u,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}return i(a,[{key:"_err",value:function(){}},{key:"_errOnNextCodePoint",value:function(a){this._consume(),this._err(a),this._unconsume()}},{key:"getNextToken",value:function(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;var a=this._consume();this._ensureHibernation()||this[this.state](a)}return this.tokenQueue.shift()}},{key:"write",value:function(a,e){this.active=!0,this.preprocessor.write(a,e)}},{key:"insertHtmlAtCurrentPos",value:function(a){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(a)}},{key:"_ensureHibernation",value:function(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:a.HIBERNATION_TOKEN}),!0}return!1}},{key:"_consume",value:function(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}},{key:"_unconsume",value:function(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}},{key:"_reconsumeInState",value:function(a){this.state=a,this._unconsume()}},{key:"_consumeSequenceIfMatch",value:function(a,e,t){for(var i=0,n=!0,r=a.length,o=0,s=e,l=void 0;o<r;o++){if(o>0&&(s=this._consume(),i++),s===d.EOF){n=!1;break}if(s!==(l=a[o])&&(t||s!==h(l))){n=!1;break}}if(!n)for(;i--;)this._unconsume();return n}},{key:"_isTempBufferEqualToScriptString",value:function(){if(this.tempBuff.length!==l.SCRIPT_STRING.length)return!1;for(var a=0;a<this.tempBuff.length;a++)if(this.tempBuff[a]!==l.SCRIPT_STRING[a])return!1;return!0}},{key:"_createStartTagToken",value:function(){this.currentToken={type:a.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}},{key:"_createEndTagToken",value:function(){this.currentToken={type:a.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}},{key:"_createCommentToken",value:function(){this.currentToken={type:a.COMMENT_TOKEN,data:""}}},{key:"_createDoctypeToken",value:function(e){this.currentToken={type:a.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}},{key:"_createCharacterToken",value:function(a,e){this.currentCharacterToken={type:a,chars:e}}},{key:"_createEOFToken",value:function(){this.currentToken={type:a.EOF_TOKEN}}},{key:"_createAttr",value:function(a){this.currentAttr={name:a,value:""}}},{key:"_leaveAttrName",value:function(e){null===a.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(s.duplicateAttribute),this.state=e}},{key:"_leaveAttrValue",value:function(a){this.state=a}},{key:"_emitCurrentToken",value:function(){this._emitCurrentCharacterToken();var e=this.currentToken;this.currentToken=null,e.type===a.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===a.END_TAG_TOKEN&&(e.attrs.length>0&&this._err(s.endTagWithAttributes),e.selfClosing&&this._err(s.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}},{key:"_emitCurrentCharacterToken",value:function(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}},{key:"_emitEOFToken",value:function(){this._createEOFToken(),this._emitCurrentToken()}},{key:"_appendCharToCurrentCharacterToken",value:function(a,e){this.currentCharacterToken&&this.currentCharacterToken.type!==a&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=e:this._createCharacterToken(a,e)}},{key:"_emitCodePoint",value:function(e){var t=a.CHARACTER_TOKEN;p(e)?t=a.WHITESPACE_CHARACTER_TOKEN:e===d.NULL&&(t=a.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,v(e))}},{key:"_emitSeveralCodePoints",value:function(a){for(var e=0;e<a.length;e++)this._emitCodePoint(a[e])}},{key:"_emitChars",value:function(e){this._appendCharToCurrentCharacterToken(a.CHARACTER_TOKEN,e)}},{key:"_matchNamedCharacterReference",value:function(a){var e=null,t=1,i=_(0,a);for(this.tempBuff.push(a);i>-1;){var n=o[i],r=n<7;r&&1&n&&(e=2&n?[o[++i],o[++i]]:[o[++i]],t=0);var s=this._consume();if(this.tempBuff.push(s),t++,s===d.EOF)break;i=r?4&n?_(i,s):-1:s===n?++i:-1}for(;t--;)this.tempBuff.pop(),this._unconsume();return e}},{key:"_isCharacterReferenceInAttribute",value:function(){return"ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE"===this.returnState||"ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE"===this.returnState||"ATTRIBUTE_VALUE_UNQUOTED_STATE"===this.returnState}},{key:"_isCharacterReferenceAttributeQuirk",value:function(a){if(!a&&this._isCharacterReferenceInAttribute()){var e=this._consume();return this._unconsume(),e===d.EQUALS_SIGN||y(e)}return!1}},{key:"_flushCodePointsConsumedAsCharacterReference",value:function(){if(this._isCharacterReferenceInAttribute())for(var a=0;a<this.tempBuff.length;a++)this.currentAttr.value+=v(this.tempBuff[a]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}},{key:u,value:function(a){this.preprocessor.dropParsedChunk(),a===d.LESS_THAN_SIGN?this.state="TAG_OPEN_STATE":a===d.AMPERSAND?(this.returnState=u,this.state="CHARACTER_REFERENCE_STATE"):a===d.NULL?(this._err(s.unexpectedNullCharacter),this._emitCodePoint(a)):a===d.EOF?this._emitEOFToken():this._emitCodePoint(a)}},{key:"RCDATA_STATE",value:function(a){this.preprocessor.dropParsedChunk(),a===d.AMPERSAND?(this.returnState="RCDATA_STATE",this.state="CHARACTER_REFERENCE_STATE"):a===d.LESS_THAN_SIGN?this.state="RCDATA_LESS_THAN_SIGN_STATE":a===d.NULL?(this._err(s.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):a===d.EOF?this._emitEOFToken():this._emitCodePoint(a)}},{key:"RAWTEXT_STATE",value:function(a){this.preprocessor.dropParsedChunk(),a===d.LESS_THAN_SIGN?this.state="RAWTEXT_LESS_THAN_SIGN_STATE":a===d.NULL?(this._err(s.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):a===d.EOF?this._emitEOFToken():this._emitCodePoint(a)}},{key:"SCRIPT_DATA_STATE",value:function(a){this.preprocessor.dropParsedChunk(),a===d.LESS_THAN_SIGN?this.state="SCRIPT_DATA_LESS_THAN_SIGN_STATE":a===d.NULL?(this._err(s.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):a===d.EOF?this._emitEOFToken():this._emitCodePoint(a)}},{key:"PLAINTEXT_STATE",value:function(a){this.preprocessor.dropParsedChunk(),a===d.NULL?(this._err(s.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):a===d.EOF?this._emitEOFToken():this._emitCodePoint(a)}},{key:"TAG_OPEN_STATE",value:function(a){a===d.EXCLAMATION_MARK?this.state="MARKUP_DECLARATION_OPEN_STATE":a===d.SOLIDUS?this.state="END_TAG_OPEN_STATE":f(a)?(this._createStartTagToken(),this._reconsumeInState("TAG_NAME_STATE")):a===d.QUESTION_MARK?(this._err(s.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE")):a===d.EOF?(this._err(s.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(s.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(u))}},{key:"END_TAG_OPEN_STATE",value:function(a){f(a)?(this._createEndTagToken(),this._reconsumeInState("TAG_NAME_STATE")):a===d.GREATER_THAN_SIGN?(this._err(s.missingEndTagName),this.state=u):a===d.EOF?(this._err(s.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(s.invalidFirstCharacterOfTagName),this._createCommentToken( |